123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336 |
- #ifndef __INTERACTIVECONTROL_MSG_G_H
- #define __INTERACTIVECONTROL_MSG_G_H
- #pragma once
- // This code is generated by spgen tool!
- #include "SpHelper.h"
- namespace InteractiveControl {
- #define eMsg_CustomerState 0
- #define eMsg_Stop 1
- #define eMsg_Recover 2
- #define eMsg_EnterBFlow 3
- #define eMsg_ExitBFlow 4
- #define eMsg_GoHome 5
- #define eMsg_EnterParentMenu 6
- #define eMsg_EnterSubMenu 7
- #define eMsg_AgentInputState 8
- #define eMsg_AgentState 9
- #define eMsg_RecvAgentText 10
- #define eMsg_BackSyncData 11
- #define eMsg_TryLockScreenRequest 12
- #define eMsg_CameraFaultOccurred 13
- #define eMsg_WideAngleCameraFault 14
- #define eMsg_RecvP2pFlwReq 15
- #define eMsg_EnterBFlowFromUT 16
- #define eMsg_AudioEndRet 17
- #define eMsg_CommonWebMsg 18
- #define eMsg_H5BackSyncData 19
- #define eMsg_SalesRecordingFailed 20
- #define eMsgSig_CustomerState 175614460
- #define eMsgSig_Stop -150723185
- #define eMsgSig_Recover 572191984
- #define eMsgSig_EnterBFlow 1901994842
- #define eMsgSig_ExitBFlow -169419673
- #define eMsgSig_GoHome 2128281094
- #define eMsgSig_EnterParentMenu 2011056309
- #define eMsgSig_EnterSubMenu 1396641290
- #define eMsgSig_AgentInputState 616800629
- #define eMsgSig_AgentState 145893630
- #define eMsgSig_RecvAgentText 1590630468
- #define eMsgSig_BackSyncData 1170236456
- #define eMsgSig_TryLockScreenRequest -1563999824
- #define eMsgSig_CameraFaultOccurred 1614283212
- #define eMsgSig_WideAngleCameraFault 2114006811
- #define eMsgSig_RecvP2pFlwReq -1949134515
- #define eMsgSig_EnterBFlowFromUT 48398790
- #define eMsgSig_AudioEndRet -1055633973
- #define eMsgSig_CommonWebMsg -1026578513
- #define eMsgSig_H5BackSyncData -1217690931
- #define eMsgSig_SalesRecordingFailed -1402924427
- struct CustomerState
- {
- int state;
- CSimpleStringW status;
- CSimpleStringW session_id;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & state & status & session_id;
- }
- };
- ///////////////////////////
- struct Stop
- {
- int reason;
- CSimpleStringW desc;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & reason & desc;
- }
- };
- ///////////////////////////
- struct Recover
- {
- int reason;
- CSimpleStringW desc;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & reason & desc;
- }
- };
- ///////////////////////////
- struct EnterBFlow
- {
- CSimpleStringW menuid;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & menuid;
- }
- };
- ///////////////////////////
- struct ExitBFlow
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- ///////////////////////////
- struct GoHome
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- ///////////////////////////
- struct EnterParentMenu
- {
- CSimpleStringW currentmenuid;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & currentmenuid;
- }
- };
- ///////////////////////////
- struct EnterSubMenu
- {
- CSimpleStringW currentmenuid;
- CSimpleStringW submenuid;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & currentmenuid & submenuid;
- }
- };
- ///////////////////////////
- struct AgentInputState
- {
- int state;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & state;
- }
- };
- ///////////////////////////
- struct AgentState
- {
- int state;
- CSimpleStringW status;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & state & status;
- }
- };
- ///////////////////////////
- struct RecvAgentText
- {
- CSimpleStringW content;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & content;
- }
- };
- ///////////////////////////
- struct BackSyncData
- {
- int id;
- CSimpleStringW content;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & id & content;
- }
- };
- ///////////////////////////
- struct TryLockScreenRequest
- {
- void Serialize(SpBuffer &Buf)
- {
- }
- };
- ///////////////////////////
- struct CameraFaultOccurred
- {
- char state;
- CSimpleStringW camname;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & state & camname;
- }
- };
- ///////////////////////////
- struct WideAngleCameraFault
- {
- char state;
- CSimpleStringW camname;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & state & camname;
- }
- };
- ///////////////////////////
- struct RecvP2pFlwReq
- {
- CSimpleStringW content;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & content;
- }
- };
- ///////////////////////////
- struct EnterBFlowFromUT
- {
- CSimpleStringW xapName;
- CSimpleStringW command;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & xapName & command;
- }
- };
- ///////////////////////////
- struct AudioEndRet
- {
- CSimpleStringA AudioNames;
- bool ret;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & AudioNames & ret;
- }
- };
- ///////////////////////////
- struct CommonWebMsg
- {
- int type;
- int value;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & type & value;
- }
- };
- ///////////////////////////
- struct H5BackSyncData
- {
- CSimpleStringW content;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & content;
- }
- };
- ///////////////////////////
- struct SalesRecordingFailed
- {
- CSimpleStringW failedmsg;
- void Serialize(SpBuffer &Buf)
- {
- auto & buf = Buf & failedmsg;
- }
- };
- ///////////////////////////
- } // namespace InteractiveControl
- #endif // __INTERACTIVECONTROL_MSG_G_H
|