Пример #1
0
 public void init(Display_T35 display_T35)
 {
     this.display      = display_T35;
     this.window       = display.WPFWindow;
     this.window.Child = this;
     this.taskbar      = new TaskbarWidget();
 }
 private void InitializeModules()
 {
     Button = new Button(4);
     Camera = new Camera(3);
     Screen = new Display_T35(14, 13, 12, 10);
     SdCard = new SDCard(5);
 }
 public void init(Display_T35 display_T35)
 {
     this.display = display_T35;
     this.window = display.WPFWindow;
     this.window.Child = this;
     this.taskbar = new TaskbarWidget();
 }
Пример #4
0
        public NetworkConnector(CellularRadio gsm, Display_T35 display)
        {
            this.gsm     = gsm;
            this.display = display;
            gsm.GsmNetworkRegistrationChanged  += gsm_GsmNetworkRegistrationChanged;
            gsm.GprsNetworkRegistrationChanged += gsm_GprsNetworkRegistrationChanged;

            gsm.DebugPrintEnabled = true;
            gsm.PowerOn(1);
        }
Пример #5
0
 public Room(MulticolorLed lights, Display_T35 screen, Motion_Sensor motion_Sensor, MulticolorLed door, MulticolorLed curtains, Camera camera, Button door_button, Text messageText)
 {
     this.lights = lights;
     this.screen = screen;
     this.motion_Sensor = motion_Sensor;
     this.door = door;
     this.curtains = curtains;
     this.camera = camera;
     this.door_button = door_button;
     this.messageText = messageText;
 }
Пример #6
0
        public SDCardController(SDCard sdCard, Display_T35 display)
        {
            this.sdCard  = sdCard;
            this.display = display;

            // checking if card inserted INITIALLY
            if (sdCard.IsCardInserted == false)
            {
                display.SimpleGraphics.Clear();
                display.SimpleGraphics.DisplayText("No card on start up.", mainFont, GT.Color.Red, 0, 0);
            }
        }
Пример #7
0
        public CameraController(Camera camera, Display_T35 display)
        {
            this.camera = camera;
            this.camera.PictureCaptured += camera_PictureCaptured;

            this.display = display;

            if (!this.camera.CameraReady)
            {
                this.camera.CameraConnected += camera_CameraConnected;
            }
            else
            {
                this.takeInitialPicture();
            }
        }
 public void init(Display_T35 display, Ethernet_J11D ethernet_J11D, WiFi_RS21 wifi_RS21)
 {
     this.display_T35   = display;
     this.ethernet_J11D = ethernet_J11D;
     this.wifi_RS21     = wifi_RS21;
 }
 public void init(Display_T35 display, Ethernet_J11D ethernet_J11D, WiFi_RS21 wifi_RS21)
 {
     this.display_T35 = display;
     this.ethernet_J11D = ethernet_J11D;
     this.wifi_RS21 = wifi_RS21;
 }
Пример #10
0
 public LoggerDisplay(Display_T35 display)
 {
     _display = display;
     Initialize();
 }