|
|
@ -3897,6 +3897,8 @@ exports.getDisconnectedIssuesBySupportId = async (req, reply) => {
|
|
|
|
connected_lora_time: masterSensor.connected_lora_time,
|
|
|
|
connected_lora_time: masterSensor.connected_lora_time,
|
|
|
|
support_gsm_last_check_time: masterSensor.support_gsm_last_check_time,
|
|
|
|
support_gsm_last_check_time: masterSensor.support_gsm_last_check_time,
|
|
|
|
support_lora_last_check_time: masterSensor.support_lora_last_check_time,
|
|
|
|
support_lora_last_check_time: masterSensor.support_lora_last_check_time,
|
|
|
|
|
|
|
|
team_member_support_gsm_last_check_time: masterSensor.team_member_support_gsm_last_check_time,
|
|
|
|
|
|
|
|
team_member_support_lora_last_check_time: masterSensor.team_member_support_lora_last_check_time,
|
|
|
|
connected_slave_count: 0,
|
|
|
|
connected_slave_count: 0,
|
|
|
|
connected_slaves: []
|
|
|
|
connected_slaves: []
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -3929,7 +3931,9 @@ exports.getDisconnectedIssuesBySupportId = async (req, reply) => {
|
|
|
|
type: "slave",
|
|
|
|
type: "slave",
|
|
|
|
typeOfWater: slave.typeOfWater || "",
|
|
|
|
typeOfWater: slave.typeOfWater || "",
|
|
|
|
tankHeight: slave.tankHeight,
|
|
|
|
tankHeight: slave.tankHeight,
|
|
|
|
support_lora_last_check_time: slave.support_lora_last_check_time
|
|
|
|
support_lora_last_check_time: slave.support_lora_last_check_time,
|
|
|
|
|
|
|
|
//team_member_support_gsm_last_check_time: masterSensor.team_member_support_gsm_last_check_time,
|
|
|
|
|
|
|
|
team_member_support_lora_last_check_time: slave.team_member_support_lora_last_check_time,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
master.connected_slave_count++;
|
|
|
|
master.connected_slave_count++;
|
|
|
|