protected void Page_Init(object sender, EventArgs e) { Home = SerDesHouse.Read(); WebReader wbReader = new WebReader(Home); Home.Remote = new RemoteControl(wbReader, new List<IWriter> { this }); Home.Remote.AddCommand(new SetLightCommand()); IsRedact = false; RunSensor(); }
protected void Page_Init(object sender, EventArgs e) { Home = SerDesHouse.Read(); WebReader wbReader = new WebReader(Home); Home.Remote = new RemoteControl(wbReader, new List <IWriter> { this }); Home.Remote.AddCommand(new SetLightCommand()); IsRedact = false; RunSensor(); }