This commit is contained in:
LEED
2025-07-19 11:29:07 +08:00
parent 4c1521bda0
commit a9895296f0
45 changed files with 929 additions and 70 deletions

View File

@@ -67,8 +67,14 @@ public class DeviceStatusConsumer {
device.setIsShadow(0);
device.setIsSimulate(0);
device.setLocationWay(1);
device.setProductId(147L);
device.setProductName("测试");
if(bo.getSerialNumber().startsWith("FS")){
device.setProductId(148L);
device.setProductName("附属网关");
device.setAgenciesId(100L);
}else{
device.setProductId(147L);
device.setProductName("测试");
}
device.setSerialNumber(bo.getSerialNumber());
device.setStatus(1);
device.setTenantId(1L);