Files
scomm/scomm.json
2019-07-26 21:14:07 +08:00

224 lines
4.9 KiB
JSON
Executable File

{
"Button":[
{
"name":"btn-scan",
"text":"串口设置",
"column": 1,
"weight": 0,
"row": 1
},
{
"name":"btn-onoff",
"text":"打开串口",
"column": 5,
"row": 1
},
{
"name":"btn-clear",
"text":"清除窗口",
"column": 1,
"row": 3
},
{
"name":"btn-sendfile",
"text":"发送文件",
"column": 1,
"row": 4
},
{
"name":"btn-pack01",
"text":"pack-01",
"column": 2,
"row": 5
},
{
"name":"btn-pack02",
"text":"pack-02",
"column": 3,
"row": 5
},
{
"name":"btn-pack03",
"text":"pack-03",
"column": 4,
"row": 5
},
{
"name":"btn-pack04",
"text":"pack-04",
"column": 5,
"row": 5
},
{
"name":"btn-pack05",
"text":"pack-05",
"column": 6,
"row": 5
},
{
"name":"btn-send",
"text":"发送",
"column": 10,
"row": 6
}
],
"Label":[
{
"name":"empty-01",
"text":" ",
"column": 9,
"colweight": 1,
"row": 1
},
{
"name":"label-sscript",
"text":"组帧脚本:",
"column": 1,
"row": 5
}
],
"Checkbutton":[
{
"name":"ckbtn-rhex",
"text":"HEX显示",
"sticky": "w",
"column": 2,
"row": 3
},
{
"name":"ckbtn-shex",
"text":"HEX发送",
"sticky": "w",
"column": 2,
"row": 4
},
{
"name":"ckbtn-0d",
"text":"追加\\r",
"sticky": "w",
"column": 3,
"row": 4
},
{
"name":"ckbtn-0a",
"text":"追加\\n",
"sticky": "w",
"column": 4,
"row": 4
}
],
"Entry": [
{
"name":"entry-com",
"bg":"gold",
"width":20,
"column": 2,
"columnspan": 2,
"row": 1
},
{
"name":"entry-baud",
"bg":"gold",
"width":10,
"column": 4,
"row": 1
},
{
"name":"entry-sendText",
"bg":"gold",
"column": 1,
"columnspan": 9,
"row": 6
}
],
"Text":{
"name":"text-recv",
"bg":"#cccccc",
"column": 1,
"columnspan": 9,
"rowweight": 1,
"row": 2
},
"Frame":{
"name":"frame-opBtns",
"row":2,
"column": 10,
"Label":[
{
"name":"label-rscript",
"text":"解帧脚本:",
"column": 2,
"row": 1
},
{
"name":"label-data",
"text":"预置数据:",
"column": 2,
"row": 7
}
],
"Button":[
{
"name":"btn-unpack01",
"text":"unpack-01",
"column": 2,
"row": 2
},
{
"name":"btn-unpack02",
"text":"unpack-02",
"column": 2,
"row": 3
},
{
"name":"btn-unpack03",
"text":"unpack-03",
"column": 2,
"row": 4
},
{
"name":"btn-unpack04",
"text":"unpack-04",
"column": 2,
"row": 5
},
{
"name":"btn-unpack05",
"text":"unpack-05",
"column": 2,
"row": 6
},
{
"name":"btn-data01",
"text":"data-01",
"column": 2,
"row": 8
},
{
"name":"btn-data02",
"text":"data-02",
"column": 2,
"row": 9
},
{
"name":"btn-data03",
"text":"data-03",
"column": 2,
"row": 10
},
{
"name":"btn-data04",
"text":"data-04",
"column": 2,
"row": 11
},
{
"name":"btn-data05",
"text":"data-05",
"column": 2,
"row": 12
}
]
}
}