00001 using System; 00002 using System.Collections.Generic; 00003 using System.Linq; 00004 using System.Text; 00005 using UtmConvert; 00006 using System.Drawing; 00007 using System.ComponentModel; 00008 00009 namespace RacePlotter { 00010 class RacePlotterData { 00011 00012 protected string _racePath = ".\\race\\default\\"; 00013 00014 protected List<UtmPoint> _fiducials; 00015 //Summary: 00016 //List of UTM fiducials 00017 [CategoryAttribute("Race Plotter Settings") 00018 , DescriptionAttribute("List of UTM fiducials")] 00019 public List<UtmPoint> Fiducials { 00020 get { return _fiducials; } 00021 } 00022 00023 protected List<UtmPoint> _waypoints; 00024 //Summary: 00025 //List of UTM waypoints 00026 [CategoryAttribute("Race Plotter Settings") 00027 , DescriptionAttribute("List of UTM waypoints")] 00028 public List<UtmPoint> Waypoints { 00029 get { return _waypoints; } 00030 set { _waypoints = value; } 00031 } 00032 00033 protected Bitmap _raceMap; 00034 00035 public Bitmap RaceMap { 00036 get { return _raceMap; } 00037 } 00038 00039 protected System.Drawing.Point _click1, _click2; 00040 00041 public System.Drawing.Point Click1 { 00042 get { return _click1; } 00043 set { _click1 = value; } 00044 } 00045 00046 public System.Drawing.Point Click2 { 00047 get { return _click2; } 00048 set { _click2 = value; } 00049 } 00050 00051 protected UtmPoint _gpsPosition, _statePosition; 00052 public UtmPoint GpsPosition { 00053 get { return _gpsPosition; } 00054 set { _gpsPosition = value; } 00055 } 00056 00057 public UtmPoint StatePosition { 00058 get { return _statePosition; } 00059 set { _statePosition = value; } 00060 } 00061 00062 protected UtmPoint _fiducial1, _fiducial2; 00063 public UtmPoint Fiducial1 { 00064 get { return _fiducial1; } 00065 set { _fiducial1 = value; } 00066 } 00067 00068 public UtmPoint Fiducial2 { 00069 get { return _fiducial2; } 00070 set { _fiducial2 = value; } 00071 } 00072 00073 protected double _scaleDeltaX; 00074 public double ScaleDeltaX { 00075 get { return _scaleDeltaX; } 00076 } 00077 00078 protected double _scaleDeltaY; 00079 public double ScaleDeltaY { 00080 get { return _scaleDeltaY; } 00081 } 00082 00083 protected double _scaleX; 00084 public double ScaleX { 00085 get { return _scaleX; } 00086 } 00087 00088 protected double _scaleY; 00089 public double ScaleY { 00090 get { return _scaleY; } 00091 } 00092 00093 00094 } 00095 }