Exemplo n.º 1
0
 public RoomControllerTwinController(Vortex.Connector.ConnectorAdapter adapter)
 {
     this.Connector       = adapter.GetConnector(adapter.Parameters);
     _IO                  = new IO(this.Connector, "", "IO");
     _Hardware_Simulation = new Hardware_Simulation(this.Connector, "", "Hardware_Simulation");
     _MAIN                = new MAIN(this.Connector, "", "MAIN");
 }
Exemplo n.º 2
0
 protected PlainRoomControllerTwinController CreatePlainerType(PlainRoomControllerTwinController cloned)
 {
     cloned.IO = IO.CreatePlainerType();
     cloned.Hardware_Simulation = Hardware_Simulation.CreatePlainerType();
     cloned.MAIN = MAIN.CreatePlainerType();
     return(cloned);
 }
Exemplo n.º 3
0
        public RoomControllerTwinController()
        {
            var adapter = new Vortex.Connector.ConnectorAdapter(typeof(DummyConnectorFactory));

            this.Connector       = adapter.GetConnector(new object[] {});
            _IO                  = new IO(this.Connector, "", "IO");
            _Hardware_Simulation = new Hardware_Simulation(this.Connector, "", "Hardware_Simulation");
            _MAIN                = new MAIN(this.Connector, "", "MAIN");
        }
Exemplo n.º 4
0
        public PlainRoomControllerTwinController CreatePlainerType()
        {
            var cloned = new PlainRoomControllerTwinController();

            cloned.IO = IO.CreatePlainerType();
            cloned.Hardware_Simulation = Hardware_Simulation.CreatePlainerType();
            cloned.MAIN = MAIN.CreatePlainerType();
            return(cloned);
        }
Exemplo n.º 5
0
 public void CopyShadowToPlain(RoomController.RoomControllerTwinController source)
 {
     IO.CopyShadowToPlain(source.IO);
     Hardware_Simulation.CopyShadowToPlain(source.Hardware_Simulation);
     MAIN.CopyShadowToPlain(source.MAIN);
 }
Exemplo n.º 6
0
 public void CopyPlainToShadow(RoomController.RoomControllerTwinController target)
 {
     IO.CopyPlainToShadow(target.IO);
     Hardware_Simulation.CopyPlainToShadow(target.Hardware_Simulation);
     MAIN.CopyPlainToShadow(target.MAIN);
 }
Exemplo n.º 7
0
 public void LazyShadowToOnline()
 {
     IO.LazyShadowToOnline();
     Hardware_Simulation.LazyShadowToOnline();
     MAIN.LazyShadowToOnline();
 }
Exemplo n.º 8
0
 public void LazyOnlineToShadow()
 {
     IO.LazyOnlineToShadow();
     Hardware_Simulation.LazyOnlineToShadow();
     MAIN.LazyOnlineToShadow();
 }