示例#1
0
        public DevicePropertyEditorImpl(DevicePropertyImpl devp) : this()
        {
            devp_ = devp as DevicePropertyImpl;

            InitializeIfceList();
            InitializePacketInformationType();
            InitializePacketSourceType();
            InitializePacketDestinationType();
            InitializePacketDataType();
            InitializeSelectProtocolItemList();

            SelectInterface(devp_.Interface.Value);
            TBox_RecvFilter.Text                    = devp_.Filter.Value;
            CBox_PacketInfoType.SelectedItem        = devp_.PacketInfo.Value;
            CBox_PacketSourceType.SelectedItem      = devp_.PacketSource.Value;
            CBox_PacketDestinationType.SelectedItem = devp_.PacketDestination.Value;
            CBox_PacketDataType.SelectedItem        = devp_.PacketData.Value;
        }
示例#2
0
 protected override void OnConnectStart()
 {
     prop_ = Property as DevicePropertyImpl;
 }