InteractiveLog_def_g.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. #ifndef __INTERACTIVELOG_DEF_G_H
  2. #define __INTERACTIVELOG_DEF_G_H
  3. #pragma once
  4. // This code is generated by spgen tool!
  5. #include "SpHelper.h"
  6. namespace InteractiveLog {
  7. //
  8. // const goes here
  9. //
  10. #define LogService_Method_LogFunction 0
  11. #define LogService_Method_LogCustomerID 1
  12. #define LogService_Method_LogAgreement 2
  13. #define LogService_Method_LogReceipt 3
  14. #define LogService_Method_LogOperation 4
  15. #define LogService_Method_LogResponse 5
  16. #define LogService_Method_LogAgent 6
  17. #define LogService_Method_LogBegin 7
  18. #define LogService_Method_LogEnd 8
  19. #define LogService_Method_LogCallID 9
  20. #define LogService_MethodSignature_LogFunction 1504975974
  21. #define LogService_MethodSignature_LogCustomerID 1449949503
  22. #define LogService_MethodSignature_LogAgreement -1000900347
  23. #define LogService_MethodSignature_LogReceipt 910613943
  24. #define LogService_MethodSignature_LogOperation -975180857
  25. #define LogService_MethodSignature_LogResponse -617159288
  26. #define LogService_MethodSignature_LogAgent 1269030039
  27. #define LogService_MethodSignature_LogBegin 1908299243
  28. #define LogService_MethodSignature_LogEnd 2006046815
  29. #define LogService_MethodSignature_LogCallID -555754721
  30. struct LogService_LogFunction_Info
  31. {
  32. CSimpleStringW nam;
  33. CSimpleStringW display;
  34. CSimpleStringW product;
  35. CSimpleStringW service_code;
  36. int action_id;
  37. void Serialize(SpBuffer &Buf)
  38. {
  39. auto & buf = Buf & nam & display & product & service_code & action_id;
  40. }
  41. };
  42. struct LogService_LogCustomerID_Info
  43. {
  44. CSimpleStringW customer_id;
  45. CSimpleStringW verify_method;
  46. int level;
  47. int action_id;
  48. void Serialize(SpBuffer &Buf)
  49. {
  50. auto & buf = Buf & customer_id & verify_method & level & action_id;
  51. }
  52. };
  53. struct LogService_LogAgreement_Info
  54. {
  55. CSimpleStringW content;
  56. int action_id;
  57. void Serialize(SpBuffer &Buf)
  58. {
  59. auto & buf = Buf & content & action_id;
  60. }
  61. };
  62. struct LogService_LogReceipt_Info
  63. {
  64. CSimpleStringW content;
  65. int action_id;
  66. void Serialize(SpBuffer &Buf)
  67. {
  68. auto & buf = Buf & content & action_id;
  69. }
  70. };
  71. struct LogService_LogOperation_Info
  72. {
  73. CSimpleStringW code;
  74. CSimpleStringW content;
  75. int action_id;
  76. void Serialize(SpBuffer &Buf)
  77. {
  78. auto & buf = Buf & code & content & action_id;
  79. }
  80. };
  81. struct LogService_LogResponse_Info
  82. {
  83. CSimpleStringW code;
  84. CSimpleStringW content;
  85. int action_id;
  86. void Serialize(SpBuffer &Buf)
  87. {
  88. auto & buf = Buf & code & content & action_id;
  89. }
  90. };
  91. struct LogService_LogAgent_Info
  92. {
  93. CSimpleStringW code;
  94. CSimpleStringW content;
  95. int action_id;
  96. void Serialize(SpBuffer &Buf)
  97. {
  98. auto & buf = Buf & code & content & action_id;
  99. }
  100. };
  101. struct LogService_LogBegin_Info
  102. {
  103. CSimpleStringW session_id;
  104. int session_count;
  105. void Serialize(SpBuffer &Buf)
  106. {
  107. auto & buf = Buf & session_id & session_count;
  108. }
  109. };
  110. struct LogService_LogEnd_Info
  111. {
  112. CSimpleStringW session_id;
  113. void Serialize(SpBuffer &Buf)
  114. {
  115. auto & buf = Buf & session_id;
  116. }
  117. };
  118. struct LogService_LogCallID_Info
  119. {
  120. CSimpleStringW call_id;
  121. CSimpleStringW workNumber;
  122. CSimpleStringW skillCode;
  123. int action_id;
  124. void Serialize(SpBuffer &Buf)
  125. {
  126. auto & buf = Buf & call_id & workNumber & skillCode & action_id;
  127. }
  128. };
  129. ///////////////////////////
  130. } // namespace InteractiveLog
  131. #endif // __INTERACTIVELOG_DEF_G_H