Beispiel #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void frmMain_Load(object sender, EventArgs e)
        {
            this.mnuTest.Visible = Config.Default.Test;

            FillStationTreeView(appp.CommuniSoft.HardwareManager, this.tvStation);

            CommuniSoft soft = appp.CommuniSoft;

            // register events
            //
            new CommuniSoftEventsRegister(soft, appp.YeHeProcessor).Registe();
            appp.CommuniSoft.Start();


            _xd2206DataImporter = new Importer(XD2300Processor.Default.ProcessImport);
            _xd2206DataImporter.Start();
        }
Beispiel #2
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void frmMain_Load(object sender, EventArgs e)
        {
            this.mnuTest.Visible = Config.Default.Test;

            FillStationTreeView(appp.CommuniSoft.HardwareManager, this.tvStation);

            CommuniSoft soft = appp.CommuniSoft;
            // register events
            //
            new CommuniSoftEventsRegister(soft, appp.YeHeProcessor).Registe();
            appp.CommuniSoft.Start();

            _xd2206DataImporter = new Importer(XD2300Processor.Default.ProcessImport);
            _xd2206DataImporter.Start();
        }