Пример #1
0
        private void Main_Load(object sender, EventArgs e)
        {
            Update_History_Log(GetDate_Time_AS_YYMMDDHHMMSS(DateTime.Now) + " Starting APP");
            Update_MySQL_Status("foo", Color.Green);
            Update_History_Log(GetDate_Time_AS_YYMMDDHHMMSS(DateTime.Now) + "My SQL Status: " + this.lblMySQL_Status.Text);
            lblBatchLocation.Text = Properties.Settings.Default.TriggerLocation;
            backgroundWorker1.RunWorkerAsync();
            TriggerFileHandler.EnableProcessing(this.chkBoxBatchProcessing.Checked);
            TriggerFileHandler.Initialise();


            //////////////////////////////////////////////
            // Test BLOCK

            //Trajectory OneTrajectory = new Trajectory();
            //OneTrajectory.Initialise();

            //Sector SectorBorder = new Sector();
            //SectorBorder.Initialise();

            //Entry_Exit EX = new Entry_Exit();
            //EX.DeterminePoints(OneTrajectory.Trajectory_Point_List, SectorBorder.Sector_List);

            //////////////////////////////////////////////

            //UpdateDataView();
        }
Пример #2
0
        private void chkBoxBatchProcessing_CheckedChanged(object sender, EventArgs e)
        {
            if (this.chkBoxBatchProcessing.Checked)
            {
                this.chkBoxBatchProcessing.Text = "ON";
            }
            else
            {
                this.chkBoxBatchProcessing.Text = "OFF";
            }

            TriggerFileHandler.EnableProcessing(this.chkBoxBatchProcessing.Checked);
        }