You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
|
|
|
|
using HybirdFrameworkCore.Configuration;
|
|
|
|
|
|
|
|
|
|
namespace Service.Execute
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 软件管理类
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class StationSoftMgr
|
|
|
|
|
{
|
|
|
|
|
public static readonly SwappingStateMachine SwappingStateMachine = SwappingStateMachine.GetInstance();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static readonly string addr1 = AppSettingsHelper.GetContent("SoundAddr", "Address1");
|
|
|
|
|
|
|
|
|
|
#region 换电流程
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 换电流程启动
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static void SwappingStateMachineStart()
|
|
|
|
|
{
|
|
|
|
|
SwappingStateMachine.Start();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 换电流程重置
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static void SwappingStateMachineCancel()
|
|
|
|
|
{
|
|
|
|
|
SwappingStateMachine.Cancel();
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 换电流程收栋操作
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static void SwappingStateMachineManual()
|
|
|
|
|
{
|
|
|
|
|
SwappingStateMachine.Manual();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion 换电流程启动
|
|
|
|
|
}
|
|
|
|
|
}
|