diff --git a/ADP测试项条例/ADP测试项条例.zip b/ADP测试项条例/ADP测试项条例.zip deleted file mode 100644 index 68bbb0b..0000000 Binary files a/ADP测试项条例/ADP测试项条例.zip and /dev/null differ diff --git a/ADP电路图/子程序/ADP产品关机.ADP b/ADP电路图/子程序/ADP产品关机.ADP new file mode 100644 index 0000000..776d7ed --- /dev/null +++ b/ADP电路图/子程序/ADP产品关机.ADP @@ -0,0 +1,1061 @@ +{ + "ID": "365a8c2d-c162-4d17-9c37-8a85b4b0b168", + "StepCollection": [ + { + "ID": "9ee7de65-c7e6-42de-bdd0-31157298cc71", + "IsUsed": true, + "Index": 1, + "Name": "执行台架动作Async", + "StepType": "方法", + "Method": { + "Name": "执行台架动作Async", + "FullName": "DeviceCommand.Devices.IOBoardGroup", + "Parameters": [ + { + "ID": "5f3636eb-1c9d-45a5-9ff7-dae51d132ee5", + "IsVisible": true, + "IsEditable": true, + "Name": "台架序号", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": true, + "VariableName": "台架序号", + "VariableID": "c30475d7-0799-4cf2-a054-405c8b95f4c1" + }, + { + "ID": "551c4c07-cbbe-4f03-96ae-72bdd56c59e6", + "IsVisible": true, + "IsEditable": true, + "Name": "动作", + "Type": "DeviceCommand.Devices.功能动作, DeviceCommand, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", + "Category": 0, + "Value": 1, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "d7511c95-819c-43d9-9d3c-1d23e270c6cd", + "IsVisible": true, + "IsEditable": true, + "Name": "开关状态", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "false", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "ca7c25c4-c636-4658-a15e-cc25aa22d02d", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "9a54460d-9369-484c-9869-4e1637bfdeff", + "IsUsed": true, + "Index": 2, + "Name": "设置DC输出", + "StepType": "方法", + "Method": { + "Name": "设置DC输出", + "FullName": "DeviceCommand.Devices.IT7800E", + "Parameters": [ + { + "ID": "c106b711-1401-4951-9f28-e81f5e29df0c", + "IsVisible": true, + "IsEditable": true, + "Name": "开启", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "false", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "a319d331-f4f6-4753-be32-543fdd631f96", + "IsVisible": true, + "IsEditable": true, + "Name": "ct", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "074768fd-b57c-42ce-95d8-72f563cb76e3", + "IsUsed": true, + "Index": 3, + "Name": "设置DC输出", + "StepType": "方法", + "Method": { + "Name": "设置DC输出", + "FullName": "DeviceCommand.Devices.N36600", + "Parameters": [ + { + "ID": "841a6338-4995-4186-9365-2e4517bcf912", + "IsVisible": true, + "IsEditable": true, + "Name": "开启", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "false", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "ae354747-fa09-4ac6-b091-4777760a4b78", + "IsVisible": true, + "IsEditable": true, + "Name": "ct", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "af1373d3-35a8-4a04-97cc-6da1561a8ebd", + "IsUsed": true, + "Index": 4, + "Name": "设置DC输入", + "StepType": "方法", + "Method": { + "Name": "设置DC输入", + "FullName": "DeviceCommand.Devices.N69200", + "Parameters": [ + { + "ID": "1679e8eb-5649-4441-8936-fe6c7f5d9cc2", + "IsVisible": true, + "IsEditable": true, + "Name": "开启", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "false", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "6e64ecc7-0cb9-4a5c-9f2f-6304a7a75bf0", + "IsVisible": true, + "IsEditable": true, + "Name": "ct", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "7e70a0ed-749b-4d1a-8141-a340d8220980", + "IsUsed": true, + "Index": 5, + "Name": "执行台架动作Async", + "StepType": "方法", + "Method": { + "Name": "执行台架动作Async", + "FullName": "DeviceCommand.Devices.IOBoardGroup", + "Parameters": [ + { + "ID": "4137e36a-0d3d-457b-ac17-620fcc79e8e3", + "IsVisible": true, + "IsEditable": true, + "Name": "台架序号", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": true, + "VariableName": "台架序号", + "VariableID": "c30475d7-0799-4cf2-a054-405c8b95f4c1" + }, + { + "ID": "4b9570ea-56d7-410e-b2b9-b92d4151133a", + "IsVisible": true, + "IsEditable": true, + "Name": "动作", + "Type": "DeviceCommand.Devices.功能动作, DeviceCommand, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "0235d8d6-4956-4d2e-8325-04ea40cfa911", + "IsVisible": true, + "IsEditable": true, + "Name": "开关状态", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "false", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "eff529c7-9eda-481b-b034-cb81f58dacfc", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "c1ae9227-35f1-4091-b41d-269fabc5b2d6", + "IsUsed": true, + "Index": 6, + "Name": "设置DC输入", + "StepType": "方法", + "Method": { + "Name": "设置DC输入", + "FullName": "DeviceCommand.Devices.N69200", + "Parameters": [ + { + "ID": "1679e8eb-5649-4441-8936-fe6c7f5d9cc2", + "IsVisible": true, + "IsEditable": true, + "Name": "开启", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "false", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "6e64ecc7-0cb9-4a5c-9f2f-6304a7a75bf0", + "IsVisible": true, + "IsEditable": true, + "Name": "ct", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "b9b7034d-c8a6-4d5b-94d1-e36e4f5cf7a5", + "IsUsed": true, + "Index": 7, + "Name": "打开设备", + "StepType": "方法", + "Method": { + "Name": "打开设备", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "671c57d1-642e-4dbb-a598-69fe6f2b1870", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": true, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": null, + "NGGotoStepID": null, + "Description": null + }, + { + "ID": "d76eae39-d1be-497c-b11e-5e349e22314e", + "IsUsed": true, + "Index": 8, + "Name": "初始化并启动通道", + "StepType": "方法", + "Method": { + "Name": "初始化并启动通道", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "164bd9f4-498d-43f7-8b77-4622224e7736", + "IsVisible": true, + "IsEditable": true, + "Name": "通道号", + "Type": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "0", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": "CAN通道", + "VariableID": "faf40f9b-b027-4684-a4c1-7dceff0db305" + }, + { + "ID": "e73fec1e-a575-49a6-b462-e34557a7bfb0", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": true, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "3b2c4977-ab6c-41df-ac95-dffa47127704", + "IsUsed": true, + "Index": 9, + "Name": "初始化并启动通道", + "StepType": "方法", + "Method": { + "Name": "初始化并启动通道", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "164bd9f4-498d-43f7-8b77-4622224e7736", + "IsVisible": true, + "IsEditable": true, + "Name": "通道号", + "Type": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "1", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": "CAN通道", + "VariableID": "faf40f9b-b027-4684-a4c1-7dceff0db305" + }, + { + "ID": "e73fec1e-a575-49a6-b462-e34557a7bfb0", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": true, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "3142bd84-b774-4747-a58a-805e74f942c0", + "IsUsed": true, + "Index": 10, + "Name": "加载通道DBC文件", + "StepType": "方法", + "Method": { + "Name": "加载通道DBC文件", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "b1957afc-a00a-4e19-8d1e-1b6a505cfbfa", + "IsVisible": true, + "IsEditable": true, + "Name": "通道号", + "Type": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "0", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": "CAN通道", + "VariableID": "faf40f9b-b027-4684-a4c1-7dceff0db305" + }, + { + "ID": "58b57c15-3a6a-42fb-9140-4f8d8b9d3a3b", + "IsVisible": true, + "IsEditable": true, + "Name": "dbcFilePath", + "Type": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "D:\\wpt_protocol_v2.17_260317(1).dbc", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "dc8f1d23-8cc4-4244-863c-91a59c920255", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": false, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "fb51bb03-cf78-40d5-ad4a-781c39d04183", + "IsUsed": true, + "Index": 11, + "Name": "加载通道DBC文件", + "StepType": "方法", + "Method": { + "Name": "加载通道DBC文件", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "b1957afc-a00a-4e19-8d1e-1b6a505cfbfa", + "IsVisible": true, + "IsEditable": true, + "Name": "通道号", + "Type": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "1", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": "CAN通道", + "VariableID": "faf40f9b-b027-4684-a4c1-7dceff0db305" + }, + { + "ID": "58b57c15-3a6a-42fb-9140-4f8d8b9d3a3b", + "IsVisible": true, + "IsEditable": true, + "Name": "dbcFilePath", + "Type": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "D:\\wpt_protocol_v2.17_260317(1).dbc", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "dc8f1d23-8cc4-4244-863c-91a59c920255", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": false, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "6a1d14ac-45f0-4546-a695-50eb382b31d0", + "IsUsed": true, + "Index": 12, + "Name": "上位机清除控制", + "StepType": "方法", + "Method": { + "Name": "发送自定义报文", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "25dee4a0-1515-4e06-b250-63d54b5ce3e2", + "IsVisible": true, + "IsEditable": true, + "Name": "通道号", + "Type": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "1", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "e3a433d8-47c8-4341-91d4-8651c003b6ac", + "IsVisible": true, + "IsEditable": true, + "Name": "帧IDStr", + "Type": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "0x1047FF66", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "e225ce42-c137-423b-937e-67adb1842a3c", + "IsVisible": true, + "IsEditable": true, + "Name": "原始数据", + "Type": "System.Byte[], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "[0xEE, 0x02, 0xE8, 0x03, 0x58, 0x02, 0x00, 0x00]", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "6148a466-58f5-4dd6-94ee-893be704cab0", + "IsVisible": true, + "IsEditable": true, + "Name": "dlcLength", + "Type": "System.Byte, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "8", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "343f280d-fb92-4b16-a92d-2591fbede631", + "IsVisible": true, + "IsEditable": true, + "Name": "是否是扩展帧", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "true", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "2d35d232-a612-47b2-bba8-77db40798a33", + "IsVisible": true, + "IsEditable": true, + "Name": "是否是CANFD", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "9510449a-4c27-48ba-b110-172ddaca2dde", + "IsVisible": true, + "IsEditable": true, + "Name": "开启波特率加速BRS", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "8948f5a9-b595-4787-86bb-9d8b33956878", + "IsVisible": true, + "IsEditable": true, + "Name": "循环发送间隔毫秒", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "0", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "28089590-06e0-4300-8f5d-4f557c5f276e", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": "ipc_charge_info_update" + }, + { + "ID": "9011a7e6-ca6e-4d1e-bf7a-70fdc6f75863", + "IsUsed": true, + "Index": 13, + "Name": "IPC充电控制停机", + "StepType": "方法", + "Method": { + "Name": "发送自定义报文", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "25dee4a0-1515-4e06-b250-63d54b5ce3e2", + "IsVisible": true, + "IsEditable": true, + "Name": "通道号", + "Type": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "1", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "e3a433d8-47c8-4341-91d4-8651c003b6ac", + "IsVisible": true, + "IsEditable": true, + "Name": "帧IDStr", + "Type": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "0x1046FF66", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "e225ce42-c137-423b-937e-67adb1842a3c", + "IsVisible": true, + "IsEditable": true, + "Name": "原始数据", + "Type": "System.Byte[], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "[0x00, 0x01, 0x20, 0x00, 0xBC, 0x02, 0xE8, 0x03]", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "6148a466-58f5-4dd6-94ee-893be704cab0", + "IsVisible": true, + "IsEditable": true, + "Name": "dlcLength", + "Type": "System.Byte, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "8", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "343f280d-fb92-4b16-a92d-2591fbede631", + "IsVisible": true, + "IsEditable": true, + "Name": "是否是扩展帧", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "true", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "2d35d232-a612-47b2-bba8-77db40798a33", + "IsVisible": true, + "IsEditable": true, + "Name": "是否是CANFD", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "9510449a-4c27-48ba-b110-172ddaca2dde", + "IsVisible": true, + "IsEditable": true, + "Name": "开启波特率加速BRS", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "8948f5a9-b595-4787-86bb-9d8b33956878", + "IsVisible": true, + "IsEditable": true, + "Name": "循环发送间隔毫秒", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "0", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "28089590-06e0-4300-8f5d-4f557c5f276e", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": "Ipc_charge_ctrl" + } + ], + "ErrorStepCollection": [], + "Parameters": [ + { + "ID": "5ba1bbfe-5683-4d66-8b26-8c9456604974", + "IsVisible": true, + "IsEditable": false, + "Name": "台架序号", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 1, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "69454984-49e9-48fc-936f-5aafb269671e", + "IsVisible": true, + "IsEditable": false, + "Name": "CAN通道1", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "ae2d0082-7581-4c1e-9575-f589ff75002c", + "IsVisible": true, + "IsEditable": false, + "Name": "CAN通道2", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "2c12487a-1bc8-48f7-b66d-0648e98039f5", + "IsVisible": true, + "IsEditable": false, + "Name": "示波器通道1", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "fce5986d-b4fa-4a2f-9b8a-7e64df1e8551", + "IsVisible": true, + "IsEditable": false, + "Name": "示波器通道2", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "638413ec-c8e8-475d-bf3b-34b78c9769a8", + "IsVisible": true, + "IsEditable": false, + "Name": "功率分析仪通道1", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "60a667d4-7b98-41ba-8ae1-f90bee21d290", + "IsVisible": true, + "IsEditable": false, + "Name": "功率分析仪通道2", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] +} \ No newline at end of file diff --git a/ADP电路图/子程序/ADP产品开机.ADP b/ADP电路图/子程序/ADP产品开机.ADP new file mode 100644 index 0000000..ba3938c --- /dev/null +++ b/ADP电路图/子程序/ADP产品开机.ADP @@ -0,0 +1,1757 @@ +{ + "ID": "365a8c2d-c162-4d17-9c37-8a85b4b0b168", + "StepCollection": [ + { + "ID": "9ee7de65-c7e6-42de-bdd0-31157298cc71", + "IsUsed": true, + "Index": 1, + "Name": "执行台架动作Async", + "StepType": "方法", + "Method": { + "Name": "执行台架动作Async", + "FullName": "DeviceCommand.Devices.IOBoardGroup", + "Parameters": [ + { + "ID": "5f3636eb-1c9d-45a5-9ff7-dae51d132ee5", + "IsVisible": true, + "IsEditable": true, + "Name": "台架序号", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": true, + "VariableName": "台架序号", + "VariableID": "c30475d7-0799-4cf2-a054-405c8b95f4c1" + }, + { + "ID": "551c4c07-cbbe-4f03-96ae-72bdd56c59e6", + "IsVisible": true, + "IsEditable": true, + "Name": "动作", + "Type": "DeviceCommand.Devices.功能动作, DeviceCommand, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", + "Category": 0, + "Value": 1, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "d7511c95-819c-43d9-9d3c-1d23e270c6cd", + "IsVisible": true, + "IsEditable": true, + "Name": "开关状态", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "true", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "ca7c25c4-c636-4658-a15e-cc25aa22d02d", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "9a54460d-9369-484c-9869-4e1637bfdeff", + "IsUsed": false, + "Index": 2, + "Name": "设置DC输出", + "StepType": "方法", + "Method": { + "Name": "设置DC输出", + "FullName": "DeviceCommand.Devices.IT7800E", + "Parameters": [ + { + "ID": "c106b711-1401-4951-9f28-e81f5e29df0c", + "IsVisible": true, + "IsEditable": true, + "Name": "开启", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "false", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "a319d331-f4f6-4753-be32-543fdd631f96", + "IsVisible": true, + "IsEditable": true, + "Name": "ct", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "074768fd-b57c-42ce-95d8-72f563cb76e3", + "IsUsed": false, + "Index": 3, + "Name": "设置DC输出", + "StepType": "方法", + "Method": { + "Name": "设置DC输出", + "FullName": "DeviceCommand.Devices.N36600", + "Parameters": [ + { + "ID": "841a6338-4995-4186-9365-2e4517bcf912", + "IsVisible": true, + "IsEditable": true, + "Name": "开启", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "false", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "ae354747-fa09-4ac6-b091-4777760a4b78", + "IsVisible": true, + "IsEditable": true, + "Name": "ct", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "af1373d3-35a8-4a04-97cc-6da1561a8ebd", + "IsUsed": false, + "Index": 4, + "Name": "设置DC输入", + "StepType": "方法", + "Method": { + "Name": "设置DC输入", + "FullName": "DeviceCommand.Devices.N69200", + "Parameters": [ + { + "ID": "1679e8eb-5649-4441-8936-fe6c7f5d9cc2", + "IsVisible": true, + "IsEditable": true, + "Name": "开启", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "false", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "6e64ecc7-0cb9-4a5c-9f2f-6304a7a75bf0", + "IsVisible": true, + "IsEditable": true, + "Name": "ct", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "c1ae9227-35f1-4091-b41d-269fabc5b2d6", + "IsUsed": false, + "Index": 5, + "Name": "设置DC输入", + "StepType": "方法", + "Method": { + "Name": "设置DC输入", + "FullName": "DeviceCommand.Devices.N69200", + "Parameters": [ + { + "ID": "1679e8eb-5649-4441-8936-fe6c7f5d9cc2", + "IsVisible": true, + "IsEditable": true, + "Name": "开启", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "false", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "6e64ecc7-0cb9-4a5c-9f2f-6304a7a75bf0", + "IsVisible": true, + "IsEditable": true, + "Name": "ct", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "7e70a0ed-749b-4d1a-8141-a340d8220980", + "IsUsed": false, + "Index": 6, + "Name": "执行台架动作Async", + "StepType": "方法", + "Method": { + "Name": "执行台架动作Async", + "FullName": "DeviceCommand.Devices.IOBoardGroup", + "Parameters": [ + { + "ID": "4137e36a-0d3d-457b-ac17-620fcc79e8e3", + "IsVisible": true, + "IsEditable": true, + "Name": "台架序号", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": true, + "VariableName": "台架序号", + "VariableID": "c30475d7-0799-4cf2-a054-405c8b95f4c1" + }, + { + "ID": "4b9570ea-56d7-410e-b2b9-b92d4151133a", + "IsVisible": true, + "IsEditable": true, + "Name": "动作", + "Type": "DeviceCommand.Devices.功能动作, DeviceCommand, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "0235d8d6-4956-4d2e-8325-04ea40cfa911", + "IsVisible": true, + "IsEditable": true, + "Name": "开关状态", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "false", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "eff529c7-9eda-481b-b034-cb81f58dacfc", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "e91cc1bc-b246-4f17-938c-139a077e635f", + "IsUsed": true, + "Index": 7, + "Name": "执行台架动作Async", + "StepType": "方法", + "Method": { + "Name": "执行台架动作Async", + "FullName": "DeviceCommand.Devices.IOBoardGroup", + "Parameters": [ + { + "ID": "4137e36a-0d3d-457b-ac17-620fcc79e8e3", + "IsVisible": true, + "IsEditable": true, + "Name": "台架序号", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "2", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": true, + "VariableName": "台架序号", + "VariableID": "c30475d7-0799-4cf2-a054-405c8b95f4c1" + }, + { + "ID": "4b9570ea-56d7-410e-b2b9-b92d4151133a", + "IsVisible": true, + "IsEditable": true, + "Name": "动作", + "Type": "DeviceCommand.Devices.功能动作, DeviceCommand, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "0235d8d6-4956-4d2e-8325-04ea40cfa911", + "IsVisible": true, + "IsEditable": true, + "Name": "开关状态", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "true", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "eff529c7-9eda-481b-b034-cb81f58dacfc", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "daa57744-be26-4df9-a64a-61d8498591ae", + "IsUsed": true, + "Index": 8, + "Name": "设置电源模式", + "StepType": "方法", + "Method": { + "Name": "设置电源模式", + "FullName": "DeviceCommand.Devices.IT7800E", + "Parameters": [ + { + "ID": "2b203b95-5023-4c23-b55c-9fb3a3e72a3c", + "IsVisible": true, + "IsEditable": true, + "Name": "模式", + "Type": "DeviceCommand.Devices.PowerCouplingMode, DeviceCommand, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "22e96193-64f1-4fce-8e65-a325b8cda744", + "IsVisible": true, + "IsEditable": true, + "Name": "ct", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "cc13a773-03b3-4545-afc5-810f8cb6edbf", + "IsUsed": true, + "Index": 9, + "Name": "设置交流电压", + "StepType": "方法", + "Method": { + "Name": "设置交流电压", + "FullName": "DeviceCommand.Devices.IT7800E", + "Parameters": [ + { + "ID": "ab3851bb-138b-4dab-adf7-f72c7aca0c4b", + "IsVisible": true, + "IsEditable": true, + "Name": "电压", + "Type": "System.Double, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "220", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "2a93760a-3040-47e8-85d6-8db7c3e46499", + "IsVisible": true, + "IsEditable": true, + "Name": "ct", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "e7f79d2e-955b-4199-8672-ebe16458e78e", + "IsUsed": true, + "Index": 10, + "Name": "设置DC输出", + "StepType": "方法", + "Method": { + "Name": "设置DC输出", + "FullName": "DeviceCommand.Devices.IT7800E", + "Parameters": [ + { + "ID": "c106b711-1401-4951-9f28-e81f5e29df0c", + "IsVisible": true, + "IsEditable": true, + "Name": "开启", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "true", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "a319d331-f4f6-4753-be32-543fdd631f96", + "IsVisible": true, + "IsEditable": true, + "Name": "ct", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "49c09f45-dedb-42c0-836d-023594a5f1d0", + "IsUsed": true, + "Index": 11, + "Name": "设置电压", + "StepType": "方法", + "Method": { + "Name": "设置电压", + "FullName": "DeviceCommand.Devices.N36600", + "Parameters": [ + { + "ID": "6a34cb66-f0d1-4103-b429-49dcb3cb82e4", + "IsVisible": true, + "IsEditable": true, + "Name": "电压", + "Type": "System.Double, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "12", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "91ba01f1-4f87-411c-9983-e947bc025b2e", + "IsVisible": true, + "IsEditable": true, + "Name": "ct", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "71c566da-b0a7-45f4-bf19-362492a32224", + "IsUsed": true, + "Index": 12, + "Name": "设置DC输出", + "StepType": "方法", + "Method": { + "Name": "设置DC输出", + "FullName": "DeviceCommand.Devices.N36600", + "Parameters": [ + { + "ID": "841a6338-4995-4186-9365-2e4517bcf912", + "IsVisible": true, + "IsEditable": true, + "Name": "开启", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "true", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "ae354747-fa09-4ac6-b091-4777760a4b78", + "IsVisible": true, + "IsEditable": true, + "Name": "ct", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "cc00ddcc-6295-4b91-beb0-0725498b7083", + "IsUsed": true, + "Index": 13, + "Name": "设置负载模式", + "StepType": "方法", + "Method": { + "Name": "设置负载模式", + "FullName": "DeviceCommand.Devices.N69200", + "Parameters": [ + { + "ID": "14ab4ef6-ed0f-46d2-bd85-082d51022273", + "IsVisible": true, + "IsEditable": true, + "Name": "模式", + "Type": "DeviceCommand.Devices.N69200+DeviceWorkMode, DeviceCommand, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", + "Category": 0, + "Value": 1, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "66b9e678-118f-4c75-a22b-0f4b6c6c23a5", + "IsVisible": true, + "IsEditable": true, + "Name": "ct", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "492469bc-60bf-4ed9-9cb9-cf38408c2c2f", + "IsUsed": true, + "Index": 14, + "Name": "设置恒电压CV", + "StepType": "方法", + "Method": { + "Name": "设置恒电压CV", + "FullName": "DeviceCommand.Devices.N69200", + "Parameters": [ + { + "ID": "fa3a4e4d-5723-49ea-8176-d44561e4fd11", + "IsVisible": true, + "IsEditable": true, + "Name": "电压", + "Type": "System.Double, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "65", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "2e71c54c-03f1-4054-bd41-2f67b69b67d0", + "IsVisible": true, + "IsEditable": true, + "Name": "ct", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "9f9de4d1-7759-49f1-8f50-7c8588cd85f1", + "IsUsed": true, + "Index": 15, + "Name": "设置DC输入", + "StepType": "方法", + "Method": { + "Name": "设置DC输入", + "FullName": "DeviceCommand.Devices.N69200", + "Parameters": [ + { + "ID": "1679e8eb-5649-4441-8936-fe6c7f5d9cc2", + "IsVisible": true, + "IsEditable": true, + "Name": "开启", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "true", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "6e64ecc7-0cb9-4a5c-9f2f-6304a7a75bf0", + "IsVisible": true, + "IsEditable": true, + "Name": "ct", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "dacf77ae-2a7f-4097-b5b9-85093f9cddca", + "IsUsed": true, + "Index": 16, + "Name": "查询恒电压CV设定", + "StepType": "方法", + "Method": { + "Name": "查询恒电压CV设定", + "FullName": "DeviceCommand.Devices.N69200", + "Parameters": [ + { + "ID": "d88a14e8-8530-4901-ab6c-182aad30b241", + "IsVisible": true, + "IsEditable": true, + "Name": "ct", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "f8e78973-0623-4d32-a6a5-48d80110f778", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": "65", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": null, + "NGGotoStepID": null, + "Description": null + }, + { + "ID": "b9b7034d-c8a6-4d5b-94d1-e36e4f5cf7a5", + "IsUsed": true, + "Index": 17, + "Name": "打开设备", + "StepType": "方法", + "Method": { + "Name": "打开设备", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "671c57d1-642e-4dbb-a598-69fe6f2b1870", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": true, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": null, + "NGGotoStepID": null, + "Description": null + }, + { + "ID": "d76eae39-d1be-497c-b11e-5e349e22314e", + "IsUsed": true, + "Index": 18, + "Name": "初始化并启动通道", + "StepType": "方法", + "Method": { + "Name": "初始化并启动通道", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "164bd9f4-498d-43f7-8b77-4622224e7736", + "IsVisible": true, + "IsEditable": true, + "Name": "通道号", + "Type": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "0", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": "CAN通道", + "VariableID": "faf40f9b-b027-4684-a4c1-7dceff0db305" + }, + { + "ID": "e73fec1e-a575-49a6-b462-e34557a7bfb0", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": true, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "3b2c4977-ab6c-41df-ac95-dffa47127704", + "IsUsed": true, + "Index": 19, + "Name": "初始化并启动通道", + "StepType": "方法", + "Method": { + "Name": "初始化并启动通道", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "164bd9f4-498d-43f7-8b77-4622224e7736", + "IsVisible": true, + "IsEditable": true, + "Name": "通道号", + "Type": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "1", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": "CAN通道", + "VariableID": "faf40f9b-b027-4684-a4c1-7dceff0db305" + }, + { + "ID": "e73fec1e-a575-49a6-b462-e34557a7bfb0", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": true, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "3142bd84-b774-4747-a58a-805e74f942c0", + "IsUsed": true, + "Index": 20, + "Name": "加载通道DBC文件", + "StepType": "方法", + "Method": { + "Name": "加载通道DBC文件", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "b1957afc-a00a-4e19-8d1e-1b6a505cfbfa", + "IsVisible": true, + "IsEditable": true, + "Name": "通道号", + "Type": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "0", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": "CAN通道", + "VariableID": "faf40f9b-b027-4684-a4c1-7dceff0db305" + }, + { + "ID": "58b57c15-3a6a-42fb-9140-4f8d8b9d3a3b", + "IsVisible": true, + "IsEditable": true, + "Name": "dbcFilePath", + "Type": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "D:\\wpt_protocol_v2.17_260317(1).dbc", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "dc8f1d23-8cc4-4244-863c-91a59c920255", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": false, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "fb51bb03-cf78-40d5-ad4a-781c39d04183", + "IsUsed": true, + "Index": 21, + "Name": "加载通道DBC文件", + "StepType": "方法", + "Method": { + "Name": "加载通道DBC文件", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "b1957afc-a00a-4e19-8d1e-1b6a505cfbfa", + "IsVisible": true, + "IsEditable": true, + "Name": "通道号", + "Type": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "1", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": "CAN通道", + "VariableID": "faf40f9b-b027-4684-a4c1-7dceff0db305" + }, + { + "ID": "58b57c15-3a6a-42fb-9140-4f8d8b9d3a3b", + "IsVisible": true, + "IsEditable": true, + "Name": "dbcFilePath", + "Type": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "D:\\wpt_protocol_v2.17_260317(1).dbc", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "dc8f1d23-8cc4-4244-863c-91a59c920255", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": false, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "269e0829-0733-478f-bd8e-cc40e84a521e", + "IsUsed": true, + "Index": 22, + "Name": "上位机清除控制", + "StepType": "方法", + "Method": { + "Name": "发送自定义报文", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "0233c31e-f2ce-4c78-a346-4355324a06f1", + "IsVisible": true, + "IsEditable": true, + "Name": "通道号", + "Type": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "1", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "ab962f4d-3489-4e16-9f41-32f9a7568f02", + "IsVisible": true, + "IsEditable": true, + "Name": "帧IDStr", + "Type": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "0x1047FF66", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "15fb105d-b621-40ab-a370-ea9766ee8edb", + "IsVisible": true, + "IsEditable": true, + "Name": "原始数据", + "Type": "System.Byte[], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "[0xEE, 0x02, 0xE8, 0x03, 0x58, 0x02, 0x00, 0x00]", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "dd209b57-27e4-407c-b904-765ddf997fee", + "IsVisible": true, + "IsEditable": true, + "Name": "dlcLength", + "Type": "System.Byte, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "8", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "e4566714-5db8-462b-ac84-d0c56b6ad350", + "IsVisible": true, + "IsEditable": true, + "Name": "是否是扩展帧", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "9ccf6f71-12a6-4ed7-9b27-021f15b259ba", + "IsVisible": true, + "IsEditable": true, + "Name": "是否是CANFD", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "602b366c-5b4b-4d2c-ac28-49a49e5cb23e", + "IsVisible": true, + "IsEditable": true, + "Name": "开启波特率加速BRS", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "0b5e8f20-9390-4780-bce0-e32247655555", + "IsVisible": true, + "IsEditable": true, + "Name": "循环发送间隔毫秒", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "0", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "d84e41ed-8d8b-49fa-b3f7-4539b2ea31e2", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": "ipc_charge_info_update" + }, + { + "ID": "69e7b9d4-0dc5-4bcb-9979-4f24a1241d9a", + "IsUsed": true, + "Index": 23, + "Name": "IPC充电控制开机", + "StepType": "方法", + "Method": { + "Name": "发送自定义报文", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "0233c31e-f2ce-4c78-a346-4355324a06f1", + "IsVisible": true, + "IsEditable": true, + "Name": "通道号", + "Type": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "1", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "ab962f4d-3489-4e16-9f41-32f9a7568f02", + "IsVisible": true, + "IsEditable": true, + "Name": "帧IDStr", + "Type": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "0x1046FF66", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "15fb105d-b621-40ab-a370-ea9766ee8edb", + "IsVisible": true, + "IsEditable": true, + "Name": "原始数据", + "Type": "System.Byte[], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "[0x01, 0x01, 0x20, 0x00, 0xBC, 0x02, 0xE8, 0x03]", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "dd209b57-27e4-407c-b904-765ddf997fee", + "IsVisible": true, + "IsEditable": true, + "Name": "dlcLength", + "Type": "System.Byte, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "8", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "e4566714-5db8-462b-ac84-d0c56b6ad350", + "IsVisible": true, + "IsEditable": true, + "Name": "是否是扩展帧", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "9ccf6f71-12a6-4ed7-9b27-021f15b259ba", + "IsVisible": true, + "IsEditable": true, + "Name": "是否是CANFD", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "602b366c-5b4b-4d2c-ac28-49a49e5cb23e", + "IsVisible": true, + "IsEditable": true, + "Name": "开启波特率加速BRS", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "0b5e8f20-9390-4780-bce0-e32247655555", + "IsVisible": true, + "IsEditable": true, + "Name": "循环发送间隔毫秒", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "100", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "d84e41ed-8d8b-49fa-b3f7-4539b2ea31e2", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": "Ipc_charge_ctrl" + }, + { + "ID": "29eb8d1b-576e-4a7e-988e-2669181c66ca", + "IsUsed": false, + "Index": 24, + "Name": "IPC充电控制停机", + "StepType": "方法", + "Method": { + "Name": "发送自定义报文", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "0233c31e-f2ce-4c78-a346-4355324a06f1", + "IsVisible": true, + "IsEditable": true, + "Name": "通道号", + "Type": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "1", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "ab962f4d-3489-4e16-9f41-32f9a7568f02", + "IsVisible": true, + "IsEditable": true, + "Name": "帧IDStr", + "Type": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "0x1046FF66", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "15fb105d-b621-40ab-a370-ea9766ee8edb", + "IsVisible": true, + "IsEditable": true, + "Name": "原始数据", + "Type": "System.Byte[], System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "[0x00, 0x01, 0x20, 0x00, 0xBC, 0x02, 0xE8, 0x03]", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "dd209b57-27e4-407c-b904-765ddf997fee", + "IsVisible": true, + "IsEditable": true, + "Name": "dlcLength", + "Type": "System.Byte, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "8", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "e4566714-5db8-462b-ac84-d0c56b6ad350", + "IsVisible": true, + "IsEditable": true, + "Name": "是否是扩展帧", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "9ccf6f71-12a6-4ed7-9b27-021f15b259ba", + "IsVisible": true, + "IsEditable": true, + "Name": "是否是CANFD", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "602b366c-5b4b-4d2c-ac28-49a49e5cb23e", + "IsVisible": true, + "IsEditable": true, + "Name": "开启波特率加速BRS", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "0b5e8f20-9390-4780-bce0-e32247655555", + "IsVisible": true, + "IsEditable": true, + "Name": "循环发送间隔毫秒", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "100", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "d84e41ed-8d8b-49fa-b3f7-4539b2ea31e2", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": "Ipc_charge_ctrl" + } + ], + "ErrorStepCollection": [], + "Parameters": [ + { + "ID": "5679b2cc-6cc9-4e47-a69c-786c19457264", + "IsVisible": true, + "IsEditable": false, + "Name": "台架序号", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 1, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "68eb05e1-ef00-4816-9197-67526f44f82a", + "IsVisible": true, + "IsEditable": false, + "Name": "CAN通道1", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "d50e6510-2dd3-437d-b7a4-b1a961c46ec1", + "IsVisible": true, + "IsEditable": false, + "Name": "CAN通道2", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "2a57b63c-e513-4ed0-894e-187d417320b4", + "IsVisible": true, + "IsEditable": false, + "Name": "示波器通道1", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "db603409-6375-4b7c-84db-2fd8a6b85be9", + "IsVisible": true, + "IsEditable": false, + "Name": "示波器通道2", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "5c92c534-8f5f-4d85-8189-b9c4e8228588", + "IsVisible": true, + "IsEditable": false, + "Name": "功率分析仪通道1", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "1e2ac85a-7136-4de9-86ba-9a088b85807e", + "IsVisible": true, + "IsEditable": false, + "Name": "功率分析仪通道2", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] +} \ No newline at end of file diff --git a/ADP电路图/子程序/子程序.zip b/ADP电路图/子程序/子程序.zip new file mode 100644 index 0000000..7a9deb4 Binary files /dev/null and b/ADP电路图/子程序/子程序.zip differ diff --git a/ADP电路图/子程序/测试前期.ADP b/ADP电路图/子程序/测试前期.ADP new file mode 100644 index 0000000..1a8e860 --- /dev/null +++ b/ADP电路图/子程序/测试前期.ADP @@ -0,0 +1,1303 @@ +{ + "ID": "365a8c2d-c162-4d17-9c37-8a85b4b0b168", + "StepCollection": [ + { + "ID": "c358e511-e375-495d-b01a-23a7f590e42e", + "IsUsed": true, + "Index": 1, + "Name": "打开设备", + "StepType": "方法", + "Method": { + "Name": "打开设备", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "5677f5cc-6374-47a4-8f1a-1602b92e626c", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": null, + "NGGotoStepID": null, + "Description": null + }, + { + "ID": "a7d575d7-4f61-4706-bd7d-c6b30b214bfd", + "IsUsed": true, + "Index": 2, + "Name": "初始化并启动通道", + "StepType": "方法", + "Method": { + "Name": "初始化并启动通道", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "d8b00bad-fec1-49ad-83f2-4430446f023b", + "IsVisible": true, + "IsEditable": true, + "Name": "通道号", + "Type": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "1", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": true, + "VariableName": "CAN通道", + "VariableID": "8e6716bb-9af9-4a9b-bf27-c190602d8413" + }, + { + "ID": "12bad4b3-184d-41f0-8ea5-fd8f58a8a5b9", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "b8f2e995-8de5-4143-a131-2a4581c10120", + "IsUsed": true, + "Index": 3, + "Name": "初始化并启动通道", + "StepType": "方法", + "Method": { + "Name": "初始化并启动通道", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "d8b00bad-fec1-49ad-83f2-4430446f023b", + "IsVisible": true, + "IsEditable": true, + "Name": "通道号", + "Type": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "2", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": true, + "VariableName": "CAN通道", + "VariableID": "8e6716bb-9af9-4a9b-bf27-c190602d8413" + }, + { + "ID": "12bad4b3-184d-41f0-8ea5-fd8f58a8a5b9", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "4c348e03-1a61-4192-85c2-daadfefedb77", + "IsUsed": true, + "Index": 4, + "Name": "加载通道DBC文件", + "StepType": "方法", + "Method": { + "Name": "加载通道DBC文件", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "d7a1759a-dae2-4f4f-b561-8a65cac37950", + "IsVisible": true, + "IsEditable": true, + "Name": "通道号", + "Type": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": true, + "VariableName": "CAN通道", + "VariableID": "8e6716bb-9af9-4a9b-bf27-c190602d8413" + }, + { + "ID": "f6a402c5-13f6-4c0e-a5b8-deea7bbd4f5c", + "IsVisible": true, + "IsEditable": true, + "Name": "dbcFilePath", + "Type": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": true, + "VariableName": "DBC文件路径", + "VariableID": "1bde3d34-6f7f-4c2c-8e93-e4a692fb0332" + }, + { + "ID": "e19f75d9-e1a6-47e4-a426-f35a1d72d21b", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "40a59b47-0428-4210-98dd-f8ba0cc9b594", + "IsUsed": true, + "Index": 5, + "Name": "加载通道DBC文件", + "StepType": "方法", + "Method": { + "Name": "加载通道DBC文件", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [ + { + "ID": "d7a1759a-dae2-4f4f-b561-8a65cac37950", + "IsVisible": true, + "IsEditable": true, + "Name": "通道号", + "Type": "System.UInt32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "1", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": true, + "VariableName": "CAN通道", + "VariableID": "8e6716bb-9af9-4a9b-bf27-c190602d8413" + }, + { + "ID": "f6a402c5-13f6-4c0e-a5b8-deea7bbd4f5c", + "IsVisible": true, + "IsEditable": true, + "Name": "dbcFilePath", + "Type": "System.String, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": true, + "VariableName": "DBC文件路径", + "VariableID": "1bde3d34-6f7f-4c2c-8e93-e4a692fb0332" + }, + { + "ID": "e19f75d9-e1a6-47e4-a426-f35a1d72d21b", + "IsVisible": true, + "IsEditable": true, + "Name": "Result", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 1, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "6630718b-8c4d-40ff-b551-b7dbc7383292", + "IsUsed": true, + "Index": 6, + "Name": "停止所有循环发送", + "StepType": "方法", + "Method": { + "Name": "停止所有循环发送", + "FullName": "ZLGUSBCANFD.ZLGCANFD", + "Parameters": [] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": null, + "NGGotoStepID": null, + "Description": null + }, + { + "ID": "b4ed63a1-9dda-49b1-858e-0efa0878c502", + "IsUsed": true, + "Index": 7, + "Name": "设置急停状态", + "StepType": "方法", + "Method": { + "Name": "设置急停状态", + "FullName": "DeviceCommand.Devices.GantryControlTcp", + "Parameters": [ + { + "ID": "8394bcb5-e98a-4b06-810e-ee2926a240cb", + "IsVisible": true, + "IsEditable": true, + "Name": "状态", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "false", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "967a2c57-263f-4988-95b5-5626039f5218", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "23cf937c-a6de-4bc7-a7f4-0e23c40d648f", + "IsUsed": true, + "Index": 8, + "Name": "设置轴使能", + "StepType": "方法", + "Method": { + "Name": "设置轴使能", + "FullName": "DeviceCommand.Devices.GantryControlTcp", + "Parameters": [ + { + "ID": "3785e92d-6b59-4cab-82e9-876d274da48d", + "IsVisible": true, + "IsEditable": true, + "Name": "轴编号", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "1", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "2fdaae7e-2230-4cde-a0fb-473b6abf9693", + "IsVisible": true, + "IsEditable": true, + "Name": "使能", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "true", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "bbab28a4-4df9-476a-9000-062996a23495", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "6c66c71b-ae5a-4ebd-aff6-c5c3fa378c8e", + "IsUsed": true, + "Index": 9, + "Name": "设置轴使能", + "StepType": "方法", + "Method": { + "Name": "设置轴使能", + "FullName": "DeviceCommand.Devices.GantryControlTcp", + "Parameters": [ + { + "ID": "3785e92d-6b59-4cab-82e9-876d274da48d", + "IsVisible": true, + "IsEditable": true, + "Name": "轴编号", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "2", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "2fdaae7e-2230-4cde-a0fb-473b6abf9693", + "IsVisible": true, + "IsEditable": true, + "Name": "使能", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "true", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "bbab28a4-4df9-476a-9000-062996a23495", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "31286d3c-de1d-4972-aeec-193e14fab6eb", + "IsUsed": true, + "Index": 10, + "Name": "设置轴使能", + "StepType": "方法", + "Method": { + "Name": "设置轴使能", + "FullName": "DeviceCommand.Devices.GantryControlTcp", + "Parameters": [ + { + "ID": "3785e92d-6b59-4cab-82e9-876d274da48d", + "IsVisible": true, + "IsEditable": true, + "Name": "轴编号", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "3", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "2fdaae7e-2230-4cde-a0fb-473b6abf9693", + "IsVisible": true, + "IsEditable": true, + "Name": "使能", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "true", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "bbab28a4-4df9-476a-9000-062996a23495", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "9d07031a-9dc3-4273-989a-e6dd5da0f1f2", + "IsUsed": true, + "Index": 11, + "Name": "设置轴使能", + "StepType": "方法", + "Method": { + "Name": "设置轴使能", + "FullName": "DeviceCommand.Devices.GantryControlTcp", + "Parameters": [ + { + "ID": "3785e92d-6b59-4cab-82e9-876d274da48d", + "IsVisible": true, + "IsEditable": true, + "Name": "轴编号", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "4", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "2fdaae7e-2230-4cde-a0fb-473b6abf9693", + "IsVisible": true, + "IsEditable": true, + "Name": "使能", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "true", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "bbab28a4-4df9-476a-9000-062996a23495", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "16f35090-198d-4c8c-af64-f1193b3977ea", + "IsUsed": true, + "Index": 12, + "Name": "设置轴使能", + "StepType": "方法", + "Method": { + "Name": "设置轴使能", + "FullName": "DeviceCommand.Devices.GantryControlTcp", + "Parameters": [ + { + "ID": "3785e92d-6b59-4cab-82e9-876d274da48d", + "IsVisible": true, + "IsEditable": true, + "Name": "轴编号", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "5", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "2fdaae7e-2230-4cde-a0fb-473b6abf9693", + "IsVisible": true, + "IsEditable": true, + "Name": "使能", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "true", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "bbab28a4-4df9-476a-9000-062996a23495", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "0d9e2b47-5a7e-4bda-8fca-4e34fc4ecde4", + "IsUsed": true, + "Index": 13, + "Name": "设置轴使能", + "StepType": "方法", + "Method": { + "Name": "设置轴使能", + "FullName": "DeviceCommand.Devices.GantryControlTcp", + "Parameters": [ + { + "ID": "3785e92d-6b59-4cab-82e9-876d274da48d", + "IsVisible": true, + "IsEditable": true, + "Name": "轴编号", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "6", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "2fdaae7e-2230-4cde-a0fb-473b6abf9693", + "IsVisible": true, + "IsEditable": true, + "Name": "使能", + "Type": "System.Boolean, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "true", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "bbab28a4-4df9-476a-9000-062996a23495", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "c7b3fd09-25cf-44e5-89c0-af8bf6c87f50", + "IsUsed": true, + "Index": 14, + "Name": "设置x轴速度", + "StepType": "方法", + "Method": { + "Name": "设置轴速度", + "FullName": "DeviceCommand.Devices.GantryControlTcp", + "Parameters": [ + { + "ID": "77f0949f-20f8-4ea7-bec1-883adc301790", + "IsVisible": true, + "IsEditable": true, + "Name": "轴编号", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "1", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "b70ba923-2958-4dd1-9601-683e5f2d329b", + "IsVisible": true, + "IsEditable": true, + "Name": "速度", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "1000", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "a06ee105-5b99-4f0f-94a9-9bf7ea6be90f", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "054295b2-baa2-43fd-8a68-8560548cdd99", + "IsUsed": true, + "Index": 15, + "Name": "设置Y轴速度", + "StepType": "方法", + "Method": { + "Name": "设置轴速度", + "FullName": "DeviceCommand.Devices.GantryControlTcp", + "Parameters": [ + { + "ID": "77f0949f-20f8-4ea7-bec1-883adc301790", + "IsVisible": true, + "IsEditable": true, + "Name": "轴编号", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "2", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "b70ba923-2958-4dd1-9601-683e5f2d329b", + "IsVisible": true, + "IsEditable": true, + "Name": "速度", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "1000", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "a06ee105-5b99-4f0f-94a9-9bf7ea6be90f", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "f7dae93d-088a-4102-a634-c9c43d4e45aa", + "IsUsed": true, + "Index": 16, + "Name": "设置Z轴速度", + "StepType": "方法", + "Method": { + "Name": "设置轴速度", + "FullName": "DeviceCommand.Devices.GantryControlTcp", + "Parameters": [ + { + "ID": "77f0949f-20f8-4ea7-bec1-883adc301790", + "IsVisible": true, + "IsEditable": true, + "Name": "轴编号", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "3", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "b70ba923-2958-4dd1-9601-683e5f2d329b", + "IsVisible": true, + "IsEditable": true, + "Name": "速度", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "1000", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "a06ee105-5b99-4f0f-94a9-9bf7ea6be90f", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "ffd0d3e6-8c61-4293-9ed8-d8fb1d20139c", + "IsUsed": true, + "Index": 17, + "Name": "设置回零速度", + "StepType": "方法", + "Method": { + "Name": "设置回零速度", + "FullName": "DeviceCommand.Devices.GantryControlTcp", + "Parameters": [ + { + "ID": "c47deca0-aff2-4800-b3a8-4d36abb22074", + "IsVisible": true, + "IsEditable": true, + "Name": "速度", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "1000", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "9584bf4f-3400-4062-acdb-b988e977d399", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "9a4ee3dc-0857-4748-be79-a982a8325415", + "IsUsed": true, + "Index": 18, + "Name": "回零", + "StepType": "方法", + "Method": { + "Name": "回零", + "FullName": "DeviceCommand.Devices.GantryControlTcp", + "Parameters": [ + { + "ID": "2ae3d36c-a283-4395-96c5-e0b31bfc2027", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": null, + "NGGotoStepID": null, + "Description": null + }, + { + "ID": "72995399-3a6e-4abb-b107-4369ae5ce003", + "IsUsed": true, + "Index": 19, + "Name": "清空绝对寄存器", + "StepType": "方法", + "Method": { + "Name": "清空绝对寄存器", + "FullName": "DeviceCommand.Devices.GantryControlTcp", + "Parameters": [ + { + "ID": "a730c126-34f5-461c-a82d-b7e481df47b4", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": null, + "NGGotoStepID": null, + "Description": null + }, + { + "ID": "2aaccee9-333d-4481-8eba-f654dfa89d8e", + "IsUsed": true, + "Index": 20, + "Name": "相对移动", + "StepType": "方法", + "Method": { + "Name": "相对移动", + "FullName": "DeviceCommand.Devices.GantryControlTcp", + "Parameters": [ + { + "ID": "2fcecb89-a917-4d7c-8000-8cd48bb8c788", + "IsVisible": true, + "IsEditable": true, + "Name": "X偏移量", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "0", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "d11dff44-0c44-41cc-9ccf-d6fcdc7f7238", + "IsVisible": true, + "IsEditable": true, + "Name": "Y偏移量", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "0", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "9e4510cf-8064-405d-84a6-e562f429ddf8", + "IsVisible": true, + "IsEditable": true, + "Name": "Z偏移量", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": "35000", + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "a6af1e5c-fa5c-43b3-81e3-144d6a4a7302", + "IsVisible": true, + "IsEditable": true, + "Name": "超时秒数", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "b96c3a13-7cb7-4be5-89df-650711c19857", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": "00000000-0000-0000-0000-000000000000", + "NGGotoStepID": "00000000-0000-0000-0000-000000000000", + "Description": null + }, + { + "ID": "ca8d7782-bd80-4c4b-aeeb-2232c0e16b58", + "IsUsed": true, + "Index": 21, + "Name": "清空绝对寄存器", + "StepType": "方法", + "Method": { + "Name": "清空绝对寄存器", + "FullName": "DeviceCommand.Devices.GantryControlTcp", + "Parameters": [ + { + "ID": "922c39ad-cc24-4aff-92f8-a34777807349", + "IsVisible": true, + "IsEditable": true, + "Name": "取消令牌", + "Type": "System.Threading.CancellationToken, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": null, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] + }, + "SubProgram": null, + "LoopCount": null, + "LoopStartStepId": null, + "OKExpression": null, + "GotoSettingString": "", + "OKGotoStepID": null, + "NGGotoStepID": null, + "Description": null + } + ], + "ErrorStepCollection": [], + "Parameters": [ + { + "ID": "8068df54-a285-4963-b99b-e087cf4c63cf", + "IsVisible": true, + "IsEditable": false, + "Name": "台架序号", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 1, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "a92a44dc-d074-4bbc-9dbe-ff60b3033b56", + "IsVisible": true, + "IsEditable": false, + "Name": "CAN通道1", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "0a5b5756-c15c-4b8e-a940-6a931d676f2f", + "IsVisible": true, + "IsEditable": false, + "Name": "CAN通道2", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "2525d11a-972d-4f3f-ab01-1c5b21dd74c1", + "IsVisible": true, + "IsEditable": false, + "Name": "示波器通道1", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "7c318b5a-b2e1-4ad2-a1e9-0e8e94b15039", + "IsVisible": true, + "IsEditable": false, + "Name": "示波器通道2", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "b45188e4-3e12-4af9-ab7a-74c91d3f2ec5", + "IsVisible": true, + "IsEditable": false, + "Name": "功率分析仪通道1", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + }, + { + "ID": "a280a4ed-7185-479e-8c3b-2fc5a53cddef", + "IsVisible": true, + "IsEditable": false, + "Name": "功率分析仪通道2", + "Type": "System.Int32, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", + "Category": 0, + "Value": 0, + "LowerLimit": null, + "UpperLimit": null, + "Result": true, + "IsUseVar": false, + "VariableName": null, + "VariableID": null + } + ] +} \ No newline at end of file diff --git a/DeviceCommand/Devices/GantryControlTcp.cs b/DeviceCommand/Devices/GantryControlTcp.cs index b82a11d..8d06e1a 100644 --- a/DeviceCommand/Devices/GantryControlTcp.cs +++ b/DeviceCommand/Devices/GantryControlTcp.cs @@ -394,19 +394,7 @@ namespace DeviceCommand.Devices // 启动三轴联动 await 启动全部轴(取消令牌); - // 等待到达待定位置 - await 等待到达待定位置(xHome, yHome, zHome, 回零点等待时间, 取消令牌); - - // 7. 到达后清零绝对位置寄存器 - await Task.Delay(500, 取消令牌); - await WriteMultipleRegistersAsync(_slaveAddress, ADDR_ABS_AXIS1_POS, Int32ToUshorts(0), 取消令牌); - await WriteMultipleRegistersAsync(_slaveAddress, ADDR_ABS_AXIS2_POS, Int32ToUshorts(0), 取消令牌); - await WriteMultipleRegistersAsync(_slaveAddress, ADDR_ABS_AXIS3_POS, Int32ToUshorts(0), 取消令牌); - - // 清零目标寄存器 - await WriteMultipleRegistersAsync(_slaveAddress, ADDR_HD_X_TARGET, Int32ToUshorts(0), 取消令牌); - await WriteMultipleRegistersAsync(_slaveAddress, ADDR_HD_Y_TARGET, Int32ToUshorts(0), 取消令牌); - await WriteMultipleRegistersAsync(_slaveAddress, ADDR_HD_Z_TARGET, Int32ToUshorts(0), 取消令牌); + } // 8. 更新当前位置为待定位置 @@ -580,8 +568,6 @@ namespace DeviceCommand.Devices // 3. 启动三轴联动 await 启动全部轴(取消令牌); - await 等待到达指定位置(超时秒数); - await 清空绝对寄存器(); // 5. 到达后更新当前位置(累加偏移) _originX += X偏移量; diff --git a/DeviceCommand/Devices/IOBoard.cs b/DeviceCommand/Devices/IOBoard.cs index 7330aea..f4ad347 100644 --- a/DeviceCommand/Devices/IOBoard.cs +++ b/DeviceCommand/Devices/IOBoard.cs @@ -23,7 +23,8 @@ namespace DeviceCommand.Devices public async Task 写输出开关(byte 站号, ushort 开始地址, bool data) { - await Modbus.WriteSingleCoilAsync(站号, 开始地址, data); + bool[] mydata = { data }; + await 批量写输出开关(站号, 开始地址, mydata); } public async Task 批量写输出开关(byte 站号, ushort 开始地址, bool[] datas) { diff --git a/DeviceCommand/Devices/IOBoardGroup.cs b/DeviceCommand/Devices/IOBoardGroup.cs index b9cd41d..7290d2c 100644 --- a/DeviceCommand/Devices/IOBoardGroup.cs +++ b/DeviceCommand/Devices/IOBoardGroup.cs @@ -52,37 +52,37 @@ namespace DeviceCommand.Devices { 1, new Dictionary<功能动作, IoPortInfo> { { 功能动作.单相充电, new IoPortInfo(1, 5) }, // Y6 -> 5 { 功能动作.抛负载, new IoPortInfo(1, 0) }, // Y1 -> 0 - { 功能动作.短路测试, new IoPortInfo(1, 1) }, // Y2 -> 1 + { 功能动作.短路测试, new IoPortInfo(1, 4) }, // Y2 -> 1 { 功能动作.蜂鸣器报警, new IoPortInfo(2, 15) } // Y9 -> 8 }}, { 2, new Dictionary<功能动作, IoPortInfo> { { 功能动作.单相充电, new IoPortInfo(1, 6) }, // Y7 -> 6 - { 功能动作.抛负载, new IoPortInfo(1, 2) }, // Y3 -> 2 - { 功能动作.短路测试, new IoPortInfo(1, 1) }, // Y2 -> 1 + { 功能动作.抛负载, new IoPortInfo(1, 1) }, // Y3 -> 2 + { 功能动作.短路测试, new IoPortInfo(1, 4) }, // Y2 -> 1 { 功能动作.蜂鸣器报警, new IoPortInfo(2, 14) } // Y10 -> 9 }}, { 3, new Dictionary<功能动作, IoPortInfo> { { 功能动作.单相充电, new IoPortInfo(1, 7) }, // Y8 -> 7 - { 功能动作.抛负载, new IoPortInfo(1, 3) }, // Y4 -> 3 - { 功能动作.短路测试, new IoPortInfo(1, 1) }, // Y2 -> 1 + { 功能动作.抛负载, new IoPortInfo(1, 2) }, // Y4 -> 3 + { 功能动作.短路测试, new IoPortInfo(1, 4) }, // Y2 -> 1 { 功能动作.蜂鸣器报警, new IoPortInfo(2, 13) } // Y11 -> 10 }}, { 4, new Dictionary<功能动作, IoPortInfo> { { 功能动作.单相充电, new IoPortInfo(1, 8) }, // Y9 -> 8 - { 功能动作.抛负载, new IoPortInfo(1, 4) }, // Y5 -> 4 - { 功能动作.短路测试, new IoPortInfo(1, 1) }, // Y2 -> 1 + { 功能动作.抛负载, new IoPortInfo(1, 3) }, // Y5 -> 4 + { 功能动作.短路测试, new IoPortInfo(1, 4) }, // Y2 -> 1 { 功能动作.蜂鸣器报警, new IoPortInfo(2, 12) } // Y12 -> 11 }}, { 5, new Dictionary<功能动作, IoPortInfo> { { 功能动作.单相充电, new IoPortInfo(2, 4) }, // Y5 -> 4 { 功能动作.抛负载, new IoPortInfo(2, 0) }, // Y1 -> 0 - { 功能动作.短路测试, new IoPortInfo(1, 1) }, // Y2 -> 1 + { 功能动作.短路测试, new IoPortInfo(1, 4) }, // Y2 -> 1 { 功能动作.蜂鸣器报警, new IoPortInfo(2, 11) } // Y13 -> 12 }}, { 6, new Dictionary<功能动作, IoPortInfo> { { 功能动作.单相充电, new IoPortInfo(2, 5) }, // Y6 -> 5 { 功能动作.抛负载, new IoPortInfo(2, 1) }, // Y2 -> 1 - { 功能动作.短路测试, new IoPortInfo(1, 1) }, // Y2 -> 1 + { 功能动作.短路测试, new IoPortInfo(1,4) }, // Y2 -> 1 { 功能动作.蜂鸣器报警, new IoPortInfo(2, 10) } // Y14 -> 13 }}, { 7, new Dictionary<功能动作, IoPortInfo> { @@ -94,7 +94,7 @@ namespace DeviceCommand.Devices { 8, new Dictionary<功能动作, IoPortInfo> { { 功能动作.单相充电, new IoPortInfo(2, 7) }, // Y8 -> 7 { 功能动作.抛负载, new IoPortInfo(2, 3) }, // Y4 -> 3 - { 功能动作.短路测试, new IoPortInfo(1, 1) }, // Y2 -> 1 + { 功能动作.短路测试, new IoPortInfo(1, 4) }, // Y2 -> 1 { 功能动作.蜂鸣器报警, new IoPortInfo(2, 8) } // Y16 -> 15 }} }; diff --git a/UIShare/GlobalVariable/StepRunning.cs b/UIShare/GlobalVariable/StepRunning.cs index f48b1e1..64602d6 100644 --- a/UIShare/GlobalVariable/StepRunning.cs +++ b/UIShare/GlobalVariable/StepRunning.cs @@ -255,6 +255,7 @@ namespace UIShare tmpParameters.Clear(); TestRoundID = Guid.NewGuid(); } + int initialLoopStackCount = loopStack.Count; foreach (var item in program.Parameters) { tmpParameters.TryAdd(item.ID, item); @@ -435,7 +436,12 @@ namespace UIShare await SaveStepRecordAsync(step, depth, false); } } + bool finalResult = loopStack.Count == initialLoopStackCount && stepSuccess; + if (depth > 0) // 子程序 + { + return finalResult; + } return loopStack.Count == 0 && stepSuccess; } diff --git a/UIShare/GlobalVariable/SystemConfig.cs b/UIShare/GlobalVariable/SystemConfig.cs index 85fb92b..1befd17 100644 --- a/UIShare/GlobalVariable/SystemConfig.cs +++ b/UIShare/GlobalVariable/SystemConfig.cs @@ -51,28 +51,20 @@ namespace UIShare.GlobalVariable Name = "台架序号", Value = 1, IsEditable=false - }, - new ParameterVM - { - Category = ParameterCategory.Input, - Type = typeof(int), - Name = "直流负载通道", - Value = 1, - IsEditable=false - }, - new ParameterVM - { - Category = ParameterCategory.Input, - Type = typeof(int), - Name = "交流电源通道", - Value = 1, - IsEditable=false }, new ParameterVM { Category = ParameterCategory.Input, Type = typeof(int), - Name = "CAN通道", + Name = "CAN通道1", + Value = 0, + IsEditable=false + }, + new ParameterVM + { + Category = ParameterCategory.Input, + Type = typeof(int), + Name = "CAN通道2", Value = 0, IsEditable=false },