[ { "DType": "OpcDa", "InstanceParam": { "SN": "OPCDA采集", "ServiceName": "Knight.OPC.Server.Demo", "SpecificationVer": { "ID": "63D5F432-CFE4-11d1-B2C8-0060083BA1FB", "Description": "Data Access 2.XX" } }, "SN": "OPCDA采集", "AddressArray": [ { "SN": null, "AddressName": "a.a.a", "AddressAnotherName": "test", "AddressPropertyName": "aaa", "AddressDescribe": "一个动态的布尔类型", "AddressParseParam": null, "AddressExtendParam": null, "IsEnable": true, "AddressDataType": "Bool", "AddressType": "Reality", "MqttRelay": { "Topic": "Test/aaa", "Retain": true, "QoSLevel": 0, "ReflectionSN": "YSAI.Mqtt.MqttClientOperate[Instance][PublishSubscribe]" }, "KafkaRelay": null, "RabbitMQRelay": null }, { "SN": null, "AddressName": "a.a.h", "AddressAnotherName": "test", "AddressPropertyName": "aah", "AddressDescribe": "一个动态的字符串类型", "AddressParseParam": { "ParseType": "ScriptAnalysis", "ReflectionSN": null, "Script": { "ScriptType": "JavaScript", "ScriptCode": "function Convert(value) \r\n {\r\n return '这是脚本测试,传入的参数是:' + value;\r\n }", "ScriptFunction": "Convert" } }, "AddressExtendParam": null, "IsEnable": true, "AddressDataType": "String", "AddressType": "Reality", "MqttRelay": { "Topic": "Test/aah", "Retain": true, "QoSLevel": 0, "ReflectionSN": "YSAI.Mqtt.MqttClientOperate[Instance][PublishSubscribe]" }, "KafkaRelay": null, "RabbitMQRelay": null }, { "SN": null, "AddressName": "a.a.g", "AddressAnotherName": "test", "AddressPropertyName": "aag", "AddressDescribe": "一个动态的浮点类型", "AddressParseParam": { "ParseType": "ScriptAnalysis", "ReflectionSN": null, "Script": { "ScriptType": "JavaScript", "ScriptCode": "function Convert(value) \r\n {\r\n return value*1000;\r\n }", "ScriptFunction": "Convert" } }, "AddressExtendParam": null, "IsEnable": true, "AddressDataType": "Double", "AddressType": "Reality", "MqttRelay": { "Topic": "Test/aag", "Retain": true, "QoSLevel": 0, "ReflectionSN": "YSAI.Mqtt.MqttClientOperate[Instance][PublishSubscribe]" }, "KafkaRelay": null, "RabbitMQRelay": null }, { "SN": null, "AddressName": "OPCDA_VirtualAddress", "AddressAnotherName": "test", "AddressPropertyName": "OPCDA_VirtualAddress", "AddressDescribe": "虚拟地址", "AddressParseParam": null, "AddressExtendParam": null, "IsEnable": true, "AddressDataType": "String", "AddressType": "Virtual", "MqttRelay": { "Topic": "Test/OPCDA_VirtualAddress", "Retain": true, "QoSLevel": 0, "ReflectionSN": "YSAI.Mqtt.MqttClientOperate[Instance][PublishSubscribe]" }, "KafkaRelay": null, "RabbitMQRelay": null }, { "SN": null, "AddressName": "OPCDA_VirtualDynamicAddress", "AddressAnotherName": "test", "AddressPropertyName": "OPCDA_VirtualDynamicAddress", "AddressDescribe": "虚拟动态地址", "AddressParseParam": null, "AddressExtendParam": null, "IsEnable": true, "AddressDataType": "String", "AddressType": "VirtualDynamic", "MqttRelay": { "Topic": "Test/OPCDA_VirtualDynamicAddress", "Retain": true, "QoSLevel": 0, "ReflectionSN": "YSAI.Mqtt.MqttClientOperate[Instance][PublishSubscribe]" }, "KafkaRelay": null, "RabbitMQRelay": null } ], "CreationTime": "2023-08-03T15:28:07.7863533+08:00" }, { "DType": "OpcUa", "InstanceParam": { "SN": "OPCUA采集", "UserName": "ysai", "Password": "ysai", "Cer": null, "SecreKey": null, "ServerUrl": "opc.tcp://192.168.2.38:8866/Opc.Ua.Service", "Name": "TEST", "SamplingInterval": 100 }, "SN": "OPCUA采集", "AddressArray": [ { "SN": null, "AddressName": "ns=2;s=Boolean_Dynamic", "AddressAnotherName": "test", "AddressPropertyName": "Boolean_Dynamic", "AddressDescribe": "一个动态的布尔类型", "AddressParseParam": null, "AddressExtendParam": null, "IsEnable": true, "AddressDataType": "Bool", "AddressType": "Reality", "MqttRelay": { "Topic": "Test/Boolean_Dynamic", "Retain": true, "QoSLevel": 0, "ReflectionSN": "YSAI.Mqtt.MqttClientOperate[Instance][PublishSubscribe]" }, "KafkaRelay": null, "RabbitMQRelay": null }, { "SN": null, "AddressName": "ns=2;s=String_Dynamic", "AddressAnotherName": "test", "AddressPropertyName": "String_Dynamic", "AddressDescribe": "一个动态的字符串类型", "AddressParseParam": { "ParseType": "ScriptAnalysis", "ReflectionSN": null, "Script": { "ScriptType": "JavaScript", "ScriptCode": "function Convert(value) \r\n {\r\n return '这是脚本测试,传入的参数是:' + value;\r\n }", "ScriptFunction": "Convert" } }, "AddressExtendParam": null, "IsEnable": true, "AddressDataType": "String", "AddressType": "Reality", "MqttRelay": { "Topic": "Test/String_Dynamic", "Retain": true, "QoSLevel": 0, "ReflectionSN": "YSAI.Mqtt.MqttClientOperate[Instance][PublishSubscribe]" }, "KafkaRelay": null, "RabbitMQRelay": null }, { "SN": null, "AddressName": "ns=2;s=Double_Dynamic", "AddressAnotherName": "test", "AddressPropertyName": "Double_Dynamic", "AddressDescribe": "一个动态的浮点类型", "AddressParseParam": { "ParseType": "ScriptAnalysis", "ReflectionSN": null, "Script": { "ScriptType": "JavaScript", "ScriptCode": "function Convert(value) \r\n {\r\n return value*1000;\r\n }", "ScriptFunction": "Convert" } }, "AddressExtendParam": null, "IsEnable": true, "AddressDataType": "Double", "AddressType": "Reality", "MqttRelay": { "Topic": "Test/Double_Dynamic", "Retain": true, "QoSLevel": 0, "ReflectionSN": "YSAI.Mqtt.MqttClientOperate[Instance][PublishSubscribe]" }, "KafkaRelay": null, "RabbitMQRelay": null }, { "SN": null, "AddressName": "OPCUA_VirtualAddress", "AddressAnotherName": "test", "AddressPropertyName": "OPCUA_VirtualAddress", "AddressDescribe": "虚拟地址", "AddressParseParam": null, "AddressExtendParam": null, "IsEnable": true, "AddressDataType": "String", "AddressType": "Virtual", "MqttRelay": { "Topic": "Test/OPCUA_VirtualAddress", "Retain": true, "QoSLevel": 0, "ReflectionSN": "YSAI.Mqtt.MqttClientOperate[Instance][PublishSubscribe]" }, "KafkaRelay": null, "RabbitMQRelay": null }, { "SN": null, "AddressName": "OPCUA_VirtualDynamicAddress", "AddressAnotherName": "test", "AddressPropertyName": "OPCUA_VirtualDynamicAddress", "AddressDescribe": "虚拟动态地址", "AddressParseParam": null, "AddressExtendParam": null, "IsEnable": true, "AddressDataType": "String", "AddressType": "VirtualDynamic", "MqttRelay": { "Topic": "Test/OPCUA_VirtualDynamicAddress", "Retain": true, "QoSLevel": 0, "ReflectionSN": "YSAI.Mqtt.MqttClientOperate[Instance][PublishSubscribe]" }, "KafkaRelay": null, "RabbitMQRelay": null } ], "CreationTime": "2023-08-03T15:28:07.7899927+08:00" } ]