Beispiel #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;
        }
Beispiel #2
0
        public void AddIntbusDevice(IntbusDevice intbusDevice)
        {
            IntbusDevice clonedDevice = intbusDevice.Clone() as IntbusDevice;

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