Ejemplo n.º 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();
 }
Ejemplo n.º 2
0
 //constructor
 public CContour(FormGPS _f)
 {
     mf = _f;
 }
Ejemplo n.º 3
0
 public CGuidance(FormGPS _f)
 {
     //constructor
     mf = _f;
 }
Ejemplo n.º 4
0
 public FormDisplaySettings(Form callingForm)
 {
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Ejemplo n.º 5
0
 //constructor
 public CRecordedPath(OpenGL _gl, FormGPS _f)
 {
     gl = _gl;
     mf = _f;
 }
Ejemplo n.º 6
0
 public CNMEA(FormGPS f)
 {
     //constructor, grab the main form reference
     mf = f;
 }
Ejemplo n.º 7
0
 public FormGPSData(Form callingForm)
 {
     mainForm = callingForm as FormGPS;
     InitializeComponent();
 }
Ejemplo n.º 8
0
 public CABLine(OpenGL _gl, FormGPS _f)
 {
     //constructor
     gl = _gl;
     mf = _f;
 }
Ejemplo n.º 9
0
        public FormTreePlant(Form callingForm)
        {
            mf = callingForm as FormGPS;

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

        public FormYouTurn(Form callingForm)
        {
            mf = callingForm as FormGPS;
            InitializeComponent();
        }
Ejemplo n.º 18
0
 public FormSteerGraph(Form callingForm)
 {
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Ejemplo n.º 19
0
 public CWorldGrid(FormGPS _f)
 {
     mf = _f;
 }
Ejemplo n.º 20
0
 public Form_Help(Form callingForm)
 {
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Ejemplo n.º 21
0
 //constructor
 public CGeoFence(FormGPS _f)
 {
     mf = _f;
 }
Ejemplo n.º 22
0
 public CABCurve(FormGPS _f)
 {
     //constructor
     mf = _f;
 }
Ejemplo n.º 23
0
 public FormUDP(Form callingForm)
 {
     //get copy of the calling main form
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Ejemplo n.º 24
0
 //constructor
 public FormBoundaryPlayer(Form callingForm)
 {
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Ejemplo n.º 25
0
 public FormWizardSteer(Form callingForm)
 {
     mf = callingForm as FormGPS;
     InitializeComponent();
 }
Ejemplo n.º 26
0
 public CNMEA(FormGPS f)
 {
     //constructor, grab the main form reference
     mf      = f;
     fixFrom = Properties.Settings.Default.setGPS_fixFromWhichSentence;
 }
Ejemplo n.º 27
0
 public FormABCurve(Form _mf)
 {
     mf = _mf as FormGPS;
     InitializeComponent();
 }
Ejemplo n.º 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);
            }
        }
Ejemplo n.º 29
0
 public CSim(FormGPS _f)
 {
     mf        = _f;
     latitude  = Properties.Settings.Default.setGPS_SimLatitude;
     longitude = Properties.Settings.Default.setGPS_SimLongitude;
 }
Ejemplo n.º 30
0
 public FormSynchro(FormGPS formGPS)
 {
     InitializeComponent();
 }