using System; namespace MECF.Framework.Common.Device.Bases { /// /// 预设的信号灯塔元件动作。 /// internal class SignalTowerPartAction { /// /// 信号灯塔元件动作构造函数。 /// /// 信号灯类型。 /// 信号灯输出状态。 public SignalTowerPartAction(LightType light, TowerLightStatus status) { Light = light; Status = status; } /// /// 返回信号灯实例。 /// public LightType Light { get; } /// /// 返回信号灯的输出状态。 /// 支持的状态请参考枚举。 /// public TowerLightStatus Status { get; } #region Methods public bool DoAction(out string reason) { throw new NotImplementedException(); } #endregion } }