namespace Aitex.Core.RT.IOCore; public class InterlockLimitRangeShort : IAnalogInterlockLimitRange { #region Constructors public InterlockLimitRangeShort(short min, short max) { Min = min; Max = max; } #endregion #region Properties public short Min { get; } public short Max { get; } #endregion public virtual bool CheckIsInRange(short currentValue) { return currentValue >= Min && currentValue <= Max; } }