Example #1
0
        public FChannel(FRdetOutConfiguration frm, XCollection <RdetOutChannel> channels)
        {
            InitializeComponent();
            parentForm   = frm;
            channelSet   = channels;
            type         = "Add";
            channel      = new RdetOutChannel();
            criteriaList = new XCollection <RdetOutQueryCriterialItem>();
            resultList   = new XCollection <RdetOutQueryResultItem>();

            this.Text = "Add Channel";
            GetChannelNameSet(channels);
        }
Example #2
0
        public FLUTable(FRdetOutConfiguration frm, XCollection <LookupTable> tables)
        {
            InitializeComponent();
            parentForm    = frm;
            this.tableSet = tables;
            type          = "Add";
            table         = new LookupTable();
            LUItemList    = new XCollection <LookupItem>();
            itemIndex     = -1;
            this.Text     = "Add Translation Table";

            GetTableNameSet(tables);
            lblNo.Text = "0 item(s)";
        }
Example #3
0
        public FLUTable(FRdetOutConfiguration frm, XCollection <LookupTable> tables, int index)
        {
            InitializeComponent();
            this.parentForm = frm;
            this.tableSet   = tables;
            this.type       = "Modify";
            this.table      = tables[index];
            tableIndex      = index;
            this.LUItemList = tables[index].Table;
            this.itemIndex  = -1;
            this.Text       = "Modify Translation Table";

            GetTableNameSet(tables);
            ShowTable();
        }
Example #4
0
        public FChannel(FRdetOutConfiguration frm, XCollection <RdetOutChannel> channels, int index)
        {
            InitializeComponent();
            parentForm   = frm;
            channelSet   = channels;
            type         = "Modify";
            channel      = channels[index];
            channelIndex = index;
            criteriaList = channel.Rule.QueryCriteria.MappingList;
            resultList   = channel.Rule.QueryResult.MappingList;

            this.Text = "Modify Channel";
            GetChannelNameSet(channels);
            ShowChannel();
        }
Example #5
0
        /// <summary>
        /// Copy Channel
        /// </summary>
        /// <param name="frm"></param>
        /// <param name="channels"></param>
        /// <param name="copyChannel"></param>
        public FChannel(FRdetOutConfiguration frm, XCollection <RdetOutChannel> channels, RdetOutChannel copyChannel)
        {
            InitializeComponent();
            parentForm = frm;
            channelSet = channels;
            type       = "Add";

            channel      = copyChannel;
            criteriaList = channel.Rule.QueryCriteria.MappingList;
            resultList   = channel.Rule.QueryResult.MappingList;

            this.Text = "Add Channel";
            GetChannelNameSet(channels);
            ShowChannel();
        }