InitiativeTransfer_def_g.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. #ifndef __INITIATIVETRANSFER_DEF_G_H
  2. #define __INITIATIVETRANSFER_DEF_G_H
  3. #pragma once
  4. // This code is generated by spgen tool!
  5. #include "SpHelper.h"
  6. namespace InitiativeTransfer {
  7. //
  8. // const goes here
  9. //
  10. #define eState_Offline 0
  11. #define eState_FrontFlow 1
  12. #define eState_BackRun 2
  13. #define eState_FrontCall 3
  14. #define eState_Transferring 4
  15. #define eState_Error 5
  16. #define FlowService_Method_SwitchToAgentFlow 0
  17. #define FlowService_Method_DisallowControl 1
  18. #define FlowService_Method_ReturnAgent 2
  19. #define FlowService_Method_SwitchToFrontFlow 3
  20. #define FlowService_MethodSignature_SwitchToAgentFlow -1898800781
  21. #define FlowService_MethodSignature_DisallowControl -550996977
  22. #define FlowService_MethodSignature_ReturnAgent -1941180761
  23. #define FlowService_MethodSignature_SwitchToFrontFlow 398882002
  24. #define FlowService_LogCode_SwitchToAgentFlow "QLR040230500"
  25. #define FlowService_LogCode_DisallowControl "QLR040230501"
  26. #define FlowService_LogCode_ReturnAgent "QLR040230502"
  27. #define FlowService_LogCode_SwitchToFrontFlow "QLR040230503"
  28. struct FlowService_SwitchToAgentFlow_Info
  29. {
  30. CSimpleStringW req_context;
  31. void Serialize(SpBuffer &Buf)
  32. {
  33. auto & buf = Buf & req_context;
  34. }
  35. };
  36. struct FlowService_DisallowControl_Info
  37. {
  38. CSimpleStringW note;
  39. void Serialize(SpBuffer &Buf)
  40. {
  41. auto & buf = Buf & note;
  42. }
  43. };
  44. struct FlowService_ReturnAgent_Info
  45. {
  46. CSimpleStringW ans_context;
  47. void Serialize(SpBuffer &Buf)
  48. {
  49. auto & buf = Buf & ans_context;
  50. }
  51. };
  52. struct FlowService_SwitchToFrontFlow_Info
  53. {
  54. void Serialize(SpBuffer &Buf)
  55. {
  56. }
  57. };
  58. ///////////////////////////
  59. } // namespace InitiativeTransfer
  60. #endif // __INITIATIVETRANSFER_DEF_G_H