启动换电失败语音播报

zw
lxw 6 months ago
parent 848dcc4d3a
commit f2ef5fa375

@ -46,6 +46,7 @@ public class InfoEnum
[Info("车辆驶入","车辆驶入")] CarInInfo, [Info("车辆驶入","车辆驶入")] CarInInfo,
[Info("换电任务启动","换电任务启动")] StartSwapInfo, [Info("换电任务启动","换电任务启动")] StartSwapInfo,
[Info("航车拍照中,请稍后","航车拍照中,请稍后")] CarTakePhotoInfo, [Info("航车拍照中,请稍后","航车拍照中,请稍后")] CarTakePhotoInfo,
[Info("启动换电失败,请联系站务人员","启动换电失败,请联系站务人员")] ErrStartSwap,
} }

@ -135,7 +135,10 @@ public class DoSwappingState : IState
machine); machine);
} }
} }
}, () => { }); }, () =>
{
SoundTool.PlayOneSound((int)InfoEnum.SwapInfo.ErrStartSwap);
},false, () => { },10,InvokeStatus.None);
} }

Loading…
Cancel
Save