internal ProgramSwitch(NefitSwitch prog) { var now = NefitEasyUtils.GetNextDate(prog.d, prog.t); Timestamp = now; Temperature = prog.T; }
internal ProgramSwitch(NefitSwitch program) { var date = new NefitEasyDateParser().GetNextDate(program.d, program.t); Timestamp = date; Temperature = program.T; }
internal ProgramSwitch(NefitSwitch prog) { DateTime now = Utils.GetNextDate(prog.d, prog.t); Timestamp = now; //On = prog.dhw == "on"; Temperature = prog.T; }