1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- {
- "groups": [
- {
- "name": "modbus",
- "type": "com.jwk.spring.boot.autoconfigure.ModbusProperties",
- "sourceType": "com.jwk.spring.boot.autoconfigure.ModbusProperties"
- },
- {
- "name": "modbus.rtu-master",
- "type": "com.jwk.spring.boot.autoconfigure.ModbusProperties$RtuMaster",
- "sourceType": "com.jwk.spring.boot.autoconfigure.ModbusProperties"
- },
- {
- "name": "modbus.tcp-master",
- "type": "com.jwk.spring.boot.autoconfigure.ModbusProperties$TcpMaster",
- "sourceType": "com.jwk.spring.boot.autoconfigure.ModbusProperties"
- }
- ],
- "properties": [
- {
- "name": "modbus.rtu-master.baud-rate",
- "type": "java.lang.Integer",
- "description": "波特率",
- "sourceType": "com.jwk.spring.boot.autoconfigure.ModbusProperties$RtuMaster",
- "defaultValue": 9600
- },
- {
- "name": "modbus.rtu-master.data-bits",
- "type": "java.lang.Integer",
- "description": "数据位的位数,RTU是8位,ASCII是7位",
- "sourceType": "com.jwk.spring.boot.autoconfigure.ModbusProperties$RtuMaster",
- "defaultValue": 8
- },
- {
- "name": "modbus.rtu-master.flow-control-in",
- "type": "java.lang.Integer",
- "description": "硬件之间输入流应答控制",
- "sourceType": "com.jwk.spring.boot.autoconfigure.ModbusProperties$RtuMaster",
- "defaultValue": 0
- },
- {
- "name": "modbus.rtu-master.flow-control-out",
- "type": "java.lang.Integer",
- "description": "硬件之间输出流应答控制",
- "sourceType": "com.jwk.spring.boot.autoconfigure.ModbusProperties$RtuMaster",
- "defaultValue": 0
- },
- {
- "name": "modbus.rtu-master.open",
- "type": "java.lang.Boolean",
- "description": "是否打开串口",
- "sourceType": "com.jwk.spring.boot.autoconfigure.ModbusProperties$RtuMaster",
- "defaultValue": false
- },
- {
- "name": "modbus.rtu-master.parity",
- "type": "java.lang.Integer",
- "description": "奇偶校验位,无校验是0,奇校验是1,偶校验是2",
- "sourceType": "com.jwk.spring.boot.autoconfigure.ModbusProperties$RtuMaster",
- "defaultValue": 0
- },
- {
- "name": "modbus.rtu-master.port",
- "type": "java.lang.String",
- "description": "串口",
- "sourceType": "com.jwk.spring.boot.autoconfigure.ModbusProperties$RtuMaster",
- "defaultValue": "COM1"
- },
- {
- "name": "modbus.rtu-master.stop-bits",
- "type": "java.lang.Integer",
- "description": "停止位的位数,如果无奇偶校验为2,有奇偶校验为1",
- "sourceType": "com.jwk.spring.boot.autoconfigure.ModbusProperties$RtuMaster",
- "defaultValue": 1
- },
- {
- "name": "modbus.tcp-master.host",
- "type": "java.lang.String",
- "description": "ip",
- "sourceType": "com.jwk.spring.boot.autoconfigure.ModbusProperties$TcpMaster",
- "defaultValue": "localhost"
- },
- {
- "name": "modbus.tcp-master.open",
- "type": "java.lang.Boolean",
- "description": "是否打开Tcp连接",
- "sourceType": "com.jwk.spring.boot.autoconfigure.ModbusProperties$TcpMaster",
- "defaultValue": false
- },
- {
- "name": "modbus.tcp-master.port",
- "type": "java.lang.Integer",
- "description": "端口",
- "sourceType": "com.jwk.spring.boot.autoconfigure.ModbusProperties$TcpMaster"
- }
- ],
- "hints": []
- }
|