balise detect 预测实现

This commit is contained in:
xzb 2023-12-06 10:23:00 +08:00
parent 8b488ed037
commit e0dc136e82

View File

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