|
|
|
@ -2872,6 +2872,7 @@ exports.getMasterSlaveSummary = async (req, reply) => {
|
|
|
|
|
hardwareId: master.hardwareId,
|
|
|
|
|
masterName,
|
|
|
|
|
location,
|
|
|
|
|
work_status: orderInfo.work_status || null,
|
|
|
|
|
type: master.type || "master",
|
|
|
|
|
connected_status: gsmStatus,
|
|
|
|
|
connected_slave_count: connectedSlaves.length,
|
|
|
|
@ -3070,6 +3071,7 @@ exports.getWaitingMasterSlaveSummary = async (req, reply) => {
|
|
|
|
|
hardwareId: master.hardwareId,
|
|
|
|
|
masterName,
|
|
|
|
|
location,
|
|
|
|
|
work_status: orderInfo.work_status,
|
|
|
|
|
type: master.type || "master",
|
|
|
|
|
connected_status: gsmStatus,
|
|
|
|
|
connected_slave_count: connectedSlaves.length,
|
|
|
|
@ -3268,6 +3270,7 @@ exports.getCompleteMasterSlaveSummary = async (req, reply) => {
|
|
|
|
|
hardwareId: master.hardwareId,
|
|
|
|
|
masterName,
|
|
|
|
|
location,
|
|
|
|
|
work_status: orderInfo.work_status,
|
|
|
|
|
type: master.type || "master",
|
|
|
|
|
connected_status: gsmStatus,
|
|
|
|
|
connected_slave_count: connectedSlaves.length,
|
|
|
|
@ -3606,6 +3609,7 @@ exports.getPendingMasterSlaveSummary = async (req, reply) => {
|
|
|
|
|
hardwareId: master.hardwareId,
|
|
|
|
|
masterName,
|
|
|
|
|
location,
|
|
|
|
|
work_status: orderInfo.work_status || null,
|
|
|
|
|
type: master.type || "master",
|
|
|
|
|
connected_status: gsmStatus,
|
|
|
|
|
connected_slave_count: connectedSlaves.length,
|
|
|
|
|