public DevicePropertyEditorImpl(DevicePropertyImpl devp) : this()
        {
            devp_ = devp as DevicePropertyImpl;

            InitializeDeviceList();
            InitializeDataContentsType();

            SelectDevice(devp_.DeviceName.Value);

            ChkBox_Filter_ControlTransfer.Checked     = devp_.Filter_ControlTransfer.Value;
            ChkBox_Filter_BulkTransfer.Checked        = devp_.Filter_BulkTransfer.Value;
            ChkBox_Filter_InterruptTransfer.Checked   = devp_.Filter_InterruptTransfer.Value;
            ChkBox_Filter_IsochronousTransfer.Checked = devp_.Filter_IsochronousTransfer.Value;

            ChkBox_Info_UsbDeviceID.Checked = devp_.InfoOut_UsbDeviceID.Value;
            ChkBox_Info_EndPoint.Checked    = devp_.InfoOut_EndPoint.Value;
            ChkBox_Info_IrpID.Checked       = devp_.InfoOut_IrpID.Value;
            ChkBox_Info_FuncType.Checked    = devp_.InfoOut_FunctionType.Value;
            ChkBox_Info_FuncParam.Checked   = devp_.InfoOut_FunctionParam.Value;

            CBox_DataContentsType.SelectedItem = devp_.DataContentsType.Value;
        }
Example #2
0
 public DeviceInstanceImplByDirect(DeviceConfig devconf, DeviceClass devd, DeviceProperty devp)
     : base(devconf, devd, devp)
 {
     prop_ = devp as DevicePropertyImpl;
 }