using HybirdFrameworkCore.Configuration; namespace Service.Execute { /// /// 软件管理类 /// public class StationSoftMgr { public static readonly SwappingStateMachine SwappingStateMachine = SwappingStateMachine.GetInstance(); public static readonly string addr1 = AppSettingsHelper.GetContent("SoundAddr", "Address1"); #region 换电流程 /// /// 换电流程启动 /// public static void SwappingStateMachineStart() { SwappingStateMachine.Start(); } /// /// 换电流程重置 /// public static void SwappingStateMachineCancel() { SwappingStateMachine.Cancel(); } /// /// 换电流程收栋操作 /// public static void SwappingStateMachineManual() { SwappingStateMachine.Manual(); } #endregion 换电流程启动 } }