56 lines
1.3 KiB
JSON
56 lines
1.3 KiB
JSON
{
|
|
"client_id": "gw_simulator_888",
|
|
"broker_ip": "116.236.50.106",
|
|
"port": 8764,
|
|
"username": "hjemq-c2",
|
|
"passwd": "Hj57471000",
|
|
"publish_topic": "GateWayPublicTopic_Server",
|
|
"publish_interval": 5000,
|
|
"max_publish_count": 0,
|
|
"publish_qos": 0,
|
|
"subscribe_qos": 0,
|
|
"subcriber_topic": "ServerPublicTopic_GateWay",
|
|
"FsuCodes": ["11010110100111","11010110100112","11010110100113","11010110100114"],
|
|
"publish_data": {
|
|
"FsuCode": "11010110100888",
|
|
"type": "gateway-data",
|
|
"IdCodeContent": [
|
|
{
|
|
"OID": ".1.3.6.1.4.1.61626.1.1.4.1.1.0",
|
|
"Value": "112",
|
|
"Factor": "10",
|
|
"type": "random_number",
|
|
"RND": [
|
|
110,
|
|
120
|
|
]
|
|
},
|
|
{
|
|
"OID": ".1.3.6.1.4.1.61626.1.1.4.1.3.0",
|
|
"Value": "130200",
|
|
"Factor": "100",
|
|
"type": "random_number",
|
|
"RND": [
|
|
130200,
|
|
130400
|
|
]
|
|
},
|
|
{
|
|
"OID": ".1.3.6.1.4.1.61626.1.1.4.1.22.0",
|
|
"Value": "1234",
|
|
"Factor": "10",
|
|
"type": "random_number",
|
|
"RND": [
|
|
1234,
|
|
2234
|
|
]
|
|
},
|
|
{
|
|
"OID": ".1.3.6.1.4.1.61626.1.1.4.1.23.0",
|
|
"Value": "TestString",
|
|
"Factor": "",
|
|
"type": "string"
|
|
}
|
|
]
|
|
}
|
|
} |