mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-19 09:25:54 +08:00
设备修改定位字段名称,添加设备摘要
This commit is contained in:
@@ -133,7 +133,7 @@ public class EmqxService {
|
||||
device.setProductId(productId);
|
||||
device.setSerialNumber(deviceNum);
|
||||
// 未采用设备定位则清空定位,定位方式(1=ip自动定位,2=设备定位,3=自定义)
|
||||
if(device.getIsCustomLocation()!=2){
|
||||
if(device.getlocationWay()!=2){
|
||||
device.setLatitude(null);
|
||||
device.setLongitude(null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user