コード例 #1
0
        private void MappingMain_Load(object sender, EventArgs e)
        {
#if _mapping
            Data.Instance.MAINFORM = this;

            commBridge = new FleetManager.Comm.Comm_bridge();
#endif

            dbBridge.onDBConnectionPath_OpenCheck();

            //RIDiS DB 연결
            if (dbBridge.onRIDiS_InitSql() == 0)
            {
            }
            else
            {
                //연결 실패
                Data.Instance.isDBConnected = false;
                MessageBox.Show("RIDiS 데이타베이스 연결 에러, 점검후 사용하세요.");
                return;
            }

            onRobotListCheck();

            //mappingctrl = new Mapping_Ctrl(this);

            panel2.Controls.Add(mappingctrl);
        }
コード例 #2
0
 public connectionForm()
 {
     commBridge = new FleetManager.Comm.Comm_bridge(this);
     InitializeComponent();
     //commBridge.taskfeedback_Evt += new FleetManager.Comm.Comm_bridge.TaskFeedbackResponse(this.TaskFeedbackResponse);
     commBridge.taskresult_Evt   += new FleetManager.Comm.Comm_bridge.TaskResultResponse(this.TaskResultResponse);
     commBridge.taskfeedback_Evt += new FleetManager.Comm.Comm_bridge.TaskFeedbackResponse(this.TaskFeedbackResponse);
 }
コード例 #3
0
        private void mappingform_Load(object sender, EventArgs e)
        {
            commBridge = new FleetManager.Comm.Comm_bridge(this);

            commBridge.mapinfo_Evt += new FleetManager.Comm.Comm_bridge.MapInfoComplete(this.MapInfoComplete);
            //  mainform.commBridge.Localcostmapinfo_Evt += new FleetManager.Comm.Comm_bridge.LocalCostInfoComplete(mainform.LocalCostInfoComplete);

            if (manualRun_thread != null)
            {
                manualRun_thread.Abort();
                manualRun_thread = null;
            }

            manualRun_thread = new Thread(manualRun_thread_func);
            manualRun_thread.Start();
        }