Esempio n. 1
0
        private void CommandCopy_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            IntbusDevice intbusDevice = TreeView_IntbusDevices.SelectedItem as IntbusDevice;

            IntbusDeviceCloneBuffer = intbusDevice.Clone() as IntbusDevice;
            var a = IntbusDeviceCloneBuffer;
        }
Esempio n. 2
0
        public void AddIntbusDevice(IntbusDevice intbusDevice)
        {
            IntbusDevice clonedDevice = intbusDevice.Clone() as IntbusDevice;

            clonedDevice.MasterIntbusDevice = this;
            this.SlaveIntbusDevices.Add(clonedDevice);
        }