GUIConsole_def_g.h 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435
  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_Method_GetBasicInformation 9
  20. #define GUIConsoleService_Method_GetHelpInformationArr 10
  21. #define GUIConsoleService_Method_GetHelpDetail 11
  22. #define GUIConsoleService_Method_OpenCommonPage 12
  23. #define GUIConsoleService_Method_CloseCommonPage 13
  24. #define GUIConsoleService_MethodSignature_OpenLogSender -744778557
  25. #define GUIConsoleService_MethodSignature_CloseLogSender -1838250527
  26. #define GUIConsoleService_MethodSignature_OpenEntityMonitor 664878859
  27. #define GUIConsoleService_MethodSignature_CloseEntityMonitor 481662505
  28. #define GUIConsoleService_MethodSignature_OpenPerformanceSender 1205505908
  29. #define GUIConsoleService_MethodSignature_ClosePerformanceSender 975418125
  30. #define GUIConsoleService_MethodSignature_VTMSystemControl -1084584417
  31. #define GUIConsoleService_MethodSignature_VTM_controlEntity -580226164
  32. #define GUIConsoleService_MethodSignature_GetAllEntityList 1179841316
  33. #define GUIConsoleService_MethodSignature_GetBasicInformation -1553978632
  34. #define GUIConsoleService_MethodSignature_GetHelpInformationArr 260508505
  35. #define GUIConsoleService_MethodSignature_GetHelpDetail -45426198
  36. #define GUIConsoleService_MethodSignature_OpenCommonPage 15213547
  37. #define GUIConsoleService_MethodSignature_CloseCommonPage 1463237030
  38. #define GUIConsoleService_LogCode_OpenLogSender "QLR040250800"
  39. #define GUIConsoleService_LogCode_CloseLogSender "QLR040250801"
  40. #define GUIConsoleService_LogCode_OpenEntityMonitor "QLR040250802"
  41. #define GUIConsoleService_LogCode_CloseEntityMonitor "QLR040250803"
  42. #define GUIConsoleService_LogCode_OpenPerformanceSender "QLR040250804"
  43. #define GUIConsoleService_LogCode_ClosePerformanceSender "QLR040250805"
  44. #define GUIConsoleService_LogCode_VTMSystemControl "QLR040250806"
  45. #define GUIConsoleService_LogCode_VTM_controlEntity "QLR040250807"
  46. #define GUIConsoleService_LogCode_GetAllEntityList "QLR040250808"
  47. #define GUIConsoleService_LogCode_GetBasicInformation "QLR040250809"
  48. #define GUIConsoleService_LogCode_GetHelpInformationArr "QLR040250810"
  49. #define GUIConsoleService_LogCode_GetHelpDetail "QLR040250811"
  50. #define GUIConsoleService_LogCode_OpenCommonPage "QLR040250812"
  51. #define GUIConsoleService_LogCode_CloseCommonPage "QLR040250813"
  52. struct GUIConsoleService_OpenLogSender_Req
  53. {
  54. CSimpleStringA LogType;
  55. int reserved2;
  56. CSimpleStringA reserved3;
  57. void Serialize(SpBuffer &Buf)
  58. {
  59. auto & buf = Buf & LogType & reserved2 & reserved3;
  60. }
  61. };
  62. struct GUIConsoleService_OpenLogSender_Ans
  63. {
  64. bool result;
  65. CSimpleStringA additionalMsg;
  66. void Serialize(SpBuffer &Buf)
  67. {
  68. auto & buf = Buf & result & additionalMsg;
  69. }
  70. };
  71. struct GUIConsoleService_CloseLogSender_Req
  72. {
  73. int reserved1;
  74. int reserved2;
  75. CSimpleStringA reserved3;
  76. void Serialize(SpBuffer &Buf)
  77. {
  78. auto & buf = Buf & reserved1 & reserved2 & reserved3;
  79. }
  80. };
  81. struct GUIConsoleService_CloseLogSender_Ans
  82. {
  83. bool result;
  84. CSimpleStringA additionalMsg;
  85. void Serialize(SpBuffer &Buf)
  86. {
  87. auto & buf = Buf & result & additionalMsg;
  88. }
  89. };
  90. struct GUIConsoleService_OpenEntityMonitor_Req
  91. {
  92. int longestFrequence;
  93. int leastFrequence;
  94. CSimpleStringA reserved3;
  95. void Serialize(SpBuffer &Buf)
  96. {
  97. auto & buf = Buf & longestFrequence & leastFrequence & reserved3;
  98. }
  99. };
  100. struct GUIConsoleService_OpenEntityMonitor_Ans
  101. {
  102. bool result;
  103. CSimpleStringA additionalMsg;
  104. void Serialize(SpBuffer &Buf)
  105. {
  106. auto & buf = Buf & result & additionalMsg;
  107. }
  108. };
  109. struct GUIConsoleService_CloseEntityMonitor_Req
  110. {
  111. int reserved1;
  112. int reserved2;
  113. CSimpleStringA reserved3;
  114. void Serialize(SpBuffer &Buf)
  115. {
  116. auto & buf = Buf & reserved1 & reserved2 & reserved3;
  117. }
  118. };
  119. struct GUIConsoleService_CloseEntityMonitor_Ans
  120. {
  121. bool result;
  122. CSimpleStringA additionalMsg;
  123. void Serialize(SpBuffer &Buf)
  124. {
  125. auto & buf = Buf & result & additionalMsg;
  126. }
  127. };
  128. struct GUIConsoleService_OpenPerformanceSender_Req
  129. {
  130. int sendFrequence;
  131. int reserved2;
  132. CSimpleStringA reserved3;
  133. void Serialize(SpBuffer &Buf)
  134. {
  135. auto & buf = Buf & sendFrequence & reserved2 & reserved3;
  136. }
  137. };
  138. struct GUIConsoleService_OpenPerformanceSender_Ans
  139. {
  140. bool result;
  141. CSimpleStringA additionalMsg;
  142. void Serialize(SpBuffer &Buf)
  143. {
  144. auto & buf = Buf & result & additionalMsg;
  145. }
  146. };
  147. struct GUIConsoleService_ClosePerformanceSender_Req
  148. {
  149. int reserved1;
  150. int reserved2;
  151. CSimpleStringA reserved3;
  152. void Serialize(SpBuffer &Buf)
  153. {
  154. auto & buf = Buf & reserved1 & reserved2 & reserved3;
  155. }
  156. };
  157. struct GUIConsoleService_ClosePerformanceSender_Ans
  158. {
  159. bool result;
  160. CSimpleStringA additionalMsg;
  161. void Serialize(SpBuffer &Buf)
  162. {
  163. auto & buf = Buf & result & additionalMsg;
  164. }
  165. };
  166. struct GUIConsoleService_VTMSystemControl_Req
  167. {
  168. CSimpleStringA rebootFunction;
  169. int reserved2;
  170. CSimpleStringA reserved3;
  171. void Serialize(SpBuffer &Buf)
  172. {
  173. auto & buf = Buf & rebootFunction & reserved2 & reserved3;
  174. }
  175. };
  176. struct GUIConsoleService_VTMSystemControl_Ans
  177. {
  178. bool result;
  179. CSimpleStringA additionalMsg;
  180. void Serialize(SpBuffer &Buf)
  181. {
  182. auto & buf = Buf & result & additionalMsg;
  183. }
  184. };
  185. struct GUIConsoleService_VTM_controlEntity_Req
  186. {
  187. CSimpleStringA entityName;
  188. CSimpleStringA operation;
  189. bool isWait;
  190. int reserved1;
  191. CSimpleStringA reserved2;
  192. void Serialize(SpBuffer &Buf)
  193. {
  194. auto & buf = Buf & entityName & operation & isWait & reserved1 & reserved2;
  195. }
  196. };
  197. struct GUIConsoleService_VTM_controlEntity_Ans
  198. {
  199. bool result;
  200. CSimpleStringA additionalMsg;
  201. void Serialize(SpBuffer &Buf)
  202. {
  203. auto & buf = Buf & result & additionalMsg;
  204. }
  205. };
  206. struct GUIConsoleService_GetAllEntityList_Req
  207. {
  208. int reserved1;
  209. int reserved2;
  210. CSimpleStringA reserved3;
  211. void Serialize(SpBuffer &Buf)
  212. {
  213. auto & buf = Buf & reserved1 & reserved2 & reserved3;
  214. }
  215. };
  216. struct GUIConsoleService_GetAllEntityList_Ans
  217. {
  218. bool result;
  219. CSimpleStringA additionalMsg;
  220. CAutoArray<CSimpleStringA> entityName;
  221. CAutoArray<CSimpleStringA> status;
  222. CAutoArray<CSimpleStringA> processId;
  223. CAutoArray<CSimpleStringA> versionNo;
  224. CAutoArray<CSimpleStringA> lastStartTime;
  225. void Serialize(SpBuffer &Buf)
  226. {
  227. auto & buf = Buf & result & additionalMsg & entityName & status & processId & versionNo & lastStartTime;
  228. }
  229. };
  230. struct GUIConsoleService_GetBasicInformation_Req
  231. {
  232. int reserved1;
  233. int reserved2;
  234. CSimpleStringA reserved3;
  235. void Serialize(SpBuffer &Buf)
  236. {
  237. auto & buf = Buf & reserved1 & reserved2 & reserved3;
  238. }
  239. };
  240. struct GUIConsoleService_GetBasicInformation_Ans
  241. {
  242. bool result;
  243. CSimpleStringA additionalMsg;
  244. int Idle_entityNum;
  245. int total_entityNum;
  246. CSimpleStringA vtm_startupTime;
  247. CSimpleStringA terminalNo;
  248. CSimpleStringA machineType;
  249. CSimpleStringA manufacturer;
  250. CSimpleStringA machineModel;
  251. CSimpleStringA versionNo;
  252. CSimpleStringA Env;
  253. bool basicconfig_status;
  254. bool errmsg_status;
  255. void Serialize(SpBuffer &Buf)
  256. {
  257. auto & buf = Buf & result & additionalMsg & Idle_entityNum & total_entityNum & vtm_startupTime & terminalNo & machineType & manufacturer & machineModel & versionNo & Env & basicconfig_status & errmsg_status;
  258. }
  259. };
  260. struct GUIConsoleService_GetHelpInformationArr_Req
  261. {
  262. int reserved1;
  263. int reserved2;
  264. CSimpleStringA reserved3;
  265. void Serialize(SpBuffer &Buf)
  266. {
  267. auto & buf = Buf & reserved1 & reserved2 & reserved3;
  268. }
  269. };
  270. struct GUIConsoleService_GetHelpInformationArr_Ans
  271. {
  272. CAutoArray<CSimpleStringA> titleArr;
  273. CAutoArray<CSimpleStringA> cn_titleArr;
  274. void Serialize(SpBuffer &Buf)
  275. {
  276. auto & buf = Buf & titleArr & cn_titleArr;
  277. }
  278. };
  279. struct GUIConsoleService_GetHelpDetail_Req
  280. {
  281. CSimpleStringA title;
  282. int reserved2;
  283. CSimpleStringA reserved3;
  284. void Serialize(SpBuffer &Buf)
  285. {
  286. auto & buf = Buf & title & reserved2 & reserved3;
  287. }
  288. };
  289. struct GUIConsoleService_GetHelpDetail_Ans
  290. {
  291. CSimpleStringA subtitle;
  292. CSimpleStringA detail;
  293. void Serialize(SpBuffer &Buf)
  294. {
  295. auto & buf = Buf & subtitle & detail;
  296. }
  297. };
  298. struct GUIConsoleService_OpenCommonPage_Req
  299. {
  300. CSimpleStringA title;
  301. CSimpleStringA url;
  302. int width;
  303. int height;
  304. int point_x;
  305. int point_y;
  306. CSimpleStringA top;
  307. void Serialize(SpBuffer &Buf)
  308. {
  309. auto & buf = Buf & title & url & width & height & point_x & point_y & top;
  310. }
  311. };
  312. struct GUIConsoleService_OpenCommonPage_Ans
  313. {
  314. bool result;
  315. CSimpleStringA additionalMsg;
  316. void Serialize(SpBuffer &Buf)
  317. {
  318. auto & buf = Buf & result & additionalMsg;
  319. }
  320. };
  321. struct GUIConsoleService_CloseCommonPage_Req
  322. {
  323. CSimpleStringA title;
  324. void Serialize(SpBuffer &Buf)
  325. {
  326. auto & buf = Buf & title;
  327. }
  328. };
  329. struct GUIConsoleService_CloseCommonPage_Ans
  330. {
  331. bool result;
  332. CSimpleStringA additionalMsg;
  333. void Serialize(SpBuffer &Buf)
  334. {
  335. auto & buf = Buf & result & additionalMsg;
  336. }
  337. };
  338. ///////////////////////////
  339. } // namespace GUIConsole
  340. #endif // __GUICONSOLE_DEF_G_H