作者 yangfu

fix: 油炸机报警移除

@@ -161,7 +161,7 @@ func (ptr *PGWorkshopDataConsumeService) newDeviceRunningData(record *domain.Dev @@ -161,7 +161,7 @@ func (ptr *PGWorkshopDataConsumeService) newDeviceRunningData(record *domain.Dev
161 } 161 }
162 data.Temp1 = utils.Truncate(deviceYouZhaJi.FrontTemp, 1) 162 data.Temp1 = utils.Truncate(deviceYouZhaJi.FrontTemp, 1)
163 data.Temp2 = utils.Truncate(deviceYouZhaJi.BackTemp, 1) 163 data.Temp2 = utils.Truncate(deviceYouZhaJi.BackTemp, 1)
164 - data.Alarm = deviceYouZhaJi.Alarm 164 + //data.Alarm = deviceYouZhaJi.Alarm
165 } else { 165 } else {
166 deviceYouZhaJi := &domain.DeviceYouZhaJi2{} 166 deviceYouZhaJi := &domain.DeviceYouZhaJi2{}
167 err = json.Unmarshal(mBytes, deviceYouZhaJi) 167 err = json.Unmarshal(mBytes, deviceYouZhaJi)
@@ -170,7 +170,7 @@ func (ptr *PGWorkshopDataConsumeService) newDeviceRunningData(record *domain.Dev @@ -170,7 +170,7 @@ func (ptr *PGWorkshopDataConsumeService) newDeviceRunningData(record *domain.Dev
170 } 170 }
171 data.Temp1 = utils.Truncate(deviceYouZhaJi.Temp1, 1) 171 data.Temp1 = utils.Truncate(deviceYouZhaJi.Temp1, 1)
172 data.Temp2 = utils.Truncate(deviceYouZhaJi.Temp2, 1) 172 data.Temp2 = utils.Truncate(deviceYouZhaJi.Temp2, 1)
173 - data.Alarm = deviceYouZhaJi.Alarm 173 + //data.Alarm = deviceYouZhaJi.Alarm
174 } 174 }
175 break 175 break
176 //串串机 176 //串串机