修改【取消停止发送报文】接口无效bug

This commit is contained in:
thesai 2024-02-20 14:48:40 +08:00
parent 0c6e9a37d8
commit 2c197360e8
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ func BaliseReset(simulation *VerifySimulation) *sys_error.BusinessError {
func baliseTelegramSend(simulation *VerifySimulation, balise *repository.Transponder) *sys_error.BusinessError {
entry, _ := entity.GetEntityByUid(simulation.World, balise.Id())
return sendEcsRequest(simulation.World, func() error {
component.BaliseWorkStateType.SetValue(entry, component.BaliseWorkState{Work: false})
component.BaliseWorkStateType.SetValue(entry, component.BaliseWorkState{Work: true})
return nil
})
}