|
@@ -11,6 +11,12 @@ namespace DeviceControl {
|
|
|
//
|
|
|
// const goes here
|
|
|
//
|
|
|
+#define DeployStep_Begin 0
|
|
|
+#define DeployStep_GetTerminalInfo 1
|
|
|
+#define DeployStep_FetchCenterSettings 2
|
|
|
+#define DeployStep_AccessAuthorize 3
|
|
|
+#define DeployStep_MediaConfig 4
|
|
|
+#define DeployStep_Finished 5
|
|
|
|
|
|
#define DeviceControlService_Method_USB 0
|
|
|
#define DeviceControlService_Method_GetUkeyID 1
|
|
@@ -20,6 +26,7 @@ namespace DeviceControl {
|
|
|
#define DeviceControlService_Method_ReadCenterConfigStr 5
|
|
|
#define DeviceControlService_Method_ReadConfigValue 6
|
|
|
#define DeviceControlService_Method_TestConnectivity 7
|
|
|
+#define DeviceControlService_Method_DeployTerminal 8
|
|
|
#define DeviceControlService_Method_GetDevInfo 65535
|
|
|
|
|
|
#define DeviceControlService_MethodSignature_USB 109707598
|
|
@@ -30,6 +37,7 @@ namespace DeviceControl {
|
|
|
#define DeviceControlService_MethodSignature_ReadCenterConfigStr -673154017
|
|
|
#define DeviceControlService_MethodSignature_ReadConfigValue 730234720
|
|
|
#define DeviceControlService_MethodSignature_TestConnectivity -42627632
|
|
|
+#define DeviceControlService_MethodSignature_DeployTerminal 1049464622
|
|
|
#define DeviceControlService_MethodSignature_GetDevInfo 296205965
|
|
|
|
|
|
struct DeviceControlService_USB_Req
|
|
@@ -281,6 +289,43 @@ struct DeviceControlService_TestConnectivity_Ans
|
|
|
|
|
|
};
|
|
|
|
|
|
+struct DeviceControlService_DeployTerminal_Req
|
|
|
+{
|
|
|
+ int currStep;
|
|
|
+ int preStep;
|
|
|
+ int nextStep;
|
|
|
+ unsigned int param1;
|
|
|
+ unsigned int param2;
|
|
|
+ CSimpleStringA param3;
|
|
|
+ CSimpleStringA param4;
|
|
|
+ CBlob param5;
|
|
|
+ CAutoArray<int> array1;
|
|
|
+ CAutoArray<CSimpleStringA> array2;
|
|
|
+
|
|
|
+ void Serialize(SpBuffer &Buf)
|
|
|
+ {
|
|
|
+ auto & buf = Buf & currStep & preStep & nextStep & param1 & param2 & param3 & param4 & param5 & array1 & array2;
|
|
|
+ }
|
|
|
+
|
|
|
+};
|
|
|
+
|
|
|
+struct DeviceControlService_DeployTerminal_Ans
|
|
|
+{
|
|
|
+ int result;
|
|
|
+ CSimpleStringA message;
|
|
|
+ int nextStep;
|
|
|
+ unsigned int param1;
|
|
|
+ CSimpleStringA param2;
|
|
|
+ CAutoArray<int> array1;
|
|
|
+ CAutoArray<CSimpleStringA> array2;
|
|
|
+
|
|
|
+ void Serialize(SpBuffer &Buf)
|
|
|
+ {
|
|
|
+ auto & buf = Buf & result & message & nextStep & param1 & param2 & array1 & array2;
|
|
|
+ }
|
|
|
+
|
|
|
+};
|
|
|
+
|
|
|
struct DeviceControlService_GetDevInfo_Req
|
|
|
{
|
|
|
|