This commit is contained in:
weizhihong 2023-12-06 14:01:01 +08:00
commit ab595ab402

View File

@ -184,7 +184,7 @@ func (s *btmCanetClient) dealWithAptReq(f *message.CanetFrame) {
//slog.Debug(fmt.Sprintf("处理查询请求:%s", atpReq.String())) //slog.Debug(fmt.Sprintf("处理查询请求:%s", atpReq.String()))
// //
s.btmTime.btmTk = atpReq.Time s.btmTime.btmTk = atpReq.Time
s.btmTime.sysTk = time.Now() s.btmTime.sysTk = now
s.atpReqSn = atpReq.FId.ID4 s.atpReqSn = atpReq.FId.ID4
s.atpReqCrc16Check = atpReq.Crc16CheckOk s.atpReqCrc16Check = atpReq.Crc16CheckOk
s.baliseDetector.powerAmplifierSwitch = atpReq.PowerAmplifierTurnOn s.baliseDetector.powerAmplifierSwitch = atpReq.PowerAmplifierTurnOn