|
@@ -1691,7 +1691,10 @@ func Read_Docking_Real_Data(T_pids []int) (DeviceData_r []DeviceData_Docking) {
|
|
|
for _, v := range r {
|
|
|
sp, _ := Read_DeviceSensorParameter(v.T_sn, v.T_id)
|
|
|
deviceDate := Read_DeviceData(v.T_sn, v.T_id)
|
|
|
-
|
|
|
+ // 空库数据不发送 T_free 0正常 1空库
|
|
|
+ if sp.T_free == 1 {
|
|
|
+ continue
|
|
|
+ }
|
|
|
data := DeviceData_Docking{
|
|
|
T_monitor: v.T_monitor,
|
|
|
T_online: v.T_online,
|