GUIConsole_def_g.h 9.8 KB

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