语音测试一些修改

master
lxw 6 months ago
parent 14295ef574
commit 1eba6b331b

@ -41,8 +41,11 @@ public class InfoEnum
[Info("换电站处于手动模式,不能自动换电","换电站处于手动模式,不能自动换电")] InfoStationModel,
[Info("换电站处于本地模式,不能远程换电","换电站处于本地模式,不能远程换电")] InfoStationModelRemoteErr,
[Info("车辆驶入","车辆驶入")] CarInInfo,
}
public enum SelectBinStatusInfo : byte
{
[Remark("通道的电池仓无可用换电电池")] NoBattery,

@ -140,6 +140,7 @@ public class StationReadyState : IState
}
else
{
SoundTool.PlayOneSound((int)InfoEnum.SwapInfo.CarInInfo);
machine.ExceptionReason = ExceptionReason.None;
_log.Info("entrance radar true");
machine.RadarInFlag = true;
@ -169,7 +170,7 @@ public class StationReadyState : IState
// machine.LedTool.WriteProgramContent(InfoEnum.SwapInfo.ErrorReadRfid.GetLed());
SoundTool.PlayOneSound((int)InfoEnum.SwapInfo.ErrorReadRfid);
}, false, () => { machine.ExceptionReason = ExceptionReason.ReadRfidError; }
, 1, InvokeStatus.TimeOut);
, 3, InvokeStatus.TimeOut);
}
/// <summary>
@ -183,11 +184,11 @@ public class StationReadyState : IState
var statusDes =
BaseEnumExtensions.GetEnumDescriptionByCode<StationConstant.StationStatus>(
StaticStationInfo.StationStatus);
_log.Info($"换电站处于{statusDes}状态");
_log.Info($"处于{statusDes}状态");
var wayDes =
BaseEnumExtensions.GetEnumDescriptionByCode<StationConstant.StationWay>(
StaticStationInfo.StationWay);
_log.Info($"换电站处于{wayDes}模式");
_log.Info($"处于{wayDes}模式");
if (StationConstant.StationStatus.Run ==
BaseEnumExtensions.GetEnumByCode<StationConstant.StationStatus>(StaticStationInfo.StationStatus)

@ -39,8 +39,4 @@
<ProjectReference Include="..\Repository\Repository.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="Execute\Tech\" />
</ItemGroup>
</Project>

Loading…
Cancel
Save