コード例 #1
0
        internal ProgramSwitch(NefitSwitch prog)
        {
            var now = NefitEasyUtils.GetNextDate(prog.d, prog.t);

            Timestamp   = now;
            Temperature = prog.T;
        }
コード例 #2
0
        internal ProgramSwitch(NefitSwitch program)
        {
            var date = new NefitEasyDateParser().GetNextDate(program.d, program.t);

            Timestamp   = date;
            Temperature = program.T;
        }
コード例 #3
0
        internal ProgramSwitch(NefitSwitch prog)
        {
            DateTime now = Utils.GetNextDate(prog.d, prog.t);

            Timestamp = now;
            //On = prog.dhw == "on";
            Temperature = prog.T;
        }