first commit
This commit is contained in:
@@ -0,0 +1,53 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"id": "c1",
|
||||||
|
"name": "P2",
|
||||||
|
"protocol": "Modbus RTU",
|
||||||
|
"comPort": 2,
|
||||||
|
"ip": "",
|
||||||
|
"port": 0,
|
||||||
|
"devices": [
|
||||||
|
{
|
||||||
|
"id": "c2",
|
||||||
|
"name": "S1",
|
||||||
|
"slaveAddress": 1,
|
||||||
|
"variables": [
|
||||||
|
{
|
||||||
|
"id": "v1",
|
||||||
|
"varId": "v1",
|
||||||
|
"dataType": "U16",
|
||||||
|
"addr": "0",
|
||||||
|
"vAddr": "100",
|
||||||
|
"attr": 3,
|
||||||
|
"funcCode": 3,
|
||||||
|
"qty": 1,
|
||||||
|
"remark": "",
|
||||||
|
"groupId": "g1791641271747",
|
||||||
|
"retryCount": 3,
|
||||||
|
"scanPeriod": 1000,
|
||||||
|
"replyTimeout": 1000,
|
||||||
|
"cmdDelay": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "v2",
|
||||||
|
"varId": "v2",
|
||||||
|
"dataType": "U16",
|
||||||
|
"addr": "10",
|
||||||
|
"vAddr": "110",
|
||||||
|
"attr": 3,
|
||||||
|
"funcCode": 3,
|
||||||
|
"qty": 1,
|
||||||
|
"remark": "",
|
||||||
|
"groupId": "g1791641271747",
|
||||||
|
"retryCount": 3,
|
||||||
|
"scanPeriod": 1000,
|
||||||
|
"replyTimeout": 1000,
|
||||||
|
"cmdDelay": 0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"expanded": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"expanded": true
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
[global]
|
||||||
|
version = "3.0.4-108"
|
||||||
|
pn = "GY-E242"
|
||||||
|
encoding = "UTF-8"
|
||||||
|
|
||||||
|
[[prog]]
|
||||||
|
file_name = "Main.c"
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://opencode.ai/config.json",
|
||||||
|
"mcp": {
|
||||||
|
"blockware": {
|
||||||
|
"type": "remote",
|
||||||
|
"url": "http://127.0.0.1:62222/mcp",
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user