修改say生成的PlcGateway配置
This commit is contained in:
parent
8f7bec9854
commit
8ad4877995
@ -477,7 +477,7 @@ public class DeviceServiceImpl implements DeviceService {
|
|||||||
plcGateway.setType(ProjectDeviceType.PLC_GATEWAY.name());
|
plcGateway.setType(ProjectDeviceType.PLC_GATEWAY.name());
|
||||||
plcGateway.setCreator(accountVO.getId());
|
plcGateway.setCreator(accountVO.getId());
|
||||||
plcGateway.setCreateTime(now);
|
plcGateway.setCreateTime(now);
|
||||||
PlcGatewayConfigVO plcGatewayConfigVO = new PlcGatewayConfigVO(0, 48);
|
PlcGatewayConfigVO plcGatewayConfigVO = new PlcGatewayConfigVO(0, 256);
|
||||||
plcGateway.setConfig(plcGatewayConfigVO.toJson());
|
plcGateway.setConfig(plcGatewayConfigVO.toJson());
|
||||||
list.add(plcGateway);
|
list.add(plcGateway);
|
||||||
// IBP盘
|
// IBP盘
|
||||||
|
Loading…
Reference in New Issue
Block a user