ATMLCommonLibrary.controls.bus.PXIControl.DataToControls C# (CSharp) Method

DataToControls() protected method

protected DataToControls ( ) : void
return void
        protected override void DataToControls()
        {
            if (_bus == null) return;
            base.DataToControls();
            PXI pxi = (PXI) _bus;
            dynamicCurrentControl.PXIBackplaneVoltages = pxi.DynamicCurrent;
            peakCurrentControl.PXIBackplaneVoltages = pxi.PeakCurrent;
            edtMemorySize.Value = pxi.memorySize;
            edtSlotWeight.Value = (decimal)pxi.slotWeigth;
            edtSlots.Value = pxi.slots;
            peakCurrentControl.PXIBackplaneVoltages = pxi.PeakCurrent;
            dynamicCurrentControl.PXIBackplaneVoltages = pxi.DynamicCurrent;
            supportedClockServiceControl.SupportedClockSources = pxi.SupportedClockSources;
            cmbSlotSize.SelectedItem = Enum.GetName(typeof(PXISlotSize),pxi.slotSize);
        }