示例#1
0
        public void AddDisplay()
        {
            IDeviceInput input = _devicesFactory.GetDisplay();

            _devices.Add(input);

            input.OpenForm();
        }
示例#2
0
        public void AddTimer5()
        {
            IDeviceInput input = _devicesFactory.GetTimer5();

            _devices.Add(input);

            input.OpenForm();
        }
示例#3
0
        public void AddOscillograph()
        {
            IDeviceInput input = _devicesFactory.GetOscillograph();

            _devices.Add(input);

            input.OpenForm();
        }
示例#4
0
        public void AddTimer5(int baseAddress, int irq)
        {
            IDeviceInput input = _devicesFactory.GetTimer5(baseAddress, irq);

            _devices.Add(input);

            input.OpenForm();
        }
示例#5
0
        public void AddGraphicDisplay(int baseAddress)
        {
            IDeviceInput input = _devicesFactory.GetGraphicDisplay(baseAddress);

            _devices.Add(input);

            input.OpenForm();
        }
示例#6
0
        public void AddKeypadAndIndication(int baseAddress, int irq)
        {
            IDeviceInput input = _devicesFactory.GetKeypadAndIndication(baseAddress, irq);

            _devices.Add(input);

            input.OpenForm();
        }
示例#7
0
        public void AddExternalDevice()
        {
            // todo select proper device
            IDeviceInput input = _devicesFactory.GetKeyboard1();

            _devices.Add(input);

            input.OpenForm();
        }