Ejemplo n.º 1
0
        internal ProgramSwitch(NefitSwitch prog)
        {
            var now = NefitEasyUtils.GetNextDate(prog.d, prog.t);

            Timestamp   = now;
            Temperature = prog.T;
        }
Ejemplo n.º 2
0
        internal ProgramSwitch(NefitProgram prog)
        {
            var now = NefitEasyUtils.GetNextDate(prog.d, prog.t);

            Timestamp   = now;
            Name        = (ProgramName)prog.name;
            Temperature = prog.T;
        }