| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266 |
- [
- {
- "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"
- }
- ]
|