Exemple #1
0
        public static WeekValueHolder FromUnknow()
        {
            WeekValueHolder result = new WeekValueHolder();

            result.ValueHolderType = ValueHolderTypeEnum.UnKnown;
            return(result);
        }
Exemple #2
0
        public static WeekValueHolder FromAll()
        {
            WeekValueHolder result = new WeekValueHolder();

            result.FromAllValue();
            return(result);
        }
Exemple #3
0
        public static WeekValueHolder FromArray(byte[] values)
        {
            ValueChecker.CheckWeeks(values);
            WeekValueHolder result = new WeekValueHolder();

            result.FromArrayValues(values);
            return(result);
        }
Exemple #4
0
        public static WeekValueHolder FromSerial(byte start, byte end)
        {
            ValueChecker.CheckWeek(start);
            ValueChecker.CheckWeek(end);
            WeekValueHolder result = new WeekValueHolder();

            result.FromSerialValue(start, end);
            return(result);
        }
Exemple #5
0
        public static WeekValueHolder FromStartStep(byte start, byte step)
        {
            ValueChecker.CheckWeek(start);
            ValueChecker.CheckWeek(step);
            WeekValueHolder result = new WeekValueHolder();

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