public PacketConverterInstanceImpl(PacketConvertManager pcvtm, PacketConverterClass pcvtd, PacketConverterProperty pcvtp, Guid id)
            : base(pcvtm, pcvtd, pcvtp, id)
        {
            prop_ = Property as PacketConverterPropertyImpl;

            InitializeComponent();
            InitializeTargetList();

            CMenu_EventDetectDivide.Checked     = prop_.Global_DivideByEventDetect.Value;
            CMenu_DirectionChangeDivide.Checked = prop_.Local_DivideByDirectionChange.Value;
            CMenu_EachAlias.Checked             = prop_.Local_EachAlias.Value;
            CMenu_EachDirection.Checked         = prop_.Local_EachDirection.Value;

            SelectRule(prop_.Rule.Value);
        }
Exemplo n.º 2
0
 public ConvertMethodClass(PacketConverterInstance instance, PacketConverterPropertyImpl prop)
 {
     Instance = instance;
     Property = prop;
 }