Пример #1
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     FormGPS.DirectoryCopy(Settings.Default.setF_local, Settings.Default.setF_synchro, true);
     FormGPS.DirectoryCopy(Settings.Default.setF_synchro, Settings.Default.setF_local, true);
     this.Close();
 }
Пример #2
0
 //constructor
 public CContour(FormGPS _f)
 {
     mf = _f;
 }
Пример #3
0
 public CGuidance(FormGPS _f)
 {
     //constructor
     mf = _f;
 }
Пример #4
0
 public FormDisplaySettings(Form callingForm)
 {
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Пример #5
0
 //constructor
 public CRecordedPath(OpenGL _gl, FormGPS _f)
 {
     gl = _gl;
     mf = _f;
 }
Пример #6
0
 public CNMEA(FormGPS f)
 {
     //constructor, grab the main form reference
     mf = f;
 }
Пример #7
0
 public FormGPSData(Form callingForm)
 {
     mainForm = callingForm as FormGPS;
     InitializeComponent();
 }
Пример #8
0
 public CABLine(OpenGL _gl, FormGPS _f)
 {
     //constructor
     gl = _gl;
     mf = _f;
 }
Пример #9
0
        public FormTreePlant(Form callingForm)
        {
            mf = callingForm as FormGPS;

            InitializeComponent();
        }
Пример #10
0
 public CABLine(FormGPS _f)
 {
     //constructor
     mf           = _f;
     isOnTramLine = true;
 }
Пример #11
0
 public CFont(FormGPS _f)
 {
     //constructor
     mf       = _f;
     isFontOn = true;
 }
Пример #12
0
 //constructor
 public CContour(OpenGL gl, FormGPS f)
 {            
     this.mf = f;
     this.gl = gl;
 }
Пример #13
0
 //constructor
 public CAutoSteer(FormGPS _f)
 {
     mf = _f;
     isInFreeDriveMode = false;
 }
Пример #14
0
 public CWaypoint(OpenGL _gl, FormGPS _f)
 {
     //constructor
     gl = _gl;
     mf = _f;
 }
Пример #15
0
 public FormHeadland(Form callingForm)
 {
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Пример #16
0
 public FormModules(Form callingForm)
 {
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Пример #17
0
        //strings for comboboxes past auto and manual choices
        //pos0 is "-" no matter what

        public FormYouTurn(Form callingForm)
        {
            mf = callingForm as FormGPS;
            InitializeComponent();
        }
Пример #18
0
 public FormSteerGraph(Form callingForm)
 {
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Пример #19
0
 public CWorldGrid(FormGPS _f)
 {
     mf = _f;
 }
Пример #20
0
 public Form_Help(Form callingForm)
 {
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Пример #21
0
 //constructor
 public CGeoFence(FormGPS _f)
 {
     mf = _f;
 }
Пример #22
0
 public CABCurve(FormGPS _f)
 {
     //constructor
     mf = _f;
 }
Пример #23
0
 public FormUDP(Form callingForm)
 {
     //get copy of the calling main form
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Пример #24
0
 //constructor
 public FormBoundaryPlayer(Form callingForm)
 {
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Пример #25
0
 public FormWizardSteer(Form callingForm)
 {
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Пример #26
0
 public CNMEA(FormGPS f)
 {
     //constructor, grab the main form reference
     mf      = f;
     fixFrom = Properties.Settings.Default.setGPS_fixFromWhichSentence;
 }
Пример #27
0
 public FormABCurve(Form _mf)
 {
     mf = _mf as FormGPS;
     InitializeComponent();
 }
Пример #28
0
        //constructor
        public CSequence(FormGPS _f)
        {
            mf = _f;

            //Fill in the strings for comboboxes - editable
            string line = Properties.Vehicle.Default.seq_FunctionList;

            string[] words = line.Split(',');

            pos3 = words[0];
            pos4 = words[1];
            pos5 = words[2];
            pos6 = words[3];
            pos7 = words[4];
            pos8 = words[5];

            string sentence;

            seqEnter = new SeqEvent[FormGPS.MAXFUNCTIONS];
            for (int i = 0; i < FormGPS.MAXFUNCTIONS; i++)
            {
                seqEnter[i].function = 0;
                seqEnter[i].action   = 0;
                seqEnter[i].isTrig   = true;
                seqEnter[i].distance = 0;
            }

            sentence = Properties.Vehicle.Default.seq_FunctionEnter;
            words    = sentence.Split(',');
            for (int i = 0; i < FormGPS.MAXFUNCTIONS; i++)
            {
                int.TryParse(words[i], out seqEnter[i].function);
            }

            sentence = Properties.Vehicle.Default.seq_ActionEnter;
            words    = sentence.Split(',');
            for (int i = 0; i < FormGPS.MAXFUNCTIONS; i++)
            {
                int.TryParse(words[i], out seqEnter[i].action);
            }

            sentence = Properties.Vehicle.Default.seq_DistanceEnter;
            words    = sentence.Split(',');
            for (int i = 0; i < FormGPS.MAXFUNCTIONS; i++)
            {
                double.TryParse(words[i], NumberStyles.Float, CultureInfo.InvariantCulture, out seqEnter[i].distance);
            }

            seqExit = new SeqEvent[FormGPS.MAXFUNCTIONS];
            for (int i = 0; i < FormGPS.MAXFUNCTIONS; i++)
            {
                seqExit[i].function = 0;
                seqExit[i].action   = 0;
                seqExit[i].isTrig   = true;
                seqExit[i].distance = 0;
            }

            sentence = Properties.Vehicle.Default.seq_FunctionExit;
            words    = sentence.Split(',');
            for (int i = 0; i < FormGPS.MAXFUNCTIONS; i++)
            {
                int.TryParse(words[i], out seqExit[i].function);
            }

            sentence = Properties.Vehicle.Default.seq_ActionExit;
            words    = sentence.Split(',');
            for (int i = 0; i < FormGPS.MAXFUNCTIONS; i++)
            {
                int.TryParse(words[i], out seqExit[i].action);
            }

            sentence = Properties.Vehicle.Default.seq_DistanceExit;
            words    = sentence.Split(',');
            for (int i = 0; i < FormGPS.MAXFUNCTIONS; i++)
            {
                double.TryParse(words[i], NumberStyles.Float, CultureInfo.InvariantCulture, out seqExit[i].distance);
            }
        }
Пример #29
0
 public CSim(FormGPS _f)
 {
     mf        = _f;
     latitude  = Properties.Settings.Default.setGPS_SimLatitude;
     longitude = Properties.Settings.Default.setGPS_SimLongitude;
 }
Пример #30
0
 public FormSynchro(FormGPS formGPS)
 {
     InitializeComponent();
 }