public override void Deserialize( GenericReader reader ) { base.Deserialize( reader ); int version = reader.ReadInt(); b_switchon = reader.ReadBool(); t_autotime = reader.ReadTimeSpan(); t_RestartTime = reader.ReadDateTime(); if (b_switchon) { I_Auto_Restarter tmr = new I_Auto_Restarter(this); tmr.Start(); } }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); b_switchon = reader.ReadBool(); t_autotime = reader.ReadTimeSpan(); t_RestartTime = reader.ReadDateTime(); if (b_switchon) { I_Auto_Restarter tmr = new I_Auto_Restarter(this); tmr.Start(); } }
private void Restart_Auto_Func() { I_Auto_Restarter tmr = new I_Auto_Restarter(this); tmr.Start(); }