GUIConsole_def_g.h 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. #ifndef __GUICONSOLE_DEF_G_H
  2. #define __GUICONSOLE_DEF_G_H
  3. #pragma once
  4. // This code is generated by spgen tool!
  5. #include "SpHelper.h"
  6. namespace GUIConsole {
  7. //
  8. // const goes here
  9. //
  10. #define GUIConsoleService_Method_OpenLogSender 0
  11. #define GUIConsoleService_Method_CloseLogSender 1
  12. #define GUIConsoleService_Method_OpenEntityMonitor 2
  13. #define GUIConsoleService_Method_CloseEntityMonitor 3
  14. #define GUIConsoleService_Method_OpenPerformanceSender 4
  15. #define GUIConsoleService_Method_ClosePerformanceSender 5
  16. #define GUIConsoleService_Method_VTMSystemControl 6
  17. #define GUIConsoleService_Method_VTM_controlEntity 7
  18. #define GUIConsoleService_Method_GetAllEntityList 8
  19. #define GUIConsoleService_MethodSignature_OpenLogSender -744778557
  20. #define GUIConsoleService_MethodSignature_CloseLogSender -1838250527
  21. #define GUIConsoleService_MethodSignature_OpenEntityMonitor 664878859
  22. #define GUIConsoleService_MethodSignature_CloseEntityMonitor 481662505
  23. #define GUIConsoleService_MethodSignature_OpenPerformanceSender 1205505908
  24. #define GUIConsoleService_MethodSignature_ClosePerformanceSender 975418125
  25. #define GUIConsoleService_MethodSignature_VTMSystemControl -1084584417
  26. #define GUIConsoleService_MethodSignature_VTM_controlEntity -580226164
  27. #define GUIConsoleService_MethodSignature_GetAllEntityList 1179841316
  28. #define GUIConsoleService_LogCode_OpenLogSender "QLR040250800"
  29. #define GUIConsoleService_LogCode_CloseLogSender "QLR040250801"
  30. #define GUIConsoleService_LogCode_OpenEntityMonitor "QLR040250802"
  31. #define GUIConsoleService_LogCode_CloseEntityMonitor "QLR040250803"
  32. #define GUIConsoleService_LogCode_OpenPerformanceSender "QLR040250804"
  33. #define GUIConsoleService_LogCode_ClosePerformanceSender "QLR040250805"
  34. #define GUIConsoleService_LogCode_VTMSystemControl "QLR040250806"
  35. #define GUIConsoleService_LogCode_VTM_controlEntity "QLR040250807"
  36. #define GUIConsoleService_LogCode_GetAllEntityList "QLR040250808"
  37. struct GUIConsoleService_OpenLogSender_Req
  38. {
  39. int reserved1;
  40. int reserved2;
  41. CSimpleStringA reserved3;
  42. void Serialize(SpBuffer &Buf)
  43. {
  44. auto & buf = Buf & reserved1 & reserved2 & reserved3;
  45. }
  46. };
  47. struct GUIConsoleService_OpenLogSender_Ans
  48. {
  49. bool result;
  50. CSimpleStringA additionalMsg;
  51. void Serialize(SpBuffer &Buf)
  52. {
  53. auto & buf = Buf & result & additionalMsg;
  54. }
  55. };
  56. struct GUIConsoleService_CloseLogSender_Req
  57. {
  58. int reserved1;
  59. int reserved2;
  60. CSimpleStringA reserved3;
  61. void Serialize(SpBuffer &Buf)
  62. {
  63. auto & buf = Buf & reserved1 & reserved2 & reserved3;
  64. }
  65. };
  66. struct GUIConsoleService_CloseLogSender_Ans
  67. {
  68. bool result;
  69. CSimpleStringA additionalMsg;
  70. void Serialize(SpBuffer &Buf)
  71. {
  72. auto & buf = Buf & result & additionalMsg;
  73. }
  74. };
  75. struct GUIConsoleService_OpenEntityMonitor_Req
  76. {
  77. int reserved1;
  78. int reserved2;
  79. CSimpleStringA reserved3;
  80. void Serialize(SpBuffer &Buf)
  81. {
  82. auto & buf = Buf & reserved1 & reserved2 & reserved3;
  83. }
  84. };
  85. struct GUIConsoleService_OpenEntityMonitor_Ans
  86. {
  87. bool result;
  88. CSimpleStringA additionalMsg;
  89. void Serialize(SpBuffer &Buf)
  90. {
  91. auto & buf = Buf & result & additionalMsg;
  92. }
  93. };
  94. struct GUIConsoleService_CloseEntityMonitor_Req
  95. {
  96. int reserved1;
  97. int reserved2;
  98. CSimpleStringA reserved3;
  99. void Serialize(SpBuffer &Buf)
  100. {
  101. auto & buf = Buf & reserved1 & reserved2 & reserved3;
  102. }
  103. };
  104. struct GUIConsoleService_CloseEntityMonitor_Ans
  105. {
  106. bool result;
  107. CSimpleStringA additionalMsg;
  108. void Serialize(SpBuffer &Buf)
  109. {
  110. auto & buf = Buf & result & additionalMsg;
  111. }
  112. };
  113. struct GUIConsoleService_OpenPerformanceSender_Req
  114. {
  115. int sendFrequence;
  116. int reserved2;
  117. CSimpleStringA reserved3;
  118. void Serialize(SpBuffer &Buf)
  119. {
  120. auto & buf = Buf & sendFrequence & reserved2 & reserved3;
  121. }
  122. };
  123. struct GUIConsoleService_OpenPerformanceSender_Ans
  124. {
  125. bool result;
  126. CSimpleStringA additionalMsg;
  127. void Serialize(SpBuffer &Buf)
  128. {
  129. auto & buf = Buf & result & additionalMsg;
  130. }
  131. };
  132. struct GUIConsoleService_ClosePerformanceSender_Req
  133. {
  134. int reserved1;
  135. int reserved2;
  136. CSimpleStringA reserved3;
  137. void Serialize(SpBuffer &Buf)
  138. {
  139. auto & buf = Buf & reserved1 & reserved2 & reserved3;
  140. }
  141. };
  142. struct GUIConsoleService_ClosePerformanceSender_Ans
  143. {
  144. bool result;
  145. CSimpleStringA additionalMsg;
  146. void Serialize(SpBuffer &Buf)
  147. {
  148. auto & buf = Buf & result & additionalMsg;
  149. }
  150. };
  151. struct GUIConsoleService_VTMSystemControl_Req
  152. {
  153. CSimpleStringA rebootFunction;
  154. int reserved2;
  155. CSimpleStringA reserved3;
  156. void Serialize(SpBuffer &Buf)
  157. {
  158. auto & buf = Buf & rebootFunction & reserved2 & reserved3;
  159. }
  160. };
  161. struct GUIConsoleService_VTMSystemControl_Ans
  162. {
  163. bool result;
  164. CSimpleStringA additionalMsg;
  165. void Serialize(SpBuffer &Buf)
  166. {
  167. auto & buf = Buf & result & additionalMsg;
  168. }
  169. };
  170. struct GUIConsoleService_VTM_controlEntity_Req
  171. {
  172. CSimpleStringA entityName;
  173. CSimpleStringA operation;
  174. bool isWait;
  175. int reserved1;
  176. CSimpleStringA reserved2;
  177. void Serialize(SpBuffer &Buf)
  178. {
  179. auto & buf = Buf & entityName & operation & isWait & reserved1 & reserved2;
  180. }
  181. };
  182. struct GUIConsoleService_VTM_controlEntity_Ans
  183. {
  184. bool result;
  185. CSimpleStringA additionalMsg;
  186. void Serialize(SpBuffer &Buf)
  187. {
  188. auto & buf = Buf & result & additionalMsg;
  189. }
  190. };
  191. struct GUIConsoleService_GetAllEntityList_Req
  192. {
  193. int reserved1;
  194. int reserved2;
  195. CSimpleStringA reserved3;
  196. void Serialize(SpBuffer &Buf)
  197. {
  198. auto & buf = Buf & reserved1 & reserved2 & reserved3;
  199. }
  200. };
  201. struct GUIConsoleService_GetAllEntityList_Ans
  202. {
  203. bool result;
  204. CSimpleStringA additionalMsg;
  205. CAutoArray<CSimpleStringA> entityName;
  206. CAutoArray<CSimpleStringA> status;
  207. CAutoArray<CSimpleStringA> processId;
  208. CAutoArray<CSimpleStringA> versionNo;
  209. CAutoArray<CSimpleStringA> lastStartTime;
  210. void Serialize(SpBuffer &Buf)
  211. {
  212. auto & buf = Buf & result & additionalMsg & entityName & status & processId & versionNo & lastStartTime;
  213. }
  214. };
  215. ///////////////////////////
  216. } // namespace GUIConsole
  217. #endif // __GUICONSOLE_DEF_G_H