Пример #1
0
        public static HourValueHolder FromAll()
        {
            HourValueHolder result = new HourValueHolder();

            result.FromAllValue();
            return(result);
        }
Пример #2
0
        public static HourValueHolder FromArray(byte[] values)
        {
            ValueChecker.CheckHours(values);
            HourValueHolder result = new HourValueHolder();

            result.FromArrayValues(values);
            return(result);
        }
Пример #3
0
        public static HourValueHolder FromSerial(byte start, byte end)
        {
            ValueChecker.CheckHour(start);
            ValueChecker.CheckHour(end);
            HourValueHolder result = new HourValueHolder();

            result.FromSerialValue(start, end);
            return(result);
        }
Пример #4
0
        public static HourValueHolder FromStartStep(byte start, byte step)
        {
            ValueChecker.CheckHour(start);
            ValueChecker.CheckHour(step);
            HourValueHolder result = new HourValueHolder();

            result.FromStartStepValue(start, step);
            return(result);
        }