diff --git a/SourceCode/GPS/AgOpenGPS.csproj b/SourceCode/GPS/AgOpenGPS.csproj index f438711e8..29d4289d4 100644 --- a/SourceCode/GPS/AgOpenGPS.csproj +++ b/SourceCode/GPS/AgOpenGPS.csproj @@ -69,9 +69,6 @@ - - References\Control.Draggable.dll - False References\Keypad.dll @@ -553,7 +550,6 @@ - @@ -563,26 +559,6 @@ - - - - - - - - - - - - - - - - - - - - Always diff --git a/SourceCode/GPS/Classes/CABCurve.cs b/SourceCode/GPS/Classes/CABCurve.cs index e0c752fe0..f989b5fb3 100644 --- a/SourceCode/GPS/Classes/CABCurve.cs +++ b/SourceCode/GPS/Classes/CABCurve.cs @@ -9,11 +9,6 @@ public class CABCurve //pointers to mainform controls private readonly FormGPS mf; - public bool spiralmode = false; - public bool circlemode = false; - - public double oldhowManyPathsAway = -1; - //flag for starting stop adding points public bool isCurveBtnOn, isOkToAddPoints, isCurveSet; @@ -161,253 +156,110 @@ public void SaveSmoothAsRefList() public void GetCurrentCurveLine(vec3 pivot, vec3 steer) { + int ptCount = refList.Count; + int ptCnt = ptCount - 1; + if (ptCount < 5) return; - double minDistance; - - double boundaryTriggerDistance = 1; - - //move the ABLine over based on the overlap amount set in vehicle - double widthMinusOverlap = mf.vehicle.toolWidth - mf.vehicle.toolOverlap; - - - - if (spiralmode == true) - { - deltaOfRefAndAveHeadings = 1; - - double dist = ((pivot.easting - refList[0].easting) * (pivot.easting - refList[0].easting)) + ((pivot.northing - refList[0].northing) * (pivot.northing - refList[0].northing)); - - minDistance = Math.Sqrt(dist); - - howManyPathsAway = Math.Round(minDistance / widthMinusOverlap, 0, MidpointRounding.AwayFromZero); - if (oldhowManyPathsAway != howManyPathsAway && howManyPathsAway == 0) - { - oldhowManyPathsAway = howManyPathsAway; - curList?.Clear(); - } - if (oldhowManyPathsAway != howManyPathsAway) - { - oldhowManyPathsAway = howManyPathsAway; - if (howManyPathsAway < 2) howManyPathsAway = 2; + boxA.easting = pivot.easting - (Math.Sin(aveLineHeading + glm.PIBy2) * 2000); + boxA.northing = pivot.northing - (Math.Cos(aveLineHeading + glm.PIBy2) * 2000); - double s = widthMinusOverlap / 2; + boxB.easting = pivot.easting + (Math.Sin(aveLineHeading + glm.PIBy2) * 2000); + boxB.northing = pivot.northing + (Math.Cos(aveLineHeading + glm.PIBy2) * 2000); - curList?.Clear(); - double circumference = (glm.twoPI * s) / (boundaryTriggerDistance * 0.1); + boxC.easting = boxB.easting + (Math.Sin(aveLineHeading) * 1.0); + boxC.northing = boxB.northing + (Math.Cos(aveLineHeading) * 1.0); - for (double round = glm.twoPI * (howManyPathsAway - 2); round <= (glm.twoPI * (howManyPathsAway + 2) + 0.00001); round += (glm.twoPI / circumference)) - { - double x = s * (Math.Cos(round) + (round / Math.PI) * Math.Sin(round)); - double y = s * (Math.Sin(round) - (round / Math.PI) * Math.Cos(round)); + boxD.easting = boxA.easting + (Math.Sin(aveLineHeading) * 1.0); + boxD.northing = boxA.northing + (Math.Cos(aveLineHeading) * 1.0); - vec3 pt = new vec3(refList[0].easting + x, refList[0].northing + y, 0); - curList.Add(pt); + boxA.easting -= (Math.Sin(aveLineHeading) * 1.0); + boxA.northing -= (Math.Cos(aveLineHeading) * 1.0); - double radius = Math.Sqrt(x * x + y * y); - circumference = (glm.twoPI * radius) / (boundaryTriggerDistance); + boxB.easting -= (Math.Sin(aveLineHeading) * 1.0); + boxB.northing -= (Math.Cos(aveLineHeading) * 1.0); - } + //determine if point are in frustum box + for (int s = 0; s < ptCnt; s++) + { + if ((((boxB.easting - boxA.easting) * (refList[s].northing - boxA.northing)) + - ((boxB.northing - boxA.northing) * (refList[s].easting - boxA.easting))) < 0) { continue; } - int cnt = curList.Count; + if ((((boxD.easting - boxC.easting) * (refList[s].northing - boxC.northing)) + - ((boxD.northing - boxC.northing) * (refList[s].easting - boxC.easting))) < 0) { continue; } - if (cnt > 1) - { - vec3[] arr = new vec3[cnt]; - - curList.CopyTo(arr); - curList.Clear(); - - //first point needs last, first, second points - vec3 pt3 = arr[0]; - pt3 = arr[0]; - pt3.heading = Math.Atan2(arr[1].easting - arr[cnt - 1].easting, arr[1].northing - arr[cnt - 1].northing); - if (pt3.heading < 0) pt3.heading += glm.twoPI; - curList.Add(pt3); - //middle points - for (int i = 1; i < (cnt - 1); i++) - { - pt3 = arr[i]; - pt3.heading = Math.Atan2(arr[i + 1].easting - arr[i - 1].easting, arr[i + 1].northing - arr[i - 1].northing); - if (pt3.heading < 0) pt3.heading += glm.twoPI; - curList.Add(pt3); - } - - pt3 = arr[cnt - 1]; - pt3.heading = Math.Atan2(arr[0].easting - arr[cnt - 2].easting, arr[0].northing - arr[cnt - 2].northing); - if (pt3.heading < 0) pt3.heading += glm.twoPI; - curList.Add(pt3); - } - } - //refList = curList; + closestRefIndex = s; + break; } - else if (circlemode == true) - { - deltaOfRefAndAveHeadings = 1; - double dist = ((pivot.easting - refList[0].easting) * (pivot.easting - refList[0].easting)) + ((pivot.northing - refList[0].northing) * (pivot.northing - refList[0].northing)); - minDistance = Math.Sqrt(dist); + double dist = ((pivot.easting - refList[closestRefIndex].easting) * (pivot.easting - refList[closestRefIndex].easting)) + + ((pivot.northing - refList[closestRefIndex].northing) * (pivot.northing - refList[closestRefIndex].northing)); - howManyPathsAway = Math.Round(minDistance / widthMinusOverlap, 0, MidpointRounding.AwayFromZero); - if (oldhowManyPathsAway != howManyPathsAway && howManyPathsAway == 0) - { - oldhowManyPathsAway = howManyPathsAway; - curList?.Clear(); - } - else if (oldhowManyPathsAway != howManyPathsAway) - { - if (howManyPathsAway > 100) return; - oldhowManyPathsAway = howManyPathsAway; + //determine closest point + double minDistance = Math.Sqrt(dist); - curList?.Clear(); + //grab the heading at the closest point + refHeading = refList[closestRefIndex].heading; - int aa = (int)((glm.twoPI * widthMinusOverlap * howManyPathsAway) / (boundaryTriggerDistance)); - - for (double round = 0; round <= glm.twoPI + 0.00001; round += (glm.twoPI) / aa) - { - vec3 pt = new vec3(refList[0].easting + (Math.Sin(round) * widthMinusOverlap * howManyPathsAway), refList[0].northing + (Math.Cos(round) * widthMinusOverlap * howManyPathsAway), 0); - curList.Add(pt); - } + //which side of the patch are we on is next + //calculate endpoints of reference line based on closest point + refPoint1.easting = refList[closestRefIndex].easting - (Math.Sin(refHeading) * 50.0); + refPoint1.northing = refList[closestRefIndex].northing - (Math.Cos(refHeading) * 50.0); - int cnt = curList.Count; + refPoint2.easting = refList[closestRefIndex].easting + (Math.Sin(refHeading) * 50.0); + refPoint2.northing = refList[closestRefIndex].northing + (Math.Cos(refHeading) * 50.0); - if (cnt > 1) - { - vec3[] arr = new vec3[cnt]; - - curList.CopyTo(arr); - curList.Clear(); - - //first point needs last, first, second points - vec3 pt3 = arr[0]; - pt3 = arr[0]; - pt3.heading = Math.Atan2(arr[1].easting - arr[cnt - 1].easting, arr[1].northing - arr[cnt - 1].northing); - if (pt3.heading < 0) pt3.heading += glm.twoPI; - curList.Add(pt3); - //middle points - for (int i = 1; i < (cnt - 1); i++) - { - pt3 = arr[i]; - pt3.heading = Math.Atan2(arr[i + 1].easting - arr[i - 1].easting, arr[i + 1].northing - arr[i - 1].northing); - if (pt3.heading < 0) pt3.heading += glm.twoPI; - curList.Add(pt3); - } + //x2-x1 + double dx = refPoint2.easting - refPoint1.easting; + //z2-z1 + double dz = refPoint2.northing - refPoint1.northing; - pt3 = arr[cnt - 1]; - pt3.heading = Math.Atan2(arr[0].easting - arr[cnt - 2].easting, arr[0].northing - arr[cnt - 2].northing); - if (pt3.heading < 0) pt3.heading += glm.twoPI; - curList.Add(pt3); - } - } + //how far are we away from the reference line at 90 degrees - 2D cross product and distance + double distanceFromRefLine = ((dz * pivot.easting) - (dx * pivot.northing) + (refPoint2.easting + * refPoint1.northing) - (refPoint2.northing * refPoint1.easting)); + // / Math.Sqrt((dz * dz) + (dx * dx)); + //are we going same direction as stripList was created? + isSameWay = Math.PI - Math.Abs(Math.Abs(pivot.heading - refHeading) - Math.PI) < glm.PIBy2; + deltaOfRefAndAveHeadings = Math.PI - Math.Abs(Math.Abs(aveLineHeading - refHeading) - Math.PI); + deltaOfRefAndAveHeadings = Math.Cos(deltaOfRefAndAveHeadings); + //add or subtract pi by 2 depending on which side of ref line + double piSide; - } + //sign of distance determines which side of line we are on + if (distanceFromRefLine > 0) piSide = glm.PIBy2; + else piSide = -glm.PIBy2; + double widthMinusOverlap; + //move the ABLine over based on the overlap amount set in vehicle + if (mf.vehicle.toolOffset != 0) { + widthMinusOverlap = mf.vehicle.toolWidth / 2 - mf.vehicle.toolOverlap; + } else { - int ptCount2 = refList.Count; - int ptCnt = ptCount2 - 1; - if (ptCount2 < 5) return; - - boxA.easting = pivot.easting - (Math.Sin(aveLineHeading + glm.PIBy2) * 2000); - boxA.northing = pivot.northing - (Math.Cos(aveLineHeading + glm.PIBy2) * 2000); - - boxB.easting = pivot.easting + (Math.Sin(aveLineHeading + glm.PIBy2) * 2000); - boxB.northing = pivot.northing + (Math.Cos(aveLineHeading + glm.PIBy2) * 2000); - - boxC.easting = boxB.easting + (Math.Sin(aveLineHeading) * 1.0); - boxC.northing = boxB.northing + (Math.Cos(aveLineHeading) * 1.0); - - boxD.easting = boxA.easting + (Math.Sin(aveLineHeading) * 1.0); - boxD.northing = boxA.northing + (Math.Cos(aveLineHeading) * 1.0); - - boxA.easting -= (Math.Sin(aveLineHeading) * 1.0); - boxA.northing -= (Math.Cos(aveLineHeading) * 1.0); - - boxB.easting -= (Math.Sin(aveLineHeading) * 1.0); - boxB.northing -= (Math.Cos(aveLineHeading) * 1.0); - - //determine if point are in frustum box - for (int s = 0; s < ptCnt; s++) - { - if ((((boxB.easting - boxA.easting) * (refList[s].northing - boxA.northing)) - - ((boxB.northing - boxA.northing) * (refList[s].easting - boxA.easting))) < 0) { continue; } - - if ((((boxD.easting - boxC.easting) * (refList[s].northing - boxC.northing)) - - ((boxD.northing - boxC.northing) * (refList[s].easting - boxC.easting))) < 0) { continue; } - - closestRefIndex = s; - break; - } - - double dist = ((pivot.easting - refList[closestRefIndex].easting) * (pivot.easting - refList[closestRefIndex].easting)) - + ((pivot.northing - refList[closestRefIndex].northing) * (pivot.northing - refList[closestRefIndex].northing)); - - //determine closest point - minDistance = Math.Sqrt(dist); - - //grab the heading at the closest point - refHeading = refList[closestRefIndex].heading; - - //which side of the patch are we on is next - //calculate endpoints of reference line based on closest point - refPoint1.easting = refList[closestRefIndex].easting - (Math.Sin(refHeading) * 50.0); - refPoint1.northing = refList[closestRefIndex].northing - (Math.Cos(refHeading) * 50.0); - - refPoint2.easting = refList[closestRefIndex].easting + (Math.Sin(refHeading) * 50.0); - refPoint2.northing = refList[closestRefIndex].northing + (Math.Cos(refHeading) * 50.0); - - //x2-x1 - double dx = refPoint2.easting - refPoint1.easting; - //z2-z1 - double dz = refPoint2.northing - refPoint1.northing; - - //how far are we away from the reference line at 90 degrees - 2D cross product and distance - double distanceFromRefLine = ((dz * pivot.easting) - (dx * pivot.northing) + (refPoint2.easting - * refPoint1.northing) - (refPoint2.northing * refPoint1.easting)); - // / Math.Sqrt((dz * dz) + (dx * dx)); - //are we going same direction as stripList was created? - isSameWay = Math.PI - Math.Abs(Math.Abs(pivot.heading - refHeading) - Math.PI) < glm.PIBy2; - deltaOfRefAndAveHeadings = Math.PI - Math.Abs(Math.Abs(aveLineHeading - refHeading) - Math.PI); - deltaOfRefAndAveHeadings = Math.Cos(deltaOfRefAndAveHeadings); - - //add or subtract pi by 2 depending on which side of ref line - double piSide; - - //sign of distance determines which side of line we are on - if (distanceFromRefLine > 0) piSide = glm.PIBy2; - else piSide = -glm.PIBy2; - //move the ABLine over based on the overlap amount set in vehicle - if (mf.vehicle.toolOffset != 0) - { - widthMinusOverlap = mf.vehicle.toolWidth / 2 - mf.vehicle.toolOverlap; - } - else - { - widthMinusOverlap = mf.vehicle.toolWidth - mf.vehicle.toolOverlap; - } - - - howManyPathsAway = Math.Round(minDistance / widthMinusOverlap, 0, MidpointRounding.AwayFromZero); + widthMinusOverlap = mf.vehicle.toolWidth - mf.vehicle.toolOverlap; + } + - curveNumber = howManyPathsAway; - if (distanceFromRefLine < 0) curveNumber = -curveNumber; + howManyPathsAway = Math.Round(minDistance / widthMinusOverlap, 0, MidpointRounding.AwayFromZero); - //double toolOffset = mf.vehicle.toolOffset; + curveNumber = howManyPathsAway; + if (distanceFromRefLine < 0) curveNumber = -curveNumber; + + //double toolOffset = mf.vehicle.toolOffset; - //build the current line - curList?.Clear(); - for (int i = 0; i < ptCount2; i++) - { - var point = new vec3( - refList[i].easting + (Math.Sin(piSide + aveLineHeading) * ((widthMinusOverlap * howManyPathsAway))), - refList[i].northing + (Math.Cos(piSide + aveLineHeading) * ((widthMinusOverlap * howManyPathsAway))), - refList[i].heading); - curList.Add(point); - } + //build the current line + curList?.Clear(); + for (int i = 0; i < ptCount; i++) + { + var point = new vec3( + refList[i].easting + (Math.Sin(piSide + aveLineHeading) * ((widthMinusOverlap * howManyPathsAway))), + refList[i].northing + (Math.Cos(piSide + aveLineHeading) * ((widthMinusOverlap * howManyPathsAway))), + refList[i].heading); + curList.Add(point); } double minDistA = 1000000, minDistB = 1000000; - int ptCount = curList.Count; + ptCount = curList.Count; if (ptCount > 0) { @@ -416,7 +268,7 @@ public void GetCurrentCurveLine(vec3 pivot, vec3 steer) //find the closest 2 points to current fix for (int t = 0; t < ptCount; t++) { - double dist = ((steer.easting - curList[t].easting) * (steer.easting - curList[t].easting)) + dist = ((steer.easting - curList[t].easting) * (steer.easting - curList[t].easting)) + ((steer.northing - curList[t].northing) * (steer.northing - curList[t].northing)); if (dist < minDistA) { @@ -438,8 +290,8 @@ public void GetCurrentCurveLine(vec3 pivot, vec3 steer) currentLocationIndex = A; //get the distance from currently active AB line - double dx = curList[B].easting - curList[A].easting; - double dz = curList[B].northing - curList[A].northing; + dx = curList[B].easting - curList[A].easting; + dz = curList[B].northing - curList[A].northing; if (Math.Abs(dx) < Double.Epsilon && Math.Abs(dz) < Double.Epsilon) return; @@ -519,7 +371,7 @@ public void GetCurrentCurveLine(vec3 pivot, vec3 steer) //find the closest 2 points to current fix for (int t = 0; t < ptCount; t++) { - double dist = ((pivot.easting - curList[t].easting) * (pivot.easting - curList[t].easting)) + dist = ((pivot.easting - curList[t].easting) * (pivot.easting - curList[t].easting)) + ((pivot.northing - curList[t].northing) * (pivot.northing - curList[t].northing)); if (dist < minDistA) { @@ -541,8 +393,8 @@ public void GetCurrentCurveLine(vec3 pivot, vec3 steer) currentLocationIndex = A; //get the distance from currently active AB line - double dx = curList[B].easting - curList[A].easting; - double dz = curList[B].northing - curList[A].northing; + dx = curList[B].easting - curList[A].easting; + dz = curList[B].northing - curList[A].northing; if (Math.Abs(dx) < Double.Epsilon && Math.Abs(dz) < Double.Epsilon) return; @@ -757,24 +609,8 @@ public void SnapABCurve() double headingAt90; //calculate the heading 90 degrees to ref ABLine heading - if (isOnRightSideCurrentLine) - { - headingAt90 = glm.PIBy2; - } - else - { - headingAt90 = -glm.PIBy2; - } - - if (isABSameAsVehicleHeading) - { - moveDistance += distanceFromCurrentLine * 0.001; - } - else - { - moveDistance -= distanceFromCurrentLine * 0.001; - } - + if (isOnRightSideCurrentLine) headingAt90 = glm.PIBy2; + else headingAt90 = -glm.PIBy2; int cnt = refList.Count; vec3[] arr = new vec3[cnt]; @@ -794,18 +630,8 @@ public void MoveABCurve(double dist) double headingAt90; //calculate the heading 90 degrees to ref ABLine heading - - if (isABSameAsVehicleHeading) - { - headingAt90 = glm.PIBy2; - moveDistance += dist; - } - else - { - headingAt90 = -glm.PIBy2; - moveDistance -= dist; - } - + if (isABSameAsVehicleHeading) headingAt90 = glm.PIBy2; + else headingAt90 = -glm.PIBy2; int cnt = refList.Count; vec3[] arr = new vec3[cnt]; @@ -991,8 +817,6 @@ public class CCurveLines public List curvePts = new List(); public double aveHeading = 3; public string Name = "aa"; - public bool spiralmode = false; - public bool circlemode = false; } } \ No newline at end of file diff --git a/SourceCode/GPS/Classes/CABLine.cs b/SourceCode/GPS/Classes/CABLine.cs index ad1275d76..c0b827e20 100644 --- a/SourceCode/GPS/Classes/CABLine.cs +++ b/SourceCode/GPS/Classes/CABLine.cs @@ -138,9 +138,9 @@ public void DrawABLines() GL.Vertex3(currentABLineP2.easting, currentABLineP2.northing, 0.0); GL.End(); - //get the tool offset and width - double toolOffset = mf.vehicle.toolOffset * 2; - double toolWidth = mf.vehicle.toolWidth - mf.vehicle.toolOverlap; + //get the tool offset and width + double toolOffset = mf.vehicle.toolOffset * 2; + double toolWidth = mf.vehicle.toolWidth - mf.vehicle.toolOverlap; double cosHeading = Math.Cos(-abHeading); double sinHeading = Math.Sin(-abHeading); @@ -215,43 +215,43 @@ public void DrawABLines() GL.End(); } - //if (mf.camera.gridZoom < 40) - //{ - - // toolWidth = (mf.vehicle.toolWidth) / 2; - // toolOffset = mf.vehicle.toolOffset; - // GL.Color3(0.0f, 0.90f, 0.50f); - // GL.LineWidth(2); - // GL.Enable(EnableCap.LineStipple); - // GL.LineStipple(1, 0x0001); - - // GL.Begin(PrimitiveType.Lines); - - // if (!isABSameAsVehicleHeading) - // { - // GL.Vertex3((cosHeading * (toolWidth - toolOffset)) + currentABLineP1.easting, - // (sinHeading * (toolWidth - toolOffset)) + currentABLineP1.northing, 0); - // GL.Vertex3((cosHeading * (toolWidth - toolOffset)) + currentABLineP2.easting, - // (sinHeading * (toolWidth - toolOffset)) + currentABLineP2.northing, 0); - // GL.Vertex3((cosHeading * (-toolWidth - toolOffset)) + currentABLineP1.easting, - // (sinHeading * (-toolWidth - toolOffset)) + currentABLineP1.northing, 0); - // GL.Vertex3((cosHeading * (-toolWidth - toolOffset)) + currentABLineP2.easting, - // (sinHeading * (-toolWidth - toolOffset)) + currentABLineP2.northing, 0); - // } - // else - // { - // GL.Vertex3((cosHeading * (toolWidth + toolOffset)) + currentABLineP1.easting, - // (sinHeading * (toolWidth + toolOffset)) + currentABLineP1.northing, 0); - // GL.Vertex3((cosHeading * (toolWidth + toolOffset)) + currentABLineP2.easting, - // (sinHeading * (toolWidth + toolOffset)) + currentABLineP2.northing, 0); - // GL.Vertex3((cosHeading * (-toolWidth + toolOffset)) + currentABLineP1.easting, - // (sinHeading * (-toolWidth + toolOffset)) + currentABLineP1.northing, 0); - // GL.Vertex3((cosHeading * (-toolWidth + toolOffset)) + currentABLineP2.easting, - // (sinHeading * (-toolWidth + toolOffset)) + currentABLineP2.northing, 0); - // } - // GL.End(); - // GL.Disable(EnableCap.LineStipple); - //} + if (mf.camera.gridZoom < 150) + { + + toolWidth = (mf.vehicle.toolWidth) / 2; + toolOffset = mf.vehicle.toolOffset; + GL.Color3(0.0f, 0.90f, 0.50f); + GL.LineWidth(2); + GL.Enable(EnableCap.LineStipple); + GL.LineStipple(1, 0x0001); + + GL.Begin(PrimitiveType.Lines); + + if (!isABSameAsVehicleHeading) + { + GL.Vertex3((cosHeading * (toolWidth - toolOffset)) + currentABLineP1.easting, + (sinHeading * (toolWidth - toolOffset)) + currentABLineP1.northing, 0); + GL.Vertex3((cosHeading * (toolWidth - toolOffset)) + currentABLineP2.easting, + (sinHeading * (toolWidth - toolOffset)) + currentABLineP2.northing, 0); + GL.Vertex3((cosHeading * (-toolWidth - toolOffset)) + currentABLineP1.easting, + (sinHeading * (-toolWidth - toolOffset)) + currentABLineP1.northing, 0); + GL.Vertex3((cosHeading * (-toolWidth - toolOffset)) + currentABLineP2.easting, + (sinHeading * (-toolWidth - toolOffset)) + currentABLineP2.northing, 0); + } + else + { + GL.Vertex3((cosHeading * (toolWidth + toolOffset)) + currentABLineP1.easting, + (sinHeading * (toolWidth + toolOffset)) + currentABLineP1.northing, 0); + GL.Vertex3((cosHeading * (toolWidth + toolOffset)) + currentABLineP2.easting, + (sinHeading * (toolWidth + toolOffset)) + currentABLineP2.northing, 0); + GL.Vertex3((cosHeading * (-toolWidth + toolOffset)) + currentABLineP1.easting, + (sinHeading * (-toolWidth + toolOffset)) + currentABLineP1.northing, 0); + GL.Vertex3((cosHeading * (-toolWidth + toolOffset)) + currentABLineP2.easting, + (sinHeading * (-toolWidth + toolOffset)) + currentABLineP2.northing, 0); + } + GL.End(); + GL.Disable(EnableCap.LineStipple); + } if (mf.isPureDisplayOn && !mf.isStanleyUsed) @@ -622,18 +622,8 @@ double goalPointDistanceDSquared public void MoveABLine(double dist) { - double headingCalc; //calculate the heading 90 degrees to ref ABLine heading - if (isABSameAsVehicleHeading) - { - headingCalc = abHeading + glm.PIBy2; - moveDistance += dist; - } - else - { - headingCalc = abHeading - glm.PIBy2; - moveDistance -= dist; - } + double headingCalc = isABSameAsVehicleHeading ? abHeading + glm.PIBy2 : abHeading - glm.PIBy2; //calculate the new points for the reference line and points refPoint1.easting = (Math.Sin(headingCalc) * dist) + refPoint1.easting; @@ -689,25 +679,8 @@ public void SnapABLine() { double headingCalc; //calculate the heading 90 degrees to ref ABLine heading - if (isOnRightSideCurrentLine) - { - headingCalc = abHeading + glm.PIBy2; - } - else - { - headingCalc = abHeading - glm.PIBy2; - } - - if (isABSameAsVehicleHeading) - { - moveDistance += (distanceFromCurrentLine * 0.001); - } - else - { - moveDistance -= (distanceFromCurrentLine * 0.001); - } - - + if (isOnRightSideCurrentLine) headingCalc = abHeading + glm.PIBy2; + else headingCalc = abHeading - glm.PIBy2; //calculate the new points for the reference line and points refPoint1.easting = (Math.Sin(headingCalc) * Math.Abs(distanceFromCurrentLine) * 0.001) + refPoint1.easting; @@ -724,7 +697,7 @@ public void SnapABLine() } } - public class CABLines + public class CABLines { public vec2 ref1 = new vec2(); public vec2 ref2 = new vec2(); diff --git a/SourceCode/GPS/Classes/CBoundary.cs b/SourceCode/GPS/Classes/CBoundary.cs index 0bb510061..b0ac2d07f 100644 --- a/SourceCode/GPS/Classes/CBoundary.cs +++ b/SourceCode/GPS/Classes/CBoundary.cs @@ -12,13 +12,10 @@ public class CBoundary /// /// array of boundaries /// - //public CBoundaryLines[] bndArr; - public List bndArr = new List(); - public List BoundCreate = new List(); + public CBoundaryLines[] bndArr; private readonly double scanWidth, boxLength; - public bool isDrawRightSide = true, isOkToAddPoints = false; //constructor public CBoundary(FormGPS _f) { @@ -26,15 +23,15 @@ public CBoundary(FormGPS _f) boundarySelected = 0; scanWidth = 1.0; boxLength = 2000; - currentBoundary = -1; - lastBoundary = 0; //boundaries array + bndArr = new CBoundaryLines[FormGPS.MAXBOUNDARIES]; + for (int j = 0; j < FormGPS.MAXBOUNDARIES; j++) bndArr[j] = new CBoundaryLines(); } // the list of possible bounds points public List bndClosestList = new List(); - public int boundarySelected, currentBoundary, lastBoundary, closestBoundaryNum; + public int boundarySelected, closestBoundaryNum; //generated box for finding closest point public vec2 boxA = new vec2(9000, 9000), boxB = new vec2(9000, 9002); @@ -70,6 +67,7 @@ public void FindClosestBoundaryPoint(vec3 fromPt, double headAB) // boxB.northing -= (Math.Cos(headAB) * boxLength); //} //else + { boxA.easting = fromPt.easting + (Math.Sin(headAB + glm.PIBy2) * (scanWidth - 2)); boxA.northing = fromPt.northing + (Math.Cos(headAB + glm.PIBy2) * (scanWidth - 2)); @@ -89,10 +87,10 @@ public void FindClosestBoundaryPoint(vec3 fromPt, double headAB) //determine if point is inside bounding box bndClosestList.Clear(); vec4 inBox; - for (int i = 0; i < mf.bnd.bndArr.Count; i++) + for (int i = 0; i < FormGPS.MAXHEADS; i++) { //skip the drive thru - if (!mf.bnd.bndArr[i].isOwnField && mf.bnd.bndArr[i].isDriveThru) continue; + if (bndArr[i].isDriveThru) continue; ptCount = bndArr[i].bndLine.Count; for (int p = 0; p < ptCount; p++) @@ -148,27 +146,15 @@ public void FindClosestBoundaryPoint(vec3 fromPt, double headAB) public void DrawBoundaryLines() { //draw the boundaries - for (int i = 0; i < bndArr.Count; i++) + for (int i = 0; i < FormGPS.MAXBOUNDARIES; i++) { bndArr[i].DrawBoundaryLine(); } - if (BoundCreate.Count > 0) - { - - //GL.PointSize(2); - GL.LineWidth(2); - GL.Color3(0.825f, 0.42f, 0.90f); - GL.Begin(PrimitiveType.Lines); - for (int h = 0; h < BoundCreate.Count; h++) GL.Vertex3(BoundCreate[h].easting, BoundCreate[h].northing, 0); - GL.Color3(0.95f, 0.972f, 0.90f); - GL.Vertex3(BoundCreate[0].easting, BoundCreate[0].northing, 0); - GL.End(); - } } public void ResetBoundaries() { - bndArr.Clear(); + for (int i = 0; i < FormGPS.MAXBOUNDARIES; i++) bndArr[i].ResetBoundary(); } //draws the derived closest point @@ -190,4 +176,4 @@ public void DrawClosestPoint() GL.End(); } } -} +} \ No newline at end of file diff --git a/SourceCode/GPS/Classes/CBoundaryLines.cs b/SourceCode/GPS/Classes/CBoundaryLines.cs index d73d6fa09..c2c452c84 100644 --- a/SourceCode/GPS/Classes/CBoundaryLines.cs +++ b/SourceCode/GPS/Classes/CBoundaryLines.cs @@ -26,9 +26,10 @@ public CBoundaryLines() { area = 0; isSet = false; + isOkToAddPoints = false; isDriveAround = false; isDriveThru = false; - isOwnField = false; + isDrawRightSide = true; } //list of coordinates of boundary line @@ -41,7 +42,7 @@ public CBoundaryLines() public double area; //boundary variables - public bool isSet, isOwnField, isDriveAround, isDriveThru; + public bool isOkToAddPoints, isSet, isDriveAround, isDriveThru, isDrawRightSide; public void CalculateBoundaryHeadings() { @@ -80,9 +81,8 @@ public void ResetBoundary() bndLine.Clear(); area = 0; isSet = false; + isOkToAddPoints = false; isDriveThru = false; - isOwnField = false; - isDriveAround = false; } public void FixBoundaryLine(int bndNum, double spacing) @@ -105,7 +105,7 @@ public void FixBoundaryLine(int bndNum, double spacing) if (bndNum == 0) { //outside an outer boundary means its wound clockwise - if (IsPointInsideBoundary(point)) ReverseWinding(); + if (!IsPointInsideBoundary(point)) ReverseWinding(); } else { @@ -261,7 +261,7 @@ public void DrawBoundaryLine() if (ptCount < 1) return; GL.PointSize(2); GL.LineWidth(1); - if (!isOwnField && isDriveThru) GL.Color3(0.25f, 0.752f, 0.860f); + if (isDriveThru) GL.Color3(0.25f, 0.752f, 0.860f); else GL.Color3(0.825f, 0.42f, 0.90f); GL.Begin(PrimitiveType.Lines); for (int h = 0; h < ptCount; h++) GL.Vertex3(bndLine[h].easting, bndLine[h].northing, 0); @@ -320,4 +320,4 @@ public void CalculateBoundaryArea() area = Math.Abs(area / 2); } } -} +} \ No newline at end of file diff --git a/SourceCode/GPS/Classes/CCamera.cs b/SourceCode/GPS/Classes/CCamera.cs index b65daba23..3218e6b81 100644 --- a/SourceCode/GPS/Classes/CCamera.cs +++ b/SourceCode/GPS/Classes/CCamera.cs @@ -22,7 +22,6 @@ public class CCamera public double previousZoom = 25; public bool camFollowing; - public int camMode = 0; //private double camDelta = 0; @@ -60,22 +59,21 @@ public void SetWorldCam(double _fixPosX, double _fixPosY, double _fixHeading) if (camFollowing) { GL.Rotate(camYaw, 0.0, 0.0, 1.0); - GL.Translate(-camPosX, -camPosY, -camPosZ); - //if (camPitch > -45) - //{ - // offset = (45.0 + camPitch) / 45.0; + if (camPitch > -45) + { + offset = (45.0 + camPitch) / 45.0; - // offset = (offset * offset * offset * offset * 0.015) + 0.02; + offset = (offset * offset * offset * offset * 0.015) + 0.02; - // GL.Translate(-camPosX + (offset * camSetDistance * Math.Sin(glm.toRadians(fixHeading))), - // -camPosY + (offset * camSetDistance * Math.Cos(glm.toRadians(fixHeading))), -camPosZ); - //} - //else - //{ - // GL.Translate(-camPosX + (0.02 * camSetDistance * Math.Sin(glm.toRadians(fixHeading))), - // -camPosY + (0.02 * camSetDistance * Math.Cos(glm.toRadians(fixHeading))), -camPosZ); - //} + GL.Translate(-camPosX + (offset * camSetDistance * Math.Sin(glm.toRadians(fixHeading))), + -camPosY + (offset * camSetDistance * Math.Cos(glm.toRadians(fixHeading))), -camPosZ); + } + else + { + GL.Translate(-camPosX + (0.02 * camSetDistance * Math.Sin(glm.toRadians(fixHeading))), + -camPosY + (0.02 * camSetDistance * Math.Cos(glm.toRadians(fixHeading))), -camPosZ); + } } else { diff --git a/SourceCode/GPS/Classes/CContour.cs b/SourceCode/GPS/Classes/CContour.cs index 1f419ed3d..c5926b8df 100644 --- a/SourceCode/GPS/Classes/CContour.cs +++ b/SourceCode/GPS/Classes/CContour.cs @@ -133,7 +133,7 @@ public void StopContourLine(vec3 pivot) public void BuildBoundaryContours(int pass, int spacingInt) { - if (mf.bnd.bndArr.Count == 0) + if (!mf.bnd.bndArr[0].isSet) { mf.TimedMessageBox(1500, "Boundary Contour Error", "No Boundaries Made"); return; @@ -146,18 +146,17 @@ public void BuildBoundaryContours(int pass, int spacingInt) vec3 point = new vec3(); double totalHeadWidth = 0; int signPass = -1; - int isOuter = 1; if (pass == 1) { - signPass = 1; + signPass = -1; //determine how wide a headland space totalHeadWidth = ((mf.vehicle.toolWidth - mf.vehicle.toolOverlap) * 0.5) - spacing; } else { - signPass = -1; + signPass = 1; totalHeadWidth = ((mf.vehicle.toolWidth - mf.vehicle.toolOverlap) * pass) + spacing + ((mf.vehicle.toolWidth - mf.vehicle.toolOverlap) * 0.5); } @@ -165,18 +164,30 @@ public void BuildBoundaryContours(int pass, int spacingInt) //outside boundary + //count the points from the boundary + int ptCount = mf.bnd.bndArr[0].bndLine.Count; + + ptList = new List(); + stripList.Add(ptList); + + for (int i = ptCount - 1; i >= 0; i--) + { + //calculate the point inside the boundary + point.easting = mf.bnd.bndArr[0].bndLine[i].easting - (signPass * Math.Sin(glm.PIBy2 + mf.bnd.bndArr[0].bndLine[i].heading) * totalHeadWidth); + point.northing = mf.bnd.bndArr[0].bndLine[i].northing - (signPass * Math.Cos(glm.PIBy2 + mf.bnd.bndArr[0].bndLine[i].heading) * totalHeadWidth); + point.heading = mf.bnd.bndArr[0].bndLine[i].heading - Math.PI; + if (point.heading < -glm.twoPI) point.heading += glm.twoPI; + ptList.Add(point); + } //totalHeadWidth = (mf.vehicle.toolWidth - mf.vehicle.toolOverlap) * 0.5 + 0.2 + (mf.vehicle.toolWidth - mf.vehicle.toolOverlap); - for (int j = 0; j < mf.bnd.bndArr.Count; j++) + for (int j = 1; j < FormGPS.MAXBOUNDARIES; j++) { if (!mf.bnd.bndArr[j].isSet) continue; - if (mf.bnd.bndArr[j].isOwnField) isOuter = 1; - else isOuter = -1; - //count the points from the boundary - int ptCount = mf.bnd.bndArr[j].bndLine.Count; + ptCount = mf.bnd.bndArr[j].bndLine.Count; ptList = new List(); stripList.Add(ptList); @@ -184,8 +195,8 @@ public void BuildBoundaryContours(int pass, int spacingInt) for (int i = ptCount - 1; i >= 0; i--) { //calculate the point inside the boundary - point.easting = mf.bnd.bndArr[j].bndLine[i].easting - (isOuter * signPass * Math.Sin(glm.PIBy2 + mf.bnd.bndArr[j].bndLine[i].heading) * totalHeadWidth); - point.northing = mf.bnd.bndArr[j].bndLine[i].northing - (isOuter * signPass * Math.Cos(glm.PIBy2 + mf.bnd.bndArr[j].bndLine[i].heading) * totalHeadWidth); + point.easting = mf.bnd.bndArr[j].bndLine[i].easting - (signPass * Math.Sin(glm.PIBy2 + mf.bnd.bndArr[j].bndLine[i].heading) * totalHeadWidth); + point.northing = mf.bnd.bndArr[j].bndLine[i].northing - (signPass * Math.Cos(glm.PIBy2 + mf.bnd.bndArr[j].bndLine[i].heading) * totalHeadWidth); point.heading = mf.bnd.bndArr[j].bndLine[i].heading - Math.PI; if (point.heading < -glm.twoPI) point.heading += glm.twoPI; @@ -193,6 +204,8 @@ public void BuildBoundaryContours(int pass, int spacingInt) ptList.Add(point); } + //add the point list to the save list for appending to contour file + //mf.contourSaveList.Add(ptList); } mf.TimedMessageBox(1500, "Boundary Contour", "Contour Path Created"); diff --git a/SourceCode/GPS/Classes/CFieldData.cs b/SourceCode/GPS/Classes/CFieldData.cs index 67a88fd7f..157a37969 100644 --- a/SourceCode/GPS/Classes/CFieldData.cs +++ b/SourceCode/GPS/Classes/CFieldData.cs @@ -70,7 +70,7 @@ public string WorkedHectares public string WorkedAreaRemainAcres { get { return ((areaBoundaryOuterLessInner - workedAreaTotal) * glm.m2ac).ToString("N2") + " Ac"; } } - + public string WorkedAreaRemainPercentage { get @@ -113,23 +113,13 @@ public CFieldData(FormGPS _f) public void UpdateFieldBoundaryGUIAreas() { - areaOuterBoundary = 0; + areaOuterBoundary = mf.bnd.bndArr[0].area; areaBoundaryOuterLessInner = areaOuterBoundary; - for (int i = 0; i < mf.bnd.bndArr.Count; i++) + + for (int i = 1; i < FormGPS.MAXBOUNDARIES; i++) { - if (mf.bnd.bndArr[i].isSet) - { - if (mf.bnd.bndArr[i].isOwnField) - { - areaOuterBoundary += mf.bnd.bndArr[i].area; - areaBoundaryOuterLessInner += mf.bnd.bndArr[i].area; - } - else - { - areaBoundaryOuterLessInner -= mf.bnd.bndArr[i].area; - } - } + if (mf.bnd.bndArr[i].isSet) areaBoundaryOuterLessInner -= mf.bnd.bndArr[i].area; } } } -} +} \ No newline at end of file diff --git a/SourceCode/GPS/Classes/CGeoFence.cs b/SourceCode/GPS/Classes/CGeoFence.cs index fb03293d1..150c3df9b 100644 --- a/SourceCode/GPS/Classes/CGeoFence.cs +++ b/SourceCode/GPS/Classes/CGeoFence.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; namespace AgOpenGPS { @@ -11,19 +10,22 @@ public class CGeoFence /// /// array of turns /// - public List geoFenceArr = new List(); - //public CGeoFenceLines[] geoFenceArr; + public CGeoFenceLines[] geoFenceArr; //constructor public CGeoFence(FormGPS _f) { mf = _f; + //GeoFenceLines array + geoFenceArr = new CGeoFenceLines[FormGPS.MAXBOUNDARIES]; + for (int j = 0; j < FormGPS.MAXBOUNDARIES; j++) geoFenceArr[j] = new CGeoFenceLines(); } public void ResetGeoFenceLines() { - geoFenceArr.Clear(); + for (int i = 0; i < FormGPS.MAXBOUNDARIES; i++) + geoFenceArr[i].ResetGeoFence(); } public void FindPointsDriveAround(vec3 fromPt, double headAB, ref vec3 start, ref vec3 stop) @@ -44,11 +46,11 @@ public void FindPointsDriveAround(vec3 fromPt, double headAB, ref vec3 start, re pt.easting = fromPt.easting + (sinHead * b); pt.northing = fromPt.northing + (cosHead * b); - if (mf.turn.turnArr[mf.bnd.lastBoundary].IsPointInTurnWorkArea(pt)) + if (mf.turn.turnArr[0].IsPointInTurnWorkArea(pt)) { - for (int t = 0; t < mf.bnd.bndArr.Count; t++) + for (int t = 1; t < FormGPS.MAXBOUNDARIES; t++) { - if (!mf.bnd.bndArr[t].isSet || mf.bnd.bndArr[t].isDriveThru || mf.bnd.bndArr[t].isOwnField) continue; + if (!mf.bnd.bndArr[t].isSet || mf.bnd.bndArr[t].isDriveThru) continue; if (mf.bnd.bndArr[t].isDriveAround) { @@ -148,11 +150,11 @@ public void FindPointsDriveAround(vec3 fromPt, double headAB, ref vec3 start, re public bool IsPointInsideGeoFences(vec3 pt) { //if inside outer boundary, then potentially add - if (geoFenceArr.Count > 0 && mf.bnd.lastBoundary < mf.bnd.bndArr.Count && geoFenceArr[mf.bnd.lastBoundary].IsPointInGeoFenceArea(pt)) + if (geoFenceArr[0].IsPointInGeoFenceArea(pt)) { - for (int b = 0; b < mf.bnd.bndArr.Count; b++) + for (int b = 1; b < FormGPS.MAXBOUNDARIES; b++) { - if (mf.bnd.bndArr[b].isSet && !mf.bnd.bndArr[b].isOwnField) + if (mf.bnd.bndArr[b].isSet) { if (geoFenceArr[b].IsPointInGeoFenceArea(pt)) { @@ -172,11 +174,11 @@ public bool IsPointInsideGeoFences(vec3 pt) public bool IsPointInsideGeoFences(vec2 pt) { //if inside outer boundary, then potentially add - if (geoFenceArr.Count > 0 && mf.bnd.lastBoundary < mf.bnd.bndArr.Count && geoFenceArr[mf.bnd.lastBoundary].IsPointInGeoFenceArea(pt)) + if (geoFenceArr[0].IsPointInGeoFenceArea(pt)) { - for (int b = 0; b < mf.bnd.bndArr.Count; b++) + for (int b = 1; b < FormGPS.MAXBOUNDARIES; b++) { - if (mf.bnd.bndArr[b].isSet && !mf.bnd.bndArr[b].isOwnField) + if (mf.bnd.bndArr[b].isSet) { if (geoFenceArr[b].IsPointInGeoFenceArea(pt)) { @@ -198,11 +200,11 @@ public void BuildGeoFenceLines() //update the GUI values for boundaries //mf.fd.UpdateFieldBoundaryGUIAreas(); - //if (!mf.bnd.bndArr[0].isSet) - //{ - // mf.TimedMessageBox(1500, " Error", "No Boundaries Made"); - // return; - //} + if (!mf.bnd.bndArr[0].isSet) + { + mf.TimedMessageBox(1500, " Error", "No Boundaries Made"); + return; + } //to fill the list of line points vec3 point = new vec3(); @@ -210,27 +212,45 @@ public void BuildGeoFenceLines() //determine how wide a headland space double totalHeadWidth = mf.yt.geoFenceDistance; + //outside boundary - count the points from the boundary + geoFenceArr[0].geoFenceLine.Clear(); + int ptCount = mf.bnd.bndArr[0].bndLine.Count; + for (int i = ptCount - 1; i >= 0; i--) + { + //calculate the point inside the boundary + point.easting = mf.bnd.bndArr[0].bndLine[i].easting + (-Math.Sin(glm.PIBy2 + mf.bnd.bndArr[0].bndLine[i].heading) * totalHeadWidth); + point.northing = mf.bnd.bndArr[0].bndLine[i].northing + (-Math.Cos(glm.PIBy2 + mf.bnd.bndArr[0].bndLine[i].heading) * totalHeadWidth); + point.heading = mf.bnd.bndArr[0].bndLine[i].heading; + if (point.heading < -glm.twoPI) point.heading += glm.twoPI; + + //only add if inside actual field boundary + if (mf.bnd.bndArr[0].IsPointInsideBoundary(point)) + { + vec2 tPnt = new vec2(point.easting, point.northing); + geoFenceArr[0].geoFenceLine.Add(tPnt); + } + } + geoFenceArr[0].FixGeoFenceLine(totalHeadWidth, mf.bnd.bndArr[0].bndLine, mf.vehicle.toolWidth); + geoFenceArr[0].PreCalcTurnLines(); //inside boundaries - for (int j = 0; j < mf.bnd.bndArr.Count; j++) + for (int j = 1; j < FormGPS.MAXBOUNDARIES; j++) { geoFenceArr[j].geoFenceLine.Clear(); - if (!mf.bnd.bndArr[j].isSet || (!mf.bnd.bndArr[j].isOwnField && mf.bnd.bndArr[j].isDriveThru)) continue; - - int num = ((mf.bnd.bndArr[j].isOwnField == true) ? -1 : 1); + if (!mf.bnd.bndArr[j].isSet || mf.bnd.bndArr[j].isDriveThru) continue; - int ptCount = mf.bnd.bndArr[j].bndLine.Count; + ptCount = mf.bnd.bndArr[j].bndLine.Count; for (int i = ptCount - 1; i >= 0; i--) { //calculate the point outside the boundary - point.easting = mf.bnd.bndArr[j].bndLine[i].easting + (-Math.Sin(glm.PIBy2 + mf.bnd.bndArr[j].bndLine[i].heading) * totalHeadWidth * num); - point.northing = mf.bnd.bndArr[j].bndLine[i].northing + (-Math.Cos(glm.PIBy2 + mf.bnd.bndArr[j].bndLine[i].heading) * totalHeadWidth * num); + point.easting = mf.bnd.bndArr[j].bndLine[i].easting + (-Math.Sin(glm.PIBy2 + mf.bnd.bndArr[j].bndLine[i].heading) * totalHeadWidth); + point.northing = mf.bnd.bndArr[j].bndLine[i].northing + (-Math.Cos(glm.PIBy2 + mf.bnd.bndArr[j].bndLine[i].heading) * totalHeadWidth); point.heading = mf.bnd.bndArr[j].bndLine[i].heading; if (point.heading < -glm.twoPI) point.heading += glm.twoPI; //only add if outside actual field boundary - if ((mf.bnd.bndArr[j].isOwnField && mf.bnd.bndArr[j].IsPointInsideBoundary(point)) || (!mf.bnd.bndArr[j].isOwnField && !mf.bnd.bndArr[j].IsPointInsideBoundary(point))) + if (!mf.bnd.bndArr[j].IsPointInsideBoundary(point)) { vec2 tPnt = new vec2(point.easting, point.northing); geoFenceArr[j].geoFenceLine.Add(tPnt); @@ -245,11 +265,11 @@ public void BuildGeoFenceLines() public void DrawGeoFenceLines() { - for (int i = 0; i < mf.bnd.bndArr.Count; i++) + for (int i = 0; i < FormGPS.MAXBOUNDARIES; i++) { if (mf.bnd.bndArr[i].isSet) geoFenceArr[i].DrawGeoFenceLine(); } } } -} +} \ No newline at end of file diff --git a/SourceCode/GPS/Classes/CMazeGrid.cs b/SourceCode/GPS/Classes/CMazeGrid.cs index 9e50c095d..b83cd3484 100644 --- a/SourceCode/GPS/Classes/CMazeGrid.cs +++ b/SourceCode/GPS/Classes/CMazeGrid.cs @@ -26,10 +26,6 @@ public void BuildMazeGridArray() double mazeY = (mf.maxFieldY - mf.minFieldY); double mazeX = (mf.maxFieldX - mf.minFieldX); - - if (mazeY < 0 || mazeX < 0) return; - - if (mazeY > mazeX) mazeScale = (int)(mazeY / 150); else mazeScale = (int)(mazeX / 150); diff --git a/SourceCode/GPS/Classes/CRecordedPath.cs b/SourceCode/GPS/Classes/CRecordedPath.cs index 835a05008..68711feb2 100644 --- a/SourceCode/GPS/Classes/CRecordedPath.cs +++ b/SourceCode/GPS/Classes/CRecordedPath.cs @@ -203,7 +203,7 @@ public void StopDrivingRecordedPath() shortestDubinsList.Clear(); mf.sim.stepDistance = 0; isDrivingRecordedPath = false; - mf.goStopRecPathToolStripMenuItem.Image = Properties.Resources.AutoGo; + mf.goPathMenu.Image = Properties.Resources.AutoGo; isPausedDrivingRecordedPath = false; } diff --git a/SourceCode/GPS/Classes/CTurn.cs b/SourceCode/GPS/Classes/CTurn.cs index 9d6171b87..dafcf4ef5 100644 --- a/SourceCode/GPS/Classes/CTurn.cs +++ b/SourceCode/GPS/Classes/CTurn.cs @@ -14,7 +14,7 @@ public class CTurn /// /// array of turns /// - public List turnArr = new List(); + public CTurnLines[] turnArr; //constructor public CTurn(FormGPS _f) @@ -23,6 +23,10 @@ public CTurn(FormGPS _f) turnSelected = 0; //scanWidth = 1.5; boxLength = 2000; + + //Turns array + turnArr = new CTurnLines[FormGPS.MAXBOUNDARIES]; + for (int j = 0; j < FormGPS.MAXBOUNDARIES; j++) turnArr[j] = new CTurnLines(); } // the list of possible bounds points @@ -40,7 +44,8 @@ public CTurn(FormGPS _f) public void ResetTurnLines() { - turnArr.Clear(); + for (int i = 0; i < FormGPS.MAXBOUNDARIES; i++) + turnArr[i].ResetTurn(); } public void FindClosestTurnPoint(bool isYouTurnRight, vec3 fromPt, double headAB) @@ -60,11 +65,13 @@ public void FindClosestTurnPoint(bool isYouTurnRight, vec3 fromPt, double headAB pt.easting = fromPt.easting + (sinHead * b); pt.northing = fromPt.northing + (cosHead * b); - if (turnArr[mf.bnd.lastBoundary].IsPointInTurnWorkArea(pt)) + if (turnArr[0].IsPointInTurnWorkArea(pt)) { - for (int t = 0; t < mf.bnd.bndArr.Count; t++) + for (int t = 1; t < FormGPS.MAXBOUNDARIES; t++) { - if (!mf.bnd.bndArr[t].isSet || mf.bnd.bndArr[t].isOwnField || mf.bnd.bndArr[t].isDriveThru || mf.bnd.bndArr[t].isDriveAround) continue; + if (!mf.bnd.bndArr[t].isSet) continue; + if (mf.bnd.bndArr[t].isDriveThru) continue; + if (mf.bnd.bndArr[t].isDriveAround) continue; if (mf.turn.turnArr[t].IsPointInTurnWorkArea(pt)) { isFound = true; @@ -78,7 +85,7 @@ public void FindClosestTurnPoint(bool isYouTurnRight, vec3 fromPt, double headAB else { isFound = true; - closestTurnNum = mf.bnd.lastBoundary; + closestTurnNum = 0; rayPt.easting = pt.easting; rayPt.northing = pt.northing; break; @@ -232,11 +239,11 @@ public void FindClosestTurnPoint(bool isYouTurnRight, vec3 fromPt, double headAB public bool PointInsideWorkArea(vec2 pt) { //if inside outer boundary, then potentially add - if (turnArr[mf.bnd.lastBoundary].IsPointInTurnWorkArea(pt)) + if (turnArr[0].IsPointInTurnWorkArea(pt)) { - for (int b = 0; b < mf.bnd.bndArr.Count; b++) + for (int b = 1; b < FormGPS.MAXBOUNDARIES; b++) { - if (mf.bnd.bndArr[b].isSet && !mf.bnd.bndArr[b].isOwnField) + if (mf.bnd.bndArr[b].isSet) { if (turnArr[b].IsPointInTurnWorkArea(pt)) { @@ -258,35 +265,57 @@ public void BuildTurnLines() //update the GUI values for boundaries mf.fd.UpdateFieldBoundaryGUIAreas(); + if (!mf.bnd.bndArr[0].isSet) + { + mf.TimedMessageBox(1500, " Error", "No Boundaries Made"); + return; + } + //to fill the list of line points vec3 point = new vec3(); //determine how wide a headland space double totalHeadWidth = mf.yt.triggerDistanceOffset; + //outside boundary - count the points from the boundary + turnArr[0].turnLine.Clear(); + int ptCount = mf.bnd.bndArr[0].bndLine.Count; + for (int i = ptCount - 1; i >= 0; i--) + { + //calculate the point inside the boundary + point.easting = mf.bnd.bndArr[0].bndLine[i].easting + (-Math.Sin(glm.PIBy2 + mf.bnd.bndArr[0].bndLine[i].heading) * totalHeadWidth); + point.northing = mf.bnd.bndArr[0].bndLine[i].northing + (-Math.Cos(glm.PIBy2 + mf.bnd.bndArr[0].bndLine[i].heading) * totalHeadWidth); + point.heading = mf.bnd.bndArr[0].bndLine[i].heading; + if (point.heading < -glm.twoPI) point.heading += glm.twoPI; + + //only add if inside actual field boundary + if (mf.bnd.bndArr[0].IsPointInsideBoundary(point)) + { + CTurnPt tPnt = new CTurnPt(point.easting, point.northing, point.heading); + turnArr[0].turnLine.Add(tPnt); + } + } + turnArr[0].FixTurnLine(totalHeadWidth, mf.bnd.bndArr[0].bndLine, mf.vehicle.toolWidth * 0.25); + turnArr[0].PreCalcTurnLines(); + //inside boundaries - for (int j = 0; j < mf.bnd.bndArr.Count; j++) + for (int j = 1; j < FormGPS.MAXBOUNDARIES; j++) { turnArr[j].turnLine.Clear(); + if (!mf.bnd.bndArr[j].isSet || mf.bnd.bndArr[j].isDriveThru || mf.bnd.bndArr[j].isDriveAround) continue; - if (!mf.bnd.bndArr[j].isSet || - (!mf.bnd.bndArr[j].isOwnField && (mf.bnd.bndArr[j].isDriveThru || mf.bnd.bndArr[j].isDriveAround))) - continue; - - int num = ((mf.bnd.bndArr[j].isOwnField == true) ? -1 : 1); - int ptCount = mf.bnd.bndArr[j].bndLine.Count; + ptCount = mf.bnd.bndArr[j].bndLine.Count; for (int i = ptCount - 1; i >= 0; i--) { //calculate the point outside the boundary - point.easting = mf.bnd.bndArr[j].bndLine[i].easting + (-Math.Sin(glm.PIBy2 + mf.bnd.bndArr[j].bndLine[i].heading) * totalHeadWidth * num); - point.northing = mf.bnd.bndArr[j].bndLine[i].northing + (-Math.Cos(glm.PIBy2 + mf.bnd.bndArr[j].bndLine[i].heading) * totalHeadWidth * num); + point.easting = mf.bnd.bndArr[j].bndLine[i].easting + (-Math.Sin(glm.PIBy2 + mf.bnd.bndArr[j].bndLine[i].heading) * totalHeadWidth); + point.northing = mf.bnd.bndArr[j].bndLine[i].northing + (-Math.Cos(glm.PIBy2 + mf.bnd.bndArr[j].bndLine[i].heading) * totalHeadWidth); point.heading = mf.bnd.bndArr[j].bndLine[i].heading; if (point.heading < -glm.twoPI) point.heading += glm.twoPI; //only add if outside actual field boundary - //if (!mf.bnd.bndArr[j].IsPointInsideBoundary(point)) - if ((mf.bnd.bndArr[j].isOwnField && mf.bnd.bndArr[j].IsPointInsideBoundary(point)) || (!mf.bnd.bndArr[j].isOwnField && !mf.bnd.bndArr[j].IsPointInsideBoundary(point))) + if (!mf.bnd.bndArr[j].IsPointInsideBoundary(point)) { CTurnPt tPnt = new CTurnPt(point.easting, point.northing, point.heading); turnArr[j].turnLine.Add(tPnt); @@ -305,17 +334,20 @@ public void DrawTurnLines() GL.Color3(0.3555f, 0.6232f, 0.20f); //GL.PointSize(2); - for (int i = 0; i < mf.bnd.bndArr.Count; i++) + for (int i = 0; i < FormGPS.MAXBOUNDARIES; i++) { - if (!mf.bnd.bndArr[i].isOwnField && mf.bnd.bndArr[i].isDriveAround) continue; - ////draw the turn line oject - int ptCount = mf.turn.turnArr[i].turnLine.Count; - if (ptCount < 1) continue; - - GL.Begin(PrimitiveType.LineStrip); - for (int h = 0; h < ptCount; h++) GL.Vertex3(mf.turn.turnArr[i].turnLine[h].easting, mf.turn.turnArr[i].turnLine[h].northing, 0); - GL.Vertex3(mf.turn.turnArr[i].turnLine[0].easting, mf.turn.turnArr[i].turnLine[0].northing, 0); - GL.End(); + if (!mf.bnd.bndArr[i].isSet && mf.bnd.bndArr[i].isDriveAround) continue; + //turnArr[i].DrawTurnLine(); + { + ////draw the turn line oject + int ptCount = mf.turn.turnArr[i].turnLine.Count; + if (ptCount < 1) continue; + + GL.Begin(PrimitiveType.LineStrip); + for (int h = 0; h < ptCount; h++) GL.Vertex3(mf.turn.turnArr[i].turnLine[h].easting, mf.turn.turnArr[i].turnLine[h].northing, 0); + GL.Vertex3(mf.turn.turnArr[i].turnLine[0].easting, mf.turn.turnArr[i].turnLine[0].northing, 0); + GL.End(); + } } } @@ -338,4 +370,4 @@ public void DrawClosestPoint() //GL.End(); } } -} +} \ No newline at end of file diff --git a/SourceCode/GPS/Classes/CTurnLines.cs b/SourceCode/GPS/Classes/CTurnLines.cs index 26f39f868..78bf11421 100644 --- a/SourceCode/GPS/Classes/CTurnLines.cs +++ b/SourceCode/GPS/Classes/CTurnLines.cs @@ -31,9 +31,6 @@ public void CalculateTurnHeadings() { //to calc heading based on next and previous points to give an average heading. int cnt = turnLine.Count; - - if (cnt <5) return; - CTurnPt[] arr = new CTurnPt[cnt]; cnt--; turnLine.CopyTo(arr); diff --git a/SourceCode/GPS/Classes/CVehicle.cs b/SourceCode/GPS/Classes/CVehicle.cs index f49d1ba64..91dd1b448 100644 --- a/SourceCode/GPS/Classes/CVehicle.cs +++ b/SourceCode/GPS/Classes/CVehicle.cs @@ -197,7 +197,7 @@ public void DrawVehicle() } //draw the sections - GL.LineWidth(12); + GL.LineWidth(8); GL.Begin(PrimitiveType.Lines); //draw section line @@ -220,10 +220,7 @@ public void DrawVehicle() } else { - //orange for auto pushed but off - if (mf.section[j].manBtnState == FormGPS.manBtn.Auto) - GL.Color3(0.97f, 0.52f, 0.12f); - else GL.Color3(0.97f, 0.12f, 0.12f); + GL.Color3(0.97f, 0.2f, 0.2f); } //draw section line @@ -235,11 +232,11 @@ public void DrawVehicle() GL.End(); //draw section markers if close enough - if (mf.camera.camSetDistance > -300) + if (mf.camera.camSetDistance > -1500) { GL.Color3(0.0f, 0.0f, 0.0f); //section markers - GL.PointSize(6.0f); + GL.PointSize(4.0f); GL.Begin(PrimitiveType.Points); for (int j = 0; j < mf.vehicle.numOfSections - 1; j++) GL.Vertex3(mf.section[j].positionRight, trailingTool, 0); @@ -293,7 +290,7 @@ public void DrawVehicle() GL.Color3(0.9, 0.90, 0.0); GL.Begin(PrimitiveType.TriangleFan); - GL.Vertex3(0, antennaPivot, 0.2); + GL.Vertex3(0, antennaPivot, -0.2); GL.Vertex3(1.2, -0, 0.0); GL.Color3(0.0, 0.90, 0.92); GL.Vertex3(0, wheelbase, 0.0); @@ -332,48 +329,6 @@ public void DrawVehicle() GL.End(); GL.LineWidth(1); - - if (mf.camera.camSetDistance < -1000) - { - GL.Color4(0.5f, 0.5f, 0.9f, 0.35); - double theta = glm.twoPI / 20; - double c = Math.Cos(theta);//precalculate the sine and cosine - double s = Math.Sin(theta); - - double x = mf.camera.camSetDistance * -.02;//we start at angle = 0 - double y = 0; - GL.LineWidth(1); - GL.Begin(PrimitiveType.TriangleFan); - GL.Vertex3(x, y, 0.0); - for (int ii = 0; ii < 20; ii++) - { - //output vertex - GL.Vertex3(x, y, 0.0); - - //apply the rotation matrix - double t = x; - x = (c * x) - (s * y); - y = (s * t) + (c * y); - // GL.Vertex3(x, y, 0.0); - } - GL.End(); - GL.Color3(0.5f, 0.9f, 0.2f); - GL.LineWidth(1); - GL.Begin(PrimitiveType.LineLoop); - - for (int ii = 0; ii < 20; ii++) - { - //output vertex - GL.Vertex3(x, y, 0.0); - - //apply the rotation matrix - double t = x; - x = (c * x) - (s * y); - y = (s * t) + (c * y); - // GL.Vertex3(x, y, 0.0); - } - GL.End(); - } } } } \ No newline at end of file diff --git a/SourceCode/GPS/Classes/CYouTurn.cs b/SourceCode/GPS/Classes/CYouTurn.cs index 1eea975eb..dadcdf579 100644 --- a/SourceCode/GPS/Classes/CYouTurn.cs +++ b/SourceCode/GPS/Classes/CYouTurn.cs @@ -109,31 +109,26 @@ public bool FindCurveTurnPoints() if (isCountingUp) { crossingTurnLinePoint.index = 99; - bool abc = true; //for each point in succession keep going till a turnLine is found. - for (int j = mf.curve.currentLocationIndex; (j < mf.curve.currentLocationIndex || abc == true); j++) + for (int j = mf.curve.currentLocationIndex; j < curListCount; j++) { - if (!mf.turn.turnArr[mf.bnd.lastBoundary].IsPointInTurnWorkArea(mf.curve.curList[j])) - { - if (j == curListCount) - { - j = 0; - abc = false; - } - //it passed outer turnLine + if (!mf.turn.turnArr[0].IsPointInTurnWorkArea(mf.curve.curList[j])) + { //it passed outer turnLine crossingCurvePoint.easting = mf.curve.curList[j - 1].easting; crossingCurvePoint.northing = mf.curve.curList[j - 1].northing; crossingCurvePoint.heading = mf.curve.curList[j - 1].heading; crossingCurvePoint.index = j - 1; - crossingTurnLinePoint.index = mf.bnd.lastBoundary; + crossingTurnLinePoint.index = 0; goto CrossingFound; } - for (int i = 0; i < mf.bnd.bndArr.Count; i++) + for (int i = 1; i < FormGPS.MAXBOUNDARIES; i++) { //make sure not inside a non drivethru boundary - if (!mf.bnd.bndArr[i].isSet || mf.bnd.bndArr[i].isOwnField || mf.bnd.bndArr[i].isDriveThru || mf.bnd.bndArr[i].isDriveAround) continue; + if (!mf.bnd.bndArr[i].isSet) continue; + if (mf.bnd.bndArr[i].isDriveThru) continue; + if (mf.bnd.bndArr[i].isDriveAround) continue; if (mf.turn.turnArr[i].IsPointInTurnWorkArea(mf.curve.curList[j])) { crossingCurvePoint.easting = mf.curve.curList[j - 1].easting; @@ -148,20 +143,15 @@ public bool FindCurveTurnPoints() //escape for multiple for's CrossingFound:; + } else //counting down, going opposite way mf.curve was created. { crossingTurnLinePoint.index = 99; - bool abc = true; - for (int j = mf.curve.currentLocationIndex; (j > mf.curve.currentLocationIndex || abc == true); j--) + for (int j = mf.curve.currentLocationIndex; j > 0; j--) { - if (j == -1) - { - j = curListCount - 1; - abc = false; - } - if (!mf.turn.turnArr[mf.bnd.lastBoundary].IsPointInTurnWorkArea(mf.curve.curList[j])) + if (!mf.turn.turnArr[0].IsPointInTurnWorkArea(mf.curve.curList[j])) { //it passed outer turnLine crossingCurvePoint.easting = mf.curve.curList[j + 1].easting; crossingCurvePoint.northing = mf.curve.curList[j + 1].northing; @@ -171,10 +161,12 @@ public bool FindCurveTurnPoints() goto CrossingFound; } - for (int i = 0; i < mf.bnd.bndArr.Count; i++) + for (int i = 1; i < FormGPS.MAXBOUNDARIES; i++) { //make sure not inside a non drivethru boundary - if (!mf.bnd.bndArr[i].isSet || mf.bnd.bndArr[i].isOwnField || mf.bnd.bndArr[i].isDriveThru || mf.bnd.bndArr[i].isDriveAround) continue; + if (!mf.bnd.bndArr[i].isSet) continue; + if (mf.bnd.bndArr[i].isDriveThru) continue; + if (mf.bnd.bndArr[i].isDriveAround) continue; if (mf.turn.turnArr[i].IsPointInTurnWorkArea(mf.curve.curList[j])) { crossingCurvePoint.easting = mf.curve.curList[j].easting; @@ -195,7 +187,7 @@ public bool FindCurveTurnPoints() if (turnNum == 99) { - //isTurnCreationNotCrossingError = true; + isTurnCreationNotCrossingError = true; return false; } @@ -411,10 +403,7 @@ public bool BuildABLineDubinsYouTurn(bool isTurnRight) //delta between AB heading and boundary closest point heading boundaryAngleOffPerpendicular = Math.PI - Math.Abs(Math.Abs(mf.turn.closestTurnPt.heading - headAB) - Math.PI); boundaryAngleOffPerpendicular -= glm.PIBy2; - if (!(mf.bnd.bndArr[mf.turn.closestTurnNum].isOwnField)) - { - boundaryAngleOffPerpendicular *= -1; - } + boundaryAngleOffPerpendicular *= -1; if (boundaryAngleOffPerpendicular > 1.25) boundaryAngleOffPerpendicular = 1.25; if (boundaryAngleOffPerpendicular < -1.25) boundaryAngleOffPerpendicular = -1.25; @@ -598,13 +587,15 @@ public bool BuildABLineDubinsYouTurn(bool isTurnRight) for (int j = 0; j < cnt; j += 2) { - if (!mf.turn.turnArr[mf.bnd.lastBoundary].IsPointInTurnWorkArea(ytList[j])) isOutOfBounds = true; + if (!mf.turn.turnArr[0].IsPointInTurnWorkArea(ytList[j])) isOutOfBounds = true; if (isOutOfBounds) break; - for (int i = 0; i < mf.bnd.bndArr.Count; i++) + for (int i = 1; i < FormGPS.MAXBOUNDARIES; i++) { //make sure not inside a non drivethru boundary - if (!mf.bnd.bndArr[i].isSet || mf.bnd.bndArr[i].isOwnField || mf.bnd.bndArr[i].isDriveThru || mf.bnd.bndArr[i].isDriveAround) continue; + if (!mf.bnd.bndArr[i].isSet) continue; + if (mf.bnd.bndArr[i].isDriveThru) continue; + if (mf.bnd.bndArr[i].isDriveAround) continue; if (mf.turn.turnArr[i].IsPointInTurnWorkArea(ytList[j])) { isOutOfBounds = true; @@ -803,13 +794,15 @@ public bool BuildABLinePatternYouTurn(bool isTurnRight) turnDistanceAdjuster -= 2; for (int j = 0; j < count; j += 2) { - if (!mf.turn.turnArr[mf.bnd.lastBoundary].IsPointInTurnWorkArea(ytList[j])) isOutOfBounds = true; + if (!mf.turn.turnArr[0].IsPointInTurnWorkArea(ytList[j])) isOutOfBounds = true; if (isOutOfBounds) break; - for (int i = 0; i < mf.bnd.bndArr.Count; i++) + for (int i = 1; i < FormGPS.MAXBOUNDARIES; i++) { //make sure not inside a non drivethru boundary - if (!mf.bnd.bndArr[i].isSet || mf.bnd.bndArr[i].isOwnField || mf.bnd.bndArr[i].isDriveThru || mf.bnd.bndArr[i].isDriveAround) continue; + if (!mf.bnd.bndArr[i].isSet) continue; + if (mf.bnd.bndArr[i].isDriveThru) continue; + if (mf.bnd.bndArr[i].isDriveAround) continue; if (mf.turn.turnArr[i].IsPointInTurnWorkArea(ytList[j])) { isOutOfBounds = true; @@ -825,13 +818,15 @@ public bool BuildABLinePatternYouTurn(bool isTurnRight) case 1: for (int j = 0; j < count; j += 2) { - if (!mf.turn.turnArr[mf.bnd.lastBoundary].IsPointInTurnWorkArea(ytList[j])) isOutOfBounds = true; + if (!mf.turn.turnArr[0].IsPointInTurnWorkArea(ytList[j])) isOutOfBounds = true; if (isOutOfBounds) break; - for (int i = 0; i < mf.bnd.bndArr.Count; i++) + for (int i = 1; i < FormGPS.MAXBOUNDARIES; i++) { //make sure not inside a non drivethru boundary - if (!mf.bnd.bndArr[i].isSet || mf.bnd.bndArr[i].isOwnField || mf.bnd.bndArr[i].isDriveThru || mf.bnd.bndArr[i].isDriveAround) continue; + if (!mf.bnd.bndArr[i].isSet) continue; + if (mf.bnd.bndArr[i].isDriveThru) continue; + if (mf.bnd.bndArr[i].isDriveAround) continue; if (mf.turn.turnArr[i].IsPointInTurnWorkArea(ytList[j])) { isOutOfBounds = true; @@ -988,17 +983,7 @@ public bool BuildCurvePatternYouTurn(bool isTurnRight, vec3 pivotPos) { case 0: //find the crossing points if (FindCurveTurnPoints()) youTurnPhase = 1; - else - { - if (mf.curve.spiralmode == true || mf.curve.circlemode == true) - { - mf.mc.isOutOfBounds = false; - } - else - { - mf.mc.isOutOfBounds = true; - } - } + else mf.mc.isOutOfBounds = true; ytList?.Clear(); break; @@ -1011,13 +996,15 @@ public bool BuildCurvePatternYouTurn(bool isTurnRight, vec3 pivotPos) //Out of bounds? for (int j = 0; j < count; j += 2) { - if (!mf.turn.turnArr[mf.bnd.lastBoundary].IsPointInTurnWorkArea(ytList[j])) isOutOfBounds = true; + if (!mf.turn.turnArr[0].IsPointInTurnWorkArea(ytList[j])) isOutOfBounds = true; if (isOutOfBounds) break; - for (int i = 0; i < mf.bnd.bndArr.Count; i++) + for (int i = 1; i < FormGPS.MAXBOUNDARIES; i++) { //make sure not inside a non drivethru boundary - if (!mf.bnd.bndArr[i].isSet || mf.bnd.bndArr[i].isOwnField || mf.bnd.bndArr[i].isDriveThru || mf.bnd.bndArr[i].isDriveAround) continue; + if (!mf.bnd.bndArr[i].isSet) continue; + if (mf.bnd.bndArr[i].isDriveThru) continue; + if (mf.bnd.bndArr[i].isDriveAround) continue; if (mf.turn.turnArr[i].IsPointInTurnWorkArea(ytList[j])) { isOutOfBounds = true; @@ -1250,16 +1237,18 @@ public bool BuildCurveDubinsYouTurn(bool isTurnRight, vec3 pivotPos) isOutOfBounds = false; for (int j = 0; j < count; j += 2) { - if (!mf.turn.turnArr[mf.bnd.lastBoundary].IsPointInTurnWorkArea(ytList[j])) + if (!mf.turn.turnArr[0].IsPointInTurnWorkArea(ytList[j])) { isOutOfBounds = true; break; } - for (int i = 0; i < mf.bnd.bndArr.Count; i++) + for (int i = 1; i < FormGPS.MAXBOUNDARIES; i++) { //make sure not inside a non drivethru boundary - if (!mf.bnd.bndArr[i].isSet || mf.bnd.bndArr[i].isOwnField || mf.bnd.bndArr[i].isDriveThru || mf.bnd.bndArr[i].isDriveAround) continue; + if (!mf.bnd.bndArr[i].isSet) continue; + if (mf.bnd.bndArr[i].isDriveThru) continue; + if (mf.bnd.bndArr[i].isDriveAround) continue; if (mf.turn.turnArr[i].IsPointInTurnWorkArea(ytList[j])) { isOutOfBounds = true; @@ -1435,12 +1424,6 @@ public void BuildManualYouTurn(bool isTurnRight, bool isTurnButtonTriggered) rNorthYT = mf.curve.rNorthCu; isABSameAsFixHeading = mf.curve.isSameWay; head = mf.curve.refHeading; - if (mf.curve.spiralmode == true || mf.curve.circlemode == true) - { - head = mf.curve.curList[mf.curve.currentLocationIndex].heading;//set to curent line heading ;) - - isABSameAsFixHeading = mf.curve.isABSameAsVehicleHeading;//not sure why :S - } delta = mf.curve.deltaOfRefAndAveHeadings; } diff --git a/SourceCode/GPS/Forms/FormABCurve.Designer.cs b/SourceCode/GPS/Forms/FormABCurve.Designer.cs index 6e890c7fa..63911f91f 100644 --- a/SourceCode/GPS/Forms/FormABCurve.Designer.cs +++ b/SourceCode/GPS/Forms/FormABCurve.Designer.cs @@ -44,14 +44,6 @@ private void InitializeComponent() this.timer1 = new System.Windows.Forms.Timer(this.components); this.btnAddAndGo = new System.Windows.Forms.Button(); this.btnNewCurve = new System.Windows.Forms.Button(); - this.label18 = new System.Windows.Forms.Label(); - this.nudLatitude = new System.Windows.Forms.NumericUpDown(); - this.nudLongitude = new System.Windows.Forms.NumericUpDown(); - this.button2 = new System.Windows.Forms.Button(); - this.comboBox1 = new System.Windows.Forms.ComboBox(); - this.label5 = new System.Windows.Forms.Label(); - ((System.ComponentModel.ISupportInitialize)(this.nudLatitude)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudLongitude)).BeginInit(); this.SuspendLayout(); // // lblCurveExists @@ -87,7 +79,7 @@ private void InitializeComponent() this.lvLines.UseCompatibleStateImageBehavior = false; this.lvLines.View = System.Windows.Forms.View.Tile; this.lvLines.Visible = false; - this.lvLines.SelectedIndexChanged += new System.EventHandler(this.LvLines_SelectedIndexChanged); + this.lvLines.SelectedIndexChanged += new System.EventHandler(this.lvLines_SelectedIndexChanged); // // chField // @@ -107,7 +99,7 @@ private void InitializeComponent() this.textBox1.TabIndex = 145; this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.textBox1.Visible = false; - this.textBox1.Enter += new System.EventHandler(this.TextBox1_Enter); + this.textBox1.Enter += new System.EventHandler(this.textBox1_Enter); // // label2 // @@ -124,9 +116,8 @@ private void InitializeComponent() // btnPausePlay // this.btnPausePlay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.btnPausePlay.BackColor = System.Drawing.Color.Transparent; + this.btnPausePlay.BackColor = System.Drawing.SystemColors.Control; this.btnPausePlay.Enabled = false; - this.btnPausePlay.FlatAppearance.BorderSize = 0; this.btnPausePlay.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnPausePlay.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPausePlay.Image = global::AgOpenGPS.Properties.Resources.boundaryPause; @@ -139,14 +130,11 @@ private void InitializeComponent() this.btnPausePlay.Text = "Pause"; this.btnPausePlay.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.btnPausePlay.UseVisualStyleBackColor = false; - this.btnPausePlay.Visible = false; this.btnPausePlay.Click += new System.EventHandler(this.btnPausePlay_Click); // // btnCancel // - this.btnCancel.BackColor = System.Drawing.Color.Transparent; this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.btnCancel.FlatAppearance.BorderSize = 0; this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCancel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCancel.Image = global::AgOpenGPS.Properties.Resources.SwitchOff; @@ -156,15 +144,14 @@ private void InitializeComponent() this.btnCancel.Size = new System.Drawing.Size(78, 74); this.btnCancel.TabIndex = 86; this.btnCancel.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnCancel.UseVisualStyleBackColor = false; + this.btnCancel.UseVisualStyleBackColor = true; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnBPoint // this.btnBPoint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.btnBPoint.BackColor = System.Drawing.Color.Transparent; + this.btnBPoint.BackColor = System.Drawing.SystemColors.Control; this.btnBPoint.DialogResult = System.Windows.Forms.DialogResult.OK; - this.btnBPoint.FlatAppearance.BorderSize = 0; this.btnBPoint.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnBPoint.Font = new System.Drawing.Font("Tahoma", 14.25F); this.btnBPoint.Image = global::AgOpenGPS.Properties.Resources.LetterBBlue; @@ -179,8 +166,7 @@ private void InitializeComponent() // btnAPoint // this.btnAPoint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.btnAPoint.BackColor = System.Drawing.Color.Transparent; - this.btnAPoint.FlatAppearance.BorderSize = 0; + this.btnAPoint.BackColor = System.Drawing.SystemColors.Control; this.btnAPoint.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnAPoint.Font = new System.Drawing.Font("Tahoma", 14.25F); this.btnAPoint.Image = global::AgOpenGPS.Properties.Resources.LetterABlue; @@ -194,9 +180,8 @@ private void InitializeComponent() // // btnListUse // - this.btnListUse.BackColor = System.Drawing.Color.Transparent; + this.btnListUse.BackColor = System.Drawing.SystemColors.Control; this.btnListUse.FlatAppearance.BorderColor = System.Drawing.Color.Black; - this.btnListUse.FlatAppearance.BorderSize = 0; this.btnListUse.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnListUse.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold); this.btnListUse.Image = global::AgOpenGPS.Properties.Resources.FileUse; @@ -213,8 +198,7 @@ private void InitializeComponent() // // btnAddToFile // - this.btnAddToFile.BackColor = System.Drawing.Color.Transparent; - this.btnAddToFile.FlatAppearance.BorderSize = 0; + this.btnAddToFile.BackColor = System.Drawing.SystemColors.Control; this.btnAddToFile.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnAddToFile.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold); this.btnAddToFile.ForeColor = System.Drawing.SystemColors.ControlText; @@ -232,8 +216,7 @@ private void InitializeComponent() // // btnListDelete // - this.btnListDelete.BackColor = System.Drawing.Color.Transparent; - this.btnListDelete.FlatAppearance.BorderSize = 0; + this.btnListDelete.BackColor = System.Drawing.SystemColors.Control; this.btnListDelete.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnListDelete.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold); this.btnListDelete.Image = global::AgOpenGPS.Properties.Resources.FileDelete; @@ -256,8 +239,7 @@ private void InitializeComponent() // // btnAddAndGo // - this.btnAddAndGo.BackColor = System.Drawing.Color.Transparent; - this.btnAddAndGo.FlatAppearance.BorderSize = 0; + this.btnAddAndGo.BackColor = System.Drawing.SystemColors.Control; this.btnAddAndGo.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnAddAndGo.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold); this.btnAddAndGo.ForeColor = System.Drawing.SystemColors.ControlText; @@ -275,9 +257,8 @@ private void InitializeComponent() // // btnNewCurve // - this.btnNewCurve.BackColor = System.Drawing.Color.Transparent; + this.btnNewCurve.BackColor = System.Drawing.SystemColors.ControlLight; this.btnNewCurve.FlatAppearance.BorderColor = System.Drawing.Color.Black; - this.btnNewCurve.FlatAppearance.BorderSize = 0; this.btnNewCurve.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnNewCurve.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnNewCurve.Image = global::AgOpenGPS.Properties.Resources.AddNew; @@ -288,129 +269,15 @@ private void InitializeComponent() this.btnNewCurve.TabIndex = 150; this.btnNewCurve.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.btnNewCurve.UseVisualStyleBackColor = false; - this.btnNewCurve.Click += new System.EventHandler(this.BtnNewCurve_Click); - // - // label18 - // - this.label18.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.label18.AutoSize = true; - this.label18.Font = new System.Drawing.Font("Tahoma", 15.75F); - this.label18.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.label18.Location = new System.Drawing.Point(333, 540); - this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(216, 25); - this.label18.TabIndex = 194; - this.label18.Text = "Latitude ( +90 to -90)"; - this.label18.Visible = false; - // - // nudLatitude - // - this.nudLatitude.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.nudLatitude.DecimalPlaces = 7; - this.nudLatitude.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.nudLatitude.Location = new System.Drawing.Point(319, 568); - this.nudLatitude.Maximum = new decimal(new int[] { - 90, - 0, - 0, - 0}); - this.nudLatitude.Minimum = new decimal(new int[] { - 90, - 0, - 0, - -2147483648}); - this.nudLatitude.Name = "nudLatitude"; - this.nudLatitude.Size = new System.Drawing.Size(257, 52); - this.nudLatitude.TabIndex = 193; - this.nudLatitude.Value = new decimal(new int[] { - 534389172, - 0, - 0, - 458752}); - this.nudLatitude.Visible = false; - // - // nudLongitude - // - this.nudLongitude.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.nudLongitude.DecimalPlaces = 7; - this.nudLongitude.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.nudLongitude.Location = new System.Drawing.Point(277, 485); - this.nudLongitude.Maximum = new decimal(new int[] { - 180, - 0, - 0, - 0}); - this.nudLongitude.Minimum = new decimal(new int[] { - 180, - 0, - 0, - -2147483648}); - this.nudLongitude.Name = "nudLongitude"; - this.nudLongitude.Size = new System.Drawing.Size(299, 52); - this.nudLongitude.TabIndex = 192; - this.nudLongitude.Value = new decimal(new int[] { - 1111596322, - 0, - 0, - -2147024896}); - this.nudLongitude.Visible = false; - // - // button2 - // - this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.button2.Location = new System.Drawing.Point(254, 403); - this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(322, 35); - this.button2.TabIndex = 191; - this.button2.Text = "Use Lat/Lon as centerPoint"; - this.button2.UseVisualStyleBackColor = true; - this.button2.Visible = false; - this.button2.Click += new System.EventHandler(this.Button2_Click); - // - // comboBox1 - // - this.comboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.comboBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.comboBox1.FormattingEnabled = true; - this.comboBox1.Items.AddRange(new object[] { - "AB Curve", - "Spiral Mode", - "Circle Mode"}); - this.comboBox1.Location = new System.Drawing.Point(22, 405); - this.comboBox1.Name = "comboBox1"; - this.comboBox1.Size = new System.Drawing.Size(193, 33); - this.comboBox1.TabIndex = 190; - this.comboBox1.Text = "AB Curve"; - this.comboBox1.Visible = false; - this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.ComboBox1_SelectedIndexChanged); - // - // label5 - // - this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.label5.AutoSize = true; - this.label5.Font = new System.Drawing.Font("Tahoma", 15.75F); - this.label5.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.label5.Location = new System.Drawing.Point(328, 457); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(248, 25); - this.label5.TabIndex = 195; - this.label5.Text = "Longitude (+180 to -180)"; - this.label5.Visible = false; + this.btnNewCurve.Click += new System.EventHandler(this.btnNewCurve_Click); // // FormABCurve // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.SystemColors.ControlLight; - this.ClientSize = new System.Drawing.Size(593, 642); + this.ClientSize = new System.Drawing.Size(593, 376); this.ControlBox = false; - this.Controls.Add(this.label5); - this.Controls.Add(this.label18); - this.Controls.Add(this.nudLatitude); - this.Controls.Add(this.nudLongitude); - this.Controls.Add(this.button2); - this.Controls.Add(this.comboBox1); this.Controls.Add(this.btnNewCurve); this.Controls.Add(this.btnAddAndGo); this.Controls.Add(this.lblCurveExists); @@ -434,8 +301,6 @@ private void InitializeComponent() this.TopMost = true; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormABCurve_FormClosing); this.Load += new System.EventHandler(this.FormABCurve_Load); - ((System.ComponentModel.ISupportInitialize)(this.nudLatitude)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.nudLongitude)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -458,11 +323,5 @@ private void InitializeComponent() private System.Windows.Forms.Timer timer1; private System.Windows.Forms.Button btnAddAndGo; private System.Windows.Forms.Button btnNewCurve; - private System.Windows.Forms.Label label18; - private System.Windows.Forms.NumericUpDown nudLatitude; - private System.Windows.Forms.NumericUpDown nudLongitude; - private System.Windows.Forms.Button button2; - private System.Windows.Forms.ComboBox comboBox1; - private System.Windows.Forms.Label label5; } } diff --git a/SourceCode/GPS/Forms/FormABCurve.cs b/SourceCode/GPS/Forms/FormABCurve.cs index c77cdc2b9..9890f2834 100644 --- a/SourceCode/GPS/Forms/FormABCurve.cs +++ b/SourceCode/GPS/Forms/FormABCurve.cs @@ -1,6 +1,8 @@ using System; +using System.Collections.Generic; using System.Drawing; using System.Globalization; +using System.IO; using System.Windows.Forms; namespace AgOpenGPS @@ -10,8 +12,6 @@ public partial class FormABCurve : Form //access to the main GPS form and all its variables private readonly FormGPS mf; - private bool formLoading = true; - public FormABCurve(Form _mf) { mf = _mf as FormGPS; @@ -32,31 +32,9 @@ private void FormABCurve_Load(object sender, EventArgs e) mf.curve.isOkToAddPoints = false; - formLoading = true; - if (mf.curve.spiralmode) - { - comboBox1.Text = "Spiral Mode"; - button2.Enabled = true; - } - else if (mf.curve.circlemode) - { - comboBox1.Text = "Circle Mode"; - button2.Enabled = true; - } - else - { - comboBox1.Text = "AB Curve"; - button2.Enabled = false; - } - formLoading = false; - - if ((mf.curve.spiralmode || mf.curve.circlemode) && (mf.curve.refList.Count == 1)) - { - lblCurveExists.Text = gStr.gsCurveSet; - } - else if (mf.curve.refList.Count > 3) + if (mf.curve.refList.Count > 3) { - lblCurveExists.Text = gStr.gsCurveSet; + lblCurveExists.Text = gStr.gsCurveSet; ; } else { @@ -85,10 +63,10 @@ private void FormABCurve_Load(object sender, EventArgs e) public void SmoothAB(int smPts) { //count the reference list of original curve - int idx = mf.curve.refList.Count; + int cnt = mf.curve.refList.Count; //the temp array - vec3[] arr = new vec3[idx]; + vec3[] arr = new vec3[cnt]; //read the points before and after the setpoint for (int s = 0; s < smPts / 2; s++) @@ -98,7 +76,7 @@ public void SmoothAB(int smPts) arr[s].heading = mf.curve.refList[s].heading; } - for (int s = idx - (smPts / 2); s < idx; s++) + for (int s = cnt - (smPts / 2); s < cnt; s++) { arr[s].easting = mf.curve.refList[s].easting; arr[s].northing = mf.curve.refList[s].northing; @@ -106,7 +84,7 @@ public void SmoothAB(int smPts) } //average them - center weighted average - for (int i = smPts / 2; i < idx - (smPts / 2); i++) + for (int i = smPts / 2; i < cnt - (smPts / 2); i++) { for (int j = -smPts / 2; j < smPts / 2; j++) { @@ -120,7 +98,7 @@ public void SmoothAB(int smPts) //make a list to draw mf.curve.refList?.Clear(); - for (int i = 0; i < idx; i++) + for (int i = 0; i < cnt; i++) { mf.curve.refList.Add(arr[i]); } @@ -138,23 +116,19 @@ private void btnAddToFile_Click(object sender, EventArgs e) if (mf.curve.numCurveLineSelected > mf.curve.numCurveLines) mf.curve.numCurveLineSelected = mf.curve.numCurveLines; //array number is 1 less since it starts at zero - int idx = mf.curve.curveArr.Count - 1; + int cnt = mf.curve.curveArr.Count-1; - mf.curve.curveArr[idx].Name = textBox1.Text.Trim(); - - mf.curve.curveArr[idx].spiralmode = mf.curve.spiralmode; - mf.curve.curveArr[idx].circlemode = mf.curve.circlemode; - - mf.curve.curveArr[idx].aveHeading = mf.curve.aveLineHeading; + mf.curve.curveArr[cnt].Name = textBox1.Text.Trim(); + mf.curve.curveArr[cnt].aveHeading = mf.curve.aveLineHeading; //write out the Curve Points foreach (var item in mf.curve.refList) { - mf.curve.curveArr[idx].curvePts.Add(item); + mf.curve.curveArr[cnt].curvePts.Add(item); } //update the listbox with new curve name - ListViewItem itm = new ListViewItem(mf.curve.curveArr[idx].Name); + ListViewItem itm = new ListViewItem(mf.curve.curveArr[cnt].Name); lvLines.Items.Add(itm); lvLines.Enabled = true; textBox1.BackColor = SystemColors.ControlLight; @@ -176,9 +150,8 @@ private void btnAddToFile_Click(object sender, EventArgs e) var form2 = new FormTimedMessage(2000, gStr.gsNoABCurveCreated, gStr.gsCompleteAnABCurveLineFirst); form2.Show(); textBox1.BackColor = SystemColors.Window; - } + } } - private void btnAddAndGo_Click(object sender, EventArgs e) { if (mf.curve.refList.Count > 0) @@ -196,9 +169,6 @@ private void btnAddAndGo_Click(object sender, EventArgs e) mf.curve.curveArr[idx].Name = textBox1.Text.Trim(); mf.curve.curveArr[idx].aveHeading = mf.curve.aveLineHeading; - mf.curve.curveArr[idx].spiralmode = mf.curve.spiralmode; - mf.curve.curveArr[idx].circlemode = mf.curve.circlemode; - //write out the Curve Points foreach (var item in mf.curve.refList) { @@ -218,9 +188,9 @@ private void btnAddAndGo_Click(object sender, EventArgs e) form2.Show(); textBox1.BackColor = SystemColors.Window; } - } - private void BtnNewCurve_Click(object sender, EventArgs e) + } + private void btnNewCurve_Click(object sender, EventArgs e) { ShowSavedPanel(false); btnNewCurve.Enabled = false; @@ -244,7 +214,6 @@ private void btnAPoint_Click(object sender, System.EventArgs e) private void btnBPoint_Click(object sender, System.EventArgs e) { - vec3 pivAxle = mf.pivotAxlePos; mf.curve.aveLineHeading = 0; mf.curve.isOkToAddPoints = false; btnBPoint.Enabled = false; @@ -254,55 +223,7 @@ private void btnBPoint_Click(object sender, System.EventArgs e) lvLines.Enabled = false; int cnt = mf.curve.refList.Count; - - if (mf.curve.spiralmode || mf.curve.circlemode) - { - if (mf.curve.refList.Count > 1) - { - double easting = 0; - double northing = 0; - - if (mf.curve.refList.Count > 1) - { - for (int i = 0; i < (mf.curve.refList.Count); i++) - { - easting += mf.curve.refList[i].easting; - northing += mf.curve.refList[i].northing; - } - } - easting /= mf.curve.refList.Count; - northing /= mf.curve.refList.Count; - - mf.curve.refList?.Clear(); - mf.curve.refList.Add(new vec3(easting, northing, 0)); - } - else if (mf.curve.refList.Count < 1) - { - mf.curve.refList.Add(new vec3(pivAxle.easting, pivAxle.northing, 0)); - } - - mf.curve.oldhowManyPathsAway = -1;//reset - mf.curve.isCurveSet = true; - mf.EnableYouTurnButtons(); - //mf.FileSaveCurveLine(); - lblCurveExists.Text = gStr.gsCurveSet; - - ShowSavedPanel(true); - - btnAddAndGo.Enabled = true; - btnAddToFile.Enabled = true; - btnAPoint.Enabled = false; - btnBPoint.Enabled = false; - btnPausePlay.Enabled = false; - - textBox1.BackColor = Color.LightGreen; - textBox1.Enabled = true; - - if (mf.curve.spiralmode) textBox1.Text = "spiral " + DateTime.Now.ToString("hh:mm:ss", CultureInfo.InvariantCulture); - - if (mf.curve.circlemode) textBox1.Text = "circle " + DateTime.Now.ToString("hh:mm:ss", CultureInfo.InvariantCulture); - } - else if (cnt > 3) + if (cnt > 3) { //make sure distance isn't too big between points on Turn for (int i = 0; i < cnt - 1; i++) @@ -355,8 +276,8 @@ private void btnBPoint_Click(object sender, System.EventArgs e) textBox1.BackColor = Color.LightGreen; textBox1.Enabled = true; - textBox1.Text = (Math.Round(glm.toDegrees(mf.curve.aveLineHeading), 1)).ToString(CultureInfo.InvariantCulture) - + "\u00B0" + mf.FindDirection(mf.curve.aveLineHeading) + textBox1.Text = (Math.Round(glm.toDegrees(mf.curve.aveLineHeading), 1)).ToString(CultureInfo.InvariantCulture) + + "\u00B0" + mf.FindDirection(mf.curve.aveLineHeading) + DateTime.Now.ToString("hh:mm:ss", CultureInfo.InvariantCulture); } else @@ -373,15 +294,13 @@ private void btnBPoint_Click(object sender, System.EventArgs e) lvLines.SelectedItems.Clear(); } - - private void TextBox1_Enter(object sender, EventArgs e) + private void textBox1_Enter(object sender, EventArgs e) { textBox1.Text = ""; } private void btnCancel_Click(object sender, System.EventArgs e) { - mf.curve.moveDistance = 0; mf.curve.isOkToAddPoints = false; mf.curve.isCurveSet = false; mf.curve.refList?.Clear(); @@ -419,12 +338,11 @@ private void btnListDelete_Click(object sender, EventArgs e) } mf.FileSaveCurveLines(); - } + } } private void btnListUse_Click(object sender, EventArgs e) { - vec3 pivAxle = mf.pivotAxlePos; mf.curve.moveDistance = 0; int count = lvLines.SelectedItems.Count; @@ -433,43 +351,15 @@ private void btnListUse_Click(object sender, EventArgs e) { int idx = lvLines.SelectedIndices[0]; mf.curve.numCurveLineSelected = idx + 1; + mf.curve.aveLineHeading = mf.curve.curveArr[idx].aveHeading; - mf.curve.spiralmode = mf.curve.curveArr[idx].spiralmode; - mf.curve.circlemode = mf.curve.curveArr[idx].circlemode; - - if (mf.curve.curveArr[idx].spiralmode || mf.curve.curveArr[idx].circlemode) + mf.curve.refList?.Clear(); + for (int i = 0; i < mf.curve.curveArr[idx].curvePts.Count; i++) { - if (mf.curve.curveArr[idx].spiralmode) comboBox1.Text = "Spiral Mode"; - else comboBox1.Text = "Circle Mode"; - if (mf.curve.curveArr[idx].curvePts.Count == 1) - { - mf.curve.refList.Clear(); - mf.curve.refList.Add(new vec3(mf.curve.curveArr[idx].curvePts[0].easting, mf.curve.curveArr[idx].curvePts[0].northing, 0)); - } - else if (mf.curve.curveArr[idx].curvePts.Count > 1) - { - double easting = 0; - double northing = 0; - for (int i = 0; i < (mf.curve.curveArr[idx].curvePts.Count); i++) - { - easting += mf.curve.curveArr[idx].curvePts[i].easting; - northing += mf.curve.curveArr[idx].curvePts[i].northing; - } - easting /= mf.curve.curveArr[idx].curvePts.Count; - northing /= mf.curve.curveArr[idx].curvePts.Count; - mf.curve.refList.Clear(); - mf.curve.refList.Add(new vec3(easting, northing, 0)); - } - else - { - mf.curve.refList.Clear(); - mf.curve.refList.Add(new vec3(pivAxle.easting, pivAxle.northing, 0)); - } - mf.curve.oldhowManyPathsAway = -1;//reset - mf.curve.isCurveSet = true; - mf.EnableYouTurnButtons(); + mf.curve.refList.Add(mf.curve.curveArr[idx].curvePts[i]); } - else if (mf.curve.refList.Count < 3) + + if (mf.curve.refList.Count < 3) { mf.btnCurve.PerformClick(); mf.curve.ResetCurveLine(); @@ -477,15 +367,10 @@ private void btnListUse_Click(object sender, EventArgs e) } else { - mf.curve.aveLineHeading = mf.curve.curveArr[idx].aveHeading; - mf.curve.refList?.Clear(); - for (int i = 0; i < mf.curve.curveArr[idx].curvePts.Count; i++) - { - mf.curve.refList.Add(mf.curve.curveArr[idx].curvePts[i]); - } mf.curve.isCurveSet = true; //mf.EnableYouTurnButtons(); } + //can go back to Mainform without seeing form. Close(); } @@ -536,17 +421,10 @@ private void ShowSavedPanel(bool showPanel) label2.Visible = false; lblCurveExists.Visible = false; - comboBox1.Visible = false; - button2.Visible = false; - label5.Visible = false; - label18.Visible = false; - nudLatitude.Visible = false; - nudLongitude.Visible = false; } else //show the A B Pause { this.Size = new System.Drawing.Size(239, 350); - //this.Size = new System.Drawing.Size(339, 670); btnAddToFile.Visible = false; btnAddAndGo.Visible = false; btnListDelete.Visible = false; @@ -563,12 +441,6 @@ private void ShowSavedPanel(bool showPanel) label2.Visible = true; lblCurveExists.Visible = true; - //comboBox1.Visible = true; - //button2.Visible = true; - //label5.Visible = true; - //label18.Visible = true; - //nudLatitude.Visible = true; - //nudLongitude.Visible = true; } } @@ -586,159 +458,51 @@ private void Timer1_Tick(object sender, EventArgs e) btnListUse.Enabled = false; } } - + private void FormABCurve_FormClosing(object sender, FormClosingEventArgs e) { if (this.Width < 300) e.Cancel = true; } - private void LvLines_SelectedIndexChanged(object sender, EventArgs e) + private void lvLines_SelectedIndexChanged(object sender, EventArgs e) { mf.curve.moveDistance = 0; int count = lvLines.SelectedItems.Count; - vec3 pivAxle = mf.pivotAxlePos; if (count > 0) { int idx = lvLines.SelectedIndices[0]; mf.curve.numCurveLineSelected = idx + 1; + mf.curve.aveLineHeading = mf.curve.curveArr[idx].aveHeading; - mf.curve.spiralmode = mf.curve.curveArr[idx].spiralmode; - mf.curve.circlemode = mf.curve.curveArr[idx].circlemode; - - if (mf.curve.curveArr[idx].spiralmode || mf.curve.curveArr[idx].circlemode) + mf.curve.refList?.Clear(); + for (int i = 0; i < mf.curve.curveArr[idx].curvePts.Count; i++) { - if (mf.curve.curveArr[idx].spiralmode) comboBox1.Text = "Spiral Mode"; - else comboBox1.Text = "Circle Mode"; - - if (mf.curve.curveArr[idx].curvePts.Count == 1) - { - mf.curve.refList.Clear(); - mf.curve.refList.Add(new vec3(mf.curve.curveArr[idx].curvePts[0].easting, mf.curve.curveArr[idx].curvePts[0].northing, 0)); - } - else if (mf.curve.curveArr[idx].curvePts.Count > 1) - { - double easting = 0; - double northing = 0; - for (int i = 0; i < (mf.curve.curveArr[idx].curvePts.Count); i++) - { - easting += mf.curve.curveArr[idx].curvePts[i].easting; - northing += mf.curve.curveArr[idx].curvePts[i].northing; - } - easting /= mf.curve.curveArr[idx].curvePts.Count; - northing /= mf.curve.curveArr[idx].curvePts.Count; - mf.curve.refList.Clear(); - mf.curve.refList.Add(new vec3(easting, northing, 0)); - } - else - { - mf.curve.refList.Clear(); - mf.curve.refList.Add(new vec3(pivAxle.easting, pivAxle.northing, 0)); - } - mf.curve.oldhowManyPathsAway = -1;//reset - mf.curve.isCurveSet = true; - //mf.EnableYouTurnButtons(); + mf.curve.refList.Add(mf.curve.curveArr[idx].curvePts[i]); } - else if (mf.curve.curveArr[idx].curvePts.Count < 3) + + if (mf.curve.refList.Count < 3) { mf.btnCurve.PerformClick(); mf.curve.ResetCurveLine(); //mf.DisableYouTurnButtons(); - - mf.curve.curveArr.RemoveAt(idx); - lvLines.SelectedItems[0].Remove(); - - //everything changed, so make sure its right - mf.curve.numCurveLines = mf.curve.curveArr.Count; - if (mf.curve.numCurveLineSelected > mf.curve.numCurveLines) mf.curve.numCurveLineSelected = mf.curve.numCurveLines; - - //if there are no saved oned, empty out current curve line and turn off - if (mf.curve.numCurveLines == 0) - { - mf.curve.ResetCurveLine(); - if (mf.isAutoSteerBtnOn) mf.btnAutoSteer.PerformClick(); - if (mf.yt.isYouTurnBtnOn) mf.btnEnableAutoYouTurn.PerformClick(); - } - - mf.FileSaveCurveLines(); } else { - mf.curve.aveLineHeading = mf.curve.curveArr[idx].aveHeading; - mf.curve.refList?.Clear(); - for (int i = 0; i < mf.curve.curveArr[idx].curvePts.Count; i++) - { - mf.curve.refList.Add(mf.curve.curveArr[idx].curvePts[i]); - } mf.curve.isCurveSet = true; //mf.EnableYouTurnButtons(); - } //can go back to Mainform without seeing form. + } + //can go back to Mainform without seeing form. } - } - - private void ComboBox1_SelectedIndexChanged(object sender, EventArgs e) - { - if (formLoading == true) return; - mf.curve.refList?.Clear(); - if (comboBox1.SelectedItem.ToString() == "Spiral Mode") - { - btnBPoint.Enabled = false; - btnAPoint.Enabled = true; - mf.curve.spiralmode = true; - mf.curve.circlemode = false; - button2.Enabled = true; - } - else if (comboBox1.SelectedItem.ToString() == "Circle Mode") - { - btnBPoint.Enabled = false; - btnAPoint.Enabled = true; - mf.curve.spiralmode = false; - mf.curve.circlemode = true; - button2.Enabled = true; - } + //no item selected else { - btnBPoint.Enabled = false; - btnAPoint.Enabled = true; - mf.curve.spiralmode = false; - mf.curve.circlemode = false; - button2.Enabled = false; + return; } - mf.curve.isOkToAddPoints = false; - mf.curve.isCurveSet = false; - mf.DisableYouTurnButtons(); - } - - private void Button2_Click(object sender, EventArgs e) - { - double[] xy = mf.pn.DecDeg2UTM((double)nudLatitude.Value, (double)nudLongitude.Value); - double east = xy[0] - mf.pn.utmEast + mf.pn.fixOffset.easting; - double nort = xy[1] - mf.pn.utmNorth + mf.pn.fixOffset.northing; - - mf.curve.refList.Add(new vec3((Math.Cos(-mf.pn.convergenceAngle) * east) - (Math.Sin(-mf.pn.convergenceAngle) * nort), (Math.Sin(-mf.pn.convergenceAngle) * east) + (Math.Cos(-mf.pn.convergenceAngle) * nort), 0)); - //53.4389172 - //-111.1596322 lon - mf.curve.oldhowManyPathsAway = -1; - mf.curve.isCurveSet = true; - mf.EnableYouTurnButtons(); - lblCurveExists.Text = gStr.gsCurveSet; - - ShowSavedPanel(true); - - btnAddAndGo.Enabled = true; - btnAddToFile.Enabled = true; - btnAPoint.Enabled = false; - btnBPoint.Enabled = false; - btnPausePlay.Enabled = false; - - textBox1.BackColor = Color.LightGreen; - textBox1.Enabled = true; - if (mf.curve.spiralmode) textBox1.Text = "Spiral " + DateTime.Now.ToString("HH:mm:ss", CultureInfo.InvariantCulture); - - if (mf.curve.circlemode) textBox1.Text = "Circle " + DateTime.Now.ToString("HH:mm:ss", CultureInfo.InvariantCulture); } + } } \ No newline at end of file diff --git a/SourceCode/GPS/Forms/FormABCurve.resx b/SourceCode/GPS/Forms/FormABCurve.resx index 0b1bdb9e3..1f666f268 100644 --- a/SourceCode/GPS/Forms/FormABCurve.resx +++ b/SourceCode/GPS/Forms/FormABCurve.resx @@ -120,7 +120,4 @@ 17, 17 - - 46 - \ No newline at end of file diff --git a/SourceCode/GPS/Forms/FormABDraw.Designer.cs b/SourceCode/GPS/Forms/FormABDraw.Designer.cs index cfaea2799..45dfa4a23 100644 --- a/SourceCode/GPS/Forms/FormABDraw.Designer.cs +++ b/SourceCode/GPS/Forms/FormABDraw.Designer.cs @@ -141,7 +141,7 @@ private void InitializeComponent() this.btnSelectCurve.Size = new System.Drawing.Size(82, 85); this.btnSelectCurve.TabIndex = 321; this.btnSelectCurve.UseVisualStyleBackColor = false; - this.btnSelectCurve.Click += new System.EventHandler(this.BtnSelectCurve_Click); + this.btnSelectCurve.Click += new System.EventHandler(this.btnSelectCurve_Click); // // btnSelectABLine // @@ -158,7 +158,7 @@ private void InitializeComponent() this.btnSelectABLine.Size = new System.Drawing.Size(82, 85); this.btnSelectABLine.TabIndex = 322; this.btnSelectABLine.UseVisualStyleBackColor = false; - this.btnSelectABLine.Click += new System.EventHandler(this.BtnSelectABLine_Click); + this.btnSelectABLine.Click += new System.EventHandler(this.btnSelectABLine_Click); // // panel1 // @@ -183,7 +183,7 @@ private void InitializeComponent() this.btnDeleteCurve.Size = new System.Drawing.Size(88, 78); this.btnDeleteCurve.TabIndex = 325; this.btnDeleteCurve.UseVisualStyleBackColor = false; - this.btnDeleteCurve.Click += new System.EventHandler(this.BtnDeleteCurve_Click); + this.btnDeleteCurve.Click += new System.EventHandler(this.btnDeleteCurve_Click); // // btnDeleteABLine // @@ -200,7 +200,7 @@ private void InitializeComponent() this.btnDeleteABLine.Size = new System.Drawing.Size(88, 78); this.btnDeleteABLine.TabIndex = 326; this.btnDeleteABLine.UseVisualStyleBackColor = false; - this.btnDeleteABLine.Click += new System.EventHandler(this.BtnDeleteABLine_Click); + this.btnDeleteABLine.Click += new System.EventHandler(this.btnDeleteABLine_Click); // // lblNumCu // @@ -266,7 +266,7 @@ private void InitializeComponent() this.btnCancelTouch.Size = new System.Drawing.Size(64, 63); this.btnCancelTouch.TabIndex = 331; this.btnCancelTouch.UseVisualStyleBackColor = false; - this.btnCancelTouch.Click += new System.EventHandler(this.BtnCancelTouch_Click); + this.btnCancelTouch.Click += new System.EventHandler(this.btnCancelTouch_Click); // // label1 // @@ -365,7 +365,7 @@ private void InitializeComponent() 0, 0, -2147483648}); - this.nudDistance.Enter += new System.EventHandler(this.NudDistance_Enter); + this.nudDistance.Enter += new System.EventHandler(this.nudDistance_Enter); // // label5 // diff --git a/SourceCode/GPS/Forms/FormABDraw.cs b/SourceCode/GPS/Forms/FormABDraw.cs index 00f6d6edb..b59639ff4 100644 --- a/SourceCode/GPS/Forms/FormABDraw.cs +++ b/SourceCode/GPS/Forms/FormABDraw.cs @@ -46,7 +46,7 @@ private void FixLabelsABLine() else lblABLineName.Text = "***"; } - private void BtnSelectCurve_Click(object sender, EventArgs e) + private void btnSelectCurve_Click(object sender, EventArgs e) { if (mf.curve.numCurveLines > 0) { @@ -61,7 +61,7 @@ private void BtnSelectCurve_Click(object sender, EventArgs e) FixLabelsCurve(); } - private void BtnSelectABLine_Click(object sender, EventArgs e) + private void btnSelectABLine_Click(object sender, EventArgs e) { if (mf.ABLine.numABLines > 0) { @@ -76,7 +76,7 @@ private void BtnSelectABLine_Click(object sender, EventArgs e) FixLabelsABLine(); } - private void BtnCancelTouch_Click(object sender, EventArgs e) + private void btnCancelTouch_Click(object sender, EventArgs e) { btnMakeABLine.Enabled = false; btnMakeCurve.Enabled = false; @@ -88,14 +88,14 @@ private void BtnCancelTouch_Click(object sender, EventArgs e) btnCancelTouch.Enabled = false; } - private void NudDistance_Enter(object sender, EventArgs e) + private void nudDistance_Enter(object sender, EventArgs e) { mf.KeypadToNUD((NumericUpDown)sender); btnSelectABLine.Focus(); } - private void BtnDeleteCurve_Click(object sender, EventArgs e) + private void btnDeleteCurve_Click(object sender, EventArgs e) { if (mf.curve.curveArr.Count > 0 && mf.curve.numCurveLineSelected > 0) { @@ -110,7 +110,7 @@ private void BtnDeleteCurve_Click(object sender, EventArgs e) FixLabelsCurve(); } - private void BtnDeleteABLine_Click(object sender, EventArgs e) + private void btnDeleteABLine_Click(object sender, EventArgs e) { if (mf.ABLine.lineArr.Count > 0 && mf.ABLine.numABLineSelected > 0) { @@ -144,28 +144,26 @@ public FormABDraw(Form callingForm) private void FormABDraw_Load(object sender, EventArgs e) { - int cnt = mf.bnd.bndArr[mf.bnd.lastBoundary].bndLine.Count; + int cnt = mf.bnd.bndArr[0].bndLine.Count; arr = new vec3[cnt * 2]; for (int i = 0; i < cnt; i++) { - arr[i].easting = mf.bnd.bndArr[mf.bnd.lastBoundary].bndLine[i].easting; - arr[i].northing = mf.bnd.bndArr[mf.bnd.lastBoundary].bndLine[i].northing; - arr[i].heading = mf.bnd.bndArr[mf.bnd.lastBoundary].bndLine[i].northing; + arr[i].easting = mf.bnd.bndArr[0].bndLine[i].easting; + arr[i].northing = mf.bnd.bndArr[0].bndLine[i].northing; + arr[i].heading = mf.bnd.bndArr[0].bndLine[i].northing; } for (int i = cnt; i < cnt * 2; i++) { - arr[i].easting = mf.bnd.bndArr[mf.bnd.lastBoundary].bndLine[i - cnt].easting; - arr[i].northing = mf.bnd.bndArr[mf.bnd.lastBoundary].bndLine[i - cnt].northing; - arr[i].heading = mf.bnd.bndArr[mf.bnd.lastBoundary].bndLine[i - cnt].heading; + arr[i].easting = mf.bnd.bndArr[0].bndLine[i - cnt].easting; + arr[i].northing = mf.bnd.bndArr[0].bndLine[i - cnt].northing; + arr[i].heading = mf.bnd.bndArr[0].bndLine[i - cnt].heading; } nudDistance.Value = (decimal)(mf.vehicle.toolWidth * 100); FixLabelsABLine(); FixLabelsCurve(); - - CalculateMinMax(); } private void oglSelf_MouseDown(object sender, MouseEventArgs e) @@ -287,9 +285,6 @@ private void BtnMakeCurve_Click(object sender, EventArgs e) { btnCancelTouch.Enabled = false; - mf.curve.spiralmode = false; - mf.curve.circlemode = false; - mf.curve.refList?.Clear(); vec3 chk = new vec3(arr[start]); @@ -350,7 +345,7 @@ private void BtnMakeCurve_Click(object sender, EventArgs e) chk.easting = (Math.Sin(headingAt90) * Math.Abs(offset)) + chk.easting; chk.northing = (Math.Cos(headingAt90) * Math.Abs(offset)) + chk.northing; - if (!mf.bnd.bndArr[mf.bnd.lastBoundary].IsPointInsideBoundary(chk)) headingAt90 = mf.curve.aveLineHeading - glm.PIBy2; + if (!mf.bnd.bndArr[0].IsPointInsideBoundary(chk)) headingAt90 = mf.curve.aveLineHeading - glm.PIBy2; cnt = mf.curve.refList.Count; @@ -426,7 +421,7 @@ private void BtnMakeABLine_Click(object sender, EventArgs e) mf.ABLine.lineArr[idx].origin.easting = (Math.Sin(headingCalc) * Math.Abs(offset)) + arr[A].easting; mf.ABLine.lineArr[idx].origin.northing = (Math.Cos(headingCalc) * Math.Abs(offset)) + arr[A].northing; - if (!mf.bnd.bndArr[mf.bnd.lastBoundary].IsPointInsideBoundary(mf.ABLine.lineArr[idx].origin)) + if (!mf.bnd.bndArr[0].IsPointInsideBoundary(mf.ABLine.lineArr[idx].origin)) { headingCalc = abHead - glm.PIBy2; mf.ABLine.lineArr[idx].origin.easting = (Math.Sin(headingCalc) * Math.Abs(offset)) + arr[A].easting; @@ -461,54 +456,14 @@ private void oglSelf_Paint(object sender, PaintEventArgs e) GL.Clear(ClearBufferMask.DepthBufferBit | ClearBufferMask.ColorBufferBit); GL.LoadIdentity(); // Reset The View + CalculateMinMax(); + //back the camera up GL.Translate(0, 0, -maxFieldDistance); //translate to that spot in the world GL.Translate(-fieldCenterX, -fieldCenterY, 0); - GL.Color3(0.352, 0.32, 0.332); - - //draw patches j= # of sections - for (int j = 0; j < mf.vehicle.numSuperSection; j++) - { - //every time the section turns off and on is a new patch - int patchCount = mf.section[j].patchList.Count; - - if (patchCount > 0) - { - //for every new chunk of patch - foreach (var triList in mf.section[j].patchList) - { - //draw the triangle in each triangle strip - GL.Begin(PrimitiveType.TriangleStrip); - int count2 = triList.Count; - int mipmap = 16; - - //if large enough patch and camera zoomed out, fake mipmap the patches, skip triangles - if (count2 >= (mipmap)) - { - int step = mipmap; - for (int i = 0; i < count2; i += step) - { - GL.Vertex3(triList[i].easting, triList[i].northing, 0); i++; - GL.Vertex3(triList[i].easting, triList[i].northing, 0); i++; - - //too small to mipmap it - if (count2 - i <= (mipmap + 2)) - step = 0; - } - } - - else { for (int i = 0; i < count2; i++) GL.Vertex3(triList[i].easting, triList[i].northing, 0); } - GL.End(); - - } - } - } //end of section patches - - - GL.Color3(1, 1, 1); //draw all the boundaries @@ -577,10 +532,6 @@ private void DrawBuiltLines() for (int i = 0; i < numCurv; i++) { - if (mf.curve.curveArr[i].circlemode || mf.curve.curveArr[i].spiralmode) - { - //System.Windows.Forms.MessageBox.Show("circle / spiral"); - } GL.LineWidth(2); GL.Color3(0.0f, 1.0f, 0.0f); GL.Begin(PrimitiveType.LineStrip); @@ -591,18 +542,10 @@ private void DrawBuiltLines() GL.End(); } - - //why double draw?;) - - GL.Disable(EnableCap.LineStipple); if (mf.curve.numCurveLineSelected > 0) { - if (mf.curve.curveArr[mf.curve.numCurveLineSelected - 1].circlemode || mf.curve.curveArr[mf.curve.numCurveLineSelected - 1].spiralmode) - { - //System.Windows.Forms.MessageBox.Show("circle / spiral"); - } GL.LineWidth(4); GL.Color3(0.0f, 1.0f, 0.0f); GL.Begin(PrimitiveType.LineStrip); @@ -688,17 +631,7 @@ private void btnExit_Click(object sender, EventArgs e) if (mf.curve.numCurveLineSelected > 0) { int idx = mf.curve.numCurveLineSelected - 1; - if (mf.curve.curveArr[idx].circlemode || mf.curve.curveArr[idx].spiralmode) - { - //System.Windows.Forms.MessageBox.Show("circle / spiral"); - } - - - mf.curve.aveLineHeading = mf.curve.curveArr[idx].aveHeading; - - - mf.curve.refList?.Clear(); foreach (vec3 v in mf.curve.curveArr[idx].curvePts) mf.curve.refList.Add(v); mf.curve.isCurveSet = true; @@ -768,39 +701,39 @@ private void CalculateMinMax() maxFieldX = -9999999; maxFieldY = -9999999; //draw patches j= # of sections - //for (int j = 0; j < mf.vehicle.numSuperSection; j++) - //{ - // //every time the section turns off and on is a new patch - // int patchCount = mf.section[j].patchList.Count; - - // if (patchCount > 0) - // { - // //for every new chunk of patch - // foreach (var triList in mf.section[j].patchList) - // { - // int count2 = triList.Count; - // for (int i = 0; i < count2; i += 3) - // { - // double x = triList[i].easting; - // double y = triList[i].northing; - - // //also tally the max/min of field x and z - // if (minFieldX > x) minFieldX = x; - // if (maxFieldX < x) maxFieldX = x; - // if (minFieldY > y) minFieldY = y; - // if (maxFieldY < y) maxFieldY = y; - // } - // } - // } + for (int j = 0; j < mf.vehicle.numSuperSection; j++) + { + //every time the section turns off and on is a new patch + int patchCount = mf.section[j].patchList.Count; + + if (patchCount > 0) + { + //for every new chunk of patch + foreach (var triList in mf.section[j].patchList) + { + int count2 = triList.Count; + for (int i = 0; i < count2; i += 3) + { + double x = triList[i].easting; + double y = triList[i].northing; + + //also tally the max/min of field x and z + if (minFieldX > x) minFieldX = x; + if (maxFieldX < x) maxFieldX = x; + if (minFieldY > y) minFieldY = y; + if (maxFieldY < y) maxFieldY = y; + } + } + } //min max of the boundary - //if (mf.bnd.bndArr.Count > 0 && mf.bnd.lastBoundary < mf.bnd.bndArr.Count) + if (mf.bnd.bndArr[0].isSet) { - int bndCnt = mf.bnd.bndArr[mf.bnd.lastBoundary].bndLine.Count; + int bndCnt = mf.bnd.bndArr[0].bndLine.Count; for (int i = 0; i < bndCnt; i++) { - double x = mf.bnd.bndArr[mf.bnd.lastBoundary].bndLine[i].easting; - double y = mf.bnd.bndArr[mf.bnd.lastBoundary].bndLine[i].northing; + double x = mf.bnd.bndArr[0].bndLine[i].easting; + double y = mf.bnd.bndArr[0].bndLine[i].northing; //also tally the max/min of field x and z if (minFieldX > x) minFieldX = x; @@ -841,7 +774,7 @@ private void CalculateMinMax() // lblFieldWidthEastWest.Text = Math.Abs((maxFieldX - minFieldX) * glm.m2ft).ToString("N0") + " ft"; // lblFieldWidthNorthSouth.Text = Math.Abs((maxFieldY - minFieldY) * glm.m2ft).ToString("N0") + " ft"; //} - + } } } } \ No newline at end of file diff --git a/SourceCode/GPS/Forms/FormABLine.Designer.cs b/SourceCode/GPS/Forms/FormABLine.Designer.cs index 3434ea50c..87c60734f 100644 --- a/SourceCode/GPS/Forms/FormABLine.Designer.cs +++ b/SourceCode/GPS/Forms/FormABLine.Designer.cs @@ -32,6 +32,9 @@ private void InitializeComponent() this.timer1 = new System.Windows.Forms.Timer(this.components); this.lblFixHeading = new System.Windows.Forms.Label(); this.lblKeepGoing = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.nudBasedOnPass = new System.Windows.Forms.NumericUpDown(); + this.nudTramRepeats = new System.Windows.Forms.NumericUpDown(); this.label3 = new System.Windows.Forms.Label(); this.tboxHeading = new System.Windows.Forms.TextBox(); this.btnDnABHeadingBy1 = new System.Windows.Forms.Button(); @@ -39,6 +42,7 @@ private void InitializeComponent() this.tboxABLineName = new System.Windows.Forms.TextBox(); this.lvLines = new System.Windows.Forms.ListView(); this.chField = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.label1 = new System.Windows.Forms.Label(); this.btnAddAndGo = new System.Windows.Forms.Button(); this.btnNewABLine = new System.Windows.Forms.Button(); this.btnListUse = new System.Windows.Forms.Button(); @@ -47,6 +51,8 @@ private void InitializeComponent() this.btnTurnOffAB = new System.Windows.Forms.Button(); this.btnBPoint = new System.Windows.Forms.Button(); this.btnAPoint = new System.Windows.Forms.Button(); + ((System.ComponentModel.ISupportInitialize)(this.nudBasedOnPass)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudTramRepeats)).BeginInit(); this.SuspendLayout(); // // timer1 @@ -60,7 +66,7 @@ private void InitializeComponent() this.lblFixHeading.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lblFixHeading.AutoSize = true; this.lblFixHeading.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold); - this.lblFixHeading.Location = new System.Drawing.Point(394, 2); + this.lblFixHeading.Location = new System.Drawing.Point(400, 2); this.lblFixHeading.Name = "lblFixHeading"; this.lblFixHeading.Size = new System.Drawing.Size(32, 33); this.lblFixHeading.TabIndex = 64; @@ -77,6 +83,44 @@ private void InitializeComponent() this.lblKeepGoing.TabIndex = 74; this.lblKeepGoing.Text = "?"; // + // label2 + // + this.label2.Anchor = System.Windows.Forms.AnchorStyles.Top; + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Tahoma", 12F); + this.label2.Location = new System.Drawing.Point(153, 573); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(64, 19); + this.label2.TabIndex = 76; + this.label2.Text = "Repeats"; + // + // nudBasedOnPass + // + this.nudBasedOnPass.Anchor = System.Windows.Forms.AnchorStyles.Top; + this.nudBasedOnPass.BackColor = System.Drawing.Color.MediumOrchid; + this.nudBasedOnPass.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.nudBasedOnPass.Location = new System.Drawing.Point(69, 577); + this.nudBasedOnPass.Minimum = new decimal(new int[] { + 100, + 0, + 0, + -2147483648}); + this.nudBasedOnPass.Name = "nudBasedOnPass"; + this.nudBasedOnPass.Size = new System.Drawing.Size(67, 52); + this.nudBasedOnPass.TabIndex = 77; + this.nudBasedOnPass.ValueChanged += new System.EventHandler(this.nudBasedOnPass_ValueChanged); + // + // nudTramRepeats + // + this.nudTramRepeats.Anchor = System.Windows.Forms.AnchorStyles.Top; + this.nudTramRepeats.BackColor = System.Drawing.Color.Lime; + this.nudTramRepeats.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.nudTramRepeats.Location = new System.Drawing.Point(223, 577); + this.nudTramRepeats.Name = "nudTramRepeats"; + this.nudTramRepeats.Size = new System.Drawing.Size(67, 52); + this.nudTramRepeats.TabIndex = 75; + this.nudTramRepeats.ValueChanged += new System.EventHandler(this.nudTramRepeats_ValueChanged); + // // label3 // this.label3.Anchor = System.Windows.Forms.AnchorStyles.Top; @@ -93,7 +137,7 @@ private void InitializeComponent() this.tboxHeading.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.tboxHeading.BackColor = System.Drawing.Color.AliceBlue; this.tboxHeading.Font = new System.Drawing.Font("Tahoma", 21.75F); - this.tboxHeading.Location = new System.Drawing.Point(391, 137); + this.tboxHeading.Location = new System.Drawing.Point(400, 141); this.tboxHeading.MaxLength = 10; this.tboxHeading.Name = "tboxHeading"; this.tboxHeading.Size = new System.Drawing.Size(185, 43); @@ -112,7 +156,7 @@ private void InitializeComponent() this.btnDnABHeadingBy1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnDnABHeadingBy1.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnDnABHeadingBy1.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; - this.btnDnABHeadingBy1.Location = new System.Drawing.Point(500, 205); + this.btnDnABHeadingBy1.Location = new System.Drawing.Point(511, 205); this.btnDnABHeadingBy1.Name = "btnDnABHeadingBy1"; this.btnDnABHeadingBy1.Size = new System.Drawing.Size(78, 66); this.btnDnABHeadingBy1.TabIndex = 73; @@ -129,7 +173,7 @@ private void InitializeComponent() this.btnUpABHeadingBy1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnUpABHeadingBy1.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnUpABHeadingBy1.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; - this.btnUpABHeadingBy1.Location = new System.Drawing.Point(381, 205); + this.btnUpABHeadingBy1.Location = new System.Drawing.Point(387, 205); this.btnUpABHeadingBy1.Name = "btnUpABHeadingBy1"; this.btnUpABHeadingBy1.Size = new System.Drawing.Size(78, 66); this.btnUpABHeadingBy1.TabIndex = 72; @@ -176,11 +220,21 @@ private void InitializeComponent() this.chField.Text = "CurveLines"; this.chField.Width = 239; // + // label1 + // + this.label1.Anchor = System.Windows.Forms.AnchorStyles.Top; + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Tahoma", 12F); + this.label1.Location = new System.Drawing.Point(12, 573); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(46, 19); + this.label1.TabIndex = 154; + this.label1.Text = "Skips"; + // // btnAddAndGo // this.btnAddAndGo.BackColor = System.Drawing.Color.Transparent; this.btnAddAndGo.FlatAppearance.BorderColor = System.Drawing.Color.Black; - this.btnAddAndGo.FlatAppearance.BorderSize = 0; this.btnAddAndGo.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnAddAndGo.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold); this.btnAddAndGo.ForeColor = System.Drawing.SystemColors.ControlText; @@ -198,12 +252,11 @@ private void InitializeComponent() // this.btnNewABLine.BackColor = System.Drawing.SystemColors.ControlLight; this.btnNewABLine.FlatAppearance.BorderColor = System.Drawing.Color.Black; - this.btnNewABLine.FlatAppearance.BorderSize = 0; this.btnNewABLine.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnNewABLine.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnNewABLine.Image = global::AgOpenGPS.Properties.Resources.AddNew; this.btnNewABLine.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnNewABLine.Location = new System.Drawing.Point(138, 284); + this.btnNewABLine.Location = new System.Drawing.Point(138, 290); this.btnNewABLine.Name = "btnNewABLine"; this.btnNewABLine.Size = new System.Drawing.Size(78, 74); this.btnNewABLine.TabIndex = 149; @@ -214,7 +267,6 @@ private void InitializeComponent() // btnListUse // this.btnListUse.FlatAppearance.BorderColor = System.Drawing.Color.Black; - this.btnListUse.FlatAppearance.BorderSize = 0; this.btnListUse.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnListUse.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold); this.btnListUse.Image = global::AgOpenGPS.Properties.Resources.FileUse; @@ -231,7 +283,6 @@ private void InitializeComponent() // btnListDelete // this.btnListDelete.FlatAppearance.BorderColor = System.Drawing.Color.Black; - this.btnListDelete.FlatAppearance.BorderSize = 0; this.btnListDelete.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnListDelete.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold); this.btnListDelete.Image = global::AgOpenGPS.Properties.Resources.FileDelete; @@ -248,13 +299,12 @@ private void InitializeComponent() // this.btnAddToFile.BackColor = System.Drawing.Color.Transparent; this.btnAddToFile.FlatAppearance.BorderColor = System.Drawing.Color.Black; - this.btnAddToFile.FlatAppearance.BorderSize = 0; this.btnAddToFile.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnAddToFile.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold); this.btnAddToFile.ForeColor = System.Drawing.SystemColors.ControlText; this.btnAddToFile.Image = global::AgOpenGPS.Properties.Resources.FileNew; this.btnAddToFile.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.btnAddToFile.Location = new System.Drawing.Point(285, 86); + this.btnAddToFile.Location = new System.Drawing.Point(285, 80); this.btnAddToFile.Name = "btnAddToFile"; this.btnAddToFile.Size = new System.Drawing.Size(78, 74); this.btnAddToFile.TabIndex = 82; @@ -266,12 +316,11 @@ private void InitializeComponent() // this.btnTurnOffAB.BackColor = System.Drawing.Color.Transparent; this.btnTurnOffAB.FlatAppearance.BorderColor = System.Drawing.Color.Black; - this.btnTurnOffAB.FlatAppearance.BorderSize = 0; this.btnTurnOffAB.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnTurnOffAB.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold); this.btnTurnOffAB.ForeColor = System.Drawing.SystemColors.ControlText; this.btnTurnOffAB.Image = global::AgOpenGPS.Properties.Resources.SwitchOff; - this.btnTurnOffAB.Location = new System.Drawing.Point(12, 284); + this.btnTurnOffAB.Location = new System.Drawing.Point(12, 290); this.btnTurnOffAB.Name = "btnTurnOffAB"; this.btnTurnOffAB.Size = new System.Drawing.Size(78, 74); this.btnTurnOffAB.TabIndex = 0; @@ -283,11 +332,10 @@ private void InitializeComponent() // this.btnBPoint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnBPoint.FlatAppearance.BorderColor = System.Drawing.Color.Black; - this.btnBPoint.FlatAppearance.BorderSize = 0; this.btnBPoint.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnBPoint.Font = new System.Drawing.Font("Tahoma", 14.25F); this.btnBPoint.Image = global::AgOpenGPS.Properties.Resources.LetterBBlue; - this.btnBPoint.Location = new System.Drawing.Point(505, 37); + this.btnBPoint.Location = new System.Drawing.Point(511, 37); this.btnBPoint.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); this.btnBPoint.Name = "btnBPoint"; this.btnBPoint.Size = new System.Drawing.Size(80, 80); @@ -299,11 +347,10 @@ private void InitializeComponent() // this.btnAPoint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnAPoint.FlatAppearance.BorderColor = System.Drawing.Color.Black; - this.btnAPoint.FlatAppearance.BorderSize = 0; this.btnAPoint.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnAPoint.Font = new System.Drawing.Font("Tahoma", 14.25F); this.btnAPoint.Image = global::AgOpenGPS.Properties.Resources.LetterABlue; - this.btnAPoint.Location = new System.Drawing.Point(381, 37); + this.btnAPoint.Location = new System.Drawing.Point(387, 37); this.btnAPoint.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); this.btnAPoint.Name = "btnAPoint"; this.btnAPoint.Size = new System.Drawing.Size(80, 80); @@ -316,16 +363,20 @@ private void InitializeComponent() this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.BackColor = System.Drawing.SystemColors.ControlLight; - this.ClientSize = new System.Drawing.Size(584, 357); + this.ClientSize = new System.Drawing.Size(604, 372); this.ControlBox = false; this.Controls.Add(this.btnAddAndGo); + this.Controls.Add(this.label1); this.Controls.Add(this.tboxABLineName); this.Controls.Add(this.btnNewABLine); this.Controls.Add(this.lblFixHeading); this.Controls.Add(this.btnListUse); this.Controls.Add(this.btnListDelete); this.Controls.Add(this.label3); + this.Controls.Add(this.nudTramRepeats); this.Controls.Add(this.tboxHeading); + this.Controls.Add(this.nudBasedOnPass); + this.Controls.Add(this.label2); this.Controls.Add(this.btnAddToFile); this.Controls.Add(this.lblKeepGoing); this.Controls.Add(this.btnDnABHeadingBy1); @@ -347,6 +398,8 @@ private void InitializeComponent() this.TopMost = true; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormABLine_FormClosing); this.Load += new System.EventHandler(this.FormABLine_Load); + ((System.ComponentModel.ISupportInitialize)(this.nudBasedOnPass)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.nudTramRepeats)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -360,6 +413,9 @@ private void InitializeComponent() private System.Windows.Forms.Timer timer1; private System.Windows.Forms.Label lblFixHeading; private System.Windows.Forms.Label lblKeepGoing; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.NumericUpDown nudBasedOnPass; + private System.Windows.Forms.NumericUpDown nudTramRepeats; private System.Windows.Forms.Label label3; private System.Windows.Forms.Button btnAddToFile; private System.Windows.Forms.TextBox tboxHeading; @@ -371,6 +427,7 @@ private void InitializeComponent() private System.Windows.Forms.TextBox tboxABLineName; private System.Windows.Forms.ListView lvLines; private System.Windows.Forms.ColumnHeader chField; + private System.Windows.Forms.Label label1; private System.Windows.Forms.Button btnAddAndGo; } } \ No newline at end of file diff --git a/SourceCode/GPS/Forms/FormABLine.cs b/SourceCode/GPS/Forms/FormABLine.cs index 32a6a27d2..380eb151b 100644 --- a/SourceCode/GPS/Forms/FormABLine.cs +++ b/SourceCode/GPS/Forms/FormABLine.cs @@ -47,6 +47,8 @@ private void FormABLine_Load(object sender, EventArgs e) { //AB line is on screen and set upDnHeading = Math.Round(glm.toDegrees(mf.ABLine.abHeading), 6); + nudTramRepeats.Value = mf.ABLine.tramPassEvery; + nudBasedOnPass.Value = mf.ABLine.passBasedOn; this.tboxHeading.TextChanged -= new System.EventHandler(this.tboxHeading_TextChanged); tboxHeading.Text = upDnHeading.ToString(CultureInfo.InvariantCulture); this.tboxHeading.TextChanged += new System.EventHandler(this.tboxHeading_TextChanged); @@ -57,8 +59,10 @@ private void FormABLine_Load(object sender, EventArgs e) btnAPoint.Enabled = false; btnBPoint.Enabled = false; upDnHeading = Math.Round(glm.toDegrees(mf.fixHeading), 6); - //mf.ABLine.tramPassEvery = 0; - //mf.ABLine.passBasedOn = 0; + nudTramRepeats.Value = 0; + nudBasedOnPass.Value = 0; + mf.ABLine.tramPassEvery = 0; + mf.ABLine.passBasedOn = 0; } lvLines.Clear(); @@ -179,8 +183,11 @@ private void BtnNewABLine_Click(object sender, EventArgs e) btnNewABLine.Enabled = false; btnTurnOffAB.Enabled = false; - //mf.ABLine.tramPassEvery = 0; - //mf.ABLine.passBasedOn = 0; + nudTramRepeats.Value = 0; + nudBasedOnPass.Value = 0; + + mf.ABLine.tramPassEvery = 0; + mf.ABLine.passBasedOn = 0; mf.ABLine.isABLineSet = false; mf.ABLine.isABLineLoaded = false; @@ -430,9 +437,8 @@ private void btnListUse_Click(object sender, EventArgs e) private void btnTurnOffAB_Click(object sender, EventArgs e) { - mf.ABLine.moveDistance = 0; - //mf.ABLine.tramPassEvery = 0; - //mf.ABLine.passBasedOn = 0; + mf.ABLine.tramPassEvery = 0; + mf.ABLine.passBasedOn = 0; mf.btnABLine.Image = Properties.Resources.ABLineOff; mf.ABLine.isBtnABLineOn = false; mf.ABLine.isABLineSet = false; @@ -487,14 +493,22 @@ private void FormABLine_FormClosing(object sender, FormClosingEventArgs e) if (this.Width < 300) e.Cancel = true; } + private void nudTramRepeats_ValueChanged(object sender, EventArgs e) + { + mf.ABLine.tramPassEvery = (int)nudTramRepeats.Value; + } + + private void nudBasedOnPass_ValueChanged(object sender, EventArgs e) + { + mf.ABLine.passBasedOn = (int)nudBasedOnPass.Value; + } + private void lvLines_SelectedIndexChanged(object sender, EventArgs e) { //mf.ABLine.numABLineSelected = idx + 1; if (lvLines.SelectedItems.Count > 0) { - mf.ABLine.moveDistance = 0; - int idx = lvLines.SelectedIndices[0]; mf.ABLine.abHeading = mf.ABLine.lineArr[idx].heading; mf.ABLine.refPoint1 = mf.ABLine.lineArr[idx].origin; @@ -510,10 +524,13 @@ private void ShowFullPanel(bool showPanel) if (showPanel) { isFullPanel = true; - this.Size = new System.Drawing.Size(388, 400); + this.Size = new System.Drawing.Size(388, 411); lvLines.Visible = true; + label2.Visible = true; label3.Visible = true; tboxABLineName.Visible = true; + nudBasedOnPass.Visible = true; + nudTramRepeats.Visible = true; btnListDelete.Visible = true; btnListUse.Visible = true; btnAddToFile.Visible = true; @@ -524,15 +541,17 @@ private void ShowFullPanel(bool showPanel) btnUpABHeadingBy1.Visible = false; btnDnABHeadingBy1.Visible = false; tboxHeading.Visible = false; - lblFixHeading.Visible = false; } else //hide the panel { isFullPanel = false; this.Size = new System.Drawing.Size(245, 411); lvLines.Visible = false; + label2.Visible = false; label3.Visible = false; tboxABLineName.Visible = false; + nudBasedOnPass.Visible = false; + nudTramRepeats.Visible = false; btnListDelete.Visible = false; btnListUse.Visible = false; btnAddToFile.Visible = false; @@ -543,7 +562,6 @@ private void ShowFullPanel(bool showPanel) btnUpABHeadingBy1.Visible = true; btnDnABHeadingBy1.Visible = true; tboxHeading.Visible = true; - lblFixHeading.Visible = true; } } diff --git a/SourceCode/GPS/Forms/FormBoundary.Designer.cs b/SourceCode/GPS/Forms/FormBoundary.Designer.cs index c645a2913..3565c61e1 100644 --- a/SourceCode/GPS/Forms/FormBoundary.Designer.cs +++ b/SourceCode/GPS/Forms/FormBoundary.Designer.cs @@ -1,8 +1,4 @@ -using System; -using System.Drawing; -using System.Windows.Forms; - -namespace AgOpenGPS +namespace AgOpenGPS { partial class FormBoundary { @@ -30,410 +26,369 @@ protected override void Dispose(bool disposing) /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// - public void InitializeComponent() + private void InitializeComponent() { + this.btnLeftRight = new System.Windows.Forms.Button(); + this.btnDelete = new System.Windows.Forms.Button(); + this.btnOuter = new System.Windows.Forms.Button(); + this.btnSerialCancel = new System.Windows.Forms.Button(); + this.btnGo = new System.Windows.Forms.Button(); + this.btnLoadBoundaryFromGE = new System.Windows.Forms.Button(); + this.btnOpenGoogleEarth = new System.Windows.Forms.Button(); + this.cboxSelectBoundary = new System.Windows.Forms.ComboBox(); this.label1 = new System.Windows.Forms.Label(); + this.cboxDriveThru = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); - this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.button2 = new System.Windows.Forms.Button(); - this.button1 = new System.Windows.Forms.Button(); - this.button4 = new System.Windows.Forms.Button(); - this.label3 = new System.Windows.Forms.Label(); + this.lvLines = new System.Windows.Forms.ListView(); + this.chField = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.chAngle = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.chAround = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.chEasting = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.btnToggleDriveThru = new System.Windows.Forms.Button(); this.label6 = new System.Windows.Forms.Label(); + this.cboxDriveAround = new System.Windows.Forms.ComboBox(); + this.btnToggleDriveAround = new System.Windows.Forms.Button(); this.label7 = new System.Windows.Forms.Label(); - this.label8 = new System.Windows.Forms.Label(); - this.label9 = new System.Windows.Forms.Label(); - this.label10 = new System.Windows.Forms.Label(); - this.btnUnlock = new System.Windows.Forms.Button(); - this.btnDeleteAll = new System.Windows.Forms.Button(); this.btnLoadMultiBoundaryFromGE = new System.Windows.Forms.Button(); - this.btnOpenGoogleEarth = new System.Windows.Forms.Button(); - this.btnLoadBoundaryFromGE = new System.Windows.Forms.Button(); - this.btnLeftRight = new System.Windows.Forms.Button(); - this.btnDelete = new System.Windows.Forms.Button(); - this.btnOuter = new System.Windows.Forms.Button(); - this.btnSerialCancel = new System.Windows.Forms.Button(); - this.btnGo = new System.Windows.Forms.Button(); + this.btnDeleteAll = new System.Windows.Forms.Button(); this.SuspendLayout(); // - // label1 - // - this.label1.BackColor = System.Drawing.Color.Transparent; - this.label1.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label1.Location = new System.Drawing.Point(17, 23); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(150, 49); - this.label1.TabIndex = 92; - this.label1.Text = "Bounds"; - this.label1.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - // - // label2 - // - this.label2.BackColor = System.Drawing.Color.Transparent; - this.label2.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label2.Location = new System.Drawing.Point(167, 23); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(130, 49); - this.label2.TabIndex = 90; - this.label2.Text = "Area"; - this.label2.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - // - // label4 - // - this.label4.BackColor = System.Drawing.Color.Transparent; - this.label4.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label4.Location = new System.Drawing.Point(392, 23); - this.label4.Name = "label4"; - this.label4.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.label4.Size = new System.Drawing.Size(80, 49); - this.label4.TabIndex = 91; - this.label4.Text = "Thru"; - this.label4.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - // - // label5 - // - this.label5.BackColor = System.Drawing.Color.Transparent; - this.label5.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label5.Location = new System.Drawing.Point(467, 23); - this.label5.Margin = new System.Windows.Forms.Padding(0); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(90, 49); - this.label5.TabIndex = 98; - this.label5.Text = "Around"; - this.label5.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - // - // tableLayoutPanel1 - // - this.tableLayoutPanel1.BackColor = System.Drawing.Color.Transparent; - this.tableLayoutPanel1.ColumnCount = 5; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 150F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 130F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 95F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); - this.tableLayoutPanel1.Font = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.tableLayoutPanel1.Location = new System.Drawing.Point(17, 90); - this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - this.tableLayoutPanel1.RowCount = 8; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(535, 320); - this.tableLayoutPanel1.TabIndex = 101; - // - // button2 - // - this.button2.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.button2.Location = new System.Drawing.Point(552, 90); - this.button2.Margin = new System.Windows.Forms.Padding(0); - this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(40, 40); - this.button2.TabIndex = 104; - this.button2.Text = "▲"; - this.button2.UseVisualStyleBackColor = true; - this.button2.Click += new System.EventHandler(this.button2_Click); - // - // button1 - // - this.button1.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.button1.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.button1.Location = new System.Drawing.Point(552, 370); - this.button1.Margin = new System.Windows.Forms.Padding(0); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(40, 40); - this.button1.TabIndex = 105; - this.button1.Text = "▼"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click_1); - // - // button4 - // - this.button4.CausesValidation = false; - this.button4.Location = new System.Drawing.Point(552, 130); - this.button4.Margin = new System.Windows.Forms.Padding(0); - this.button4.Name = "button4"; - this.button4.Size = new System.Drawing.Size(40, 240); - this.button4.TabIndex = 200; - this.button4.TabStop = false; - this.button4.UseCompatibleTextRendering = true; - this.button4.UseVisualStyleBackColor = true; - this.button4.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Mouse_Down); - this.button4.MouseLeave += new System.EventHandler(this.Mouse_Leave); - this.button4.MouseMove += new System.Windows.Forms.MouseEventHandler(this.Mouse_Move); - this.button4.MouseUp += new System.Windows.Forms.MouseEventHandler(this.Mouse_Up); - // - // label3 - // - this.label3.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label3.Location = new System.Drawing.Point(612, 30); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(165, 55); - this.label3.TabIndex = 201; - this.label3.Text = "Manually Driven"; - this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label6 - // - this.label6.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label6.Location = new System.Drawing.Point(813, 30); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(120, 55); - this.label6.TabIndex = 202; - this.label6.Text = "From File"; - this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label7 - // - this.label7.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label7.Location = new System.Drawing.Point(813, 217); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(120, 34); - this.label7.TabIndex = 203; - this.label7.Text = "OR"; - this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label8 - // - this.label8.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label8.Location = new System.Drawing.Point(2, 422); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(165, 44); - this.label8.TabIndex = 204; - this.label8.Text = "Caution: Delete All"; - this.label8.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - // - // label9 - // - this.label9.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label9.Location = new System.Drawing.Point(201, 422); - this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(165, 44); - this.label9.TabIndex = 205; - this.label9.Text = "Delete Selected"; - this.label9.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - // - // label10 - // - this.label10.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label10.Location = new System.Drawing.Point(410, 422); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(165, 44); - this.label10.TabIndex = 206; - this.label10.Text = "Save and Return"; - this.label10.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - // - // btnUnlock - // - this.btnUnlock.BackColor = System.Drawing.Color.Transparent; - this.btnUnlock.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.btnUnlock.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnUnlock.Image = global::AgOpenGPS.Properties.Resources.UnLock; - this.btnUnlock.Location = new System.Drawing.Point(312, 48); - this.btnUnlock.Name = "btnUnlock"; - this.btnUnlock.Size = new System.Drawing.Size(71, 33); - this.btnUnlock.TabIndex = 102; - this.btnUnlock.UseVisualStyleBackColor = false; - this.btnUnlock.Click += new System.EventHandler(this.button1_Click); - // - // btnDeleteAll - // - this.btnDeleteAll.BackColor = System.Drawing.Color.MistyRose; - this.btnDeleteAll.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.btnDeleteAll.FlatAppearance.BorderSize = 3; - this.btnDeleteAll.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnDeleteAll.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnDeleteAll.Image = global::AgOpenGPS.Properties.Resources.Cancel64; - this.btnDeleteAll.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.btnDeleteAll.Location = new System.Drawing.Point(17, 473); - this.btnDeleteAll.Name = "btnDeleteAll"; - this.btnDeleteAll.Size = new System.Drawing.Size(120, 81); - this.btnDeleteAll.TabIndex = 100; - this.btnDeleteAll.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnDeleteAll.UseVisualStyleBackColor = false; - this.btnDeleteAll.Click += new System.EventHandler(this.btnDeleteAll_Click); - // - // btnLoadMultiBoundaryFromGE - // - this.btnLoadMultiBoundaryFromGE.BackColor = System.Drawing.Color.Lavender; - this.btnLoadMultiBoundaryFromGE.FlatAppearance.BorderColor = System.Drawing.Color.Blue; - this.btnLoadMultiBoundaryFromGE.FlatAppearance.BorderSize = 3; - this.btnLoadMultiBoundaryFromGE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnLoadMultiBoundaryFromGE.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnLoadMultiBoundaryFromGE.Image = global::AgOpenGPS.Properties.Resources.FileOpen; - this.btnLoadMultiBoundaryFromGE.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.btnLoadMultiBoundaryFromGE.Location = new System.Drawing.Point(813, 267); - this.btnLoadMultiBoundaryFromGE.Name = "btnLoadMultiBoundaryFromGE"; - this.btnLoadMultiBoundaryFromGE.Size = new System.Drawing.Size(120, 110); - this.btnLoadMultiBoundaryFromGE.TabIndex = 99; - this.btnLoadMultiBoundaryFromGE.Text = "Load Multi"; - this.btnLoadMultiBoundaryFromGE.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnLoadMultiBoundaryFromGE.UseVisualStyleBackColor = false; - this.btnLoadMultiBoundaryFromGE.Click += new System.EventHandler(this.btnLoadMultiBoundaryFromGE_Click); - // - // btnOpenGoogleEarth - // - this.btnOpenGoogleEarth.BackColor = System.Drawing.Color.Lavender; - this.btnOpenGoogleEarth.FlatAppearance.BorderColor = System.Drawing.Color.Blue; - this.btnOpenGoogleEarth.FlatAppearance.BorderSize = 3; - this.btnOpenGoogleEarth.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnOpenGoogleEarth.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnOpenGoogleEarth.Image = global::AgOpenGPS.Properties.Resources.GoogleEarth; - this.btnOpenGoogleEarth.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.btnOpenGoogleEarth.Location = new System.Drawing.Point(813, 436); - this.btnOpenGoogleEarth.Name = "btnOpenGoogleEarth"; - this.btnOpenGoogleEarth.Size = new System.Drawing.Size(120, 110); - this.btnOpenGoogleEarth.TabIndex = 69; - this.btnOpenGoogleEarth.Text = "Google Earth"; - this.btnOpenGoogleEarth.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnOpenGoogleEarth.UseVisualStyleBackColor = false; - this.btnOpenGoogleEarth.Click += new System.EventHandler(this.btnOpenGoogleEarth_Click); - // - // btnLoadBoundaryFromGE - // - this.btnLoadBoundaryFromGE.BackColor = System.Drawing.Color.Lavender; - this.btnLoadBoundaryFromGE.FlatAppearance.BorderColor = System.Drawing.Color.Blue; - this.btnLoadBoundaryFromGE.FlatAppearance.BorderSize = 3; - this.btnLoadBoundaryFromGE.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnLoadBoundaryFromGE.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnLoadBoundaryFromGE.Image = global::AgOpenGPS.Properties.Resources.FileOpen; - this.btnLoadBoundaryFromGE.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.btnLoadBoundaryFromGE.Location = new System.Drawing.Point(813, 97); - this.btnLoadBoundaryFromGE.Name = "btnLoadBoundaryFromGE"; - this.btnLoadBoundaryFromGE.Size = new System.Drawing.Size(120, 110); - this.btnLoadBoundaryFromGE.TabIndex = 68; - this.btnLoadBoundaryFromGE.Text = "Load KML"; - this.btnLoadBoundaryFromGE.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnLoadBoundaryFromGE.UseVisualStyleBackColor = false; - this.btnLoadBoundaryFromGE.Click += new System.EventHandler(this.btnLoadBoundaryFromGE_Click); - // // btnLeftRight // - this.btnLeftRight.BackColor = System.Drawing.SystemColors.ControlLight; this.btnLeftRight.Enabled = false; - this.btnLeftRight.FlatAppearance.BorderColor = System.Drawing.Color.Fuchsia; - this.btnLeftRight.FlatAppearance.BorderSize = 3; - this.btnLeftRight.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnLeftRight.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnLeftRight.Image = global::AgOpenGPS.Properties.Resources.BoundaryRight; - this.btnLeftRight.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.btnLeftRight.Location = new System.Drawing.Point(633, 267); + this.btnLeftRight.Image = global::AgOpenGPS.Properties.Resources.BoundaryLeft; + this.btnLeftRight.Location = new System.Drawing.Point(713, 14); this.btnLeftRight.Name = "btnLeftRight"; - this.btnLeftRight.Size = new System.Drawing.Size(120, 110); + this.btnLeftRight.Size = new System.Drawing.Size(121, 109); this.btnLeftRight.TabIndex = 67; - this.btnLeftRight.Text = "3. Pick ?"; - this.btnLeftRight.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnLeftRight.UseVisualStyleBackColor = false; + this.btnLeftRight.UseVisualStyleBackColor = true; this.btnLeftRight.Click += new System.EventHandler(this.btnLeftRight_Click); // // btnDelete // - this.btnDelete.BackColor = System.Drawing.Color.MistyRose; - this.btnDelete.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.btnDelete.FlatAppearance.BorderSize = 3; - this.btnDelete.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnDelete.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnDelete.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnDelete.Image = global::AgOpenGPS.Properties.Resources.BoundaryDelete; - this.btnDelete.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.btnDelete.Location = new System.Drawing.Point(215, 473); + this.btnDelete.Location = new System.Drawing.Point(712, 333); this.btnDelete.Name = "btnDelete"; - this.btnDelete.Size = new System.Drawing.Size(131, 81); + this.btnDelete.Size = new System.Drawing.Size(121, 109); this.btnDelete.TabIndex = 65; + this.btnDelete.Text = "Delete"; this.btnDelete.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnDelete.UseVisualStyleBackColor = false; + this.btnDelete.UseVisualStyleBackColor = true; this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click); // // btnOuter // - this.btnOuter.BackColor = System.Drawing.SystemColors.ControlLight; - this.btnOuter.FlatAppearance.BorderColor = System.Drawing.Color.Fuchsia; - this.btnOuter.FlatAppearance.BorderSize = 3; - this.btnOuter.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnOuter.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnOuter.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnOuter.Image = global::AgOpenGPS.Properties.Resources.BoundaryOuter; - this.btnOuter.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.btnOuter.Location = new System.Drawing.Point(633, 98); + this.btnOuter.Location = new System.Drawing.Point(554, 14); this.btnOuter.Name = "btnOuter"; - this.btnOuter.Size = new System.Drawing.Size(120, 110); + this.btnOuter.Size = new System.Drawing.Size(121, 109); this.btnOuter.TabIndex = 65; - this.btnOuter.Text = "2. Start"; + this.btnOuter.Text = "Create"; this.btnOuter.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnOuter.UseVisualStyleBackColor = false; + this.btnOuter.UseVisualStyleBackColor = true; this.btnOuter.Click += new System.EventHandler(this.btnOuter_Click); // // btnSerialCancel // - this.btnSerialCancel.BackColor = System.Drawing.Color.Honeydew; this.btnSerialCancel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.btnSerialCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.btnSerialCancel.FlatAppearance.BorderSize = 2; - this.btnSerialCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnSerialCancel.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnSerialCancel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSerialCancel.Image = global::AgOpenGPS.Properties.Resources.OK64; - this.btnSerialCancel.Location = new System.Drawing.Point(432, 473); + this.btnSerialCancel.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnSerialCancel.Location = new System.Drawing.Point(860, 333); this.btnSerialCancel.Margin = new System.Windows.Forms.Padding(5); this.btnSerialCancel.Name = "btnSerialCancel"; - this.btnSerialCancel.Size = new System.Drawing.Size(120, 74); + this.btnSerialCancel.Size = new System.Drawing.Size(121, 109); this.btnSerialCancel.TabIndex = 64; + this.btnSerialCancel.Text = "Save and Return"; this.btnSerialCancel.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnSerialCancel.UseVisualStyleBackColor = false; + this.btnSerialCancel.UseVisualStyleBackColor = true; this.btnSerialCancel.Click += new System.EventHandler(this.btnSerialCancel_Click); // // btnGo // - this.btnGo.BackColor = System.Drawing.SystemColors.ControlLight; this.btnGo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.btnGo.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnGo.Enabled = false; - this.btnGo.FlatAppearance.BorderColor = System.Drawing.Color.Fuchsia; - this.btnGo.FlatAppearance.BorderSize = 3; - this.btnGo.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnGo.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnGo.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnGo.ForeColor = System.Drawing.SystemColors.ControlText; this.btnGo.Image = global::AgOpenGPS.Properties.Resources.AutoGo; - this.btnGo.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.btnGo.Location = new System.Drawing.Point(633, 436); + this.btnGo.Location = new System.Drawing.Point(861, 14); this.btnGo.Margin = new System.Windows.Forms.Padding(5); this.btnGo.Name = "btnGo"; - this.btnGo.Size = new System.Drawing.Size(120, 110); + this.btnGo.Size = new System.Drawing.Size(121, 109); this.btnGo.TabIndex = 63; - this.btnGo.Text = "4. Go!"; this.btnGo.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnGo.UseVisualStyleBackColor = false; + this.btnGo.UseVisualStyleBackColor = true; + // + // btnLoadBoundaryFromGE + // + this.btnLoadBoundaryFromGE.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnLoadBoundaryFromGE.Image = global::AgOpenGPS.Properties.Resources.FileOpen; + this.btnLoadBoundaryFromGE.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnLoadBoundaryFromGE.Location = new System.Drawing.Point(713, 193); + this.btnLoadBoundaryFromGE.Name = "btnLoadBoundaryFromGE"; + this.btnLoadBoundaryFromGE.Size = new System.Drawing.Size(121, 84); + this.btnLoadBoundaryFromGE.TabIndex = 68; + this.btnLoadBoundaryFromGE.Text = "Load KML"; + this.btnLoadBoundaryFromGE.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnLoadBoundaryFromGE.UseVisualStyleBackColor = true; + this.btnLoadBoundaryFromGE.Click += new System.EventHandler(this.btnLoadBoundaryFromGE_Click); + // + // btnOpenGoogleEarth + // + this.btnOpenGoogleEarth.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnOpenGoogleEarth.Image = global::AgOpenGPS.Properties.Resources.GoogleEarth; + this.btnOpenGoogleEarth.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnOpenGoogleEarth.Location = new System.Drawing.Point(554, 192); + this.btnOpenGoogleEarth.Name = "btnOpenGoogleEarth"; + this.btnOpenGoogleEarth.Size = new System.Drawing.Size(121, 84); + this.btnOpenGoogleEarth.TabIndex = 69; + this.btnOpenGoogleEarth.Text = "Google Earth"; + this.btnOpenGoogleEarth.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnOpenGoogleEarth.UseVisualStyleBackColor = true; + this.btnOpenGoogleEarth.Click += new System.EventHandler(this.btnOpenGoogleEarth_Click); + // + // cboxSelectBoundary + // + this.cboxSelectBoundary.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cboxSelectBoundary.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cboxSelectBoundary.FormattingEnabled = true; + this.cboxSelectBoundary.Items.AddRange(new object[] { + "Outer", + "Inner 1", + "Inner 2", + "Inner 3", + "Inner 4", + "Inner 5"}); + this.cboxSelectBoundary.Location = new System.Drawing.Point(17, 43); + this.cboxSelectBoundary.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); + this.cboxSelectBoundary.Name = "cboxSelectBoundary"; + this.cboxSelectBoundary.Size = new System.Drawing.Size(158, 53); + this.cboxSelectBoundary.TabIndex = 73; + this.cboxSelectBoundary.SelectedIndexChanged += new System.EventHandler(this.cboxSelectBoundary_SelectedIndexChanged); + // + // label1 + // + this.label1.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label1.Location = new System.Drawing.Point(2, 15); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(199, 25); + this.label1.TabIndex = 74; + this.label1.Text = "Select Boundary"; + this.label1.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + // + // cboxDriveThru + // + this.cboxDriveThru.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cboxDriveThru.Font = new System.Drawing.Font("Tahoma", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cboxDriveThru.FormattingEnabled = true; + this.cboxDriveThru.Items.AddRange(new object[] { + "False", + "True"}); + this.cboxDriveThru.Location = new System.Drawing.Point(238, 43); + this.cboxDriveThru.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); + this.cboxDriveThru.Name = "cboxDriveThru"; + this.cboxDriveThru.Size = new System.Drawing.Size(107, 43); + this.cboxDriveThru.TabIndex = 75; + this.cboxDriveThru.SelectedIndexChanged += new System.EventHandler(this.cboxDriveThru_SelectedIndexChanged); + // + // label2 + // + this.label2.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label2.Location = new System.Drawing.Point(222, 15); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(156, 25); + this.label2.TabIndex = 76; + this.label2.Text = "Drive Thru?"; + this.label2.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + // + // label3 + // + this.label3.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label3.Location = new System.Drawing.Point(167, 118); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(148, 25); + this.label3.TabIndex = 90; + this.label3.Text = "Area"; + this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label4 + // + this.label4.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label4.Location = new System.Drawing.Point(319, 118); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(92, 25); + this.label4.TabIndex = 91; + this.label4.Text = "Thru"; + this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label5 + // + this.label5.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label5.Location = new System.Drawing.Point(22, 118); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(146, 25); + this.label5.TabIndex = 92; + this.label5.Text = "Bounds"; + this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // lvLines + // + this.lvLines.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.chField, + this.chAngle, + this.chAround, + this.chEasting}); + this.lvLines.Enabled = false; + this.lvLines.Font = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lvLines.GridLines = true; + this.lvLines.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.None; + this.lvLines.HideSelection = false; + this.lvLines.LabelWrap = false; + this.lvLines.Location = new System.Drawing.Point(17, 146); + this.lvLines.MultiSelect = false; + this.lvLines.Name = "lvLines"; + this.lvLines.Scrollable = false; + this.lvLines.ShowGroups = false; + this.lvLines.Size = new System.Drawing.Size(511, 211); + this.lvLines.TabIndex = 93; + this.lvLines.UseCompatibleStateImageBehavior = false; + this.lvLines.View = System.Windows.Forms.View.Details; + // + // chField + // + this.chField.Text = "Line"; + this.chField.Width = 150; + // + // chAngle + // + this.chAngle.Text = "Drive Thru"; + this.chAngle.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.chAngle.Width = 145; + // + // chAround + // + this.chAround.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.chAround.Width = 100; + // + // chEasting + // + this.chEasting.Text = "Area"; + this.chEasting.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.chEasting.Width = 100; + // + // btnToggleDriveThru + // + this.btnToggleDriveThru.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnToggleDriveThru.Location = new System.Drawing.Point(80, 407); + this.btnToggleDriveThru.Name = "btnToggleDriveThru"; + this.btnToggleDriveThru.Size = new System.Drawing.Size(171, 35); + this.btnToggleDriveThru.TabIndex = 94; + this.btnToggleDriveThru.Text = "Toggle Drive Thru"; + this.btnToggleDriveThru.UseVisualStyleBackColor = true; + this.btnToggleDriveThru.Click += new System.EventHandler(this.btnToggleDriveThru_Click); + // + // label6 + // + this.label6.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label6.Location = new System.Drawing.Point(388, 15); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(157, 25); + this.label6.TabIndex = 96; + this.label6.Text = "Go Around?"; + this.label6.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + // + // cboxDriveAround + // + this.cboxDriveAround.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cboxDriveAround.Font = new System.Drawing.Font("Tahoma", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cboxDriveAround.FormattingEnabled = true; + this.cboxDriveAround.Items.AddRange(new object[] { + "False", + "True"}); + this.cboxDriveAround.Location = new System.Drawing.Point(411, 43); + this.cboxDriveAround.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); + this.cboxDriveAround.Name = "cboxDriveAround"; + this.cboxDriveAround.Size = new System.Drawing.Size(107, 43); + this.cboxDriveAround.TabIndex = 95; + this.cboxDriveAround.SelectedIndexChanged += new System.EventHandler(this.cboxDriveAround_SelectedIndexChanged); + // + // btnToggleDriveAround + // + this.btnToggleDriveAround.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnToggleDriveAround.Location = new System.Drawing.Point(286, 407); + this.btnToggleDriveAround.Name = "btnToggleDriveAround"; + this.btnToggleDriveAround.Size = new System.Drawing.Size(171, 35); + this.btnToggleDriveAround.TabIndex = 97; + this.btnToggleDriveAround.Text = "Toggle Drive By"; + this.btnToggleDriveAround.UseVisualStyleBackColor = true; + this.btnToggleDriveAround.Click += new System.EventHandler(this.btnToggleDriveAround_Click); + // + // label7 + // + this.label7.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label7.Location = new System.Drawing.Point(416, 118); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(97, 25); + this.label7.TabIndex = 98; + this.label7.Text = "Around"; + this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // btnLoadMultiBoundaryFromGE + // + this.btnLoadMultiBoundaryFromGE.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnLoadMultiBoundaryFromGE.Image = global::AgOpenGPS.Properties.Resources.FileOpen; + this.btnLoadMultiBoundaryFromGE.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnLoadMultiBoundaryFromGE.Location = new System.Drawing.Point(860, 194); + this.btnLoadMultiBoundaryFromGE.Name = "btnLoadMultiBoundaryFromGE"; + this.btnLoadMultiBoundaryFromGE.Size = new System.Drawing.Size(121, 84); + this.btnLoadMultiBoundaryFromGE.TabIndex = 99; + this.btnLoadMultiBoundaryFromGE.Text = "Load Multi"; + this.btnLoadMultiBoundaryFromGE.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnLoadMultiBoundaryFromGE.UseVisualStyleBackColor = true; + this.btnLoadMultiBoundaryFromGE.Click += new System.EventHandler(this.btnLoadMultiBoundaryFromGE_Click); + // + // btnDeleteAll + // + this.btnDeleteAll.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnDeleteAll.Image = global::AgOpenGPS.Properties.Resources.Cancel64; + this.btnDeleteAll.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnDeleteAll.Location = new System.Drawing.Point(553, 333); + this.btnDeleteAll.Name = "btnDeleteAll"; + this.btnDeleteAll.Size = new System.Drawing.Size(121, 109); + this.btnDeleteAll.TabIndex = 100; + this.btnDeleteAll.Text = "Delete All"; + this.btnDeleteAll.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnDeleteAll.UseVisualStyleBackColor = true; + this.btnDeleteAll.Click += new System.EventHandler(this.btnDeleteAll_Click); // // FormBoundary // this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 23F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.BackColor = System.Drawing.SystemColors.ControlLight; - this.CausesValidation = false; - this.ClientSize = new System.Drawing.Size(950, 558); + this.ClientSize = new System.Drawing.Size(990, 449); this.ControlBox = false; - this.Controls.Add(this.label10); - this.Controls.Add(this.label9); - this.Controls.Add(this.label8); - this.Controls.Add(this.label7); - this.Controls.Add(this.label6); - this.Controls.Add(this.label3); - this.Controls.Add(this.button4); - this.Controls.Add(this.button1); - this.Controls.Add(this.button2); - this.Controls.Add(this.btnUnlock); - this.Controls.Add(this.tableLayoutPanel1); this.Controls.Add(this.btnDeleteAll); this.Controls.Add(this.btnLoadMultiBoundaryFromGE); + this.Controls.Add(this.label7); + this.Controls.Add(this.btnToggleDriveAround); + this.Controls.Add(this.label6); + this.Controls.Add(this.cboxDriveAround); + this.Controls.Add(this.btnToggleDriveThru); + this.Controls.Add(this.lvLines); this.Controls.Add(this.label5); - this.Controls.Add(this.label1); this.Controls.Add(this.label4); + this.Controls.Add(this.label3); this.Controls.Add(this.label2); + this.Controls.Add(this.cboxDriveThru); + this.Controls.Add(this.label1); + this.Controls.Add(this.cboxSelectBoundary); this.Controls.Add(this.btnOpenGoogleEarth); this.Controls.Add(this.btnLoadBoundaryFromGE); this.Controls.Add(this.btnLeftRight); @@ -445,10 +400,11 @@ public void InitializeComponent() this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Margin = new System.Windows.Forms.Padding(5); this.Name = "FormBoundary"; + this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Start or Delete A Boundary"; + this.TopMost = true; this.Load += new System.EventHandler(this.FormBoundary_Load); - this.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.MouseWheel_scroll); this.ResumeLayout(false); } @@ -462,22 +418,24 @@ public void InitializeComponent() private System.Windows.Forms.Button btnDelete; private System.Windows.Forms.Button btnLoadBoundaryFromGE; private System.Windows.Forms.Button btnOpenGoogleEarth; + private System.Windows.Forms.ComboBox cboxSelectBoundary; private System.Windows.Forms.Label label1; + private System.Windows.Forms.ComboBox cboxDriveThru; private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label5; + private System.Windows.Forms.ListView lvLines; + private System.Windows.Forms.ColumnHeader chField; + private System.Windows.Forms.ColumnHeader chAngle; + private System.Windows.Forms.ColumnHeader chEasting; + private System.Windows.Forms.Button btnToggleDriveThru; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.ComboBox cboxDriveAround; + private System.Windows.Forms.ColumnHeader chAround; + private System.Windows.Forms.Button btnToggleDriveAround; + private System.Windows.Forms.Label label7; private System.Windows.Forms.Button btnLoadMultiBoundaryFromGE; private System.Windows.Forms.Button btnDeleteAll; - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; - private System.Windows.Forms.Button btnUnlock; - private System.Windows.Forms.Button button2; - private System.Windows.Forms.Button button1; - private Button button4; - private Label label3; - private Label label6; - private Label label7; - private Label label8; - private Label label9; - private Label label10; } } \ No newline at end of file diff --git a/SourceCode/GPS/Forms/FormBoundary.cs b/SourceCode/GPS/Forms/FormBoundary.cs index 1d88233c0..e2fdca4f9 100644 --- a/SourceCode/GPS/Forms/FormBoundary.cs +++ b/SourceCode/GPS/Forms/FormBoundary.cs @@ -1,6 +1,5 @@ using System; using System.Globalization; -using System.Drawing; using System.IO; using System.Windows.Forms; @@ -8,248 +7,103 @@ namespace AgOpenGPS { public partial class FormBoundary : Form { - private bool Selectedreset = true; - private bool MultipleFieldLocked = true; private readonly FormGPS mf = null; - private int position = 0; - private bool scroll = false; - private double viewableRatio = 0; - private double contentHeight = 0; - private int oldY = 0; - private double thumbHeight = 0; - private int scrollmaxheight = 0; - private int startscroll = 0; - private int items = 0; - private int rowheight = 0; - public FormBoundary(Form callingForm) { mf = callingForm as FormGPS; - InitializeComponent(); - scrollmaxheight = button4.Size.Height; - startscroll = button4.Location.Y; - rowheight = (int)tableLayoutPanel1.RowStyles[0].Height; - items = (int)(tableLayoutPanel1.Height / rowheight + 0.5)-1; - - } + //winform initialization + InitializeComponent(); + this.Text = gStr.gsStartDeleteABoundary; + + //cboxSelectBoundary + cboxSelectBoundary.Items.Clear(); + cboxSelectBoundary.Items.AddRange(new object[] { + gStr.gsOuter, + gStr.gsInner + " 1", + gStr.gsInner + " 2", + gStr.gsInner + " 3", + gStr.gsInner + " 4", + gStr.gsInner + " 5"}); + + //Label + label1.Text = gStr.gsSelectBoundary; + label1.Text = gStr.gsSelectBoundary; + label2.Text = gStr.gsDriveThru; + label3.Text = gStr.gsArea; + label4.Text = gStr.gsThru; + label5.Text = gStr.gsBounds; + label6.Text = gStr.gsGo_Around; + label7.Text = gStr.gsAround; + + //Column Header + chField.Text = gStr.gsLine; + chAngle.Text = gStr.gsDriveThru; + chEasting.Text = gStr.gsArea; + + //Bouton + btnDelete.Text = gStr.gsDelete; + btnOuter.Text = gStr.gsCreate; + btnSerialCancel.Text = gStr.gsSaveAndReturn; + btnToggleDriveThru.Text = gStr.gsToggleDriveThru; + btnToggleDriveAround.Text = gStr.gsToggleDriveBy; + btnLoadMultiBoundaryFromGE.Text = gStr.gsLoadMulti; + btnDeleteAll.Text = gStr.gsDeleteAll; + btnGo.Text = gStr.gsGo; + btnLoadBoundaryFromGE.Text = gStr.gsLoadKML; + - void UpdateScroll(double pos) - { - contentHeight = (mf.bnd.bndArr.Count+1) * rowheight; - viewableRatio = tableLayoutPanel1.Size.Height / contentHeight; - if (viewableRatio >= 1) - { - button4.Size = new Size(rowheight, scrollmaxheight); - button4.Location = new Point(552, startscroll); - } - else - { - thumbHeight = (scrollmaxheight * viewableRatio < rowheight*2) ? rowheight*2 : (scrollmaxheight * viewableRatio); - button4.Size = new Size(40, (int)(thumbHeight + 0.5)); - if (pos < 0) - { - button4.Location = new Point(552, (int)(startscroll + position * ((scrollmaxheight - thumbHeight) / (mf.bnd.bndArr.Count - items)) + 0.5)); - } - else - { - button4.Location = new Point(552, (int)(startscroll + pos)); - } - } } private void UpdateChart() { - int field = 1; - int inner = 1; - - for (int i = 0; i < mf.bnd.bndArr.Count + 1 && i < position+9; i++) + if (mf.isMetric) { - if (i < position && i < mf.bnd.bndArr.Count) + //outer metric + lvLines.Items[0].SubItems[2].Text = "NA"; + if (mf.bnd.bndArr[0].isSet) lvLines.Items[0].SubItems[1].Text = Math.Round(mf.bnd.bndArr[0].area * 0.0001, 2) + " Ha"; + else lvLines.Items[0].SubItems[1].Text = "*"; + + //inner metric + for (int i = 1; i < FormGPS.MAXBOUNDARIES; i++) { - if (mf.bnd.bndArr[i].isOwnField) + if (mf.bnd.bndArr[i].isSet) { - field += 1; + lvLines.Items[i].SubItems[2].Text = mf.bnd.bndArr[i].isDriveThru.ToString(); + lvLines.Items[i].SubItems[3].Text = mf.bnd.bndArr[i].isDriveAround.ToString(); + lvLines.Items[i].SubItems[1].Text = Math.Round(mf.bnd.bndArr[i].area * 0.0001, 2) + " Ha"; } else { - inner += 1; + lvLines.Items[i].SubItems[2].Text = "-"; + lvLines.Items[i].SubItems[3].Text = "-"; + lvLines.Items[i].SubItems[1].Text = "*"; } } - else - { - Control aa = tableLayoutPanel1.GetControlFromPosition(0, i - position); - if (aa == null) - { - var a = new Button(); - a.Margin = new Padding(0); - a.Size = new Size(280, 40); - a.Name = string.Format("{0}", i - position); - a.TextAlign = ContentAlignment.MiddleCenter; - a.Click += b_Click; - a.FlatStyle = FlatStyle.Flat; - a.FlatAppearance.BorderColor = BackColor; - a.FlatAppearance.MouseOverBackColor = BackColor; - a.FlatAppearance.MouseDownBackColor = BackColor; - - aa = a; - - var c = new Button(); - c.Margin = new Padding(0); - c.Size = new System.Drawing.Size(95, 40); - c.Name = string.Format("{0}", i - position); - a.TextAlign = ContentAlignment.MiddleCenter; - c.Click += OwnField_Click; - - var d = new Button(); - d.Margin = new Padding(0); - d.Size = new System.Drawing.Size(80, 40); - d.Name = string.Format("{0}", i - position); - a.TextAlign = ContentAlignment.MiddleCenter; - d.Click += DriveThru_Click; - - var e = new Button(); - e.Margin = new Padding(0); - e.Size = new System.Drawing.Size(80, 40); - e.Name = string.Format("{0}", i - position); - a.TextAlign = ContentAlignment.MiddleCenter; - e.Click += DriveAround_Click; - tableLayoutPanel1.Controls.Add(a, 0, i - position); - tableLayoutPanel1.Controls.Add(c, 2, i - position); - tableLayoutPanel1.Controls.Add(d, 3, i - position); - tableLayoutPanel1.Controls.Add(e, 4, i - position); - } + } + else + { + //outer + lvLines.Items[0].SubItems[2].Text = "NA"; + if (mf.bnd.bndArr[0].isSet) lvLines.Items[0].SubItems[1].Text = Math.Round(mf.bnd.bndArr[0].area * 0.000247105, 2) + " Ac"; + else lvLines.Items[0].SubItems[1].Text = "*"; - if (i < mf.bnd.bndArr.Count && mf.bnd.bndArr[i].isSet) + //inner + for (int i = 1; i < FormGPS.MAXBOUNDARIES; i++) + { + if (mf.bnd.bndArr[i].isSet) { - tableLayoutPanel1.SetColumnSpan(aa, 1); - - Control bb = tableLayoutPanel1.GetControlFromPosition(1, i - position); - if (bb == null) - { - var b = new Button(); - b.Margin = new Padding(0); - b.Size = new System.Drawing.Size(150, 40); - b.Name = string.Format("{0}", i - position); - b.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - b.Click += b_Click; - b.FlatStyle = FlatStyle.Flat; - b.FlatAppearance.BorderColor = BackColor; - b.FlatAppearance.MouseOverBackColor = BackColor; - b.FlatAppearance.MouseDownBackColor = BackColor; - tableLayoutPanel1.Controls.Add(b, 1, i - position); - bb = b; - } - Control cc = tableLayoutPanel1.GetControlFromPosition(2, i - position); - cc.Visible = true; - Control dd = tableLayoutPanel1.GetControlFromPosition(3, i - position); - dd.Visible = true; - Control ee = tableLayoutPanel1.GetControlFromPosition(4, i - position); - ee.Visible = true; - - Font backupfont = new Font(aa.Font.FontFamily, 18F, FontStyle.Bold); - - // LOCK MultipleField - if (MultipleFieldLocked) - { - cc.Enabled = false; - } - else - { - cc.Enabled = true; - } - // LOCK MultipleField - - if (mf.bnd.bndArr[i].isOwnField) - { - cc.Text = "Field"; - aa.Text = string.Format("Field {0}", field); - field += 1; - aa.Font = backupfont; - dd.Enabled = false; - ee.Enabled = false; - mf.bnd.bndArr[i].isDriveThru = false; - mf.bnd.bndArr[i].isDriveAround = false; - } - else - { - cc.Text = "Inner"; - aa.Text = string.Format("Inner {0}", inner); - aa.Font = backupfont; - inner += 1; - dd.Enabled = true; - ee.Enabled = true; - } - - if (mf.isMetric) - { - bb.Text = Math.Round(mf.bnd.bndArr[i].area * 0.0001, 2) + " Ha"; - } - else - { - bb.Text = Math.Round(mf.bnd.bndArr[i].area * 0.000247105, 2) + " Ac"; - } - - dd.Text = mf.bnd.bndArr[i].isDriveThru ? "Yes" : "No"; - ee.Text = mf.bnd.bndArr[i].isDriveAround ? "Yes" : "No"; - - if (Selectedreset == false && i == mf.bnd.boundarySelected) - { - aa.ForeColor = Color.Red; - bb.ForeColor = Color.Red; - } - else - { - aa.ForeColor = default(Color); - bb.ForeColor = default(Color); - } + lvLines.Items[i].SubItems[2].Text = mf.bnd.bndArr[i].isDriveThru.ToString(); + lvLines.Items[i].SubItems[3].Text = mf.bnd.bndArr[i].isDriveAround.ToString(); + lvLines.Items[i].SubItems[1].Text = Math.Round(mf.bnd.bndArr[i].area * 0.000247105, 2) + " Ac"; } else { - Control bb = tableLayoutPanel1.GetControlFromPosition(1, i - position); - if (!(bb == null || bb == aa)) - { - bb.Dispose(); - } - - tableLayoutPanel1.SetColumnSpan(aa, 2); - aa.Text = string.Format("1. Create Boundary", i - position + 1); - - - Control cc = tableLayoutPanel1.GetControlFromPosition(2, i - position); - cc.Visible = false; - Control dd = tableLayoutPanel1.GetControlFromPosition(3, i - position); - dd.Visible = false; - Control ee = tableLayoutPanel1.GetControlFromPosition(4, i - position); - ee.Visible = false; - - - //delete rest of buttons - while (true) - { - Control ff = tableLayoutPanel1.GetNextControl(ee, true); - if (ff == null) - { - break; - } - else - { - ff.Dispose(); - } - - } - - if (Selectedreset == false && i == mf.bnd.boundarySelected) - { - aa.ForeColor = Color.Red; - } - else - { - aa.ForeColor = default(Color); - } - break; + lvLines.Items[i].SubItems[2].Text = "-"; + lvLines.Items[i].SubItems[3].Text = "-"; + lvLines.Items[i].SubItems[1].Text = "*"; } } } @@ -257,81 +111,46 @@ private void UpdateChart() private void FormBoundary_Load(object sender, EventArgs e) { - btnLeftRight.Image = mf.bnd.isDrawRightSide ? Properties.Resources.BoundaryRight : Properties.Resources.BoundaryLeft; + btnLeftRight.Image = Properties.Resources.BoundaryRight; btnLeftRight.Enabled = false; btnOuter.Enabled = false; btnLoadBoundaryFromGE.Enabled = false; btnGo.Enabled = false; btnDelete.Enabled = false; + cboxDriveThru.Visible = false; + label2.Visible = false; + cboxDriveAround.Visible = false; + label6.Visible = false; + + //create a 6 row by 3 column ListView + ListViewItem itm; + string line = gStr.gsOuter + ",False,False,0.0"; + string[] words = line.Split(','); + itm = new ListViewItem(words); + lvLines.Items.Add(itm); + for (int i = 1; i < FormGPS.MAXBOUNDARIES; i++) + { + words[0] = gStr.gsInner + i.ToString(); + itm = new ListViewItem(words); + lvLines.Items.Add(itm); + } //update the list view with real data UpdateChart(); - UpdateScroll(-1); - } - - private void btnOuter_Click(object sender, EventArgs e) - { - btnLeftRight.Enabled = true; - btnLoadBoundaryFromGE.Enabled = false; - btnLoadMultiBoundaryFromGE.Enabled = false; - btnOuter.Enabled = false; - btnGo.Enabled = true; - - UpdateChart(); - } - - - void DriveThru_Click(object sender, EventArgs e) - { - var b = sender as Button; - if (b != null) - { - mf.bnd.bndArr[Convert.ToInt32(b.Name) + position].isDriveThru = !mf.bnd.bndArr[Convert.ToInt32(b.Name) + position].isDriveThru; - UpdateChart(); - } } - - void OwnField_Click(object sender, EventArgs e) + private void cboxSelectBoundary_SelectedIndexChanged(object sender, EventArgs e) { - var b = sender as Button; - if (b != null) - { - mf.bnd.bndArr[Convert.ToInt32(b.Name) + position].isOwnField = !mf.bnd.bndArr[Convert.ToInt32(b.Name) + position].isOwnField; - //MultipleFieldLocked = true; - UpdateChart(); - } - } - void DriveAround_Click(object sender, EventArgs e) - { - var b = sender as Button; - if (b != null) - { - mf.bnd.bndArr[Convert.ToInt32(b.Name) + position].isDriveAround = !mf.bnd.bndArr[Convert.ToInt32(b.Name) + position].isDriveAround; - UpdateChart(); - } - } + mf.bnd.boundarySelected = cboxSelectBoundary.SelectedIndex; - void b_Click(object sender, EventArgs e) - { - var b = sender as Button; - if (b != null) + if (mf.bnd.boundarySelected == 0) { - - mf.bnd.boundarySelected = Convert.ToInt32(b.Name) + position; - - Selectedreset = false; - - if (mf.bnd.bndArr.Count > mf.bnd.boundarySelected && mf.bnd.bndArr[mf.bnd.boundarySelected].isSet) + if (mf.bnd.bndArr[0].isSet) { btnOuter.Enabled = false; btnLoadBoundaryFromGE.Enabled = false; btnGo.Enabled = false; btnDelete.Enabled = true; - - btnLeftRight.Image = mf.bnd.isDrawRightSide ? Properties.Resources.BoundaryRight : Properties.Resources.BoundaryLeft; - btnLeftRight.Enabled = false; - } else { @@ -339,186 +158,150 @@ void b_Click(object sender, EventArgs e) btnLoadBoundaryFromGE.Enabled = true; btnGo.Enabled = false; btnDelete.Enabled = false; - btnLeftRight.Image = mf.bnd.isDrawRightSide ? Properties.Resources.BoundaryRight : Properties.Resources.BoundaryLeft; - btnLeftRight.Enabled = false; + cboxSelectBoundary.Enabled = false; } - } - UpdateChart(); - } + //must be an inner selected + else if (mf.bnd.bndArr[0].isSet) + { + if (mf.bnd.bndArr[mf.bnd.boundarySelected].isSet) + { + btnOuter.Enabled = false; + btnLoadBoundaryFromGE.Enabled = false; + btnGo.Enabled = false; + btnDelete.Enabled = true; + } + else + { + cboxSelectBoundary.Enabled = false; + cboxDriveThru.Visible = true; + label2.Visible = true; + btnDelete.Enabled = false; + } + } + else + { + mf.TimedMessageBox(1000, gStr.gsNoOuterBoundary, gStr.gsCreateOuterBoundary); + } - private void btnSerialCancel_Click(object sender, EventArgs e) - { - mf.bnd.isOkToAddPoints = false; - mf.turn.BuildTurnLines(); - mf.gf.BuildGeoFenceLines(); - mf.mazeGrid.BuildMazeGridArray(); + UpdateChart(); } - private void btnLeftRight_Click(object sender, EventArgs e) + private void cboxDriveThru_SelectedIndexChanged(object sender, EventArgs e) { - mf.bnd.isDrawRightSide = !mf.bnd.isDrawRightSide; - btnLeftRight.Image = mf.bnd.isDrawRightSide ? Properties.Resources.BoundaryRight : Properties.Resources.BoundaryLeft; + mf.bnd.bndArr[mf.bnd.boundarySelected].isDriveThru = cboxDriveThru.SelectedIndex != 0; + cboxDriveThru.Visible = false; + label2.Visible = false; + cboxDriveAround.Visible = true; + label6.Visible = true; + UpdateChart(); } - private void btnDelete_Click(object sender, EventArgs e) + private void cboxDriveAround_SelectedIndexChanged(object sender, EventArgs e) { - if (mf.bnd.bndArr.Count - 10 < 0) position = 0; - else if (position > mf.bnd.bndArr.Count-10) position--; + mf.bnd.bndArr[mf.bnd.boundarySelected].isDriveAround = cboxDriveAround.SelectedIndex != 0; + cboxDriveAround.Visible = false; + label6.Visible = false; - btnLeftRight.Image = mf.bnd.isDrawRightSide ? Properties.Resources.BoundaryRight : Properties.Resources.BoundaryLeft; - btnLeftRight.Enabled = false; - btnOuter.Enabled = false; - btnLoadBoundaryFromGE.Enabled = false; + btnOuter.Enabled = true; + btnLoadBoundaryFromGE.Enabled = true; btnGo.Enabled = false; btnDelete.Enabled = false; - if (mf.bnd.bndArr.Count > mf.bnd.boundarySelected) - { - mf.bnd.bndArr.RemoveAt(mf.bnd.boundarySelected); - mf.turn.turnArr.RemoveAt(mf.bnd.boundarySelected); - mf.gf.geoFenceArr.RemoveAt(mf.bnd.boundarySelected); - } - mf.FileSaveBoundary(); - mf.bnd.boundarySelected = -1; - Selectedreset = true; - UpdateChart(); - UpdateScroll(-1); } - private double easting, northing, latK, lonK; - - private void ResetAllBoundary() + private void btnOuter_Click(object sender, EventArgs e) { - position = 0; - - mf.bnd.bndArr.Clear(); - mf.turn.turnArr.Clear(); - mf.gf.geoFenceArr.Clear(); - - mf.FileSaveBoundary(); - tableLayoutPanel1.Controls.Clear(); - tableLayoutPanel1.RowStyles.Clear(); + btnLeftRight.Enabled = true; + btnLoadBoundaryFromGE.Enabled = false; + btnOuter.Enabled = false; + btnGo.Enabled = true; UpdateChart(); - UpdateScroll(-1); - - btnLeftRight.Image = mf.bnd.isDrawRightSide ? Properties.Resources.BoundaryRight : Properties.Resources.BoundaryLeft; - btnLeftRight.Enabled = false; - btnOuter.Enabled = false; - btnLoadBoundaryFromGE.Enabled = false; - btnGo.Enabled = false; - btnDelete.Enabled = false; } - private void btnDeleteAll_Click(object sender, EventArgs e) + private void btnSerialCancel_Click(object sender, EventArgs e) { - ResetAllBoundary(); - - mf.bnd.boundarySelected = -1; - Selectedreset = true; - + mf.bnd.bndArr[mf.bnd.boundarySelected].isOkToAddPoints = false; mf.turn.BuildTurnLines(); mf.gf.BuildGeoFenceLines(); mf.mazeGrid.BuildMazeGridArray(); } - private void button1_Click(object sender, EventArgs e) + private void btnLeftRight_Click(object sender, EventArgs e) { - MultipleFieldLocked = !MultipleFieldLocked; - UpdateChart(); - } + mf.bnd.bndArr[mf.bnd.boundarySelected].isDrawRightSide = !mf.bnd.bndArr[mf.bnd.boundarySelected].isDrawRightSide; - private void button1_Click_1(object sender, EventArgs e) - { - if (position + items < mf.bnd.bndArr.Count) position++; - UpdateChart(); - UpdateScroll(-1); + btnLeftRight.Image = mf.bnd.bndArr[mf.bnd.boundarySelected].isDrawRightSide ? Properties.Resources.BoundaryRight : Properties.Resources.BoundaryLeft; } - private void button2_Click(object sender, EventArgs e) - { - if (position > 0) position--; - UpdateChart(); - UpdateScroll(-1); - } - void MouseWheel_scroll(object sender, MouseEventArgs e) + private void btnDelete_Click(object sender, EventArgs e) { - if (e.Delta > 0) - { - if (position > 0) position -= (e.Delta / 120); - } - else + btnLeftRight.Enabled = false; + btnOuter.Enabled = false; + btnLoadBoundaryFromGE.Enabled = false; + btnGo.Enabled = false; + btnDelete.Enabled = false; + cboxSelectBoundary.Enabled = true; { - if (position + items < mf.bnd.bndArr.Count) position -= (e.Delta / 120); + mf.bnd.bndArr[mf.bnd.boundarySelected].ResetBoundary(); + mf.FileSaveBoundary(); } + btnLeftRight.Image = Properties.Resources.BoundaryRight; UpdateChart(); - UpdateScroll(-1); } - void Mouse_Down(object sender, MouseEventArgs e) + private void btnToggleDriveThru_Click(object sender, EventArgs e) { - - oldY = MousePosition.Y; - scroll = true; - } - - void Mouse_Up(object sender, MouseEventArgs e) - { - scroll = false; - } + if (mf.bnd.boundarySelected != 0 && mf.bnd.bndArr[mf.bnd.boundarySelected].isSet) + { + mf.bnd.bndArr[mf.bnd.boundarySelected].isDriveThru = !mf.bnd.bndArr[mf.bnd.boundarySelected].isDriveThru; + UpdateChart(); - void Mouse_Leave(object sender, EventArgs e) - { - scroll = false; + mf.FileSaveBoundary(); + } } - void Mouse_Move(object sender, MouseEventArgs e) + private void btnToggleDriveAround_Click(object sender, EventArgs e) { - if (scroll == true && viewableRatio < 1) + if (mf.bnd.boundarySelected != 0 && mf.bnd.bndArr[mf.bnd.boundarySelected].isSet) { - if (!(oldY == MousePosition.Y)) - { - if (button4.Location.Y + (MousePosition.Y - oldY) > startscroll) - { - if ((button4.Location.Y + (MousePosition.Y - oldY)) < (startscroll + scrollmaxheight - thumbHeight)) - { - - position = (int)(((button4.Location.Y + MousePosition.Y - oldY) - startscroll) / ((scrollmaxheight - thumbHeight) / (mf.bnd.bndArr.Count - items)) + 0.5); - - - - UpdateScroll((button4.Location.Y + (MousePosition.Y - oldY) - startscroll)); - } - else - { - position = mf.bnd.bndArr.Count - items; - UpdateScroll(scrollmaxheight - thumbHeight); - } - } - else - { - position = 0; - UpdateScroll(0); - } - UpdateChart(); - oldY = MousePosition.Y; - } - + mf.bnd.bndArr[mf.bnd.boundarySelected].isDriveAround = !mf.bnd.bndArr[mf.bnd.boundarySelected].isDriveAround; + UpdateChart(); + mf.FileSaveBoundary(); } } - private void btnLoadMultiBoundaryFromGE_Click(object sender, EventArgs e) + private double easting, northing, latK, lonK; + + private void ResetAllBoundary() { - Selectedreset = true; + for (int j = 0; j < FormGPS.MAXBOUNDARIES; j++) mf.bnd.bndArr[j].ResetBoundary(); + mf.FileSaveBoundary(); + UpdateChart(); + cboxSelectBoundary.SelectedIndex = 0; + cboxSelectBoundary.Enabled = true; - btnLeftRight.Image = mf.bnd.isDrawRightSide ? Properties.Resources.BoundaryRight : Properties.Resources.BoundaryLeft; btnLeftRight.Enabled = false; btnOuter.Enabled = false; btnLoadBoundaryFromGE.Enabled = false; btnGo.Enabled = false; btnDelete.Enabled = false; + } + + private void btnDeleteAll_Click(object sender, EventArgs e) + { + ResetAllBoundary(); + mf.bnd.bndArr[mf.bnd.boundarySelected].isOkToAddPoints = false; + mf.turn.BuildTurnLines(); + mf.gf.BuildGeoFenceLines(); + //Task.Run(() => mf.mazeGrid.BuildMazeGridArray()); + mf.mazeGrid.BuildMazeGridArray(); + } + + private void btnLoadMultiBoundaryFromGE_Click(object sender, EventArgs e) + { string fileAndDirectory; { //create the dialog instance @@ -558,6 +341,9 @@ private void btnLoadMultiBoundaryFromGE_Click(object sender, EventArgs e) reader.BaseStream.Seek(0, SeekOrigin.Begin); reader.BaseStream.Position = 0; + if (bndCount > 0) + { + } try { @@ -579,9 +365,6 @@ private void btnLoadMultiBoundaryFromGE_Click(object sender, EventArgs e) //at least 3 points if (numberSets.Length > 2) { - mf.bnd.bndArr.Add(new CBoundaryLines()); - mf.turn.turnArr.Add(new CTurnLines()); - mf.gf.geoFenceArr.Add(new CGeoFenceLines()); //reset boundary foreach (var item in numberSets) { @@ -612,19 +395,17 @@ private void btnLoadMultiBoundaryFromGE_Click(object sender, EventArgs e) mf.bnd.bndArr[i].CalculateBoundaryArea(); mf.bnd.bndArr[i].PreCalcBoundaryLines(); mf.bnd.bndArr[i].isSet = true; - - if (i == 0) mf.bnd.bndArr[i].isOwnField = true; - else mf.bnd.bndArr[i].isOwnField = false; + mf.bnd.bndArr[i].isDriveAround = true; } else { - mf.TimedMessageBox(2000, "Error reading KML", "Choose or Build a Different one"); + mf.TimedMessageBox(2000, gStr.gsErrorreadingKML, gStr.gsChooseBuildDifferentone); } } mf.FileSaveBoundary(); UpdateChart(); - UpdateScroll(-1); + cboxSelectBoundary.Enabled = true; } catch (Exception) { @@ -635,14 +416,6 @@ private void btnLoadMultiBoundaryFromGE_Click(object sender, EventArgs e) private void btnLoadBoundaryFromGE_Click(object sender, EventArgs e) { - Selectedreset = true; - - btnLeftRight.Image = mf.bnd.isDrawRightSide ? Properties.Resources.BoundaryRight : Properties.Resources.BoundaryLeft; - btnLeftRight.Enabled = false; - btnOuter.Enabled = false; - btnLoadBoundaryFromGE.Enabled = false; - btnGo.Enabled = false; - btnDelete.Enabled = false; string fileAndDirectory; { //create the dialog instance @@ -699,11 +472,8 @@ private void btnLoadBoundaryFromGE_Click(object sender, EventArgs e) //at least 3 points if (numberSets.Length > 2) { - mf.bnd.bndArr.Add(new CBoundaryLines()); - mf.turn.turnArr.Add(new CTurnLines()); - mf.gf.geoFenceArr.Add(new CGeoFenceLines()); //reset boundary - //mf.bnd.bndArr[mf.bnd.boundarySelected].ResetBoundary(); + mf.bnd.bndArr[mf.bnd.boundarySelected].ResetBoundary(); foreach (var item in numberSets) { string[] fix = item.Split(','); @@ -733,8 +503,6 @@ private void btnLoadBoundaryFromGE_Click(object sender, EventArgs e) mf.bnd.bndArr[mf.bnd.boundarySelected].CalculateBoundaryArea(); mf.bnd.bndArr[mf.bnd.boundarySelected].PreCalcBoundaryLines(); mf.bnd.bndArr[mf.bnd.boundarySelected].isSet = true; - if (mf.bnd.boundarySelected == 0) mf.bnd.bndArr[mf.bnd.boundarySelected].isOwnField = true; - else mf.bnd.bndArr[mf.bnd.boundarySelected].isOwnField = false; { mf.FileSaveBoundary(); @@ -742,13 +510,13 @@ private void btnLoadBoundaryFromGE_Click(object sender, EventArgs e) } else { - mf.TimedMessageBox(2000, "Error reading KML", "Choose or Build a Different one"); + mf.TimedMessageBox(2000, gStr.gsErrorreadingKML, gStr.gsChooseBuildDifferentone); } } } UpdateChart(); - UpdateScroll(-1); + cboxSelectBoundary.Enabled = true; } catch (Exception) { diff --git a/SourceCode/GPS/Forms/FormBoundaryPlayer.cs b/SourceCode/GPS/Forms/FormBoundaryPlayer.cs index c67968da2..7853e485d 100644 --- a/SourceCode/GPS/Forms/FormBoundaryPlayer.cs +++ b/SourceCode/GPS/Forms/FormBoundaryPlayer.cs @@ -23,29 +23,23 @@ public FormBoundaryPlayer(Form callingForm) private void btnStop_Click(object sender, EventArgs e) { - if (mf.bnd.BoundCreate.Count > 5) + if (mf.bnd.bndArr[mf.bnd.boundarySelected].bndLine.Count > 5) { - mf.bnd.bndArr.Add(new CBoundaryLines()); - mf.turn.turnArr.Add(new CTurnLines()); - mf.gf.geoFenceArr.Add(new CGeoFenceLines()); - for (int i = 0; i < mf.bnd.BoundCreate.Count; i++) - { - mf.bnd.bndArr[mf.bnd.boundarySelected].bndLine.Add(mf.bnd.BoundCreate[i]); - } - mf.bnd.bndArr[mf.bnd.boundarySelected].PreCalcBoundaryLines(); mf.bnd.bndArr[mf.bnd.boundarySelected].FixBoundaryLine(mf.bnd.boundarySelected, mf.vehicle.toolWidth); mf.bnd.bndArr[mf.bnd.boundarySelected].PreCalcBoundaryLines(); mf.bnd.bndArr[mf.bnd.boundarySelected].isSet = true; - - - mf.bnd.bndArr[mf.bnd.boundarySelected].CalculateBoundaryArea(); - if (mf.bnd.boundarySelected == 0) mf.bnd.bndArr[mf.bnd.boundarySelected].isOwnField = true; - else mf.bnd.bndArr[mf.bnd.boundarySelected].isOwnField = false; + } + else + { + mf.bnd.bndArr[mf.bnd.boundarySelected].calcList.Clear(); + mf.bnd.bndArr[mf.bnd.boundarySelected].bndLine.Clear(); + mf.bnd.bndArr[mf.bnd.boundarySelected].area = 0; + mf.bnd.bndArr[mf.bnd.boundarySelected].isSet = false; } //stop it all for adding - mf.bnd.isOkToAddPoints = false; + for (int i = 0; i < FormGPS.MAXBOUNDARIES; i++) mf.bnd.bndArr[i].isOkToAddPoints = false; //turn lines made from boundaries mf.CalculateMinMax(); @@ -55,7 +49,6 @@ private void btnStop_Click(object sender, EventArgs e) //Task.Run(() => mf.mazeGrid.BuildMazeGridArray()); mf.mazeGrid.BuildMazeGridArray(); - mf.bnd.BoundCreate.Clear(); //close window Close(); } @@ -63,15 +56,15 @@ private void btnStop_Click(object sender, EventArgs e) //actually the record button private void btnPausePlay_Click(object sender, EventArgs e) { - if (mf.bnd.isOkToAddPoints) + if (mf.bnd.bndArr[mf.bnd.boundarySelected].isOkToAddPoints) { - mf.bnd.isOkToAddPoints = false; + for (int i = 0; i < FormGPS.MAXBOUNDARIES; i++) mf.bnd.bndArr[i].isOkToAddPoints = false; btnPausePlay.Image = Properties.Resources.BoundaryRecord; btnPausePlay.Text = gStr.gsRecord; } else { - mf.bnd.isOkToAddPoints = true; + mf.bnd.bndArr[mf.bnd.boundarySelected].isOkToAddPoints = true; btnPausePlay.Image = Properties.Resources.boundaryPause; btnPausePlay.Text = gStr.gsPause; } @@ -79,32 +72,23 @@ private void btnPausePlay_Click(object sender, EventArgs e) private void FormBoundaryPlayer_Load(object sender, EventArgs e) { - mf.bnd.isOkToAddPoints = false; + for (int i = 0; i < FormGPS.MAXBOUNDARIES; i++) mf.bnd.bndArr[i].isOkToAddPoints = false; btnPausePlay.Image = Properties.Resources.BoundaryRecord; } private void timer1_Tick(object sender, EventArgs e) { - int ptCount = mf.bnd.BoundCreate.Count; - double area = 0; - - if (ptCount > 0) { - int j = ptCount - 1; // The last vertex is the 'previous' one to the first + mf.bnd.bndArr[mf.bnd.boundarySelected].CalculateBoundaryArea(); - for (int i = 0; i < ptCount; j = i++) + if (mf.isMetric) { - area += (mf.bnd.BoundCreate[j].easting + mf.bnd.BoundCreate[i].easting) * (mf.bnd.BoundCreate[j].northing - mf.bnd.BoundCreate[i].northing); + lblArea.Text = Math.Round(mf.bnd.bndArr[mf.bnd.boundarySelected].area * 0.0001, 2) + " Ha"; + } + else + { + lblArea.Text = Math.Round(mf.bnd.bndArr[mf.bnd.boundarySelected].area * 0.000247105, 2) + " Acre"; } - area = Math.Abs(area / 2); - } - if (mf.isMetric) - { - lblArea.Text = Math.Round(area * 0.0001, 2) + " Ha"; - } - else - { - lblArea.Text = Math.Round(area * 0.000247105, 2) + " Acre"; } } } diff --git a/SourceCode/GPS/Forms/FormCommSet.resx b/SourceCode/GPS/Forms/FormCommSet.resx index 1af7de150..3a9e5f0a3 100644 --- a/SourceCode/GPS/Forms/FormCommSet.resx +++ b/SourceCode/GPS/Forms/FormCommSet.resx @@ -117,4 +117,10 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 17, 17 + + + 25 + \ No newline at end of file diff --git a/SourceCode/GPS/Forms/FormElev.cs b/SourceCode/GPS/Forms/FormElev.cs index cd799a64a..ef065b4b3 100644 --- a/SourceCode/GPS/Forms/FormElev.cs +++ b/SourceCode/GPS/Forms/FormElev.cs @@ -290,13 +290,13 @@ private void CalculateMinMax() deltaElevation = maxElevation - minElevation; //min max of the boundary - if (mf.bnd.bndArr.Count > 0 && mf.bnd.lastBoundary < mf.bnd.bndArr.Count) + if (mf.bnd.bndArr[0].isSet) { - int bndCnt = mf.bnd.bndArr[mf.bnd.lastBoundary].bndLine.Count; + int bndCnt = mf.bnd.bndArr[0].bndLine.Count; for (int i = 0; i < bndCnt; i++) { - double x = mf.bnd.bndArr[mf.bnd.lastBoundary].bndLine[i].easting; - double y = mf.bnd.bndArr[mf.bnd.lastBoundary].bndLine[i].northing; + double x = mf.bnd.bndArr[0].bndLine[i].easting; + double y = mf.bnd.bndArr[0].bndLine[i].northing; //also tally the max/min of field x and z if (minFieldX > x) minFieldX = x; diff --git a/SourceCode/GPS/Forms/FormGPS.Designer.cs b/SourceCode/GPS/Forms/FormGPS.Designer.cs index 3207331d1..44b2ddaaf 100644 --- a/SourceCode/GPS/Forms/FormGPS.Designer.cs +++ b/SourceCode/GPS/Forms/FormGPS.Designer.cs @@ -34,6 +34,7 @@ private void InitializeComponent() this.deleteFlagToolOpenGLContextMenu = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); this.googleEarthOpenGLContextMenu = new System.Windows.Forms.ToolStripMenuItem(); + this.txtDistanceOffABLine = new System.Windows.Forms.TextBox(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); @@ -79,33 +80,41 @@ private void InitializeComponent() this.tmrWatchdog = new System.Windows.Forms.Timer(this.components); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.toolStripBatman = new System.Windows.Forms.ToolStripDropDownButton(); - this.toolStripDropDownButtonDistance = new System.Windows.Forms.ToolStripDropDownButton(); - this.toolStripBtnGPSStength = new System.Windows.Forms.ToolStripDropDownButton(); - this.steerAnglesToolStripDropDownButton1 = new System.Windows.Forms.ToolStripDropDownButton(); - this.toolStripDropDownButton2 = new System.Windows.Forms.ToolStripDropDownButton(); - this.toolStripAutoSteerChart = new System.Windows.Forms.ToolStripMenuItem(); - this.toolstripAutoSteerConfig = new System.Windows.Forms.ToolStripMenuItem(); - this.toolstripYouTurnConfig = new System.Windows.Forms.ToolStripMenuItem(); - this.toolstripVehicleConfig = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripNTRIPConfig = new System.Windows.Forms.ToolStripMenuItem(); - this.toolstripUDPConfig = new System.Windows.Forms.ToolStripMenuItem(); - this.toolstripUSBPortsConfig = new System.Windows.Forms.ToolStripMenuItem(); - this.toolstripDisplayConfig = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripBtnCamera = new System.Windows.Forms.ToolStripDropDownButton(); + this.CameraNorthToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.CameraFollowingToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.CameraTopToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripDropDownButton(); - this.treePlanterToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); - this.webCamToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.smoothABCurveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.lblToolEqWidth = new System.Windows.Forms.ToolStripStatusLabel(); - this.toolStripBtnField = new System.Windows.Forms.ToolStripDropDownButton(); - this.boundaryToolStripBtn = new System.Windows.Forms.ToolStripDropDownButton(); - this.toolStripBtnDropDownBoundaryTools = new System.Windows.Forms.ToolStripDropDownButton(); + this.deletePathMenu = new System.Windows.Forms.ToolStripMenuItem(); + this.recordPathMenu = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem(); + this.goPathMenu = new System.Windows.Forms.ToolStripMenuItem(); + this.pausePathMenu = new System.Windows.Forms.ToolStripMenuItem(); + this.lblAreaRate = new System.Windows.Forms.ToolStripStatusLabel(); + this.stripEqWidth = new System.Windows.Forms.ToolStripStatusLabel(); + this.stripDistance = new System.Windows.Forms.ToolStripStatusLabel(); + this.toolStripBtnDropDownSpecialFunctions = new System.Windows.Forms.ToolStripDropDownButton(); this.toolStripDeleteApplied = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripAreYouSure = new System.Windows.Forms.ToolStripMenuItem(); - this.fileExplorerToolStripItem = new System.Windows.Forms.ToolStripMenuItem(); this.deleteContourPathsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripBtnMakeBndContour = new System.Windows.Forms.ToolStripMenuItem(); - this.boundariesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripLblFieldFinish = new System.Windows.Forms.ToolStripStatusLabel(); + this.toolStripBtnSmoothABCurve = new System.Windows.Forms.ToolStripMenuItem(); + this.treePlanterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripDropDownButton2 = new System.Windows.Forms.ToolStripDropDownButton(); + this.toolStripNTRIPConfig = new System.Windows.Forms.ToolStripMenuItem(); + this.toolstripUDPConfig = new System.Windows.Forms.ToolStripMenuItem(); + this.toolstripUSBPortsConfig = new System.Windows.Forms.ToolStripMenuItem(); + this.toolstripDisplayConfig = new System.Windows.Forms.ToolStripMenuItem(); + this.toolstripVehicleConfig = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripAutoSteerChart = new System.Windows.Forms.ToolStripMenuItem(); + this.toolstripAutoSteerConfig = new System.Windows.Forms.ToolStripMenuItem(); + this.toolstripYouTurnConfig = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripDropDownBtnFuncs = new System.Windows.Forms.ToolStripDropDownButton(); + this.toolstripField = new System.Windows.Forms.ToolStripMenuItem(); + this.toolstripBoundary = new System.Windows.Forms.ToolStripMenuItem(); + this.toolstripResetTrip = new System.Windows.Forms.ToolStripMenuItem(); + this.toolstripExit = new System.Windows.Forms.ToolStripMenuItem(); + this.stripOnlineGPS = new System.Windows.Forms.ToolStripProgressBar(); this.lblNorthing = new System.Windows.Forms.Label(); this.lblEasting = new System.Windows.Forms.Label(); this.lblSpeed = new System.Windows.Forms.Label(); @@ -117,18 +126,112 @@ private void InitializeComponent() this.toolStripMenuFlagDelete = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripMenuFlagDeleteAll = new System.Windows.Forms.ToolStripMenuItem(); + this.contextMenuArea = new System.Windows.Forms.ContextMenuStrip(this.components); + this.toolStripMenuAreaSide = new System.Windows.Forms.ToolStripMenuItem(); + this.tboxSentence = new System.Windows.Forms.TextBox(); + this.lblZone = new System.Windows.Forms.Label(); this.lblSpeedUnits = new System.Windows.Forms.Label(); this.lblHeading = new System.Windows.Forms.Label(); - this.lblUturnByte = new System.Windows.Forms.Label(); - this.label13 = new System.Windows.Forms.Label(); - this.pbarRelayCommSmall = new System.Windows.Forms.ProgressBar(); - this.lblHeading2 = new System.Windows.Forms.Label(); + this.imageList1 = new System.Windows.Forms.ImageList(this.components); + this.label5 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.lblFieldWidthNorthSouth = new System.Windows.Forms.Label(); + this.lblFieldWidthEastWest = new System.Windows.Forms.Label(); + this.tabControl1 = new System.Windows.Forms.TabControl(); + this.autoPage4 = new System.Windows.Forms.TabPage(); this.nudElevation = new System.Windows.Forms.NumericUpDown(); + this.btnRecordElevation = new System.Windows.Forms.Button(); + this.btnLidarOnOff = new System.Windows.Forms.Button(); this.btnElevationMap = new System.Windows.Forms.Button(); + this.btnManualAutoDrive = new System.Windows.Forms.Button(); + this.configPage1 = new System.Windows.Forms.TabPage(); + this.btnFixOffset = new System.Windows.Forms.Button(); + this.btnFlagsGoogleEarth = new System.Windows.Forms.Button(); + this.btnWebCam = new System.Windows.Forms.Button(); + this.btnHelp = new System.Windows.Forms.Button(); + this.btnFileExplorer = new System.Windows.Forms.Button(); + this.btnPerimeter = new System.Windows.Forms.Button(); + this.DataPage = new System.Windows.Forms.TabPage(); + this.label17 = new System.Windows.Forms.Label(); + this.lblMoveDistance = new System.Windows.Forms.Label(); + this.lblTimeRemaining = new System.Windows.Forms.Label(); + this.pbarFieldAreaRemainPercent = new System.Windows.Forms.ProgressBar(); + this.label13 = new System.Windows.Forms.Label(); + this.label12 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.pbarUDPComm = new System.Windows.Forms.ProgressBar(); + this.pbarAutoSteerComm = new System.Windows.Forms.ProgressBar(); + this.pbarRelayComm = new System.Windows.Forms.ProgressBar(); + this.label3 = new System.Windows.Forms.Label(); + this.lblActualSteerAngle2 = new System.Windows.Forms.Label(); + this.lblSetpointSteerAngle2 = new System.Windows.Forms.Label(); + this.btnSmallRight2 = new System.Windows.Forms.Button(); + this.btnSmallLeft2 = new System.Windows.Forms.Button(); + this.btnBigRight2 = new System.Windows.Forms.Button(); + this.btnBigLeft2 = new System.Windows.Forms.Button(); + this.lblLongitude = new System.Windows.Forms.Label(); + this.lblLatitude = new System.Windows.Forms.Label(); + this.lblAltitude = new System.Windows.Forms.Label(); + this.lblConvergenceAngle = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.lblLidarDistance = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.lblHeading2 = new System.Windows.Forms.Label(); + this.lblRoll = new System.Windows.Forms.Label(); + this.lblGPSHeading = new System.Windows.Forms.Label(); + this.lblYawHeading = new System.Windows.Forms.Label(); + this.label25 = new System.Windows.Forms.Label(); + this.label24 = new System.Windows.Forms.Label(); + this.label22 = new System.Windows.Forms.Label(); + this.lblSats = new System.Windows.Forms.Label(); + this.label16 = new System.Windows.Forms.Label(); + this.label19 = new System.Windows.Forms.Label(); + this.label18 = new System.Windows.Forms.Label(); + this.label10 = new System.Windows.Forms.Label(); + this.label9 = new System.Windows.Forms.Label(); + this.label8 = new System.Windows.Forms.Label(); + this.lblPercentRemaining = new System.Windows.Forms.Label(); + this.btnTinyAutoSteerConfig = new System.Windows.Forms.Button(); + this.btnGPSData = new System.Windows.Forms.Button(); this.cboxpRowWidth = new System.Windows.Forms.ComboBox(); + this.oglZoom = new OpenTK.GLControl(); + this.panelBatman = new System.Windows.Forms.Panel(); + this.label11 = new System.Windows.Forms.Label(); + this.lblMoveDistanceBatman = new System.Windows.Forms.Label(); + this.label26 = new System.Windows.Forms.Label(); + this.pbarUDPSmall = new System.Windows.Forms.ProgressBar(); + this.pbarSteerSmall = new System.Windows.Forms.ProgressBar(); + this.btnSmallSnapRight = new System.Windows.Forms.Button(); + this.btnSmallSnapLeft = new System.Windows.Forms.Button(); + this.btnSnapRight = new System.Windows.Forms.Button(); + this.lblUturnByte = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.lblWatch = new System.Windows.Forms.Label(); + this.btnStartStopNtrip = new System.Windows.Forms.Button(); + this.lblNTRIPSeconds = new System.Windows.Forms.Label(); + this.btnSnapLeft = new System.Windows.Forms.Button(); + this.lblNtripBytes = new System.Windows.Forms.Label(); + this.pbarNtrip = new System.Windows.Forms.ProgressBar(); + this.lblpTimeToFinish = new System.Windows.Forms.Label(); + this.lblpAreaWorked = new System.Windows.Forms.Label(); + this.lblpFieldAreaRemain = new System.Windows.Forms.Label(); + this.lblpBoundaryArea = new System.Windows.Forms.Label(); + this.lblpFieldAreaRemainPercent = new System.Windows.Forms.Label(); + this.lblpGPSHeading = new System.Windows.Forms.Label(); + this.lblpYawHeading = new System.Windows.Forms.Label(); + this.label35 = new System.Windows.Forms.Label(); + this.label39 = new System.Windows.Forms.Label(); + this.lblpRoll = new System.Windows.Forms.Label(); + this.label33 = new System.Windows.Forms.Label(); + this.lblpAltitude = new System.Windows.Forms.Label(); + this.label14 = new System.Windows.Forms.Label(); + this.label20 = new System.Windows.Forms.Label(); + this.label15 = new System.Windows.Forms.Label(); this.btnResetSim = new System.Windows.Forms.Button(); + this.btnResetSteerAngle = new System.Windows.Forms.Button(); this.timerSim = new System.Windows.Forms.Timer(this.components); this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); + this.panelSimControls = new System.Windows.Forms.Panel(); this.hsbarSteerAngle = new System.Windows.Forms.HScrollBar(); this.hsbarStepDistance = new System.Windows.Forms.HScrollBar(); this.btnSection8Man = new System.Windows.Forms.Button(); @@ -146,95 +249,36 @@ private void InitializeComponent() this.oglMain = new OpenTK.GLControl(); this.oglBack = new OpenTK.GLControl(); this.lblHz = new System.Windows.Forms.Label(); - this.label15 = new System.Windows.Forms.Label(); - this.label20 = new System.Windows.Forms.Label(); - this.lblpAltitude = new System.Windows.Forms.Label(); - this.label33 = new System.Windows.Forms.Label(); - this.lblRoll = new System.Windows.Forms.Label(); - this.label39 = new System.Windows.Forms.Label(); - this.label35 = new System.Windows.Forms.Label(); - this.lblYawHeading = new System.Windows.Forms.Label(); - this.lblGPSHeading = new System.Windows.Forms.Label(); - this.pbarSteerSmall = new System.Windows.Forms.ProgressBar(); - this.pbarUDPSmall = new System.Windows.Forms.ProgressBar(); - this.label3 = new System.Windows.Forms.Label(); - this.label24 = new System.Windows.Forms.Label(); - this.lblSats = new System.Windows.Forms.Label(); - this.panelBatman = new System.Windows.Forms.Panel(); - this.oglZoom = new OpenTK.GLControl(); - this.lblLongitude = new System.Windows.Forms.Label(); - this.lblLatitude = new System.Windows.Forms.Label(); - this.lblZone = new System.Windows.Forms.Label(); - this.lblConvergenceAngle = new System.Windows.Forms.Label(); - this.label25 = new System.Windows.Forms.Label(); - this.label19 = new System.Windows.Forms.Label(); - this.label18 = new System.Windows.Forms.Label(); - this.statusStripLeft = new System.Windows.Forms.StatusStrip(); - this.toolStripMenuRecPath = new System.Windows.Forms.ToolStripDropDownButton(); - this.goStopRecPathToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.pauseResumeRecPathToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.recordRecPathToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.deletePathRecPathToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.AutoManualtoolStripSplitButton1 = new System.Windows.Forms.ToolStripSplitButton(); - this.toolStripBtnPower = new System.Windows.Forms.ToolStripSplitButton(); - this.flagsGEToolStrip = new System.Windows.Forms.ToolStripSplitButton(); - this.cameraDropDown = new System.Windows.Forms.ToolStripDropDownButton(); - this.twoDToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.threeDToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.northToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.youTurnToolStrip = new System.Windows.Forms.ToolStripSplitButton(); - this.autoSteerToolStrip = new System.Windows.Forms.ToolStripSplitButton(); - this.vehicleSettingsToolStrip = new System.Windows.Forms.ToolStripSplitButton(); - this.cboxTramBasedOn = new System.Windows.Forms.ComboBox(); - this.cboxTramPassEvery = new System.Windows.Forms.ComboBox(); - this.layoutPanelRight = new System.Windows.Forms.TableLayoutPanel(); + this.btnCycleLines = new System.Windows.Forms.Button(); this.btnMakeLinesFromBoundary = new System.Windows.Forms.Button(); - this.btnSectionOffAutoOn = new System.Windows.Forms.Button(); + this.btnZoomIn = new ProXoft.WinForms.RepeatButton(); + this.btnZoomOut = new ProXoft.WinForms.RepeatButton(); + this.btnSwapDirection = new System.Windows.Forms.Button(); + this.btnContourPriority = new System.Windows.Forms.Button(); + this.btnCurve = new System.Windows.Forms.Button(); + this.btnLeftYouTurn = new System.Windows.Forms.Button(); this.btnEnableAutoYouTurn = new System.Windows.Forms.Button(); + this.btnSectionOffAutoOn = new System.Windows.Forms.Button(); + this.btnpTiltDown = new ProXoft.WinForms.RepeatButton(); + this.btnpTiltUp = new ProXoft.WinForms.RepeatButton(); this.btnFlag = new System.Windows.Forms.Button(); this.btnAutoSteer = new System.Windows.Forms.Button(); - this.btnABLine = new System.Windows.Forms.Button(); + this.btnRightYouTurn = new System.Windows.Forms.Button(); this.btnContour = new System.Windows.Forms.Button(); - this.btnCurve = new System.Windows.Forms.Button(); - this.btnSaveAB = new System.Windows.Forms.Button(); this.btnManualOffOn = new System.Windows.Forms.Button(); - this.btnCycleLines = new System.Windows.Forms.Button(); - this.panelSim = new System.Windows.Forms.TableLayoutPanel(); - this.btnResetSteerAngle = new System.Windows.Forms.Button(); - this.lblTramSkips = new System.Windows.Forms.Label(); - this.lblTramStart = new System.Windows.Forms.Label(); - this.lblDistanceOffLine = new System.Windows.Forms.Label(); - this.panelSnap = new System.Windows.Forms.TableLayoutPanel(); - this.btnSnapLeft = new System.Windows.Forms.Button(); - this.btnSnapLeftSmall = new System.Windows.Forms.Button(); - this.btnContourPriority = new System.Windows.Forms.Button(); - this.btnSnapRightSmall = new System.Windows.Forms.Button(); - this.btnSnapRight = new System.Windows.Forms.Button(); - this.panelTurn = new System.Windows.Forms.TableLayoutPanel(); - this.btnLeftYouTurn = new System.Windows.Forms.Button(); - this.btnSwapDirection = new System.Windows.Forms.Button(); - this.btnRightYouTurn = new System.Windows.Forms.Button(); - this.panelNTRIP = new System.Windows.Forms.Panel(); - this.lblNtripBytes = new System.Windows.Forms.Label(); - this.btnStartStopNtrip = new System.Windows.Forms.Button(); - this.pbarNtrip = new System.Windows.Forms.ProgressBar(); - this.lblNTRIPSeconds = new System.Windows.Forms.Label(); - this.lblWatch = new System.Windows.Forms.Label(); - this.btnZoomIn = new ProXoft.WinForms.RepeatButton(); - this.btnZoomOut = new ProXoft.WinForms.RepeatButton(); - this.btnRecordElevation = new System.Windows.Forms.Button(); + this.btnABLine = new System.Windows.Forms.Button(); this.contextMenuStripOpenGL.SuspendLayout(); this.menuStrip1.SuspendLayout(); this.statusStrip1.SuspendLayout(); this.contextMenuStripFlag.SuspendLayout(); + this.contextMenuArea.SuspendLayout(); + this.tabControl1.SuspendLayout(); + this.autoPage4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.nudElevation)).BeginInit(); + this.configPage1.SuspendLayout(); + this.DataPage.SuspendLayout(); this.panelBatman.SuspendLayout(); - this.statusStripLeft.SuspendLayout(); - this.layoutPanelRight.SuspendLayout(); - this.panelSim.SuspendLayout(); - this.panelSnap.SuspendLayout(); - this.panelTurn.SuspendLayout(); - this.panelNTRIP.SuspendLayout(); + this.panelSimControls.SuspendLayout(); this.SuspendLayout(); // // contextMenuStripOpenGL @@ -275,10 +319,26 @@ private void InitializeComponent() this.googleEarthOpenGLContextMenu.Text = "."; this.googleEarthOpenGLContextMenu.Click += new System.EventHandler(this.googleEarthOpenGLContextMenu_Click); // + // txtDistanceOffABLine + // + this.txtDistanceOffABLine.Anchor = System.Windows.Forms.AnchorStyles.Top; + this.txtDistanceOffABLine.BackColor = System.Drawing.SystemColors.ScrollBar; + this.txtDistanceOffABLine.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.txtDistanceOffABLine.Font = new System.Drawing.Font("Tahoma", 21.75F); + this.txtDistanceOffABLine.ForeColor = System.Drawing.Color.Green; + this.txtDistanceOffABLine.Location = new System.Drawing.Point(603, 3); + this.txtDistanceOffABLine.Margin = new System.Windows.Forms.Padding(0, 0, 0, 4); + this.txtDistanceOffABLine.Name = "txtDistanceOffABLine"; + this.txtDistanceOffABLine.ReadOnly = true; + this.txtDistanceOffABLine.Size = new System.Drawing.Size(110, 36); + this.txtDistanceOffABLine.TabIndex = 7; + this.txtDistanceOffABLine.Text = "00000"; + this.txtDistanceOffABLine.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // // menuStrip1 // this.menuStrip1.AutoSize = false; - this.menuStrip1.BackColor = System.Drawing.Color.Transparent; + this.menuStrip1.BackColor = System.Drawing.SystemColors.ScrollBar; this.menuStrip1.Font = new System.Drawing.Font("Tahoma", 22F); this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, @@ -286,7 +346,7 @@ private void InitializeComponent() this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Padding = new System.Windows.Forms.Padding(0); - this.menuStrip1.Size = new System.Drawing.Size(1340, 48); + this.menuStrip1.Size = new System.Drawing.Size(1065, 40); this.menuStrip1.TabIndex = 49; this.menuStrip1.Text = "menuStrip1"; // @@ -310,7 +370,7 @@ private void InitializeComponent() this.fileToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Padding = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.fileToolStripMenuItem.Size = new System.Drawing.Size(98, 48); + this.fileToolStripMenuItem.Size = new System.Drawing.Size(108, 40); // // toolStripSeparator9 // @@ -479,7 +539,7 @@ private void InitializeComponent() this.settingsToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem"; this.settingsToolStripMenuItem.Padding = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.settingsToolStripMenuItem.Size = new System.Drawing.Size(98, 48); + this.settingsToolStripMenuItem.Size = new System.Drawing.Size(108, 40); // // toolStripSeparator1 // @@ -631,29 +691,26 @@ private void InitializeComponent() // // statusStrip1 // - this.statusStrip1.AllowItemReorder = true; - this.statusStrip1.BackColor = System.Drawing.Color.Azure; + this.statusStrip1.AutoSize = false; + this.statusStrip1.BackColor = System.Drawing.SystemColors.ControlLight; this.statusStrip1.Font = new System.Drawing.Font("Tahoma", 12F); - this.statusStrip1.GripMargin = new System.Windows.Forms.Padding(0); - this.statusStrip1.ImageScalingSize = new System.Drawing.Size(48, 48); this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripBatman, - this.toolStripDropDownButtonDistance, - this.toolStripBtnGPSStength, - this.steerAnglesToolStripDropDownButton1, - this.toolStripDropDownButton2, + this.toolStripBtnCamera, this.toolStripDropDownButton1, - this.lblToolEqWidth, - this.toolStripBtnField, - this.boundaryToolStripBtn, - this.toolStripBtnDropDownBoundaryTools, - this.toolStripLblFieldFinish}); - this.statusStrip1.Location = new System.Drawing.Point(0, 691); + this.lblAreaRate, + this.stripEqWidth, + this.stripDistance, + this.toolStripBtnDropDownSpecialFunctions, + this.toolStripDropDownButton2, + this.toolStripDropDownBtnFuncs, + this.stripOnlineGPS}); + this.statusStrip1.Location = new System.Drawing.Point(0, 645); this.statusStrip1.Name = "statusStrip1"; - this.statusStrip1.Size = new System.Drawing.Size(1340, 68); - this.statusStrip1.SizingGrip = false; - this.statusStrip1.Stretch = false; + this.statusStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional; + this.statusStrip1.Size = new System.Drawing.Size(1065, 56); this.statusStrip1.TabIndex = 95; + this.statusStrip1.Text = "statusStrip1"; // // toolStripBatman // @@ -666,337 +723,417 @@ private void InitializeComponent() this.toolStripBatman.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripBatman.Name = "toolStripBatman"; this.toolStripBatman.ShowDropDownArrow = false; - this.toolStripBatman.Size = new System.Drawing.Size(80, 66); + this.toolStripBatman.Size = new System.Drawing.Size(84, 54); this.toolStripBatman.Click += new System.EventHandler(this.toolStripBatman_Click); // - // toolStripDropDownButtonDistance - // - this.toolStripDropDownButtonDistance.AutoSize = false; - this.toolStripDropDownButtonDistance.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.toolStripDropDownButtonDistance.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; - this.toolStripDropDownButtonDistance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.toolStripDropDownButtonDistance.Image = global::AgOpenGPS.Properties.Resources.Batman48; - this.toolStripDropDownButtonDistance.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.toolStripDropDownButtonDistance.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripDropDownButtonDistance.Name = "toolStripDropDownButtonDistance"; - this.toolStripDropDownButtonDistance.ShowDropDownArrow = false; - this.toolStripDropDownButtonDistance.Size = new System.Drawing.Size(68, 66); - this.toolStripDropDownButtonDistance.Text = "88.8"; - this.toolStripDropDownButtonDistance.Click += new System.EventHandler(this.toolStripDropDownButtonDistance_Click); - // - // toolStripBtnGPSStength - // - this.toolStripBtnGPSStength.AutoSize = false; - this.toolStripBtnGPSStength.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.toolStripBtnGPSStength.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.toolStripBtnGPSStength.Font = new System.Drawing.Font("Tahoma", 18F); - this.toolStripBtnGPSStength.Image = global::AgOpenGPS.Properties.Resources.GPSSignalPoor; - this.toolStripBtnGPSStength.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.toolStripBtnGPSStength.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripBtnGPSStength.Name = "toolStripBtnGPSStength"; - this.toolStripBtnGPSStength.ShowDropDownArrow = false; - this.toolStripBtnGPSStength.Size = new System.Drawing.Size(80, 66); - this.toolStripBtnGPSStength.Click += new System.EventHandler(this.toolStripBtnGPSStength_Click); - // - // steerAnglesToolStripDropDownButton1 - // - this.steerAnglesToolStripDropDownButton1.AutoSize = false; - this.steerAnglesToolStripDropDownButton1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.steerAnglesToolStripDropDownButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text; - this.steerAnglesToolStripDropDownButton1.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.steerAnglesToolStripDropDownButton1.Image = global::AgOpenGPS.Properties.Resources.Batman48; - this.steerAnglesToolStripDropDownButton1.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.steerAnglesToolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta; - this.steerAnglesToolStripDropDownButton1.Name = "steerAnglesToolStripDropDownButton1"; - this.steerAnglesToolStripDropDownButton1.ShowDropDownArrow = false; - this.steerAnglesToolStripDropDownButton1.Size = new System.Drawing.Size(64, 66); - this.steerAnglesToolStripDropDownButton1.Text = "-38.88"; - this.steerAnglesToolStripDropDownButton1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // toolStripBtnCamera + // + this.toolStripBtnCamera.AutoSize = false; + this.toolStripBtnCamera.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.toolStripBtnCamera.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.toolStripBtnCamera.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.CameraNorthToolStripMenuItem, + this.CameraFollowingToolStripMenuItem, + this.CameraTopToolStripMenuItem}); + this.toolStripBtnCamera.Font = new System.Drawing.Font("Tahoma", 36F); + this.toolStripBtnCamera.Image = global::AgOpenGPS.Properties.Resources.Camera54; + this.toolStripBtnCamera.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.toolStripBtnCamera.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripBtnCamera.Name = "toolStripBtnCamera"; + this.toolStripBtnCamera.ShowDropDownArrow = false; + this.toolStripBtnCamera.Size = new System.Drawing.Size(92, 54); + // + // CameraNorthToolStripMenuItem + // + this.CameraNorthToolStripMenuItem.AutoSize = false; + this.CameraNorthToolStripMenuItem.Font = new System.Drawing.Font("Tahoma", 36F); + this.CameraNorthToolStripMenuItem.Image = global::AgOpenGPS.Properties.Resources.CameraNorth64; + this.CameraNorthToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.CameraNorthToolStripMenuItem.Name = "CameraNorthToolStripMenuItem"; + this.CameraNorthToolStripMenuItem.Size = new System.Drawing.Size(259, 80); + this.CameraNorthToolStripMenuItem.Text = "N"; + this.CameraNorthToolStripMenuItem.Click += new System.EventHandler(this.CameraNorthToolStripMenuItem_Click); + // + // CameraFollowingToolStripMenuItem + // + this.CameraFollowingToolStripMenuItem.AutoSize = false; + this.CameraFollowingToolStripMenuItem.Image = global::AgOpenGPS.Properties.Resources.Camera3D64; + this.CameraFollowingToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.CameraFollowingToolStripMenuItem.Name = "CameraFollowingToolStripMenuItem"; + this.CameraFollowingToolStripMenuItem.Size = new System.Drawing.Size(259, 80); + this.CameraFollowingToolStripMenuItem.Text = "3D"; + this.CameraFollowingToolStripMenuItem.Click += new System.EventHandler(this.CameraFollowingToolStripMenuItem_Click); + // + // CameraTopToolStripMenuItem + // + this.CameraTopToolStripMenuItem.AutoSize = false; + this.CameraTopToolStripMenuItem.Image = global::AgOpenGPS.Properties.Resources.Camera2D64; + this.CameraTopToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.CameraTopToolStripMenuItem.Name = "CameraTopToolStripMenuItem"; + this.CameraTopToolStripMenuItem.Size = new System.Drawing.Size(259, 80); + this.CameraTopToolStripMenuItem.Text = "2D"; + this.CameraTopToolStripMenuItem.Click += new System.EventHandler(this.CameraTopToolStripMenuItem_Click); + // + // toolStripDropDownButton1 + // + this.toolStripDropDownButton1.AutoSize = false; + this.toolStripDropDownButton1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.toolStripDropDownButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.toolStripDropDownButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.deletePathMenu, + this.recordPathMenu, + this.toolStripMenuItem3, + this.goPathMenu, + this.pausePathMenu}); + this.toolStripDropDownButton1.Font = new System.Drawing.Font("Tahoma", 18F); + this.toolStripDropDownButton1.Image = global::AgOpenGPS.Properties.Resources.RecPath; + this.toolStripDropDownButton1.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripDropDownButton1.Name = "toolStripDropDownButton1"; + this.toolStripDropDownButton1.ShowDropDownArrow = false; + this.toolStripDropDownButton1.Size = new System.Drawing.Size(100, 54); + // + // deletePathMenu + // + this.deletePathMenu.Image = global::AgOpenGPS.Properties.Resources.Cancel64; + this.deletePathMenu.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.deletePathMenu.Name = "deletePathMenu"; + this.deletePathMenu.Size = new System.Drawing.Size(307, 70); + this.deletePathMenu.Text = "Delete Path"; + this.deletePathMenu.Click += new System.EventHandler(this.DeletePathMenu_Click); + // + // recordPathMenu + // + this.recordPathMenu.Image = global::AgOpenGPS.Properties.Resources.BoundaryRecord; + this.recordPathMenu.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.recordPathMenu.Name = "recordPathMenu"; + this.recordPathMenu.Size = new System.Drawing.Size(307, 70); + this.recordPathMenu.Text = "Record / Stop"; + this.recordPathMenu.Click += new System.EventHandler(this.RecordPathMenu_Click); + // + // toolStripMenuItem3 + // + this.toolStripMenuItem3.Enabled = false; + this.toolStripMenuItem3.Name = "toolStripMenuItem3"; + this.toolStripMenuItem3.Size = new System.Drawing.Size(307, 70); + this.toolStripMenuItem3.Text = "---------------"; + // + // goPathMenu + // + this.goPathMenu.Image = global::AgOpenGPS.Properties.Resources.AutoGo; + this.goPathMenu.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.goPathMenu.Name = "goPathMenu"; + this.goPathMenu.Size = new System.Drawing.Size(307, 70); + this.goPathMenu.Text = "Go / Stop"; + this.goPathMenu.Click += new System.EventHandler(this.goPathMenu_Click); + // + // pausePathMenu + // + this.pausePathMenu.Image = global::AgOpenGPS.Properties.Resources.boundaryPause; + this.pausePathMenu.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.pausePathMenu.Name = "pausePathMenu"; + this.pausePathMenu.Size = new System.Drawing.Size(307, 70); + this.pausePathMenu.Text = "Pause / Resume"; + this.pausePathMenu.Click += new System.EventHandler(this.pausePathMenu_Click); + // + // lblAreaRate + // + this.lblAreaRate.AutoSize = false; + this.lblAreaRate.Font = new System.Drawing.Font("Tahoma", 14.25F); + this.lblAreaRate.Margin = new System.Windows.Forms.Padding(-4, 0, 0, 0); + this.lblAreaRate.Name = "lblAreaRate"; + this.lblAreaRate.Size = new System.Drawing.Size(80, 56); + this.lblAreaRate.Text = "88 Ac/Hr"; + // + // stripEqWidth + // + this.stripEqWidth.BackColor = System.Drawing.SystemColors.ControlLightLight; + this.stripEqWidth.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.stripEqWidth.Font = new System.Drawing.Font("Tahoma", 18F); + this.stripEqWidth.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.stripEqWidth.Margin = new System.Windows.Forms.Padding(0); + this.stripEqWidth.Name = "stripEqWidth"; + this.stripEqWidth.Size = new System.Drawing.Size(18, 56); + this.stripEqWidth.Spring = true; + this.stripEqWidth.Text = "Width"; + // + // stripDistance + // + this.stripDistance.AutoSize = false; + this.stripDistance.Font = new System.Drawing.Font("Tahoma", 14.25F); + this.stripDistance.Margin = new System.Windows.Forms.Padding(-4, 0, 0, 0); + this.stripDistance.Name = "stripDistance"; + this.stripDistance.Size = new System.Drawing.Size(80, 56); + this.stripDistance.Text = "8888 ft"; + // + // toolStripBtnDropDownSpecialFunctions + // + this.toolStripBtnDropDownSpecialFunctions.AutoSize = false; + this.toolStripBtnDropDownSpecialFunctions.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.toolStripBtnDropDownSpecialFunctions.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.toolStripBtnDropDownSpecialFunctions.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripDeleteApplied, + this.deleteContourPathsToolStripMenuItem, + this.toolStripBtnMakeBndContour, + this.toolStripBtnSmoothABCurve, + this.treePlanterToolStripMenuItem}); + this.toolStripBtnDropDownSpecialFunctions.Font = new System.Drawing.Font("Tahoma", 18F); + this.toolStripBtnDropDownSpecialFunctions.Image = global::AgOpenGPS.Properties.Resources.SpecialFunctions; + this.toolStripBtnDropDownSpecialFunctions.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.toolStripBtnDropDownSpecialFunctions.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripBtnDropDownSpecialFunctions.Name = "toolStripBtnDropDownSpecialFunctions"; + this.toolStripBtnDropDownSpecialFunctions.ShowDropDownArrow = false; + this.toolStripBtnDropDownSpecialFunctions.Size = new System.Drawing.Size(120, 54); + // + // toolStripDeleteApplied + // + this.toolStripDeleteApplied.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripAreYouSure}); + this.toolStripDeleteApplied.Font = new System.Drawing.Font("Tahoma", 20.25F); + this.toolStripDeleteApplied.Image = global::AgOpenGPS.Properties.Resources.skull; + this.toolStripDeleteApplied.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.toolStripDeleteApplied.Name = "toolStripDeleteApplied"; + this.toolStripDeleteApplied.Size = new System.Drawing.Size(434, 70); + this.toolStripDeleteApplied.Text = "Delete Applied Area"; + // + // toolStripAreYouSure + // + this.toolStripAreYouSure.Name = "toolStripAreYouSure"; + this.toolStripAreYouSure.Size = new System.Drawing.Size(256, 38); + this.toolStripAreYouSure.Text = "Are You sure?"; + this.toolStripAreYouSure.Click += new System.EventHandler(this.toolStripAreYouSure_Click); + // + // deleteContourPathsToolStripMenuItem + // + this.deleteContourPathsToolStripMenuItem.Font = new System.Drawing.Font("Tahoma", 20.25F); + this.deleteContourPathsToolStripMenuItem.Image = global::AgOpenGPS.Properties.Resources.HideContour; + this.deleteContourPathsToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.deleteContourPathsToolStripMenuItem.Name = "deleteContourPathsToolStripMenuItem"; + this.deleteContourPathsToolStripMenuItem.Size = new System.Drawing.Size(434, 70); + this.deleteContourPathsToolStripMenuItem.Text = "Hide Contour Paths"; + this.deleteContourPathsToolStripMenuItem.Click += new System.EventHandler(this.deleteContourPathsToolStripMenuItem_Click); + // + // toolStripBtnMakeBndContour + // + this.toolStripBtnMakeBndContour.Font = new System.Drawing.Font("Tahoma", 20.25F); + this.toolStripBtnMakeBndContour.Image = global::AgOpenGPS.Properties.Resources.MakeBoundary; + this.toolStripBtnMakeBndContour.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.toolStripBtnMakeBndContour.Name = "toolStripBtnMakeBndContour"; + this.toolStripBtnMakeBndContour.Size = new System.Drawing.Size(434, 70); + this.toolStripBtnMakeBndContour.Text = "Make Boundary Contours"; + this.toolStripBtnMakeBndContour.Click += new System.EventHandler(this.toolStripBtnMakeBndContour_Click); + // + // toolStripBtnSmoothABCurve + // + this.toolStripBtnSmoothABCurve.Font = new System.Drawing.Font("Tahoma", 20.25F); + this.toolStripBtnSmoothABCurve.Image = global::AgOpenGPS.Properties.Resources.ABSmooth; + this.toolStripBtnSmoothABCurve.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.toolStripBtnSmoothABCurve.Name = "toolStripBtnSmoothABCurve"; + this.toolStripBtnSmoothABCurve.Size = new System.Drawing.Size(434, 70); + this.toolStripBtnSmoothABCurve.Text = "Smooth AB Curve"; + this.toolStripBtnSmoothABCurve.Click += new System.EventHandler(this.toolStripBtnSmoothABCurve_Click); + // + // treePlanterToolStripMenuItem + // + this.treePlanterToolStripMenuItem.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.treePlanterToolStripMenuItem.Image = global::AgOpenGPS.Properties.Resources.tree; + this.treePlanterToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.treePlanterToolStripMenuItem.Name = "treePlanterToolStripMenuItem"; + this.treePlanterToolStripMenuItem.Size = new System.Drawing.Size(434, 70); + this.treePlanterToolStripMenuItem.Text = "Tree Planter"; + this.treePlanterToolStripMenuItem.Click += new System.EventHandler(this.treePlanterToolStripMenuItem_Click); // // toolStripDropDownButton2 // this.toolStripDropDownButton2.AutoSize = false; this.toolStripDropDownButton2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.toolStripDropDownButton2.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripAutoSteerChart, - this.toolstripAutoSteerConfig, - this.toolstripYouTurnConfig, - this.toolstripVehicleConfig, this.toolStripNTRIPConfig, this.toolstripUDPConfig, this.toolstripUSBPortsConfig, - this.toolstripDisplayConfig}); - this.toolStripDropDownButton2.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.toolStripDropDownButton2.Image = global::AgOpenGPS.Properties.Resources.SettingsGear64; + this.toolstripDisplayConfig, + this.toolstripVehicleConfig, + this.toolStripAutoSteerChart, + this.toolstripAutoSteerConfig, + this.toolstripYouTurnConfig}); + this.toolStripDropDownButton2.Font = new System.Drawing.Font("Tahoma", 15.75F); + this.toolStripDropDownButton2.Image = global::AgOpenGPS.Properties.Resources.Settings48; this.toolStripDropDownButton2.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.toolStripDropDownButton2.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripDropDownButton2.Margin = new System.Windows.Forms.Padding(0); + this.toolStripDropDownButton2.Margin = new System.Windows.Forms.Padding(0, 1, 0, 0); this.toolStripDropDownButton2.Name = "toolStripDropDownButton2"; - this.toolStripDropDownButton2.Size = new System.Drawing.Size(100, 68); + this.toolStripDropDownButton2.ShowDropDownArrow = false; + this.toolStripDropDownButton2.Size = new System.Drawing.Size(120, 55); this.toolStripDropDownButton2.TextImageRelation = System.Windows.Forms.TextImageRelation.Overlay; // - // toolStripAutoSteerChart - // - this.toolStripAutoSteerChart.AutoSize = false; - this.toolStripAutoSteerChart.BackColor = System.Drawing.SystemColors.ButtonFace; - this.toolStripAutoSteerChart.Font = new System.Drawing.Font("Tahoma", 24F); - this.toolStripAutoSteerChart.Image = global::AgOpenGPS.Properties.Resources.Chart; - this.toolStripAutoSteerChart.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.toolStripAutoSteerChart.Name = "toolStripAutoSteerChart"; - this.toolStripAutoSteerChart.Size = new System.Drawing.Size(331, 80); - this.toolStripAutoSteerChart.Text = "Steer Chart"; - this.toolStripAutoSteerChart.Click += new System.EventHandler(this.toolStripAutoSteerChart_Click); - // - // toolstripAutoSteerConfig - // - this.toolstripAutoSteerConfig.AutoSize = false; - this.toolstripAutoSteerConfig.BackColor = System.Drawing.SystemColors.ButtonFace; - this.toolstripAutoSteerConfig.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.toolstripAutoSteerConfig.Image = global::AgOpenGPS.Properties.Resources.AutoSteerConf; - this.toolstripAutoSteerConfig.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; - this.toolstripAutoSteerConfig.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.toolstripAutoSteerConfig.Name = "toolstripAutoSteerConfig"; - this.toolstripAutoSteerConfig.Size = new System.Drawing.Size(331, 80); - this.toolstripAutoSteerConfig.Text = "Auto Steer"; - this.toolstripAutoSteerConfig.Click += new System.EventHandler(this.toolstripAutoSteerConfig_Click); - // - // toolstripYouTurnConfig - // - this.toolstripYouTurnConfig.AutoSize = false; - this.toolstripYouTurnConfig.BackColor = System.Drawing.SystemColors.ButtonFace; - this.toolstripYouTurnConfig.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.toolstripYouTurnConfig.Image = global::AgOpenGPS.Properties.Resources.Youturn64; - this.toolstripYouTurnConfig.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.toolstripYouTurnConfig.Name = "toolstripYouTurnConfig"; - this.toolstripYouTurnConfig.Size = new System.Drawing.Size(331, 80); - this.toolstripYouTurnConfig.Text = "U Turn"; - this.toolstripYouTurnConfig.Click += new System.EventHandler(this.toolstripYouTurnConfig_Click); - // - // toolstripVehicleConfig - // - this.toolstripVehicleConfig.AutoSize = false; - this.toolstripVehicleConfig.BackColor = System.Drawing.SystemColors.ButtonFace; - this.toolstripVehicleConfig.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.toolstripVehicleConfig.Image = global::AgOpenGPS.Properties.Resources.Settings64; - this.toolstripVehicleConfig.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.toolstripVehicleConfig.Name = "toolstripVehicleConfig"; - this.toolstripVehicleConfig.Size = new System.Drawing.Size(331, 80); - this.toolstripVehicleConfig.Text = "Vehicle"; - this.toolstripVehicleConfig.Click += new System.EventHandler(this.toolstripVehicleConfig_Click); - // // toolStripNTRIPConfig // - this.toolStripNTRIPConfig.AutoSize = false; this.toolStripNTRIPConfig.BackColor = System.Drawing.SystemColors.ButtonFace; this.toolStripNTRIPConfig.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.toolStripNTRIPConfig.Image = global::AgOpenGPS.Properties.Resources.NtripSettings; this.toolStripNTRIPConfig.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; this.toolStripNTRIPConfig.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.toolStripNTRIPConfig.Name = "toolStripNTRIPConfig"; - this.toolStripNTRIPConfig.Size = new System.Drawing.Size(331, 80); + this.toolStripNTRIPConfig.Size = new System.Drawing.Size(333, 86); this.toolStripNTRIPConfig.Text = "NTRIP"; this.toolStripNTRIPConfig.Click += new System.EventHandler(this.toolStripNTRIPConfig_Click); // // toolstripUDPConfig // - this.toolstripUDPConfig.AutoSize = false; this.toolstripUDPConfig.BackColor = System.Drawing.SystemColors.ButtonFace; this.toolstripUDPConfig.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.toolstripUDPConfig.Image = global::AgOpenGPS.Properties.Resources.UDPConfig; this.toolstripUDPConfig.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.toolstripUDPConfig.Name = "toolstripUDPConfig"; - this.toolstripUDPConfig.Size = new System.Drawing.Size(331, 80); + this.toolstripUDPConfig.Size = new System.Drawing.Size(333, 86); this.toolstripUDPConfig.Text = "UDP"; this.toolstripUDPConfig.Click += new System.EventHandler(this.toolstripUDPConfig_Click); // // toolstripUSBPortsConfig // - this.toolstripUSBPortsConfig.AutoSize = false; this.toolstripUSBPortsConfig.BackColor = System.Drawing.SystemColors.ButtonFace; - this.toolstripUSBPortsConfig.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.toolstripUSBPortsConfig.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.toolstripUSBPortsConfig.Image = global::AgOpenGPS.Properties.Resources.ComPorts; this.toolstripUSBPortsConfig.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.toolstripUSBPortsConfig.Name = "toolstripUSBPortsConfig"; - this.toolstripUSBPortsConfig.Size = new System.Drawing.Size(331, 80); + this.toolstripUSBPortsConfig.Size = new System.Drawing.Size(333, 86); this.toolstripUSBPortsConfig.Text = "Serial Ports"; this.toolstripUSBPortsConfig.Click += new System.EventHandler(this.toolstripUSBPortsConfig_Click); // // toolstripDisplayConfig // - this.toolstripDisplayConfig.AutoSize = false; this.toolstripDisplayConfig.BackColor = System.Drawing.SystemColors.ButtonFace; - this.toolstripDisplayConfig.Font = new System.Drawing.Font("Tahoma", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.toolstripDisplayConfig.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.toolstripDisplayConfig.Image = global::AgOpenGPS.Properties.Resources.gyro; this.toolstripDisplayConfig.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.toolstripDisplayConfig.Name = "toolstripDisplayConfig"; - this.toolstripDisplayConfig.Size = new System.Drawing.Size(331, 80); + this.toolstripDisplayConfig.Size = new System.Drawing.Size(333, 86); this.toolstripDisplayConfig.Text = "Heading/Roll"; this.toolstripDisplayConfig.Click += new System.EventHandler(this.toolstripDisplayConfig_Click); // - // toolStripDropDownButton1 - // - this.toolStripDropDownButton1.AutoSize = false; - this.toolStripDropDownButton1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.toolStripDropDownButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.toolStripDropDownButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.treePlanterToolStripMenuItem1, - this.webCamToolStripMenuItem, - this.smoothABCurveToolStripMenuItem}); - this.toolStripDropDownButton1.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.toolStripDropDownButton1.Image = global::AgOpenGPS.Properties.Resources.SpecialFunctions; - this.toolStripDropDownButton1.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripDropDownButton1.Name = "toolStripDropDownButton1"; - this.toolStripDropDownButton1.Size = new System.Drawing.Size(100, 66); - // - // treePlanterToolStripMenuItem1 - // - this.treePlanterToolStripMenuItem1.Image = global::AgOpenGPS.Properties.Resources.tree; - this.treePlanterToolStripMenuItem1.Name = "treePlanterToolStripMenuItem1"; - this.treePlanterToolStripMenuItem1.Size = new System.Drawing.Size(298, 38); - this.treePlanterToolStripMenuItem1.Text = "Tree Planter"; - this.treePlanterToolStripMenuItem1.Click += new System.EventHandler(this.treePlanterToolStripMenuItem1_Click); - // - // webCamToolStripMenuItem - // - this.webCamToolStripMenuItem.Image = global::AgOpenGPS.Properties.Resources.Webcam; - this.webCamToolStripMenuItem.Name = "webCamToolStripMenuItem"; - this.webCamToolStripMenuItem.Size = new System.Drawing.Size(298, 38); - this.webCamToolStripMenuItem.Text = "WebCam"; - this.webCamToolStripMenuItem.Click += new System.EventHandler(this.webCamToolStripMenuItem_Click); - // - // smoothABCurveToolStripMenuItem - // - this.smoothABCurveToolStripMenuItem.Image = global::AgOpenGPS.Properties.Resources.ABSmooth; - this.smoothABCurveToolStripMenuItem.Name = "smoothABCurveToolStripMenuItem"; - this.smoothABCurveToolStripMenuItem.Size = new System.Drawing.Size(298, 38); - this.smoothABCurveToolStripMenuItem.Text = "Smooth AB Curve"; - this.smoothABCurveToolStripMenuItem.Click += new System.EventHandler(this.smoothABCurveToolStripMenuItem_Click); - // - // lblToolEqWidth - // - this.lblToolEqWidth.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblToolEqWidth.Name = "lblToolEqWidth"; - this.lblToolEqWidth.Size = new System.Drawing.Size(456, 63); - this.lblToolEqWidth.Spring = true; - this.lblToolEqWidth.Text = "Vehicle"; - // - // toolStripBtnField - // - this.toolStripBtnField.AutoSize = false; - this.toolStripBtnField.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.toolStripBtnField.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.toolStripBtnField.Font = new System.Drawing.Font("Tahoma", 18F); - this.toolStripBtnField.Image = global::AgOpenGPS.Properties.Resources.JobActive; - this.toolStripBtnField.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.toolStripBtnField.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripBtnField.Name = "toolStripBtnField"; - this.toolStripBtnField.ShowDropDownArrow = false; - this.toolStripBtnField.Size = new System.Drawing.Size(100, 66); - this.toolStripBtnField.Click += new System.EventHandler(this.toolStripBtnField_Click); - // - // boundaryToolStripBtn - // - this.boundaryToolStripBtn.AutoSize = false; - this.boundaryToolStripBtn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.boundaryToolStripBtn.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.boundaryToolStripBtn.Font = new System.Drawing.Font("Tahoma", 18F); - this.boundaryToolStripBtn.Image = global::AgOpenGPS.Properties.Resources.MakeBoundary; - this.boundaryToolStripBtn.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.boundaryToolStripBtn.ImageTransparentColor = System.Drawing.Color.Magenta; - this.boundaryToolStripBtn.Name = "boundaryToolStripBtn"; - this.boundaryToolStripBtn.ShowDropDownArrow = false; - this.boundaryToolStripBtn.Size = new System.Drawing.Size(100, 66); - this.boundaryToolStripBtn.Click += new System.EventHandler(this.boundaryToolStripBtn_Click); - // - // toolStripBtnDropDownBoundaryTools - // - this.toolStripBtnDropDownBoundaryTools.AutoSize = false; - this.toolStripBtnDropDownBoundaryTools.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.toolStripBtnDropDownBoundaryTools.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.toolStripBtnDropDownBoundaryTools.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripDeleteApplied, - this.fileExplorerToolStripItem, - this.deleteContourPathsToolStripMenuItem, - this.toolStripBtnMakeBndContour, - this.boundariesToolStripMenuItem}); - this.toolStripBtnDropDownBoundaryTools.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.toolStripBtnDropDownBoundaryTools.Image = global::AgOpenGPS.Properties.Resources.BoundaryMenu; - this.toolStripBtnDropDownBoundaryTools.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.toolStripBtnDropDownBoundaryTools.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripBtnDropDownBoundaryTools.Name = "toolStripBtnDropDownBoundaryTools"; - this.toolStripBtnDropDownBoundaryTools.Size = new System.Drawing.Size(100, 66); - // - // toolStripDeleteApplied + // toolstripVehicleConfig // - this.toolStripDeleteApplied.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripAreYouSure}); - this.toolStripDeleteApplied.Font = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.toolStripDeleteApplied.Image = global::AgOpenGPS.Properties.Resources.skull; - this.toolStripDeleteApplied.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.toolStripDeleteApplied.Name = "toolStripDeleteApplied"; - this.toolStripDeleteApplied.Size = new System.Drawing.Size(436, 76); - this.toolStripDeleteApplied.Text = "Delete Applied Area"; + this.toolstripVehicleConfig.BackColor = System.Drawing.SystemColors.ButtonFace; + this.toolstripVehicleConfig.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.toolstripVehicleConfig.Image = global::AgOpenGPS.Properties.Resources.Settings64; + this.toolstripVehicleConfig.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.toolstripVehicleConfig.Name = "toolstripVehicleConfig"; + this.toolstripVehicleConfig.Size = new System.Drawing.Size(333, 86); + this.toolstripVehicleConfig.Text = "Vehicle"; + this.toolstripVehicleConfig.Click += new System.EventHandler(this.toolstripVehicleConfig_Click); // - // toolStripAreYouSure + // toolStripAutoSteerChart // - this.toolStripAreYouSure.Name = "toolStripAreYouSure"; - this.toolStripAreYouSure.Size = new System.Drawing.Size(235, 34); - this.toolStripAreYouSure.Text = "Are You sure?"; - this.toolStripAreYouSure.Click += new System.EventHandler(this.toolStripAreYouSure_Click); + this.toolStripAutoSteerChart.BackColor = System.Drawing.SystemColors.ButtonFace; + this.toolStripAutoSteerChart.Font = new System.Drawing.Font("Tahoma", 24F); + this.toolStripAutoSteerChart.Image = global::AgOpenGPS.Properties.Resources.Chart; + this.toolStripAutoSteerChart.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.toolStripAutoSteerChart.Name = "toolStripAutoSteerChart"; + this.toolStripAutoSteerChart.Size = new System.Drawing.Size(333, 86); + this.toolStripAutoSteerChart.Text = "Steer Chart"; + this.toolStripAutoSteerChart.Click += new System.EventHandler(this.toolStripAutoSteerChart_Click); // - // fileExplorerToolStripItem + // toolstripAutoSteerConfig // - this.fileExplorerToolStripItem.Image = global::AgOpenGPS.Properties.Resources.FileExplorerWindows; - this.fileExplorerToolStripItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.fileExplorerToolStripItem.Name = "fileExplorerToolStripItem"; - this.fileExplorerToolStripItem.Size = new System.Drawing.Size(436, 76); - this.fileExplorerToolStripItem.Text = "Field Dir - File Explorer"; - this.fileExplorerToolStripItem.Click += new System.EventHandler(this.fileExplorerToolStripItem_Click); + this.toolstripAutoSteerConfig.BackColor = System.Drawing.SystemColors.ButtonFace; + this.toolstripAutoSteerConfig.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.toolstripAutoSteerConfig.Image = global::AgOpenGPS.Properties.Resources.AutoSteerConf; + this.toolstripAutoSteerConfig.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; + this.toolstripAutoSteerConfig.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.toolstripAutoSteerConfig.Name = "toolstripAutoSteerConfig"; + this.toolstripAutoSteerConfig.Size = new System.Drawing.Size(333, 86); + this.toolstripAutoSteerConfig.Text = "Auto Steer"; + this.toolstripAutoSteerConfig.Click += new System.EventHandler(this.toolstripAutoSteerConfig_Click); // - // deleteContourPathsToolStripMenuItem + // toolstripYouTurnConfig // - this.deleteContourPathsToolStripMenuItem.Image = global::AgOpenGPS.Properties.Resources.HideContour; - this.deleteContourPathsToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.deleteContourPathsToolStripMenuItem.Name = "deleteContourPathsToolStripMenuItem"; - this.deleteContourPathsToolStripMenuItem.Size = new System.Drawing.Size(436, 76); - this.deleteContourPathsToolStripMenuItem.Text = "Hide Contour Paths"; - this.deleteContourPathsToolStripMenuItem.Click += new System.EventHandler(this.deleteContourPathsToolStripMenuItem_Click); - // - // toolStripBtnMakeBndContour - // - this.toolStripBtnMakeBndContour.Image = global::AgOpenGPS.Properties.Resources.MakeBoundaryContour1; - this.toolStripBtnMakeBndContour.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.toolStripBtnMakeBndContour.Name = "toolStripBtnMakeBndContour"; - this.toolStripBtnMakeBndContour.Size = new System.Drawing.Size(436, 76); - this.toolStripBtnMakeBndContour.Text = "Make Boundary Contours"; - this.toolStripBtnMakeBndContour.Click += new System.EventHandler(this.toolStripBtnMakeBndContour_Click); - // - // boundariesToolStripMenuItem - // - this.boundariesToolStripMenuItem.Image = global::AgOpenGPS.Properties.Resources.MakeBoundary; - this.boundariesToolStripMenuItem.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.boundariesToolStripMenuItem.Name = "boundariesToolStripMenuItem"; - this.boundariesToolStripMenuItem.Size = new System.Drawing.Size(436, 76); - this.boundariesToolStripMenuItem.Text = "Boundary"; - this.boundariesToolStripMenuItem.Click += new System.EventHandler(this.boundariesToolStripMenuItem_Click); - // - // toolStripLblFieldFinish + this.toolstripYouTurnConfig.BackColor = System.Drawing.SystemColors.ButtonFace; + this.toolstripYouTurnConfig.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.toolstripYouTurnConfig.Image = global::AgOpenGPS.Properties.Resources.Youturn64; + this.toolstripYouTurnConfig.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.toolstripYouTurnConfig.Name = "toolstripYouTurnConfig"; + this.toolstripYouTurnConfig.Size = new System.Drawing.Size(333, 86); + this.toolstripYouTurnConfig.Text = "U Turn"; + this.toolstripYouTurnConfig.Click += new System.EventHandler(this.toolstripYouTurnConfig_Click); // - this.toolStripLblFieldFinish.AutoSize = false; - this.toolStripLblFieldFinish.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); - this.toolStripLblFieldFinish.Name = "toolStripLblFieldFinish"; - this.toolStripLblFieldFinish.Size = new System.Drawing.Size(77, 63); - this.toolStripLblFieldFinish.Text = "26.3 Hrs"; - this.toolStripLblFieldFinish.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // toolStripDropDownBtnFuncs + // + this.toolStripDropDownBtnFuncs.AutoSize = false; + this.toolStripDropDownBtnFuncs.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.toolStripDropDownBtnFuncs.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolstripField, + this.toolstripBoundary, + this.toolstripResetTrip, + this.toolstripExit}); + this.toolStripDropDownBtnFuncs.Font = new System.Drawing.Font("Tahoma", 18F); + this.toolStripDropDownBtnFuncs.Image = global::AgOpenGPS.Properties.Resources.Start48; + this.toolStripDropDownBtnFuncs.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.toolStripDropDownBtnFuncs.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.toolStripDropDownBtnFuncs.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripDropDownBtnFuncs.Margin = new System.Windows.Forms.Padding(0, 1, 0, 0); + this.toolStripDropDownBtnFuncs.Name = "toolStripDropDownBtnFuncs"; + this.toolStripDropDownBtnFuncs.ShowDropDownArrow = false; + this.toolStripDropDownBtnFuncs.Size = new System.Drawing.Size(120, 55); + this.toolStripDropDownBtnFuncs.TextImageRelation = System.Windows.Forms.TextImageRelation.Overlay; + // + // toolstripField + // + this.toolstripField.BackColor = System.Drawing.SystemColors.ButtonFace; + this.toolstripField.Font = new System.Drawing.Font("Tahoma", 28F); + this.toolstripField.Image = global::AgOpenGPS.Properties.Resources.JobActive; + this.toolstripField.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.toolstripField.Name = "toolstripField"; + this.toolstripField.Size = new System.Drawing.Size(316, 86); + this.toolstripField.Text = "Field"; + this.toolstripField.Click += new System.EventHandler(this.toolstripField_Click); + // + // toolstripBoundary + // + this.toolstripBoundary.BackColor = System.Drawing.SystemColors.ButtonFace; + this.toolstripBoundary.Font = new System.Drawing.Font("Tahoma", 28F); + this.toolstripBoundary.Image = global::AgOpenGPS.Properties.Resources.BoundaryMenu; + this.toolstripBoundary.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.toolstripBoundary.Name = "toolstripBoundary"; + this.toolstripBoundary.Size = new System.Drawing.Size(316, 86); + this.toolstripBoundary.Text = "Boundary"; + this.toolstripBoundary.Click += new System.EventHandler(this.toolstripBoundary_Click); + // + // toolstripResetTrip + // + this.toolstripResetTrip.BackColor = System.Drawing.SystemColors.ButtonFace; + this.toolstripResetTrip.Font = new System.Drawing.Font("Tahoma", 28F); + this.toolstripResetTrip.Image = global::AgOpenGPS.Properties.Resources.Cancel64; + this.toolstripResetTrip.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.toolstripResetTrip.Name = "toolstripResetTrip"; + this.toolstripResetTrip.Size = new System.Drawing.Size(316, 86); + this.toolstripResetTrip.Text = ">0< Trip"; + this.toolstripResetTrip.Click += new System.EventHandler(this.toolstripResetTrip_Click_1); + // + // toolstripExit + // + this.toolstripExit.Font = new System.Drawing.Font("Tahoma", 27.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.toolstripExit.Image = global::AgOpenGPS.Properties.Resources.SwitchOff; + this.toolstripExit.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.toolstripExit.Name = "toolstripExit"; + this.toolstripExit.Size = new System.Drawing.Size(316, 86); + this.toolstripExit.Text = "Exit"; + this.toolstripExit.Click += new System.EventHandler(this.ToolstripExit_Click); + // + // stripOnlineGPS + // + this.stripOnlineGPS.AutoSize = false; + this.stripOnlineGPS.ForeColor = System.Drawing.Color.DarkTurquoise; + this.stripOnlineGPS.Name = "stripOnlineGPS"; + this.stripOnlineGPS.Size = new System.Drawing.Size(16, 50); + this.stripOnlineGPS.Value = 1; // // lblNorthing // this.lblNorthing.AutoSize = true; - this.lblNorthing.BackColor = System.Drawing.Color.Transparent; + this.lblNorthing.BackColor = System.Drawing.SystemColors.ControlLight; this.lblNorthing.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); this.lblNorthing.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblNorthing.Location = new System.Drawing.Point(75, 282); + this.lblNorthing.Location = new System.Drawing.Point(146, 129); this.lblNorthing.Name = "lblNorthing"; this.lblNorthing.Size = new System.Drawing.Size(92, 19); this.lblNorthing.TabIndex = 110; @@ -1006,10 +1143,10 @@ private void InitializeComponent() // lblEasting // this.lblEasting.AutoSize = true; - this.lblEasting.BackColor = System.Drawing.Color.Transparent; + this.lblEasting.BackColor = System.Drawing.SystemColors.ControlLight; this.lblEasting.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); this.lblEasting.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblEasting.Location = new System.Drawing.Point(76, 301); + this.lblEasting.Location = new System.Drawing.Point(39, 129); this.lblEasting.Name = "lblEasting"; this.lblEasting.Size = new System.Drawing.Size(90, 19); this.lblEasting.TabIndex = 111; @@ -1022,7 +1159,7 @@ private void InitializeComponent() this.lblSpeed.BackColor = System.Drawing.Color.Transparent; this.lblSpeed.Font = new System.Drawing.Font("Tahoma", 20F, System.Drawing.FontStyle.Bold); this.lblSpeed.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblSpeed.Location = new System.Drawing.Point(1085, 5); + this.lblSpeed.Location = new System.Drawing.Point(825, 5); this.lblSpeed.Name = "lblSpeed"; this.lblSpeed.Size = new System.Drawing.Size(87, 31); this.lblSpeed.TabIndex = 116; @@ -1117,14 +1254,59 @@ private void InitializeComponent() this.toolStripMenuFlagDeleteAll.Text = "toolStripMenuFlagDeleteAll"; this.toolStripMenuFlagDeleteAll.Click += new System.EventHandler(this.toolStripMenuFlagDeleteAll_Click); // + // contextMenuArea + // + this.contextMenuArea.AutoSize = false; + this.contextMenuArea.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.toolStripMenuAreaSide}); + this.contextMenuArea.Name = "contextMenuArea"; + this.contextMenuArea.Size = new System.Drawing.Size(70, 80); + // + // toolStripMenuAreaSide + // + this.toolStripMenuAreaSide.AutoSize = false; + this.toolStripMenuAreaSide.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.toolStripMenuAreaSide.Image = global::AgOpenGPS.Properties.Resources.AreaSide; + this.toolStripMenuAreaSide.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.toolStripMenuAreaSide.Name = "toolStripMenuAreaSide"; + this.toolStripMenuAreaSide.Size = new System.Drawing.Size(70, 70); + this.toolStripMenuAreaSide.Text = "."; + this.toolStripMenuAreaSide.TextImageRelation = System.Windows.Forms.TextImageRelation.TextBeforeImage; + this.toolStripMenuAreaSide.Click += new System.EventHandler(this.toolStripMenuAreaSide_Click); + // + // tboxSentence + // + this.tboxSentence.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.tboxSentence.BackColor = System.Drawing.SystemColors.ControlLight; + this.tboxSentence.Font = new System.Drawing.Font("Tahoma", 8.25F); + this.tboxSentence.Location = new System.Drawing.Point(3, 3); + this.tboxSentence.Multiline = true; + this.tboxSentence.Name = "tboxSentence"; + this.tboxSentence.ReadOnly = true; + this.tboxSentence.Size = new System.Drawing.Size(323, 53); + this.tboxSentence.TabIndex = 134; + // + // lblZone + // + this.lblZone.AutoSize = true; + this.lblZone.BackColor = System.Drawing.SystemColors.ControlLight; + this.lblZone.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblZone.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblZone.Location = new System.Drawing.Point(51, 102); + this.lblZone.Name = "lblZone"; + this.lblZone.Size = new System.Drawing.Size(29, 19); + this.lblZone.TabIndex = 135; + this.lblZone.Text = "Zn"; + this.lblZone.TextAlign = System.Drawing.ContentAlignment.TopRight; + // // lblSpeedUnits // this.lblSpeedUnits.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lblSpeedUnits.AutoSize = true; - this.lblSpeedUnits.BackColor = System.Drawing.Color.Transparent; + this.lblSpeedUnits.BackColor = System.Drawing.SystemColors.ScrollBar; this.lblSpeedUnits.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); this.lblSpeedUnits.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblSpeedUnits.Location = new System.Drawing.Point(1167, 15); + this.lblSpeedUnits.Location = new System.Drawing.Point(911, 13); this.lblSpeedUnits.Name = "lblSpeedUnits"; this.lblSpeedUnits.Size = new System.Drawing.Size(38, 17); this.lblSpeedUnits.TabIndex = 139; @@ -1137,54 +1319,103 @@ private void InitializeComponent() this.lblHeading.BackColor = System.Drawing.Color.Transparent; this.lblHeading.Font = new System.Drawing.Font("Tahoma", 20.25F, System.Drawing.FontStyle.Bold); this.lblHeading.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblHeading.Location = new System.Drawing.Point(1205, 5); + this.lblHeading.Location = new System.Drawing.Point(954, 5); this.lblHeading.Name = "lblHeading"; - this.lblHeading.Size = new System.Drawing.Size(130, 31); + this.lblHeading.Size = new System.Drawing.Size(109, 31); this.lblHeading.TabIndex = 117; - this.lblHeading.Text = "359.88.."; + this.lblHeading.Text = "359.8."; this.lblHeading.TextAlign = System.Drawing.ContentAlignment.TopRight; // - // lblUturnByte - // - this.lblUturnByte.AutoSize = true; - this.lblUturnByte.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); - this.lblUturnByte.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblUturnByte.Location = new System.Drawing.Point(71, 406); - this.lblUturnByte.Name = "lblUturnByte"; - this.lblUturnByte.Size = new System.Drawing.Size(89, 19); - this.lblUturnByte.TabIndex = 272; - this.lblUturnByte.Text = "10101010"; - // - // label13 - // - this.label13.AutoSize = true; - this.label13.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label13.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.label13.Location = new System.Drawing.Point(7, 186); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(15, 13); - this.label13.TabIndex = 309; - this.label13.Text = "R"; - // - // pbarRelayCommSmall - // - this.pbarRelayCommSmall.BackColor = System.Drawing.Color.Maroon; - this.pbarRelayCommSmall.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.pbarRelayCommSmall.Location = new System.Drawing.Point(25, 189); - this.pbarRelayCommSmall.Name = "pbarRelayCommSmall"; - this.pbarRelayCommSmall.Size = new System.Drawing.Size(50, 10); - this.pbarRelayCommSmall.TabIndex = 304; - // - // lblHeading2 - // - this.lblHeading2.AutoSize = true; - this.lblHeading2.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblHeading2.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblHeading2.Location = new System.Drawing.Point(114, 375); - this.lblHeading2.Name = "lblHeading2"; - this.lblHeading2.Size = new System.Drawing.Size(44, 19); - this.lblHeading2.TabIndex = 211; - this.lblHeading2.Text = "22.6"; + // imageList1 + // + this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); + this.imageList1.TransparentColor = System.Drawing.Color.Transparent; + this.imageList1.Images.SetKeyName(0, "SettingsGear64.png"); + this.imageList1.Images.SetKeyName(1, "Satellite64.png"); + this.imageList1.Images.SetKeyName(2, "Rate64.png"); + this.imageList1.Images.SetKeyName(3, "FieldView.png"); + // + // label5 + // + this.label5.AutoSize = true; + this.label5.BackColor = System.Drawing.Color.Transparent; + this.label5.Font = new System.Drawing.Font("Tahoma", 12F); + this.label5.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; + this.label5.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label5.Location = new System.Drawing.Point(4, 244); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(32, 19); + this.label5.TabIndex = 153; + this.label5.Text = "EW"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.BackColor = System.Drawing.Color.Transparent; + this.label4.Font = new System.Drawing.Font("Tahoma", 12F); + this.label4.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; + this.label4.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label4.Location = new System.Drawing.Point(103, 244); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(29, 19); + this.label4.TabIndex = 152; + this.label4.Text = "NS"; + // + // lblFieldWidthNorthSouth + // + this.lblFieldWidthNorthSouth.AutoSize = true; + this.lblFieldWidthNorthSouth.BackColor = System.Drawing.Color.Transparent; + this.lblFieldWidthNorthSouth.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblFieldWidthNorthSouth.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; + this.lblFieldWidthNorthSouth.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblFieldWidthNorthSouth.Location = new System.Drawing.Point(129, 244); + this.lblFieldWidthNorthSouth.Name = "lblFieldWidthNorthSouth"; + this.lblFieldWidthNorthSouth.Size = new System.Drawing.Size(44, 19); + this.lblFieldWidthNorthSouth.TabIndex = 151; + this.lblFieldWidthNorthSouth.Text = "0.00"; + // + // lblFieldWidthEastWest + // + this.lblFieldWidthEastWest.AutoSize = true; + this.lblFieldWidthEastWest.BackColor = System.Drawing.Color.Transparent; + this.lblFieldWidthEastWest.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblFieldWidthEastWest.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; + this.lblFieldWidthEastWest.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblFieldWidthEastWest.Location = new System.Drawing.Point(34, 244); + this.lblFieldWidthEastWest.Name = "lblFieldWidthEastWest"; + this.lblFieldWidthEastWest.Size = new System.Drawing.Size(44, 19); + this.lblFieldWidthEastWest.TabIndex = 150; + this.lblFieldWidthEastWest.Text = "0.00"; + // + // tabControl1 + // + this.tabControl1.Appearance = System.Windows.Forms.TabAppearance.Buttons; + this.tabControl1.Controls.Add(this.autoPage4); + this.tabControl1.Controls.Add(this.configPage1); + this.tabControl1.Controls.Add(this.DataPage); + this.tabControl1.Font = new System.Drawing.Font("Tahoma", 20.25F); + this.tabControl1.ImageList = this.imageList1; + this.tabControl1.ItemSize = new System.Drawing.Size(110, 68); + this.tabControl1.Location = new System.Drawing.Point(-3, 47); + this.tabControl1.Name = "tabControl1"; + this.tabControl1.SelectedIndex = 0; + this.tabControl1.Size = new System.Drawing.Size(340, 595); + this.tabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; + this.tabControl1.TabIndex = 150; + // + // autoPage4 + // + this.autoPage4.BackColor = System.Drawing.SystemColors.ScrollBar; + this.autoPage4.Controls.Add(this.nudElevation); + this.autoPage4.Controls.Add(this.btnRecordElevation); + this.autoPage4.Controls.Add(this.btnLidarOnOff); + this.autoPage4.Controls.Add(this.btnElevationMap); + this.autoPage4.Controls.Add(this.btnManualAutoDrive); + this.autoPage4.ImageIndex = 3; + this.autoPage4.Location = new System.Drawing.Point(4, 72); + this.autoPage4.Name = "autoPage4"; + this.autoPage4.Size = new System.Drawing.Size(332, 519); + this.autoPage4.TabIndex = 4; // // nudElevation // @@ -1195,7 +1426,7 @@ private void InitializeComponent() 0, 0, 65536}); - this.nudElevation.Location = new System.Drawing.Point(478, 246); + this.nudElevation.Location = new System.Drawing.Point(140, 49); this.nudElevation.Maximum = new decimal(new int[] { 10000, 0, @@ -1212,6 +1443,40 @@ private void InitializeComponent() 65536}); this.nudElevation.ValueChanged += new System.EventHandler(this.NudElevation_ValueChanged); // + // btnRecordElevation + // + this.btnRecordElevation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnRecordElevation.BackColor = System.Drawing.Color.AliceBlue; + this.btnRecordElevation.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); + this.btnRecordElevation.Image = global::AgOpenGPS.Properties.Resources.BoundaryRecord; + this.btnRecordElevation.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnRecordElevation.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnRecordElevation.Location = new System.Drawing.Point(169, 112); + this.btnRecordElevation.Name = "btnRecordElevation"; + this.btnRecordElevation.Size = new System.Drawing.Size(82, 90); + this.btnRecordElevation.TabIndex = 226; + this.btnRecordElevation.Text = "Record Elevation"; + this.btnRecordElevation.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnRecordElevation.UseVisualStyleBackColor = false; + this.btnRecordElevation.Click += new System.EventHandler(this.BtnRecordElevation_Click); + // + // btnLidarOnOff + // + this.btnLidarOnOff.BackColor = System.Drawing.Color.AliceBlue; + this.btnLidarOnOff.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); + this.btnLidarOnOff.Image = global::AgOpenGPS.Properties.Resources.boundaryPlay; + this.btnLidarOnOff.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnLidarOnOff.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnLidarOnOff.Location = new System.Drawing.Point(15, 112); + this.btnLidarOnOff.Name = "btnLidarOnOff"; + this.btnLidarOnOff.Size = new System.Drawing.Size(82, 90); + this.btnLidarOnOff.TabIndex = 225; + this.btnLidarOnOff.Text = "Lidar On"; + this.btnLidarOnOff.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnLidarOnOff.UseVisualStyleBackColor = false; + this.btnLidarOnOff.Visible = false; + this.btnLidarOnOff.Click += new System.EventHandler(this.btnLidarOnOff_Click); + // // btnElevationMap // this.btnElevationMap.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); @@ -1219,7 +1484,7 @@ private void InitializeComponent() this.btnElevationMap.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); this.btnElevationMap.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btnElevationMap.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnElevationMap.Location = new System.Drawing.Point(845, 307); + this.btnElevationMap.Location = new System.Drawing.Point(169, 228); this.btnElevationMap.Name = "btnElevationMap"; this.btnElevationMap.Size = new System.Drawing.Size(82, 90); this.btnElevationMap.TabIndex = 227; @@ -1228,9 +1493,687 @@ private void InitializeComponent() this.btnElevationMap.UseVisualStyleBackColor = false; this.btnElevationMap.Click += new System.EventHandler(this.BtnElevationMap_Click); // + // btnManualAutoDrive + // + this.btnManualAutoDrive.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnManualAutoDrive.BackColor = System.Drawing.Color.AliceBlue; + this.btnManualAutoDrive.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); + this.btnManualAutoDrive.Image = global::AgOpenGPS.Properties.Resources.OK64; + this.btnManualAutoDrive.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnManualAutoDrive.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnManualAutoDrive.Location = new System.Drawing.Point(11, 231); + this.btnManualAutoDrive.Name = "btnManualAutoDrive"; + this.btnManualAutoDrive.Size = new System.Drawing.Size(82, 90); + this.btnManualAutoDrive.TabIndex = 152; + this.btnManualAutoDrive.Text = "Auto"; + this.btnManualAutoDrive.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnManualAutoDrive.UseVisualStyleBackColor = false; + this.btnManualAutoDrive.Click += new System.EventHandler(this.btnManualAutoDrive_Click); + // + // configPage1 + // + this.configPage1.BackColor = System.Drawing.SystemColors.ScrollBar; + this.configPage1.Controls.Add(this.btnFixOffset); + this.configPage1.Controls.Add(this.btnFlagsGoogleEarth); + this.configPage1.Controls.Add(this.btnWebCam); + this.configPage1.Controls.Add(this.btnHelp); + this.configPage1.Controls.Add(this.btnFileExplorer); + this.configPage1.Controls.Add(this.btnPerimeter); + this.configPage1.ImageIndex = 0; + this.configPage1.Location = new System.Drawing.Point(4, 72); + this.configPage1.Name = "configPage1"; + this.configPage1.Padding = new System.Windows.Forms.Padding(3); + this.configPage1.Size = new System.Drawing.Size(332, 519); + this.configPage1.TabIndex = 0; + // + // btnFixOffset + // + this.btnFixOffset.BackColor = System.Drawing.Color.AliceBlue; + this.btnFixOffset.ContextMenuStrip = this.contextMenuStripFlag; + this.btnFixOffset.Font = new System.Drawing.Font("Tahoma", 14.25F); + this.btnFixOffset.Image = global::AgOpenGPS.Properties.Resources.YouTurnReverse; + this.btnFixOffset.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnFixOffset.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnFixOffset.Location = new System.Drawing.Point(142, 149); + this.btnFixOffset.Name = "btnFixOffset"; + this.btnFixOffset.Size = new System.Drawing.Size(104, 95); + this.btnFixOffset.TabIndex = 221; + this.btnFixOffset.Text = "Offset Fix"; + this.btnFixOffset.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnFixOffset.UseVisualStyleBackColor = false; + this.btnFixOffset.Click += new System.EventHandler(this.btnFixOffset_Click); + // + // btnFlagsGoogleEarth + // + this.btnFlagsGoogleEarth.BackColor = System.Drawing.Color.AliceBlue; + this.btnFlagsGoogleEarth.ContextMenuStrip = this.contextMenuStripFlag; + this.btnFlagsGoogleEarth.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold); + this.btnFlagsGoogleEarth.Image = global::AgOpenGPS.Properties.Resources.GoogleEarth; + this.btnFlagsGoogleEarth.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnFlagsGoogleEarth.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnFlagsGoogleEarth.Location = new System.Drawing.Point(-1, 149); + this.btnFlagsGoogleEarth.Name = "btnFlagsGoogleEarth"; + this.btnFlagsGoogleEarth.Size = new System.Drawing.Size(104, 95); + this.btnFlagsGoogleEarth.TabIndex = 177; + this.btnFlagsGoogleEarth.Text = "Flags GE"; + this.btnFlagsGoogleEarth.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnFlagsGoogleEarth.UseVisualStyleBackColor = false; + this.btnFlagsGoogleEarth.Click += new System.EventHandler(this.btnFlagsGoogleEarth_Click); + // + // btnWebCam + // + this.btnWebCam.BackColor = System.Drawing.Color.AliceBlue; + this.btnWebCam.ContextMenuStrip = this.contextMenuStripFlag; + this.btnWebCam.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold); + this.btnWebCam.Image = global::AgOpenGPS.Properties.Resources.Webcam; + this.btnWebCam.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnWebCam.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnWebCam.Location = new System.Drawing.Point(142, 275); + this.btnWebCam.Name = "btnWebCam"; + this.btnWebCam.Size = new System.Drawing.Size(104, 95); + this.btnWebCam.TabIndex = 176; + this.btnWebCam.Text = "WebCam"; + this.btnWebCam.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnWebCam.UseVisualStyleBackColor = false; + this.btnWebCam.Click += new System.EventHandler(this.btnWebCam_Click); + // + // btnHelp + // + this.btnHelp.BackColor = System.Drawing.Color.AliceBlue; + this.btnHelp.ContextMenuStrip = this.contextMenuStripFlag; + this.btnHelp.Enabled = false; + this.btnHelp.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold); + this.btnHelp.Image = global::AgOpenGPS.Properties.Resources.Help; + this.btnHelp.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnHelp.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnHelp.Location = new System.Drawing.Point(142, 16); + this.btnHelp.Name = "btnHelp"; + this.btnHelp.Size = new System.Drawing.Size(104, 95); + this.btnHelp.TabIndex = 174; + this.btnHelp.Text = "Help"; + this.btnHelp.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnHelp.UseVisualStyleBackColor = false; + this.btnHelp.Click += new System.EventHandler(this.btnHelp_Click); + // + // btnFileExplorer + // + this.btnFileExplorer.BackColor = System.Drawing.Color.AliceBlue; + this.btnFileExplorer.ContextMenuStrip = this.contextMenuStripFlag; + this.btnFileExplorer.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold); + this.btnFileExplorer.Image = global::AgOpenGPS.Properties.Resources.FileExplorerWindows; + this.btnFileExplorer.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnFileExplorer.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnFileExplorer.Location = new System.Drawing.Point(-1, 16); + this.btnFileExplorer.Name = "btnFileExplorer"; + this.btnFileExplorer.Size = new System.Drawing.Size(104, 95); + this.btnFileExplorer.TabIndex = 141; + this.btnFileExplorer.Text = "Files"; + this.btnFileExplorer.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnFileExplorer.UseVisualStyleBackColor = false; + this.btnFileExplorer.Click += new System.EventHandler(this.btnFileExplorer_Click); + // + // btnPerimeter + // + this.btnPerimeter.BackColor = System.Drawing.Color.AliceBlue; + this.btnPerimeter.ContextMenuStrip = this.contextMenuArea; + this.btnPerimeter.Font = new System.Drawing.Font("Verdana", 18F, System.Drawing.FontStyle.Bold); + this.btnPerimeter.Image = global::AgOpenGPS.Properties.Resources.PeriArea; + this.btnPerimeter.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnPerimeter.Location = new System.Drawing.Point(1, 276); + this.btnPerimeter.Name = "btnPerimeter"; + this.btnPerimeter.Size = new System.Drawing.Size(104, 95); + this.btnPerimeter.TabIndex = 108; + this.btnPerimeter.Text = "0"; + this.btnPerimeter.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnPerimeter.UseVisualStyleBackColor = false; + this.btnPerimeter.Click += new System.EventHandler(this.btnPerimeter_Click); + // + // DataPage + // + this.DataPage.BackColor = System.Drawing.SystemColors.ControlLight; + this.DataPage.Controls.Add(this.label17); + this.DataPage.Controls.Add(this.lblMoveDistance); + this.DataPage.Controls.Add(this.lblTimeRemaining); + this.DataPage.Controls.Add(this.pbarFieldAreaRemainPercent); + this.DataPage.Controls.Add(this.label13); + this.DataPage.Controls.Add(this.label12); + this.DataPage.Controls.Add(this.label7); + this.DataPage.Controls.Add(this.pbarUDPComm); + this.DataPage.Controls.Add(this.pbarAutoSteerComm); + this.DataPage.Controls.Add(this.pbarRelayComm); + this.DataPage.Controls.Add(this.label3); + this.DataPage.Controls.Add(this.lblActualSteerAngle2); + this.DataPage.Controls.Add(this.lblSetpointSteerAngle2); + this.DataPage.Controls.Add(this.btnSmallRight2); + this.DataPage.Controls.Add(this.btnSmallLeft2); + this.DataPage.Controls.Add(this.btnBigRight2); + this.DataPage.Controls.Add(this.btnBigLeft2); + this.DataPage.Controls.Add(this.lblLongitude); + this.DataPage.Controls.Add(this.lblLatitude); + this.DataPage.Controls.Add(this.lblAltitude); + this.DataPage.Controls.Add(this.lblZone); + this.DataPage.Controls.Add(this.lblConvergenceAngle); + this.DataPage.Controls.Add(this.label2); + this.DataPage.Controls.Add(this.lblLidarDistance); + this.DataPage.Controls.Add(this.label1); + this.DataPage.Controls.Add(this.lblHeading2); + this.DataPage.Controls.Add(this.lblRoll); + this.DataPage.Controls.Add(this.lblGPSHeading); + this.DataPage.Controls.Add(this.lblYawHeading); + this.DataPage.Controls.Add(this.label25); + this.DataPage.Controls.Add(this.label24); + this.DataPage.Controls.Add(this.label22); + this.DataPage.Controls.Add(this.lblSats); + this.DataPage.Controls.Add(this.label16); + this.DataPage.Controls.Add(this.label19); + this.DataPage.Controls.Add(this.label18); + this.DataPage.Controls.Add(this.tboxSentence); + this.DataPage.Controls.Add(this.label10); + this.DataPage.Controls.Add(this.label9); + this.DataPage.Controls.Add(this.label8); + this.DataPage.Controls.Add(this.lblEasting); + this.DataPage.Controls.Add(this.lblNorthing); + this.DataPage.Controls.Add(this.lblPercentRemaining); + this.DataPage.Controls.Add(this.btnTinyAutoSteerConfig); + this.DataPage.Controls.Add(this.btnGPSData); + this.DataPage.Cursor = System.Windows.Forms.Cursors.Arrow; + this.DataPage.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.DataPage.ImageIndex = 1; + this.DataPage.Location = new System.Drawing.Point(4, 72); + this.DataPage.Name = "DataPage"; + this.DataPage.Size = new System.Drawing.Size(332, 519); + this.DataPage.TabIndex = 3; + // + // label17 + // + this.label17.AutoSize = true; + this.label17.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.label17.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label17.Location = new System.Drawing.Point(180, 322); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(32, 19); + this.label17.TabIndex = 317; + this.label17.Text = "cm"; + // + // lblMoveDistance + // + this.lblMoveDistance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblMoveDistance.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblMoveDistance.Location = new System.Drawing.Point(106, 319); + this.lblMoveDistance.Name = "lblMoveDistance"; + this.lblMoveDistance.Size = new System.Drawing.Size(74, 23); + this.lblMoveDistance.TabIndex = 314; + this.lblMoveDistance.Text = "0.0"; + this.lblMoveDistance.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // lblTimeRemaining + // + this.lblTimeRemaining.AutoSize = true; + this.lblTimeRemaining.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblTimeRemaining.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblTimeRemaining.Location = new System.Drawing.Point(4, 417); + this.lblTimeRemaining.Name = "lblTimeRemaining"; + this.lblTimeRemaining.Size = new System.Drawing.Size(106, 19); + this.lblTimeRemaining.TabIndex = 313; + this.lblTimeRemaining.Text = "13.56 Hours"; + // + // pbarFieldAreaRemainPercent + // + this.pbarFieldAreaRemainPercent.BackColor = System.Drawing.Color.Maroon; + this.pbarFieldAreaRemainPercent.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.pbarFieldAreaRemainPercent.Location = new System.Drawing.Point(6, 438); + this.pbarFieldAreaRemainPercent.Name = "pbarFieldAreaRemainPercent"; + this.pbarFieldAreaRemainPercent.Size = new System.Drawing.Size(322, 5); + this.pbarFieldAreaRemainPercent.Step = 1; + this.pbarFieldAreaRemainPercent.Style = System.Windows.Forms.ProgressBarStyle.Continuous; + this.pbarFieldAreaRemainPercent.TabIndex = 311; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label13.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label13.Location = new System.Drawing.Point(150, 474); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(34, 13); + this.label13.TabIndex = 309; + this.label13.Text = "Relay"; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label12.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label12.Location = new System.Drawing.Point(157, 496); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(27, 13); + this.label12.TabIndex = 308; + this.label12.Text = "UDP"; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label7.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label7.Location = new System.Drawing.Point(151, 451); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(33, 13); + this.label7.TabIndex = 307; + this.label7.Text = "Steer"; + // + // pbarUDPComm + // + this.pbarUDPComm.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.pbarUDPComm.BackColor = System.Drawing.Color.Maroon; + this.pbarUDPComm.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.pbarUDPComm.Location = new System.Drawing.Point(187, 491); + this.pbarUDPComm.Name = "pbarUDPComm"; + this.pbarUDPComm.Size = new System.Drawing.Size(60, 10); + this.pbarUDPComm.TabIndex = 306; + // + // pbarAutoSteerComm + // + this.pbarAutoSteerComm.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.pbarAutoSteerComm.BackColor = System.Drawing.Color.Maroon; + this.pbarAutoSteerComm.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.pbarAutoSteerComm.Location = new System.Drawing.Point(187, 447); + this.pbarAutoSteerComm.Name = "pbarAutoSteerComm"; + this.pbarAutoSteerComm.Size = new System.Drawing.Size(60, 10); + this.pbarAutoSteerComm.TabIndex = 305; + // + // pbarRelayComm + // + this.pbarRelayComm.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.pbarRelayComm.BackColor = System.Drawing.Color.Maroon; + this.pbarRelayComm.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.pbarRelayComm.Location = new System.Drawing.Point(187, 469); + this.pbarRelayComm.Name = "pbarRelayComm"; + this.pbarRelayComm.Size = new System.Drawing.Size(60, 10); + this.pbarRelayComm.TabIndex = 304; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Tahoma", 12F); + this.label3.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label3.Location = new System.Drawing.Point(15, 489); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(0, 19); + this.label3.TabIndex = 303; + // + // lblActualSteerAngle2 + // + this.lblActualSteerAngle2.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); + this.lblActualSteerAngle2.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblActualSteerAngle2.Location = new System.Drawing.Point(76, 485); + this.lblActualSteerAngle2.Margin = new System.Windows.Forms.Padding(0); + this.lblActualSteerAngle2.Name = "lblActualSteerAngle2"; + this.lblActualSteerAngle2.Size = new System.Drawing.Size(69, 23); + this.lblActualSteerAngle2.TabIndex = 286; + this.lblActualSteerAngle2.Text = "-23.9"; + this.lblActualSteerAngle2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // lblSetpointSteerAngle2 + // + this.lblSetpointSteerAngle2.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); + this.lblSetpointSteerAngle2.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblSetpointSteerAngle2.Location = new System.Drawing.Point(76, 454); + this.lblSetpointSteerAngle2.Margin = new System.Windows.Forms.Padding(0); + this.lblSetpointSteerAngle2.Name = "lblSetpointSteerAngle2"; + this.lblSetpointSteerAngle2.Size = new System.Drawing.Size(69, 23); + this.lblSetpointSteerAngle2.TabIndex = 284; + this.lblSetpointSteerAngle2.Text = "-30.8"; + this.lblSetpointSteerAngle2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // btnSmallRight2 + // + this.btnSmallRight2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnSmallRight2.BackColor = System.Drawing.Color.Lavender; + this.btnSmallRight2.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnSmallRight2.FlatAppearance.BorderSize = 2; + this.btnSmallRight2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnSmallRight2.Font = new System.Drawing.Font("Tahoma", 14.25F); + this.btnSmallRight2.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnSmallRight2.Location = new System.Drawing.Point(173, 267); + this.btnSmallRight2.Name = "btnSmallRight2"; + this.btnSmallRight2.Size = new System.Drawing.Size(65, 44); + this.btnSmallRight2.TabIndex = 282; + this.btnSmallRight2.Text = ">"; + this.btnSmallRight2.UseVisualStyleBackColor = false; + this.btnSmallRight2.Click += new System.EventHandler(this.btnSmallRight2_Click); + // + // btnSmallLeft2 + // + this.btnSmallLeft2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnSmallLeft2.BackColor = System.Drawing.Color.Lavender; + this.btnSmallLeft2.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnSmallLeft2.FlatAppearance.BorderSize = 2; + this.btnSmallLeft2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnSmallLeft2.Font = new System.Drawing.Font("Tahoma", 14.25F); + this.btnSmallLeft2.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnSmallLeft2.Location = new System.Drawing.Point(92, 267); + this.btnSmallLeft2.Name = "btnSmallLeft2"; + this.btnSmallLeft2.Size = new System.Drawing.Size(65, 44); + this.btnSmallLeft2.TabIndex = 281; + this.btnSmallLeft2.Text = "<"; + this.btnSmallLeft2.UseVisualStyleBackColor = false; + this.btnSmallLeft2.Click += new System.EventHandler(this.btnSmallLeft2_Click); + // + // btnBigRight2 + // + this.btnBigRight2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnBigRight2.BackColor = System.Drawing.Color.Lavender; + this.btnBigRight2.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnBigRight2.FlatAppearance.BorderSize = 2; + this.btnBigRight2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnBigRight2.Font = new System.Drawing.Font("Tahoma", 14.25F); + this.btnBigRight2.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnBigRight2.Location = new System.Drawing.Point(255, 267); + this.btnBigRight2.Name = "btnBigRight2"; + this.btnBigRight2.Size = new System.Drawing.Size(65, 44); + this.btnBigRight2.TabIndex = 280; + this.btnBigRight2.Text = ">>"; + this.btnBigRight2.UseVisualStyleBackColor = false; + this.btnBigRight2.Click += new System.EventHandler(this.btnBigRight2_Click); + // + // btnBigLeft2 + // + this.btnBigLeft2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnBigLeft2.BackColor = System.Drawing.Color.Lavender; + this.btnBigLeft2.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnBigLeft2.FlatAppearance.BorderSize = 2; + this.btnBigLeft2.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnBigLeft2.Font = new System.Drawing.Font("Tahoma", 14.25F); + this.btnBigLeft2.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnBigLeft2.Location = new System.Drawing.Point(10, 267); + this.btnBigLeft2.Name = "btnBigLeft2"; + this.btnBigLeft2.Size = new System.Drawing.Size(65, 44); + this.btnBigLeft2.TabIndex = 279; + this.btnBigLeft2.Text = "<<"; + this.btnBigLeft2.UseVisualStyleBackColor = false; + this.btnBigLeft2.Click += new System.EventHandler(this.btnBigLeft2_Click); + // + // lblLongitude + // + this.lblLongitude.AutoSize = true; + this.lblLongitude.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblLongitude.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblLongitude.Location = new System.Drawing.Point(51, 80); + this.lblLongitude.Name = "lblLongitude"; + this.lblLongitude.Size = new System.Drawing.Size(121, 19); + this.lblLongitude.TabIndex = 176; + this.lblLongitude.Text = "-111.2534749"; + // + // lblLatitude + // + this.lblLatitude.AutoSize = true; + this.lblLatitude.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblLatitude.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblLatitude.Location = new System.Drawing.Point(50, 59); + this.lblLatitude.Name = "lblLatitude"; + this.lblLatitude.Size = new System.Drawing.Size(104, 19); + this.lblLatitude.TabIndex = 175; + this.lblLatitude.Text = "53.2344549"; + // + // lblAltitude + // + this.lblAltitude.AutoSize = true; + this.lblAltitude.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblAltitude.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblAltitude.Location = new System.Drawing.Point(242, 59); + this.lblAltitude.Name = "lblAltitude"; + this.lblAltitude.Size = new System.Drawing.Size(54, 19); + this.lblAltitude.TabIndex = 179; + this.lblAltitude.Text = "356m"; + // + // lblConvergenceAngle + // + this.lblConvergenceAngle.AutoSize = true; + this.lblConvergenceAngle.BackColor = System.Drawing.SystemColors.ControlLight; + this.lblConvergenceAngle.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblConvergenceAngle.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblConvergenceAngle.Location = new System.Drawing.Point(125, 102); + this.lblConvergenceAngle.Name = "lblConvergenceAngle"; + this.lblConvergenceAngle.Size = new System.Drawing.Size(32, 19); + this.lblConvergenceAngle.TabIndex = 229; + this.lblConvergenceAngle.Text = "CA"; + this.lblConvergenceAngle.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Tahoma", 12F); + this.label2.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label2.Location = new System.Drawing.Point(93, 102); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(36, 19); + this.label2.TabIndex = 230; + this.label2.Text = "CA:"; + // + // lblLidarDistance + // + this.lblLidarDistance.AutoSize = true; + this.lblLidarDistance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblLidarDistance.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblLidarDistance.Location = new System.Drawing.Point(251, 102); + this.lblLidarDistance.Name = "lblLidarDistance"; + this.lblLidarDistance.Size = new System.Drawing.Size(39, 19); + this.lblLidarDistance.TabIndex = 223; + this.lblLidarDistance.Text = "123"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Tahoma", 12F); + this.label1.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label1.Location = new System.Drawing.Point(194, 102); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(61, 19); + this.label1.TabIndex = 224; + this.label1.Text = "LIDAR:"; + // + // lblHeading2 + // + this.lblHeading2.AutoSize = true; + this.lblHeading2.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblHeading2.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblHeading2.Location = new System.Drawing.Point(194, 186); + this.lblHeading2.Name = "lblHeading2"; + this.lblHeading2.Size = new System.Drawing.Size(52, 23); + this.lblHeading2.TabIndex = 211; + this.lblHeading2.Text = "22.6"; + // + // lblRoll + // + this.lblRoll.AutoSize = true; + this.lblRoll.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblRoll.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblRoll.Location = new System.Drawing.Point(63, 159); + this.lblRoll.Name = "lblRoll"; + this.lblRoll.Size = new System.Drawing.Size(40, 23); + this.lblRoll.TabIndex = 138; + this.lblRoll.Text = "1.2"; + // + // lblGPSHeading + // + this.lblGPSHeading.AutoSize = true; + this.lblGPSHeading.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblGPSHeading.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblGPSHeading.Location = new System.Drawing.Point(194, 160); + this.lblGPSHeading.Name = "lblGPSHeading"; + this.lblGPSHeading.Size = new System.Drawing.Size(52, 23); + this.lblGPSHeading.TabIndex = 136; + this.lblGPSHeading.Text = "99.3"; + // + // lblYawHeading + // + this.lblYawHeading.AutoSize = true; + this.lblYawHeading.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblYawHeading.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblYawHeading.Location = new System.Drawing.Point(63, 186); + this.lblYawHeading.Name = "lblYawHeading"; + this.lblYawHeading.Size = new System.Drawing.Size(52, 23); + this.lblYawHeading.TabIndex = 135; + this.lblYawHeading.Text = "22.6"; + // + // label25 + // + this.label25.AutoSize = true; + this.label25.Font = new System.Drawing.Font("Tahoma", 12F); + this.label25.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label25.Location = new System.Drawing.Point(7, 102); + this.label25.Name = "label25"; + this.label25.Size = new System.Drawing.Size(50, 19); + this.label25.TabIndex = 217; + this.label25.Text = "Zone:"; + // + // label24 + // + this.label24.AutoSize = true; + this.label24.Font = new System.Drawing.Font("Tahoma", 12F); + this.label24.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label24.Location = new System.Drawing.Point(202, 80); + this.label24.Name = "label24"; + this.label24.Size = new System.Drawing.Size(44, 19); + this.label24.TabIndex = 216; + this.label24.Text = "Sats:"; + // + // label22 + // + this.label22.AutoSize = true; + this.label22.Font = new System.Drawing.Font("Tahoma", 12F); + this.label22.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label22.Location = new System.Drawing.Point(140, 188); + this.label22.Name = "label22"; + this.label22.Size = new System.Drawing.Size(56, 19); + this.label22.TabIndex = 210; + this.label22.Text = "Fused:"; + // + // lblSats + // + this.lblSats.AutoSize = true; + this.lblSats.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblSats.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblSats.Location = new System.Drawing.Point(242, 80); + this.lblSats.Name = "lblSats"; + this.lblSats.Size = new System.Drawing.Size(19, 19); + this.lblSats.TabIndex = 183; + this.lblSats.Text = "S"; + // + // label16 + // + this.label16.AutoSize = true; + this.label16.Font = new System.Drawing.Font("Tahoma", 12F); + this.label16.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label16.Location = new System.Drawing.Point(202, 59); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(44, 19); + this.label16.TabIndex = 180; + this.label16.Text = "Elev:"; + // + // label19 + // + this.label19.AutoSize = true; + this.label19.Font = new System.Drawing.Font("Tahoma", 12F); + this.label19.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label19.Location = new System.Drawing.Point(20, 59); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(36, 19); + this.label19.TabIndex = 178; + this.label19.Text = "Lat:"; + // + // label18 + // + this.label18.AutoSize = true; + this.label18.Font = new System.Drawing.Font("Tahoma", 12F); + this.label18.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label18.Location = new System.Drawing.Point(15, 80); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(41, 19); + this.label18.TabIndex = 177; + this.label18.Text = "Lon:"; + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Font = new System.Drawing.Font("Tahoma", 12F); + this.label10.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label10.Location = new System.Drawing.Point(23, 161); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(42, 19); + this.label10.TabIndex = 4; + this.label10.Text = "Roll:"; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Font = new System.Drawing.Font("Tahoma", 12F); + this.label9.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label9.Location = new System.Drawing.Point(20, 188); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(44, 19); + this.label9.TabIndex = 3; + this.label9.Text = "IMU:"; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Font = new System.Drawing.Font("Tahoma", 12F); + this.label8.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label8.Location = new System.Drawing.Point(152, 162); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(44, 19); + this.label8.TabIndex = 2; + this.label8.Text = "GPS:"; + // + // lblPercentRemaining + // + this.lblPercentRemaining.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblPercentRemaining.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblPercentRemaining.Location = new System.Drawing.Point(240, 417); + this.lblPercentRemaining.Name = "lblPercentRemaining"; + this.lblPercentRemaining.Size = new System.Drawing.Size(83, 19); + this.lblPercentRemaining.TabIndex = 312; + this.lblPercentRemaining.Text = "55.6885"; + this.lblPercentRemaining.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // btnTinyAutoSteerConfig + // + this.btnTinyAutoSteerConfig.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnTinyAutoSteerConfig.BackColor = System.Drawing.Color.Lavender; + this.btnTinyAutoSteerConfig.BackgroundImage = global::AgOpenGPS.Properties.Resources.AutoSteerConf; + this.btnTinyAutoSteerConfig.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.btnTinyAutoSteerConfig.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnTinyAutoSteerConfig.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnTinyAutoSteerConfig.Font = new System.Drawing.Font("Tahoma", 14.25F); + this.btnTinyAutoSteerConfig.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnTinyAutoSteerConfig.Location = new System.Drawing.Point(4, 452); + this.btnTinyAutoSteerConfig.Name = "btnTinyAutoSteerConfig"; + this.btnTinyAutoSteerConfig.Size = new System.Drawing.Size(70, 60); + this.btnTinyAutoSteerConfig.TabIndex = 310; + this.btnTinyAutoSteerConfig.UseVisualStyleBackColor = false; + this.btnTinyAutoSteerConfig.Click += new System.EventHandler(this.BtnTinyAutoSteerConfig_Click); + // + // btnGPSData + // + this.btnGPSData.BackColor = System.Drawing.Color.Lavender; + this.btnGPSData.BackgroundImage = global::AgOpenGPS.Properties.Resources.Satellite64; + this.btnGPSData.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.btnGPSData.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnGPSData.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnGPSData.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnGPSData.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnGPSData.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnGPSData.Location = new System.Drawing.Point(256, 450); + this.btnGPSData.Name = "btnGPSData"; + this.btnGPSData.Size = new System.Drawing.Size(72, 64); + this.btnGPSData.TabIndex = 138; + this.btnGPSData.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnGPSData.UseVisualStyleBackColor = false; + this.btnGPSData.Click += new System.EventHandler(this.btnGPSData_Click); + // // cboxpRowWidth // - this.cboxpRowWidth.Anchor = System.Windows.Forms.AnchorStyles.None; this.cboxpRowWidth.BackColor = System.Drawing.Color.Lavender; this.cboxpRowWidth.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cboxpRowWidth.FlatStyle = System.Windows.Forms.FlatStyle.System; @@ -1248,61 +2191,525 @@ private void InitializeComponent() "8", "9", "10"}); - this.cboxpRowWidth.Location = new System.Drawing.Point(15, 466); + this.cboxpRowWidth.Location = new System.Drawing.Point(339, 118); this.cboxpRowWidth.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.cboxpRowWidth.Name = "cboxpRowWidth"; - this.cboxpRowWidth.Size = new System.Drawing.Size(60, 53); + this.cboxpRowWidth.Size = new System.Drawing.Size(64, 53); this.cboxpRowWidth.TabIndex = 247; this.cboxpRowWidth.SelectedIndexChanged += new System.EventHandler(this.cboxpRowWidth_SelectedIndexChanged); // - // btnResetSim + // oglZoom // - this.btnResetSim.Anchor = System.Windows.Forms.AnchorStyles.None; - this.btnResetSim.BackColor = System.Drawing.SystemColors.ScrollBar; - this.btnResetSim.Font = new System.Drawing.Font("Tahoma", 9.75F); - this.btnResetSim.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnResetSim.Location = new System.Drawing.Point(98, 4); - this.btnResetSim.Name = "btnResetSim"; - this.btnResetSim.Size = new System.Drawing.Size(40, 32); - this.btnResetSim.TabIndex = 164; - this.btnResetSim.Text = "Rst"; - this.btnResetSim.UseVisualStyleBackColor = false; - this.btnResetSim.Click += new System.EventHandler(this.btnResetSim_Click); + this.oglZoom.BackColor = System.Drawing.Color.Black; + this.oglZoom.Location = new System.Drawing.Point(0, 1); + this.oglZoom.Margin = new System.Windows.Forms.Padding(0); + this.oglZoom.Name = "oglZoom"; + this.oglZoom.Size = new System.Drawing.Size(240, 240); + this.oglZoom.TabIndex = 182; + this.oglZoom.VSync = false; + this.oglZoom.Load += new System.EventHandler(this.oglZoom_Load); + this.oglZoom.Paint += new System.Windows.Forms.PaintEventHandler(this.oglZoom_Paint); + this.oglZoom.Resize += new System.EventHandler(this.oglZoom_Resize); // - // timerSim + // panelBatman // - this.timerSim.Enabled = true; - this.timerSim.Interval = 200; - this.timerSim.Tick += new System.EventHandler(this.timerSim_Tick); + this.panelBatman.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left))); + this.panelBatman.BackColor = System.Drawing.SystemColors.ScrollBar; + this.panelBatman.Controls.Add(this.label11); + this.panelBatman.Controls.Add(this.lblMoveDistanceBatman); + this.panelBatman.Controls.Add(this.label26); + this.panelBatman.Controls.Add(this.pbarUDPSmall); + this.panelBatman.Controls.Add(this.pbarSteerSmall); + this.panelBatman.Controls.Add(this.btnSmallSnapRight); + this.panelBatman.Controls.Add(this.btnSmallSnapLeft); + this.panelBatman.Controls.Add(this.btnSnapRight); + this.panelBatman.Controls.Add(this.lblUturnByte); + this.panelBatman.Controls.Add(this.label6); + this.panelBatman.Controls.Add(this.lblWatch); + this.panelBatman.Controls.Add(this.btnStartStopNtrip); + this.panelBatman.Controls.Add(this.lblNTRIPSeconds); + this.panelBatman.Controls.Add(this.btnSnapLeft); + this.panelBatman.Controls.Add(this.lblNtripBytes); + this.panelBatman.Controls.Add(this.pbarNtrip); + this.panelBatman.Controls.Add(this.lblpTimeToFinish); + this.panelBatman.Controls.Add(this.lblpAreaWorked); + this.panelBatman.Controls.Add(this.lblpFieldAreaRemain); + this.panelBatman.Controls.Add(this.lblpBoundaryArea); + this.panelBatman.Controls.Add(this.lblpFieldAreaRemainPercent); + this.panelBatman.Controls.Add(this.lblFieldWidthEastWest); + this.panelBatman.Controls.Add(this.lblpGPSHeading); + this.panelBatman.Controls.Add(this.lblFieldWidthNorthSouth); + this.panelBatman.Controls.Add(this.label4); + this.panelBatman.Controls.Add(this.lblpYawHeading); + this.panelBatman.Controls.Add(this.label5); + this.panelBatman.Controls.Add(this.oglZoom); + this.panelBatman.Controls.Add(this.label35); + this.panelBatman.Controls.Add(this.label39); + this.panelBatman.Controls.Add(this.lblpRoll); + this.panelBatman.Controls.Add(this.label33); + this.panelBatman.Controls.Add(this.lblpAltitude); + this.panelBatman.Controls.Add(this.label14); + this.panelBatman.Controls.Add(this.label20); + this.panelBatman.Controls.Add(this.label15); + this.panelBatman.Location = new System.Drawing.Point(0, 46); + this.panelBatman.Name = "panelBatman"; + this.panelBatman.Size = new System.Drawing.Size(241, 592); + this.panelBatman.TabIndex = 182; + this.panelBatman.Visible = false; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.label11.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label11.Location = new System.Drawing.Point(132, 428); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(32, 19); + this.label11.TabIndex = 316; + this.label11.Text = "cm"; + // + // lblMoveDistanceBatman + // + this.lblMoveDistanceBatman.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lblMoveDistanceBatman.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblMoveDistanceBatman.Location = new System.Drawing.Point(66, 425); + this.lblMoveDistanceBatman.Name = "lblMoveDistanceBatman"; + this.lblMoveDistanceBatman.Size = new System.Drawing.Size(64, 23); + this.lblMoveDistanceBatman.TabIndex = 315; + this.lblMoveDistanceBatman.Text = "0.0"; + this.lblMoveDistanceBatman.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // label26 + // + this.label26.AutoSize = true; + this.label26.Font = new System.Drawing.Font("Tahoma", 12F); + this.label26.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label26.Location = new System.Drawing.Point(71, 320); + this.label26.Name = "label26"; + this.label26.Size = new System.Drawing.Size(15, 19); + this.label26.TabIndex = 266; + this.label26.Text = "-"; // - // toolStripMenuItem2 + // pbarUDPSmall // - this.toolStripMenuItem2.Name = "toolStripMenuItem2"; - this.toolStripMenuItem2.Size = new System.Drawing.Size(334, 62); - this.toolStripMenuItem2.Text = "toolStripMenuItem2"; + this.pbarUDPSmall.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.pbarUDPSmall.BackColor = System.Drawing.Color.Maroon; + this.pbarUDPSmall.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.pbarUDPSmall.Location = new System.Drawing.Point(22, 515); + this.pbarUDPSmall.Name = "pbarUDPSmall"; + this.pbarUDPSmall.Size = new System.Drawing.Size(60, 10); + this.pbarUDPSmall.TabIndex = 308; // - // hsbarSteerAngle + // pbarSteerSmall // - this.hsbarSteerAngle.Anchor = System.Windows.Forms.AnchorStyles.None; - this.hsbarSteerAngle.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.hsbarSteerAngle.LargeChange = 20; - this.hsbarSteerAngle.Location = new System.Drawing.Point(141, 1); - this.hsbarSteerAngle.Maximum = 600; - this.hsbarSteerAngle.Name = "hsbarSteerAngle"; - this.hsbarSteerAngle.Size = new System.Drawing.Size(103, 38); - this.hsbarSteerAngle.TabIndex = 179; - this.hsbarSteerAngle.Value = 300; - this.hsbarSteerAngle.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hsbarSteerAngle_Scroll); + this.pbarSteerSmall.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.pbarSteerSmall.BackColor = System.Drawing.Color.Maroon; + this.pbarSteerSmall.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.pbarSteerSmall.Location = new System.Drawing.Point(22, 503); + this.pbarSteerSmall.Name = "pbarSteerSmall"; + this.pbarSteerSmall.Size = new System.Drawing.Size(60, 10); + this.pbarSteerSmall.TabIndex = 307; // - // hsbarStepDistance + // btnSmallSnapRight + // + this.btnSmallSnapRight.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnSmallSnapRight.BackColor = System.Drawing.Color.Lavender; + this.btnSmallSnapRight.ContextMenuStrip = this.contextMenuStripFlag; + this.btnSmallSnapRight.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnSmallSnapRight.FlatAppearance.BorderSize = 2; + this.btnSmallSnapRight.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnSmallSnapRight.Font = new System.Drawing.Font("Tahoma", 14.25F); + this.btnSmallSnapRight.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnSmallSnapRight.Location = new System.Drawing.Point(128, 387); + this.btnSmallSnapRight.Name = "btnSmallSnapRight"; + this.btnSmallSnapRight.Size = new System.Drawing.Size(90, 35); + this.btnSmallSnapRight.TabIndex = 278; + this.btnSmallSnapRight.Text = ">"; + this.btnSmallSnapRight.TextAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnSmallSnapRight.UseVisualStyleBackColor = false; + this.btnSmallSnapRight.Click += new System.EventHandler(this.btnSmallSnapRight_Click); + // + // btnSmallSnapLeft + // + this.btnSmallSnapLeft.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnSmallSnapLeft.BackColor = System.Drawing.Color.Lavender; + this.btnSmallSnapLeft.ContextMenuStrip = this.contextMenuStripFlag; + this.btnSmallSnapLeft.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnSmallSnapLeft.FlatAppearance.BorderSize = 2; + this.btnSmallSnapLeft.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnSmallSnapLeft.Font = new System.Drawing.Font("Tahoma", 14.25F); + this.btnSmallSnapLeft.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnSmallSnapLeft.Location = new System.Drawing.Point(15, 387); + this.btnSmallSnapLeft.Name = "btnSmallSnapLeft"; + this.btnSmallSnapLeft.Size = new System.Drawing.Size(91, 35); + this.btnSmallSnapLeft.TabIndex = 277; + this.btnSmallSnapLeft.Text = "<"; + this.btnSmallSnapLeft.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnSmallSnapLeft.UseVisualStyleBackColor = false; + this.btnSmallSnapLeft.Click += new System.EventHandler(this.btnSmallSnapLeft_Click); // - this.hsbarStepDistance.Anchor = System.Windows.Forms.AnchorStyles.None; - this.hsbarStepDistance.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.hsbarStepDistance.LargeChange = 5; - this.hsbarStepDistance.Location = new System.Drawing.Point(0, 1); - this.hsbarStepDistance.Maximum = 300; - this.hsbarStepDistance.Name = "hsbarStepDistance"; - this.hsbarStepDistance.Size = new System.Drawing.Size(95, 38); + // btnSnapRight + // + this.btnSnapRight.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnSnapRight.BackColor = System.Drawing.Color.Lavender; + this.btnSnapRight.ContextMenuStrip = this.contextMenuStripFlag; + this.btnSnapRight.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnSnapRight.FlatAppearance.BorderSize = 2; + this.btnSnapRight.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnSnapRight.Font = new System.Drawing.Font("Tahoma", 14.25F); + this.btnSnapRight.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnSnapRight.Location = new System.Drawing.Point(128, 450); + this.btnSnapRight.Name = "btnSnapRight"; + this.btnSnapRight.Size = new System.Drawing.Size(90, 35); + this.btnSnapRight.TabIndex = 276; + this.btnSnapRight.Text = ">>"; + this.btnSnapRight.TextAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnSnapRight.UseVisualStyleBackColor = false; + this.btnSnapRight.Click += new System.EventHandler(this.btnSnapRight_Click); + // + // lblUturnByte + // + this.lblUturnByte.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.lblUturnByte.AutoSize = true; + this.lblUturnByte.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblUturnByte.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblUturnByte.Location = new System.Drawing.Point(150, 515); + this.lblUturnByte.Name = "lblUturnByte"; + this.lblUturnByte.Size = new System.Drawing.Size(69, 19); + this.lblUturnByte.TabIndex = 272; + this.lblUturnByte.Text = "101010"; + // + // label6 + // + this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.label6.AutoSize = true; + this.label6.Font = new System.Drawing.Font("Tahoma", 12F); + this.label6.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label6.Location = new System.Drawing.Point(94, 515); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(60, 19); + this.label6.TabIndex = 275; + this.label6.Text = "UTurn:"; + // + // lblWatch + // + this.lblWatch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.lblWatch.AutoSize = true; + this.lblWatch.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); + this.lblWatch.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblWatch.Location = new System.Drawing.Point(95, 541); + this.lblWatch.Name = "lblWatch"; + this.lblWatch.Size = new System.Drawing.Size(94, 13); + this.lblWatch.TabIndex = 274; + this.lblWatch.Text = "Waiting for GPS"; + // + // btnStartStopNtrip + // + this.btnStartStopNtrip.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.btnStartStopNtrip.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnStartStopNtrip.Location = new System.Drawing.Point(10, 529); + this.btnStartStopNtrip.Name = "btnStartStopNtrip"; + this.btnStartStopNtrip.Size = new System.Drawing.Size(75, 33); + this.btnStartStopNtrip.TabIndex = 250; + this.btnStartStopNtrip.Text = "Stop"; + this.btnStartStopNtrip.UseVisualStyleBackColor = true; + this.btnStartStopNtrip.Click += new System.EventHandler(this.btnStartStopNtrip_Click); + // + // lblNTRIPSeconds + // + this.lblNTRIPSeconds.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.lblNTRIPSeconds.AutoSize = true; + this.lblNTRIPSeconds.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); + this.lblNTRIPSeconds.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblNTRIPSeconds.Location = new System.Drawing.Point(95, 563); + this.lblNTRIPSeconds.Name = "lblNTRIPSeconds"; + this.lblNTRIPSeconds.Size = new System.Drawing.Size(60, 13); + this.lblNTRIPSeconds.TabIndex = 273; + this.lblNTRIPSeconds.Text = "NTRIP Off"; + // + // btnSnapLeft + // + this.btnSnapLeft.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnSnapLeft.BackColor = System.Drawing.Color.Lavender; + this.btnSnapLeft.ContextMenuStrip = this.contextMenuStripFlag; + this.btnSnapLeft.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnSnapLeft.FlatAppearance.BorderSize = 2; + this.btnSnapLeft.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnSnapLeft.Font = new System.Drawing.Font("Tahoma", 14.25F); + this.btnSnapLeft.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnSnapLeft.Location = new System.Drawing.Point(15, 450); + this.btnSnapLeft.Name = "btnSnapLeft"; + this.btnSnapLeft.Size = new System.Drawing.Size(91, 35); + this.btnSnapLeft.TabIndex = 251; + this.btnSnapLeft.Text = "<<"; + this.btnSnapLeft.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnSnapLeft.UseVisualStyleBackColor = false; + this.btnSnapLeft.Click += new System.EventHandler(this.btnSnapLeft_Click); + // + // lblNtripBytes + // + this.lblNtripBytes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.lblNtripBytes.AutoSize = true; + this.lblNtripBytes.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); + this.lblNtripBytes.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblNtripBytes.Location = new System.Drawing.Point(7, 564); + this.lblNtripBytes.Name = "lblNtripBytes"; + this.lblNtripBytes.Size = new System.Drawing.Size(31, 13); + this.lblNtripBytes.TabIndex = 271; + this.lblNtripBytes.Text = "0 kb"; + // + // pbarNtrip + // + this.pbarNtrip.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.pbarNtrip.BackColor = System.Drawing.Color.Maroon; + this.pbarNtrip.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.pbarNtrip.Location = new System.Drawing.Point(7, 581); + this.pbarNtrip.Maximum = 256; + this.pbarNtrip.Name = "pbarNtrip"; + this.pbarNtrip.Size = new System.Drawing.Size(202, 8); + this.pbarNtrip.TabIndex = 270; + // + // lblpTimeToFinish + // + this.lblpTimeToFinish.AutoSize = true; + this.lblpTimeToFinish.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblpTimeToFinish.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblpTimeToFinish.Location = new System.Drawing.Point(26, 344); + this.lblpTimeToFinish.Name = "lblpTimeToFinish"; + this.lblpTimeToFinish.Size = new System.Drawing.Size(106, 19); + this.lblpTimeToFinish.TabIndex = 267; + this.lblpTimeToFinish.Text = "13.56 Hours"; + // + // lblpAreaWorked + // + this.lblpAreaWorked.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblpAreaWorked.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblpAreaWorked.Location = new System.Drawing.Point(85, 320); + this.lblpAreaWorked.Name = "lblpAreaWorked"; + this.lblpAreaWorked.Size = new System.Drawing.Size(54, 19); + this.lblpAreaWorked.TabIndex = 264; + this.lblpAreaWorked.Text = "000.0"; + this.lblpAreaWorked.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // lblpFieldAreaRemain + // + this.lblpFieldAreaRemain.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblpFieldAreaRemain.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblpFieldAreaRemain.Location = new System.Drawing.Point(159, 320); + this.lblpFieldAreaRemain.Name = "lblpFieldAreaRemain"; + this.lblpFieldAreaRemain.Size = new System.Drawing.Size(54, 19); + this.lblpFieldAreaRemain.TabIndex = 261; + this.lblpFieldAreaRemain.Text = "000.0"; + this.lblpFieldAreaRemain.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // lblpBoundaryArea + // + this.lblpBoundaryArea.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblpBoundaryArea.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblpBoundaryArea.Location = new System.Drawing.Point(17, 320); + this.lblpBoundaryArea.Name = "lblpBoundaryArea"; + this.lblpBoundaryArea.Size = new System.Drawing.Size(54, 19); + this.lblpBoundaryArea.TabIndex = 259; + this.lblpBoundaryArea.Text = "000.0"; + this.lblpBoundaryArea.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + // + // lblpFieldAreaRemainPercent + // + this.lblpFieldAreaRemainPercent.AutoSize = true; + this.lblpFieldAreaRemainPercent.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblpFieldAreaRemainPercent.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblpFieldAreaRemainPercent.Location = new System.Drawing.Point(153, 344); + this.lblpFieldAreaRemainPercent.Name = "lblpFieldAreaRemainPercent"; + this.lblpFieldAreaRemainPercent.Size = new System.Drawing.Size(48, 19); + this.lblpFieldAreaRemainPercent.TabIndex = 262; + this.lblpFieldAreaRemainPercent.Text = "45%"; + // + // lblpGPSHeading + // + this.lblpGPSHeading.AutoSize = true; + this.lblpGPSHeading.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblpGPSHeading.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblpGPSHeading.Location = new System.Drawing.Point(149, 289); + this.lblpGPSHeading.Name = "lblpGPSHeading"; + this.lblpGPSHeading.Size = new System.Drawing.Size(54, 19); + this.lblpGPSHeading.TabIndex = 256; + this.lblpGPSHeading.Text = "388.8"; + // + // lblpYawHeading + // + this.lblpYawHeading.AutoSize = true; + this.lblpYawHeading.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblpYawHeading.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblpYawHeading.Location = new System.Drawing.Point(44, 289); + this.lblpYawHeading.Name = "lblpYawHeading"; + this.lblpYawHeading.Size = new System.Drawing.Size(54, 19); + this.lblpYawHeading.TabIndex = 255; + this.lblpYawHeading.Text = "388.8"; + // + // label35 + // + this.label35.AutoSize = true; + this.label35.Font = new System.Drawing.Font("Tahoma", 12F); + this.label35.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label35.Location = new System.Drawing.Point(3, 289); + this.label35.Name = "label35"; + this.label35.Size = new System.Drawing.Size(45, 19); + this.label35.TabIndex = 254; + this.label35.Text = "Yaw:"; + // + // label39 + // + this.label39.AutoSize = true; + this.label39.Font = new System.Drawing.Font("Tahoma", 12F); + this.label39.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label39.Location = new System.Drawing.Point(109, 289); + this.label39.Name = "label39"; + this.label39.Size = new System.Drawing.Size(44, 19); + this.label39.TabIndex = 253; + this.label39.Text = "GPS:"; + // + // lblpRoll + // + this.lblpRoll.AutoSize = true; + this.lblpRoll.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblpRoll.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblpRoll.Location = new System.Drawing.Point(44, 266); + this.lblpRoll.Name = "lblpRoll"; + this.lblpRoll.Size = new System.Drawing.Size(34, 19); + this.lblpRoll.TabIndex = 252; + this.lblpRoll.Text = "1.2"; + // + // label33 + // + this.label33.AutoSize = true; + this.label33.Font = new System.Drawing.Font("Tahoma", 12F); + this.label33.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label33.Location = new System.Drawing.Point(5, 266); + this.label33.Name = "label33"; + this.label33.Size = new System.Drawing.Size(42, 19); + this.label33.TabIndex = 251; + this.label33.Text = "Roll:"; + // + // lblpAltitude + // + this.lblpAltitude.AutoSize = true; + this.lblpAltitude.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.lblpAltitude.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.lblpAltitude.Location = new System.Drawing.Point(124, 266); + this.lblpAltitude.Name = "lblpAltitude"; + this.lblpAltitude.Size = new System.Drawing.Size(54, 19); + this.lblpAltitude.TabIndex = 232; + this.lblpAltitude.Text = "356m"; + // + // label14 + // + this.label14.AutoSize = true; + this.label14.Font = new System.Drawing.Font("Tahoma", 12F); + this.label14.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label14.Location = new System.Drawing.Point(141, 320); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(21, 19); + this.label14.TabIndex = 262; + this.label14.Text = "="; + // + // label20 + // + this.label20.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.label20.AutoSize = true; + this.label20.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); + this.label20.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label20.Location = new System.Drawing.Point(6, 513); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(15, 13); + this.label20.TabIndex = 310; + this.label20.Text = "U"; + // + // label15 + // + this.label15.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.label15.AutoSize = true; + this.label15.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); + this.label15.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.label15.Location = new System.Drawing.Point(6, 500); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(14, 13); + this.label15.TabIndex = 309; + this.label15.Text = "S"; + // + // btnResetSim + // + this.btnResetSim.BackColor = System.Drawing.SystemColors.ScrollBar; + this.btnResetSim.ContextMenuStrip = this.contextMenuStripFlag; + this.btnResetSim.Font = new System.Drawing.Font("Tahoma", 9.75F); + this.btnResetSim.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnResetSim.Location = new System.Drawing.Point(108, 2); + this.btnResetSim.Name = "btnResetSim"; + this.btnResetSim.Size = new System.Drawing.Size(40, 38); + this.btnResetSim.TabIndex = 164; + this.btnResetSim.Text = "Rst"; + this.btnResetSim.UseVisualStyleBackColor = false; + this.btnResetSim.Click += new System.EventHandler(this.btnResetSim_Click); + // + // btnResetSteerAngle + // + this.btnResetSteerAngle.BackColor = System.Drawing.SystemColors.ButtonFace; + this.btnResetSteerAngle.ContextMenuStrip = this.contextMenuStripFlag; + this.btnResetSteerAngle.Font = new System.Drawing.Font("Tahoma", 9.75F); + this.btnResetSteerAngle.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnResetSteerAngle.Location = new System.Drawing.Point(264, 2); + this.btnResetSteerAngle.Name = "btnResetSteerAngle"; + this.btnResetSteerAngle.Size = new System.Drawing.Size(50, 38); + this.btnResetSteerAngle.TabIndex = 162; + this.btnResetSteerAngle.Text = "0"; + this.btnResetSteerAngle.UseVisualStyleBackColor = false; + this.btnResetSteerAngle.Click += new System.EventHandler(this.btnResetSteerAngle_Click); + // + // timerSim + // + this.timerSim.Enabled = true; + this.timerSim.Interval = 200; + this.timerSim.Tick += new System.EventHandler(this.timerSim_Tick); + // + // toolStripMenuItem2 + // + this.toolStripMenuItem2.Name = "toolStripMenuItem2"; + this.toolStripMenuItem2.Size = new System.Drawing.Size(334, 62); + this.toolStripMenuItem2.Text = "toolStripMenuItem2"; + // + // panelSimControls + // + this.panelSimControls.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.panelSimControls.BackColor = System.Drawing.SystemColors.ControlDark; + this.panelSimControls.Controls.Add(this.hsbarSteerAngle); + this.panelSimControls.Controls.Add(this.btnResetSim); + this.panelSimControls.Controls.Add(this.btnResetSteerAngle); + this.panelSimControls.Controls.Add(this.hsbarStepDistance); + this.panelSimControls.Location = new System.Drawing.Point(339, 598); + this.panelSimControls.Name = "panelSimControls"; + this.panelSimControls.Size = new System.Drawing.Size(318, 40); + this.panelSimControls.TabIndex = 224; + // + // hsbarSteerAngle + // + this.hsbarSteerAngle.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.hsbarSteerAngle.LargeChange = 20; + this.hsbarSteerAngle.Location = new System.Drawing.Point(158, 2); + this.hsbarSteerAngle.Maximum = 600; + this.hsbarSteerAngle.Name = "hsbarSteerAngle"; + this.hsbarSteerAngle.Size = new System.Drawing.Size(100, 38); + this.hsbarSteerAngle.TabIndex = 179; + this.hsbarSteerAngle.Value = 300; + this.hsbarSteerAngle.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hsbarSteerAngle_Scroll); + // + // hsbarStepDistance + // + this.hsbarStepDistance.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.hsbarStepDistance.LargeChange = 5; + this.hsbarStepDistance.Location = new System.Drawing.Point(5, 2); + this.hsbarStepDistance.Maximum = 300; + this.hsbarStepDistance.Name = "hsbarStepDistance"; + this.hsbarStepDistance.Size = new System.Drawing.Size(93, 38); this.hsbarStepDistance.TabIndex = 178; this.hsbarStepDistance.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hsbarStepDistance_Scroll); // @@ -1317,7 +2724,7 @@ private void InitializeComponent() this.btnSection8Man.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSection8Man.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); this.btnSection8Man.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSection8Man.Location = new System.Drawing.Point(530, 515); + this.btnSection8Man.Location = new System.Drawing.Point(530, 439); this.btnSection8Man.Name = "btnSection8Man"; this.btnSection8Man.Size = new System.Drawing.Size(52, 30); this.btnSection8Man.TabIndex = 125; @@ -1336,7 +2743,7 @@ private void InitializeComponent() this.btnSection7Man.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSection7Man.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); this.btnSection7Man.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSection7Man.Location = new System.Drawing.Point(518, 501); + this.btnSection7Man.Location = new System.Drawing.Point(518, 425); this.btnSection7Man.Name = "btnSection7Man"; this.btnSection7Man.Size = new System.Drawing.Size(52, 30); this.btnSection7Man.TabIndex = 126; @@ -1355,7 +2762,7 @@ private void InitializeComponent() this.btnSection6Man.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSection6Man.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); this.btnSection6Man.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSection6Man.Location = new System.Drawing.Point(496, 483); + this.btnSection6Man.Location = new System.Drawing.Point(496, 407); this.btnSection6Man.Name = "btnSection6Man"; this.btnSection6Man.Size = new System.Drawing.Size(52, 30); this.btnSection6Man.TabIndex = 127; @@ -1374,7 +2781,7 @@ private void InitializeComponent() this.btnSection5Man.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSection5Man.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); this.btnSection5Man.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSection5Man.Location = new System.Drawing.Point(475, 465); + this.btnSection5Man.Location = new System.Drawing.Point(475, 389); this.btnSection5Man.Name = "btnSection5Man"; this.btnSection5Man.Size = new System.Drawing.Size(52, 30); this.btnSection5Man.TabIndex = 103; @@ -1393,7 +2800,7 @@ private void InitializeComponent() this.btnSection4Man.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSection4Man.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); this.btnSection4Man.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSection4Man.Location = new System.Drawing.Point(540, 442); + this.btnSection4Man.Location = new System.Drawing.Point(540, 366); this.btnSection4Man.Name = "btnSection4Man"; this.btnSection4Man.Size = new System.Drawing.Size(52, 30); this.btnSection4Man.TabIndex = 102; @@ -1412,7 +2819,7 @@ private void InitializeComponent() this.btnSection3Man.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSection3Man.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); this.btnSection3Man.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSection3Man.Location = new System.Drawing.Point(519, 428); + this.btnSection3Man.Location = new System.Drawing.Point(519, 352); this.btnSection3Man.Name = "btnSection3Man"; this.btnSection3Man.Size = new System.Drawing.Size(52, 30); this.btnSection3Man.TabIndex = 101; @@ -1431,7 +2838,7 @@ private void InitializeComponent() this.btnSection2Man.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSection2Man.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); this.btnSection2Man.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSection2Man.Location = new System.Drawing.Point(496, 410); + this.btnSection2Man.Location = new System.Drawing.Point(496, 334); this.btnSection2Man.Name = "btnSection2Man"; this.btnSection2Man.Size = new System.Drawing.Size(52, 30); this.btnSection2Man.TabIndex = 100; @@ -1450,7 +2857,7 @@ private void InitializeComponent() this.btnSection1Man.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSection1Man.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); this.btnSection1Man.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSection1Man.Location = new System.Drawing.Point(479, 392); + this.btnSection1Man.Location = new System.Drawing.Point(479, 316); this.btnSection1Man.Name = "btnSection1Man"; this.btnSection1Man.Size = new System.Drawing.Size(52, 30); this.btnSection1Man.TabIndex = 99; @@ -1469,7 +2876,7 @@ private void InitializeComponent() this.btnSection9Man.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSection9Man.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); this.btnSection9Man.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSection9Man.Location = new System.Drawing.Point(473, 544); + this.btnSection9Man.Location = new System.Drawing.Point(447, 468); this.btnSection9Man.Name = "btnSection9Man"; this.btnSection9Man.Size = new System.Drawing.Size(52, 30); this.btnSection9Man.TabIndex = 174; @@ -1488,7 +2895,7 @@ private void InitializeComponent() this.btnSection10Man.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSection10Man.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); this.btnSection10Man.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSection10Man.Location = new System.Drawing.Point(498, 556); + this.btnSection10Man.Location = new System.Drawing.Point(472, 480); this.btnSection10Man.Name = "btnSection10Man"; this.btnSection10Man.Size = new System.Drawing.Size(52, 30); this.btnSection10Man.TabIndex = 175; @@ -1507,7 +2914,7 @@ private void InitializeComponent() this.btnSection11Man.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSection11Man.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); this.btnSection11Man.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSection11Man.Location = new System.Drawing.Point(530, 565); + this.btnSection11Man.Location = new System.Drawing.Point(504, 489); this.btnSection11Man.Name = "btnSection11Man"; this.btnSection11Man.Size = new System.Drawing.Size(52, 30); this.btnSection11Man.TabIndex = 176; @@ -1526,7 +2933,7 @@ private void InitializeComponent() this.btnSection12Man.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSection12Man.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); this.btnSection12Man.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSection12Man.Location = new System.Drawing.Point(547, 580); + this.btnSection12Man.Location = new System.Drawing.Point(521, 504); this.btnSection12Man.Name = "btnSection12Man"; this.btnSection12Man.Size = new System.Drawing.Size(52, 30); this.btnSection12Man.TabIndex = 177; @@ -1541,10 +2948,10 @@ private void InitializeComponent() | System.Windows.Forms.AnchorStyles.Right))); this.oglMain.BackColor = System.Drawing.Color.Black; this.oglMain.ContextMenuStrip = this.contextMenuStripOpenGL; - this.oglMain.Location = new System.Drawing.Point(259, 48); + this.oglMain.Location = new System.Drawing.Point(338, 41); this.oglMain.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1); this.oglMain.Name = "oglMain"; - this.oglMain.Size = new System.Drawing.Size(899, 642); + this.oglMain.Size = new System.Drawing.Size(643, 601); this.oglMain.TabIndex = 180; this.oglMain.VSync = false; this.oglMain.Load += new System.EventHandler(this.oglMain_Load); @@ -1554,9 +2961,9 @@ private void InitializeComponent() // // oglBack // - this.oglBack.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.oglBack.BackColor = System.Drawing.SystemColors.GradientActiveCaption; - this.oglBack.Location = new System.Drawing.Point(232, 698); + this.oglBack.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.oglBack.BackColor = System.Drawing.Color.Black; + this.oglBack.Location = new System.Drawing.Point(339, 111); this.oglBack.Margin = new System.Windows.Forms.Padding(2, 1, 2, 1); this.oglBack.Name = "oglBack"; this.oglBack.Size = new System.Drawing.Size(500, 500); @@ -1572,1223 +2979,387 @@ private void InitializeComponent() this.lblHz.BackColor = System.Drawing.Color.Transparent; this.lblHz.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblHz.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblHz.Location = new System.Drawing.Point(208, 2); + this.lblHz.Location = new System.Drawing.Point(228, 0); this.lblHz.Name = "lblHz"; this.lblHz.Size = new System.Drawing.Size(70, 38); this.lblHz.TabIndex = 249; this.lblHz.Text = "5 Hz 32\r\nPPS"; // - // label15 - // - this.label15.AutoSize = true; - this.label15.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); - this.label15.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.label15.Location = new System.Drawing.Point(8, 219); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(14, 13); - this.label15.TabIndex = 309; - this.label15.Text = "S"; + // btnCycleLines // - // label20 + this.btnCycleLines.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnCycleLines.BackColor = System.Drawing.Color.Lavender; + this.btnCycleLines.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.btnCycleLines.Enabled = false; + this.btnCycleLines.FlatAppearance.BorderColor = System.Drawing.Color.RoyalBlue; + this.btnCycleLines.FlatAppearance.BorderSize = 3; + this.btnCycleLines.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnCycleLines.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.btnCycleLines.Image = global::AgOpenGPS.Properties.Resources.ABLineCycle; + this.btnCycleLines.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnCycleLines.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnCycleLines.Location = new System.Drawing.Point(895, 201); + this.btnCycleLines.Name = "btnCycleLines"; + this.btnCycleLines.Size = new System.Drawing.Size(80, 80); + this.btnCycleLines.TabIndex = 251; + this.btnCycleLines.Text = "-"; + this.btnCycleLines.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnCycleLines.UseVisualStyleBackColor = false; + this.btnCycleLines.Click += new System.EventHandler(this.btnCycleLines_Click); // - this.label20.AutoSize = true; - this.label20.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); - this.label20.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.label20.Location = new System.Drawing.Point(7, 202); - this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(15, 13); - this.label20.TabIndex = 310; - this.label20.Text = "U"; + // btnMakeLinesFromBoundary // - // lblpAltitude + this.btnMakeLinesFromBoundary.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnMakeLinesFromBoundary.BackColor = System.Drawing.Color.Lavender; + this.btnMakeLinesFromBoundary.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.btnMakeLinesFromBoundary.Enabled = false; + this.btnMakeLinesFromBoundary.FlatAppearance.BorderColor = System.Drawing.Color.RoyalBlue; + this.btnMakeLinesFromBoundary.FlatAppearance.BorderSize = 3; + this.btnMakeLinesFromBoundary.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnMakeLinesFromBoundary.Font = new System.Drawing.Font("Tahoma", 12F); + this.btnMakeLinesFromBoundary.Image = global::AgOpenGPS.Properties.Resources.PointStart; + this.btnMakeLinesFromBoundary.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnMakeLinesFromBoundary.Location = new System.Drawing.Point(895, 94); + this.btnMakeLinesFromBoundary.Name = "btnMakeLinesFromBoundary"; + this.btnMakeLinesFromBoundary.Size = new System.Drawing.Size(80, 80); + this.btnMakeLinesFromBoundary.TabIndex = 250; + this.btnMakeLinesFromBoundary.TextAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnMakeLinesFromBoundary.UseVisualStyleBackColor = false; + this.btnMakeLinesFromBoundary.Click += new System.EventHandler(this.BtnMakeLinesFromBoundary_Click); // - this.lblpAltitude.AutoSize = true; - this.lblpAltitude.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblpAltitude.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblpAltitude.Location = new System.Drawing.Point(8, 302); - this.lblpAltitude.Name = "lblpAltitude"; - this.lblpAltitude.Size = new System.Drawing.Size(51, 18); - this.lblpAltitude.TabIndex = 232; - this.lblpAltitude.Text = "356m"; + // btnZoomIn // - // label33 + this.btnZoomIn.BackColor = System.Drawing.Color.Lavender; + this.btnZoomIn.BackgroundImage = global::AgOpenGPS.Properties.Resources.ZoomOut48; + this.btnZoomIn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.btnZoomIn.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnZoomIn.FlatAppearance.BorderSize = 2; + this.btnZoomIn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnZoomIn.Font = new System.Drawing.Font("Tahoma", 12F); + this.btnZoomIn.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnZoomIn.Location = new System.Drawing.Point(339, 257); + this.btnZoomIn.Name = "btnZoomIn"; + this.btnZoomIn.Size = new System.Drawing.Size(64, 64); + this.btnZoomIn.TabIndex = 120; + this.btnZoomIn.UseVisualStyleBackColor = false; + this.btnZoomIn.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnZoomIn_MouseDown); // - this.label33.AutoSize = true; - this.label33.Font = new System.Drawing.Font("Tahoma", 12F); - this.label33.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.label33.Location = new System.Drawing.Point(10, 333); - this.label33.Name = "label33"; - this.label33.Size = new System.Drawing.Size(42, 19); - this.label33.TabIndex = 251; - this.label33.Text = "Roll:"; + // btnZoomOut // - // lblRoll - // - this.lblRoll.AutoSize = true; - this.lblRoll.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); - this.lblRoll.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblRoll.Location = new System.Drawing.Point(46, 333); - this.lblRoll.Name = "lblRoll"; - this.lblRoll.Size = new System.Drawing.Size(34, 19); - this.lblRoll.TabIndex = 252; - this.lblRoll.Text = "1.2"; - // - // label39 - // - this.label39.AutoSize = true; - this.label39.Font = new System.Drawing.Font("Tahoma", 12F); - this.label39.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.label39.Location = new System.Drawing.Point(7, 375); - this.label39.Name = "label39"; - this.label39.Size = new System.Drawing.Size(44, 19); - this.label39.TabIndex = 253; - this.label39.Text = "GPS:"; - // - // label35 - // - this.label35.AutoSize = true; - this.label35.Font = new System.Drawing.Font("Tahoma", 12F); - this.label35.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.label35.Location = new System.Drawing.Point(6, 354); - this.label35.Name = "label35"; - this.label35.Size = new System.Drawing.Size(44, 19); - this.label35.TabIndex = 254; - this.label35.Text = "IMU:"; - // - // lblYawHeading - // - this.lblYawHeading.AutoSize = true; - this.lblYawHeading.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); - this.lblYawHeading.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblYawHeading.Location = new System.Drawing.Point(46, 354); - this.lblYawHeading.Name = "lblYawHeading"; - this.lblYawHeading.Size = new System.Drawing.Size(54, 19); - this.lblYawHeading.TabIndex = 255; - this.lblYawHeading.Text = "388.8"; - // - // lblGPSHeading - // - this.lblGPSHeading.AutoSize = true; - this.lblGPSHeading.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); - this.lblGPSHeading.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblGPSHeading.Location = new System.Drawing.Point(46, 375); - this.lblGPSHeading.Name = "lblGPSHeading"; - this.lblGPSHeading.Size = new System.Drawing.Size(54, 19); - this.lblGPSHeading.TabIndex = 256; - this.lblGPSHeading.Text = "388.8"; - // - // pbarSteerSmall - // - this.pbarSteerSmall.BackColor = System.Drawing.Color.Maroon; - this.pbarSteerSmall.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.pbarSteerSmall.Location = new System.Drawing.Point(25, 221); - this.pbarSteerSmall.Name = "pbarSteerSmall"; - this.pbarSteerSmall.Size = new System.Drawing.Size(50, 10); - this.pbarSteerSmall.TabIndex = 307; - // - // pbarUDPSmall - // - this.pbarUDPSmall.BackColor = System.Drawing.Color.Maroon; - this.pbarUDPSmall.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.pbarUDPSmall.Location = new System.Drawing.Point(25, 205); - this.pbarUDPSmall.Name = "pbarUDPSmall"; - this.pbarUDPSmall.Size = new System.Drawing.Size(50, 10); - this.pbarUDPSmall.TabIndex = 308; - // - // label3 - // - this.label3.AutoSize = true; - this.label3.BackColor = System.Drawing.Color.Transparent; - this.label3.Font = new System.Drawing.Font("Tahoma", 12F); - this.label3.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; - this.label3.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.label3.Location = new System.Drawing.Point(5, 406); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(60, 19); - this.label3.TabIndex = 312; - this.label3.Text = "UTurn:"; - // - // label24 - // - this.label24.AutoSize = true; - this.label24.Font = new System.Drawing.Font("Tahoma", 12F); - this.label24.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.label24.Location = new System.Drawing.Point(87, 213); - this.label24.Name = "label24"; - this.label24.Size = new System.Drawing.Size(44, 19); - this.label24.TabIndex = 216; - this.label24.Text = "Sats:"; - // - // lblSats - // - this.lblSats.AutoSize = true; - this.lblSats.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); - this.lblSats.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblSats.Location = new System.Drawing.Point(124, 213); - this.lblSats.Name = "lblSats"; - this.lblSats.Size = new System.Drawing.Size(19, 19); - this.lblSats.TabIndex = 183; - this.lblSats.Text = "S"; - // - // panelBatman - // - this.panelBatman.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left))); - this.panelBatman.BackColor = System.Drawing.Color.Transparent; - this.panelBatman.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panelBatman.Controls.Add(this.oglZoom); - this.panelBatman.Controls.Add(this.label13); - this.panelBatman.Controls.Add(this.label20); - this.panelBatman.Controls.Add(this.label15); - this.panelBatman.Controls.Add(this.lblUturnByte); - this.panelBatman.Controls.Add(this.pbarUDPSmall); - this.panelBatman.Controls.Add(this.label3); - this.panelBatman.Controls.Add(this.lblLongitude); - this.panelBatman.Controls.Add(this.pbarSteerSmall); - this.panelBatman.Controls.Add(this.lblLatitude); - this.panelBatman.Controls.Add(this.lblZone); - this.panelBatman.Controls.Add(this.lblGPSHeading); - this.panelBatman.Controls.Add(this.lblNorthing); - this.panelBatman.Controls.Add(this.lblConvergenceAngle); - this.panelBatman.Controls.Add(this.lblEasting); - this.panelBatman.Controls.Add(this.lblYawHeading); - this.panelBatman.Controls.Add(this.label35); - this.panelBatman.Controls.Add(this.label39); - this.panelBatman.Controls.Add(this.label25); - this.panelBatman.Controls.Add(this.lblRoll); - this.panelBatman.Controls.Add(this.label19); - this.panelBatman.Controls.Add(this.label33); - this.panelBatman.Controls.Add(this.label18); - this.panelBatman.Controls.Add(this.lblHeading2); - this.panelBatman.Controls.Add(this.lblSats); - this.panelBatman.Controls.Add(this.label24); - this.panelBatman.Controls.Add(this.lblpAltitude); - this.panelBatman.Controls.Add(this.pbarRelayCommSmall); - this.panelBatman.Location = new System.Drawing.Point(76, 48); - this.panelBatman.Name = "panelBatman"; - this.panelBatman.Size = new System.Drawing.Size(180, 642); - this.panelBatman.TabIndex = 303; - this.panelBatman.Paint += new System.Windows.Forms.PaintEventHandler(this.panelBatman_Paint); - // - // oglZoom - // - this.oglZoom.BackColor = System.Drawing.Color.Black; - this.oglZoom.Location = new System.Drawing.Point(0, 0); - this.oglZoom.Margin = new System.Windows.Forms.Padding(0); - this.oglZoom.Name = "oglZoom"; - this.oglZoom.Size = new System.Drawing.Size(178, 178); - this.oglZoom.TabIndex = 182; - this.oglZoom.VSync = false; - this.oglZoom.Load += new System.EventHandler(this.oglZoom_Load); - this.oglZoom.Paint += new System.Windows.Forms.PaintEventHandler(this.oglZoom_Paint); - this.oglZoom.Resize += new System.EventHandler(this.oglZoom_Resize); - // - // lblLongitude - // - this.lblLongitude.AutoSize = true; - this.lblLongitude.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblLongitude.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblLongitude.Location = new System.Drawing.Point(44, 259); - this.lblLongitude.Name = "lblLongitude"; - this.lblLongitude.Size = new System.Drawing.Size(119, 18); - this.lblLongitude.TabIndex = 233; - this.lblLongitude.Text = "-111.2534749"; - // - // lblLatitude - // - this.lblLatitude.AutoSize = true; - this.lblLatitude.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblLatitude.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblLatitude.Location = new System.Drawing.Point(44, 239); - this.lblLatitude.Name = "lblLatitude"; - this.lblLatitude.Size = new System.Drawing.Size(103, 18); - this.lblLatitude.TabIndex = 232; - this.lblLatitude.Text = "53.2344549"; - // - // lblZone - // - this.lblZone.AutoSize = true; - this.lblZone.BackColor = System.Drawing.Color.Transparent; - this.lblZone.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); - this.lblZone.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblZone.Location = new System.Drawing.Point(129, 190); - this.lblZone.Name = "lblZone"; - this.lblZone.Size = new System.Drawing.Size(29, 19); - this.lblZone.TabIndex = 231; - this.lblZone.Text = "Zn"; - this.lblZone.TextAlign = System.Drawing.ContentAlignment.TopRight; - // - // lblConvergenceAngle - // - this.lblConvergenceAngle.AutoSize = true; - this.lblConvergenceAngle.BackColor = System.Drawing.Color.Transparent; - this.lblConvergenceAngle.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblConvergenceAngle.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblConvergenceAngle.Location = new System.Drawing.Point(7, 283); - this.lblConvergenceAngle.Name = "lblConvergenceAngle"; - this.lblConvergenceAngle.Size = new System.Drawing.Size(28, 18); - this.lblConvergenceAngle.TabIndex = 237; - this.lblConvergenceAngle.Text = "CA"; - this.lblConvergenceAngle.TextAlign = System.Drawing.ContentAlignment.TopRight; - // - // label25 - // - this.label25.AutoSize = true; - this.label25.Font = new System.Drawing.Font("Tahoma", 12F); - this.label25.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.label25.Location = new System.Drawing.Point(87, 189); - this.label25.Name = "label25"; - this.label25.Size = new System.Drawing.Size(50, 19); - this.label25.TabIndex = 236; - this.label25.Text = "Zone:"; - // - // label19 - // - this.label19.AutoSize = true; - this.label19.Font = new System.Drawing.Font("Tahoma", 12F); - this.label19.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.label19.Location = new System.Drawing.Point(9, 237); - this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(36, 19); - this.label19.TabIndex = 235; - this.label19.Text = "Lat:"; - // - // label18 + this.btnZoomOut.BackColor = System.Drawing.Color.Lavender; + this.btnZoomOut.BackgroundImage = global::AgOpenGPS.Properties.Resources.ZoomIn48; + this.btnZoomOut.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.btnZoomOut.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnZoomOut.FlatAppearance.BorderSize = 2; + this.btnZoomOut.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnZoomOut.Font = new System.Drawing.Font("Tahoma", 12F); + this.btnZoomOut.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnZoomOut.Location = new System.Drawing.Point(339, 184); + this.btnZoomOut.Name = "btnZoomOut"; + this.btnZoomOut.Size = new System.Drawing.Size(64, 64); + this.btnZoomOut.TabIndex = 119; + this.btnZoomOut.UseVisualStyleBackColor = false; + this.btnZoomOut.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnZoomOut_MouseDown); // - this.label18.AutoSize = true; - this.label18.Font = new System.Drawing.Font("Tahoma", 12F); - this.label18.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.label18.Location = new System.Drawing.Point(4, 257); - this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(41, 19); - this.label18.TabIndex = 234; - this.label18.Text = "Lon:"; + // btnSwapDirection // - // statusStripLeft - // - this.statusStripLeft.AllowMerge = false; - this.statusStripLeft.AutoSize = false; - this.statusStripLeft.BackColor = System.Drawing.Color.Transparent; - this.statusStripLeft.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.statusStripLeft.Dock = System.Windows.Forms.DockStyle.Left; - this.statusStripLeft.Font = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.statusStripLeft.ImageScalingSize = new System.Drawing.Size(56, 56); - this.statusStripLeft.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripMenuRecPath, - this.AutoManualtoolStripSplitButton1, - this.toolStripBtnPower, - this.flagsGEToolStrip, - this.cameraDropDown, - this.youTurnToolStrip, - this.autoSteerToolStrip, - this.vehicleSettingsToolStrip}); - this.statusStripLeft.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow; - this.statusStripLeft.Location = new System.Drawing.Point(0, 48); - this.statusStripLeft.Name = "statusStripLeft"; - this.statusStripLeft.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional; - this.statusStripLeft.Size = new System.Drawing.Size(74, 643); - this.statusStripLeft.SizingGrip = false; - this.statusStripLeft.Stretch = false; - this.statusStripLeft.TabIndex = 312; - this.statusStripLeft.Text = "statusStrip2"; - // - // toolStripMenuRecPath - // - this.toolStripMenuRecPath.AutoSize = false; - this.toolStripMenuRecPath.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.toolStripMenuRecPath.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.goStopRecPathToolStripMenuItem, - this.pauseResumeRecPathToolStripMenuItem, - this.recordRecPathToolStripMenuItem, - this.deletePathRecPathToolStripMenuItem}); - this.toolStripMenuRecPath.Font = new System.Drawing.Font("Tahoma", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.toolStripMenuRecPath.Image = global::AgOpenGPS.Properties.Resources.RecPath; - this.toolStripMenuRecPath.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripMenuRecPath.Name = "toolStripMenuRecPath"; - this.toolStripMenuRecPath.Size = new System.Drawing.Size(64, 64); - this.toolStripMenuRecPath.Text = "toolStripDropDownButton3"; - // - // goStopRecPathToolStripMenuItem - // - this.goStopRecPathToolStripMenuItem.Name = "goStopRecPathToolStripMenuItem"; - this.goStopRecPathToolStripMenuItem.Size = new System.Drawing.Size(329, 40); - this.goStopRecPathToolStripMenuItem.Text = "Go / Stop"; - this.goStopRecPathToolStripMenuItem.Click += new System.EventHandler(this.goStopRecPathToolStripMenuItem_Click); - // - // pauseResumeRecPathToolStripMenuItem - // - this.pauseResumeRecPathToolStripMenuItem.Name = "pauseResumeRecPathToolStripMenuItem"; - this.pauseResumeRecPathToolStripMenuItem.Size = new System.Drawing.Size(329, 40); - this.pauseResumeRecPathToolStripMenuItem.Text = "Pause / Resume"; - this.pauseResumeRecPathToolStripMenuItem.Click += new System.EventHandler(this.pauseResumeRecPathToolStripMenuItem_Click); - // - // recordRecPathToolStripMenuItem - // - this.recordRecPathToolStripMenuItem.Name = "recordRecPathToolStripMenuItem"; - this.recordRecPathToolStripMenuItem.Size = new System.Drawing.Size(329, 40); - this.recordRecPathToolStripMenuItem.Text = "Record"; - this.recordRecPathToolStripMenuItem.Click += new System.EventHandler(this.recordRecPathToolStripMenuItem_Click); - // - // deletePathRecPathToolStripMenuItem - // - this.deletePathRecPathToolStripMenuItem.Name = "deletePathRecPathToolStripMenuItem"; - this.deletePathRecPathToolStripMenuItem.Size = new System.Drawing.Size(329, 40); - this.deletePathRecPathToolStripMenuItem.Text = "Delete Path"; - this.deletePathRecPathToolStripMenuItem.Click += new System.EventHandler(this.deletePathRecPathToolStripMenuItem_Click); - // - // AutoManualtoolStripSplitButton1 - // - this.AutoManualtoolStripSplitButton1.AutoSize = false; - this.AutoManualtoolStripSplitButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.AutoManualtoolStripSplitButton1.DropDownButtonWidth = 0; - this.AutoManualtoolStripSplitButton1.Image = global::AgOpenGPS.Properties.Resources.AutoManualIsAuto; - this.AutoManualtoolStripSplitButton1.ImageTransparentColor = System.Drawing.Color.Magenta; - this.AutoManualtoolStripSplitButton1.Name = "AutoManualtoolStripSplitButton1"; - this.AutoManualtoolStripSplitButton1.Size = new System.Drawing.Size(64, 64); - this.AutoManualtoolStripSplitButton1.Text = "toolStripSplitButton1"; - this.AutoManualtoolStripSplitButton1.ButtonClick += new System.EventHandler(this.AutoManualtoolStripSplitButton1_ButtonClick); - // - // toolStripBtnPower - // - this.toolStripBtnPower.AutoSize = false; - this.toolStripBtnPower.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.toolStripBtnPower.DropDownButtonWidth = 0; - this.toolStripBtnPower.Image = global::AgOpenGPS.Properties.Resources.SwitchOff; - this.toolStripBtnPower.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripBtnPower.Name = "toolStripBtnPower"; - this.toolStripBtnPower.Size = new System.Drawing.Size(64, 75); - this.toolStripBtnPower.ButtonClick += new System.EventHandler(this.toolStripBtnPower_ButtonClick); - // - // flagsGEToolStrip - // - this.flagsGEToolStrip.AutoSize = false; - this.flagsGEToolStrip.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; - this.flagsGEToolStrip.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.flagsGEToolStrip.DropDownButtonWidth = 0; - this.flagsGEToolStrip.Image = global::AgOpenGPS.Properties.Resources.GoogleEarth; - this.flagsGEToolStrip.ImageTransparentColor = System.Drawing.Color.Magenta; - this.flagsGEToolStrip.Name = "flagsGEToolStrip"; - this.flagsGEToolStrip.Size = new System.Drawing.Size(72, 70); - this.flagsGEToolStrip.ButtonClick += new System.EventHandler(this.flagsGEToolStrip_ButtonClick); - // - // cameraDropDown - // - this.cameraDropDown.AutoSize = false; - this.cameraDropDown.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.cameraDropDown.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.twoDToolStripMenuItem, - this.threeDToolStripMenuItem, - this.northToolStripMenuItem}); - this.cameraDropDown.Image = global::AgOpenGPS.Properties.Resources.Camera54; - this.cameraDropDown.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.cameraDropDown.ImageTransparentColor = System.Drawing.Color.Magenta; - this.cameraDropDown.MergeAction = System.Windows.Forms.MergeAction.Insert; - this.cameraDropDown.Name = "cameraDropDown"; - this.cameraDropDown.ShowDropDownArrow = false; - this.cameraDropDown.Size = new System.Drawing.Size(72, 72); - this.cameraDropDown.Text = "toolStripDropDownButton3"; - // - // twoDToolStripMenuItem - // - this.twoDToolStripMenuItem.Image = global::AgOpenGPS.Properties.Resources.Camera2D64; - this.twoDToolStripMenuItem.Name = "twoDToolStripMenuItem"; - this.twoDToolStripMenuItem.Size = new System.Drawing.Size(195, 62); - this.twoDToolStripMenuItem.Text = "2D"; - this.twoDToolStripMenuItem.Click += new System.EventHandler(this.twoDToolStripMenuItem_Click); - // - // threeDToolStripMenuItem - // - this.threeDToolStripMenuItem.Image = global::AgOpenGPS.Properties.Resources.Camera3D64; - this.threeDToolStripMenuItem.Name = "threeDToolStripMenuItem"; - this.threeDToolStripMenuItem.Size = new System.Drawing.Size(195, 62); - this.threeDToolStripMenuItem.Text = "3D"; - this.threeDToolStripMenuItem.Click += new System.EventHandler(this.threeDToolStripMenuItem_Click); - // - // northToolStripMenuItem - // - this.northToolStripMenuItem.Image = global::AgOpenGPS.Properties.Resources.CameraNorth64; - this.northToolStripMenuItem.Name = "northToolStripMenuItem"; - this.northToolStripMenuItem.Size = new System.Drawing.Size(195, 62); - this.northToolStripMenuItem.Text = "North"; - this.northToolStripMenuItem.Click += new System.EventHandler(this.northToolStripMenuItem_Click); - // - // youTurnToolStrip - // - this.youTurnToolStrip.AutoSize = false; - this.youTurnToolStrip.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; - this.youTurnToolStrip.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.youTurnToolStrip.DropDownButtonWidth = 0; - this.youTurnToolStrip.Image = global::AgOpenGPS.Properties.Resources.Youturn64; - this.youTurnToolStrip.ImageTransparentColor = System.Drawing.Color.Magenta; - this.youTurnToolStrip.Name = "youTurnToolStrip"; - this.youTurnToolStrip.Size = new System.Drawing.Size(72, 72); - this.youTurnToolStrip.ButtonClick += new System.EventHandler(this.youTurnToolStrip_ButtonClick); - // - // autoSteerToolStrip - // - this.autoSteerToolStrip.AutoSize = false; - this.autoSteerToolStrip.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; - this.autoSteerToolStrip.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.autoSteerToolStrip.DropDownButtonWidth = 0; - this.autoSteerToolStrip.Image = global::AgOpenGPS.Properties.Resources.AutoSteerConf; - this.autoSteerToolStrip.ImageTransparentColor = System.Drawing.Color.Magenta; - this.autoSteerToolStrip.Name = "autoSteerToolStrip"; - this.autoSteerToolStrip.Size = new System.Drawing.Size(72, 72); - this.autoSteerToolStrip.ButtonClick += new System.EventHandler(this.autoSteerToolStrip_ButtonClick); - // - // vehicleSettingsToolStrip - // - this.vehicleSettingsToolStrip.AutoSize = false; - this.vehicleSettingsToolStrip.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; - this.vehicleSettingsToolStrip.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.vehicleSettingsToolStrip.DropDownButtonWidth = 0; - this.vehicleSettingsToolStrip.Image = global::AgOpenGPS.Properties.Resources.Settings64; - this.vehicleSettingsToolStrip.ImageTransparentColor = System.Drawing.Color.Magenta; - this.vehicleSettingsToolStrip.Name = "vehicleSettingsToolStrip"; - this.vehicleSettingsToolStrip.Size = new System.Drawing.Size(72, 72); - this.vehicleSettingsToolStrip.ButtonClick += new System.EventHandler(this.vehicleSettingsToolStrip_ButtonClick); - // - // cboxTramBasedOn - // - this.cboxTramBasedOn.Anchor = System.Windows.Forms.AnchorStyles.None; - this.cboxTramBasedOn.BackColor = System.Drawing.Color.Lavender; - this.cboxTramBasedOn.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cboxTramBasedOn.FlatStyle = System.Windows.Forms.FlatStyle.System; - this.cboxTramBasedOn.Font = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cboxTramBasedOn.ForeColor = System.Drawing.SystemColors.WindowText; - this.cboxTramBasedOn.FormattingEnabled = true; - this.cboxTramBasedOn.Items.AddRange(new object[] { - "-5", - "-4", - "-3", - "-2", - "-1", - "0", - "1", - "2", - "3", - "4", - "5"}); - this.cboxTramBasedOn.Location = new System.Drawing.Point(16, 24); - this.cboxTramBasedOn.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); - this.cboxTramBasedOn.Name = "cboxTramBasedOn"; - this.cboxTramBasedOn.Size = new System.Drawing.Size(57, 37); - this.cboxTramBasedOn.TabIndex = 315; - this.cboxTramBasedOn.SelectedIndexChanged += new System.EventHandler(this.cboxTramBasedOn_SelectedIndexChanged); - // - // cboxTramPassEvery - // - this.cboxTramPassEvery.Anchor = System.Windows.Forms.AnchorStyles.None; - this.cboxTramPassEvery.BackColor = System.Drawing.Color.Lavender; - this.cboxTramPassEvery.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cboxTramPassEvery.FlatStyle = System.Windows.Forms.FlatStyle.System; - this.cboxTramPassEvery.Font = new System.Drawing.Font("Tahoma", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.cboxTramPassEvery.ForeColor = System.Drawing.SystemColors.WindowText; - this.cboxTramPassEvery.FormattingEnabled = true; - this.cboxTramPassEvery.Items.AddRange(new object[] { - "0", - "1", - "2", - "3", - "4", - "5", - "6", - "7", - "8", - "9", - "10"}); - this.cboxTramPassEvery.Location = new System.Drawing.Point(106, 24); - this.cboxTramPassEvery.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); - this.cboxTramPassEvery.Name = "cboxTramPassEvery"; - this.cboxTramPassEvery.Size = new System.Drawing.Size(57, 37); - this.cboxTramPassEvery.TabIndex = 316; - this.cboxTramPassEvery.SelectedIndexChanged += new System.EventHandler(this.cboxTramPassEvery_SelectedIndexChanged); + this.btnSwapDirection.BackColor = System.Drawing.Color.Indigo; + this.btnSwapDirection.ContextMenuStrip = this.contextMenuStripFlag; + this.btnSwapDirection.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnSwapDirection.FlatAppearance.BorderSize = 2; + this.btnSwapDirection.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnSwapDirection.Font = new System.Drawing.Font("Tahoma", 14.25F); + this.btnSwapDirection.Image = global::AgOpenGPS.Properties.Resources.YouTurnReverse; + this.btnSwapDirection.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnSwapDirection.Location = new System.Drawing.Point(565, 111); + this.btnSwapDirection.Margin = new System.Windows.Forms.Padding(0); + this.btnSwapDirection.Name = "btnSwapDirection"; + this.btnSwapDirection.Size = new System.Drawing.Size(79, 53); + this.btnSwapDirection.TabIndex = 179; + this.btnSwapDirection.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnSwapDirection.UseVisualStyleBackColor = false; + this.btnSwapDirection.Visible = false; + this.btnSwapDirection.Click += new System.EventHandler(this.btnSwapDirection_Click_1); // - // layoutPanelRight + // btnContourPriority // - this.layoutPanelRight.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Right))); - this.layoutPanelRight.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single; - this.layoutPanelRight.ColumnCount = 2; - this.layoutPanelRight.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.layoutPanelRight.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.layoutPanelRight.Controls.Add(this.btnMakeLinesFromBoundary, 0, 2); - this.layoutPanelRight.Controls.Add(this.cboxTramBasedOn, 0, 0); - this.layoutPanelRight.Controls.Add(this.btnSectionOffAutoOn, 1, 6); - this.layoutPanelRight.Controls.Add(this.btnEnableAutoYouTurn, 0, 4); - this.layoutPanelRight.Controls.Add(this.btnFlag, 0, 6); - this.layoutPanelRight.Controls.Add(this.btnAutoSteer, 1, 4); - this.layoutPanelRight.Controls.Add(this.btnABLine, 1, 3); - this.layoutPanelRight.Controls.Add(this.btnContour, 1, 2); - this.layoutPanelRight.Controls.Add(this.btnCurve, 1, 1); - this.layoutPanelRight.Controls.Add(this.cboxTramPassEvery, 1, 0); - this.layoutPanelRight.Controls.Add(this.btnSaveAB, 0, 1); - this.layoutPanelRight.Controls.Add(this.btnManualOffOn, 1, 5); - this.layoutPanelRight.Controls.Add(this.cboxpRowWidth, 0, 5); - this.layoutPanelRight.Controls.Add(this.btnCycleLines, 0, 3); - this.layoutPanelRight.Location = new System.Drawing.Point(1159, 48); - this.layoutPanelRight.Name = "layoutPanelRight"; - this.layoutPanelRight.RowCount = 7; - this.layoutPanelRight.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 13.33226F)); - this.layoutPanelRight.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 13.33226F)); - this.layoutPanelRight.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 13.33226F)); - this.layoutPanelRight.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.9264F)); - this.layoutPanelRight.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.9264F)); - this.layoutPanelRight.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.9264F)); - this.layoutPanelRight.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 15.22403F)); - this.layoutPanelRight.Size = new System.Drawing.Size(180, 642); - this.layoutPanelRight.TabIndex = 319; + this.btnContourPriority.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnContourPriority.BackColor = System.Drawing.Color.Lavender; + this.btnContourPriority.Enabled = false; + this.btnContourPriority.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnContourPriority.FlatAppearance.BorderSize = 2; + this.btnContourPriority.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnContourPriority.Font = new System.Drawing.Font("Tahoma", 14.25F); + this.btnContourPriority.Image = global::AgOpenGPS.Properties.Resources.Snap2; + this.btnContourPriority.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnContourPriority.Location = new System.Drawing.Point(983, 43); + this.btnContourPriority.Name = "btnContourPriority"; + this.btnContourPriority.Size = new System.Drawing.Size(80, 80); + this.btnContourPriority.TabIndex = 178; + this.btnContourPriority.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnContourPriority.UseVisualStyleBackColor = false; + this.btnContourPriority.Click += new System.EventHandler(this.btnContourPriority_Click); // - // btnMakeLinesFromBoundary + // btnCurve // - this.btnMakeLinesFromBoundary.Anchor = System.Windows.Forms.AnchorStyles.None; - this.btnMakeLinesFromBoundary.BackColor = System.Drawing.Color.Transparent; - this.btnMakeLinesFromBoundary.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; - this.btnMakeLinesFromBoundary.Enabled = false; - this.btnMakeLinesFromBoundary.FlatAppearance.BorderColor = System.Drawing.Color.RoyalBlue; - this.btnMakeLinesFromBoundary.FlatAppearance.BorderSize = 0; - this.btnMakeLinesFromBoundary.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnMakeLinesFromBoundary.Font = new System.Drawing.Font("Tahoma", 12F); - this.btnMakeLinesFromBoundary.Image = global::AgOpenGPS.Properties.Resources.PointStart; - this.btnMakeLinesFromBoundary.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnMakeLinesFromBoundary.Location = new System.Drawing.Point(4, 178); - this.btnMakeLinesFromBoundary.Name = "btnMakeLinesFromBoundary"; - this.btnMakeLinesFromBoundary.Size = new System.Drawing.Size(82, 70); - this.btnMakeLinesFromBoundary.TabIndex = 250; - this.btnMakeLinesFromBoundary.TextAlign = System.Drawing.ContentAlignment.TopCenter; - this.btnMakeLinesFromBoundary.UseVisualStyleBackColor = false; - this.btnMakeLinesFromBoundary.Click += new System.EventHandler(this.BtnMakeLinesFromBoundary_Click); + this.btnCurve.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnCurve.BackColor = System.Drawing.Color.Lavender; + this.btnCurve.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.btnCurve.Enabled = false; + this.btnCurve.FlatAppearance.BorderColor = System.Drawing.Color.RoyalBlue; + this.btnCurve.FlatAppearance.BorderSize = 3; + this.btnCurve.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnCurve.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnCurve.Image = global::AgOpenGPS.Properties.Resources.CurveOff; + this.btnCurve.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnCurve.Location = new System.Drawing.Point(983, 141); + this.btnCurve.Name = "btnCurve"; + this.btnCurve.Size = new System.Drawing.Size(80, 80); + this.btnCurve.TabIndex = 173; + this.btnCurve.TextAlign = System.Drawing.ContentAlignment.BottomLeft; + this.btnCurve.UseVisualStyleBackColor = false; + this.btnCurve.Click += new System.EventHandler(this.btnCurve_Click); // - // btnSectionOffAutoOn + // btnLeftYouTurn // - this.btnSectionOffAutoOn.Anchor = System.Windows.Forms.AnchorStyles.None; - this.btnSectionOffAutoOn.BackColor = System.Drawing.Color.Transparent; - this.btnSectionOffAutoOn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; - this.btnSectionOffAutoOn.Enabled = false; - this.btnSectionOffAutoOn.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; - this.btnSectionOffAutoOn.FlatAppearance.BorderSize = 0; - this.btnSectionOffAutoOn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnSectionOffAutoOn.Font = new System.Drawing.Font("Tahoma", 15.75F); - this.btnSectionOffAutoOn.Image = global::AgOpenGPS.Properties.Resources.SectionMasterOff; - this.btnSectionOffAutoOn.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.btnSectionOffAutoOn.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSectionOffAutoOn.Location = new System.Drawing.Point(90, 546); - this.btnSectionOffAutoOn.Margin = new System.Windows.Forms.Padding(0); - this.btnSectionOffAutoOn.Name = "btnSectionOffAutoOn"; - this.btnSectionOffAutoOn.Size = new System.Drawing.Size(89, 89); - this.btnSectionOffAutoOn.TabIndex = 152; - this.btnSectionOffAutoOn.Text = "888.8"; - this.btnSectionOffAutoOn.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnSectionOffAutoOn.UseVisualStyleBackColor = false; - this.btnSectionOffAutoOn.Click += new System.EventHandler(this.btnSectionOffAutoOn_Click); + this.btnLeftYouTurn.BackColor = System.Drawing.Color.LightSteelBlue; + this.btnLeftYouTurn.ContextMenuStrip = this.contextMenuStripFlag; + this.btnLeftYouTurn.Enabled = false; + this.btnLeftYouTurn.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnLeftYouTurn.Image = global::AgOpenGPS.Properties.Resources.ArrowLeft; + this.btnLeftYouTurn.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnLeftYouTurn.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnLeftYouTurn.Location = new System.Drawing.Point(479, 138); + this.btnLeftYouTurn.Name = "btnLeftYouTurn"; + this.btnLeftYouTurn.Size = new System.Drawing.Size(80, 65); + this.btnLeftYouTurn.TabIndex = 143; + this.btnLeftYouTurn.Text = "8888 ft"; + this.btnLeftYouTurn.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnLeftYouTurn.UseVisualStyleBackColor = false; + this.btnLeftYouTurn.Click += new System.EventHandler(this.btnLeftYouTurn_Click); // // btnEnableAutoYouTurn // - this.btnEnableAutoYouTurn.Anchor = System.Windows.Forms.AnchorStyles.None; - this.btnEnableAutoYouTurn.BackColor = System.Drawing.Color.Transparent; + this.btnEnableAutoYouTurn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnEnableAutoYouTurn.BackColor = System.Drawing.Color.Lavender; this.btnEnableAutoYouTurn.Enabled = false; this.btnEnableAutoYouTurn.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; - this.btnEnableAutoYouTurn.FlatAppearance.BorderSize = 0; + this.btnEnableAutoYouTurn.FlatAppearance.BorderSize = 2; this.btnEnableAutoYouTurn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnEnableAutoYouTurn.Font = new System.Drawing.Font("Tahoma", 14.25F); this.btnEnableAutoYouTurn.Image = global::AgOpenGPS.Properties.Resources.YouTurnNo; this.btnEnableAutoYouTurn.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnEnableAutoYouTurn.Location = new System.Drawing.Point(4, 358); + this.btnEnableAutoYouTurn.Location = new System.Drawing.Point(895, 366); this.btnEnableAutoYouTurn.Name = "btnEnableAutoYouTurn"; - this.btnEnableAutoYouTurn.Size = new System.Drawing.Size(82, 79); + this.btnEnableAutoYouTurn.Size = new System.Drawing.Size(80, 80); this.btnEnableAutoYouTurn.TabIndex = 132; this.btnEnableAutoYouTurn.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.btnEnableAutoYouTurn.UseVisualStyleBackColor = false; this.btnEnableAutoYouTurn.Click += new System.EventHandler(this.btnEnableAutoYouTurn_Click); // - // btnFlag - // - this.btnFlag.Anchor = System.Windows.Forms.AnchorStyles.None; - this.btnFlag.BackColor = System.Drawing.Color.Transparent; - this.btnFlag.ContextMenuStrip = this.contextMenuStripFlag; - this.btnFlag.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; - this.btnFlag.FlatAppearance.BorderSize = 0; - this.btnFlag.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnFlag.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnFlag.Image = global::AgOpenGPS.Properties.Resources.FlagRed; - this.btnFlag.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.btnFlag.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnFlag.Location = new System.Drawing.Point(4, 548); - this.btnFlag.Name = "btnFlag"; - this.btnFlag.Size = new System.Drawing.Size(82, 86); - this.btnFlag.TabIndex = 121; - this.btnFlag.Text = "288.2"; - this.btnFlag.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnFlag.UseVisualStyleBackColor = false; - this.btnFlag.Click += new System.EventHandler(this.btnFlag_Click); - // - // btnAutoSteer - // - this.btnAutoSteer.Anchor = System.Windows.Forms.AnchorStyles.None; - this.btnAutoSteer.BackColor = System.Drawing.Color.Transparent; - this.btnAutoSteer.Enabled = false; - this.btnAutoSteer.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; - this.btnAutoSteer.FlatAppearance.BorderSize = 0; - this.btnAutoSteer.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnAutoSteer.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnAutoSteer.Image = global::AgOpenGPS.Properties.Resources.AutoSteerOff; - this.btnAutoSteer.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnAutoSteer.Location = new System.Drawing.Point(90, 355); - this.btnAutoSteer.Margin = new System.Windows.Forms.Padding(0); - this.btnAutoSteer.Name = "btnAutoSteer"; - this.btnAutoSteer.Size = new System.Drawing.Size(89, 85); - this.btnAutoSteer.TabIndex = 128; - this.btnAutoSteer.Text = "M"; - this.btnAutoSteer.TextAlign = System.Drawing.ContentAlignment.BottomRight; - this.btnAutoSteer.UseVisualStyleBackColor = false; - this.btnAutoSteer.Click += new System.EventHandler(this.btnAutoSteer_Click); - // - // btnABLine - // - this.btnABLine.Anchor = System.Windows.Forms.AnchorStyles.None; - this.btnABLine.BackColor = System.Drawing.Color.Transparent; - this.btnABLine.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; - this.btnABLine.Enabled = false; - this.btnABLine.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; - this.btnABLine.FlatAppearance.BorderSize = 0; - this.btnABLine.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnABLine.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnABLine.Image = global::AgOpenGPS.Properties.Resources.ABLineOff; - this.btnABLine.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnABLine.Location = new System.Drawing.Point(93, 263); - this.btnABLine.Name = "btnABLine"; - this.btnABLine.Size = new System.Drawing.Size(83, 79); - this.btnABLine.TabIndex = 0; - this.btnABLine.Text = "#43"; - this.btnABLine.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnABLine.UseVisualStyleBackColor = false; - this.btnABLine.Click += new System.EventHandler(this.btnABLine_Click); - // - // btnContour - // - this.btnContour.Anchor = System.Windows.Forms.AnchorStyles.None; - this.btnContour.BackColor = System.Drawing.Color.Transparent; - this.btnContour.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; - this.btnContour.Enabled = false; - this.btnContour.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; - this.btnContour.FlatAppearance.BorderSize = 0; - this.btnContour.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnContour.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnContour.Image = global::AgOpenGPS.Properties.Resources.ContourOff; - this.btnContour.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnContour.Location = new System.Drawing.Point(93, 178); - this.btnContour.Name = "btnContour"; - this.btnContour.Size = new System.Drawing.Size(83, 70); - this.btnContour.TabIndex = 105; - this.btnContour.Text = "34 cm"; - this.btnContour.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnContour.UseVisualStyleBackColor = false; - this.btnContour.Click += new System.EventHandler(this.btnContour_Click); - // - // btnCurve - // - this.btnCurve.Anchor = System.Windows.Forms.AnchorStyles.None; - this.btnCurve.BackColor = System.Drawing.Color.Transparent; - this.btnCurve.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; - this.btnCurve.Enabled = false; - this.btnCurve.FlatAppearance.BorderColor = System.Drawing.Color.RoyalBlue; - this.btnCurve.FlatAppearance.BorderSize = 0; - this.btnCurve.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnCurve.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnCurve.Image = global::AgOpenGPS.Properties.Resources.CurveOff; - this.btnCurve.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnCurve.Location = new System.Drawing.Point(90, 90); - this.btnCurve.Margin = new System.Windows.Forms.Padding(0); - this.btnCurve.Name = "btnCurve"; - this.btnCurve.Size = new System.Drawing.Size(89, 76); - this.btnCurve.TabIndex = 173; - this.btnCurve.Text = "#34"; - this.btnCurve.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnCurve.UseVisualStyleBackColor = false; - this.btnCurve.Click += new System.EventHandler(this.btnCurve_Click); - // - // btnSaveAB - // - this.btnSaveAB.Anchor = System.Windows.Forms.AnchorStyles.None; - this.btnSaveAB.BackColor = System.Drawing.Color.Transparent; - this.btnSaveAB.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; - this.btnSaveAB.FlatAppearance.BorderSize = 0; - this.btnSaveAB.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnSaveAB.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold); - this.btnSaveAB.Image = global::AgOpenGPS.Properties.Resources.ABLineSave; - this.btnSaveAB.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.btnSaveAB.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSaveAB.Location = new System.Drawing.Point(4, 93); - this.btnSaveAB.Name = "btnSaveAB"; - this.btnSaveAB.Size = new System.Drawing.Size(82, 70); - this.btnSaveAB.TabIndex = 182; - this.btnSaveAB.Text = "0 cm"; - this.btnSaveAB.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnSaveAB.UseVisualStyleBackColor = false; - this.btnSaveAB.Click += new System.EventHandler(this.btnSaveAB_Click); - // - // btnManualOffOn - // - this.btnManualOffOn.Anchor = System.Windows.Forms.AnchorStyles.None; - this.btnManualOffOn.BackColor = System.Drawing.Color.Transparent; - this.btnManualOffOn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; - this.btnManualOffOn.Enabled = false; - this.btnManualOffOn.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; - this.btnManualOffOn.FlatAppearance.BorderSize = 0; - this.btnManualOffOn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnManualOffOn.Font = new System.Drawing.Font("Tahoma", 14.25F); - this.btnManualOffOn.Image = global::AgOpenGPS.Properties.Resources.ManualOff; - this.btnManualOffOn.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.btnManualOffOn.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnManualOffOn.Location = new System.Drawing.Point(93, 453); - this.btnManualOffOn.Name = "btnManualOffOn"; - this.btnManualOffOn.Size = new System.Drawing.Size(83, 79); - this.btnManualOffOn.TabIndex = 98; - this.btnManualOffOn.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnManualOffOn.UseVisualStyleBackColor = false; - this.btnManualOffOn.Click += new System.EventHandler(this.btnManualOffOn_Click); - // - // btnCycleLines - // - this.btnCycleLines.Anchor = System.Windows.Forms.AnchorStyles.None; - this.btnCycleLines.BackColor = System.Drawing.Color.Transparent; - this.btnCycleLines.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; - this.btnCycleLines.Enabled = false; - this.btnCycleLines.FlatAppearance.BorderColor = System.Drawing.Color.RoyalBlue; - this.btnCycleLines.FlatAppearance.BorderSize = 0; - this.btnCycleLines.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnCycleLines.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); - this.btnCycleLines.Image = global::AgOpenGPS.Properties.Resources.ABLineCycle; - this.btnCycleLines.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.btnCycleLines.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnCycleLines.Location = new System.Drawing.Point(4, 263); - this.btnCycleLines.Name = "btnCycleLines"; - this.btnCycleLines.Size = new System.Drawing.Size(82, 79); - this.btnCycleLines.TabIndex = 251; - this.btnCycleLines.Text = "-"; - this.btnCycleLines.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnCycleLines.UseVisualStyleBackColor = false; - this.btnCycleLines.Click += new System.EventHandler(this.btnCycleLines_Click); - // - // panelSim - // - this.panelSim.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.panelSim.BackColor = System.Drawing.SystemColors.GradientInactiveCaption; - this.panelSim.ColumnCount = 5; - this.panelSim.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.panelSim.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.panelSim.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.panelSim.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); - this.panelSim.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 55F)); - this.panelSim.Controls.Add(this.hsbarSteerAngle, 2, 0); - this.panelSim.Controls.Add(this.hsbarStepDistance, 0, 0); - this.panelSim.Controls.Add(this.btnResetSim, 1, 0); - this.panelSim.Controls.Add(this.btnResetSteerAngle, 3, 0); - this.panelSim.Location = new System.Drawing.Point(266, 644); - this.panelSim.Name = "panelSim"; - this.panelSim.RowCount = 1; - this.panelSim.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.panelSim.Size = new System.Drawing.Size(320, 40); - this.panelSim.TabIndex = 322; - // - // btnResetSteerAngle - // - this.btnResetSteerAngle.Anchor = System.Windows.Forms.AnchorStyles.None; - this.btnResetSteerAngle.BackColor = System.Drawing.SystemColors.ButtonFace; - this.btnResetSteerAngle.Font = new System.Drawing.Font("Tahoma", 9.75F); - this.btnResetSteerAngle.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnResetSteerAngle.Location = new System.Drawing.Point(247, 4); - this.btnResetSteerAngle.Name = "btnResetSteerAngle"; - this.btnResetSteerAngle.Size = new System.Drawing.Size(47, 32); - this.btnResetSteerAngle.TabIndex = 162; - this.btnResetSteerAngle.Text = "0"; - this.btnResetSteerAngle.UseVisualStyleBackColor = false; - this.btnResetSteerAngle.Click += new System.EventHandler(this.btnResetSteerAngle_Click); - // - // lblTramSkips - // - this.lblTramSkips.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.lblTramSkips.BackColor = System.Drawing.Color.LightGreen; - this.lblTramSkips.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblTramSkips.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblTramSkips.Location = new System.Drawing.Point(1259, 51); - this.lblTramSkips.Name = "lblTramSkips"; - this.lblTramSkips.Size = new System.Drawing.Size(72, 16); - this.lblTramSkips.TabIndex = 318; - this.lblTramSkips.Text = "Skips:"; - this.lblTramSkips.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblTramStart - // - this.lblTramStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.lblTramStart.BackColor = System.Drawing.Color.Orchid; - this.lblTramStart.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblTramStart.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblTramStart.Location = new System.Drawing.Point(1169, 50); - this.lblTramStart.Name = "lblTramStart"; - this.lblTramStart.Size = new System.Drawing.Size(72, 16); - this.lblTramStart.TabIndex = 317; - this.lblTramStart.Text = "Start On:"; - this.lblTramStart.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lblDistanceOffLine - // - this.lblDistanceOffLine.Anchor = System.Windows.Forms.AnchorStyles.Top; - this.lblDistanceOffLine.BackColor = System.Drawing.Color.Transparent; - this.lblDistanceOffLine.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblDistanceOffLine.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblDistanceOffLine.Location = new System.Drawing.Point(683, 4); - this.lblDistanceOffLine.Name = "lblDistanceOffLine"; - this.lblDistanceOffLine.Size = new System.Drawing.Size(146, 40); - this.lblDistanceOffLine.TabIndex = 327; - this.lblDistanceOffLine.Text = "88.8"; - this.lblDistanceOffLine.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // panelSnap - // - this.panelSnap.Anchor = System.Windows.Forms.AnchorStyles.Top; - this.panelSnap.BackColor = System.Drawing.SystemColors.GradientInactiveCaption; - this.panelSnap.BackgroundImage = global::AgOpenGPS.Properties.Resources.HandSnap; - this.panelSnap.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.panelSnap.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single; - this.panelSnap.ColumnCount = 6; - this.panelSnap.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 56F)); - this.panelSnap.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 56F)); - this.panelSnap.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); - this.panelSnap.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 56F)); - this.panelSnap.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 56F)); - this.panelSnap.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 103F)); - this.panelSnap.Controls.Add(this.btnSnapLeft, 0, 0); - this.panelSnap.Controls.Add(this.btnSnapLeftSmall, 1, 0); - this.panelSnap.Controls.Add(this.btnContourPriority, 2, 0); - this.panelSnap.Controls.Add(this.btnSnapRightSmall, 3, 0); - this.panelSnap.Controls.Add(this.btnSnapRight, 4, 0); - this.panelSnap.Location = new System.Drawing.Point(454, 202); - this.panelSnap.Name = "panelSnap"; - this.panelSnap.RowCount = 1; - this.panelSnap.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.panelSnap.Size = new System.Drawing.Size(340, 55); - this.panelSnap.TabIndex = 325; - this.panelSnap.TabStop = true; - // - // btnSnapLeft - // - this.btnSnapLeft.BackColor = System.Drawing.Color.Transparent; - this.btnSnapLeft.Dock = System.Windows.Forms.DockStyle.Fill; - this.btnSnapLeft.FlatAppearance.BorderSize = 0; - this.btnSnapLeft.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnSnapLeft.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold); - this.btnSnapLeft.Image = global::AgOpenGPS.Properties.Resources.SnapLeftSmall; - this.btnSnapLeft.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSnapLeft.Location = new System.Drawing.Point(4, 4); - this.btnSnapLeft.Name = "btnSnapLeft"; - this.btnSnapLeft.Size = new System.Drawing.Size(50, 47); - this.btnSnapLeft.TabIndex = 179; - this.btnSnapLeft.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnSnapLeft.UseVisualStyleBackColor = false; - this.btnSnapLeft.Click += new System.EventHandler(this.btnSnapLeft_Click_1); - // - // btnSnapLeftSmall - // - this.btnSnapLeftSmall.BackColor = System.Drawing.Color.Transparent; - this.btnSnapLeftSmall.Dock = System.Windows.Forms.DockStyle.Fill; - this.btnSnapLeftSmall.FlatAppearance.BorderSize = 0; - this.btnSnapLeftSmall.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnSnapLeftSmall.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold); - this.btnSnapLeftSmall.Image = global::AgOpenGPS.Properties.Resources.SnapLeft; - this.btnSnapLeftSmall.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSnapLeftSmall.Location = new System.Drawing.Point(61, 4); - this.btnSnapLeftSmall.Name = "btnSnapLeftSmall"; - this.btnSnapLeftSmall.Size = new System.Drawing.Size(50, 47); - this.btnSnapLeftSmall.TabIndex = 180; - this.btnSnapLeftSmall.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnSnapLeftSmall.UseVisualStyleBackColor = false; - this.btnSnapLeftSmall.Click += new System.EventHandler(this.btnSnapLeftSmall_Click); - // - // btnContourPriority - // - this.btnContourPriority.BackColor = System.Drawing.Color.Transparent; - this.btnContourPriority.Dock = System.Windows.Forms.DockStyle.Fill; - this.btnContourPriority.FlatAppearance.BorderSize = 0; - this.btnContourPriority.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnContourPriority.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnContourPriority.Image = global::AgOpenGPS.Properties.Resources.Snap2; - this.btnContourPriority.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnContourPriority.Location = new System.Drawing.Point(118, 4); - this.btnContourPriority.Name = "btnContourPriority"; - this.btnContourPriority.Size = new System.Drawing.Size(74, 47); - this.btnContourPriority.TabIndex = 178; - this.btnContourPriority.TextAlign = System.Drawing.ContentAlignment.BottomRight; - this.btnContourPriority.UseVisualStyleBackColor = false; - this.btnContourPriority.Click += new System.EventHandler(this.btnContourPriority_Click_1); - // - // btnSnapRightSmall - // - this.btnSnapRightSmall.BackColor = System.Drawing.Color.Transparent; - this.btnSnapRightSmall.Dock = System.Windows.Forms.DockStyle.Fill; - this.btnSnapRightSmall.FlatAppearance.BorderSize = 0; - this.btnSnapRightSmall.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnSnapRightSmall.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold); - this.btnSnapRightSmall.Image = global::AgOpenGPS.Properties.Resources.SnapRight; - this.btnSnapRightSmall.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSnapRightSmall.Location = new System.Drawing.Point(199, 4); - this.btnSnapRightSmall.Name = "btnSnapRightSmall"; - this.btnSnapRightSmall.Size = new System.Drawing.Size(50, 47); - this.btnSnapRightSmall.TabIndex = 181; - this.btnSnapRightSmall.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnSnapRightSmall.UseVisualStyleBackColor = false; - this.btnSnapRightSmall.Click += new System.EventHandler(this.btnSnapRightSmall_Click); + // btnSectionOffAutoOn // - // btnSnapRight + this.btnSectionOffAutoOn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnSectionOffAutoOn.BackColor = System.Drawing.Color.Lavender; + this.btnSectionOffAutoOn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.btnSectionOffAutoOn.Enabled = false; + this.btnSectionOffAutoOn.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnSectionOffAutoOn.FlatAppearance.BorderSize = 2; + this.btnSectionOffAutoOn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnSectionOffAutoOn.Font = new System.Drawing.Font("Tahoma", 15.75F); + this.btnSectionOffAutoOn.Image = global::AgOpenGPS.Properties.Resources.SectionMasterOff; + this.btnSectionOffAutoOn.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnSectionOffAutoOn.Location = new System.Drawing.Point(983, 533); + this.btnSectionOffAutoOn.Margin = new System.Windows.Forms.Padding(0); + this.btnSectionOffAutoOn.Name = "btnSectionOffAutoOn"; + this.btnSectionOffAutoOn.Size = new System.Drawing.Size(80, 100); + this.btnSectionOffAutoOn.TabIndex = 152; + this.btnSectionOffAutoOn.Text = "888.8"; + this.btnSectionOffAutoOn.TextAlign = System.Drawing.ContentAlignment.BottomLeft; + this.btnSectionOffAutoOn.UseVisualStyleBackColor = false; + this.btnSectionOffAutoOn.Click += new System.EventHandler(this.btnSectionOffAutoOn_Click); // - this.btnSnapRight.BackColor = System.Drawing.Color.Transparent; - this.btnSnapRight.Dock = System.Windows.Forms.DockStyle.Fill; - this.btnSnapRight.FlatAppearance.BorderSize = 0; - this.btnSnapRight.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnSnapRight.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold); - this.btnSnapRight.Image = global::AgOpenGPS.Properties.Resources.SnapRightSmall; - this.btnSnapRight.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSnapRight.Location = new System.Drawing.Point(256, 4); - this.btnSnapRight.Name = "btnSnapRight"; - this.btnSnapRight.Size = new System.Drawing.Size(50, 47); - this.btnSnapRight.TabIndex = 184; - this.btnSnapRight.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnSnapRight.UseVisualStyleBackColor = false; - this.btnSnapRight.Click += new System.EventHandler(this.btnSnapRight_Click_1); - // - // panelTurn - // - this.panelTurn.Anchor = System.Windows.Forms.AnchorStyles.Top; - this.panelTurn.BackColor = System.Drawing.SystemColors.GradientInactiveCaption; - this.panelTurn.BackgroundImage = global::AgOpenGPS.Properties.Resources.handUturnPanel; - this.panelTurn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; - this.panelTurn.ColumnCount = 3; - this.panelTurn.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.panelTurn.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 64F)); - this.panelTurn.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.panelTurn.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.panelTurn.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.panelTurn.Controls.Add(this.btnLeftYouTurn, 0, 0); - this.panelTurn.Controls.Add(this.btnSwapDirection, 1, 0); - this.panelTurn.Controls.Add(this.btnRightYouTurn, 2, 0); - this.panelTurn.Location = new System.Drawing.Point(573, 99); - this.panelTurn.Name = "panelTurn"; - this.panelTurn.RowCount = 1; - this.panelTurn.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.panelTurn.Size = new System.Drawing.Size(250, 72); - this.panelTurn.TabIndex = 324; + // btnpTiltDown + // + this.btnpTiltDown.BackColor = System.Drawing.Color.Lavender; + this.btnpTiltDown.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.btnpTiltDown.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnpTiltDown.FlatAppearance.BorderSize = 2; + this.btnpTiltDown.Font = new System.Drawing.Font("Tahoma", 12F); + this.btnpTiltDown.Image = global::AgOpenGPS.Properties.Resources.TiltDown; + this.btnpTiltDown.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnpTiltDown.Location = new System.Drawing.Point(339, 403); + this.btnpTiltDown.Name = "btnpTiltDown"; + this.btnpTiltDown.Size = new System.Drawing.Size(64, 64); + this.btnpTiltDown.TabIndex = 245; + this.btnpTiltDown.UseVisualStyleBackColor = false; + this.btnpTiltDown.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnpTiltDown_MouseDown); + // + // btnpTiltUp + // + this.btnpTiltUp.BackColor = System.Drawing.Color.Lavender; + this.btnpTiltUp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.btnpTiltUp.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnpTiltUp.FlatAppearance.BorderSize = 2; + this.btnpTiltUp.Font = new System.Drawing.Font("Tahoma", 12F); + this.btnpTiltUp.Image = global::AgOpenGPS.Properties.Resources.TiltUp; + this.btnpTiltUp.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnpTiltUp.Location = new System.Drawing.Point(339, 330); + this.btnpTiltUp.Name = "btnpTiltUp"; + this.btnpTiltUp.Size = new System.Drawing.Size(64, 64); + this.btnpTiltUp.TabIndex = 246; + this.btnpTiltUp.UseVisualStyleBackColor = false; + this.btnpTiltUp.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnpTiltUp_MouseDown); // - // btnLeftYouTurn + // btnFlag // - this.btnLeftYouTurn.BackColor = System.Drawing.Color.Transparent; - this.btnLeftYouTurn.Dock = System.Windows.Forms.DockStyle.Fill; - this.btnLeftYouTurn.Enabled = false; - this.btnLeftYouTurn.FlatAppearance.BorderColor = System.Drawing.Color.Black; - this.btnLeftYouTurn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnLeftYouTurn.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnLeftYouTurn.Image = global::AgOpenGPS.Properties.Resources.UTurnLeft; - this.btnLeftYouTurn.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnLeftYouTurn.Location = new System.Drawing.Point(3, 3); - this.btnLeftYouTurn.Name = "btnLeftYouTurn"; - this.btnLeftYouTurn.Size = new System.Drawing.Size(87, 66); - this.btnLeftYouTurn.TabIndex = 143; - this.btnLeftYouTurn.Text = "8888 ft"; - this.btnLeftYouTurn.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnLeftYouTurn.UseVisualStyleBackColor = false; - this.btnLeftYouTurn.Click += new System.EventHandler(this.btnLeftYouTurn_Click); + this.btnFlag.BackColor = System.Drawing.Color.Lavender; + this.btnFlag.ContextMenuStrip = this.contextMenuStripFlag; + this.btnFlag.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnFlag.FlatAppearance.BorderSize = 2; + this.btnFlag.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnFlag.Font = new System.Drawing.Font("Tahoma", 14.25F); + this.btnFlag.Image = global::AgOpenGPS.Properties.Resources.FlagRed; + this.btnFlag.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnFlag.Location = new System.Drawing.Point(339, 473); + this.btnFlag.Name = "btnFlag"; + this.btnFlag.Size = new System.Drawing.Size(64, 70); + this.btnFlag.TabIndex = 121; + this.btnFlag.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + this.btnFlag.UseVisualStyleBackColor = false; + this.btnFlag.Click += new System.EventHandler(this.btnFlag_Click); // - // btnSwapDirection + // btnAutoSteer // - this.btnSwapDirection.Anchor = System.Windows.Forms.AnchorStyles.Top; - this.btnSwapDirection.BackColor = System.Drawing.Color.Transparent; - this.btnSwapDirection.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; - this.btnSwapDirection.FlatAppearance.BorderSize = 0; - this.btnSwapDirection.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnSwapDirection.Font = new System.Drawing.Font("Tahoma", 14.25F); - this.btnSwapDirection.Image = global::AgOpenGPS.Properties.Resources.YouTurnReverse; - this.btnSwapDirection.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSwapDirection.Location = new System.Drawing.Point(96, 0); - this.btnSwapDirection.Margin = new System.Windows.Forms.Padding(0); - this.btnSwapDirection.Name = "btnSwapDirection"; - this.btnSwapDirection.Size = new System.Drawing.Size(58, 40); - this.btnSwapDirection.TabIndex = 179; - this.btnSwapDirection.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnSwapDirection.UseVisualStyleBackColor = false; - this.btnSwapDirection.Visible = false; - this.btnSwapDirection.Click += new System.EventHandler(this.btnSwapDirection_Click_1); + this.btnAutoSteer.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnAutoSteer.BackColor = System.Drawing.Color.Lavender; + this.btnAutoSteer.Enabled = false; + this.btnAutoSteer.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnAutoSteer.FlatAppearance.BorderSize = 2; + this.btnAutoSteer.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnAutoSteer.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); + this.btnAutoSteer.Image = global::AgOpenGPS.Properties.Resources.AutoSteerOff; + this.btnAutoSteer.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnAutoSteer.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnAutoSteer.Location = new System.Drawing.Point(895, 463); + this.btnAutoSteer.Margin = new System.Windows.Forms.Padding(0); + this.btnAutoSteer.Name = "btnAutoSteer"; + this.btnAutoSteer.Size = new System.Drawing.Size(80, 100); + this.btnAutoSteer.TabIndex = 128; + this.btnAutoSteer.TextAlign = System.Drawing.ContentAlignment.BottomRight; + this.btnAutoSteer.UseVisualStyleBackColor = false; + this.btnAutoSteer.Click += new System.EventHandler(this.btnAutoSteer_Click); // // btnRightYouTurn // - this.btnRightYouTurn.BackColor = System.Drawing.Color.Transparent; - this.btnRightYouTurn.Dock = System.Windows.Forms.DockStyle.Fill; + this.btnRightYouTurn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnRightYouTurn.BackColor = System.Drawing.Color.LightSteelBlue; + this.btnRightYouTurn.ContextMenuStrip = this.contextMenuStripFlag; this.btnRightYouTurn.Enabled = false; - this.btnRightYouTurn.FlatAppearance.BorderColor = System.Drawing.Color.Black; - this.btnRightYouTurn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnRightYouTurn.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnRightYouTurn.Image = global::AgOpenGPS.Properties.Resources.UTurnRight; + this.btnRightYouTurn.Image = global::AgOpenGPS.Properties.Resources.ArrowRight; + this.btnRightYouTurn.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btnRightYouTurn.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnRightYouTurn.Location = new System.Drawing.Point(160, 3); + this.btnRightYouTurn.Location = new System.Drawing.Point(768, 138); this.btnRightYouTurn.Name = "btnRightYouTurn"; - this.btnRightYouTurn.Size = new System.Drawing.Size(87, 66); + this.btnRightYouTurn.Size = new System.Drawing.Size(80, 65); this.btnRightYouTurn.TabIndex = 142; this.btnRightYouTurn.Text = "8888 ft"; this.btnRightYouTurn.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.btnRightYouTurn.UseVisualStyleBackColor = false; this.btnRightYouTurn.Click += new System.EventHandler(this.btnRightYouTurn_Click); // - // panelNTRIP - // - this.panelNTRIP.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.panelNTRIP.BackgroundImage = global::AgOpenGPS.Properties.Resources.HandNTRIP; - this.panelNTRIP.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; - this.panelNTRIP.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; - this.panelNTRIP.Controls.Add(this.lblNtripBytes); - this.panelNTRIP.Controls.Add(this.btnStartStopNtrip); - this.panelNTRIP.Controls.Add(this.pbarNtrip); - this.panelNTRIP.Controls.Add(this.lblNTRIPSeconds); - this.panelNTRIP.Controls.Add(this.lblWatch); - this.panelNTRIP.Location = new System.Drawing.Point(729, 573); - this.panelNTRIP.Name = "panelNTRIP"; - this.panelNTRIP.Size = new System.Drawing.Size(87, 107); - this.panelNTRIP.TabIndex = 326; - // - // lblNtripBytes - // - this.lblNtripBytes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.lblNtripBytes.AutoSize = true; - this.lblNtripBytes.BackColor = System.Drawing.Color.Transparent; - this.lblNtripBytes.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); - this.lblNtripBytes.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblNtripBytes.Location = new System.Drawing.Point(2, 36); - this.lblNtripBytes.Name = "lblNtripBytes"; - this.lblNtripBytes.Size = new System.Drawing.Size(31, 13); - this.lblNtripBytes.TabIndex = 271; - this.lblNtripBytes.Text = "0 kb"; - // - // btnStartStopNtrip - // - this.btnStartStopNtrip.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.btnStartStopNtrip.BackColor = System.Drawing.Color.Transparent; - this.btnStartStopNtrip.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnStartStopNtrip.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.btnStartStopNtrip.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnStartStopNtrip.Location = new System.Drawing.Point(4, 4); - this.btnStartStopNtrip.Name = "btnStartStopNtrip"; - this.btnStartStopNtrip.Size = new System.Drawing.Size(51, 28); - this.btnStartStopNtrip.TabIndex = 250; - this.btnStartStopNtrip.Text = "Stop"; - this.btnStartStopNtrip.UseVisualStyleBackColor = false; - this.btnStartStopNtrip.Click += new System.EventHandler(this.btnStartStopNtrip_Click); - // - // pbarNtrip - // - this.pbarNtrip.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.pbarNtrip.BackColor = System.Drawing.Color.Maroon; - this.pbarNtrip.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.pbarNtrip.Location = new System.Drawing.Point(2, 93); - this.pbarNtrip.Maximum = 256; - this.pbarNtrip.Name = "pbarNtrip"; - this.pbarNtrip.Size = new System.Drawing.Size(80, 8); - this.pbarNtrip.TabIndex = 270; - // - // lblNTRIPSeconds - // - this.lblNTRIPSeconds.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.lblNTRIPSeconds.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); - this.lblNTRIPSeconds.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblNTRIPSeconds.Location = new System.Drawing.Point(1, 55); - this.lblNTRIPSeconds.Name = "lblNTRIPSeconds"; - this.lblNTRIPSeconds.Size = new System.Drawing.Size(97, 15); - this.lblNTRIPSeconds.TabIndex = 273; - this.lblNTRIPSeconds.Text = "NTRIP Off"; - // - // lblWatch - // - this.lblWatch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.lblWatch.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); - this.lblWatch.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblWatch.Location = new System.Drawing.Point(1, 72); - this.lblWatch.Name = "lblWatch"; - this.lblWatch.Size = new System.Drawing.Size(89, 16); - this.lblWatch.TabIndex = 274; - this.lblWatch.Text = "Waiting GPS"; - // - // btnZoomIn + // btnContour // - this.btnZoomIn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.btnZoomIn.BackColor = System.Drawing.Color.Transparent; - this.btnZoomIn.BackgroundImage = global::AgOpenGPS.Properties.Resources.ZoomOut48; - this.btnZoomIn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; - this.btnZoomIn.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; - this.btnZoomIn.FlatAppearance.BorderSize = 0; - this.btnZoomIn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnZoomIn.Font = new System.Drawing.Font("Tahoma", 12F); - this.btnZoomIn.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnZoomIn.Location = new System.Drawing.Point(1026, 2); - this.btnZoomIn.Name = "btnZoomIn"; - this.btnZoomIn.Size = new System.Drawing.Size(54, 46); - this.btnZoomIn.TabIndex = 120; - this.btnZoomIn.UseVisualStyleBackColor = false; - this.btnZoomIn.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnZoomIn_MouseDown); + this.btnContour.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnContour.BackColor = System.Drawing.Color.Lavender; + this.btnContour.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.btnContour.Enabled = false; + this.btnContour.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnContour.FlatAppearance.BorderSize = 2; + this.btnContour.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnContour.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnContour.Image = global::AgOpenGPS.Properties.Resources.ContourOff; + this.btnContour.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnContour.Location = new System.Drawing.Point(983, 239); + this.btnContour.Name = "btnContour"; + this.btnContour.Size = new System.Drawing.Size(80, 80); + this.btnContour.TabIndex = 105; + this.btnContour.TextAlign = System.Drawing.ContentAlignment.TopCenter; + this.btnContour.UseVisualStyleBackColor = false; + this.btnContour.Click += new System.EventHandler(this.btnContour_Click); // - // btnZoomOut + // btnManualOffOn // - this.btnZoomOut.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.btnZoomOut.BackColor = System.Drawing.Color.Transparent; - this.btnZoomOut.BackgroundImage = global::AgOpenGPS.Properties.Resources.ZoomIn48; - this.btnZoomOut.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; - this.btnZoomOut.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; - this.btnZoomOut.FlatAppearance.BorderSize = 0; - this.btnZoomOut.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnZoomOut.Font = new System.Drawing.Font("Tahoma", 12F); - this.btnZoomOut.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnZoomOut.Location = new System.Drawing.Point(949, 2); - this.btnZoomOut.Name = "btnZoomOut"; - this.btnZoomOut.Size = new System.Drawing.Size(54, 46); - this.btnZoomOut.TabIndex = 119; - this.btnZoomOut.UseVisualStyleBackColor = false; - this.btnZoomOut.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnZoomOut_MouseDown); + this.btnManualOffOn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnManualOffOn.BackColor = System.Drawing.Color.Lavender; + this.btnManualOffOn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.btnManualOffOn.Enabled = false; + this.btnManualOffOn.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnManualOffOn.FlatAppearance.BorderSize = 2; + this.btnManualOffOn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnManualOffOn.Font = new System.Drawing.Font("Tahoma", 14.25F); + this.btnManualOffOn.Image = global::AgOpenGPS.Properties.Resources.ManualOff; + this.btnManualOffOn.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnManualOffOn.Location = new System.Drawing.Point(983, 435); + this.btnManualOffOn.Name = "btnManualOffOn"; + this.btnManualOffOn.Size = new System.Drawing.Size(80, 80); + this.btnManualOffOn.TabIndex = 98; + this.btnManualOffOn.UseVisualStyleBackColor = false; + this.btnManualOffOn.Click += new System.EventHandler(this.btnManualOffOn_Click); // - // btnRecordElevation + // btnABLine // - this.btnRecordElevation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.btnRecordElevation.BackColor = System.Drawing.Color.AliceBlue; - this.btnRecordElevation.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); - this.btnRecordElevation.Image = global::AgOpenGPS.Properties.Resources.BoundaryRecord; - this.btnRecordElevation.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.btnRecordElevation.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnRecordElevation.Location = new System.Drawing.Point(845, 200); - this.btnRecordElevation.Name = "btnRecordElevation"; - this.btnRecordElevation.Size = new System.Drawing.Size(82, 90); - this.btnRecordElevation.TabIndex = 226; - this.btnRecordElevation.Text = "Record Elevation"; - this.btnRecordElevation.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnRecordElevation.UseVisualStyleBackColor = false; - this.btnRecordElevation.Click += new System.EventHandler(this.BtnRecordElevation_Click); + this.btnABLine.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.btnABLine.BackColor = System.Drawing.Color.Lavender; + this.btnABLine.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.btnABLine.Enabled = false; + this.btnABLine.FlatAppearance.BorderColor = System.Drawing.SystemColors.HotTrack; + this.btnABLine.FlatAppearance.BorderSize = 2; + this.btnABLine.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnABLine.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnABLine.Image = global::AgOpenGPS.Properties.Resources.ABLineOff; + this.btnABLine.ImeMode = System.Windows.Forms.ImeMode.NoControl; + this.btnABLine.Location = new System.Drawing.Point(983, 337); + this.btnABLine.Name = "btnABLine"; + this.btnABLine.Size = new System.Drawing.Size(80, 80); + this.btnABLine.TabIndex = 0; + this.btnABLine.TextAlign = System.Drawing.ContentAlignment.BottomLeft; + this.btnABLine.UseVisualStyleBackColor = false; + this.btnABLine.Click += new System.EventHandler(this.btnABLine_Click); // // FormGPS // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; - this.BackColor = System.Drawing.Color.Azure; - this.ClientSize = new System.Drawing.Size(1340, 759); - this.Controls.Add(this.lblDistanceOffLine); - this.Controls.Add(this.panelSnap); - this.Controls.Add(this.panelTurn); - this.Controls.Add(this.panelSim); - this.Controls.Add(this.panelNTRIP); - this.Controls.Add(this.panelBatman); - this.Controls.Add(this.lblTramSkips); - this.Controls.Add(this.lblTramStart); - this.Controls.Add(this.layoutPanelRight); - this.Controls.Add(this.statusStripLeft); - this.Controls.Add(this.statusStrip1); + this.BackColor = System.Drawing.SystemColors.ScrollBar; + this.ClientSize = new System.Drawing.Size(1065, 701); + this.Controls.Add(this.lblHz); + this.Controls.Add(this.btnCycleLines); + this.Controls.Add(this.btnMakeLinesFromBoundary); this.Controls.Add(this.btnZoomIn); this.Controls.Add(this.btnZoomOut); + this.Controls.Add(this.panelSimControls); + this.Controls.Add(this.cboxpRowWidth); + this.Controls.Add(this.btnSwapDirection); + this.Controls.Add(this.btnContourPriority); + this.Controls.Add(this.btnCurve); + this.Controls.Add(this.btnLeftYouTurn); this.Controls.Add(this.lblHeading); - this.Controls.Add(this.lblHz); + this.Controls.Add(this.statusStrip1); + this.Controls.Add(this.btnEnableAutoYouTurn); + this.Controls.Add(this.btnSectionOffAutoOn); + this.Controls.Add(this.btnpTiltDown); + this.Controls.Add(this.btnpTiltUp); + this.Controls.Add(this.btnFlag); + this.Controls.Add(this.btnAutoSteer); + this.Controls.Add(this.btnRightYouTurn); + this.Controls.Add(this.btnContour); + this.Controls.Add(this.btnManualOffOn); + this.Controls.Add(this.btnABLine); this.Controls.Add(this.lblSpeedUnits); this.Controls.Add(this.lblSpeed); + this.Controls.Add(this.txtDistanceOffABLine); this.Controls.Add(this.btnSection8Man); this.Controls.Add(this.btnSection7Man); this.Controls.Add(this.btnSection6Man); @@ -2802,18 +3373,16 @@ private void InitializeComponent() this.Controls.Add(this.btnSection11Man); this.Controls.Add(this.btnSection10Man); this.Controls.Add(this.btnSection9Man); - this.Controls.Add(this.oglBack); this.Controls.Add(this.oglMain); - this.Controls.Add(this.nudElevation); - this.Controls.Add(this.btnRecordElevation); - this.Controls.Add(this.btnElevationMap); + this.Controls.Add(this.panelBatman); + this.Controls.Add(this.tabControl1); + this.Controls.Add(this.oglBack); this.Font = new System.Drawing.Font("Tahoma", 12F); this.ForeColor = System.Drawing.SystemColors.ActiveCaptionText; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MainMenuStrip = this.menuStrip1; - this.MinimumSize = new System.Drawing.Size(1019, 740); + this.MinimumSize = new System.Drawing.Size(800, 740); this.Name = "FormGPS"; - this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show; this.Text = "AgOpenGPS - No Field Loaded"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormGPS_FormClosing); this.Load += new System.EventHandler(this.FormGPS_Load); @@ -2824,17 +3393,16 @@ private void InitializeComponent() this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.contextMenuStripFlag.ResumeLayout(false); + this.contextMenuArea.ResumeLayout(false); + this.tabControl1.ResumeLayout(false); + this.autoPage4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.nudElevation)).EndInit(); + this.configPage1.ResumeLayout(false); + this.DataPage.ResumeLayout(false); + this.DataPage.PerformLayout(); this.panelBatman.ResumeLayout(false); this.panelBatman.PerformLayout(); - this.statusStripLeft.ResumeLayout(false); - this.statusStripLeft.PerformLayout(); - this.layoutPanelRight.ResumeLayout(false); - this.panelSim.ResumeLayout(false); - this.panelSnap.ResumeLayout(false); - this.panelTurn.ResumeLayout(false); - this.panelNTRIP.ResumeLayout(false); - this.panelNTRIP.PerformLayout(); + this.panelSimControls.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); @@ -2847,6 +3415,7 @@ private void InitializeComponent() private System.Windows.Forms.Timer tmrWatchdog; private System.Windows.Forms.ToolStripMenuItem polygonsToolStripMenuItem; private System.Windows.Forms.StatusStrip statusStrip1; + private System.Windows.Forms.ToolStripStatusLabel stripDistance; private System.Windows.Forms.ToolStripMenuItem resetALLToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem loadVehicleToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem saveVehicleToolStripMenuItem; @@ -2856,6 +3425,7 @@ private void InitializeComponent() private System.Windows.Forms.Button btnSection4Man; private System.Windows.Forms.Button btnSection5Man; private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.Button btnPerimeter; private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; private System.Windows.Forms.ToolStripMenuItem gridToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem lightbarToolStripMenuItem; @@ -2876,9 +3446,12 @@ private void InitializeComponent() private System.Windows.Forms.ToolStripMenuItem deleteFlagToolOpenGLContextMenu; private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; private System.Windows.Forms.ToolStripMenuItem googleEarthOpenGLContextMenu; + private System.Windows.Forms.ContextMenuStrip contextMenuArea; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuAreaSide; private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; private System.Windows.Forms.ToolStripMenuItem fieldToolStripMenuItem; + private System.Windows.Forms.ToolStripProgressBar stripOnlineGPS; private System.Windows.Forms.ToolStripMenuItem colorsToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem sectionToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem fieldToolStripMenuItem1; @@ -2891,23 +3464,54 @@ private void InitializeComponent() private System.Windows.Forms.ToolStripMenuItem imperialToolStrip; private System.Windows.Forms.ToolStripMenuItem skyToolStripMenu; private System.Windows.Forms.ToolStripSeparator toolStripSeparator8; + private System.Windows.Forms.TextBox tboxSentence; + private System.Windows.Forms.Label lblZone; + private System.Windows.Forms.Button btnGPSData; + private System.Windows.Forms.Button btnFileExplorer; private System.Windows.Forms.Label lblSpeedUnits; private System.Windows.Forms.ToolStripMenuItem sideGuideLines; private System.Windows.Forms.ToolStripMenuItem pursuitLineToolStripMenuItem; private System.Windows.Forms.Button btnRightYouTurn; private System.Windows.Forms.Button btnLeftYouTurn; private System.Windows.Forms.Label lblHeading; + private System.Windows.Forms.ImageList imageList1; private System.Windows.Forms.Button btnFlag; + private System.Windows.Forms.Label label5; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label lblFieldWidthNorthSouth; + private System.Windows.Forms.Label lblFieldWidthEastWest; + private System.Windows.Forms.TabControl tabControl1; + private System.Windows.Forms.TabPage configPage1; + private System.Windows.Forms.TabPage DataPage; + private System.Windows.Forms.Button btnResetSteerAngle; private System.Windows.Forms.Button btnResetSim; private System.Windows.Forms.ToolStripMenuItem simulatorOnToolStripMenuItem; + private System.Windows.Forms.ToolStripDropDownButton toolStripDropDownBtnFuncs; + private System.Windows.Forms.Label label10; + private System.Windows.Forms.Label label9; + private System.Windows.Forms.Label label8; + private System.Windows.Forms.Label lblRoll; + private System.Windows.Forms.Label lblGPSHeading; + private System.Windows.Forms.Label lblYawHeading; private System.Windows.Forms.ToolStripDropDownButton toolStripDropDownButton2; private System.Windows.Forms.ToolStripMenuItem toolstripUSBPortsConfig; private System.Windows.Forms.ToolStripMenuItem toolstripVehicleConfig; private System.Windows.Forms.ToolStripMenuItem toolstripAutoSteerConfig; private System.Windows.Forms.ToolStripMenuItem toolstripYouTurnConfig; + private System.Windows.Forms.ToolStripMenuItem toolstripResetTrip; + private System.Windows.Forms.ToolStripMenuItem toolstripField; + private System.Windows.Forms.ToolStripMenuItem toolstripBoundary; private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2; private System.Windows.Forms.ToolStripMenuItem toolstripUDPConfig; + private System.Windows.Forms.Label label19; + private System.Windows.Forms.Label label18; + private System.Windows.Forms.Label lblLongitude; + private System.Windows.Forms.Label lblLatitude; + private System.Windows.Forms.Label label16; + private System.Windows.Forms.Label lblAltitude; + private System.Windows.Forms.Label lblSats; public System.Windows.Forms.Button btnSectionOffAutoOn; + private System.Windows.Forms.ToolStripStatusLabel stripEqWidth; private System.Windows.Forms.ToolStripMenuItem menuLanguageEnglish; private System.Windows.Forms.ToolStripMenuItem menuLanguageDeutsch; private System.Windows.Forms.ToolStripMenuItem setWorkingDirectoryToolStripMenuItem; @@ -2919,121 +3523,129 @@ private void InitializeComponent() private System.Windows.Forms.ToolStripMenuItem menuLanguageSpanish; private System.Windows.Forms.ToolStripMenuItem menuLanguageFrench; private System.Windows.Forms.ToolStripMenuItem menuLanguageItalian; + public System.Windows.Forms.TextBox txtDistanceOffABLine; + private System.Windows.Forms.TabPage autoPage4; + private System.Windows.Forms.Button btnWebCam; + private System.Windows.Forms.Button btnHelp; private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem toolstripDisplayConfig; public System.Windows.Forms.Button btnCurve; private System.Windows.Forms.Label lblHeading2; + private System.Windows.Forms.Label label22; private System.Windows.Forms.Button btnSection9Man; private System.Windows.Forms.Button btnSection10Man; private System.Windows.Forms.Button btnSection11Man; private System.Windows.Forms.Button btnSection12Man; + private System.Windows.Forms.Label label25; + private System.Windows.Forms.Label label24; private System.Windows.Forms.ToolStripMenuItem enterSimCoordsToolStripMenuItem; private System.Windows.Forms.ToolStripSeparator toolStripSeparator12; + private System.Windows.Forms.Button btnFixOffset; public System.Windows.Forms.Button btnABLine; public System.Windows.Forms.Button btnEnableAutoYouTurn; public System.Windows.Forms.Button btnAutoSteer; - private System.Windows.Forms.ToolStripDropDownButton toolStripBtnDropDownBoundaryTools; + private System.Windows.Forms.Button btnManualAutoDrive; + private System.Windows.Forms.Label lblLidarDistance; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Button btnLidarOnOff; + private System.Windows.Forms.ToolStripDropDownButton toolStripBtnDropDownSpecialFunctions; private System.Windows.Forms.HScrollBar hsbarStepDistance; private System.Windows.Forms.HScrollBar hsbarSteerAngle; + private System.Windows.Forms.ToolStripMenuItem toolStripBtnMakeBndContour; + private System.Windows.Forms.ToolStripMenuItem toolStripBtnSmoothABCurve; private System.Windows.Forms.ToolStripMenuItem toolStripDeleteApplied; private System.Windows.Forms.ToolStripMenuItem toolStripAreYouSure; + public System.Windows.Forms.Button btnContourPriority; public System.Windows.Forms.ToolStripMenuItem toolStripAutoSteerChart; private System.Windows.Forms.ToolStripMenuItem shortcutKeysToolStripMenuItem; + private System.Windows.Forms.ToolStripDropDownButton toolStripBtnCamera; + private System.Windows.Forms.ToolStripMenuItem CameraFollowingToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem CameraNorthToolStripMenuItem; + private System.Windows.Forms.ToolStripMenuItem CameraTopToolStripMenuItem; + private OpenTK.GLControl oglZoom; private OpenTK.GLControl oglMain; private OpenTK.GLControl oglBack; + private System.Windows.Forms.Label label2; + public System.Windows.Forms.Label lblConvergenceAngle; private System.Windows.Forms.ToolStripDropDownButton toolStripBatman; + private System.Windows.Forms.Panel panelBatman; + private System.Windows.Forms.Label lblpAltitude; private System.Windows.Forms.ComboBox cboxpRowWidth; + private ProXoft.WinForms.RepeatButton btnpTiltUp; + private ProXoft.WinForms.RepeatButton btnpTiltDown; + private System.Windows.Forms.Label lblpRoll; + private System.Windows.Forms.Label label33; + private System.Windows.Forms.Label lblpGPSHeading; + private System.Windows.Forms.Label lblpYawHeading; + private System.Windows.Forms.Label label35; + private System.Windows.Forms.Label label39; + private System.Windows.Forms.Button btnFlagsGoogleEarth; + private System.Windows.Forms.Panel panelSimControls; private System.Windows.Forms.Label lblHz; + private System.Windows.Forms.Label label14; + private System.Windows.Forms.Label lblpFieldAreaRemain; + private System.Windows.Forms.Label lblpBoundaryArea; + private System.Windows.Forms.Label lblpFieldAreaRemainPercent; + private System.Windows.Forms.Label lblpAreaWorked; + private System.Windows.Forms.Label label26; + private System.Windows.Forms.Label lblpTimeToFinish; public System.Windows.Forms.Button btnSwapDirection; + private System.Windows.Forms.Label lblNtripBytes; + private System.Windows.Forms.ProgressBar pbarNtrip; private System.Windows.Forms.ToolStripMenuItem toolStripNTRIPConfig; + private System.Windows.Forms.Label lblUturnByte; + private System.Windows.Forms.Label lblNTRIPSeconds; + private System.Windows.Forms.Button btnStartStopNtrip; + private System.Windows.Forms.Label lblWatch; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.ToolStripStatusLabel lblAreaRate; + private System.Windows.Forms.Button btnSnapRight; + private System.Windows.Forms.Button btnSnapLeft; + private System.Windows.Forms.Button btnSmallSnapRight; + private System.Windows.Forms.Button btnSmallSnapLeft; + private System.Windows.Forms.ToolStripMenuItem deleteContourPathsToolStripMenuItem; + private System.Windows.Forms.Button btnSmallRight2; + private System.Windows.Forms.Button btnSmallLeft2; + private System.Windows.Forms.Button btnBigRight2; + private System.Windows.Forms.Button btnBigLeft2; + private System.Windows.Forms.ToolStripDropDownButton toolStripDropDownButton1; + private System.Windows.Forms.ToolStripMenuItem pausePathMenu; + public System.Windows.Forms.ToolStripMenuItem goPathMenu; + private System.Windows.Forms.Label lblActualSteerAngle2; + private System.Windows.Forms.Label lblSetpointSteerAngle2; public System.Windows.Forms.Button btnContour; public System.Windows.Forms.Timer timerSim; + private System.Windows.Forms.ToolStripMenuItem treePlanterToolStripMenuItem; public System.Windows.Forms.Button btnManualOffOn; private System.Windows.Forms.Button btnRecordElevation; private System.Windows.Forms.Button btnElevationMap; private System.Windows.Forms.NumericUpDown nudElevation; - private System.Windows.Forms.ProgressBar pbarRelayCommSmall; + private System.Windows.Forms.ToolStripMenuItem deletePathMenu; + private System.Windows.Forms.ToolStripMenuItem recordPathMenu; + private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem3; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.ProgressBar pbarRelayComm; + private System.Windows.Forms.ProgressBar pbarAutoSteerComm; private System.Windows.Forms.Label label13; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.ProgressBar pbarUDPComm; + private System.Windows.Forms.Button btnTinyAutoSteerConfig; public System.Windows.Forms.Button btnMakeLinesFromBoundary; + private System.Windows.Forms.ProgressBar pbarUDPSmall; + private System.Windows.Forms.ProgressBar pbarSteerSmall; + private System.Windows.Forms.Label label20; + private System.Windows.Forms.Label label15; + private System.Windows.Forms.ToolStripMenuItem toolstripExit; + private System.Windows.Forms.ProgressBar pbarFieldAreaRemainPercent; + private System.Windows.Forms.Label lblPercentRemaining; + private System.Windows.Forms.Label lblTimeRemaining; public System.Windows.Forms.ToolStripMenuItem menustripLanguage; + private System.Windows.Forms.Label lblMoveDistance; + private System.Windows.Forms.Label lblMoveDistanceBatman; + private System.Windows.Forms.Label label17; + private System.Windows.Forms.Label label11; public System.Windows.Forms.Button btnCycleLines; - private System.Windows.Forms.Label label15; - private System.Windows.Forms.Label label20; - private System.Windows.Forms.Label lblpAltitude; - private System.Windows.Forms.Label label33; - private System.Windows.Forms.Label lblRoll; - private System.Windows.Forms.Label label39; - private System.Windows.Forms.Label label35; - private System.Windows.Forms.Label lblYawHeading; - private System.Windows.Forms.Label lblGPSHeading; - private System.Windows.Forms.ProgressBar pbarNtrip; - private System.Windows.Forms.Label lblNtripBytes; - private System.Windows.Forms.Label lblNTRIPSeconds; - private System.Windows.Forms.Button btnStartStopNtrip; - private System.Windows.Forms.Label lblWatch; - private System.Windows.Forms.Label lblUturnByte; - private System.Windows.Forms.ProgressBar pbarSteerSmall; - private System.Windows.Forms.ProgressBar pbarUDPSmall; - private System.Windows.Forms.Panel panelBatman; - private System.Windows.Forms.Label label24; - private System.Windows.Forms.Label lblSats; - private System.Windows.Forms.ToolStripMenuItem fileExplorerToolStripItem; - private System.Windows.Forms.Label lblLongitude; - private System.Windows.Forms.Label lblLatitude; - private System.Windows.Forms.Label lblZone; - public System.Windows.Forms.Label lblConvergenceAngle; - private System.Windows.Forms.Label label25; - private System.Windows.Forms.Label label19; - private System.Windows.Forms.Label label18; - private System.Windows.Forms.ToolStripMenuItem deleteContourPathsToolStripMenuItem; - private System.Windows.Forms.ToolStripDropDownButton toolStripBtnGPSStength; - private System.Windows.Forms.ToolStripMenuItem toolStripBtnMakeBndContour; - private System.Windows.Forms.ToolStripDropDownButton toolStripDropDownButtonDistance; - private System.Windows.Forms.StatusStrip statusStripLeft; - private System.Windows.Forms.ToolStripDropDownButton toolStripMenuRecPath; - private System.Windows.Forms.ToolStripMenuItem recordRecPathToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem deletePathRecPathToolStripMenuItem; - private System.Windows.Forms.ToolStripSplitButton AutoManualtoolStripSplitButton1; - public System.Windows.Forms.ToolStripMenuItem goStopRecPathToolStripMenuItem; - public System.Windows.Forms.ToolStripMenuItem pauseResumeRecPathToolStripMenuItem; - private System.Windows.Forms.Label label3; - private System.Windows.Forms.ToolStripDropDownButton steerAnglesToolStripDropDownButton1; - private System.Windows.Forms.ToolStripSplitButton toolStripBtnPower; - private System.Windows.Forms.ComboBox cboxTramBasedOn; - private System.Windows.Forms.ComboBox cboxTramPassEvery; - private System.Windows.Forms.ToolStripDropDownButton toolStripBtnField; - private System.Windows.Forms.TableLayoutPanel layoutPanelRight; - private System.Windows.Forms.ToolStripMenuItem boundariesToolStripMenuItem; - private System.Windows.Forms.Button btnSaveAB; - private System.Windows.Forms.Button btnSnapRightSmall; - private System.Windows.Forms.Button btnSnapLeftSmall; - private System.Windows.Forms.Button btnSnapLeft; - private System.Windows.Forms.Button btnSnapRight; - private System.Windows.Forms.TableLayoutPanel panelSim; - private System.Windows.Forms.Button btnResetSteerAngle; - public System.Windows.Forms.Button btnContourPriority; - private System.Windows.Forms.ToolStripStatusLabel toolStripLblFieldFinish; - private System.Windows.Forms.Label lblTramSkips; - private System.Windows.Forms.Label lblTramStart; - private OpenTK.GLControl oglZoom; - private System.Windows.Forms.TableLayoutPanel panelTurn; - private System.Windows.Forms.TableLayoutPanel panelSnap; - private System.Windows.Forms.ToolStripDropDownButton toolStripDropDownButton1; - private System.Windows.Forms.ToolStripMenuItem treePlanterToolStripMenuItem1; - private System.Windows.Forms.ToolStripMenuItem webCamToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem smoothABCurveToolStripMenuItem; - private System.Windows.Forms.Panel panelNTRIP; - private System.Windows.Forms.ToolStripDropDownButton boundaryToolStripBtn; - private System.Windows.Forms.ToolStripStatusLabel lblToolEqWidth; - private System.Windows.Forms.ToolStripSplitButton flagsGEToolStrip; - private System.Windows.Forms.ToolStripSplitButton youTurnToolStrip; - private System.Windows.Forms.ToolStripSplitButton autoSteerToolStrip; - private System.Windows.Forms.ToolStripSplitButton vehicleSettingsToolStrip; - private System.Windows.Forms.ToolStripDropDownButton cameraDropDown; - private System.Windows.Forms.ToolStripMenuItem twoDToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem threeDToolStripMenuItem; - private System.Windows.Forms.ToolStripMenuItem northToolStripMenuItem; - private System.Windows.Forms.Label lblDistanceOffLine; } } diff --git a/SourceCode/GPS/Forms/FormGPS.cs b/SourceCode/GPS/Forms/FormGPS.cs index 9d464317f..f6ebcdad0 100644 --- a/SourceCode/GPS/Forms/FormGPS.cs +++ b/SourceCode/GPS/Forms/FormGPS.cs @@ -9,7 +9,6 @@ using System.Drawing; using System.Drawing.Imaging; using System.IO; -using System.Linq; using System.Media; using System.Net; using System.Net.Sockets; @@ -225,6 +224,7 @@ public partial class FormGPS : Form /// public SoundPlayer sndBoundaryAlarm; + #endregion // Class Props and instances // Constructor, Initializes a new instance of the "FormGPS" class. @@ -233,13 +233,7 @@ public FormGPS() //winform initialization InitializeComponent(); - ControlExtension.Draggable(panelSnap, true); - ControlExtension.Draggable(panelNTRIP, true); - ControlExtension.Draggable(panelSim, true); - ControlExtension.Draggable(panelTurn, true); - //ControlExtension.Draggable(panelField, true); - - + btnManualAutoDrive.Text = gStr.gsAbout; //file menu //fileToolStripMenuItem.Text = gStr.gsFile; @@ -281,25 +275,24 @@ public FormGPS() toolStripNTRIPConfig.Text = gStr.gsNTRIP; //Tools Menu - treePlanterToolStripMenuItem1.Text = gStr.gsTreePlanter; - smoothABCurveToolStripMenuItem.Text = gStr.gsSmoothABCurve; + treePlanterToolStripMenuItem.Text = gStr.gsTreePlanter; + toolStripBtnSmoothABCurve.Text = gStr.gsSmoothABCurve; toolStripBtnMakeBndContour.Text = gStr.gsMakeBoundaryContours; deleteContourPathsToolStripMenuItem.Text = gStr.gsDeleteContourPaths; toolStripDeleteApplied.Text = gStr.gsDeleteAppliedArea; toolStripAreYouSure.Text = gStr.gsAreYouSure; - webCamToolStripMenuItem.Text = gStr.gsWebCam; //Recorded Path - deletePathRecPathToolStripMenuItem.Text = gStr.gsDeletePath; - recordRecPathToolStripMenuItem.Text = gStr.gsRecordStop; - goStopRecPathToolStripMenuItem.Text = gStr.gsGoStop; - pauseResumeRecPathToolStripMenuItem.Text = gStr.gsPauseResume; + deletePathMenu.Text = gStr.gsDeletePath; + recordPathMenu.Text = gStr.gsRecordStop; + goPathMenu.Text = gStr.gsGoStop; + pausePathMenu.Text = gStr.gsPauseResume; - ////Start Menu - //toolstripField.Text = gStr.gsField; - //toolstripExit.Text = gStr.gsExit; - boundariesToolStripMenuItem.Text = gStr.gsBoundary; - //toolstripResetTrip.Text = gStr.gsZeroTrip; + //Start Menu + toolstripField.Text = gStr.gsField; + toolstripExit.Text = gStr.gsExit; + toolstripBoundary.Text = gStr.gsBoundary; + toolstripResetTrip.Text = gStr.gsZeroTrip; //NTRIP this.lblWatch.Text = gStr.gsWaitingForGPS; @@ -479,7 +472,7 @@ private void FormGPS_Load(object sender, EventArgs e) if (sp.IsOpen) { simulatorOnToolStripMenuItem.Checked = false; - panelSim.Visible = false; + panelSimControls.Visible = false; timerSim.Enabled = false; Settings.Default.setMenu_isSimulatorOn = simulatorOnToolStripMenuItem.Checked; @@ -639,10 +632,6 @@ private void FormGPS_FormClosing(object sender, FormClosingEventArgs e) Settings.Default.setF_UserTotalArea = fd.workedAreaTotalUser; Settings.Default.setF_UserTripAlarm = fd.userSquareMetersAlarm; - Settings.Default.setDisplay_panelSnapLocation = panelSnap.Location; - Settings.Default.setDisplay_panelSimLocation = panelSim.Location; - Settings.Default.setDisplay_panelTurnLocation = panelTurn.Location; - Settings.Default.Save(); } @@ -650,37 +639,8 @@ private void FormGPS_FormClosing(object sender, FormClosingEventArgs e) private void FormGPS_Resize(object sender, EventArgs e) { LineUpManualBtns(); - - //top,right.bottom - //keep snap in view on resizing - if (panelSnap.Left + 342 > Width - 200) panelSnap.Left = Width - 200 - 342; - if (panelSnap.Top < 1) panelSnap.Top = 1; - if (panelSnap.Top > Height - 100) panelSnap.Top = Height - 100; - - if (panelSim.Left + 443 > Width - 200) panelSim.Left = Width - 200 - 443; - if (panelSim.Top < 80) panelSim.Top = 80; - if (panelSim.Top > Height - 150) panelSim.Top = Height - 150; - - - if (panelTurn.Top < 48) panelTurn.Top = 48; - if (panelTurn.Left + 252 > Width - 200) panelTurn.Left = Width - 200 - 252; - if (panelTurn.Top > Height - 180) panelTurn.Top = Height - 180; - - if (panelBatman.Visible) - { - if (panelTurn.Left < 260) panelTurn.Left = 260; - if (panelSim.Left < 260) panelSim.Left = 260; - if (panelSnap.Left < 260) panelSnap.Left = 260; - } - else - { - if (panelTurn.Left < 75) panelTurn.Left = 75; - if (panelSim.Left < 75) panelSim.Left = 75; - if (panelSnap.Left < 75) panelSnap.Left = 75; - } - - - //if (panelSnap.Top > Height - 130) panelSnap.Top = Height - 130; + //if (Width < 850 && tabControl1.Visible) HideTabControl(); + //if (Width > 1000 && !tabControl1.Visible) HideTabControl(); } // Procedures and Functions --------------------------------------- @@ -874,10 +834,10 @@ private void BtnRecordElevation_Click(object sender, EventArgs e) private void BtnElevationMap_Click(object sender, EventArgs e) { - if (bnd.bndArr.Count > 0 && bnd.lastBoundary < bnd.bndArr.Count)// && (ABLine.isABLineSet | curve.isCurveSet)) + if (bnd.bndArr[0].isSet)// && (ABLine.isABLineSet | curve.isCurveSet)) { //field too small or moving - if (bnd.bndArr[bnd.lastBoundary].bndLine.Count < 200) { TimedMessageBox(3000, "!!!!", gStr.gsBoundaryTooSmallToCreateAHeadland); return; } + if (bnd.bndArr[0].bndLine.Count < 200) { TimedMessageBox(3000, "!!!!", gStr.gsBoundaryTooSmallToCreateAHeadland); return; } //if (pn.speed > 0.2) { TimedMessageBox(3000, "Vehicle Moving", "You Must Be Standing Still"); return; } using (var form = new FormElev(this)) @@ -896,511 +856,21 @@ private void NudElevation_ValueChanged(object sender, EventArgs e) sim.altitude = (double)nudElevation.Value; } - private void fileExplorerToolStripItem_Click(object sender, EventArgs e) - { - if (isJobStarted) - { - FileSaveFlagsKML(); - } - Process.Start(fieldsDirectory + currentFieldDirectory); - } - - private void btnVehicleSettings_Click(object sender, EventArgs e) - { - using (var form = new FormSettings(this, 0)) - { - var result = form.ShowDialog(); - if (result == DialogResult.OK) - { - if (Properties.Settings.Default.setAS_isAutoSteerAutoOn) btnAutoSteer.Text = "A"; - else btnAutoSteer.Text = "M"; - } - } - - } - - private void toolStripbtnAutoSteerConfig_Click(object sender, EventArgs e) - { - //check if window already exists - Form fc = Application.OpenForms["FormSteer"]; - - if (fc != null) - { - fc.Focus(); - fc.Close(); - return; - } - - // - Form form = new FormSteer(this); - form.Show(); - } - - private void toolStripBtnGPSStength_Click(object sender, EventArgs e) - { - Form f = Application.OpenForms["FormGPSData"]; - - if (f != null) - { - f.Focus(); - f.Close(); - return; - } - - Form form = new FormGPSData(this); - form.Show(); - } - - private void toolStripBtnMakeBndContour_Click(object sender, EventArgs e) - { - //build all the contour guidance lines from boundaries, all of them. - using (var form = new FormMakeBndCon(this)) - { - var result = form.ShowDialog(); - if (result == DialogResult.OK) { } - } - } - - private void toolStripDropDownButtonDistance_Click(object sender, EventArgs e) - { - fd.distanceUser = 0; - fd.workedAreaTotalUser = 0; - } - - private void toolStripBtnYouTurn_Click(object sender, EventArgs e) - { - } - - private void goStopRecPathToolStripMenuItem_Click(object sender, EventArgs e) - { - if (bnd.bndArr.Count == 0) - { - TimedMessageBox(2000, gStr.gsNoBoundary, gStr.gsCreateABoundaryFirst); - return; - } - - //if contour is on, turn it off - if (ct.isContourBtnOn) { if (ct.isContourBtnOn) btnContour.PerformClick(); } - btnContourPriority.Enabled = true; - - if (yt.isYouTurnBtnOn) btnEnableAutoYouTurn.PerformClick(); - if (isAutoSteerBtnOn) btnAutoSteer.PerformClick(); - - DisableYouTurnButtons(); - - //if ABLine isn't set, turn off the YouTurn - if (ABLine.isABLineSet) - { - //ABLine.DeleteAB(); - ABLine.isABLineBeingSet = false; - ABLine.isABLineSet = false; - lblDistanceOffLine.Visible = false; - - //change image to reflect on off - btnABLine.Image = Properties.Resources.ABLineOff; - ABLine.isBtnABLineOn = false; - } - - if (curve.isCurveSet) - { - - //make sure the other stuff is off - curve.isOkToAddPoints = false; - curve.isCurveSet = false; - //btnContourPriority.Enabled = false; - curve.isCurveBtnOn = false; - btnCurve.Image = Properties.Resources.CurveOff; - } - - if (!recPath.isPausedDrivingRecordedPath) - { - //already running? - if (recPath.isDrivingRecordedPath) - { - recPath.StopDrivingRecordedPath(); - return; - } - - //start the recorded path driving process - - - - if (!recPath.StartDrivingRecordedPath()) - { - //Cancel the recPath - something went seriously wrong - recPath.StopDrivingRecordedPath(); - TimedMessageBox(1500, gStr.gsProblemMakingPath, gStr.gsCouldntGenerateValidPath); - } - else - { - goStopRecPathToolStripMenuItem.Image = Properties.Resources.AutoStop; - } - } - else - { - recPath.isPausedDrivingRecordedPath = false; - pauseResumeRecPathToolStripMenuItem.BackColor = Color.Lime; - } - - } - - private void pauseResumeRecPathToolStripMenuItem_Click(object sender, EventArgs e) - { - if (recPath.isPausedDrivingRecordedPath) - { - pauseResumeRecPathToolStripMenuItem.BackColor = Color.Lime; - } - else - { - pauseResumeRecPathToolStripMenuItem.BackColor = Color.OrangeRed; - } - - recPath.isPausedDrivingRecordedPath = !recPath.isPausedDrivingRecordedPath; - } - - private void recordRecPathToolStripMenuItem_Click(object sender, EventArgs e) - { - if (recPath.isRecordOn) - { - FileSaveRecPath(); - recPath.isRecordOn = false; - recordRecPathToolStripMenuItem.Image = Properties.Resources.BoundaryRecord; - } - else if (isJobStarted) - { - recPath.recList.Clear(); - recPath.isRecordOn = true; - recordRecPathToolStripMenuItem.Image = Properties.Resources.boundaryStop; - } - - } - - private void deletePathRecPathToolStripMenuItem_Click(object sender, EventArgs e) - { - recPath.recList.Clear(); - recPath.StopDrivingRecordedPath(); - FileSaveRecPath(); - - } - - private void AutoManualtoolStripSplitButton1_ButtonClick(object sender, EventArgs e) - { - if (isInAutoDrive) - { - isInAutoDrive = false; - AutoManualtoolStripSplitButton1.Image = Properties.Resources.AutoManualIsManual; - } - else - { - isInAutoDrive = true; - AutoManualtoolStripSplitButton1.Image = Properties.Resources.AutoManualIsAuto; - } - } - - private void toolStripBtnPower_ButtonClick(object sender, EventArgs e) - { - Close(); - } - - private void cboxTramBasedOn_SelectedIndexChanged(object sender, EventArgs e) - { - ABLine.passBasedOn = cboxTramBasedOn.SelectedIndex-5; - Properties.Vehicle.Default.setTram_BasedOn = ABLine.passBasedOn; - Properties.Vehicle.Default.Save(); - } - - private void cboxTramPassEvery_SelectedIndexChanged(object sender, EventArgs e) - { - if (cboxTramPassEvery.SelectedIndex > 0) - ABLine.tramPassEvery = cboxTramPassEvery.SelectedIndex + 1; - else ABLine.tramPassEvery = 0; - Properties.Vehicle.Default.setTram_Skips = cboxTramPassEvery.SelectedIndex; - Properties.Vehicle.Default.Save(); - } - - private void toolStripBtnField_Click(object sender, EventArgs e) - { - JobNewOpenResume(); - - } - - private void boundariesToolStripMenuItem_Click(object sender, EventArgs e) - { - if (isJobStarted) - { - using (var form = new FormBoundary(this)) - { - var result = form.ShowDialog(); - if (result == DialogResult.OK) - { - Form form2 = new FormBoundaryPlayer(this); - form2.Show(); - } - } - } - else { TimedMessageBox(3000, gStr.gsFieldNotOpen, gStr.gsStartNewField); } - } - - private void btnContourPriority_Click_1(object sender, EventArgs e) - { - if (ct.isContourBtnOn) - { - - ct.isRightPriority = !ct.isRightPriority; - - if (ct.isRightPriority) - { - btnContourPriority.Image = Properties.Resources.ContourPriorityRight; - } - else - { - btnContourPriority.Image = Properties.Resources.ContourPriorityLeft; - } - } - else - { - if (ABLine.isABLineSet) - { - ABLine.SnapABLine(); - - //DialogResult result3 = MessageBox.Show("Save AB Line Snap?", - // "Save or Not", - // MessageBoxButtons.YesNo, - // MessageBoxIcon.Question, - // MessageBoxDefaultButton.Button2); - //if (result3 == DialogResult.Yes) - { - //FileSaveABLine(); - } - } - else if (curve.isCurveSet) - { - curve.SnapABCurve(); - } - else - { - var form = new FormTimedMessage(2000, (gStr.gsNoGuidanceLines), (gStr.gsTurnOnContourOrMakeABLine)); - form.Show(); - } - } - - } - - - private void btnSnapRightSmall_Click(object sender, EventArgs e) - { - SnapSmallRight(); - } - - private void btnSnapRight_Click_1(object sender, EventArgs e) - { - SnapRight(); - } - - private void btnSnapLeftSmall_Click(object sender, EventArgs e) - { - SnapSmallLeft(); - } - - private void btnSnapLeft_Click_1(object sender, EventArgs e) - { - SnapLeft(); - } - - private void btnSaveAB_Click(object sender, EventArgs e) - { - if (ABLine.isBtnABLineOn) - { - //index to last one. - int idx = ABLine.numABLineSelected - 1; - - if (idx >= 0) - { - - ABLine.lineArr[idx].heading = ABLine.abHeading; - //calculate the new points for the reference line and points - ABLine.lineArr[idx].origin.easting = ABLine.refPoint1.easting; - ABLine.lineArr[idx].origin.northing = ABLine.refPoint1.northing; - - //sin x cos z for endpoints, opposite for additional lines - ABLine.lineArr[idx].ref1.easting = ABLine.lineArr[idx].origin.easting - (Math.Sin(ABLine.lineArr[idx].heading) * 2000.0); - ABLine.lineArr[idx].ref1.northing = ABLine.lineArr[idx].origin.northing - (Math.Cos(ABLine.lineArr[idx].heading) * 2000.0); - ABLine.lineArr[idx].ref2.easting = ABLine.lineArr[idx].origin.easting + (Math.Sin(ABLine.lineArr[idx].heading) * 2000.0); - ABLine.lineArr[idx].ref2.northing = ABLine.lineArr[idx].origin.northing + (Math.Cos(ABLine.lineArr[idx].heading) * 2000.0); - } - - FileSaveABLines(); - ABLine.moveDistance = 0; - } - - if (curve.isCurveBtnOn) - { - if (curve.refList.Count > 0) - { - //array number is 1 less since it starts at zero - int idx = curve.numCurveLineSelected - 1; - - //curve.curveArr[idx].Name = textBox1.Text.Trim(); - if (idx >= 0) - { - - curve.curveArr[idx].spiralmode = curve.spiralmode; - curve.curveArr[idx].circlemode = curve.circlemode; - curve.curveArr[idx].aveHeading = curve.aveLineHeading; - curve.curveArr[idx].curvePts.Clear(); - //write out the Curve Points - foreach (var item in curve.refList) - { - curve.curveArr[idx].curvePts.Add(item); - } - } - - //save entire list - FileSaveCurveLines(); - curve.moveDistance = 0; - } - } - } - - private void smoothABCurveToolStripMenuItem_Click(object sender, EventArgs e) - { - if (isJobStarted && curve.isCurveBtnOn) - { - using (var form = new FormSmoothAB(this)) - { - var result = form.ShowDialog(); - if (result == DialogResult.OK) { } - } - } - - else - { - if (!isJobStarted) TimedMessageBox(2000, gStr.gsFieldNotOpen, gStr.gsStartNewField); - else TimedMessageBox(2000, gStr.gsCurveNotOn, gStr.gsTurnABCurveOn); - } - } - - private void webCamToolStripMenuItem_Click(object sender, EventArgs e) - { - Form form = new FormWebCam(); - form.Show(); - } - - private void treePlanterToolStripMenuItem1_Click(object sender, EventArgs e) - { - //check if window already exists - Form fc = Application.OpenForms["FormTreePlant"]; - - if (fc != null) - { - fc.Focus(); - return; - } - - // - Form form = new FormTreePlant(this); - form.Show(); - } - - private void boundaryToolStripBtn_Click(object sender, EventArgs e) - { - if (isJobStarted) - { - using (var form = new FormBoundary(this)) - { - var result = form.ShowDialog(); - if (result == DialogResult.OK) - { - Form form2 = new FormBoundaryPlayer(this); - form2.Show(); - } - } - } - else { TimedMessageBox(3000, gStr.gsFieldNotOpen, gStr.gsStartNewField); } - } - - private void flagsGEToolStrip_ButtonClick(object sender, EventArgs e) - { - if (isJobStarted) - { - //save new copy of flags - FileSaveFlagsKML(); - - //Process.Start(@"C:\Program Files (x86)\Google\Google Earth\client\googleearth", workingDirectory + currentFieldDirectory + "\\Flags.KML"); - Process.Start(fieldsDirectory + currentFieldDirectory + "\\Flags.KML"); - } - else - { - var form = new FormTimedMessage(1500, gStr.gsFieldNotOpen, gStr.gsStartNewField); - form.Show(); - } - } - - private void youTurnToolStrip_ButtonClick(object sender, EventArgs e) - { - var form = new FormYouTurn(this); - form.ShowDialog(); - cboxpRowWidth.SelectedIndex = yt.rowSkipsWidth - 1; - } - - private void autoSteerToolStrip_ButtonClick(object sender, EventArgs e) - { - //check if window already exists - Form fc = Application.OpenForms["FormSteer"]; - - if (fc != null) - { - fc.Focus(); - fc.Close(); - return; - } - - // - Form form = new FormSteer(this); - form.Show(); - } - - private void vehicleSettingsToolStrip_ButtonClick(object sender, EventArgs e) - { - using (var form = new FormSettings(this, 0)) - { - var result = form.ShowDialog(); - if (result == DialogResult.OK) - { - if (Properties.Settings.Default.setAS_isAutoSteerAutoOn) btnAutoSteer.Text = "A"; - else btnAutoSteer.Text = "M"; - } - } - } - - private void twoDToolStripMenuItem_Click(object sender, EventArgs e) - { - camera.camFollowing = true; - camera.camPitch = 0; - - } - - private void threeDToolStripMenuItem_Click(object sender, EventArgs e) - { - camera.camFollowing = true; - camera.camPitch = -70; - - } - - private void northToolStripMenuItem_Click(object sender, EventArgs e) - { - camera.camFollowing = false; - - } - - private void panelBatman_Paint(object sender, PaintEventArgs e) - { - - } - public void GetAB() { curve.isOkToAddPoints = false; + //curve.isCurveSet = false; + //DisableYouTurnButtons(); + btnContourPriority.Enabled = false; + //curve.isCurveBtnOn = false; + //btnCurve.Image = Properties.Resources.CurveOff; + + //ABLine.isABLineSet = false; + ABLine.tramPassEvery = 0; + ABLine.passBasedOn = 0; + //btnABLine.Image = Properties.Resources.ABLineOff; + //ABLine.isBtnABLineOn = false; + if (ct.isContourBtnOn) { if (ct.isContourBtnOn) btnContour.PerformClick(); } @@ -1483,10 +953,6 @@ private void SettingsNTRIP() //Clicked X - No Save } } - - //if ntrip on turn on control panel - if (Properties.Settings.Default.setNTRIP_isOn) panelNTRIP.Visible = true; - else panelNTRIP.Visible = false; } //function to set section positions @@ -1569,7 +1035,6 @@ public void JobNew() startCounter = 0; btnManualOffOn.Enabled = true; - btnCycleLines.Enabled = true; manualBtnState = btnStates.Off; btnManualOffOn.Image = Properties.Resources.ManualOff; @@ -1638,8 +1103,6 @@ public void JobClose() //fix ManualOffOnAuto buttons btnManualOffOn.Enabled = false; - btnCycleLines.Enabled = false; - manualBtnState = btnStates.Off; btnManualOffOn.Image = Properties.Resources.ManualOff; @@ -1707,7 +1170,7 @@ public void JobClose() //clear out contour and Lists btnContour.Enabled = false; - //btnContourPriority.Enabled = false; + btnContourPriority.Enabled = false; btnContourPriority.Image = Properties.Resources.Snap2; ct.ResetContour(); ct.isContourBtnOn = false; @@ -1752,7 +1215,7 @@ public void JobClose() if (recPath.isRecordOn) { recPath.isRecordOn = false; - recordRecPathToolStripMenuItem.Image = Properties.Resources.BoundaryRecord; + recordPathMenu.Image = Properties.Resources.BoundaryRecord; } //reset all Port Module values @@ -1763,13 +1226,10 @@ public void JobClose() private void JobNewOpenResume() { //bring up dialog if no job active, close job if one is - string[] subdirs = Directory.GetDirectories(fieldsDirectory) - .Select(Path.GetFileName) - .ToArray(); - + if (!isJobStarted) { - if (toolStripBtnGPSStength.Image.Height == 38) + if (stripOnlineGPS.Value == 1) { var form = new FormTimedMessage(3000, gStr.gsNoGPS, gStr.gsGPSSourceOff); form.Show(); @@ -2029,7 +1489,7 @@ private void FileSaveEverythingBeforeClosingField() FileSaveFlagsKML(); JobClose(); - Text = "AgOpenGPS" ; + Text = "AgOpenGPS"; } //an error log called by all try catches diff --git a/SourceCode/GPS/Forms/FormGPS.resx b/SourceCode/GPS/Forms/FormGPS.resx index 9a9601698..5a2976931 100644 --- a/SourceCode/GPS/Forms/FormGPS.resx +++ b/SourceCode/GPS/Forms/FormGPS.resx @@ -132,14 +132,246 @@ 768, 18 + + 611, 18 + + + 496, 18 + + + + AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w + LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 + ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACO + MgAAAk1TRnQBSQFMAgEBBAEAAZgBJQGYASUBQAEAAUABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo + BAABAQIAAYADAAEBAQABCAYAAYAYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA + AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 + AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA + AWYDAAGZAwABzAIAATMDAAIzAgABMwFmAgABMwGZAgABMwHMAgABMwH/AgABZgMAAWYBMwIAAmYCAAFm + AZkCAAFmAcwCAAFmAf8CAAGZAwABmQEzAgABmQFmAgACmQIAAZkBzAIAAZkB/wIAAcwDAAHMATMCAAHM + AWYCAAHMAZkCAALMAgABzAH/AgAB/wFmAgAB/wGZAgAB/wHMAQABMwH/AgAB/wEAATMBAAEzAQABZgEA + ATMBAAGZAQABMwEAAcwBAAEzAQAB/wEAAf8BMwIAAzMBAAIzAWYBAAIzAZkBAAIzAcwBAAIzAf8BAAEz + AWYCAAEzAWYBMwEAATMCZgEAATMBZgGZAQABMwFmAcwBAAEzAWYB/wEAATMBmQIAATMBmQEzAQABMwGZ + AWYBAAEzApkBAAEzAZkBzAEAATMBmQH/AQABMwHMAgABMwHMATMBAAEzAcwBZgEAATMBzAGZAQABMwLM + AQABMwHMAf8BAAEzAf8BMwEAATMB/wFmAQABMwH/AZkBAAEzAf8BzAEAATMC/wEAAWYDAAFmAQABMwEA + AWYBAAFmAQABZgEAAZkBAAFmAQABzAEAAWYBAAH/AQABZgEzAgABZgIzAQABZgEzAWYBAAFmATMBmQEA + AWYBMwHMAQABZgEzAf8BAAJmAgACZgEzAQADZgEAAmYBmQEAAmYBzAEAAWYBmQIAAWYBmQEzAQABZgGZ + AWYBAAFmApkBAAFmAZkBzAEAAWYBmQH/AQABZgHMAgABZgHMATMBAAFmAcwBmQEAAWYCzAEAAWYBzAH/ + AQABZgH/AgABZgH/ATMBAAFmAf8BmQEAAWYB/wHMAQABzAEAAf8BAAH/AQABzAEAApkCAAGZATMBmQEA + AZkBAAGZAQABmQEAAcwBAAGZAwABmQIzAQABmQEAAWYBAAGZATMBzAEAAZkBAAH/AQABmQFmAgABmQFm + ATMBAAGZATMBZgEAAZkBZgGZAQABmQFmAcwBAAGZATMB/wEAApkBMwEAApkBZgEAA5kBAAKZAcwBAAKZ + Af8BAAGZAcwCAAGZAcwBMwEAAWYBzAFmAQABmQHMAZkBAAGZAswBAAGZAcwB/wEAAZkB/wIAAZkB/wEz + AQABmQHMAWYBAAGZAf8BmQEAAZkB/wHMAQABmQL/AQABzAMAAZkBAAEzAQABzAEAAWYBAAHMAQABmQEA + AcwBAAHMAQABmQEzAgABzAIzAQABzAEzAWYBAAHMATMBmQEAAcwBMwHMAQABzAEzAf8BAAHMAWYCAAHM + AWYBMwEAAZkCZgEAAcwBZgGZAQABzAFmAcwBAAGZAWYB/wEAAcwBmQIAAcwBmQEzAQABzAGZAWYBAAHM + ApkBAAHMAZkBzAEAAcwBmQH/AQACzAIAAswBMwEAAswBZgEAAswBmQEAA8wBAALMAf8BAAHMAf8CAAHM + Af8BMwEAAZkB/wFmAQABzAH/AZkBAAHMAf8BzAEAAcwC/wEAAcwBAAEzAQAB/wEAAWYBAAH/AQABmQEA + AcwBMwIAAf8CMwEAAf8BMwFmAQAB/wEzAZkBAAH/ATMBzAEAAf8BMwH/AQAB/wFmAgAB/wFmATMBAAHM + AmYBAAH/AWYBmQEAAf8BZgHMAQABzAFmAf8BAAH/AZkCAAH/AZkBMwEAAf8BmQFmAQAB/wKZAQAB/wGZ + AcwBAAH/AZkB/wEAAf8BzAIAAf8BzAEzAQAB/wHMAWYBAAH/AcwBmQEAAf8CzAEAAf8BzAH/AQAC/wEz + AQABzAH/AWYBAAL/AZkBAAL/AcwBAAJmAf8BAAFmAf8BZgEAAWYC/wEAAf8CZgEAAf8BZgH/AQAC/wFm + AQABIQEAAaUBAANfAQADdwEAA4YBAAOWAQADywEAA7IBAAPXAQAD3QEAA+MBAAPqAQAD8QEAA/gBAAHw + AfsB/wEAAaQCoAEAA4ADAAH/AgAB/wMAAv8BAAH/AwAB/wEAAf8BAAL/AgAD//8A/wD/AP8A/wD/AP8A + /wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A + /wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wBdAAX/ + AfQB/z8ACP+tAAH/AvQB8wHyAfABBwHvA/cB8z4ACf+sAAHzAewB6wFyARICSQMoAVABSgHyPAAE/wH0 + AvMB8gHzAfQC/6oAAf8BUAIuAS8BKAEhBCgCUAHvOwAD/wH0AfMB8gHxAvAB8gH0Av+oAAH/AQAB9AFy + AygBLwIhAygBSQFQAewB/wcAAf8B9AHxAfIB9CgAB/8B9AHzAfIC8AO8AfEB8wL/ogAD/wH0AfMB8QG8 + AfMB8AF4AygBUAEoASEDKAFJAVABSgH0BAAB/wHxAQcB7AESAUkBkgHwAfMB/yUAB/8B9AHyAfEB8AW8 + AfEB8wL/oAAB/wHxAQcB7wHtAesBbQFKAVAC7wF4AygBUAFJASEDKAFJAVABSQHxAwAB9AFyAREBIQMo + AU8B7AHvAfIB/yQABf8B9AHzAfIB8Ae8AfEB9AL/DAAF/44AAfQBcgFJAygBTwNQASgB7AFzASgBKQEo + AlABIQMoAUkCUAEHAfQB/wHzAUkBLwEoAiECKAFJAVABSQG8JQAC/wH0AvMB8gHxAfAHvAHwAfIB9AL/ + CAAK/4wAAf8BSgF4AVAFKAJJASgBUAEcASgBKQFQASkBUAEoASECKAFJAUoBUAFyAZIB7wFJAS8BKAEv + BygB8SUAAv8B9AHzAfEC8Ai8AfAB8gL/BQAH/wL0AvMB9AL/iwAB/wFyAVYBUAF4AVABIQYoAVABmAFQ + AS8BUAEoAVABKAEhBSgCTwEoAS8DKAEvAS4EKAFJAf8lAAL/AfQB8gLwCbwB8QHzAv8EAAX/AvQB8wHy + A/EB8wH0Af+LAAH0BFABeAFQASEBKAEhASgBSQFQAXMBmAFQAS8BUAFKAlACKAIhBCgBLwEpBCgBLwEo + ASEBKAFPAe0lAAT/AfME8Qa8AfAB8gH0Af8EAAP/AfQC8wHyAfEC8AK8AfAB8QH0Av8OABD/BwAQ/1YA + AXIEUAF4AUkBIQFJAXIBeAOZAVABLwdQAigBIQIoAVACKQIoAS8BLgMoAUkB8iUAAf8B9AHwAe0BbQET + ARQBbQH3AfAFvAHxAfMD/wIAA/8B8wHyAfEC8Aa8AfAB8wL/DQAB7AEODgAB/wIAAUMBEQH/EwAB7AH/ + DgAB8wG8AQch7wEHAf8fAAHxBVABeAFyAXgBeQF4A3MBUAEvA1ACSgRQAigDUAIpASgBUAEoASEBKAFJ + AVAlAAHzAQcBbQEPARABQwEVAUMBEAFDAe0B8AO8AfAB8QHzAfQG/wH0AfMB8Am8AfAB8gH0Av8bAAEO + Af8BAAEPAgABDgL/AQ4RAAEOAf8LAAHzARIlAAEUAf8fAAFQAVEDUAFRAXgBcwNQAXIBeAFQAS8QUAEp + AVADKAFPAfcjAAH/Ae8BEgEOAUMB7AEHAfAB8QEHAesBEQESBbwB8AHxAfIB8wH0Av8BAAL/AfMB8Qq8 + AfEB8wL/CgABbQEAAe8P/wEAAf8BDwMAAf8BABH/Ae8BAAH/CgAB9CgAAfQfAAHxA1ACUQNQAXMBeAGY + AZkBcwEvElACKAJJAe8B8wH/IAAB8wESAQABDwHsAfME/wH0AZIBFAFDAe8B8AS8AvAB8QHzAfQC/wEA + Af8B9AHxAfAJvAHwAfMC/wkAAf8UAAHzARUBQwHzIAAB7CcAAW0B/yAAAXIBVwRQAXMEeAGYAXgSUAFJ + BCgBSgHvAfMeAAH/AbwCEAFtAfEB/wT0Av8BkgETARAB9wHwBrwB8AHxAfMB9AP/AfQB8gHwCbwB8AHy + AfQC/wgAAf8CAAH/EgAC/xQAAf8CAAH/CQABFAMAAZIBByC8AQcB8AH/HgAC/wHwAVABVwNQAXgCcwR4 + ARwSUAUoAVABSgEHAfQGAAL/DwAB/wLzAv8B9AHsAQ4BFAHvBPMD9AH/AfMB7AETARAB9wHwB7wB8AHx + AfMD/wH0AfMB8Aq8AfEB9AL/CAAB/wIAAf8oAAH/AgAB/wkAAUMCAAFtQAAC/wHzAQcB7AFJAVcDUANR + AXMEeAGYElACIQQoAVABSgHwAf8BAAH/AfQB8wHyAbwB8AH/DQAB/wH3AhIB7wG8AW0BDgFtAfAB8gXx + AfAB8wH/AfAB7AEUAUMB7wHwCLwB8AHxAfMC/wH0AfMB8QLwAfEB8Aa8AfEB8wL/CAAB/wIAAf8oAAH/ + AgAB/wkAAQ4CAAHsBAAB9AHxAbwBBxC8AQcBvAHwAfMjAAH/Ae8B6wESASgBLgFXA1ABUQFQAlEFeAGZ + AXMSUAIhAygBSQFQAZIB9AHxAe8B7AHrAlAB9wH/DQABkgEPAREBDwIAAQ4B7AHyBAcCvAHwAQcB8gH/ + Ae8B6wEVARQLvAHwAfEB8wH0A/MB8gEHAe0B7wHwBbwB8AHyAv8IAAH/AgAB/w0AAbwBkgHzBgAB8wH3 + AbwPAAH/AgAB/wkAARACAAHtAgAB8QFtGAABFAEHAf8fAAH0AewBSQMhAVABVwRQA1EBVwR4AZgBeBFQ + AVYBUAEhAygBSQJQAXIBSQEoBFABSgHzDAAB9AEPAUMBRgESAesB7AHvAfEDvAHwAfEC8gPzAfIB7QHr + AREBbQHxC7wB8AHyAvMB8QH3AW0BEQIQAZIB8AS8AfAB8gH0Av8HAAH/AgAB/wwAAfADAAH0BAAB9AMA + AfAOAAH/AgAB/wkAAfIB6gHrAfQBAAEHHAABEwHzHgABBwLDARwBSQEoAVECUAFRAlADUQFXAngCcwJ4 + ElABVwFQASECKAFKCigB7wH/CwAB8wEPAUQBbwH3AeoBBwHwAgcDvALwAvEB8gHzAQcB7AFtARAB7QHy + CLwD8AG8AQcB7QFtAUMBEAFDARQBEgEQARMBBwHwAbwC8AHxAfMD/wcAAf8CAAH/DAAB7AMAAfAEAAHw + AwAB7A4AAf8CAAH/DQAB8h8AAfIdAAEcAZ8BmQHDAXgIUAFRAVcBUQFQAVEEeAFRElABVgIoAUkBKAMh + ASICKAEhAygBbQH/CwAB/wHsAQ8CbQG8AfcB7wQHArwC8AHxAfIB8QGSAewBEwFDAbwB8gHwBbwC8QEH + AfcB6wETAREBDwFDARQBEgHsAosBEgEPAZIB8QHwAfEB8gHzAfQC/wgAAf8CAAH/DAAB9AIAAeoB/wQA + Af8BEgIAAfQOAAH/AgAB/w0AARQgAAHzHAABcwGgAXgBmQF4A1ABUQRQAVECUAFXBHgBmQF5AlcBURFQ + ASgCIQIoAU8CUAEoAyEBKAFyDQAB8wEPAesBkgG8AQcBkgHvBAcCvALwAfEBBwLsARABEgLzAfEB8AK8 + AfIB8AHvAW0BEAEPAQ4BDwETAW0BrgGRAYsBrQGLAawB7AERAW0C8wL0BP8IAAH/AgAB/w0AAfQB8gH/ + BgAB/wHyAfQPAAH/AgAB/wwAAfMhAAEOAfQbAAEHAZkBnwF4AZkBVwJQAVEDUAFRAlACVwN4BHMBUAJX + AVEYUAEoAyEB9AwAAf8B7wEOAewB7wHtAe8BBwH3Ae8EBwK8AfAB8QHtAewB6gEOAe0B9ALzAfEB8AEH + AewBQwIQAREBFAHqAesBiwGzAYsBrQGRAawBswGtAbMBEgERAfEG/wkAAf8CAAH/KAAB/wIAAf8MAAEH + IgABEAH/GwABvAF4AZ8BmQF4AlAEUQJQAlcBeAFXAVABSQEuASgB/wEAAfQBvAFzAlcVUAFKAVABLgIh + AfANAAHxAQ4BEwEHAe0B9wGSAe8BBwHvAfcEBwG8AfEB7wLsAUMBEAG8AfMC9AHzAfIB7AEQAUMBEwFt + AYsBkQGLAbMBiwGsAZABrAG0A7MB0wGuAREBkgEAAv8MAAH/AgAB/wgAAv8SAAL/CgAB/wIAAf8MAAH3 + IwABFQH/GwAB8wF4AZ8BeAFQBVEBUAJRAVcBUAFJASgBSQFQAe0FAAHwAVABVwFRFFABSgFQASgB7A0A + AfQBbQEOAu8B7QOSAfcCBwGSAe8CBwG8AQcC7AHqAQ4BEAHsAfAC9AH/AfMB6wEPAesDiwGtAYsBrAGR + Aa0BswGtAbIBtAGyAbQBsgGzARQBQwH/DgAB/wIAAf8HAAHxAQ4BEAHzEAAB8gIOAfEJAAH/AgAB/wwA + AZIGAAHsAQcIvAEHAesSAAHqHAAB/wEcAXkBcwFXA1ECUAFRAVcBUQJJA1ABvAYAAf8BcwFXAVETUAFK + AVABSQH/DAAB/wG8AQ4B7QHvAe0BkgHtApIB9wGSAgcBkgIHAfAB7QLsAxABDwEUAfEBAAL/AQcBDgET + AYsBrQGRAawBkQGtA7MBtAHTAbQBswG0AbMB1AFtAQ8BvA4AAf8CAAH/BgAB/wMAAQ4PAAH/AQ4DAAH/ + CAAB/wIAAf8MAAH3BAABEQHzDAAB8wHqEQAB7BwAAXMDeAFQAlcBUAFRAlcBUAFJBFAB8QcAAf8BcwFX + AVEUUAH0DQAB9AFtARQBvAHsAe0BkgHsAe0CkgL3AQcC7wHwAe8B7AGSAW0BFAESAeoBFQIQAbwC/wH0 + AeoBEQGuAawBkQGtArMB0wG0AbIBtAGyArMB1AG0AdMBkQEQAW0B/w0AAf8CAAH/BgAB/wEOAgABEw8A + Af8BFQIAAQ8B/wgAAf8CAAH/DAABBwQAAfMPAAHsEQAB6gH0GQAB/wN4AZkBVwFRBFcBUAFJBFABSQHx + CAAB/wFyAVcBURFQAW0B/w4AAfEBEQHsAZIB6wHtAZIB7ALtApIC9wHvAfEBBwLtAesBEgHqA20BFQEQ + AREBvAH0Af8B8AEQARIBrQGzAbQBswG0AdMDswG0AdQBtAHTAbQCswEUAQ4B8w0AAf8CAAH/BwAB8wHq + AW0B9BAAAfQCbQH0CQAB/wIAAf8MAAHxAwAB6hAAAf8BEREAAREB8RgAAf8DeAGZAXgBUQRXAVABSgVQ + AbwJAAH0AVABVw9QAigB7A8AAe0BFQHvAW0C7AH3AuwC7QKSAfcB8QEHA+0CEgJtAesB7AHqARMBEAEU + AfAC/wHrAUMBkQHTAbQBswG0AbMB1AGzAdMBtAHTAbMB1AHaAbQB2gHrAQABBw0AAf8CAAH/KAAB/wIA + Af8MAAH/AwABkhEAAfETAAHtAf8XAAFzAngBeQGZBVcHUAHvCgABBwFXAVEMUAFKAigBSQHrAf8NAAH/ + ARQB6gGSAW0B6wHsAfcB6wLsAe0B7AHtAfEBBwLtAu8B7AESAW0D7ANtAQ4BEgH0AQAB8AEQAeoBsgKz + AdQBtAHTAbQB1AG0AbMBuQGzAdkBugHaAZEBDgHtAf8MAAH/AgAB/wEAAfQCbQH0HAAB9AFtAeoB9AMA + Af8CAAP/CwABEgIAAewRAAH/AQ8TAAFDAfAVAAHzAXIBfQF4A3kEVwZQAVYB7AH/CQAB/wFQAVcBUQFQ + AVEJUAIhASgBTwHsAvQB/wsAAfMBDwLsAusB7AHvAesD7AHtAfEBvAKSAQcB9AHyAe8B7AFtAuwB7QJt + Ae0BEgEPAesB/wEHAQ8B7AGzAdQBtAHTAbQBswG5AbMB2gG0AdoBugHZAboB2gG6AUMB6gH0DAAB/wQA + AQ4CAAETAf8aAAH/ARECAAEPAf8DAAEPAQ4BbQIQAeoBvAkAAQcCAAFDEgAB6hUAAeoB8QYAAf8BBwHt + AZIBvAH/BQAB/wHtAUoDeAF5AXgBmQF4A1cGUAFXAUoB8AH/CQAB7wJXClABVgEoASEBKAJJAewB7wHw + AfMB9AH/CAABvAEPAZID6wHsAfcD7AHvAfIBBwHvAfcB7QG8AfQB/wHyAe8B7AHtApIC7AHtAewBEwEP + AewBFAESAe8BkQHTAbQB1AG6AbMB2gG6AdkBugHaAboB2gHbAdoB2wHqARUB8wwAAf8B9wFDAf8EAAEO + Af8aAAH/BAAB/wIAAf8BDwYAARIB/wcAAf8DAAHxEQAB6hcAAW0BBwH0Af8BAAHyAUMEAAEUAfMDAAH0 + AXMBeAF+AXkCVwF5AXgBeQF4A1cHUAFWAe0B9AkAAfMBUQFXAVEBUAFRB1ABVwFJASEEKAFJAXIB9wEH + AfIB9AcAAe8BEAHvA20C6wFtAewBvAHxAe8BBwH3AuwBkgHwAv8B7wGSAfcB7wH3AewB9wGSAuwBFAEO + ARAB7wETAW0B1AG5AbMB2gG6AdoBugHZAboB2gK6AdsBugHbAewBEQHwDgAC/wEAAfECDgHyHAAB8gEP + AQ4B8gMAAewBAAELAUUCRgFFAQ4BAAEUCAABkgIAAREB/w8AAf8BDxoAAQcB/wcAAQ4B/wIAAfMDVwF4 + AVcBUQJ4AXkCeAJXB1ABVwFQAbwB9AgAAf8BUAFXAVEBUAJRBlABVwFQBigBTwJQAewB8gcAAe8BEAEH + AewBEgFtAeoBbQH3AfMB8QEHAbwB7AHrAewB7QHsAe0BBwHvAfcD7wH3AZIBBwHvAZIB7QHsAQ4B7QHv + AUMBRAGzAdoBugHZAboB2gG6AdoD2wG7AdoBuwHbAfcBDwHvAf8KAAH/Ae0B8wQAAv8eAAL/AwAB8QEA + AQsBRwFNAkcBTQFHAQ4JAAH/AQ4CAAGSDwAB8RsAAfAB7wIAAW0B8wHyARICAAGSAwABUAFYAlcBeAFR + BXgBeQFXCFABVwHsAfEB9AgAAXMCVwFQA1EFUAFXAVACKAEhBCgBSQJQAfMHAAHwAQ8BkgHxAewB7QHv + AfEB8wG8Ae8B7AEVAQ8B7AOSAe0C9wLvAgcB7wMHAe8BkgHtAeoB7wFtAesB7QG0AdoBugHZAboB2gK6 + AdsBugHbAbsB2wEJAdsBuwFDAe0B/wkAAf8DAAH0KAAB6gEAAUUBTQFGAkcBRgFNAUUBAAETCAAB8QMA + Ae8NAAH/AREaAAEOAfMBEwEAAREDAAH/AQ8BAAEVAwABmAHlAVgBVwF5AlcBeQF4AXkBeAJ5AVcIUAFX + AewB8QHzAf8GAAFzAlcEUQVQAVcBUAEoASEFKAFJAVABSQH/BwAB/wFDARMBBwLyAfABBwHtAW0BFQFD + ARABQwGSBe8GBwLwAgcB7wH3AeoBEgEQAQ8BEAHsAdoBugHaA9sBuwHbAQkB2wEJAdsBCQHcAQkBFAHr + AfQJAAHqAwAB8ycAAf8BDgEAB0cBRgEAAQ4B/wgAAQcDAAHtAf8LAAHsGwABEAHzAREBAAFtBAABFAEA + AQ8DAAH0AZgBcwFXAVgBVwFRAXkBeAF5AngCeQlQAVYB7AEHAfIB9AH/BAABcwNXBFEEUAFXAVADIQUo + AVABcgkAAe8BDwFDAuoBFAERAQ8BQwFtAe8B6gEQAZIBBwHvAgcCvAEHAe8BBwG8AvEC8AG8AQcB7wFt + AREBQwHsAQABbQHaAdsBugHbAboB2wG7AdsBCQHbAwkB9wHsAREB7AH/CQAB8gIAARQB/ycAAf8BDgEA + AkcBRgRHAUYBAAEOAf8JAAHvAwABQwEHAf8HAAHzAW0dAAHzAW0BAAEOAfMCAAHyAgABEgYAAfQB8QJX + BXgBeQGfAXgBLwhQAVcBUAGSAQcB8QHzAfQB/wHzAVADVwVRBFABVwFQAUkBKAIhAygBTwEHCQAB/wEH + ARUCDgETAe0CkgHsAUMCDgETAQcC8AG8Ae8B7QHsAe8B8AHxAvAC8QHwAbwB7wESAW0BEAHsARUBEgG6 + AdsBuwHbAQkB2wG7AdsBGQEJAe8B6wEVAQ4BAAEVAfELAAHzAfEqAAHqAQABRQFNAUcBRgFHAUYBTQFF + AQABEwL/CQAB8AEOAwABEQHsAe8BvAHwAbwBBwHsEQAB6gHtAesBbQETAUMBDwEOBgAB7wHwAgABDgLv + AwABBwgAAZgBfgFXAXkBeAF5AngBeQGfAVABLwtQAXID7AFKBVcFUQRQA1cBUAMoAUkBKAH/CwAC/wHx + Ae8B7AETAQ8BEAEVAeoBEwEOARUEbQHsAe8BvAHwAvEC8APxAe8BbQHrARMCEAEVAboB2wEJAdsBCQG7 + AbwBkgHrARQBDwERAeoBkgHxAf8PAAHyAf8nAAHzAQABCwFHAU0CRwFNAUcBDgH0Af8MAAH0AewaAAHs + BQAD/wH0AfMB8gHxAfABBwHwAf8BEgYAAW0JAAH/A1cBeAJ5AXgBeQF+AXkPUAFPAVAGVwRRB1ACVwFQ + AigB7AoAAfQB8QEHAe0BEgIRARQBEgKuAYsBrgFDAQ4BFQFtAuwB9wHvAQcBvAHwAvEC8AHxAfABkgLt + AesBEQEPAREBuwHcAbwBtQHtAW0BFQERAUMB6wHvAfEB9AH/EAAB/wEAAfQo/wHrAQABCwFFAkYBRQEL + AQAB9A8AAfIB7QEOFQABEwG8EQAB/wHsAQ4CAAEOAZIB/woAAZgBfgFXAXkBeAF5AngBeQF+AXkNUAFJ + ASgBUQZXBFECUAFRB1ABVgEoAfMHAAH/AfEB7QFtAUMBDwFDARQBbQHrAYsBkQGtAZEBiwGtARICDwET + AuwB7QH3Ae8CBwLwAfEB8AHxAQcB7wEHAe8B7AHqAQ4BDwHtAewB6gERAQ8BEQHsAbwB8wL/EwAB9AEA + ARAnDwIRBwABEhIAAf8B8QHvAewB6gEUAUMBFQFDBgABDwITAeoB7AHvAfIVAAH0AvEB/wwAAf8BeAJX + A3kCeAF5AX4BeQFQAS8JUAFJASgBUAhXAlEBVwJQAVEHUAFWAUoHAAEHARACDgEQARMBbQKRAawBiwGs + AbMBrQGzAZEBrAGuAhABDgEVAuwB7QH3Ae8CBwHwAfEB8gG8AQcC8AEHAe8B7AEUAg4BAAEOAesBvAH/ + GAAB9AEAKg4BAAEPAeoBEAEPAeoBBxkAA/8GAAEHLAABBwF+AVcEeQJ4AXkCfgFRCFACKAFzAXkIVwNR + AlABUQhQAbwGAAHyAUMBEQEUAW0BrgGLAZEBrAGLAa0BswGLAa0BkAGyAbQCswETAQ4BEwFDARUB6wHs + Ae0B9wHvAQcCvAMHAfIB8QG8AQcB7wHsAUQBIgFDARAB9wH/GQAB9AEOKtsBDgEQAQAC/x4AAQcBEgIA + ARAB7AH/KwAB/wFzAeUCVwR5AngBeQF+AaABeARQAkkCUAF4AX4BeQF4CVcCUAFXAlABUQNXAVEBVwFJ + Af8GAAHyAUMBEwGuAa0BrgGtAZABiwGzAYsBswGRAawDswG0AbMB6wEOAewB7QEPARAD7APtAZIB9wK8 + Ae8B8QHyAbwBBwG7AUYB6QFGARABEgH0GQAB9AEOAtsB4QLbAeEE2wHhAtsB4QTbAeEC2wHhEtsB6AHb + Ag4B/yIAARUBAAG8LQABHAHlAVgBeQJXAX4DeQJ4AnkCfgNXAVEBVwF4AnkBeAF5AXgHVwFRAVcCUAFX + AVABKAFJAUoB7ANzAbwHAAH/AfcBEQFtAYoBswGLAbMBkQGsAbQBsgG0A7MB0wG0AbMBtAEVAREBFQEO + AewBBwHqARQBEwHrAuwB7wEHAvAB9wHwAfICvAFvAR8BAQEQARIB8xgAAf8CDgHbAeEBtAIPAbQD2wHo + AbQCDwG0AegC2wHoAbQCDwG0AegT2wEOAQ8B/yIAARUBAAG8LAAB9AFYAX4BWAJ5AVEBWAF+AnkBfgF5 + AngBeQF+AXkBWAZ5A3gBeQdXAVEBUAFXAVABSQIoAUkB7wH0CwAB8wFDARMBkAGtAZABsgGRA7MB0wG0 + AbIBtAHTArMB1AFtAQ8BEwHsAfMB6wERAg8BEgH3Ae0B7AHvAQcB8AHyAfcB8AHzARoBRgLpAQsBFAHy + GAAB/wIOAtsDAAEOBNsBDgIAAQ4E2wEOAgABDhTbAg4B/w8AAf8B7wHqAW0B6wLsAe0BkgLvAwcBvAHw + AfEB/wEAARUBAAG8AQAB8gLwAbwCBwLvAfcBkgPsAW0B6gHsAfQaAAH/AXgB5QFYAXkC5QJXAX4CeQF+ + AXkDeAJ5A1cFeAJ5AXgGVwJQAVcBUAFJAygBIQEHCwAB/wHtAREB7AGsBbMBtAHTAbQDswHUAbMB0wH3 + AesB9wHxAW0BDwFDAesB6gEOAREB7AKSAe8BBwLwAQcB8AHjAkYB6QFEAQ8BkgH/FwAB/wEPAQ4C2wEO + AgABDgTbAwABDgTbAQ4CAAEOFNsCDgH/DwABvBAAAeoBAAETAQAB8wHxEAABEhsAAfQBVwLlAVcBHAFX + AXkBVwF+A3kBfgJ5A3gEVwJ4AXkBeAJ5AXgEVwJQAVcBUQFQAUkDKAEnAbwLAAH/AfABQwHqA7MB0wG0 + AbMBtAGzAdQBswHUAbQB0wG6AdQBtAHrAfcBbQEPARUBvAH/AfQB7wEUAQ8BFAHsAvcBBwHwAbwBFgRG + AewBQwEUAfMXAAH/Ag4B2wHhAbQCDwG0AegC2wHoAbQCDwG0AegC2wHoAbQCDwG0AegT2wIOAf8PAAG8 + EAABEgEAARUBAAHyAfEQAAESHAAB8QF4AQcB9AEAAfEBeQF+AVcCfgh5AlcCeQR4AXkBmQF4AlcBUQFQ + AlcCUAFJBCgB/wwAAfQB6gFDAZEBsgG0AdMDswG0AdQBtAHZAboB1AG5AdoB1AHvAeoCDwHxAf8CAAH/ + AfMB7AIPARIBHAHvAZMB4wFHAekBTAFHAW8B7wESARABvBcAAf8CDgHbAegB4QLbAeEE2wHhAtsB4QTb + AeEC2wHhEtsB4QHbAQABDhAAAf8B9wESAW0B6wLsAe0BkgH3Au8CBwG8AvAB/wEAARUBAAHxAQAB8gHw + AbwDBwHvAfcBkgHtAuwB6wFtARIB7AH0IgAB8wF4AeUBVwF5AX4IeQF4AVcGeAF5AZkBeAFRAVABUQJX + AlABSQMoAe8OAAHvAQAB6wHUAbQBswHUAbMB2QG0AdMBugHUAroB2gG6AdkB7AEPAUMB9AcAAfIBQwEP + BkYCFwHwAQcBbQEQAe8YAAFtAQABbCjbAWwBAAHrEgAC9AT/CwABvAHsAf8KAAX/AfQB/yQAAf8BHAF5 + AlcCfgh5AlcEeAJ5AXgBUAJXAVECVwFQAUkDKAH/DgAB8wEOARIBswHUAbQB1AG0AdkBugO5AdoBugHa + AboB2QG0AREB9wkAAQcBEAEeAR8BAQHpA0YBBwHyAe8BbQEPAQccACYOAgABDl4AAXgB5QNXAXkCfgZ5 + AXgBVwF4AnkBeAFQAXgBmQFXAVEBVwFRAVcBUQMoAe0PAAH/AW0BQwGRAdkBugHUAboB2gHbAboB2gG6 + AdoBugHbAbsB2gG6ARQB6wkAAfQBEgFEAUYBAQEfAUUBRgGTAbwBBwHvARMBQwHzGgAB7AERAQ4BDwIO + AQ8BDgEPAg4BDwEOAQ8CDgEPAQ4BDwIOAQ8BDgEPAg4BDwEOAQ8CDgEPAQ4BDwIOAQ8BDgEPAQ4BEAHs + XwABeAHlAX4BeQRXAXgGeQF4BFcBeQOfAVcBUQFXAVEBVwFQAigB9BAAAQcBDwHsAdQBugG5AdoBuQHa + AboB2gG7AdoBuwHbAbsB2wG6ARIBFQH/CAAB/wHvARABEQEQAREBFQFtAewBkgHtAeoBDwHsAf8bACf/ + YQABeAHlA34BeQFXAn4BeQF4AVcEeAFXAXgCeQF4AVAB7wF5AaABVwFQAVECVwFQAXIRAAH0AQ8BbQGz + AdsBugHaAboB2gG7AdsBuwHaAdwB2wHcAQkB2wHrAQ8B9AkAAf8BkgMQAg8BQwEVAREBDgESAfOkAAEc + AeUCfgHlAVEBkgEHAXgCVwF5A3gCeQFzAVABSQEoAQcBAAHzARwBwwF4AlABVwFQAfMSAAHqARQBtAHa + AboB2gG7AdoBuwHbAdwB2wPcAQkB2wHsAQ8B8AsAAv8B8wGSAW0CFAESAewB9KUAARwC5QJ+AXMDAAH/ + AfMBeAHlBHkBKAEhASgBUAMAAf8B7wKfAVcBUAHwEwABkgFDAbQB2gG7AdsBuwHbAdwB2wHcAQkB3AEJ + AbsB7wHrARMBEAHyDgAB/wH0AvIB9AH/pgAB/wEHAXgB5QFzAf8FAAHzAnkCeAF+AUoBKAFJAfMFAAHy + ARwBcwH0FAABvAERAe0B2gEJAdsBCQLbAgkBvAGSAesBFAIPARQBBwH/vAAB9AEHAfQHAAFzAeUCeAF+ + AVABKAEcHgAB8gFDAewB2wHcAdsB3AIJAe8B6wEVAQ4BAAERAe0B8gH/yAAB9AFXAX4BVwF+AVcBKAH/ + HgAB9AEUAW0B3AEJAQcB7QHrARQBEAERAeoBkgHxAf/MAAEHA34BVwHwHwAB9AFtARIB9wHqARUBEAFD + AewBBwHxAfTQAAHxArwB8SAAAf8BkgEQAQ8BEQHsAbwB8wL/9wAB/wK8Af+2AAFCAU0BPgcAAT4DAAEo + BAABAQIAAYADAAEBAQABAQYAARAWAAP//wD/AP8A/wD/AP8A/wD/AAkAI/8B4AE/B/8BgAF/FP8B/AEA + AT8H/wEAAX8U/wH4AQABPwb/AfwBAAE/FP8B8AEAAT8G/wH4AQABPxT/AdABAAEfAcEE/wH+AgABPxP/ + AfACAAEeAQABfwP/AfwCAAE/E/8BwAIAARwBAAE/A/8B/AIAAT8B/AEfEf8BgAQAAX8D/wH8AgABPwHA + AQ8R/wUAAX8D/wH8AgABfAEAAQ8Q/wH+BQABfwP/AfwCAAF4AQABDxD/Af4FAAT/AfgCAAHwAQABBwH/ + AeABAAEfAcABAAE/Cv8FAAT/AfgCAAFgAQABBwH/AcABAAEYAcABAAEHAf8B4AQAAX8D/wQAAQEE/wHw + BAABAwH/AYABAAEQAgABAwH/AYAEAAE/A/8BgAMAAQEE/wHAAgABEAEAAQMB/wIAASABQAEAAQMB/wUA + AT8D/wGABAABfwP/AYACAAEIAQABAwH+AT8B/wHwAv8B8wH/BQABPwP/AcAEAAF/Av8B/gUAAQEB/gEf + Af8B+QL/AeEB/wUAAX8C/wH+BQACPwH/AYAFAAEBAf4BHwT/AeEB/wEPB/8B8AUAARABHwH/BgABAQH+ + AR8E/wHhAf8BDwMABP8B4AYAAR8B/wYAAQEB/gEfAf8BHwGPAf8B4QH/AQwDAAEfA/8BwAYAAR8B/gcA + Af4BHwH+AQ8BBwH/AeEB/wEIAwABDwP/AcAGAAEPAf4HAAH+AR8B/gEPAQcB/wHhAf8B8AMAAQcD/wHA + BgABDwH+BgABAQH+AR8B/gEPAQcB/wHhAf8B8AMAAQMD/wHABgABHwH/BgABAQH+AR8B/wEfAY8B/wHh + Af8B4AMAAQED/wHABgABHwH+BgABAwH+AR8E/wHhAf8B4AQAA/8B4AIAAUADAAE/Af4GAAGfAf4BHwHn + Af8B/gF/AeEB/wHgBAABfwL/AfACAAH4AwABfwH8BgABfwH+AR8BwwH/AfwBPwHhAf8B4AQAAX8C/wH4 + AgAB/AMAAX8B+AMAAYACAAF/Af4BHwGDAf8B+AEfAeEB/wHgAT8B/AIAAT8C/wH8AgAB/gMAAf8B+AYA + AT8B/gEfAYMB/wH4AR8B4QH/AeABfwH/AgABDwL/AfgCAAH/AgABAQH/AfgGAAE/Af4BHwHDAf8B/AE/ + AeEB/wHgAv8CAAEHAv8B+AIAAf8BgAEAAQMB/wH4BgABPwH+AR8E/wHhAf8B4AL/AYABAAEBAv8B/AIA + Af8BwAEAAQEB/wHwAwABCAIAAR8B/gEQA/8B8AHgAX8B8AL/AYACAAL/AfgCAAF/AcACAAF/AfAGAAEf + Af4BMAF/Av8B4AFwAR8B8AL/AcACAAE/AQMB4AIAAT8B4AIAAQ8B8AYAAR8B/gEQAX8C/wHgAWABBwHw + AX8B/wHAAgABAgEBAcACAAE/AeACAAEHAfAGAAEfAf8BkAP/AfAB4AEHAfgBPwH/AYAEAAHAAgABHwHg + AgABBwHwBgABDwH8AXkD/wH5AcABBwH4AT8B/wGABAAB4AIAAQ8B8AIAAQcB8AYAAQ8B+AE/BP8BwAED + AfwBHwH/BAABcAHgAgABAwHwAgABBwHwBgABDwH4AT8E/wGAAQEB/gEHAf8EAAF4AeADAAHwAgABDwH4 + BgABDwH4AT8E/wGAAQEB/wEBAfwEAAEwAfwGAAEPAfgGAAEfAfwF/wHAAQAB/wGABgAB/wYAAQ8B/gYA + AT8B/wGfBP8BwAEDAf8BwAIAAQEB8AEAAQEB/wYAAR8B+AYAAv8GAAEHAf8B8AIAAQMB/wH+AQEB/wGA + BQABHwHABQABBwL/BgABDwH/AfwCAAEPAv8BhwH/AYAFAAE/AYAFAAP/BgABHwL/AfABAwX/AcAFAAE/ + BQABAQP/BQABAgF/Av8B/gEDBf8BgAUAAT8FAAEBA/8FAAEBBP8BjwX/AYAFAAF/BQABAQL/Af4FAAEB + BP8BjwX/BQABAwH/AYAEAAEBAv8B/gUAAQEB/wH8AgABiAEAAQMD/wUAAQMB/wGABQAC/wH+BQABAQH/ + AfwCAAGAAQABAwP/AYAEAAEDAf8BgAUAAv8B/gUAAQEB/wH8AgABgAEAAQMD/wHCBAABAwH/AcACAAEY + AgAC/wH+BQABAwH/AfwCAAGIAQABAwT/BAABBwH/AeACAAF/AgAD/wUAAQMC/wEDAf8BjwH8AQcE/wGA + AwABBwH/AeACAAH/AYABAAP/AYAEAAEHC/8B4AMAAQ8B/wHgAgAB/wGAAQAD/wHABAABDwv/AeADAAEP + Af8B8AIAAX8BgAEAA/8B4AQAAT8L/wHgAwABHwH/AfACAAF/AcABART/AeACAAFAAR8B/wH4AgABfwHw + AQMU/wHgAXABAAHgAT8B/wH4AgABfwH+AQcU/wHgAXwBAAH4AX8B/wH4AgABfxb/AfgB/gEBA/8B+AEA + AQEY/wH+AQED/wH4AQABDxn/AQMD/wH4AQABfxn/AYcD/wH4AQEe/wH8AT8W/ws= + + + + True + 391, 18 - - 1167, 18 + + True - 25 + 61 diff --git a/SourceCode/GPS/Forms/FormJob.Designer.cs b/SourceCode/GPS/Forms/FormJob.Designer.cs index 0e75a7da0..0fd3c2495 100644 --- a/SourceCode/GPS/Forms/FormJob.Designer.cs +++ b/SourceCode/GPS/Forms/FormJob.Designer.cs @@ -47,10 +47,10 @@ private void InitializeComponent() this.btnJobOpen.Font = new System.Drawing.Font("Tahoma", 20.25F); this.btnJobOpen.Image = global::AgOpenGPS.Properties.Resources.FileOpen; this.btnJobOpen.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnJobOpen.Location = new System.Drawing.Point(45, 384); + this.btnJobOpen.Location = new System.Drawing.Point(45, 369); this.btnJobOpen.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); this.btnJobOpen.Name = "btnJobOpen"; - this.btnJobOpen.Size = new System.Drawing.Size(305, 84); + this.btnJobOpen.Size = new System.Drawing.Size(305, 99); this.btnJobOpen.TabIndex = 3; this.btnJobOpen.Text = "Open"; this.btnJobOpen.TextAlign = System.Drawing.ContentAlignment.MiddleRight; @@ -62,10 +62,10 @@ private void InitializeComponent() this.btnJobNew.Font = new System.Drawing.Font("Tahoma", 20.25F); this.btnJobNew.Image = global::AgOpenGPS.Properties.Resources.FileNew; this.btnJobNew.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnJobNew.Location = new System.Drawing.Point(45, 264); + this.btnJobNew.Location = new System.Drawing.Point(45, 242); this.btnJobNew.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); this.btnJobNew.Name = "btnJobNew"; - this.btnJobNew.Size = new System.Drawing.Size(305, 77); + this.btnJobNew.Size = new System.Drawing.Size(305, 99); this.btnJobNew.TabIndex = 2; this.btnJobNew.Text = "New"; this.btnJobNew.TextAlign = System.Drawing.ContentAlignment.MiddleRight; @@ -78,9 +78,9 @@ private void InitializeComponent() this.btnDeleteAB.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); this.btnDeleteAB.ForeColor = System.Drawing.SystemColors.ControlText; this.btnDeleteAB.Image = global::AgOpenGPS.Properties.Resources.Cancel64; - this.btnDeleteAB.Location = new System.Drawing.Point(129, 504); + this.btnDeleteAB.Location = new System.Drawing.Point(95, 504); this.btnDeleteAB.Name = "btnDeleteAB"; - this.btnDeleteAB.Size = new System.Drawing.Size(127, 85); + this.btnDeleteAB.Size = new System.Drawing.Size(189, 85); this.btnDeleteAB.TabIndex = 4; this.btnDeleteAB.TextAlign = System.Drawing.ContentAlignment.BottomCenter; // @@ -89,10 +89,10 @@ private void InitializeComponent() this.btnJobResume.Font = new System.Drawing.Font("Tahoma", 20.25F); this.btnJobResume.Image = global::AgOpenGPS.Properties.Resources.FilePrevious; this.btnJobResume.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btnJobResume.Location = new System.Drawing.Point(45, 139); + this.btnJobResume.Location = new System.Drawing.Point(45, 116); this.btnJobResume.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); this.btnJobResume.Name = "btnJobResume"; - this.btnJobResume.Size = new System.Drawing.Size(305, 76); + this.btnJobResume.Size = new System.Drawing.Size(305, 99); this.btnJobResume.TabIndex = 1; this.btnJobResume.Text = "Resume"; this.btnJobResume.TextAlign = System.Drawing.ContentAlignment.MiddleRight; @@ -197,7 +197,7 @@ private void InitializeComponent() this.Name = "FormJob"; this.ShowIcon = false; this.ShowInTaskbar = false; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Start a field"; this.Load += new System.EventHandler(this.FormJob_Load); this.ResumeLayout(false); diff --git a/SourceCode/GPS/Forms/FormMakeBndCon.Designer.cs b/SourceCode/GPS/Forms/FormMakeBndCon.Designer.cs index 90565dccc..ed9d7803f 100644 --- a/SourceCode/GPS/Forms/FormMakeBndCon.Designer.cs +++ b/SourceCode/GPS/Forms/FormMakeBndCon.Designer.cs @@ -42,7 +42,7 @@ private void InitializeComponent() // this.nudPass.BackColor = System.Drawing.Color.AliceBlue; this.nudPass.Font = new System.Drawing.Font("Tahoma", 48F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.nudPass.Location = new System.Drawing.Point(19, 69); + this.nudPass.Location = new System.Drawing.Point(37, 69); this.nudPass.Maximum = new decimal(new int[] { 9, 0, @@ -54,7 +54,7 @@ private void InitializeComponent() 0, 0}); this.nudPass.Name = "nudPass"; - this.nudPass.Size = new System.Drawing.Size(138, 85); + this.nudPass.Size = new System.Drawing.Size(120, 85); this.nudPass.TabIndex = 5; this.nudPass.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.nudPass.Value = new decimal(new int[] { @@ -70,7 +70,7 @@ private void InitializeComponent() this.lblHz.BackColor = System.Drawing.Color.Transparent; this.lblHz.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold); this.lblHz.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.lblHz.Location = new System.Drawing.Point(43, 38); + this.lblHz.Location = new System.Drawing.Point(34, 38); this.lblHz.Name = "lblHz"; this.lblHz.Size = new System.Drawing.Size(84, 25); this.lblHz.TabIndex = 250; @@ -79,25 +79,22 @@ private void InitializeComponent() // btnOk // this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.btnOk.BackColor = System.Drawing.Color.Transparent; - this.btnOk.FlatAppearance.BorderSize = 0; - this.btnOk.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnOk.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold); this.btnOk.Image = global::AgOpenGPS.Properties.Resources.OK64; - this.btnOk.Location = new System.Drawing.Point(363, 372); + this.btnOk.Location = new System.Drawing.Point(341, 361); this.btnOk.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4); this.btnOk.Name = "btnOk"; this.btnOk.Size = new System.Drawing.Size(129, 80); this.btnOk.TabIndex = 1; this.btnOk.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnOk.UseVisualStyleBackColor = false; + this.btnOk.UseVisualStyleBackColor = true; this.btnOk.Click += new System.EventHandler(this.BtnOk_Click); // // nudSpacing // this.nudSpacing.BackColor = System.Drawing.Color.AliceBlue; this.nudSpacing.Font = new System.Drawing.Font("Tahoma", 48F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.nudSpacing.Location = new System.Drawing.Point(19, 246); + this.nudSpacing.Location = new System.Drawing.Point(30, 246); this.nudSpacing.Maximum = new decimal(new int[] { 4000, 0, @@ -109,11 +106,11 @@ private void InitializeComponent() 0, 0}); this.nudSpacing.Name = "nudSpacing"; - this.nudSpacing.Size = new System.Drawing.Size(179, 85); + this.nudSpacing.Size = new System.Drawing.Size(166, 85); this.nudSpacing.TabIndex = 252; this.nudSpacing.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.nudSpacing.Value = new decimal(new int[] { - 50, + 20, 0, 0, 0}); @@ -134,30 +131,25 @@ private void InitializeComponent() // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.btnCancel.BackColor = System.Drawing.Color.Transparent; this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.btnCancel.FlatAppearance.BorderSize = 0; - this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCancel.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnCancel.ForeColor = System.Drawing.SystemColors.ControlText; this.btnCancel.Image = global::AgOpenGPS.Properties.Resources.Cancel64; - this.btnCancel.Location = new System.Drawing.Point(247, 371); + this.btnCancel.Location = new System.Drawing.Point(225, 360); this.btnCancel.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(91, 81); this.btnCancel.TabIndex = 2; this.btnCancel.TextAlign = System.Drawing.ContentAlignment.BottomCenter; - this.btnCancel.UseVisualStyleBackColor = false; this.btnCancel.Click += new System.EventHandler(this.BtnCancel_Click); // // FormMakeBndCon // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 19F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.BackColor = System.Drawing.SystemColors.Control; this.BackgroundImage = global::AgOpenGPS.Properties.Resources.MakeBoundaryContour; this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; - this.ClientSize = new System.Drawing.Size(501, 461); + this.ClientSize = new System.Drawing.Size(484, 461); this.ControlBox = false; this.Controls.Add(this.btnCancel); this.Controls.Add(this.label1); diff --git a/SourceCode/GPS/Forms/FormNtrip.Designer.cs b/SourceCode/GPS/Forms/FormNtrip.Designer.cs index 628eb26b8..a469fdfe8 100644 --- a/SourceCode/GPS/Forms/FormNtrip.Designer.cs +++ b/SourceCode/GPS/Forms/FormNtrip.Designer.cs @@ -236,27 +236,21 @@ private void InitializeComponent() // btnSerialCancel // this.btnSerialCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.btnSerialCancel.BackColor = System.Drawing.Color.Transparent; this.btnSerialCancel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.btnSerialCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.btnSerialCancel.FlatAppearance.BorderSize = 0; - this.btnSerialCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSerialCancel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSerialCancel.Image = global::AgOpenGPS.Properties.Resources.Cancel64; - this.btnSerialCancel.Location = new System.Drawing.Point(860, 426); + this.btnSerialCancel.Location = new System.Drawing.Point(910, 436); this.btnSerialCancel.Name = "btnSerialCancel"; - this.btnSerialCancel.Size = new System.Drawing.Size(138, 76); + this.btnSerialCancel.Size = new System.Drawing.Size(88, 76); this.btnSerialCancel.TabIndex = 95; - this.btnSerialCancel.UseVisualStyleBackColor = false; + this.btnSerialCancel.UseVisualStyleBackColor = true; // // btnSerialOK // this.btnSerialOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.btnSerialOK.BackColor = System.Drawing.Color.Transparent; this.btnSerialOK.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.btnSerialOK.DialogResult = System.Windows.Forms.DialogResult.OK; - this.btnSerialOK.FlatAppearance.BorderSize = 0; - this.btnSerialOK.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSerialOK.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnSerialOK.ForeColor = System.Drawing.SystemColors.ControlText; this.btnSerialOK.Image = global::AgOpenGPS.Properties.Resources.OK64; @@ -265,7 +259,7 @@ private void InitializeComponent() this.btnSerialOK.Size = new System.Drawing.Size(138, 76); this.btnSerialOK.TabIndex = 94; this.btnSerialOK.TextAlign = System.Drawing.ContentAlignment.TopLeft; - this.btnSerialOK.UseVisualStyleBackColor = false; + this.btnSerialOK.UseVisualStyleBackColor = true; this.btnSerialOK.Click += new System.EventHandler(this.btnSerialOK_Click); // // label7 diff --git a/SourceCode/GPS/Forms/FormSimCoords.Designer.cs b/SourceCode/GPS/Forms/FormSimCoords.Designer.cs index 3ebfbd8a5..297c64114 100644 --- a/SourceCode/GPS/Forms/FormSimCoords.Designer.cs +++ b/SourceCode/GPS/Forms/FormSimCoords.Designer.cs @@ -268,7 +268,7 @@ private void InitializeComponent() // this.btnLoadGPSFix.BackColor = System.Drawing.Color.AliceBlue; this.btnLoadGPSFix.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); - this.btnLoadGPSFix.Image = global::AgOpenGPS.Properties.Resources.GPSSignalGood; + this.btnLoadGPSFix.Image = global::AgOpenGPS.Properties.Resources.Satellite64; this.btnLoadGPSFix.ImageAlign = System.Drawing.ContentAlignment.TopCenter; this.btnLoadGPSFix.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.btnLoadGPSFix.Location = new System.Drawing.Point(774, 154); diff --git a/SourceCode/GPS/Forms/FormWebCam.Designer.cs b/SourceCode/GPS/Forms/FormWebCam.Designer.cs index 621464e47..b48e294aa 100644 --- a/SourceCode/GPS/Forms/FormWebCam.Designer.cs +++ b/SourceCode/GPS/Forms/FormWebCam.Designer.cs @@ -29,8 +29,8 @@ protected override void Dispose(bool disposing) private void InitializeComponent() { this.comboBox1 = new System.Windows.Forms.ComboBox(); - this.webCameraControl1 = new WebEye.Controls.WinForms.WebCameraControl.WebCameraControl(); this.stopButton = new System.Windows.Forms.Button(); + this.webCameraControl1 = new WebEye.Controls.WinForms.WebCameraControl.WebCameraControl(); this.startButton = new System.Windows.Forms.Button(); this.SuspendLayout(); // @@ -46,17 +46,6 @@ private void InitializeComponent() this.comboBox1.TabIndex = 11; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged_1); // - // webCameraControl1 - // - this.webCameraControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.webCameraControl1.BackColor = System.Drawing.SystemColors.AppWorkspace; - this.webCameraControl1.Location = new System.Drawing.Point(0, 0); - this.webCameraControl1.Name = "webCameraControl1"; - this.webCameraControl1.Size = new System.Drawing.Size(398, 229); - this.webCameraControl1.TabIndex = 10; - // // stopButton // this.stopButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); @@ -72,6 +61,17 @@ private void InitializeComponent() this.stopButton.UseVisualStyleBackColor = true; this.stopButton.Click += new System.EventHandler(this.stopButton_Click_1); // + // webCameraControl1 + // + this.webCameraControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.webCameraControl1.BackColor = System.Drawing.SystemColors.AppWorkspace; + this.webCameraControl1.Location = new System.Drawing.Point(0, 0); + this.webCameraControl1.Name = "webCameraControl1"; + this.webCameraControl1.Size = new System.Drawing.Size(398, 229); + this.webCameraControl1.TabIndex = 10; + // // startButton // this.startButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); diff --git a/SourceCode/GPS/Forms/FormYouTurn.Designer.cs b/SourceCode/GPS/Forms/FormYouTurn.Designer.cs index aeb09d911..32d200f89 100644 --- a/SourceCode/GPS/Forms/FormYouTurn.Designer.cs +++ b/SourceCode/GPS/Forms/FormYouTurn.Designer.cs @@ -1583,7 +1583,7 @@ private void InitializeComponent() this.btnDistanceDn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.btnDistanceDn.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnDistanceDn.Image = global::AgOpenGPS.Properties.Resources.DnArrow64; - this.btnDistanceDn.Location = new System.Drawing.Point(688, 512); + this.btnDistanceDn.Location = new System.Drawing.Point(777, 512); this.btnDistanceDn.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.btnDistanceDn.Name = "btnDistanceDn"; this.btnDistanceDn.Size = new System.Drawing.Size(59, 69); @@ -1612,7 +1612,7 @@ private void InitializeComponent() this.btnDistanceUp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.btnDistanceUp.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnDistanceUp.Image = global::AgOpenGPS.Properties.Resources.UpArrow64; - this.btnDistanceUp.Location = new System.Drawing.Point(788, 512); + this.btnDistanceUp.Location = new System.Drawing.Point(681, 512); this.btnDistanceUp.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.btnDistanceUp.Name = "btnDistanceUp"; this.btnDistanceUp.Size = new System.Drawing.Size(59, 69); @@ -1659,7 +1659,7 @@ private void InitializeComponent() this.btnTriggerDistanceDn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.btnTriggerDistanceDn.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnTriggerDistanceDn.Image = global::AgOpenGPS.Properties.Resources.DnArrow64; - this.btnTriggerDistanceDn.Location = new System.Drawing.Point(359, 512); + this.btnTriggerDistanceDn.Location = new System.Drawing.Point(459, 512); this.btnTriggerDistanceDn.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.btnTriggerDistanceDn.Name = "btnTriggerDistanceDn"; this.btnTriggerDistanceDn.Size = new System.Drawing.Size(59, 69); @@ -1672,7 +1672,7 @@ private void InitializeComponent() this.btnTriggerDistanceUp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.btnTriggerDistanceUp.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnTriggerDistanceUp.Image = global::AgOpenGPS.Properties.Resources.UpArrow64; - this.btnTriggerDistanceUp.Location = new System.Drawing.Point(459, 512); + this.btnTriggerDistanceUp.Location = new System.Drawing.Point(363, 512); this.btnTriggerDistanceUp.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.btnTriggerDistanceUp.Name = "btnTriggerDistanceUp"; this.btnTriggerDistanceUp.Size = new System.Drawing.Size(59, 69); @@ -1732,7 +1732,7 @@ private void InitializeComponent() this.btnGeoFenceDistanceDn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.btnGeoFenceDistanceDn.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnGeoFenceDistanceDn.Image = global::AgOpenGPS.Properties.Resources.DnArrow64; - this.btnGeoFenceDistanceDn.Location = new System.Drawing.Point(40, 512); + this.btnGeoFenceDistanceDn.Location = new System.Drawing.Point(141, 512); this.btnGeoFenceDistanceDn.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.btnGeoFenceDistanceDn.Name = "btnGeoFenceDistanceDn"; this.btnGeoFenceDistanceDn.Size = new System.Drawing.Size(59, 69); @@ -1745,7 +1745,7 @@ private void InitializeComponent() this.btnGeoFenceDistanceUp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.btnGeoFenceDistanceUp.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnGeoFenceDistanceUp.Image = global::AgOpenGPS.Properties.Resources.UpArrow64; - this.btnGeoFenceDistanceUp.Location = new System.Drawing.Point(137, 512); + this.btnGeoFenceDistanceUp.Location = new System.Drawing.Point(45, 512); this.btnGeoFenceDistanceUp.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.btnGeoFenceDistanceUp.Name = "btnGeoFenceDistanceUp"; this.btnGeoFenceDistanceUp.Size = new System.Drawing.Size(59, 69); diff --git a/SourceCode/GPS/Forms/Form_About.Designer.cs b/SourceCode/GPS/Forms/Form_About.Designer.cs index 55b2f0b7f..3f3c7b5c6 100644 --- a/SourceCode/GPS/Forms/Form_About.Designer.cs +++ b/SourceCode/GPS/Forms/Form_About.Designer.cs @@ -125,7 +125,7 @@ private void InitializeComponent() // this.button1.DialogResult = System.Windows.Forms.DialogResult.OK; this.button1.Image = global::AgOpenGPS.Properties.Resources.OK64; - this.button1.Location = new System.Drawing.Point(619, 377); + this.button1.Location = new System.Drawing.Point(619, 376); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(110, 70); this.button1.TabIndex = 10; @@ -196,9 +196,9 @@ private void InitializeComponent() // this.label11.AutoSize = true; this.label11.Font = new System.Drawing.Font("Tahoma", 11.25F); - this.label11.Location = new System.Drawing.Point(14, 227); + this.label11.Location = new System.Drawing.Point(32, 217); this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(268, 198); + this.label11.Size = new System.Drawing.Size(308, 216); this.label11.TabIndex = 32; this.label11.Text = resources.GetString("label11.Text"); // diff --git a/SourceCode/GPS/Forms/Form_About.resx b/SourceCode/GPS/Forms/Form_About.resx index 1af7de150..92d4e62ea 100644 --- a/SourceCode/GPS/Forms/Form_About.resx +++ b/SourceCode/GPS/Forms/Form_About.resx @@ -117,4 +117,17 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Andreas Ortner, Austria +Wilhelm Eder, Germany +MTZ8302, Germany +Kevin Bouwman, USA +Petar Starcev Serbia, Novi Sad +Ray Bear - AutoAuto +Daniel P - Multi Curve +Maxime Emprou - Languages and Code +Giianluca Ravazzolo - Italian Translation +Travis Martin - Switch and Github +And many others, Thank You so much! + \ No newline at end of file diff --git a/SourceCode/GPS/Forms/GUI.Designer.cs b/SourceCode/GPS/Forms/GUI.Designer.cs index 2411a3b70..2b4526252 100644 --- a/SourceCode/GPS/Forms/GUI.Designer.cs +++ b/SourceCode/GPS/Forms/GUI.Designer.cs @@ -81,7 +81,7 @@ private void LoadGUI() //area side settings isAreaOnRight = Settings.Default.setMenu_isAreaRight; - //toolStripMenuAreaSide.Checked = isAreaOnRight; + toolStripMenuAreaSide.Checked = isAreaOnRight; //set up grid and lightbar isGridOn = Settings.Default.setMenu_isGridOn; @@ -106,41 +106,29 @@ private void LoadGUI() simulatorOnToolStripMenuItem.Checked = Settings.Default.setMenu_isSimulatorOn; if (simulatorOnToolStripMenuItem.Checked) { - panelSim.Visible = true; + panelSimControls.Visible = true; timerSim.Enabled = true; } else { - panelSim.Visible = false; + panelSimControls.Visible = false; timerSim.Enabled = false; } LineUpManualBtns(); + tabControl1.SelectedIndex = 2; yt.rowSkipsWidth = Properties.Vehicle.Default.set_youSkipWidth; cboxpRowWidth.SelectedIndex = yt.rowSkipsWidth - 1; //default to come up in mini panel, exit remembers + SwapBatmanPanels(); SwapBatmanPanels(); if (Properties.Settings.Default.setAS_isAutoSteerAutoOn) btnAutoSteer.Text = "A"; else btnAutoSteer.Text = "M"; - cboxTramPassEvery.Text = Properties.Vehicle.Default.setTram_Skips.ToString(); - ABLine.tramPassEvery = Properties.Vehicle.Default.setTram_Skips; - cboxTramBasedOn.Text = Properties.Vehicle.Default.setTram_BasedOn.ToString(); - ABLine.passBasedOn = Properties.Vehicle.Default.setTram_BasedOn; - - panelSnap.Location = Settings.Default.setDisplay_panelSnapLocation; - panelSim.Location = Settings.Default.setDisplay_panelSimLocation; - panelTurn.Location = Settings.Default.setDisplay_panelTurnLocation; - - panelSnap.Visible = false; - panelTurn.Visible = false; - - if (Properties.Settings.Default.setNTRIP_isOn) panelNTRIP.Visible = true; - else panelNTRIP.Visible = false; } //force all the buttons same according to two main buttons @@ -160,6 +148,7 @@ private void ManualAllBtnsUpdate() ManualBtnUpdate(11, btnSection12Man); } + public string FindDirection(double heading) { if (heading < 0) heading += glm.twoPI; @@ -203,42 +192,72 @@ public string FindDirection(double heading) //hide the left panel public void SwapBatmanPanels() - { - //Properties.Settings.Default.Save(); - if (Properties.Settings.Default.setDisplay_isBatmanOn) - { - //Batman mini-panel shows - //if (panelSim.Left < 390) panelSim.Left = 390; - oglMain.Left = statusStripLeft.Width + panelBatman.Width + 1; - oglMain.Width = Width - (statusStripLeft.Width + panelBatman.Width) - 200; - - panelBatman.Left = statusStripLeft.Width; - //tableLayoutPanelDisplay.Left = 181; - //panelSim.Left = 350; + { + if (Properties.Settings.Default.setDisplay_panelStatus++ > 1) Properties.Settings.Default.setDisplay_panelStatus = 0; + Properties.Settings.Default.Save(); + + switch (Properties.Settings.Default.setDisplay_panelStatus) + { + case 0: + //no side panel + panelSimControls.Left = 0; + oglMain.Left = 5; + oglMain.Width = Width - 107; + btnpTiltDown.Left = 8; + btnpTiltUp.Left = 8; + btnZoomIn.Left = 8; + btnZoomOut.Left = 8; + btnFlag.Left = 8; + cboxpRowWidth.Left = 8; + txtDistanceOffABLine.Left = (Width - 200) / 2; + txtDistanceOffABLine.Top = -1; + panelBatman.Visible = false; + tabControl1.Visible = false; + LineUpManualBtns(); - panelBatman.Visible = true; - //statusStripLeft.Left = 8; + break; - lblDistanceOffLine.Left = (Width -90) / 2; - LineUpManualBtns(); - } - else - { - //no side panel - //panelSim.Location = Properties.Settings.Default.setDisplay_panelSimLocation; - oglMain.Left = 72; - oglMain.Width = Width - 72 - 200; - //tableLayoutPanelDisplay.Left = 8; - //panelSnap.Left = 80; + case 1: + //Batman mini-panel shows + panelSimControls.Left = 245; + oglMain.Left = 240; + oglMain.Width = Width - 240 - 102; + btnpTiltDown.Left = 245; + btnpTiltUp.Left = 245; + btnZoomIn.Left = 245; + btnZoomOut.Left = 245; + btnFlag.Left = 245; + cboxpRowWidth.Left = 245; + txtDistanceOffABLine.Left = (Width - 245 - 100) / 2 + 185; + btnSwapDirection.Left = (Width - 245 - 100) / 2 + 190; + panelBatman.Visible = true; + tabControl1.Visible = false; + LineUpManualBtns(); + break; + case 2: + //Big tab will be visible + panelSimControls.Left = 345; + oglMain.Left = 340; + oglMain.Width = Width - 340 - 102; + btnpTiltDown.Left = 345; + btnpTiltUp.Left = 345; + btnZoomIn.Left = 345; + btnZoomOut.Left = 345; + btnFlag.Left = 345; + cboxpRowWidth.Left = 345; + txtDistanceOffABLine.Left = (Width - 345 - 100) / 2 + 287; + btnSwapDirection.Left = (Width - 345 - 100) / 2 + 292; + txtDistanceOffABLine.Top = -1; + tabControl1.SelectedIndex = 2; + panelBatman.Visible = false; + tabControl1.Visible = true; + LineUpManualBtns(); + break; - panelBatman.Visible = false; - //statusStripLeft.Left = 8; - lblDistanceOffLine.Left = (Width - 270) / 2; - lblDistanceOffLine.Top = -1; - panelBatman.Visible = false; - LineUpManualBtns(); + default: + break; } } @@ -247,30 +266,37 @@ public void LineUpManualBtns() { int first2Thirds = 0; - if (panelBatman.Visible) + if (tabControl1.Visible) + { + btnRightYouTurn.Left = (Width + 450) / 2; + btnLeftYouTurn.Left = (Width - 135) / 2; + btnSwapDirection.Left = (Width - 440) / 2 + 302; + first2Thirds = (Width - 535) / 2 + 385; + } + else if (panelBatman.Visible) { - //btnRightYouTurn.Left = (Width+350) / 2 ; - //btnLeftYouTurn.Left = (Width-133) / 2; - //btnSwapDirection.Left = (Width + 100) / 2; - first2Thirds = (Width + 50) / 2; + btnRightYouTurn.Left = (Width+350) / 2 ; + btnLeftYouTurn.Left = (Width-240) / 2; + btnSwapDirection.Left = (Width - 340) / 2 + 200; + first2Thirds = (Width - 395) / 2 + 260; } else { - //btnRightYouTurn.Left = (Width+140) / 2; - //btnLeftYouTurn.Left = (Width-345) / 2; - //btnSwapDirection.Left = (Width-105) / 2; - first2Thirds = (Width - 140) / 2; + btnRightYouTurn.Left = (Width+140) / 2; + btnLeftYouTurn.Left = (Width-500) / 2; + btnSwapDirection.Left = (Width-185) / 2; + first2Thirds = (Width - 118) / 2; } int top = 0; - if (panelSim.Visible == true) + if (panelSimControls.Visible == true) { - top = 200; + top = 190; if (vehicle.numOfSections > 8) top = 230; } else{ - top = 150; + top = 140; if (vehicle.numOfSections > 8) top = 180; } @@ -861,83 +887,147 @@ private void btnStartStopNtrip_Click(object sender, EventArgs e) } } - private void DoNTRIPSecondRoutine() + private void btnManualAutoDrive_Click(object sender, EventArgs e) { - //count up the ntrip clock only if everything is alive - if (startCounter > 50 && recvCounter < 20 && isNTRIP_RequiredOn) + if (isInAutoDrive) + { + isInAutoDrive = false; + btnManualAutoDrive.Image = Properties.Resources.Cancel64; + btnManualAutoDrive.Text = gStr.gsManual; + } + else { - IncrementNTRIPWatchDog(); + isInAutoDrive = true; + btnManualAutoDrive.Image = Properties.Resources.OK64; + btnManualAutoDrive.Text = gStr.gsAuto; } + } - //Have we connection - if (isNTRIP_RequiredOn && !isNTRIP_Connected && !isNTRIP_Connecting) + private void goPathMenu_Click(object sender, EventArgs e) + { + if (!bnd.bndArr[0].isSet) { - if (!isNTRIP_Starting && ntripCounter > 20) - { - StartNTRIP(); - } + TimedMessageBox(2000, gStr.gsNoBoundary, gStr.gsCreateABoundaryFirst); + return; } - if (isNTRIP_Connecting) + //if contour is on, turn it off + if (ct.isContourBtnOn) { if (ct.isContourBtnOn) btnContour.PerformClick(); } + btnContourPriority.Enabled = true; + + if (yt.isYouTurnBtnOn) btnEnableAutoYouTurn.PerformClick(); + if (isAutoSteerBtnOn) btnAutoSteer.PerformClick(); + + DisableYouTurnButtons(); + + //if ABLine isn't set, turn off the YouTurn + if (ABLine.isABLineSet) { - if (ntripCounter > 28) - { - TimedMessageBox(2000, gStr.gsSocketConnectionProblem, gStr.gsNotConnectingToCaster); - ReconnectRequest(); - } - if (clientSocket != null && clientSocket.Connected) - { - //TimedMessageBox(2000, "NTRIP Not Connected", " At the StartNTRIP() "); - //ReconnectRequest(); - //return; - SendAuthorization(); - } + //ABLine.DeleteAB(); + ABLine.isABLineBeingSet = false; + ABLine.isABLineSet = false; + txtDistanceOffABLine.Visible = false; + //change image to reflect on off + btnABLine.Image = Properties.Resources.ABLineOff; + ABLine.isBtnABLineOn = false; } - if (isNTRIP_RequiredOn) + if (curve.isCurveSet) { - //update byte counter and up counter - if (ntripCounter > 59) lblNTRIPSeconds.Text = (ntripCounter / 60) + " Mins"; - else if (ntripCounter < 60 && ntripCounter > 22) lblNTRIPSeconds.Text = ntripCounter + " Secs"; - else lblNTRIPSeconds.Text = gStr.gsConnectingIn + (Math.Abs(ntripCounter - 22)); - pbarNtrip.Value = unchecked((byte)(tripBytes * 0.02)); - lblNtripBytes.Text = ((tripBytes) * 0.001).ToString("###,###,###") + " Kb"; + //make sure the other stuff is off + curve.isOkToAddPoints = false; + curve.isCurveSet = false; + btnContourPriority.Enabled = false; + curve.isCurveBtnOn = false; + btnCurve.Image = Properties.Resources.CurveOff; + } - //watchdog for Ntrip - if (isNTRIP_Connecting) lblWatch.Text = gStr.gsAuthourizing; - else + if (!recPath.isPausedDrivingRecordedPath) + { + //already running? + if (recPath.isDrivingRecordedPath) { - if (NTRIP_Watchdog > 10) lblWatch.Text = gStr.gsWaiting; - else lblWatch.Text = gStr.gsListening; + recPath.StopDrivingRecordedPath(); + return; } - if (sendGGAInterval > 0 && isNTRIP_Sending) + //start the recorded path driving process + + + + if (!recPath.StartDrivingRecordedPath()) { - lblWatch.Text = gStr.gsSendingGGA; - isNTRIP_Sending = false; + //Cancel the recPath - something went seriously wrong + recPath.StopDrivingRecordedPath(); + TimedMessageBox(1500, gStr.gsProblemMakingPath, gStr.gsCouldntGenerateValidPath); + } + else + { + goPathMenu.Image = Properties.Resources.AutoStop; } } + else + { + recPath.isPausedDrivingRecordedPath = false; + pausePathMenu.BackColor = Color.Lime; + } + } + private void pausePathMenu_Click(object sender, EventArgs e) + { + if (recPath.isPausedDrivingRecordedPath) + { + pausePathMenu.BackColor = Color.Lime; + } + else + { + pausePathMenu.BackColor = Color.OrangeRed; + } + recPath.isPausedDrivingRecordedPath = !recPath.isPausedDrivingRecordedPath; } + private void RecordPathMenu_Click(object sender, EventArgs e) + { + if (recPath.isRecordOn) + { + FileSaveRecPath(); + recPath.isRecordOn = false; + recordPathMenu.Image = Properties.Resources.BoundaryRecord; + } + else if (isJobStarted) + { + recPath.recList.Clear(); + recPath.isRecordOn = true; + recordPathMenu.Image = Properties.Resources.boundaryStop; + } + } + + private void DeletePathMenu_Click(object sender, EventArgs e) + { + recPath.recList.Clear(); + recPath.StopDrivingRecordedPath(); + FileSaveRecPath(); + + } + //LIDAR control private void btnLidarOnOff_Click(object sender, EventArgs e) { - //isLidarBtnOn = !isLidarBtnOn; - //if (isLidarBtnOn) - //{ - // btnLidarOnOff.Text = "Lidar On"; - // btnLidarOnOff.Image = Properties.Resources.boundaryPlay; - //} - //else - //{ - // btnLidarOnOff.Text = "Lidar Off"; - // btnLidarOnOff.Image = Properties.Resources.boundaryStop; - //} + isLidarBtnOn = !isLidarBtnOn; + if (isLidarBtnOn) + { + btnLidarOnOff.Text = "Lidar On"; + btnLidarOnOff.Image = Properties.Resources.boundaryPlay; + } + else + { + btnLidarOnOff.Text = "Lidar Off"; + btnLidarOnOff.Image = Properties.Resources.boundaryStop; + } } @@ -953,11 +1043,10 @@ private void btnAutoSteer_Click(object sender, EventArgs e) { isAutoSteerBtnOn = false; btnAutoSteer.Image = Properties.Resources.AutoSteerOff; - if (yt.isYouTurnBtnOn) btnEnableAutoYouTurn.PerformClick(); } else { - if (ABLine.isBtnABLineOn | ct.isContourBtnOn | curve.isCurveBtnOn) + if (ABLine.isABLineSet | ct.isContourBtnOn | curve.isCurveSet) { isAutoSteerBtnOn = true; btnAutoSteer.Image = Properties.Resources.AutoSteerOn; @@ -974,7 +1063,7 @@ private void BtnMakeLinesFromBoundary_Click(object sender, EventArgs e) { if (ct.isContourBtnOn) return; - if (bnd.bndArr.Count == 0) + if (!bnd.bndArr[0].isSet) { TimedMessageBox(2000, gStr.gsNoBoundary, gStr.gsCreateABoundaryFirst); return; @@ -986,7 +1075,6 @@ private void btnCycleLines_Click(object sender, EventArgs e) { if (ABLine.isBtnABLineOn && ABLine.numABLines > 0) { - ABLine.moveDistance = 0; ABLine.numABLineSelected++; if (ABLine.numABLineSelected > ABLine.numABLines) ABLine.numABLineSelected = 1; ABLine.refPoint1 = ABLine.lineArr[ABLine.numABLineSelected - 1].origin; @@ -1000,7 +1088,6 @@ private void btnCycleLines_Click(object sender, EventArgs e) } else if (curve.isCurveBtnOn && curve.numCurveLines > 0) { - curve.moveDistance = 0; curve.numCurveLineSelected++; if (curve.numCurveLineSelected > curve.numCurveLines) curve.numCurveLineSelected = 1; @@ -1111,7 +1198,7 @@ private void btnCurve_Click(object sender, EventArgs e) //turn off ABLine ABLine.isABLineBeingSet = false; ABLine.isABLineSet = false; - lblDistanceOffLine.Visible = false; + txtDistanceOffABLine.Visible = false; //change image to reflect on off btnABLine.Image = Properties.Resources.ABLineOff; @@ -1214,6 +1301,7 @@ private void btnContour_Click(object sender, EventArgs e) btnEnableAutoYouTurn.Enabled = true; btnEnableAutoYouTurn.Image = Properties.Resources.YouTurnNo; } + //btnContourPriority.Enabled = false; btnContourPriority.Image = Properties.Resources.Snap2; } @@ -1239,6 +1327,16 @@ private void btnContourPriority_Click(object sender, EventArgs e) if (ABLine.isABLineSet) { ABLine.SnapABLine(); + + //DialogResult result3 = MessageBox.Show("Save AB Line Snap?", + // "Save or Not", + // MessageBoxButtons.YesNo, + // MessageBoxIcon.Question, + // MessageBoxDefaultButton.Button2); + //if (result3 == DialogResult.Yes) + { + //FileSaveABLine(); + } } else if (curve.isCurveSet) { @@ -1252,6 +1350,22 @@ private void btnContourPriority_Click(object sender, EventArgs e) } } + private void BtnTinyAutoSteerConfig_Click(object sender, EventArgs e) + { + //check if window already exists + Form fc = Application.OpenForms["FormSteer"]; + + if (fc != null) + { + fc.Focus(); + fc.Close(); + return; + } + + // + Form form = new FormSteer(this); + form.Show(); + } //Snaps private void SnapSmallLeft() @@ -1265,6 +1379,9 @@ private void SnapSmallLeft() double dist = 0.01 * Properties.Settings.Default.setDisplay_snapDistanceSmall; ABLine.MoveABLine(-dist); + + ABLine.moveDistance -= dist; + //FileSaveABLine(); } else if (curve.isCurveSet) { @@ -1273,6 +1390,7 @@ private void SnapSmallLeft() double dist = 0.01 * Properties.Settings.Default.setDisplay_snapDistanceSmall; curve.MoveABCurve(-dist); + curve.moveDistance -= dist; } else { @@ -1291,6 +1409,9 @@ private void SnapSmallRight() yt.ResetCreatedYouTurn(); double dist = 0.01 * Properties.Settings.Default.setDisplay_snapDistanceSmall; ABLine.MoveABLine(dist); + ABLine.moveDistance += dist; + + //FileSaveABLine(); } else if (curve.isCurveSet) { @@ -1298,6 +1419,8 @@ private void SnapSmallRight() yt.ResetCreatedYouTurn(); double dist = 0.01 * Properties.Settings.Default.setDisplay_snapDistanceSmall; curve.MoveABCurve(dist); + curve.moveDistance += dist; + } else { @@ -1317,6 +1440,8 @@ private void SnapRight() double dist = 0.01 * Properties.Settings.Default.setDisplay_snapDistance; ABLine.MoveABLine(dist); + ABLine.moveDistance += dist; + //FileSaveABLine(); } else if (curve.isCurveSet) { @@ -1324,6 +1449,8 @@ private void SnapRight() yt.ResetCreatedYouTurn(); double dist = 0.01 * Properties.Settings.Default.setDisplay_snapDistance; curve.MoveABCurve(dist); + curve.moveDistance += dist; + } else { @@ -1344,6 +1471,9 @@ private void SnapLeft() double dist = 0.01 * Properties.Settings.Default.setDisplay_snapDistance; ABLine.MoveABLine(-dist); + ABLine.moveDistance -= dist; + + //FileSaveABLine(); } else if (curve.isCurveSet) { @@ -1352,6 +1482,8 @@ private void SnapLeft() double dist = 0.01 * Properties.Settings.Default.setDisplay_snapDistance; curve.MoveABCurve(-dist); + curve.moveDistance -= dist; + } else { @@ -1629,36 +1761,58 @@ private void btnSection12Man_Click(object sender, EventArgs e) } //measure area button - //private void btnPerimeter_Click(object sender, EventArgs e) - //{ - // if (periArea.isBtnPerimeterOn && periArea.periPtList.Count > 0) - // { - // periArea.isBtnPerimeterOn = false; - // //btnPerimeter.Text = "Paused"; - // btnPerimeter.Image = Properties.Resources.PeriDone; - // return; - // } - - // //periArea.isBtnPerimeterOn = !periArea.isBtnPerimeterOn; - - // if (!periArea.isBtnPerimeterOn && periArea.periPtList.Count > 0) - // { - // periArea.periPtList.Clear(); - // periArea.calcList.Clear(); - // //btnPerimeter.Text = "Cleared"; - // btnPerimeter.Image = Properties.Resources.PeriArea; - // return; - // } - - // if (!periArea.isBtnPerimeterOn && periArea.periPtList.Count == 0) - // { - // //btnPerimeter.Text = "Logging"; - // btnPerimeter.Image = Properties.Resources.PeriDraw; - // periArea.isBtnPerimeterOn = true; - // var form = new FormTimedMessage(3000, gStr.gsDrawingHasBegun, gStr.gsClickButtonAgainToStop); - // form.Show(); - // } - //} + private void btnPerimeter_Click(object sender, EventArgs e) + { + if (periArea.isBtnPerimeterOn && periArea.periPtList.Count > 0) + { + periArea.isBtnPerimeterOn = false; + //btnPerimeter.Text = "Paused"; + btnPerimeter.Image = Properties.Resources.PeriDone; + return; + } + + //periArea.isBtnPerimeterOn = !periArea.isBtnPerimeterOn; + + if (!periArea.isBtnPerimeterOn && periArea.periPtList.Count > 0) + { + periArea.periPtList.Clear(); + periArea.calcList.Clear(); + //btnPerimeter.Text = "Cleared"; + btnPerimeter.Image = Properties.Resources.PeriArea; + return; + } + + if (!periArea.isBtnPerimeterOn && periArea.periPtList.Count == 0) + { + //btnPerimeter.Text = "Logging"; + btnPerimeter.Image = Properties.Resources.PeriDraw; + periArea.isBtnPerimeterOn = true; + var form = new FormTimedMessage(3000, gStr.gsDrawingHasBegun, gStr.gsClickButtonAgainToStop); + form.Show(); + } + } + private void btnGPSData_Click(object sender, EventArgs e) + { + Form f = Application.OpenForms["FormGPSData"]; + + if (f != null) + { + f.Focus(); + f.Close(); + return; + } + + Form form = new FormGPSData(this); + form.Show(); + } + private void btnFileExplorer_Click(object sender, EventArgs e) + { + if (isJobStarted) + { + FileSaveFlagsKML(); + } + Process.Start(fieldsDirectory + currentFieldDirectory); + } private void toolStripZoomOut_Click(object sender, EventArgs e) { @@ -1694,16 +1848,16 @@ private void btnZoomOut_MouseDown(object sender, MouseEventArgs e) camera.camSetDistance = camera.zoomValue * camera.zoomValue * -1; SetZoom(); } - //private void btnpTiltUp_MouseDown(object sender, MouseEventArgs e) - //{ - // camera.camPitch -= ((camera.camPitch * 0.02) - 1); - // if (camera.camPitch > 0) camera.camPitch = 0; - //} - //private void btnpTiltDown_MouseDown(object sender, MouseEventArgs e) - //{ - // camera.camPitch += ((camera.camPitch * 0.02) - 1); - // if (camera.camPitch < -80) camera.camPitch = -80; - //} + private void btnpTiltUp_MouseDown(object sender, MouseEventArgs e) + { + camera.camPitch -= ((camera.camPitch * 0.02) - 1); + if (camera.camPitch > 0) camera.camPitch = 0; + } + private void btnpTiltDown_MouseDown(object sender, MouseEventArgs e) + { + camera.camPitch += ((camera.camPitch * 0.02) - 1); + if (camera.camPitch < -80) camera.camPitch = -80; + } private void btnZoomExtents_Click(object sender, EventArgs e) { //if (isJobStarted) @@ -1724,11 +1878,11 @@ private void btnFlag_Click(object sender, EventArgs e) } private void btnFixOffset_Click(object sender, EventArgs e) { - //using (var form = new FormShiftPos(this)) - //{ - // var result = form.ShowDialog(); - // if (result == DialogResult.OK) { } - //} + using (var form = new FormShiftPos(this)) + { + var result = form.ShowDialog(); + if (result == DialogResult.OK) { } + } } private void btnSmoothAB_Click(object sender, EventArgs e) { @@ -1835,7 +1989,7 @@ private void btnSwapDirection_Click_1(object sender, EventArgs e) private void btnEnableAutoYouTurn_Click(object sender, EventArgs e) { - if (bnd.bndArr.Count == 0) + if (!bnd.bndArr[0].isSet) { TimedMessageBox(2000, gStr.gsNoBoundary, gStr.gsCreateABoundaryFirst); return; @@ -1846,8 +2000,6 @@ private void btnEnableAutoYouTurn_Click(object sender, EventArgs e) //new direction so reset where to put turn diagnostic yt.ResetCreatedYouTurn(); - if (!isAutoSteerBtnOn) return; - yt.isYouTurnBtnOn = true; yt.isTurnCreationTooClose = false; yt.isTurnCreationNotCrossingError = false; @@ -1879,11 +2031,11 @@ public void AutoYouTurnButtonsRightTurn() btnLeftYouTurn.Height = 66; btnLeftYouTurn.Width = 80; btnLeftYouTurn.Text = ""; - btnLeftYouTurn.BackColor = Color.Transparent; + btnLeftYouTurn.BackColor = Color.LightSteelBlue; } public void AutoYouTurnButtonsLeftTurn() { - btnRightYouTurn.BackColor = Color.Transparent; + btnRightYouTurn.BackColor = Color.LightSteelBlue; btnRightYouTurn.Height = 66; btnRightYouTurn.Width = 80; btnRightYouTurn.Text = ""; @@ -1897,8 +2049,8 @@ public void AutoYouTurnButtonsReset() yt.ResetCreatedYouTurn(); //fix the buttons - btnLeftYouTurn.BackColor = Color.Transparent; - btnRightYouTurn.BackColor = Color.Transparent; + btnLeftYouTurn.BackColor = Color.LightSteelBlue; + btnRightYouTurn.BackColor = Color.LightSteelBlue; btnLeftYouTurn.Height = 66; btnLeftYouTurn.Width = 80; btnRightYouTurn.Height = 66; @@ -1909,13 +2061,13 @@ public void AutoYouTurnButtonsReset() // why yes it is backwards, puzzling if (!yt.isYouTurnRight) { - btnLeftYouTurn.BackColor = Color.Transparent; + btnLeftYouTurn.BackColor = Color.LightSteelBlue; btnRightYouTurn.BackColor = Color.LightGreen; } else { btnLeftYouTurn.BackColor = Color.LightGreen; - btnRightYouTurn.BackColor = Color.Transparent; + btnRightYouTurn.BackColor = Color.LightSteelBlue; } } public void EnableYouTurnButtons() @@ -1952,9 +2104,24 @@ public void DisableYouTurnButtons() //Options private void btnFlagsGoogleEarth_Click(object sender, EventArgs e) { + if (isJobStarted) + { + //save new copy of flags + FileSaveFlagsKML(); + + //Process.Start(@"C:\Program Files (x86)\Google\Google Earth\client\googleearth", workingDirectory + currentFieldDirectory + "\\Flags.KML"); + Process.Start(fieldsDirectory + currentFieldDirectory + "\\Flags.KML"); + } + else + { + var form = new FormTimedMessage(1500, gStr.gsFieldNotOpen, gStr.gsStartNewField); + form.Show(); + } } private void btnWebCam_Click(object sender, EventArgs e) { + Form form = new FormWebCam(); + form.Show(); } private void btnHelp_Click(object sender, EventArgs e) { @@ -2364,7 +2531,7 @@ private void simulatorOnToolStripMenuItem_Click(object sender, EventArgs e) if (sp.IsOpen) { simulatorOnToolStripMenuItem.Checked = false; - panelSim.Visible = false; + panelSimControls.Visible = false; timerSim.Enabled = false; TimedMessageBox(2000, gStr.gsGPSConnected, gStr.gsSimulatorForcedOff); @@ -2378,7 +2545,7 @@ private void simulatorOnToolStripMenuItem_Click(object sender, EventArgs e) } if (simulatorOnToolStripMenuItem.Checked) { - panelSim.Visible = true; + panelSimControls.Visible = true; timerSim.Enabled = true; DialogResult result3 = MessageBox.Show(gStr.gsAgOpenGPSWillExitPlzRestart, gStr.gsTurningOnSimulator ,MessageBoxButtons.OK); Application.Exit(); @@ -2386,7 +2553,7 @@ private void simulatorOnToolStripMenuItem_Click(object sender, EventArgs e) } else { - panelSim.Visible = false; + panelSimControls.Visible = false; timerSim.Enabled = false; //TimedMessageBox(3000, "Simulator Turning Off", "Application will Exit"); DialogResult result3 = MessageBox.Show(gStr.gsAgOpenGPSWillExitPlzRestart, gStr.gsTurningOffSimulator, MessageBoxButtons.OK); @@ -2541,6 +2708,20 @@ private void ToolstripExit_Click(object sender, EventArgs e) private void toolStripBtnSmoothABCurve_Click(object sender, EventArgs e) { + if (isJobStarted && curve.isCurveBtnOn) + { + using (var form = new FormSmoothAB(this)) + { + var result = form.ShowDialog(); + if (result == DialogResult.OK) { } + } + } + + else + { + if (!isJobStarted) TimedMessageBox(2000, gStr.gsFieldNotOpen, gStr.gsStartNewField); + else TimedMessageBox(2000, gStr.gsCurveNotOn, gStr.gsTurnABCurveOn); + } } private void toolStripAreYouSure_Click(object sender, EventArgs e) { @@ -2596,12 +2777,37 @@ private void toolStripAreYouSure_Click(object sender, EventArgs e) else TimedMessageBox(1500, gStr.gsNothingDeleted, gStr.gsActionHasBeenCancelled); } } + private void toolStripBtnMakeBndContour_Click(object sender, EventArgs e) + { + //build all the contour guidance lines from boundaries, all of them. + using (var form = new FormMakeBndCon(this)) + { + var result = form.ShowDialog(); + if (result == DialogResult.OK) { } + } + } private void toolstripYouTurnConfig_Click(object sender, EventArgs e) { var form = new FormYouTurn(this); form.ShowDialog(); cboxpRowWidth.SelectedIndex = yt.rowSkipsWidth - 1; } + private void treePlanterToolStripMenuItem_Click(object sender, EventArgs e) + { + //check if window already exists + Form fc = Application.OpenForms["FormTreePlant"]; + + if (fc != null) + { + fc.Focus(); + return; + } + + // + Form form = new FormTreePlant(this); + form.Show(); + + } private void toolstripAutoSteerConfig_Click(object sender, EventArgs e) { @@ -2645,7 +2851,7 @@ private void deleteContourPathsToolStripMenuItem_Click(object sender, EventArgs ct.ctList?.Clear(); contourSaveList?.Clear(); } - + private void toolstripVehicleConfig_Click(object sender, EventArgs e) { using (var form = new FormSettings(this, 0)) @@ -2733,18 +2939,23 @@ private void toolStripBtnHideTabs_Click(object sender, EventArgs e) } private void toolStripBatman_Click(object sender, EventArgs e) { - //if (secondRowCounter < 8) return; - Properties.Settings.Default.setDisplay_isBatmanOn = !Properties.Settings.Default.setDisplay_isBatmanOn; - Properties.Settings.Default.Save(); SwapBatmanPanels(); + } - if (panelBatman.Visible) - { - if (panelTurn.Left < 260) panelTurn.Left = 260; - if (panelSim.Left < 260) panelSim.Left = 260; - if (panelSnap.Left < 260) panelSnap.Left = 260; - } - + //camera tool buttons + private void CameraFollowingToolStripMenuItem_Click(object sender, EventArgs e) + { + camera.camFollowing = true; + camera.camPitch = -70; + } + private void CameraNorthToolStripMenuItem_Click(object sender, EventArgs e) + { + camera.camFollowing = false; + } + private void CameraTopToolStripMenuItem_Click(object sender, EventArgs e) + { + camera.camFollowing = true; + camera.camPitch = 0; } //Sim controls @@ -2949,7 +3160,7 @@ private void tmrWatchdog_tick(object sender, EventArgs e) oneHalfSecondCounter = 0; oneHalfSecond++; } - if (oneFifthSecondCounter++ >= fixUpdateHz / 5) + if (oneFifthSecondCounter++ >= 0) { oneFifthSecondCounter = 0; oneFifthSecond++; @@ -2962,133 +3173,119 @@ private void tmrWatchdog_tick(object sender, EventArgs e) //reset the counter displayUpdateThreeSecondCounter = threeSeconds; - if (ABLine.isBtnABLineOn || curve.isCurveBtnOn || ct.isContourBtnOn) - { - panelSnap.Visible = true; - panelTurn.Visible = true; - } - else + if (panelBatman.Visible) { - panelSnap.Visible = false; - panelTurn.Visible = false; - } + if (isMetric) + { + lblpAltitude.Text = Altitude; + lblpBoundaryArea.Text = fd.AreaBoundaryLessInnersHectares; + lblpAreaWorked.Text = fd.WorkedHectares; + lblpFieldAreaRemain.Text = fd.WorkedAreaRemainHectares; + + if (ABLine.isBtnABLineOn) lblMoveDistanceBatman.Text = (ABLine.moveDistance * 100).ToString("N0"); + else if (curve.isCurveBtnOn) lblMoveDistanceBatman.Text = (curve.moveDistance * 100).ToString("N0"); + else lblMoveDistance.Text = "*"; + + } + else //imperial + { + lblpAltitude.Text = AltitudeFeet; + lblpBoundaryArea.Text = fd.AreaBoundaryLessInnersAcres; + lblpAreaWorked.Text = fd.WorkedAcres; + lblpFieldAreaRemain.Text = fd.WorkedAreaRemainAcres; + } + + //both + lblpFieldAreaRemainPercent.Text = fd.WorkedAreaRemainPercentage; + + lblpTimeToFinish.Text = fd.TimeTillFinished; + pbarSteerSmall.Value = pbarSteer; + pbarUDPSmall.Value = pbarUDP; - if (isMetric) - { - btnFlag.Text = fd.AreaBoundaryLessInnersHectares; - //lblpAreaWorked.Text = fd.WorkedHectares; - toolStripLblFieldFinish.Text = fd.WorkedAreaRemainPercentage + " \r\n" + - fd.WorkedAreaRemainHectares +" \r\n" + fd.TimeTillFinished; - //status strip values - lblToolEqWidth.Text = vehiclefileName + (Math.Round(vehicle.toolWidth, 2)).ToString() + " m"; } - else //imperial + + //The tabbed is selected and the info tab + if (tabControl1.SelectedIndex == 2 && tabControl1.Visible) { - btnFlag.Text = fd.AreaBoundaryLessInnersAcres; - //lblpAreaWorked.Text = fd.WorkedAcres; - toolStripLblFieldFinish.Text = fd.WorkedAreaRemainPercentage + " \r\n" + - fd.WorkedAreaRemainAcres + " \r\n" + fd.TimeTillFinished; - lblToolEqWidth.Text = vehiclefileName + (Math.Round(vehicle.toolWidth * glm.m2ft, 2)).ToString() + " ft"; - } + lblPercentRemaining.Text = fd.WorkedAreaRemainPercentage; + lblTimeRemaining.Text = fd.TimeTillFinished; + + if (fd.barPercent > 0.01 && fd.barPercent < 99.9) + pbarFieldAreaRemainPercent.Value = (int)(100 - fd.barPercent); + else pbarFieldAreaRemainPercent.Value = 0; - if (panelBatman.Visible) - { if (isMetric) { - lblpAltitude.Text = Altitude; - //lblpBoundaryArea.Text = fd.AreaBoundaryLessInnersHectares; - //lblpAreaWorked.Text = fd.WorkedHectares; - //lblpFieldAreaRemain.Text = fd.WorkedAreaRemainHectares + " Ha"; + lblAltitude.Text = Altitude; + if (ABLine.isBtnABLineOn) lblMoveDistance.Text = (ABLine.moveDistance*100).ToString("N0"); + else if (curve.isCurveBtnOn) lblMoveDistance.Text = (curve.moveDistance*100).ToString("N0"); + else lblMoveDistance.Text = "*"; + + //lblBoundaryArea.Text = fd.AreaBoundaryLessInnersHectares; + //lblBoundaryDistanceAway.Text = ((int)(distancePivotToTurnLine)) + " m"; + //if (distPivot > 0) lblBoundaryDistanceAway.Text = ((int)(distPivot)) + " m"; + //else lblBoundaryDistanceAway.Text = "***"; + //if (distTool > -2220) lblHeadlandDistanceFromTool.Text = DistPivotM; + //else lblHeadlandDistanceFromTool.Text = " * "; } else //imperial { - lblpAltitude.Text = AltitudeFeet; - //lblpBoundaryArea.Text = fd.AreaBoundaryLessInnersAcres; - //lblpAreaWorked.Text = fd.WorkedAcres; - //lblpFieldAreaRemain.Text = fd.WorkedAreaRemainAcres + " Ac"; + lblAltitude.Text = AltitudeFeet; + ////Boundary + //lblBoundaryArea.Text = fd.AreaBoundaryLessInnersAcres; + //lblBoundaryDistanceAway.Text = ((int)(glm.m2ft * distancePivotToTurnLine)) + " ft"; + //if (distPivot > 0) lblBoundaryDistanceAway.Text = ((int)(glm.m2ft * distPivot)) + " ft"; + //else lblBoundaryDistanceAway.Text = "***"; + //lblHeadlandDistanceFromTool.Text = DistPivotFt; } //both + lblSats.Text = SatsTracked; + lblZone.Text = pn.zone.ToString(); + //tboxSentence.Text = recvSentenceSettings; + } + //the main formgps window + if (isMetric) //metric or imperial + { + //Hectares on the master section soft control and sections + btnPerimeter.Text = PeriAreaHectares; //area button - pbarSteerSmall.Value = pbarSteer; - pbarUDPSmall.Value = pbarUDP; - pbarRelayCommSmall.Value = pbarRelay; + //status strip values + stripEqWidth.Text = vehiclefileName + (Math.Round(vehicle.toolWidth, 2)).ToString() + " m"; - lblSats.Text = SatsTracked; - lblZone.Text = pn.zone.ToString(); + //Hectares per hour + lblAreaRate.Text = fd.WorkRateHectares; } + else //Imperial Measurements + { + btnPerimeter.Text = PeriAreaAcres; - // if (isMetric) - // { - // lblAltitude.Text = Altitude; - // if (ABLine.isBtnABLineOn) lblMoveDistance.Text = (ABLine.moveDistance*100).ToString("N0"); - // else if (curve.isCurveBtnOn) lblMoveDistance.Text = (curve.moveDistance*100).ToString("N0"); - // else lblMoveDistance.Text = "*"; - - // //lblBoundaryArea.Text = fd.AreaBoundaryLessInnersHectares; - // //lblBoundaryDistanceAway.Text = ((int)(distancePivotToTurnLine)) + " m"; - // //if (distPivot > 0) lblBoundaryDistanceAway.Text = ((int)(distPivot)) + " m"; - // //else lblBoundaryDistanceAway.Text = "***"; - // //if (distTool > -2220) lblHeadlandDistanceFromTool.Text = DistPivotM; - // //else lblHeadlandDistanceFromTool.Text = " * "; - // } - // else //imperial - // { - // lblAltitude.Text = AltitudeFeet; - // ////Boundary - // //lblBoundaryArea.Text = fd.AreaBoundaryLessInnersAcres; - // //lblBoundaryDistanceAway.Text = ((int)(glm.m2ft * distancePivotToTurnLine)) + " ft"; - // //if (distPivot > 0) lblBoundaryDistanceAway.Text = ((int)(glm.m2ft * distPivot)) + " ft"; - // //else lblBoundaryDistanceAway.Text = "***"; - // //lblHeadlandDistanceFromTool.Text = DistPivotFt; - // } - - // //both - // //tboxSentence.Text = recvSentenceSettings; - //} - - ////the main formgps window - //if (isMetric) //metric or imperial - //{ - - // //status strip values - // //stripEqWidth.Text = vehiclefileName + (Math.Round(vehicle.toolWidth, 2)).ToString() + " m"; - - // //Hectares per hour - // //lblAreaRate.Text = fd.WorkRateHectares; - //} - //else //Imperial Measurements - //{ - // //status strip values - // //stripEqWidth.Text = vehiclefileName + (Math.Round(vehicle.toolWidth * glm.m2ft, 2)).ToString() + " ft"; - - // //Acres per hour - // //lblAreaRate.Text = fd.WorkRateAcres; - //} + //status strip values + stripEqWidth.Text = vehiclefileName + (Math.Round(vehicle.toolWidth * glm.m2ft, 2)).ToString() + " ft"; + + //Acres per hour + lblAreaRate.Text = fd.WorkRateAcres; + } //not Metric/Standard units sensitive - if (ABLine.isBtnABLineOn) btnABLine.Text = "#"+PassNumber; + if (ABLine.isBtnABLineOn) btnABLine.Text = PassNumber; else btnABLine.Text = ""; - if (curve.isCurveBtnOn) btnCurve.Text = "#"+CurveNumber; + if (curve.isCurveBtnOn) btnCurve.Text = CurveNumber; else btnCurve.Text = ""; - //update the online indicator 37 green red 38 - if (recvCounter > 20 && toolStripBtnGPSStength.Image.Height != 38) + //update the online indicator + if (recvCounter > 50) { - //stripOnlineGPS.Value = 1; + stripOnlineGPS.Value = 1; lblEasting.Text = "-"; lblNorthing.Text = gStr.gsNoGPS; - //lblZone.Text = "-"; - toolStripBtnGPSStength.Image = Resources.GPSSignalPoor; - } - else if (recvCounter < 20 && toolStripBtnGPSStength.Image.Height != 37) - { - //stripOnlineGPS.Value = 100; - toolStripBtnGPSStength.Image = Resources.GPSSignalGood; + lblZone.Text = "-"; + tboxSentence.Text = gStr.gsNoSentenceData; } + else stripOnlineGPS.Value = 100; }//end every 3 seconds @@ -3101,20 +3298,34 @@ private void tmrWatchdog_tick(object sender, EventArgs e) //counter used for saving field in background saveCounter++; - //lblCurrentBoundary.Text = bnd.currentBoundary.ToString(); - //lblTest.Text = camera.camSetDistance.ToString(); - - if (ABLine.isBtnABLineOn && !ct.isContourBtnOn) - { - btnSaveAB.Text = ((int)(ABLine.moveDistance * 100)).ToString(); - } - if (curve.isCurveBtnOn && !ct.isContourBtnOn) + if (tabControl1.SelectedIndex == 2 && tabControl1.Visible) { - btnSaveAB.Text = ((int)(curve.moveDistance * 100)).ToString(); - } + //both + lblLatitude.Text = Latitude; + lblLongitude.Text = Longitude; - if (panelBatman.Visible) - { + pbarAutoSteerComm.Value = pbarSteer; + pbarRelayComm.Value = pbarRelay; + pbarUDPComm.Value = pbarUDP; + + //lblMachineControl.Text = Convert.ToString(mc.machineControlData[mc.cnPedalControl], 2).PadLeft(8, '0'); + //lblLookAhead.Text = lookaheadActual.ToString("N1") + " m"; + + //txtBoxRecvAutoSteer.Text = mc.serialRecvAutoSteerStr; + //txtBoxSendAutoSteer.Text = mc.autoSteerData[mc.sdRelayLo] + ", " + mc.autoSteerData[mc.sdSpeed] + // + ", " + guidanceLineDistanceOff + ", " + guidanceLineSteerAngle + ", " + mc.machineControlData[mc.cnYouTurn]; + + //Low means steer switch on + if (mc.steerSwitchValue == 0) + { + this.btnTinyAutoSteerConfig.BackColor = System.Drawing.Color.LightBlue; + } + else + { + this.btnTinyAutoSteerConfig.BackColor = System.Drawing.Color.Transparent; + } + + //up in the menu a few pieces of info if (isJobStarted) { lblEasting.Text = "E:" + Math.Round(pn.fix.easting, 1).ToString(); @@ -3126,18 +3337,9 @@ private void tmrWatchdog_tick(object sender, EventArgs e) lblNorthing.Text = "N:" + ((int)pn.actualNorthing).ToString(); } - //both - lblLatitude.Text = Latitude; - lblLongitude.Text = Longitude; - - //up in the menu a few pieces of info - - //tboxSentence.Text = recvSentenceSettings; - //display items - lblUturnByte.Text = Convert.ToString(mc.autoSteerData[mc.sdYouTurnByte], 2).PadLeft(8, '0'); - } + tboxSentence.Text = recvSentenceSettings; - //AutoSteerAuto button enable - Ray Bear inspired code - Thx Ray! + } //AutoSteerAuto button enable - Ray Bear inspired code - Thx Ray! if (isJobStarted && ahrs.isAutoSteerAuto && !recPath.isDrivingRecordedPath && (ABLine.isABLineSet || ct.isContourBtnOn || curve.isCurveSet)) { @@ -3154,6 +3356,66 @@ private void tmrWatchdog_tick(object sender, EventArgs e) //Make sure it is off when it should if ((!ABLine.isABLineSet && !ct.isContourBtnOn && !curve.isCurveSet && isAutoSteerBtnOn) || (recPath.isDrivingRecordedPath && isAutoSteerBtnOn)) btnAutoSteer.PerformClick(); + //count up the ntrip clock only if everything is alive + if (startCounter > 50 && recvCounter < 20 && isNTRIP_RequiredOn) + { + IncrementNTRIPWatchDog(); + } + + //Have we connection + if (isNTRIP_RequiredOn && !isNTRIP_Connected && !isNTRIP_Connecting) + { + if (!isNTRIP_Starting && ntripCounter > 20) + { + StartNTRIP(); + } + } + + if (isNTRIP_Connecting) + { + if (ntripCounter > 28) + { + TimedMessageBox(2000, gStr.gsSocketConnectionProblem, gStr.gsNotConnectingToCaster); + ReconnectRequest(); + } + if (clientSocket != null && clientSocket.Connected) + { + //TimedMessageBox(2000, "NTRIP Not Connected", " At the StartNTRIP() "); + //ReconnectRequest(); + //return; + SendAuthorization(); + } + + } + + //display items + lblUturnByte.Text = Convert.ToString(mc.autoSteerData[mc.sdYouTurnByte], 2).PadLeft(6, '0'); + + if (isNTRIP_RequiredOn) + { + //update byte counter and up counter + if (ntripCounter > 59) lblNTRIPSeconds.Text = (ntripCounter / 60) + " Mins"; + else if (ntripCounter < 60 && ntripCounter > 22) lblNTRIPSeconds.Text = ntripCounter + " Secs"; + else lblNTRIPSeconds.Text = gStr.gsConnectingIn + (ntripCounter - 22); + + pbarNtrip.Value = unchecked((byte)(tripBytes * 0.02)); + lblNtripBytes.Text = ((tripBytes) * 0.001).ToString("###,###,###") + " Kb"; + + //watchdog for Ntrip + if (isNTRIP_Connecting) lblWatch.Text = gStr.gsAuthourizing; + else + { + if (NTRIP_Watchdog > 10) lblWatch.Text = gStr.gsWaiting; + else lblWatch.Text = gStr.gsListening; + } + + if (sendGGAInterval > 0 && isNTRIP_Sending) + { + lblWatch.Text = gStr.gsSendingGGA; + isNTRIP_Sending = false; + } + } + //the main formgps window if (isMetric) //metric or imperial { @@ -3162,7 +3424,7 @@ private void tmrWatchdog_tick(object sender, EventArgs e) lblSpeed.Text = SpeedKPH; //status strip values - toolStripDropDownButtonDistance.Text = fd.DistanceUserMeters + "\r\n" + fd.WorkedUserHectares2; + stripDistance.Text = fd.DistanceUserMeters + "\r\n" + fd.WorkedUserHectares2; btnContour.Text = XTE; //cross track error @@ -3174,46 +3436,57 @@ private void tmrWatchdog_tick(object sender, EventArgs e) lblSpeed.Text = SpeedMPH; //status strip values - toolStripDropDownButtonDistance.Text = fd.DistanceUserFeet + "\r\n" + fd.WorkedUserAcres2; + stripDistance.Text = fd.DistanceUserFeet + "\r\n" + fd.WorkedUserAcres2; btnContour.Text = InchXTE; //cross track error } //statusbar flash red undefined headland - if (mc.isOutOfBounds && statusStrip1.BackColor == System.Drawing.Color.Azure + if (mc.isOutOfBounds && statusStrip1.BackColor == SystemColors.ControlLight || !mc.isOutOfBounds && statusStrip1.BackColor == Color.Tomato) { if (!mc.isOutOfBounds) { - statusStrip1.BackColor = System.Drawing.Color.Azure; - statusStripLeft.BackColor = System.Drawing.Color.Azure; - //menuStrip1.BackColor = SystemColors.ControlLight; - //lblSpeed.BackColor = SystemColors.ControlLight; - //lblHeading.BackColor = SystemColors.ControlLight; - //lblSpeedUnits.BackColor = SystemColors.ControlLight; - //lblDistanceOffLine.BackColor = SystemColors.ControlLight; - //lblHz.BackColor = SystemColors.ControlLight; + statusStrip1.BackColor = SystemColors.ControlLight; + menuStrip1.BackColor = SystemColors.ControlLight; + lblSpeed.BackColor = SystemColors.ControlLight; + lblHeading.BackColor = SystemColors.ControlLight; + lblSpeedUnits.BackColor = SystemColors.ControlLight; + txtDistanceOffABLine.BackColor = SystemColors.ControlLight; + lblHz.BackColor = SystemColors.ControlLight; + //lblFixQuality.BackColor = SystemColors.ControlLight; + //lblTest.BackColor = SystemColors.ControlLight; } else { statusStrip1.BackColor = Color.Tomato; - statusStripLeft.BackColor = Color.Tomato; - //menuStrip1.BackColor = Color.Tomato; - //lblSpeed.BackColor = Color.Tomato; - //lblHeading.BackColor = Color.Tomato; - //lblSpeedUnits.BackColor = Color.Tomato; - //lblDistanceOffLine.BackColor = Color.Tomato; - //lblHz.BackColor = Color.Tomato; + menuStrip1.BackColor = Color.Tomato; + lblSpeed.BackColor = Color.Tomato; + lblHeading.BackColor = Color.Tomato; + lblSpeedUnits.BackColor = Color.Tomato; + txtDistanceOffABLine.BackColor = Color.Tomato; + lblHz.BackColor = Color.Tomato; + //lblFixQuality.BackColor = Color.Tomato; + //lblTest.BackColor = Color.Tomato; } } //not Metric/Standard units sensitive - //lblLidarDistance.Text = (mc.lidarDistance * 0.01).ToString(); + //lblFixQuality.Text = ; + lblLidarDistance.Text = (mc.lidarDistance * 0.01).ToString(); lblHz.Text = NMEAHz + "Hz " + (int)(frameTime) + "\r\n" + FixQuality + HzTime.ToString("N1") + " Hz"; - //Distance on the buttons + + } + + //every half of a second update all status //////////////// 0.5 0.5 0.5 0.5 ///////////////// + if (displayUpdateHalfSecondCounter != oneHalfSecond) + { + //reset the counter + displayUpdateHalfSecondCounter = oneHalfSecond; + if (isMetric) { - if (bnd.bndArr.Count > 0) + if (bnd.bndArr[0].isSet) { if (yt.isYouTurnRight) { @@ -3230,7 +3503,7 @@ private void tmrWatchdog_tick(object sender, EventArgs e) else { - if (bnd.bndArr.Count > 0) + if (bnd.bndArr[0].isSet) { if (yt.isYouTurnRight) { @@ -3245,26 +3518,6 @@ private void tmrWatchdog_tick(object sender, EventArgs e) } } - //Do the Ntrip sequence per second - DoNTRIPSecondRoutine(); - } - - //every half of a second update all status //////////////// 0.5 0.5 0.5 0.5 ///////////////// - if (displayUpdateHalfSecondCounter != oneHalfSecond) - { - if (panelBatman.Visible) - { - //reset the counter - displayUpdateHalfSecondCounter = oneHalfSecond; - - lblRoll.Text = RollInDegrees; - lblYawHeading.Text = GyroInDegrees; - lblGPSHeading.Text = GPSHeading; - lblHeading2.Text = lblHeading.Text; - } - - - } //end every 1/2 second //every fifth second update /////////////////////////// FIFTH Fifth //////////////////////////// @@ -3273,27 +3526,38 @@ private void tmrWatchdog_tick(object sender, EventArgs e) //reset the counter displayUpdateOneFifthCounter = oneFifthSecond; - lblHeading.Text = Math.Round(fixHeading * 57.295779513, 2) + "\u00B0"; - - //if (tabControl1.SelectedIndex == 1 && tabControl1.Visible) - //{ + lblHeading.Text = Heading; - if (guidanceLineDistanceOff == 32020 | guidanceLineDistanceOff == 32000) + if (tabControl1.SelectedIndex == 2 && tabControl1.Visible) { - steerAnglesToolStripDropDownButton1.Text = "Off \r\n" + ActualSteerAngle; + + if (guidanceLineDistanceOff == 32020 | guidanceLineDistanceOff == 32000) + { + lblSetpointSteerAngle2.Text = "Off "; + //lblDiffSteerAngle2.Text = "Off"; + } + else + { + lblSetpointSteerAngle2.Text = SetSteerAngle; + //lblDiffSteerAngle2.Text = DiffSteerAngle; + } + + lblActualSteerAngle2.Text = ActualSteerAngle; + { + + lblRoll.Text = RollInDegrees; + lblYawHeading.Text = GyroInDegrees; + lblGPSHeading.Text = GPSHeading; + lblHeading2.Text = lblHeading.Text; + } } - else + + if (panelBatman.Visible) { - steerAnglesToolStripDropDownButton1.Text = SetSteerAngle + "\r\n" + ActualSteerAngle; + lblpRoll.Text = RollInDegrees; + lblpYawHeading.Text = GyroInDegrees; + lblpGPSHeading.Text = GPSHeading; } - - - //if (panelZoom.Visible) - //{ - // lblRoll.Text = RollInDegrees; - // lblYawHeading.Text = GyroInDegrees; - // lblGPSHeading.Text = GPSHeading; - //} } } //there was a new GPS update diff --git a/SourceCode/GPS/Forms/OpenGL.Designer.cs b/SourceCode/GPS/Forms/OpenGL.Designer.cs index 8e100084a..e878add3b 100644 --- a/SourceCode/GPS/Forms/OpenGL.Designer.cs +++ b/SourceCode/GPS/Forms/OpenGL.Designer.cs @@ -66,7 +66,6 @@ private void oglMain_Paint(object sender, PaintEventArgs e) GL.LoadIdentity(); camera.SetWorldCam(pivotAxlePos.easting, pivotAxlePos.northing, camHeading); CalcFrustum(); - worldGrid.DrawFieldSurface(); //GL.Disable(EnableCap.DepthTest); GL.Enable(EnableCap.Blend); @@ -377,83 +376,83 @@ private void oglMain_Paint(object sender, PaintEventArgs e) if (ct.isContourBtnOn) { string dist; - lblDistanceOffLine.Visible = true; + txtDistanceOffABLine.Visible = true; //lblDelta.Visible = true; if (ct.distanceFromCurrentLine == 32000) ct.distanceFromCurrentLine = 0; DrawLightBar(oglMain.Width, oglMain.Height, ct.distanceFromCurrentLine * 0.1); if ((ct.distanceFromCurrentLine) < 0.0) { - lblDistanceOffLine.ForeColor = Color.Green; + txtDistanceOffABLine.ForeColor = Color.Green; if (isMetric) dist = ((int)Math.Abs(ct.distanceFromCurrentLine * 0.1)) + " ->"; else dist = ((int)Math.Abs(ct.distanceFromCurrentLine / 2.54 * 0.1)) + " ->"; - lblDistanceOffLine.Text = dist; + txtDistanceOffABLine.Text = dist; } else { - lblDistanceOffLine.ForeColor = Color.Red; + txtDistanceOffABLine.ForeColor = Color.Red; if (isMetric) dist = "<- " + ((int)Math.Abs(ct.distanceFromCurrentLine * 0.1)); else dist = "<- " + ((int)Math.Abs(ct.distanceFromCurrentLine / 2.54 * 0.1)); - lblDistanceOffLine.Text = dist; + txtDistanceOffABLine.Text = dist; } } else if (ABLine.isABLineSet | ABLine.isABLineBeingSet) { string dist; - lblDistanceOffLine.Visible = true; + txtDistanceOffABLine.Visible = true; //lblDelta.Visible = true; DrawLightBar(oglMain.Width, oglMain.Height, ABLine.distanceFromCurrentLine * 0.1); if ((ABLine.distanceFromCurrentLine) < 0.0) { // ---> - lblDistanceOffLine.ForeColor = Color.Green; + txtDistanceOffABLine.ForeColor = Color.Green; if (isMetric) dist = ((int)Math.Abs(ABLine.distanceFromCurrentLine * 0.1)) + " ->"; else dist = ((int)Math.Abs(ABLine.distanceFromCurrentLine / 2.54 * 0.1)) + " ->"; - lblDistanceOffLine.Text = dist; + txtDistanceOffABLine.Text = dist; } else { // <---- - lblDistanceOffLine.ForeColor = Color.Red; + txtDistanceOffABLine.ForeColor = Color.Red; if (isMetric) dist = "<- " + ((int)Math.Abs(ABLine.distanceFromCurrentLine * 0.1)); else dist = "<- " + ((int)Math.Abs(ABLine.distanceFromCurrentLine / 2.54 * 0.1)); - lblDistanceOffLine.Text = dist; + txtDistanceOffABLine.Text = dist; } } else if (curve.isCurveBtnOn) { string dist; - lblDistanceOffLine.Visible = true; + txtDistanceOffABLine.Visible = true; //lblDelta.Visible = true; if (curve.distanceFromCurrentLine == 32000) curve.distanceFromCurrentLine = 0; DrawLightBar(oglMain.Width, oglMain.Height, curve.distanceFromCurrentLine * 0.1); if ((curve.distanceFromCurrentLine) < 0.0) { - lblDistanceOffLine.ForeColor = Color.Green; + txtDistanceOffABLine.ForeColor = Color.Green; if (isMetric) dist = ((int)Math.Abs(curve.distanceFromCurrentLine * 0.1)) + " ->"; else dist = ((int)Math.Abs(curve.distanceFromCurrentLine / 2.54 * 0.1)) + " ->"; - lblDistanceOffLine.Text = dist; + txtDistanceOffABLine.Text = dist; } else { - lblDistanceOffLine.ForeColor = Color.Red; + txtDistanceOffABLine.ForeColor = Color.Red; if (isMetric) dist = "<- " + ((int)Math.Abs(curve.distanceFromCurrentLine * 0.1)); else dist = "<- " + ((int)Math.Abs(curve.distanceFromCurrentLine / 2.54 * 0.1)); - lblDistanceOffLine.Text = dist; + txtDistanceOffABLine.Text = dist; } } else { - lblDistanceOffLine.Visible = false; + txtDistanceOffABLine.Visible = false; } } else { - lblDistanceOffLine.Visible = false; + txtDistanceOffABLine.Visible = false; } GL.Flush();//finish openGL commands @@ -494,10 +493,9 @@ private void oglMain_Paint(object sender, PaintEventArgs e) oglBack.Refresh(); //draw the zoom window - if (threeSeconds != zoomUpdateCounter ) + if (threeSeconds != zoomUpdateCounter && !tabControl1.Visible) { zoomUpdateCounter = threeSeconds; - if (panelBatman.Visible) oglZoom.Refresh(); } } @@ -590,16 +588,16 @@ private void oglBack_Paint(object sender, PaintEventArgs e) } //draw bright green on back buffer - if (bnd.bndArr.Count > 0 && bnd.lastBoundary < bnd.bndArr.Count) + if (bnd.bndArr[0].isSet) { ////draw the perimeter line so far - int ptCount = bnd.bndArr[bnd.lastBoundary].bndLine.Count; + int ptCount = bnd.bndArr[0].bndLine.Count; if (ptCount > 1) { GL.LineWidth(2); GL.Color3(0.0f, 0.99f, 0.0f); GL.Begin(PrimitiveType.LineStrip); - for (int h = 0; h < ptCount; h++) GL.Vertex3(bnd.bndArr[bnd.lastBoundary].bndLine[h].easting, bnd.bndArr[bnd.lastBoundary].bndLine[h].northing, 0); + for (int h = 0; h < ptCount; h++) GL.Vertex3(bnd.bndArr[0].bndLine[h].easting, bnd.bndArr[0].bndLine[h].northing, 0); GL.End(); } } @@ -705,7 +703,7 @@ private void oglBack_Paint(object sender, PaintEventArgs e) //If any nowhere applied, send OnRequest, if its all green send an offRequest section[j].isSectionRequiredOn = false; - if (bnd.bndArr.Count > 0) + if (bnd.bndArr[0].isSet) { int start = 0, end = 0, skip = 0; @@ -892,7 +890,7 @@ private void oglBack_Paint(object sender, PaintEventArgs e) //go see if data ready for draw and position updates tmrWatchdog.Enabled = false; - if (isJobStarted && toolStripBtnGPSStength.Image.Height == 38) + if (isJobStarted && stripOnlineGPS.Value != 1) { //auto save the field patches, contours accumulated so far FileSaveSections(); @@ -1237,51 +1235,21 @@ public void CalculateMinMax() //min max of the boundary //min max of the boundary - if (bnd.bndArr.Count > 0) + if (bnd.bndArr[0].isSet) { - if (bnd.currentBoundary == -1) - { - for (int i = 0; i < bnd.bndArr.Count; i++) - { - if (bnd.bndArr[i].isSet && bnd.bndArr[i].isOwnField) - { - int bndCnt = bnd.bndArr[i].bndLine.Count; - for (int j = 0; j < bndCnt; j++) - { - double x = bnd.bndArr[i].bndLine[j].easting; - double y = bnd.bndArr[i].bndLine[j].northing; - - //also tally the max/min of field x and z - if (minFieldX > x) minFieldX = x; - if (maxFieldX < x) maxFieldX = x; - if (minFieldY > y) minFieldY = y; - if (maxFieldY < y) maxFieldY = y; - } - } - } - double zoom = 500; - if (minFieldX < pivotAxlePos.easting - zoom) minFieldX = pivotAxlePos.easting - zoom; - if (maxFieldX > pivotAxlePos.easting + zoom) maxFieldX = pivotAxlePos.easting + zoom; - if (minFieldY < pivotAxlePos.northing - zoom) minFieldY = pivotAxlePos.northing - zoom; - if (maxFieldY > pivotAxlePos.northing + zoom) maxFieldY = pivotAxlePos.northing + zoom; - - - - } - else if (bnd.lastBoundary < bnd.bndArr.Count) + int bndCnt = bnd.bndArr[0].bndLine.Count; + for (int i = 0; i < bndCnt; i++) { - int bndCnt = bnd.bndArr[bnd.lastBoundary].bndLine.Count; - for (int i = 0; i < bndCnt; i++) - { - double x = bnd.bndArr[bnd.lastBoundary].bndLine[i].easting; - double y = bnd.bndArr[bnd.lastBoundary].bndLine[i].northing; - //also tally the max/min of field x and z - if (minFieldX > x) minFieldX = x; - if (maxFieldX < x) maxFieldX = x; - if (minFieldY > y) minFieldY = y; - if (maxFieldY < y) maxFieldY = y; - } + double x = bnd.bndArr[0].bndLine[i].easting; + double y = bnd.bndArr[0].bndLine[i].northing; + + //also tally the max/min of field x and z + if (minFieldX > x) minFieldX = x; + if (maxFieldX < x) maxFieldX = x; + if (minFieldY > y) minFieldY = y; + if (maxFieldY < y) maxFieldY = y; } + } else { @@ -1340,16 +1308,16 @@ public void CalculateMinMax() //maxFieldX += 8; //maxFieldY += 8; - //if (isMetric) - //{ - // lblFieldWidthEastWest.Text = Math.Abs((maxFieldX - minFieldX)).ToString("N0") + " m"; - // lblFieldWidthNorthSouth.Text = Math.Abs((maxFieldY - minFieldY)).ToString("N0") + " m"; - //} - //else - //{ - // //lblFieldWidthEastWest.Text = Math.Abs((maxFieldX - minFieldX) * glm.m2ft).ToString("N0") + " ft"; - // //lblFieldWidthNorthSouth.Text = Math.Abs((maxFieldY - minFieldY) * glm.m2ft).ToString("N0") + " ft"; - //} + if (isMetric) + { + lblFieldWidthEastWest.Text = Math.Abs((maxFieldX - minFieldX)).ToString("N0") + " m"; + lblFieldWidthNorthSouth.Text = Math.Abs((maxFieldY - minFieldY)).ToString("N0") + " m"; + } + else + { + lblFieldWidthEastWest.Text = Math.Abs((maxFieldX - minFieldX) * glm.m2ft).ToString("N0") + " ft"; + lblFieldWidthNorthSouth.Text = Math.Abs((maxFieldY - minFieldY) * glm.m2ft).ToString("N0") + " ft"; + } //lblZooom.Text = ((int)(maxFieldDistance)).ToString(); diff --git a/SourceCode/GPS/Forms/Position.designer.cs b/SourceCode/GPS/Forms/Position.designer.cs index c6c78f99b..0a604c956 100644 --- a/SourceCode/GPS/Forms/Position.designer.cs +++ b/SourceCode/GPS/Forms/Position.designer.cs @@ -172,7 +172,7 @@ private void UpdateFixPosition() rollUsed = 0; - if ((ahrs.isRollFromBrick | ahrs.isRollFromAutoSteer | ahrs.isRollFromGPS | ahrs.isRollFromExtUDP) && ahrs.rollX16 != 9999) + if (ahrs.isRollFromBrick | ahrs.isRollFromAutoSteer | ahrs.isRollFromGPS | ahrs.isRollFromExtUDP) { rollUsed = ((double)(ahrs.rollX16 - ahrs.rollZeroX16)) * 0.0625; @@ -312,13 +312,13 @@ private void UpdateFixPosition() } else { - if (curve.isCurveSet && curve.isCurveBtnOn) + if (curve.isCurveSet) { //do the calcs for AB Curve curve.GetCurrentCurveLine(pivotAxlePos, steerAxlePos); } - if (ABLine.isABLineSet && ABLine.isBtnABLineOn) + if (ABLine.isABLineSet) { ABLine.GetCurrentABLine(pivotAxlePos, steerAxlePos); if (yt.isRecordingCustomYouTurn) @@ -424,7 +424,7 @@ private void UpdateFixPosition() mc.isOutOfBounds = true; //if an outer boundary is set, then apply critical stop logic - if (bnd.bndArr.Count > 0) + if (bnd.bndArr[0].isSet) { //Are we inside outer and outside inner all turn boundaries, no turn creation problems if (IsInWorkingArea() && !yt.isTurnCreationTooClose && !yt.isTurnCreationNotCrossingError) @@ -555,7 +555,7 @@ private void CalculatePositionHeading() } //an IMU with heading correction, add the correction - if ((ahrs.isHeadingFromBrick | ahrs.isHeadingFromAutoSteer | ahrs.isHeadingFromPAOGI | ahrs.isHeadingFromExtUDP) && ahrs.correctionHeadingX16 != 9999) + if (ahrs.isHeadingFromBrick | ahrs.isHeadingFromAutoSteer | ahrs.isHeadingFromPAOGI | ahrs.isHeadingFromExtUDP) { //current gyro angle in radians double correctionHeading = (glm.toRadians((double)ahrs.correctionHeadingX16 * 0.0625)); @@ -720,14 +720,17 @@ private void AddBoundaryAndPerimiterPoint() //build the boundary line - if (bnd.isOkToAddPoints) + bool isInner = false; + for (int i = 0; i < MAXBOUNDARIES; i++) isInner |= bnd.bndArr[i].isOkToAddPoints; + + if (isInner) { - if (bnd.isDrawRightSide) + if (bnd.bndArr[bnd.boundarySelected].isDrawRightSide) { //Right side CBndPt point = new CBndPt(cosSectionHeading * (section[vehicle.numOfSections - 1].positionRight) + toolPos.easting, sinSectionHeading * (section[vehicle.numOfSections - 1].positionRight) + toolPos.northing, toolPos.heading); - bnd.BoundCreate.Add(point); + bnd.bndArr[bnd.boundarySelected].bndLine.Add(point); } //draw on left side @@ -736,7 +739,7 @@ private void AddBoundaryAndPerimiterPoint() //Right side CBndPt point = new CBndPt(cosSectionHeading * (section[0].positionLeft) + toolPos.easting, sinSectionHeading * (section[0].positionLeft) + toolPos.northing, toolPos.heading); - bnd.BoundCreate.Add(point); + bnd.bndArr[bnd.boundarySelected].bndLine.Add(point); } } @@ -932,56 +935,44 @@ public void CalculateSectionLookAhead(double northing, double easting, double co bool isLeftIn = true, isRightIn = true; for (int j = 0; j < vehicle.numOfSections; j++) { - if (bnd.bndArr.Count > 0) + if (bnd.bndArr[0].isSet) { - if (bnd.lastBoundary < bnd.bndArr.Count) + if (j == 0) { + //only one first left point, the rest are all rights moved over to left + isLeftIn = bnd.bndArr[0].IsPointInsideBoundary(section[j].leftPoint); + isRightIn = bnd.bndArr[0].IsPointInsideBoundary(section[j].rightPoint); - if (j == 0) + for (int i = 1; i < MAXBOUNDARIES; i++) { - - //only one first left point, the rest are all rights moved over to left - isLeftIn = bnd.bndArr[bnd.lastBoundary].IsPointInsideBoundary(section[j].leftPoint); - isRightIn = bnd.bndArr[bnd.lastBoundary].IsPointInsideBoundary(section[j].rightPoint); - - for (int i = 0; i < bnd.bndArr.Count; i++) + //inner boundaries should normally NOT have point inside + if (bnd.bndArr[i].isSet) { - if (!(bnd.bndArr[i].isOwnField)) - { - isLeftIn &= !bnd.bndArr[i].IsPointInsideBoundary(section[j].leftPoint); - isRightIn &= !bnd.bndArr[i].IsPointInsideBoundary(section[j].rightPoint); - } + isLeftIn &= !bnd.bndArr[i].IsPointInsideBoundary(section[j].leftPoint); + isRightIn &= !bnd.bndArr[i].IsPointInsideBoundary(section[j].rightPoint); } - - //merge the two sides into in or out - if (isLeftIn && isRightIn) section[j].isInsideBoundary = true; - else section[j].isInsideBoundary = false; } - else - { - //grab the right of previous section, its the left of this section - isLeftIn = isRightIn; - isRightIn = bnd.bndArr[bnd.lastBoundary].IsPointInsideBoundary(section[j].rightPoint); - for (int i = 0; i < bnd.bndArr.Count; i++) - { - if (!(bnd.bndArr[i].isOwnField)) - { - //inner boundaries should normally NOT have point inside - isRightIn &= !bnd.bndArr[i].IsPointInsideBoundary(section[j].rightPoint); - } - } - - if (isLeftIn && isRightIn) section[j].isInsideBoundary = true; - else section[j].isInsideBoundary = false; - } - section[vehicle.numOfSections].isInsideBoundary &= section[j].isInsideBoundary; + //merge the two sides into in or out + if (isLeftIn && isRightIn) section[j].isInsideBoundary = true; + else section[j].isInsideBoundary = false; } + else { - section[j].isInsideBoundary = false; - section[vehicle.numOfSections].isInsideBoundary = false; + //grab the right of previous section, its the left of this section + isLeftIn = isRightIn; + isRightIn = bnd.bndArr[0].IsPointInsideBoundary(section[j].rightPoint); + for (int i = 1; i < MAXBOUNDARIES; i++) + { + //inner boundaries should normally NOT have point inside + if (bnd.bndArr[i].isSet) isRightIn &= !bnd.bndArr[i].IsPointInsideBoundary(section[j].rightPoint); + } + + if (isLeftIn && isRightIn) section[j].isInsideBoundary = true; + else section[j].isInsideBoundary = false; } + section[vehicle.numOfSections].isInsideBoundary &= section[j].isInsideBoundary; } //no boundary created so always inside @@ -1078,67 +1069,34 @@ private void InitializeFirstFewGPSPositions() AutoSteerSettingsOutToPort(); } - return; } } public bool IsInWorkingArea() { - if (bnd.bndArr.Count > 0) + //first where are we, must be inside outer and outside of inner geofence non drive thru turn borders + if (gf.geoFenceArr[0].IsPointInGeoFenceArea(pivotAxlePos)) { - if (bnd.lastBoundary < bnd.bndArr.Count && bnd.bndArr[bnd.lastBoundary].isSet - && gf.geoFenceArr[bnd.lastBoundary].IsPointInGeoFenceArea(pivotAxlePos)) + for (int i = 1; i < MAXBOUNDARIES; i++) { - for (int j = 0; j < bnd.bndArr.Count; j++) + //make sure not inside a non drivethru boundary + if (!bnd.bndArr[i].isSet) continue; + if (bnd.bndArr[i].isDriveThru) continue; + if (gf.geoFenceArr[i].IsPointInGeoFenceArea(pivotAxlePos)) { - //make sure not inside a non drivethru boundary - if (!bnd.bndArr[j].isSet || bnd.bndArr[j].isOwnField || bnd.bndArr[j].isDriveThru) continue; - if (gf.geoFenceArr[j].IsPointInGeoFenceArea(pivotAxlePos)) - { - bnd.currentBoundary = j; - distancePivotToTurnLine = -3333; - return false; - } + distancePivotToTurnLine = -3333; + return false; } - bnd.currentBoundary = bnd.lastBoundary; - return true; } - else - { - for (int i = 0; i < bnd.bndArr.Count; i++) - { - if (bnd.bndArr[i].isSet && bnd.bndArr[i].isOwnField) - { - if (gf.geoFenceArr[i].IsPointInGeoFenceArea(pivotAxlePos)) - { - for (int j = 0; j < bnd.bndArr.Count; j++) - { - //make sure not inside a non drivethru boundary - if (!bnd.bndArr[j].isSet || bnd.bndArr[j].isOwnField || bnd.bndArr[j].isDriveThru) continue; - if (gf.geoFenceArr[j].IsPointInGeoFenceArea(pivotAxlePos)) - { - bnd.currentBoundary = j; - distancePivotToTurnLine = -3333; - return false; - } - } - bnd.lastBoundary = i; - bnd.currentBoundary = i; - return true; - } - } - } - } - distancePivotToTurnLine = -3333; - bnd.lastBoundary = 0; - bnd.currentBoundary = -1; - return false; } else { - return true; + distancePivotToTurnLine = -3333; + return false; } + //we are safely inside outer, outside inner boundaries + return true; } // intense math section.... the lat long converted to utm ********************************************************* diff --git a/SourceCode/GPS/Forms/SaveOpen.Designer.cs b/SourceCode/GPS/Forms/SaveOpen.Designer.cs index 119e35b9a..f5b1c3ff6 100644 --- a/SourceCode/GPS/Forms/SaveOpen.Designer.cs +++ b/SourceCode/GPS/Forms/SaveOpen.Designer.cs @@ -129,7 +129,6 @@ public partial class FormGPS public void FileSaveCurveLines() { - curve.moveDistance = 0; string dirField = fieldsDirectory + currentFieldDirectory + "\\"; string directoryName = Path.GetDirectoryName(dirField).ToString(CultureInfo.InvariantCulture); @@ -155,8 +154,6 @@ public void FileSaveCurveLines() writer.WriteLine(curve.curveArr[i].Name); //write out the aveheading - writer.WriteLine(curve.curveArr[i].spiralmode.ToString(CultureInfo.InvariantCulture)); - writer.WriteLine(curve.curveArr[i].circlemode.ToString(CultureInfo.InvariantCulture)); writer.WriteLine(curve.curveArr[i].aveHeading.ToString(CultureInfo.InvariantCulture)); //write out the points of ref line @@ -192,7 +189,6 @@ public void FileSaveCurveLines() public void FileLoadCurveLines() { - curve.moveDistance = 0; curve.curveArr?.Clear(); curve.numCurveLines = 0; @@ -240,30 +236,12 @@ public void FileLoadCurveLines() curve.curveArr[curve.numCurveLines].Name = reader.ReadLine(); // get the average heading line = reader.ReadLine(); - if (line == "True" || line == "False") - { - curve.curveArr[curve.numCurveLines].spiralmode = bool.Parse(line); - line = reader.ReadLine(); - } - else - { - curve.curveArr[curve.numCurveLines].spiralmode = false; - } - if (line == "True" || line == "False") - { - curve.curveArr[curve.numCurveLines].circlemode = bool.Parse(line); - line = reader.ReadLine(); - } - else - { - curve.curveArr[curve.numCurveLines].circlemode = false; - } curve.curveArr[curve.numCurveLines].aveHeading = double.Parse(line, CultureInfo.InvariantCulture); line = reader.ReadLine(); int numPoints = int.Parse(line); - if (numPoints > 0) + if (numPoints > 1) { curve.curveArr[curve.numCurveLines].curvePts?.Clear(); @@ -302,7 +280,6 @@ public void FileLoadCurveLines() public void FileSaveABLines() { - ABLine.moveDistance = 0; //make sure at least a global blank AB Line file exists string dirField = fieldsDirectory + currentFieldDirectory + "\\"; string directoryName = Path.GetDirectoryName(dirField).ToString(CultureInfo.InvariantCulture); @@ -338,7 +315,6 @@ public void FileSaveABLines() public void FileLoadABLines() { - ABLine.moveDistance = 0; //make sure at least a global blank AB Line file exists string dirField = fieldsDirectory + currentFieldDirectory + "\\"; string directoryName = Path.GetDirectoryName(dirField).ToString(CultureInfo.InvariantCulture); @@ -407,7 +383,6 @@ public void FileLoadABLines() if (ABLine.numABLines == 0) ABLine.numABLineSelected = 0; if (ABLine.numABLineSelected > ABLine.numABLines) ABLine.numABLineSelected = ABLine.numABLines; - } //function that save vehicle and section settings @@ -1078,7 +1053,7 @@ public void FileOpenField(string _openType) line = reader.ReadLine(); line = reader.ReadLine(); pn.convergenceAngle = double.Parse(line, CultureInfo.InvariantCulture); - //lblConvergenceAngle.Text = Math.Round(glm.toDegrees(pn.convergenceAngle), 3).ToString(); + lblConvergenceAngle.Text = Math.Round(glm.toDegrees(pn.convergenceAngle), 3).ToString(); } //start positions @@ -1146,6 +1121,135 @@ public void FileOpenField(string _openType) curve.refList?.Clear(); } + ////Either exit or update running save + //fileAndDirectory = fieldsDirectory + currentFieldDirectory + "\\ABLine.txt"; + //if (!File.Exists(fileAndDirectory)) + //{ + // var form = new FormTimedMessage(2000, gStr.gsMissingABLinesFile, gStr.gsButFieldIsLoaded); + // form.Show(); + //} + + //else + //{ + // using (StreamReader reader = new StreamReader(fileAndDirectory)) + // { + // try + // { + // ABLine.isABLineLoaded = false; + + // //read header + // line = reader.ReadLine(); + + // line = reader.ReadLine(); + // bool isAB = bool.Parse(line); + + // if (isAB) + // { + // //Heading , ,refPoint2x,z + // line = reader.ReadLine(); + // ABLine.abHeading = double.Parse(line, CultureInfo.InvariantCulture); + + // //refPoint1x,z + // line = reader.ReadLine(); + // string[] words = line.Split(','); + // ABLine.refPoint1.easting = double.Parse(words[0], CultureInfo.InvariantCulture); + // ABLine.refPoint1.northing = double.Parse(words[1], CultureInfo.InvariantCulture); + + // //refPoint2x,z + // line = reader.ReadLine(); + // words = line.Split(','); + // ABLine.refPoint2.easting = double.Parse(words[0], CultureInfo.InvariantCulture); + // ABLine.refPoint2.northing = double.Parse(words[1], CultureInfo.InvariantCulture); + + // //Tramline + // line = reader.ReadLine(); + // words = line.Split(','); + // ABLine.tramPassEvery = int.Parse(words[0]); + // ABLine.passBasedOn = int.Parse(words[1]); + + // ABLine.refABLineP1.easting = ABLine.refPoint1.easting - Math.Sin(ABLine.abHeading) * 4000.0; + // ABLine.refABLineP1.northing = ABLine.refPoint1.northing - Math.Cos(ABLine.abHeading) * 4000.0; + + // ABLine.refABLineP2.easting = ABLine.refPoint1.easting + Math.Sin(ABLine.abHeading) * 4000.0; + // ABLine.refABLineP2.northing = ABLine.refPoint1.northing + Math.Cos(ABLine.abHeading) * 4000.0; + + // ABLine.isABLineLoaded = true; + + // } + + // //clean up from last field maybe + // ABLine.isABLineSet = false; + // ABLine.isBtnABLineOn = false; + // DisableYouTurnButtons(); + // btnContourPriority.Enabled = true; + // btnABLine.Image = global::AgOpenGPS.Properties.Resources.ABLineOff; + // } + + // catch (Exception e) + // { + // var form = new FormTimedMessage(2000, gStr.gsABLineFileIsCorrupt, gStr.gsButFieldIsLoaded); + // form.Show(); + // WriteErrorLog("Load AB Line" + e.ToString()); + + // } + // } + //} + //// CurveLine ------------------------------------------------------------------------------------------------- + + ////Either exit or update running save + //fileAndDirectory = fieldsDirectory + currentFieldDirectory + "\\CurveLine.txt"; + //if (!File.Exists(fileAndDirectory)) + //{ + // var form = new FormTimedMessage(2000, gStr.gsMissingABCurveFile, gStr.gsButFieldIsLoaded); + // form.Show(); + //} + + //else + //{ + // using (StreamReader reader = new StreamReader(fileAndDirectory)) + // { + // try + // { + // //read header + // line = reader.ReadLine(); + + // // get the average heading + // line = reader.ReadLine(); + // curve.aveLineHeading = double.Parse(line, CultureInfo.InvariantCulture); + + + // line = reader.ReadLine(); + // int numPoints = int.Parse(line); + + // if (numPoints > 0) + // { + // curve.refList?.Clear(); + + // //load the line + // for (int i = 0; i < numPoints; i++) + // { + // line = reader.ReadLine(); + // string[] words = line.Split(','); + // vec3 vecPt = new vec3( + // double.Parse(words[0], CultureInfo.InvariantCulture), + // double.Parse(words[1], CultureInfo.InvariantCulture), + // double.Parse(words[2], CultureInfo.InvariantCulture)); + + // curve.refList.Add(vecPt); + // } + // } + // } + + // catch (Exception e) + // { + // var form = new FormTimedMessage(2000, gStr.gsCurveLineFileIsCorrupt, gStr.gsButFieldIsLoaded); + // form.Show(); + // WriteErrorLog("Load Boundary Line" + e.ToString()); + + // } + // } + //} + //section patches fileAndDirectory = fieldsDirectory + currentFieldDirectory + "\\Sections.txt"; if (!File.Exists(fileAndDirectory)) @@ -1210,8 +1314,9 @@ public void FileOpenField(string _openType) } } - // Contour points ---------------------------------------------------------------------------- - fileAndDirectory = fieldsDirectory + currentFieldDirectory + "\\Contour.txt"; + // Contour points ---------------------------------------------------------------------------- + + fileAndDirectory = fieldsDirectory + currentFieldDirectory + "\\Contour.txt"; if (!File.Exists(fileAndDirectory)) { var form = new FormTimedMessage(2000, gStr.gsMissingContourFile, gStr.gsButFieldIsLoaded); @@ -1271,6 +1376,7 @@ public void FileOpenField(string _openType) var form = new FormTimedMessage(2000, gStr.gsMissingFlagsFile, gStr.gsButFieldIsLoaded); form.Show(); } + else { using (StreamReader reader = new StreamReader(fileAndDirectory)) @@ -1338,15 +1444,8 @@ public void FileOpenField(string _openType) //read header line = reader.ReadLine();//Boundary - for (int k = 0; true; k++) + for (int k = 0; k < MAXBOUNDARIES; k++) { - //else error when open filed if nu boundary - if (reader.EndOfStream) break; - - bnd.bndArr.Add(new CBoundaryLines()); - turn.turnArr.Add(new CTurnLines()); - gf.geoFenceArr.Add(new CGeoFenceLines()); - //True or False OR points from older boundary files line = reader.ReadLine(); @@ -1364,23 +1463,12 @@ public void FileOpenField(string _openType) line = reader.ReadLine(); //number of points } - //Check for latest boundary files, then above line string is num of points - bool turnheading = false; - if (line == "True" || line == "False") - { - bnd.bndArr[k].isOwnField = bool.Parse(line); - line = reader.ReadLine(); //number of points - } - else if (k == 0) - { - turnheading = true; - bnd.bndArr[k].isOwnField = true; - } - int numPoints = int.Parse(line); if (numPoints > 0) { + bnd.bndArr[k].bndLine.Clear(); + //load the line for (int i = 0; i < numPoints; i++) { @@ -1391,10 +1479,6 @@ public void FileOpenField(string _openType) double.Parse(words[1], CultureInfo.InvariantCulture), double.Parse(words[2], CultureInfo.InvariantCulture)); - if (turnheading) - { - vecPt.heading = vecPt.heading + Math.PI; - } bnd.bndArr[k].bndLine.Add(vecPt); } @@ -1403,13 +1487,6 @@ public void FileOpenField(string _openType) if (bnd.bndArr[k].area > 0) bnd.bndArr[k].isSet = true; else bnd.bndArr[k].isSet = false; } - else - { - bnd.bndArr.RemoveAt(bnd.bndArr.Count - 1); - turn.turnArr.RemoveAt(bnd.bndArr.Count - 1); - gf.geoFenceArr.RemoveAt(bnd.bndArr.Count - 1); - k = k - 1; - } if (reader.EndOfStream) break; } @@ -1756,11 +1833,10 @@ public void FileSaveBoundary() using (StreamWriter writer = new StreamWriter(dirField + "Boundary.Txt")) { writer.WriteLine("$Boundary"); - for (int i = 0; i < bnd.bndArr.Count; i++) + for (int i = 0; i < FormGPS.MAXBOUNDARIES; i++) { writer.WriteLine(bnd.bndArr[i].isDriveThru); writer.WriteLine(bnd.bndArr[i].isDriveAround); - writer.WriteLine(bnd.bndArr[i].isOwnField); writer.WriteLine(bnd.bndArr[i].bndLine.Count.ToString(CultureInfo.InvariantCulture)); if (bnd.bndArr[i].bndLine.Count > 0) diff --git a/SourceCode/GPS/Forms/SerialComm.Designer.cs b/SourceCode/GPS/Forms/SerialComm.Designer.cs index a6357b275..04769667e 100644 --- a/SourceCode/GPS/Forms/SerialComm.Designer.cs +++ b/SourceCode/GPS/Forms/SerialComm.Designer.cs @@ -144,7 +144,10 @@ public void AutoSteerDataOutToPort() WriteErrorLog("Out Data to Steering Port " + e.ToString()); SerialPortAutoSteerClose(); } - } + } + + + } } @@ -212,6 +215,9 @@ private void sp_DataReceivedAutoSteer(object sender, System.IO.Ports.SerialDataR { if (spAutoSteer.IsOpen) { + + + if (!Properties.Settings.Default.isJRK) { try @@ -225,15 +231,19 @@ private void sp_DataReceivedAutoSteer(object sender, System.IO.Ports.SerialDataR { WriteErrorLog("AutoSteer Recv" + ex.ToString()); } + } else //get 2 byte feedback from pololu + { + + byte[] buffer = new byte[2]; spAutoSteer.Read(buffer, 0, 2); int feedback = buffer[0] + 256 * buffer[1]; actualSteerAngleDisp = feedback - 2047; - actualSteerAngleDisp -= (Properties.Settings.Default.setAS_steerAngleOffset - 127) * 5; + actualSteerAngleDisp += (Properties.Settings.Default.setAS_steerAngleOffset - 127) * 5; actualSteerAngleDisp /= Properties.Settings.Default.setAS_countsPerDegree; actualSteerAngleDisp *= 100; } @@ -510,7 +520,7 @@ public void SerialPortOpenGPS() if (sp.IsOpen) { simulatorOnToolStripMenuItem.Checked = false; - panelSim.Visible = false; + panelSimControls.Visible = false; timerSim.Enabled = false; Settings.Default.setMenu_isSimulatorOn = simulatorOnToolStripMenuItem.Checked; @@ -535,7 +545,7 @@ public void SerialPortOpenGPS() //update port status labels //stripPortGPS.Text = " * * "; //stripPortGPS.ForeColor = Color.Red; - //stripOnlineGPS.Value = 1; + stripOnlineGPS.Value = 1; //SettingsPageOpen(0); } @@ -573,7 +583,8 @@ public void SerialPortCloseGPS() //update port status labels //stripPortGPS.Text = " * * " + baudRateGPS.ToString(); //stripPortGPS.ForeColor = Color.ForestGreen; - //stripOnlineGPS.Value = 1; + stripOnlineGPS.Value = 1; + sp.Dispose(); } @@ -582,4 +593,4 @@ public void SerialPortCloseGPS() #endregion SerialPortGPS }//end class -}//end namespace +}//end namespace \ No newline at end of file diff --git a/SourceCode/GPS/Forms/UDPComm.Designer.cs b/SourceCode/GPS/Forms/UDPComm.Designer.cs index d901f789d..ebe0cfd06 100644 --- a/SourceCode/GPS/Forms/UDPComm.Designer.cs +++ b/SourceCode/GPS/Forms/UDPComm.Designer.cs @@ -172,12 +172,12 @@ private void UpdateRecvMessage(int port, byte[] data) //build string for display double actualSteerAngle = (Int16)((data[2] << 8) + data[3]); - //double setSteerAngle = (Int16)((data[4] << 8) + data[5]); - double setSteerAngle = guidanceLineSteerAngle; + double setSteerAngle = (Int16)((data[4] << 8) + data[5]); byte pwm = data[9]; actualSteerAngleDisp = actualSteerAngle; + //load the usb recv string with udp recd data for chart and gui info mc.serialRecvAutoSteerStr = (actualSteerAngle * 0.01).ToString("N2") + "," + (setSteerAngle * 0.01).ToString("N2") + "," + (ahrs.rollX16 * 0.0625).ToString("N1") + "," + mc.steerSwitchValue.ToString() @@ -218,6 +218,7 @@ private void UpdateRecvMessage(int port, byte[] data) } break; } + } } diff --git a/SourceCode/GPS/Properties/Resources.Designer.cs b/SourceCode/GPS/Properties/Resources.Designer.cs index 0308a111e..998153490 100644 --- a/SourceCode/GPS/Properties/Resources.Designer.cs +++ b/SourceCode/GPS/Properties/Resources.Designer.cs @@ -90,16 +90,6 @@ internal static System.Drawing.Bitmap ABLineOn { } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap ABLineSave { - get { - object obj = ResourceManager.GetObject("ABLineSave", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// @@ -132,9 +122,9 @@ internal static System.IO.UnmanagedMemoryStream Alarm10 { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap ArrowLeft { + internal static System.Drawing.Bitmap AreaSide { get { - object obj = ResourceManager.GetObject("ArrowLeft", resourceCulture); + object obj = ResourceManager.GetObject("AreaSide", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -142,19 +132,9 @@ internal static System.Drawing.Bitmap ArrowLeft { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap ArrowRight { - get { - object obj = ResourceManager.GetObject("ArrowRight", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap AutoGo { + internal static System.Drawing.Bitmap ArrowLeft { get { - object obj = ResourceManager.GetObject("AutoGo", resourceCulture); + object obj = ResourceManager.GetObject("ArrowLeft", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -162,9 +142,9 @@ internal static System.Drawing.Bitmap AutoGo { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap AutoManualIsAuto { + internal static System.Drawing.Bitmap ArrowRight { get { - object obj = ResourceManager.GetObject("AutoManualIsAuto", resourceCulture); + object obj = ResourceManager.GetObject("ArrowRight", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -172,9 +152,9 @@ internal static System.Drawing.Bitmap AutoManualIsAuto { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap AutoManualIsManual { + internal static System.Drawing.Bitmap AutoGo { get { - object obj = ResourceManager.GetObject("AutoManualIsManual", resourceCulture); + object obj = ResourceManager.GetObject("AutoGo", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -359,16 +339,6 @@ internal static System.Drawing.Bitmap Camera54 { } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap Camera541 { - get { - object obj = ResourceManager.GetObject("Camera541", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// @@ -429,16 +399,6 @@ internal static System.Drawing.Bitmap ComPorts { } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap Config54 { - get { - object obj = ResourceManager.GetObject("Config54", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// @@ -539,6 +499,16 @@ internal static System.Drawing.Bitmap Examples { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Extents { + get { + object obj = ResourceManager.GetObject("Extents", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// @@ -699,26 +669,6 @@ internal static System.Drawing.Bitmap GoogleEarth { } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap GPSSignalGood { - get { - object obj = ResourceManager.GetObject("GPSSignalGood", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap GPSSignalPoor { - get { - object obj = ResourceManager.GetObject("GPSSignalPoor", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// @@ -732,29 +682,9 @@ internal static System.Drawing.Bitmap gyro { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap HandNTRIP { - get { - object obj = ResourceManager.GetObject("HandNTRIP", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap HandSnap { + internal static System.Drawing.Bitmap Headland { get { - object obj = ResourceManager.GetObject("HandSnap", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap handUturnPanel { - get { - object obj = ResourceManager.GetObject("handUturnPanel", resourceCulture); + object obj = ResourceManager.GetObject("Headland", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -859,16 +789,6 @@ internal static System.Drawing.Bitmap MakeBoundaryContour { } } - /// - /// Looks up a localized resource of type System.Drawing.Bitmap. - /// - internal static System.Drawing.Bitmap MakeBoundaryContour1 { - get { - object obj = ResourceManager.GetObject("MakeBoundaryContour1", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// @@ -912,9 +832,9 @@ internal static System.Drawing.Bitmap OK64 { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap PivotAhead { + internal static System.Drawing.Bitmap PeriArea { get { - object obj = ResourceManager.GetObject("PivotAhead", resourceCulture); + object obj = ResourceManager.GetObject("PeriArea", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -922,9 +842,9 @@ internal static System.Drawing.Bitmap PivotAhead { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap PivotBehind { + internal static System.Drawing.Bitmap PeriDone { get { - object obj = ResourceManager.GetObject("PivotBehind", resourceCulture); + object obj = ResourceManager.GetObject("PeriDone", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -932,9 +852,9 @@ internal static System.Drawing.Bitmap PivotBehind { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap Play { + internal static System.Drawing.Bitmap PeriDraw { get { - object obj = ResourceManager.GetObject("Play", resourceCulture); + object obj = ResourceManager.GetObject("PeriDraw", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -942,9 +862,9 @@ internal static System.Drawing.Bitmap Play { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap PointStart { + internal static System.Drawing.Bitmap PivotAhead { get { - object obj = ResourceManager.GetObject("PointStart", resourceCulture); + object obj = ResourceManager.GetObject("PivotAhead", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -952,9 +872,9 @@ internal static System.Drawing.Bitmap PointStart { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap radar_icon { + internal static System.Drawing.Bitmap PivotBehind { get { - object obj = ResourceManager.GetObject("radar-icon", resourceCulture); + object obj = ResourceManager.GetObject("PivotBehind", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -962,9 +882,9 @@ internal static System.Drawing.Bitmap radar_icon { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap RecPath { + internal static System.Drawing.Bitmap Play { get { - object obj = ResourceManager.GetObject("RecPath", resourceCulture); + object obj = ResourceManager.GetObject("Play", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -972,9 +892,9 @@ internal static System.Drawing.Bitmap RecPath { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap SectionMasterOff { + internal static System.Drawing.Bitmap PointDelete { get { - object obj = ResourceManager.GetObject("SectionMasterOff", resourceCulture); + object obj = ResourceManager.GetObject("PointDelete", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -982,9 +902,9 @@ internal static System.Drawing.Bitmap SectionMasterOff { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap SectionMasterOn { + internal static System.Drawing.Bitmap PointDone { get { - object obj = ResourceManager.GetObject("SectionMasterOn", resourceCulture); + object obj = ResourceManager.GetObject("PointDone", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -992,9 +912,9 @@ internal static System.Drawing.Bitmap SectionMasterOn { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap SemiCircle { + internal static System.Drawing.Bitmap PointStart { get { - object obj = ResourceManager.GetObject("SemiCircle", resourceCulture); + object obj = ResourceManager.GetObject("PointStart", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -1002,9 +922,9 @@ internal static System.Drawing.Bitmap SemiCircle { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap Settings48 { + internal static System.Drawing.Bitmap radar_icon { get { - object obj = ResourceManager.GetObject("Settings48", resourceCulture); + object obj = ResourceManager.GetObject("radar-icon", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -1012,9 +932,9 @@ internal static System.Drawing.Bitmap Settings48 { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap Settings64 { + internal static System.Drawing.Bitmap RecPath { get { - object obj = ResourceManager.GetObject("Settings64", resourceCulture); + object obj = ResourceManager.GetObject("RecPath", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -1022,9 +942,9 @@ internal static System.Drawing.Bitmap Settings64 { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap SettingsGear64 { + internal static System.Drawing.Bitmap Satellite64 { get { - object obj = ResourceManager.GetObject("SettingsGear64", resourceCulture); + object obj = ResourceManager.GetObject("Satellite64", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -1032,9 +952,9 @@ internal static System.Drawing.Bitmap SettingsGear64 { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap skull { + internal static System.Drawing.Bitmap SectionMasterOff { get { - object obj = ResourceManager.GetObject("skull", resourceCulture); + object obj = ResourceManager.GetObject("SectionMasterOff", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -1042,9 +962,19 @@ internal static System.Drawing.Bitmap skull { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap Snap2 { + internal static System.Drawing.Bitmap SectionMasterOn { get { - object obj = ResourceManager.GetObject("Snap2", resourceCulture); + object obj = ResourceManager.GetObject("SectionMasterOn", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap SemiCircle { + get { + object obj = ResourceManager.GetObject("SemiCircle", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -1052,9 +982,9 @@ internal static System.Drawing.Bitmap Snap2 { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap SnapLeft { + internal static System.Drawing.Bitmap Settings48 { get { - object obj = ResourceManager.GetObject("SnapLeft", resourceCulture); + object obj = ResourceManager.GetObject("Settings48", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -1062,9 +992,9 @@ internal static System.Drawing.Bitmap SnapLeft { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap SnapLeftSmall { + internal static System.Drawing.Bitmap Settings64 { get { - object obj = ResourceManager.GetObject("SnapLeftSmall", resourceCulture); + object obj = ResourceManager.GetObject("Settings64", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -1072,9 +1002,19 @@ internal static System.Drawing.Bitmap SnapLeftSmall { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap SnapRight { + internal static System.Drawing.Bitmap SettingsGear64 { + get { + object obj = ResourceManager.GetObject("SettingsGear64", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap skull { get { - object obj = ResourceManager.GetObject("SnapRight", resourceCulture); + object obj = ResourceManager.GetObject("skull", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -1082,9 +1022,9 @@ internal static System.Drawing.Bitmap SnapRight { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap SnapRightSmall { + internal static System.Drawing.Bitmap Snap2 { get { - object obj = ResourceManager.GetObject("SnapRightSmall", resourceCulture); + object obj = ResourceManager.GetObject("Snap2", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -1162,9 +1102,9 @@ internal static System.Drawing.Bitmap SwitchOn { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap tire { + internal static System.Drawing.Bitmap TiltDown { get { - object obj = ResourceManager.GetObject("tire", resourceCulture); + object obj = ResourceManager.GetObject("TiltDown", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -1172,9 +1112,9 @@ internal static System.Drawing.Bitmap tire { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap ToolSettings { + internal static System.Drawing.Bitmap TiltUp { get { - object obj = ResourceManager.GetObject("ToolSettings", resourceCulture); + object obj = ResourceManager.GetObject("TiltUp", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -1182,9 +1122,9 @@ internal static System.Drawing.Bitmap ToolSettings { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap tree { + internal static System.Drawing.Bitmap tire { get { - object obj = ResourceManager.GetObject("tree", resourceCulture); + object obj = ResourceManager.GetObject("tire", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -1192,9 +1132,9 @@ internal static System.Drawing.Bitmap tree { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap UDPConfig { + internal static System.Drawing.Bitmap ToolSettings { get { - object obj = ResourceManager.GetObject("UDPConfig", resourceCulture); + object obj = ResourceManager.GetObject("ToolSettings", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -1202,9 +1142,9 @@ internal static System.Drawing.Bitmap UDPConfig { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap UnLock { + internal static System.Drawing.Bitmap tree { get { - object obj = ResourceManager.GetObject("UnLock", resourceCulture); + object obj = ResourceManager.GetObject("tree", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -1212,9 +1152,9 @@ internal static System.Drawing.Bitmap UnLock { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap UpArrow64 { + internal static System.Drawing.Bitmap TripOdometer { get { - object obj = ResourceManager.GetObject("UpArrow64", resourceCulture); + object obj = ResourceManager.GetObject("TripOdometer", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -1222,9 +1162,9 @@ internal static System.Drawing.Bitmap UpArrow64 { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap UTurnLeft { + internal static System.Drawing.Bitmap UDPConfig { get { - object obj = ResourceManager.GetObject("UTurnLeft", resourceCulture); + object obj = ResourceManager.GetObject("UDPConfig", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } @@ -1232,9 +1172,9 @@ internal static System.Drawing.Bitmap UTurnLeft { /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// - internal static System.Drawing.Bitmap UTurnRight { + internal static System.Drawing.Bitmap UpArrow64 { get { - object obj = ResourceManager.GetObject("UTurnRight", resourceCulture); + object obj = ResourceManager.GetObject("UpArrow64", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } diff --git a/SourceCode/GPS/Properties/Resources.resx b/SourceCode/GPS/Properties/Resources.resx index 2027bc0bb..b0b4dc642 100644 --- a/SourceCode/GPS/Properties/Resources.resx +++ b/SourceCode/GPS/Properties/Resources.resx @@ -127,38 +127,29 @@ ..\btnImages\AutoSteerOff.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\SnapRightSmall.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\btnImages\ZeroPitchRoll.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\back-button.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\SteerAhead.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\Youturn64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\btnImages\VehAft64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\Headland.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\Stop.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\GPSSignalGood.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\btnImages\ABLineSave.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\SettingsGear64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\HideContour.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\Webcam.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\PointDelete.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\UnLock.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\ABLineOff.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\boundaryStop.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -169,21 +160,18 @@ ..\btnImages\FileDontSave.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\UTurnRight.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\btnImages\AutoSteerOn.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\Cancel64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\FlagDelete.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\btnImages\ContourPriorityLeft.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\AddNew.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\btnImages\FileNewAndGo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -193,17 +181,14 @@ ..\btnImages\SteerBehind.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\Camera54.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\btnImages\Settings48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\WorkSwitch.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\FlagDelete.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\FlagYel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\ZoomIn48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\AutoStop.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -214,17 +199,14 @@ ..\btnImages\RecPath.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\tree.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\btnImages\SwitchOn.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\WideReturn.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\ZoomIn48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\VehicleSettings.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\skull.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -244,35 +226,41 @@ ..\btnImages\ImplementSettings.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\ABLineOff.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\Camera54.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\FilePrevious.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\Start48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\LonLat.gif;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\ABSmooth.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\btnImages\Custom.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\VehicleSettings.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\Play.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\gyro.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\Alarm10.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + ..\btnImages\AreaSide.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\BoundaryLeft.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\boundaryPause.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\boundaryPlay.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\BoundaryOuter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\displayMenu.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\btnImages\TiltUp.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\Youturn80.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -280,27 +268,21 @@ ..\btnImages\ToolSettings.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\AddNew.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\btnImages\FileNew.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\btnImages\Camera54.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\PeriArea.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\SectionMasterOff.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\AutoSteerConf.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\btnImages\UTurnLeft.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\TiltDown.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\FlagRed.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\LetterABlue.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\btnImages\CameraNorth64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -313,39 +295,36 @@ ..\btnImages\DnArrow64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\SnapLeft.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\btnImages\FileDelete.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\KeyHole.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\Webcam.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\AutoGo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\MakeBoundaryContour.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\btnImages\Snap2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\ZeroPitchRoll.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\YouTurnReverse.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\Satellite64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\SnapLeftSmall.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\YouTurnNo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\FileSave.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\FilePrevious.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\btnImages\PointStart.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\btnImages\ComPorts.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\Config54.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\btnImages\BoundaryRecord.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -355,8 +334,8 @@ ..\btnImages\Settings64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\UDPConfig.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\UpArrow64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\MakeBoundaryContour.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -367,17 +346,20 @@ ..\btnImages\BoundaryDelete.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\YouTurnNo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\tree.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\FileOpen.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\LetterABlue.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\TripOdometer.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\fileMenu.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\FlagYel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\btnImages\PeriDraw.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\BoundaryMenu.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -388,14 +370,17 @@ ..\btnImages\Color.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\ContourPriorityRight.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\fileMenu.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\ContourOn.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\SpecialFunctions.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\Snap2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\btnImages\radar-icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\VehHitched64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -421,59 +406,59 @@ ..\btnImages\ArrowLeft.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\UpArrow64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\WorkSwitch.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\Chart.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\VehAft64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\btnImages\ContourPriorityRight.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\LetterBBlue.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\FileExplorerWindows.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\btnImages\HandNTRIP.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\SpecialFunctions.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\AutoManualIsManual.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\KeyHole.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\HandSnap.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\PeriDone.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\displayMenu.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\PointDone.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\ManualOn.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\handUturnPanel.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\btnImages\AutoManualIsAuto.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\AutoSteerConf.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\CurveOff.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\Youturn64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\Start48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\FileExplorerWindows.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\ColorField.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\PointStart.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\FileNew.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\back-button.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\BoundaryOuter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\SwitchOff.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\Extents.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\GoogleEarth.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\UDPConfig.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\Alarm10.wav;System.IO.MemoryStream, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 ..\btnImages\Batman48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -487,37 +472,34 @@ ..\btnImages\ABLineCycle.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\boundaryPlay.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\CurveOff.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\OK64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\GPSSignalPoor.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\Chart.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\radar-icon.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\boundaryPause.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\MakeBoundary.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\SettingsGear64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\btnImages\PivotBehind.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\SnapRight.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\YouTurnReverse.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\ABSmooth.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\GoogleEarth.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\btnImages\VehRigid64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\btnImages\Play.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\btnImages\SwitchOff.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a \ No newline at end of file diff --git a/SourceCode/GPS/Properties/Settings.Designer.cs b/SourceCode/GPS/Properties/Settings.Designer.cs index 37a7a2cd0..4be629bdd 100644 --- a/SourceCode/GPS/Properties/Settings.Designer.cs +++ b/SourceCode/GPS/Properties/Settings.Designer.cs @@ -961,7 +961,7 @@ public bool setNTRIP_isGGAManual { [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("50")] + [global::System.Configuration.DefaultSettingValueAttribute("40")] public int setDisplay_snapDistance { get { return ((int)(this["setDisplay_snapDistance"])); @@ -1102,65 +1102,5 @@ public int setDisplay_lineWidth { this["setDisplay_lineWidth"] = value; } } - - [global::System.Configuration.UserScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("False")] - public bool setDisplay_isBatmanOn { - get { - return ((bool)(this["setDisplay_isBatmanOn"])); - } - set { - this["setDisplay_isBatmanOn"] = value; - } - } - - [global::System.Configuration.UserScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("380, 50")] - public global::System.Drawing.Point setDisplay_panelSnapLocation { - get { - return ((global::System.Drawing.Point)(this["setDisplay_panelSnapLocation"])); - } - set { - this["setDisplay_panelSnapLocation"] = value; - } - } - - [global::System.Configuration.UserScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("380, 100")] - public global::System.Drawing.Point setDisplay_panelSimLocation { - get { - return ((global::System.Drawing.Point)(this["setDisplay_panelSimLocation"])); - } - set { - this["setDisplay_panelSimLocation"] = value; - } - } - - [global::System.Configuration.UserScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("380, 150")] - public global::System.Drawing.Point setDisplay_panelTurnLocation { - get { - return ((global::System.Drawing.Point)(this["setDisplay_panelTurnLocation"])); - } - set { - this["setDisplay_panelTurnLocation"] = value; - } - } - - [global::System.Configuration.UserScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("270, 70")] - public global::System.Drawing.Point setDisplay_panelNTRIP { - get { - return ((global::System.Drawing.Point)(this["setDisplay_panelNTRIP"])); - } - set { - this["setDisplay_panelNTRIP"] = value; - } - } } } diff --git a/SourceCode/GPS/Properties/Settings.settings b/SourceCode/GPS/Properties/Settings.settings index 2015d0c2c..baabbc527 100644 --- a/SourceCode/GPS/Properties/Settings.settings +++ b/SourceCode/GPS/Properties/Settings.settings @@ -237,7 +237,7 @@ True - 50 + 40 10 @@ -272,20 +272,5 @@ 2 - - False - - - 380, 50 - - - 380, 100 - - - 380, 150 - - - 270, 70 - \ No newline at end of file diff --git a/SourceCode/GPS/Properties/Vehicle.Designer.cs b/SourceCode/GPS/Properties/Vehicle.Designer.cs index c213e0065..cb7ba6bd9 100644 --- a/SourceCode/GPS/Properties/Vehicle.Designer.cs +++ b/SourceCode/GPS/Properties/Vehicle.Designer.cs @@ -12,7 +12,7 @@ namespace AgOpenGPS.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.3.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.1.0.0")] internal sealed partial class Vehicle : global::System.Configuration.ApplicationSettingsBase { private static Vehicle defaultInstance = ((Vehicle)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Vehicle()))); @@ -718,29 +718,5 @@ public bool setVehicle_isStanleyUsed { this["setVehicle_isStanleyUsed"] = value; } } - - [global::System.Configuration.UserScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("0")] - public int setTram_BasedOn { - get { - return ((int)(this["setTram_BasedOn"])); - } - set { - this["setTram_BasedOn"] = value; - } - } - - [global::System.Configuration.UserScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("0")] - public int setTram_Skips { - get { - return ((int)(this["setTram_Skips"])); - } - set { - this["setTram_Skips"] = value; - } - } } } diff --git a/SourceCode/GPS/Properties/Vehicle.settings b/SourceCode/GPS/Properties/Vehicle.settings index a987c5253..11e222c41 100644 --- a/SourceCode/GPS/Properties/Vehicle.settings +++ b/SourceCode/GPS/Properties/Vehicle.settings @@ -176,11 +176,5 @@ True - - 0 - - - 0 - \ No newline at end of file diff --git a/SourceCode/GPS/References/Control.Draggable.dll b/SourceCode/GPS/References/Control.Draggable.dll deleted file mode 100644 index 0f7ba7fad..000000000 Binary files a/SourceCode/GPS/References/Control.Draggable.dll and /dev/null differ diff --git a/SourceCode/GPS/Resources/MakeBoundary.png b/SourceCode/GPS/Resources/MakeBoundary.png deleted file mode 100644 index 3c79d24e0..000000000 Binary files a/SourceCode/GPS/Resources/MakeBoundary.png and /dev/null differ diff --git a/SourceCode/GPS/app.config b/SourceCode/GPS/app.config index d1ec1db05..023b1765c 100644 --- a/SourceCode/GPS/app.config +++ b/SourceCode/GPS/app.config @@ -185,12 +185,6 @@ True - - 0 - - - 0 - @@ -545,7 +539,7 @@ True - 50 + 40 10 @@ -580,21 +574,6 @@ 2 - - False - - - 380, 50 - - - 380, 100 - - - 380, 150 - - - 270, 70 - \ No newline at end of file diff --git a/SourceCode/GPS/btnImages/ABLineCycle.png b/SourceCode/GPS/btnImages/ABLineCycle.png index e41aac90f..bf2cfc0d4 100644 Binary files a/SourceCode/GPS/btnImages/ABLineCycle.png and b/SourceCode/GPS/btnImages/ABLineCycle.png differ diff --git a/SourceCode/GPS/btnImages/ABLineOff.png b/SourceCode/GPS/btnImages/ABLineOff.png index fcfd56a44..df5cfa333 100644 Binary files a/SourceCode/GPS/btnImages/ABLineOff.png and b/SourceCode/GPS/btnImages/ABLineOff.png differ diff --git a/SourceCode/GPS/btnImages/ABLineOn.png b/SourceCode/GPS/btnImages/ABLineOn.png index 41e3e0592..6249905eb 100644 Binary files a/SourceCode/GPS/btnImages/ABLineOn.png and b/SourceCode/GPS/btnImages/ABLineOn.png differ diff --git a/SourceCode/GPS/btnImages/ABLineSave.png b/SourceCode/GPS/btnImages/ABLineSave.png deleted file mode 100644 index da60fb914..000000000 Binary files a/SourceCode/GPS/btnImages/ABLineSave.png and /dev/null differ diff --git a/SourceCode/GPS/btnImages/ABSmooth.png b/SourceCode/GPS/btnImages/ABSmooth.png index 059cd2fda..f0b51f23a 100644 Binary files a/SourceCode/GPS/btnImages/ABSmooth.png and b/SourceCode/GPS/btnImages/ABSmooth.png differ diff --git a/SourceCode/GPS/btnImages/AddNew.png b/SourceCode/GPS/btnImages/AddNew.png index a6ff03a12..406daee9b 100644 Binary files a/SourceCode/GPS/btnImages/AddNew.png and b/SourceCode/GPS/btnImages/AddNew.png differ diff --git a/SourceCode/GPS/btnImages/AreaSide.png b/SourceCode/GPS/btnImages/AreaSide.png new file mode 100644 index 000000000..98e42c65f Binary files /dev/null and b/SourceCode/GPS/btnImages/AreaSide.png differ diff --git a/SourceCode/GPS/btnImages/ArrowLeft.png b/SourceCode/GPS/btnImages/ArrowLeft.png index 2705c794f..b42c8c5ab 100644 Binary files a/SourceCode/GPS/btnImages/ArrowLeft.png and b/SourceCode/GPS/btnImages/ArrowLeft.png differ diff --git a/SourceCode/GPS/btnImages/ArrowRight.png b/SourceCode/GPS/btnImages/ArrowRight.png index 7a38d0a54..fabe2be1d 100644 Binary files a/SourceCode/GPS/btnImages/ArrowRight.png and b/SourceCode/GPS/btnImages/ArrowRight.png differ diff --git a/SourceCode/GPS/btnImages/AutoGo.png b/SourceCode/GPS/btnImages/AutoGo.png index 607042b6d..a0df92ca3 100644 Binary files a/SourceCode/GPS/btnImages/AutoGo.png and b/SourceCode/GPS/btnImages/AutoGo.png differ diff --git a/SourceCode/GPS/btnImages/AutoManualIsAuto.png b/SourceCode/GPS/btnImages/AutoManualIsAuto.png deleted file mode 100644 index 54b89b405..000000000 Binary files a/SourceCode/GPS/btnImages/AutoManualIsAuto.png and /dev/null differ diff --git a/SourceCode/GPS/btnImages/AutoManualIsManual.png b/SourceCode/GPS/btnImages/AutoManualIsManual.png deleted file mode 100644 index ea5b34d83..000000000 Binary files a/SourceCode/GPS/btnImages/AutoManualIsManual.png and /dev/null differ diff --git a/SourceCode/GPS/btnImages/AutoSteerConf.png b/SourceCode/GPS/btnImages/AutoSteerConf.png index 639613bb2..7b045d88c 100644 Binary files a/SourceCode/GPS/btnImages/AutoSteerConf.png and b/SourceCode/GPS/btnImages/AutoSteerConf.png differ diff --git a/SourceCode/GPS/btnImages/AutoSteerOff.png b/SourceCode/GPS/btnImages/AutoSteerOff.png index e2badd1df..3e3ca0fd6 100644 Binary files a/SourceCode/GPS/btnImages/AutoSteerOff.png and b/SourceCode/GPS/btnImages/AutoSteerOff.png differ diff --git a/SourceCode/GPS/btnImages/AutoSteerOn.png b/SourceCode/GPS/btnImages/AutoSteerOn.png index ff454c1af..376974b24 100644 Binary files a/SourceCode/GPS/btnImages/AutoSteerOn.png and b/SourceCode/GPS/btnImages/AutoSteerOn.png differ diff --git a/SourceCode/GPS/btnImages/AutoStop.png b/SourceCode/GPS/btnImages/AutoStop.png index 3459010d1..f26a603e8 100644 Binary files a/SourceCode/GPS/btnImages/AutoStop.png and b/SourceCode/GPS/btnImages/AutoStop.png differ diff --git a/SourceCode/GPS/btnImages/Batman48.png b/SourceCode/GPS/btnImages/Batman48.png index 8a1ef5d47..4fe8b514b 100644 Binary files a/SourceCode/GPS/btnImages/Batman48.png and b/SourceCode/GPS/btnImages/Batman48.png differ diff --git a/SourceCode/GPS/btnImages/BoundaryDelete.png b/SourceCode/GPS/btnImages/BoundaryDelete.png index b533eb6ce..2bd703ddd 100644 Binary files a/SourceCode/GPS/btnImages/BoundaryDelete.png and b/SourceCode/GPS/btnImages/BoundaryDelete.png differ diff --git a/SourceCode/GPS/btnImages/BoundaryLeft.png b/SourceCode/GPS/btnImages/BoundaryLeft.png index 857ef83ce..9860a079c 100644 Binary files a/SourceCode/GPS/btnImages/BoundaryLeft.png and b/SourceCode/GPS/btnImages/BoundaryLeft.png differ diff --git a/SourceCode/GPS/btnImages/BoundaryMenu.png b/SourceCode/GPS/btnImages/BoundaryMenu.png index 9d7c13153..6bd98e9dc 100644 Binary files a/SourceCode/GPS/btnImages/BoundaryMenu.png and b/SourceCode/GPS/btnImages/BoundaryMenu.png differ diff --git a/SourceCode/GPS/btnImages/BoundaryOuter.png b/SourceCode/GPS/btnImages/BoundaryOuter.png index c976a2be1..2bcddefe7 100644 Binary files a/SourceCode/GPS/btnImages/BoundaryOuter.png and b/SourceCode/GPS/btnImages/BoundaryOuter.png differ diff --git a/SourceCode/GPS/btnImages/BoundaryRecord.png b/SourceCode/GPS/btnImages/BoundaryRecord.png index 97018065f..aab00a38d 100644 Binary files a/SourceCode/GPS/btnImages/BoundaryRecord.png and b/SourceCode/GPS/btnImages/BoundaryRecord.png differ diff --git a/SourceCode/GPS/btnImages/BoundaryRight.png b/SourceCode/GPS/btnImages/BoundaryRight.png index 0e2fbfc1e..5ed28cb0f 100644 Binary files a/SourceCode/GPS/btnImages/BoundaryRight.png and b/SourceCode/GPS/btnImages/BoundaryRight.png differ diff --git a/SourceCode/GPS/btnImages/Camera2D64.png b/SourceCode/GPS/btnImages/Camera2D64.png index f628f2af1..4aa011a9e 100644 Binary files a/SourceCode/GPS/btnImages/Camera2D64.png and b/SourceCode/GPS/btnImages/Camera2D64.png differ diff --git a/SourceCode/GPS/btnImages/Camera3D64.png b/SourceCode/GPS/btnImages/Camera3D64.png index 1ac1c9014..8b4c1a4b8 100644 Binary files a/SourceCode/GPS/btnImages/Camera3D64.png and b/SourceCode/GPS/btnImages/Camera3D64.png differ diff --git a/SourceCode/GPS/btnImages/Camera54.png b/SourceCode/GPS/btnImages/Camera54.png index eaa474194..464c54ded 100644 Binary files a/SourceCode/GPS/btnImages/Camera54.png and b/SourceCode/GPS/btnImages/Camera54.png differ diff --git a/SourceCode/GPS/btnImages/CameraNorth64.png b/SourceCode/GPS/btnImages/CameraNorth64.png index 62b366926..187b8f701 100644 Binary files a/SourceCode/GPS/btnImages/CameraNorth64.png and b/SourceCode/GPS/btnImages/CameraNorth64.png differ diff --git a/SourceCode/GPS/btnImages/Cancel64.png b/SourceCode/GPS/btnImages/Cancel64.png index 495c0206a..454f81bce 100644 Binary files a/SourceCode/GPS/btnImages/Cancel64.png and b/SourceCode/GPS/btnImages/Cancel64.png differ diff --git a/SourceCode/GPS/btnImages/ComPorts.png b/SourceCode/GPS/btnImages/ComPorts.png index 06c77720e..6a20dd696 100644 Binary files a/SourceCode/GPS/btnImages/ComPorts.png and b/SourceCode/GPS/btnImages/ComPorts.png differ diff --git a/SourceCode/GPS/btnImages/Config54.png b/SourceCode/GPS/btnImages/Config54.png deleted file mode 100644 index 38eb8d623..000000000 Binary files a/SourceCode/GPS/btnImages/Config54.png and /dev/null differ diff --git a/SourceCode/GPS/btnImages/ContourOff.png b/SourceCode/GPS/btnImages/ContourOff.png index ba8201045..ca94f3922 100644 Binary files a/SourceCode/GPS/btnImages/ContourOff.png and b/SourceCode/GPS/btnImages/ContourOff.png differ diff --git a/SourceCode/GPS/btnImages/ContourOn.png b/SourceCode/GPS/btnImages/ContourOn.png index 67e76abd1..742cabdbd 100644 Binary files a/SourceCode/GPS/btnImages/ContourOn.png and b/SourceCode/GPS/btnImages/ContourOn.png differ diff --git a/SourceCode/GPS/btnImages/ContourPriorityLeft.png b/SourceCode/GPS/btnImages/ContourPriorityLeft.png index 24cc68aeb..27b05180c 100644 Binary files a/SourceCode/GPS/btnImages/ContourPriorityLeft.png and b/SourceCode/GPS/btnImages/ContourPriorityLeft.png differ diff --git a/SourceCode/GPS/btnImages/ContourPriorityRight.png b/SourceCode/GPS/btnImages/ContourPriorityRight.png index 759294377..7dfb1c76b 100644 Binary files a/SourceCode/GPS/btnImages/ContourPriorityRight.png and b/SourceCode/GPS/btnImages/ContourPriorityRight.png differ diff --git a/SourceCode/GPS/btnImages/CurveOff.png b/SourceCode/GPS/btnImages/CurveOff.png index f653c65ed..781b304cf 100644 Binary files a/SourceCode/GPS/btnImages/CurveOff.png and b/SourceCode/GPS/btnImages/CurveOff.png differ diff --git a/SourceCode/GPS/btnImages/CurveOn.png b/SourceCode/GPS/btnImages/CurveOn.png index 5434747da..f404063d2 100644 Binary files a/SourceCode/GPS/btnImages/CurveOn.png and b/SourceCode/GPS/btnImages/CurveOn.png differ diff --git a/SourceCode/GPS/btnImages/DnArrow64.png b/SourceCode/GPS/btnImages/DnArrow64.png index 2090d1abd..dbd910664 100644 Binary files a/SourceCode/GPS/btnImages/DnArrow64.png and b/SourceCode/GPS/btnImages/DnArrow64.png differ diff --git a/SourceCode/GPS/btnImages/Extents.png b/SourceCode/GPS/btnImages/Extents.png new file mode 100644 index 000000000..3866b7336 Binary files /dev/null and b/SourceCode/GPS/btnImages/Extents.png differ diff --git a/SourceCode/GPS/btnImages/FieldView.png b/SourceCode/GPS/btnImages/FieldView.png new file mode 100644 index 000000000..bec410561 Binary files /dev/null and b/SourceCode/GPS/btnImages/FieldView.png differ diff --git a/SourceCode/GPS/btnImages/FileExplorerWindows.png b/SourceCode/GPS/btnImages/FileExplorerWindows.png index 7620697a9..8108748e4 100644 Binary files a/SourceCode/GPS/btnImages/FileExplorerWindows.png and b/SourceCode/GPS/btnImages/FileExplorerWindows.png differ diff --git a/SourceCode/GPS/btnImages/FileOpen.png b/SourceCode/GPS/btnImages/FileOpen.png index 766f204d7..4d060fb66 100644 Binary files a/SourceCode/GPS/btnImages/FileOpen.png and b/SourceCode/GPS/btnImages/FileOpen.png differ diff --git a/SourceCode/GPS/btnImages/FilePrevious.png b/SourceCode/GPS/btnImages/FilePrevious.png index b6b6a79cf..6265292eb 100644 Binary files a/SourceCode/GPS/btnImages/FilePrevious.png and b/SourceCode/GPS/btnImages/FilePrevious.png differ diff --git a/SourceCode/GPS/btnImages/FlagDelete.png b/SourceCode/GPS/btnImages/FlagDelete.png index 187b934ef..824938510 100644 Binary files a/SourceCode/GPS/btnImages/FlagDelete.png and b/SourceCode/GPS/btnImages/FlagDelete.png differ diff --git a/SourceCode/GPS/btnImages/FlagDeleteAll.png b/SourceCode/GPS/btnImages/FlagDeleteAll.png index 5ebec2f0d..45d04cda7 100644 Binary files a/SourceCode/GPS/btnImages/FlagDeleteAll.png and b/SourceCode/GPS/btnImages/FlagDeleteAll.png differ diff --git a/SourceCode/GPS/btnImages/FlagGrn.png b/SourceCode/GPS/btnImages/FlagGrn.png index 9f9b763f7..b1c5c5191 100644 Binary files a/SourceCode/GPS/btnImages/FlagGrn.png and b/SourceCode/GPS/btnImages/FlagGrn.png differ diff --git a/SourceCode/GPS/btnImages/FlagRed.png b/SourceCode/GPS/btnImages/FlagRed.png index 6eebdc069..5111f53de 100644 Binary files a/SourceCode/GPS/btnImages/FlagRed.png and b/SourceCode/GPS/btnImages/FlagRed.png differ diff --git a/SourceCode/GPS/btnImages/FlagYel.png b/SourceCode/GPS/btnImages/FlagYel.png index 685cca6ff..5bb3a6631 100644 Binary files a/SourceCode/GPS/btnImages/FlagYel.png and b/SourceCode/GPS/btnImages/FlagYel.png differ diff --git a/SourceCode/GPS/btnImages/GPSSignalGood.png b/SourceCode/GPS/btnImages/GPSSignalGood.png deleted file mode 100644 index b93aa7314..000000000 Binary files a/SourceCode/GPS/btnImages/GPSSignalGood.png and /dev/null differ diff --git a/SourceCode/GPS/btnImages/GPSSignalPoor.png b/SourceCode/GPS/btnImages/GPSSignalPoor.png deleted file mode 100644 index ddcd41bdf..000000000 Binary files a/SourceCode/GPS/btnImages/GPSSignalPoor.png and /dev/null differ diff --git a/SourceCode/GPS/btnImages/GoogleEarth.png b/SourceCode/GPS/btnImages/GoogleEarth.png index 0f94b0864..2686aab6f 100644 Binary files a/SourceCode/GPS/btnImages/GoogleEarth.png and b/SourceCode/GPS/btnImages/GoogleEarth.png differ diff --git a/SourceCode/GPS/btnImages/HandNTRIP.png b/SourceCode/GPS/btnImages/HandNTRIP.png deleted file mode 100644 index b7b7e2b3b..000000000 Binary files a/SourceCode/GPS/btnImages/HandNTRIP.png and /dev/null differ diff --git a/SourceCode/GPS/btnImages/HandSnap.png b/SourceCode/GPS/btnImages/HandSnap.png deleted file mode 100644 index c41c45127..000000000 Binary files a/SourceCode/GPS/btnImages/HandSnap.png and /dev/null differ diff --git a/SourceCode/GPS/btnImages/Headland.png b/SourceCode/GPS/btnImages/Headland.png new file mode 100644 index 000000000..f6c2db223 Binary files /dev/null and b/SourceCode/GPS/btnImages/Headland.png differ diff --git a/SourceCode/GPS/btnImages/HideContour.png b/SourceCode/GPS/btnImages/HideContour.png index 3fbfa8040..c508bc1de 100644 Binary files a/SourceCode/GPS/btnImages/HideContour.png and b/SourceCode/GPS/btnImages/HideContour.png differ diff --git a/SourceCode/GPS/btnImages/JobActive.png b/SourceCode/GPS/btnImages/JobActive.png index 041f3ec52..0c0a796b1 100644 Binary files a/SourceCode/GPS/btnImages/JobActive.png and b/SourceCode/GPS/btnImages/JobActive.png differ diff --git a/SourceCode/GPS/btnImages/JobClosed.png b/SourceCode/GPS/btnImages/JobClosed.png new file mode 100644 index 000000000..037cb779d Binary files /dev/null and b/SourceCode/GPS/btnImages/JobClosed.png differ diff --git a/SourceCode/GPS/btnImages/MakeBoundary.png b/SourceCode/GPS/btnImages/MakeBoundary.png index 4d34c96d3..206630c96 100644 Binary files a/SourceCode/GPS/btnImages/MakeBoundary.png and b/SourceCode/GPS/btnImages/MakeBoundary.png differ diff --git a/SourceCode/GPS/btnImages/MakeBoundaryContour.jpg b/SourceCode/GPS/btnImages/MakeBoundaryContour.jpg index 29a39f8c2..fbc8b1346 100644 Binary files a/SourceCode/GPS/btnImages/MakeBoundaryContour.jpg and b/SourceCode/GPS/btnImages/MakeBoundaryContour.jpg differ diff --git a/SourceCode/GPS/btnImages/MakeBoundaryContour.png b/SourceCode/GPS/btnImages/MakeBoundaryContour.png deleted file mode 100644 index 9f6b65b70..000000000 Binary files a/SourceCode/GPS/btnImages/MakeBoundaryContour.png and /dev/null differ diff --git a/SourceCode/GPS/btnImages/ManualOff.png b/SourceCode/GPS/btnImages/ManualOff.png index adf790c46..2ecd4c557 100644 Binary files a/SourceCode/GPS/btnImages/ManualOff.png and b/SourceCode/GPS/btnImages/ManualOff.png differ diff --git a/SourceCode/GPS/btnImages/ManualOn.png b/SourceCode/GPS/btnImages/ManualOn.png index 489226b67..45463f8b4 100644 Binary files a/SourceCode/GPS/btnImages/ManualOn.png and b/SourceCode/GPS/btnImages/ManualOn.png differ diff --git a/SourceCode/GPS/btnImages/NtripSettings.png b/SourceCode/GPS/btnImages/NtripSettings.png index 4377dae15..57eea213e 100644 Binary files a/SourceCode/GPS/btnImages/NtripSettings.png and b/SourceCode/GPS/btnImages/NtripSettings.png differ diff --git a/SourceCode/GPS/btnImages/OK64.png b/SourceCode/GPS/btnImages/OK64.png index e789bf822..95a7d30ed 100644 Binary files a/SourceCode/GPS/btnImages/OK64.png and b/SourceCode/GPS/btnImages/OK64.png differ diff --git a/SourceCode/GPS/btnImages/PeriArea.png b/SourceCode/GPS/btnImages/PeriArea.png new file mode 100644 index 000000000..51f5cb595 Binary files /dev/null and b/SourceCode/GPS/btnImages/PeriArea.png differ diff --git a/SourceCode/GPS/btnImages/PeriDone.png b/SourceCode/GPS/btnImages/PeriDone.png new file mode 100644 index 000000000..78f58a63b Binary files /dev/null and b/SourceCode/GPS/btnImages/PeriDone.png differ diff --git a/SourceCode/GPS/btnImages/PeriDraw.png b/SourceCode/GPS/btnImages/PeriDraw.png new file mode 100644 index 000000000..431bebb52 Binary files /dev/null and b/SourceCode/GPS/btnImages/PeriDraw.png differ diff --git a/SourceCode/GPS/btnImages/PointDelete.png b/SourceCode/GPS/btnImages/PointDelete.png new file mode 100644 index 000000000..6b52bd3b3 Binary files /dev/null and b/SourceCode/GPS/btnImages/PointDelete.png differ diff --git a/SourceCode/GPS/btnImages/PointDone.png b/SourceCode/GPS/btnImages/PointDone.png new file mode 100644 index 000000000..ac852030c Binary files /dev/null and b/SourceCode/GPS/btnImages/PointDone.png differ diff --git a/SourceCode/GPS/btnImages/PointStart.png b/SourceCode/GPS/btnImages/PointStart.png index 6ff87915c..7fc372872 100644 Binary files a/SourceCode/GPS/btnImages/PointStart.png and b/SourceCode/GPS/btnImages/PointStart.png differ diff --git a/SourceCode/GPS/btnImages/README.md b/SourceCode/GPS/btnImages/README.md deleted file mode 100644 index dd85cbae3..000000000 --- a/SourceCode/GPS/btnImages/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# AGOpen-GPS-Buttons -Buttons for AG Open GPS: -These images are intended for use in the program AGOpenGPS by Brian Tischler (https://github.com/farmerbriantee). The pictures may not be used commercially or duplicated. A commercial use or a duplication must be permitted by the creator. diff --git a/SourceCode/GPS/btnImages/Satellite64.png b/SourceCode/GPS/btnImages/Satellite64.png new file mode 100644 index 000000000..e042f185c Binary files /dev/null and b/SourceCode/GPS/btnImages/Satellite64.png differ diff --git a/SourceCode/GPS/btnImages/SectionMasterOff.png b/SourceCode/GPS/btnImages/SectionMasterOff.png index 218603b1c..a7f42b60e 100644 Binary files a/SourceCode/GPS/btnImages/SectionMasterOff.png and b/SourceCode/GPS/btnImages/SectionMasterOff.png differ diff --git a/SourceCode/GPS/btnImages/SectionMasterOn.png b/SourceCode/GPS/btnImages/SectionMasterOn.png index ca22d575e..c0a1ead79 100644 Binary files a/SourceCode/GPS/btnImages/SectionMasterOn.png and b/SourceCode/GPS/btnImages/SectionMasterOn.png differ diff --git a/SourceCode/GPS/btnImages/Settings48.png b/SourceCode/GPS/btnImages/Settings48.png index 1ad6fb576..9af1ddf24 100644 Binary files a/SourceCode/GPS/btnImages/Settings48.png and b/SourceCode/GPS/btnImages/Settings48.png differ diff --git a/SourceCode/GPS/btnImages/Settings64.png b/SourceCode/GPS/btnImages/Settings64.png index dac990930..0fe0f70f0 100644 Binary files a/SourceCode/GPS/btnImages/Settings64.png and b/SourceCode/GPS/btnImages/Settings64.png differ diff --git a/SourceCode/GPS/btnImages/SettingsGear64.png b/SourceCode/GPS/btnImages/SettingsGear64.png index 1ad6fb576..9eba6058a 100644 Binary files a/SourceCode/GPS/btnImages/SettingsGear64.png and b/SourceCode/GPS/btnImages/SettingsGear64.png differ diff --git a/SourceCode/GPS/btnImages/Snap2.png b/SourceCode/GPS/btnImages/Snap2.png index 864207835..ac0896622 100644 Binary files a/SourceCode/GPS/btnImages/Snap2.png and b/SourceCode/GPS/btnImages/Snap2.png differ diff --git a/SourceCode/GPS/btnImages/SnapLeft.png b/SourceCode/GPS/btnImages/SnapLeft.png deleted file mode 100644 index b0f2eb077..000000000 Binary files a/SourceCode/GPS/btnImages/SnapLeft.png and /dev/null differ diff --git a/SourceCode/GPS/btnImages/SnapLeftSmall.png b/SourceCode/GPS/btnImages/SnapLeftSmall.png deleted file mode 100644 index 70275759c..000000000 Binary files a/SourceCode/GPS/btnImages/SnapLeftSmall.png and /dev/null differ diff --git a/SourceCode/GPS/btnImages/SnapRight.png b/SourceCode/GPS/btnImages/SnapRight.png deleted file mode 100644 index 4d5faf19d..000000000 Binary files a/SourceCode/GPS/btnImages/SnapRight.png and /dev/null differ diff --git a/SourceCode/GPS/btnImages/SnapRightSmall.png b/SourceCode/GPS/btnImages/SnapRightSmall.png deleted file mode 100644 index 461beef80..000000000 Binary files a/SourceCode/GPS/btnImages/SnapRightSmall.png and /dev/null differ diff --git a/SourceCode/GPS/btnImages/SteerAhead.png b/SourceCode/GPS/btnImages/SteerAhead.png index ad089db4c..7e27f5d89 100644 Binary files a/SourceCode/GPS/btnImages/SteerAhead.png and b/SourceCode/GPS/btnImages/SteerAhead.png differ diff --git a/SourceCode/GPS/btnImages/SteerBehind.png b/SourceCode/GPS/btnImages/SteerBehind.png index f072ea448..1f8dc62d0 100644 Binary files a/SourceCode/GPS/btnImages/SteerBehind.png and b/SourceCode/GPS/btnImages/SteerBehind.png differ diff --git a/SourceCode/GPS/btnImages/SwitchOff.png b/SourceCode/GPS/btnImages/SwitchOff.png index cead78d73..83cf46478 100644 Binary files a/SourceCode/GPS/btnImages/SwitchOff.png and b/SourceCode/GPS/btnImages/SwitchOff.png differ diff --git a/SourceCode/GPS/btnImages/SwitchOn.png b/SourceCode/GPS/btnImages/SwitchOn.png index 8df8746b4..8c1e6ecec 100644 Binary files a/SourceCode/GPS/btnImages/SwitchOn.png and b/SourceCode/GPS/btnImages/SwitchOn.png differ diff --git a/SourceCode/GPS/btnImages/TiltDown.png b/SourceCode/GPS/btnImages/TiltDown.png new file mode 100644 index 000000000..8f1cd326b Binary files /dev/null and b/SourceCode/GPS/btnImages/TiltDown.png differ diff --git a/SourceCode/GPS/btnImages/TiltUp.png b/SourceCode/GPS/btnImages/TiltUp.png new file mode 100644 index 000000000..963119f2d Binary files /dev/null and b/SourceCode/GPS/btnImages/TiltUp.png differ diff --git a/SourceCode/GPS/btnImages/TripOdometer.png b/SourceCode/GPS/btnImages/TripOdometer.png new file mode 100644 index 000000000..1396520f5 Binary files /dev/null and b/SourceCode/GPS/btnImages/TripOdometer.png differ diff --git a/SourceCode/GPS/btnImages/UTurnLeft.png b/SourceCode/GPS/btnImages/UTurnLeft.png deleted file mode 100644 index 98838a958..000000000 Binary files a/SourceCode/GPS/btnImages/UTurnLeft.png and /dev/null differ diff --git a/SourceCode/GPS/btnImages/UTurnRight.png b/SourceCode/GPS/btnImages/UTurnRight.png deleted file mode 100644 index 149f2d89e..000000000 Binary files a/SourceCode/GPS/btnImages/UTurnRight.png and /dev/null differ diff --git a/SourceCode/GPS/btnImages/UnLock.png b/SourceCode/GPS/btnImages/UnLock.png deleted file mode 100644 index d3d3cfd1d..000000000 Binary files a/SourceCode/GPS/btnImages/UnLock.png and /dev/null differ diff --git a/SourceCode/GPS/btnImages/UpArrow64.png b/SourceCode/GPS/btnImages/UpArrow64.png index 18051014a..01bac2c7a 100644 Binary files a/SourceCode/GPS/btnImages/UpArrow64.png and b/SourceCode/GPS/btnImages/UpArrow64.png differ diff --git a/SourceCode/GPS/btnImages/VehAft64.png b/SourceCode/GPS/btnImages/VehAft64.png index c01e9f3cc..f3a28fdc0 100644 Binary files a/SourceCode/GPS/btnImages/VehAft64.png and b/SourceCode/GPS/btnImages/VehAft64.png differ diff --git a/SourceCode/GPS/btnImages/VehFore64.png b/SourceCode/GPS/btnImages/VehFore64.png index 980b68373..91f16eeb4 100644 Binary files a/SourceCode/GPS/btnImages/VehFore64.png and b/SourceCode/GPS/btnImages/VehFore64.png differ diff --git a/SourceCode/GPS/btnImages/VehHitched64.png b/SourceCode/GPS/btnImages/VehHitched64.png index e59d9983f..1dcbeb550 100644 Binary files a/SourceCode/GPS/btnImages/VehHitched64.png and b/SourceCode/GPS/btnImages/VehHitched64.png differ diff --git a/SourceCode/GPS/btnImages/VehRigid64.png b/SourceCode/GPS/btnImages/VehRigid64.png index 76ad0f6cb..9ee2f83f0 100644 Binary files a/SourceCode/GPS/btnImages/VehRigid64.png and b/SourceCode/GPS/btnImages/VehRigid64.png differ diff --git a/SourceCode/GPS/btnImages/Webcam.png b/SourceCode/GPS/btnImages/Webcam.png index d068b0639..c3341da02 100644 Binary files a/SourceCode/GPS/btnImages/Webcam.png and b/SourceCode/GPS/btnImages/Webcam.png differ diff --git a/SourceCode/GPS/btnImages/YouTurnNo.png b/SourceCode/GPS/btnImages/YouTurnNo.png index c28fb82e7..d47b03e8c 100644 Binary files a/SourceCode/GPS/btnImages/YouTurnNo.png and b/SourceCode/GPS/btnImages/YouTurnNo.png differ diff --git a/SourceCode/GPS/btnImages/YouTurnReverse.png b/SourceCode/GPS/btnImages/YouTurnReverse.png index 037c633ef..30f43abbf 100644 Binary files a/SourceCode/GPS/btnImages/YouTurnReverse.png and b/SourceCode/GPS/btnImages/YouTurnReverse.png differ diff --git a/SourceCode/GPS/btnImages/Youturn64.png b/SourceCode/GPS/btnImages/Youturn64.png index 359d3570c..6985f02b6 100644 Binary files a/SourceCode/GPS/btnImages/Youturn64.png and b/SourceCode/GPS/btnImages/Youturn64.png differ diff --git a/SourceCode/GPS/btnImages/Youturn80.png b/SourceCode/GPS/btnImages/Youturn80.png index 626d7dcea..5cd9a5ad6 100644 Binary files a/SourceCode/GPS/btnImages/Youturn80.png and b/SourceCode/GPS/btnImages/Youturn80.png differ diff --git a/SourceCode/GPS/btnImages/ZoomIn48.png b/SourceCode/GPS/btnImages/ZoomIn48.png index 32818889d..d2896b7cd 100644 Binary files a/SourceCode/GPS/btnImages/ZoomIn48.png and b/SourceCode/GPS/btnImages/ZoomIn48.png differ diff --git a/SourceCode/GPS/btnImages/ZoomOut48.png b/SourceCode/GPS/btnImages/ZoomOut48.png index 305c611f3..5e3f62417 100644 Binary files a/SourceCode/GPS/btnImages/ZoomOut48.png and b/SourceCode/GPS/btnImages/ZoomOut48.png differ diff --git a/SourceCode/GPS/btnImages/back-button.png b/SourceCode/GPS/btnImages/back-button.png index b65eba237..b948d605e 100644 Binary files a/SourceCode/GPS/btnImages/back-button.png and b/SourceCode/GPS/btnImages/back-button.png differ diff --git a/SourceCode/GPS/btnImages/boundaryPause.png b/SourceCode/GPS/btnImages/boundaryPause.png index 72030b45a..505f76ced 100644 Binary files a/SourceCode/GPS/btnImages/boundaryPause.png and b/SourceCode/GPS/btnImages/boundaryPause.png differ diff --git a/SourceCode/GPS/btnImages/boundaryStop.png b/SourceCode/GPS/btnImages/boundaryStop.png index ac37a53ba..72d9e5d15 100644 Binary files a/SourceCode/GPS/btnImages/boundaryStop.png and b/SourceCode/GPS/btnImages/boundaryStop.png differ diff --git a/SourceCode/GPS/btnImages/displayMenu.png b/SourceCode/GPS/btnImages/displayMenu.png index 5699af264..96d160ea7 100644 Binary files a/SourceCode/GPS/btnImages/displayMenu.png and b/SourceCode/GPS/btnImages/displayMenu.png differ diff --git a/SourceCode/GPS/btnImages/fileMenu.png b/SourceCode/GPS/btnImages/fileMenu.png index 7851540b5..a35fcc235 100644 Binary files a/SourceCode/GPS/btnImages/fileMenu.png and b/SourceCode/GPS/btnImages/fileMenu.png differ diff --git a/SourceCode/GPS/btnImages/gyro.png b/SourceCode/GPS/btnImages/gyro.png index cde44641e..a889e9c66 100644 Binary files a/SourceCode/GPS/btnImages/gyro.png and b/SourceCode/GPS/btnImages/gyro.png differ diff --git a/SourceCode/GPS/btnImages/handUturnPanel.png b/SourceCode/GPS/btnImages/handUturnPanel.png deleted file mode 100644 index 5fc9c8527..000000000 Binary files a/SourceCode/GPS/btnImages/handUturnPanel.png and /dev/null differ diff --git a/SourceCode/GPS/btnImages/skull.png b/SourceCode/GPS/btnImages/skull.png index 0c27c144c..e33559583 100644 Binary files a/SourceCode/GPS/btnImages/skull.png and b/SourceCode/GPS/btnImages/skull.png differ diff --git a/SourceCode/GPS/gStr.Designer.cs b/SourceCode/GPS/gStr.Designer.cs index d86b0e202..7f0fffa3c 100644 --- a/SourceCode/GPS/gStr.Designer.cs +++ b/SourceCode/GPS/gStr.Designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 +// Ce code a été généré par un outil. +// Version du runtime :4.0.30319.42000 // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si +// le code est régénéré. // //------------------------------------------------------------------------------ @@ -13,13 +13,13 @@ namespace AgOpenGPS { /// - /// A strongly-typed resource class, for looking up localized strings, etc. + /// Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées. /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] + // Cette classe a été générée automatiquement par la classe StronglyTypedResourceBuilder + // à l'aide d'un outil, tel que ResGen ou Visual Studio. + // Pour ajouter ou supprimer un membre, modifiez votre fichier .ResX, puis réexécutez ResGen + // avec l'option /str ou régénérez votre projet VS. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] public class gStr { @@ -33,7 +33,7 @@ internal gStr() { } /// - /// Returns the cached ResourceManager instance used by this class. + /// Retourne l'instance ResourceManager mise en cache utilisée par cette classe. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] public static global::System.Resources.ResourceManager ResourceManager { @@ -47,8 +47,8 @@ internal gStr() { } /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. + /// Remplace la propriété CurrentUICulture du thread actuel pour toutes + /// les recherches de ressources à l'aide de cette classe de ressource fortement typée. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] public static global::System.Globalization.CultureInfo Culture { @@ -61,7 +61,7 @@ internal gStr() { } /// - /// Looks up a localized string similar to << >> Snap Distance. + /// Recherche une chaîne localisée semblable à << >> Snap Distance. /// public static string gs____SnapDistance { get { @@ -70,7 +70,7 @@ public static string gs____SnapDistance { } /// - /// Looks up a localized string similar to < > Snap Distance. + /// Recherche une chaîne localisée semblable à < > Snap Distance. /// public static string gs__SnapDistance { get { @@ -79,7 +79,7 @@ public static string gs__SnapDistance { } /// - /// Looks up a localized string similar to # Of Sections. + /// Recherche une chaîne localisée semblable à # Of Sections. /// public static string gs_OfSections { get { @@ -88,7 +88,7 @@ public static string gs_OfSections { } /// - /// Looks up a localized string similar to AB Curve. + /// Recherche une chaîne localisée semblable à AB Curve. /// public static string gsABCurve { get { @@ -97,7 +97,7 @@ public static string gsABCurve { } /// - /// Looks up a localized string similar to AB Line. + /// Recherche une chaîne localisée semblable à AB Line. /// public static string gsABline { get { @@ -106,7 +106,7 @@ public static string gsABline { } /// - /// Looks up a localized string similar to ABLine file is Corrupt. + /// Recherche une chaîne localisée semblable à ABLine file is Corrupt. /// public static string gsABLineFileIsCorrupt { get { @@ -115,7 +115,7 @@ public static string gsABLineFileIsCorrupt { } /// - /// Looks up a localized string similar to About.... + /// Recherche une chaîne localisée semblable à About.... /// public static string gsAbout { get { @@ -124,7 +124,7 @@ public static string gsAbout { } /// - /// Looks up a localized string similar to Action. + /// Recherche une chaîne localisée semblable à Action. /// public static string gsAction { get { @@ -133,7 +133,7 @@ public static string gsAction { } /// - /// Looks up a localized string similar to Action Has Been Cancelled. + /// Recherche une chaîne localisée semblable à Action Has Been Cancelled. /// public static string gsActionHasBeenCancelled { get { @@ -142,7 +142,7 @@ public static string gsActionHasBeenCancelled { } /// - /// Looks up a localized string similar to Active Low. + /// Recherche une chaîne localisée semblable à Active Low. /// public static string gsActiveLow { get { @@ -151,7 +151,7 @@ public static string gsActiveLow { } /// - /// Looks up a localized string similar to Actual. + /// Recherche une chaîne localisée semblable à Actual. /// public static string gsActual { get { @@ -160,7 +160,7 @@ public static string gsActual { } /// - /// Looks up a localized string similar to After. + /// Recherche une chaîne localisée semblable à After. /// public static string gsAfter { get { @@ -169,7 +169,7 @@ public static string gsAfter { } /// - /// Looks up a localized string similar to AgOpenGPS. + /// Recherche une chaîne localisée semblable à AgOpenGPS. /// public static string gsAgOpenGPS { get { @@ -178,7 +178,7 @@ public static string gsAgOpenGPS { } /// - /// Looks up a localized string similar to AgOpenGPS Server. + /// Recherche une chaîne localisée semblable à AgOpenGPS Server. /// public static string gsAgOpenGPSServer { get { @@ -187,7 +187,7 @@ public static string gsAgOpenGPSServer { } /// - /// Looks up a localized string similar to AgOpenGPS Will Exit, Plz Restart. + /// Recherche une chaîne localisée semblable à AgOpenGPS Will Exit, Plz Restart. /// public static string gsAgOpenGPSWillExitPlzRestart { get { @@ -196,7 +196,7 @@ public static string gsAgOpenGPSWillExitPlzRestart { } /// - /// Looks up a localized string similar to Agressiveness. + /// Recherche une chaîne localisée semblable à Agressiveness. /// public static string gsAgressiveness { get { @@ -205,7 +205,7 @@ public static string gsAgressiveness { } /// - /// Looks up a localized string similar to All modules send to 9999. + /// Recherche une chaîne localisée semblable à All modules send to 9999. /// public static string gsAllmodulessendto { get { @@ -214,7 +214,7 @@ public static string gsAllmodulessendto { } /// - /// Looks up a localized string similar to All modules use 8888.. + /// Recherche une chaîne localisée semblable à All modules use 8888.. /// public static string gsAllmodulesuse { get { @@ -223,7 +223,7 @@ public static string gsAllmodulesuse { } /// - /// Looks up a localized string similar to ALL Settings Require Restart. + /// Recherche une chaîne localisée semblable à ALL Settings Require Restart. /// public static string gsALLSettingsRequireRestart { get { @@ -232,7 +232,7 @@ public static string gsALLSettingsRequireRestart { } /// - /// Looks up a localized string similar to Antenna. + /// Recherche une chaîne localisée semblable à Antenna. /// public static string gsAntenna { get { @@ -241,7 +241,7 @@ public static string gsAntenna { } /// - /// Looks up a localized string similar to Application Will Restart. + /// Recherche une chaîne localisée semblable à Application Will Restart. /// public static string gsApplicationWillRestart { get { @@ -250,7 +250,7 @@ public static string gsApplicationWillRestart { } /// - /// Looks up a localized string similar to Area. + /// Recherche une chaîne localisée semblable à Area. /// public static string gsArea { get { @@ -259,7 +259,7 @@ public static string gsArea { } /// - /// Looks up a localized string similar to Are you sure ?. + /// Recherche une chaîne localisée semblable à Are you sure ?. /// public static string gsAreYouSure { get { @@ -268,7 +268,7 @@ public static string gsAreYouSure { } /// - /// Looks up a localized string similar to Around. + /// Recherche une chaîne localisée semblable à Around. /// public static string gsAround { get { @@ -277,7 +277,7 @@ public static string gsAround { } /// - /// Looks up a localized string similar to At Socket Connect. + /// Recherche une chaîne localisée semblable à At Socket Connect. /// public static string gsAtSocketConnect { get { @@ -286,7 +286,7 @@ public static string gsAtSocketConnect { } /// - /// Looks up a localized string similar to Authourizing. + /// Recherche une chaîne localisée semblable à Authourizing. /// public static string gsAuthourizing { get { @@ -295,7 +295,7 @@ public static string gsAuthourizing { } /// - /// Looks up a localized string similar to Auto. + /// Recherche une chaîne localisée semblable à Auto. /// public static string gsAuto { get { @@ -304,7 +304,7 @@ public static string gsAuto { } /// - /// Looks up a localized string similar to Auto / Manual Autosteer Btn. + /// Recherche une chaîne localisée semblable à Auto / Manual Autosteer Btn. /// public static string gsAutoManualAutosteerBtn { get { @@ -313,7 +313,7 @@ public static string gsAutoManualAutosteerBtn { } /// - /// Looks up a localized string similar to Auto Section On Off. + /// Recherche une chaîne localisée semblable à Auto Section On Off. /// public static string gsAutoSectionOnOff { get { @@ -322,7 +322,7 @@ public static string gsAutoSectionOnOff { } /// - /// Looks up a localized string similar to Auto Steer. + /// Recherche une chaîne localisée semblable à Auto Steer. /// public static string gsAutoSteer { get { @@ -331,7 +331,7 @@ public static string gsAutoSteer { } /// - /// Looks up a localized string similar to AutoSteer Config. + /// Recherche une chaîne localisée semblable à AutoSteer Config. /// public static string gsAutoSteerConfig { get { @@ -340,7 +340,7 @@ public static string gsAutoSteerConfig { } /// - /// Looks up a localized string similar to Auto Steer Configuration. + /// Recherche une chaîne localisée semblable à Auto Steer Configuration. /// public static string gsAutoSteerConfiguration { get { @@ -349,7 +349,7 @@ public static string gsAutoSteerConfiguration { } /// - /// Looks up a localized string similar to AutoSteer On Off. + /// Recherche une chaîne localisée semblable à AutoSteer On Off. /// public static string gsAutoSteerOnOff { get { @@ -358,7 +358,7 @@ public static string gsAutoSteerOnOff { } /// - /// Looks up a localized string similar to Auto Steer Port. + /// Recherche une chaîne localisée semblable à Auto Steer Port. /// public static string gsAutoSteerPort { get { @@ -367,7 +367,7 @@ public static string gsAutoSteerPort { } /// - /// Looks up a localized string similar to Based on Field:. + /// Recherche une chaîne localisée semblable à Based on Field:. /// public static string gsBasedOnField { get { @@ -376,7 +376,7 @@ public static string gsBasedOnField { } /// - /// Looks up a localized string similar to Baud. + /// Recherche une chaîne localisée semblable à Baud. /// public static string gsBaud { get { @@ -385,7 +385,7 @@ public static string gsBaud { } /// - /// Looks up a localized string similar to Begin. + /// Recherche une chaîne localisée semblable à Begin. /// public static string gsBegin { get { @@ -394,7 +394,7 @@ public static string gsBegin { } /// - /// Looks up a localized string similar to Be sure to save vehicle if you did. + /// Recherche une chaîne localisée semblable à Be sure to save vehicle if you did. /// public static string gsBesuretosavevehicleifyoudid { get { @@ -403,7 +403,7 @@ public static string gsBesuretosavevehicleifyoudid { } /// - /// Looks up a localized string similar to Boundary. + /// Recherche une chaîne localisée semblable à Boundary. /// public static string gsBoundary { get { @@ -412,7 +412,7 @@ public static string gsBoundary { } /// - /// Looks up a localized string similar to Boundary Line Files are Corrupt. + /// Recherche une chaîne localisée semblable à Boundary Line Files are Corrupt. /// public static string gsBoundaryLineFilesAreCorrupt { get { @@ -421,7 +421,7 @@ public static string gsBoundaryLineFilesAreCorrupt { } /// - /// Looks up a localized string similar to Boundary Not Set or No Guidance line set. + /// Recherche une chaîne localisée semblable à Boundary Not Set or No Guidance line set. /// public static string gsBoundaryNotSetOrNoGuidanceLineSet { get { @@ -430,7 +430,7 @@ public static string gsBoundaryNotSetOrNoGuidanceLineSet { } /// - /// Looks up a localized string similar to Boundary Too Small To Create a Headland. + /// Recherche une chaîne localisée semblable à Boundary Too Small To Create a Headland. /// public static string gsBoundaryTooSmallToCreateAHeadland { get { @@ -439,7 +439,7 @@ public static string gsBoundaryTooSmallToCreateAHeadland { } /// - /// Looks up a localized string similar to Bounds. + /// Recherche une chaîne localisée semblable à Bounds. /// public static string gsBounds { get { @@ -448,7 +448,7 @@ public static string gsBounds { } /// - /// Looks up a localized string similar to Building Map, Please Wait. + /// Recherche une chaîne localisée semblable à Building Map, Please Wait. /// public static string gsBuildingMapWait { get { @@ -457,7 +457,7 @@ public static string gsBuildingMapWait { } /// - /// Looks up a localized string similar to But Field is Loaded. + /// Recherche une chaîne localisée semblable à But Field is Loaded. /// public static string gsButFieldIsLoaded { get { @@ -466,7 +466,7 @@ public static string gsButFieldIsLoaded { } /// - /// Looks up a localized string similar to Cancel. + /// Recherche une chaîne localisée semblable à Cancel. /// public static string gsCancel { get { @@ -475,7 +475,7 @@ public static string gsCancel { } /// - /// Looks up a localized string similar to Cannot Find . + /// Recherche une chaîne localisée semblable à Cannot Find . /// public static string gsCannotFind { get { @@ -484,7 +484,7 @@ public static string gsCannotFind { } /// - /// Looks up a localized string similar to Centimeters. + /// Recherche une chaîne localisée semblable à Centimeters. /// public static string gsCentimeters { get { @@ -493,7 +493,7 @@ public static string gsCentimeters { } /// - /// Looks up a localized string similar to Choose a different field. + /// Recherche une chaîne localisée semblable à Choose a different field. /// public static string gsChooseADifferentField { get { @@ -502,7 +502,7 @@ public static string gsChooseADifferentField { } /// - /// Looks up a localized string similar to Choose a different name. + /// Recherche une chaîne localisée semblable à Choose a different name. /// public static string gsChooseADifferentName { get { @@ -511,7 +511,7 @@ public static string gsChooseADifferentName { } /// - /// Looks up a localized string similar to Choose or Build a Different one. + /// Recherche une chaîne localisée semblable à Choose or Build a Different one. /// public static string gsChooseBuildDifferentone { get { @@ -520,7 +520,7 @@ public static string gsChooseBuildDifferentone { } /// - /// Looks up a localized string similar to Click 2 Points on the boundary then Choose either AB Line or Curve. + /// Recherche une chaîne localisée semblable à Click 2 Points on the boundary then Choose either AB Line or Curve. /// public static string gsClick2Pointsontheboundary { get { @@ -529,7 +529,7 @@ public static string gsClick2Pointsontheboundary { } /// - /// Looks up a localized string similar to Click Button Again to Stop. + /// Recherche une chaîne localisée semblable à Click Button Again to Stop. /// public static string gsClickButtonAgainToStop { get { @@ -538,7 +538,7 @@ public static string gsClickButtonAgainToStop { } /// - /// Looks up a localized string similar to Click new points make more lines. + /// Recherche une chaîne localisée semblable à Click new points make more lines. /// public static string gsClicknewpointsmakemorelines { get { @@ -547,7 +547,7 @@ public static string gsClicknewpointsmakemorelines { } /// - /// Looks up a localized string similar to Click Start to Resume. + /// Recherche une chaîne localisée semblable à Click Start to Resume. /// public static string gsClickStartToResume { get { @@ -556,7 +556,7 @@ public static string gsClickStartToResume { } /// - /// Looks up a localized string similar to Clone From. + /// Recherche une chaîne localisée semblable à Clone From. /// public static string gsCloneFrom { get { @@ -565,7 +565,7 @@ public static string gsCloneFrom { } /// - /// Looks up a localized string similar to Close Field. + /// Recherche une chaîne localisée semblable à Close Field. /// public static string gsCloseField { get { @@ -574,7 +574,7 @@ public static string gsCloseField { } /// - /// Looks up a localized string similar to Close Field First. + /// Recherche une chaîne localisée semblable à Close Field First. /// public static string gsCloseFieldFirst { get { @@ -583,7 +583,7 @@ public static string gsCloseFieldFirst { } /// - /// Looks up a localized string similar to cm. + /// Recherche une chaîne localisée semblable à cm. /// public static string gsCM { get { @@ -592,7 +592,7 @@ public static string gsCM { } /// - /// Looks up a localized string similar to cm Per Lightbar Pixel. + /// Recherche une chaîne localisée semblable à cm Per Lightbar Pixel. /// public static string gsCmPerLightbarPixel { get { @@ -601,7 +601,7 @@ public static string gsCmPerLightbarPixel { } /// - /// Looks up a localized string similar to Colors. + /// Recherche une chaîne localisée semblable à Colors. /// public static string gsColors { get { @@ -610,7 +610,7 @@ public static string gsColors { } /// - /// Looks up a localized string similar to Complete An AB Curve Line First. + /// Recherche une chaîne localisée semblable à Complete An AB Curve Line First. /// public static string gsCompleteAnABCurveLineFirst { get { @@ -619,7 +619,7 @@ public static string gsCompleteAnABCurveLineFirst { } /// - /// Looks up a localized string similar to Confirm IP. + /// Recherche une chaîne localisée semblable à Confirm IP. /// public static string gsConfirmIP { get { @@ -628,7 +628,7 @@ public static string gsConfirmIP { } /// - /// Looks up a localized string similar to Connect. + /// Recherche une chaîne localisée semblable à Connect. /// public static string gsConnect { get { @@ -637,7 +637,7 @@ public static string gsConnect { } /// - /// Looks up a localized string similar to Connect . + /// Recherche une chaîne localisée semblable à Connecting In. /// public static string gsConnectingIn { get { @@ -646,7 +646,7 @@ public static string gsConnectingIn { } /// - /// Looks up a localized string similar to Contour File is Corrupt. + /// Recherche une chaîne localisée semblable à Contour File is Corrupt. /// public static string gsContourFileIsCorrupt { get { @@ -655,7 +655,7 @@ public static string gsContourFileIsCorrupt { } /// - /// Looks up a localized string similar to Couldn't Generate Valid Path. + /// Recherche une chaîne localisée semblable à Couldn't Generate Valid Path. /// public static string gsCouldntGenerateValidPath { get { @@ -664,7 +664,7 @@ public static string gsCouldntGenerateValidPath { } /// - /// Looks up a localized string similar to Counts per Degree. + /// Recherche une chaîne localisée semblable à Counts per Degree. /// public static string gsCountsPerDegree { get { @@ -673,7 +673,7 @@ public static string gsCountsPerDegree { } /// - /// Looks up a localized string similar to Create. + /// Recherche une chaîne localisée semblable à Create. /// public static string gsCreate { get { @@ -682,7 +682,7 @@ public static string gsCreate { } /// - /// Looks up a localized string similar to Create a Boundary First. + /// Recherche une chaîne localisée semblable à Create a Boundary First. /// public static string gsCreateABoundaryFirst { get { @@ -691,7 +691,7 @@ public static string gsCreateABoundaryFirst { } /// - /// Looks up a localized string similar to Create a Boundary and an ABLine or Curve First. + /// Recherche une chaîne localisée semblable à Create a Boundary and an ABLine or Curve First. /// public static string gsCreateBoundaryAndAnABLineFirst { get { @@ -700,7 +700,7 @@ public static string gsCreateBoundaryAndAnABLineFirst { } /// - /// Looks up a localized string similar to Create New Field. + /// Recherche une chaîne localisée semblable à Create New Field. /// public static string gsCreateNewField { get { @@ -709,7 +709,7 @@ public static string gsCreateNewField { } /// - /// Looks up a localized string similar to Create a New Field First. + /// Recherche une chaîne localisée semblable à Create a New Field First. /// public static string gsCreateNewFieldFirst { get { @@ -718,7 +718,7 @@ public static string gsCreateNewFieldFirst { } /// - /// Looks up a localized string similar to Create Outer Boundary First. + /// Recherche une chaîne localisée semblable à Create Outer Boundary First. /// public static string gsCreateOuterBoundary { get { @@ -727,7 +727,7 @@ public static string gsCreateOuterBoundary { } /// - /// Looks up a localized string similar to Current GPS Fix:. + /// Recherche une chaîne localisée semblable à Current GPS Fix:. /// public static string gsCurrentGPSFix { get { @@ -736,7 +736,7 @@ public static string gsCurrentGPSFix { } /// - /// Looks up a localized string similar to Curve Line File is Corrupt. + /// Recherche une chaîne localisée semblable à Curve Line File is Corrupt. /// public static string gsCurveLineFileIsCorrupt { get { @@ -745,7 +745,7 @@ public static string gsCurveLineFileIsCorrupt { } /// - /// Looks up a localized string similar to ABCurve Not Enabled. + /// Recherche une chaîne localisée semblable à ABCurve Not Enabled. /// public static string gsCurveNotOn { get { @@ -754,7 +754,7 @@ public static string gsCurveNotOn { } /// - /// Looks up a localized string similar to Curve Set. + /// Recherche une chaîne localisée semblable à Curve Set. /// public static string gsCurveSet { get { @@ -763,7 +763,7 @@ public static string gsCurveSet { } /// - /// Looks up a localized string similar to Custom. + /// Recherche une chaîne localisée semblable à Custom. /// public static string gsCustom { get { @@ -772,7 +772,7 @@ public static string gsCustom { } /// - /// Looks up a localized string similar to ** Date will be added. + /// Recherche une chaîne localisée semblable à ** Date will be added. /// public static string gsDateWillBeAdded { get { @@ -781,7 +781,7 @@ public static string gsDateWillBeAdded { } /// - /// Looks up a localized string similar to Delete. + /// Recherche une chaîne localisée semblable à Delete. /// public static string gsDelete { get { @@ -790,7 +790,7 @@ public static string gsDelete { } /// - /// Looks up a localized string similar to Delete All. + /// Recherche une chaîne localisée semblable à Delete All. /// public static string gsDeleteAll { get { @@ -799,7 +799,7 @@ public static string gsDeleteAll { } /// - /// Looks up a localized string similar to Delete All Contours and Sections?. + /// Recherche une chaîne localisée semblable à Delete All Contours and Sections?. /// public static string gsDeleteAllContoursAndSections { get { @@ -808,7 +808,7 @@ public static string gsDeleteAllContoursAndSections { } /// - /// Looks up a localized string similar to Delete Applied Area. + /// Recherche une chaîne localisée semblable à Delete Applied Area. /// public static string gsDeleteAppliedArea { get { @@ -817,7 +817,7 @@ public static string gsDeleteAppliedArea { } /// - /// Looks up a localized string similar to Delete Contour Paths. + /// Recherche une chaîne localisée semblable à Delete Contour Paths. /// public static string gsDeleteContourPaths { get { @@ -826,7 +826,7 @@ public static string gsDeleteContourPaths { } /// - /// Looks up a localized string similar to Delete For Sure?. + /// Recherche une chaîne localisée semblable à Delete For Sure?. /// public static string gsDeleteForSure { get { @@ -835,7 +835,7 @@ public static string gsDeleteForSure { } /// - /// Looks up a localized string similar to Delete Path. + /// Recherche une chaîne localisée semblable à Delete Path. /// public static string gsDeletePath { get { @@ -844,7 +844,7 @@ public static string gsDeletePath { } /// - /// Looks up a localized string similar to Delta:. + /// Recherche une chaîne localisée semblable à Delta:. /// public static string gsDelta_ { get { @@ -853,7 +853,7 @@ public static string gsDelta_ { } /// - /// Looks up a localized string similar to Did you make changes to the vehicle?. + /// Recherche une chaîne localisée semblable à Did you make changes to the vehicle?. /// public static string gsDidyoumakechangestothevehicle { get { @@ -862,7 +862,7 @@ public static string gsDidyoumakechangestothevehicle { } /// - /// Looks up a localized string similar to Directories. + /// Recherche une chaîne localisée semblable à Directories. /// public static string gsDirectories { get { @@ -871,7 +871,7 @@ public static string gsDirectories { } /// - /// Looks up a localized string similar to Directory Exists. + /// Recherche une chaîne localisée semblable à Directory Exists. /// public static string gsDirectoryExists { get { @@ -880,7 +880,7 @@ public static string gsDirectoryExists { } /// - /// Looks up a localized string similar to Disconnect. + /// Recherche une chaîne localisée semblable à Disconnect. /// public static string gsDisconnect { get { @@ -889,7 +889,7 @@ public static string gsDisconnect { } /// - /// Looks up a localized string similar to Display. + /// Recherche une chaîne localisée semblable à Display. /// public static string gsDisplay { get { @@ -898,7 +898,7 @@ public static string gsDisplay { } /// - /// Looks up a localized string similar to Distance. + /// Recherche une chaîne localisée semblable à Distance. /// public static string gsDistance { get { @@ -907,7 +907,7 @@ public static string gsDistance { } /// - /// Looks up a localized string similar to Done. + /// Recherche une chaîne localisée semblable à Done. /// public static string gsDone { get { @@ -916,7 +916,7 @@ public static string gsDone { } /// - /// Looks up a localized string similar to Drawing Has Begun. + /// Recherche une chaîne localisée semblable à Drawing Has Begun. /// public static string gsDrawingHasBegun { get { @@ -925,7 +925,7 @@ public static string gsDrawingHasBegun { } /// - /// Looks up a localized string similar to Drive. + /// Recherche une chaîne localisée semblable à Drive. /// public static string gsDrive { get { @@ -934,7 +934,7 @@ public static string gsDrive { } /// - /// Looks up a localized string similar to Drive Thru. + /// Recherche une chaîne localisée semblable à Drive Thru. /// public static string gsDriveThru { get { @@ -943,7 +943,7 @@ public static string gsDriveThru { } /// - /// Looks up a localized string similar to Driving. + /// Recherche une chaîne localisée semblable à Driving. /// public static string gsDriving { get { @@ -952,7 +952,7 @@ public static string gsDriving { } /// - /// Looks up a localized string similar to Dual Antenna. + /// Recherche une chaîne localisée semblable à Dual Antenna. /// public static string gsDualAntenna { get { @@ -961,7 +961,7 @@ public static string gsDualAntenna { } /// - /// Looks up a localized string similar to Dubins. + /// Recherche une chaîne localisée semblable à Dubins. /// public static string gsDubins { get { @@ -970,7 +970,7 @@ public static string gsDubins { } /// - /// Looks up a localized string similar to East. + /// Recherche une chaîne localisée semblable à East. /// public static string gsEast { get { @@ -979,7 +979,7 @@ public static string gsEast { } /// - /// Looks up a localized string similar to Edit. + /// Recherche une chaîne localisée semblable à Edit. /// public static string gsEdit { get { @@ -988,7 +988,7 @@ public static string gsEdit { } /// - /// Looks up a localized string similar to Elevation File is Empty. + /// Recherche une chaîne localisée semblable à Elevation File is Empty. /// public static string gsElevationFileEmpty { get { @@ -997,7 +997,7 @@ public static string gsElevationFileEmpty { } /// - /// Looks up a localized string similar to Elevation File is Corrupt. + /// Recherche une chaîne localisée semblable à Elevation File is Corrupt. /// public static string gsElevationFileisCorrupt { get { @@ -1006,7 +1006,7 @@ public static string gsElevationFileisCorrupt { } /// - /// Looks up a localized string similar to Elevation File is Missing. + /// Recherche une chaîne localisée semblable à Elevation File is Missing. /// public static string gsElevationFileMissing { get { @@ -1015,7 +1015,7 @@ public static string gsElevationFileMissing { } /// - /// Looks up a localized string similar to Enable Work Switch. + /// Recherche une chaîne localisée semblable à Enable Work Switch. /// public static string gsEnableWorkSwitch { get { @@ -1024,7 +1024,7 @@ public static string gsEnableWorkSwitch { } /// - /// Looks up a localized string similar to Enter a Value. + /// Recherche une chaîne localisée semblable à Enter a Value. /// public static string gsEnteraValue { get { @@ -1033,7 +1033,7 @@ public static string gsEnteraValue { } /// - /// Looks up a localized string similar to Enter Broadcaster URL or IP. + /// Recherche une chaîne localisée semblable à Enter Broadcaster URL or IP. /// public static string gsEnterBroadcasterURLOrIP { get { @@ -1042,7 +1042,7 @@ public static string gsEnterBroadcasterURLOrIP { } /// - /// Looks up a localized string similar to Enter Coordinates For Simulator. + /// Recherche une chaîne localisée semblable à Enter Coordinates For Simulator. /// public static string gsEnterCoordinatesForSimulator { get { @@ -1051,7 +1051,7 @@ public static string gsEnterCoordinatesForSimulator { } /// - /// Looks up a localized string similar to Enter Curve Name. + /// Recherche une chaîne localisée semblable à Enter Curve Name. /// public static string gsEnterCurveName { get { @@ -1060,7 +1060,7 @@ public static string gsEnterCurveName { } /// - /// Looks up a localized string similar to Enter Field Name. + /// Recherche une chaîne localisée semblable à Enter Field Name. /// public static string gsEnterFieldName { get { @@ -1069,7 +1069,7 @@ public static string gsEnterFieldName { } /// - /// Looks up a localized string similar to Enter Line Name. + /// Recherche une chaîne localisée semblable à Enter Line Name. /// public static string gsEnterLineName { get { @@ -1078,7 +1078,7 @@ public static string gsEnterLineName { } /// - /// Looks up a localized string similar to Enter a name and Click Save if Required.. + /// Recherche une chaîne localisée semblable à Enter a name and Click Save if Required.. /// public static string gsEnternameandClickSaveifRequired { get { @@ -1087,7 +1087,7 @@ public static string gsEnternameandClickSaveifRequired { } /// - /// Looks up a localized string similar to Enter Sim Coords. + /// Recherche une chaîne localisée semblable à Enter Sim Coords. /// public static string gsEnterSimCoords { get { @@ -1096,7 +1096,7 @@ public static string gsEnterSimCoords { } /// - /// Looks up a localized string similar to Enter Task. + /// Recherche une chaîne localisée semblable à Enter Task. /// public static string gsEnterTask { get { @@ -1105,7 +1105,7 @@ public static string gsEnterTask { } /// - /// Looks up a localized string similar to Enter Unique AB Curve Name. + /// Recherche une chaîne localisée semblable à Enter Unique AB Curve Name. /// public static string gsEnterUniqueABCurveName { get { @@ -1114,7 +1114,7 @@ public static string gsEnterUniqueABCurveName { } /// - /// Looks up a localized string similar to Enter Vehicle Used. + /// Recherche une chaîne localisée semblable à Enter Vehicle Used. /// public static string gsEnterVehicleUsed { get { @@ -1123,7 +1123,7 @@ public static string gsEnterVehicleUsed { } /// - /// Looks up a localized string similar to Entry. + /// Recherche une chaîne localisée semblable à Entry. /// public static string gsEntry { get { @@ -1132,7 +1132,7 @@ public static string gsEntry { } /// - /// Looks up a localized string similar to Error. + /// Recherche une chaîne localisée semblable à Error. /// public static string gsError { get { @@ -1141,7 +1141,7 @@ public static string gsError { } /// - /// Looks up a localized string similar to Error reading KML. + /// Recherche une chaîne localisée semblable à Error reading KML. /// public static string gsErrorreadingKML { get { @@ -1150,7 +1150,7 @@ public static string gsErrorreadingKML { } /// - /// Looks up a localized string similar to Ethernet Configuration. + /// Recherche une chaîne localisée semblable à Ethernet Configuration. /// public static string gsEthernetConfiguration { get { @@ -1159,7 +1159,7 @@ public static string gsEthernetConfiguration { } /// - /// Looks up a localized string similar to Examples. + /// Recherche une chaîne localisée semblable à Examples. /// public static string gsExamples { get { @@ -1168,7 +1168,7 @@ public static string gsExamples { } /// - /// Looks up a localized string similar to Exit. + /// Recherche une chaîne localisée semblable à Exit. /// public static string gsExit { get { @@ -1177,7 +1177,7 @@ public static string gsExit { } /// - /// Looks up a localized string similar to Extra Guides. + /// Recherche une chaîne localisée semblable à Extra Guides. /// public static string gsExtraGuides { get { @@ -1186,7 +1186,7 @@ public static string gsExtraGuides { } /// - /// Looks up a localized string similar to Ext UDP Source. + /// Recherche une chaîne localisée semblable à Ext UDP Source. /// public static string gsExtUDPSource { get { @@ -1195,7 +1195,7 @@ public static string gsExtUDPSource { } /// - /// Looks up a localized string similar to Field. + /// Recherche une chaîne localisée semblable à Field. /// public static string gsField { get { @@ -1204,7 +1204,7 @@ public static string gsField { } /// - /// Looks up a localized string similar to Field:. + /// Recherche une chaîne localisée semblable à Field:. /// public static string gsField_ { get { @@ -1213,7 +1213,7 @@ public static string gsField_ { } /// - /// Looks up a localized string similar to Field File is Corrupt. + /// Recherche une chaîne localisée semblable à Field File is Corrupt. /// public static string gsFieldFileIsCorrupt { get { @@ -1222,7 +1222,7 @@ public static string gsFieldFileIsCorrupt { } /// - /// Looks up a localized string similar to Field Is Open. + /// Recherche une chaîne localisée semblable à Field Is Open. /// public static string gsFieldIsOpen { get { @@ -1231,7 +1231,7 @@ public static string gsFieldIsOpen { } /// - /// Looks up a localized string similar to Field Not Open. + /// Recherche une chaîne localisée semblable à Field Not Open. /// public static string gsFieldNotOpen { get { @@ -1240,7 +1240,7 @@ public static string gsFieldNotOpen { } /// - /// Looks up a localized string similar to Field Open/Close. + /// Recherche une chaîne localisée semblable à Field Open/Close. /// public static string gsFieldOpenClose { get { @@ -1249,7 +1249,7 @@ public static string gsFieldOpenClose { } /// - /// Looks up a localized string similar to Field Origin. + /// Recherche une chaîne localisée semblable à Field Origin. /// public static string gsFieldOrigin { get { @@ -1258,7 +1258,7 @@ public static string gsFieldOrigin { } /// - /// Looks up a localized string similar to File. + /// Recherche une chaîne localisée semblable à File. /// public static string gsFile { get { @@ -1267,7 +1267,7 @@ public static string gsFile { } /// - /// Looks up a localized string similar to File Error. + /// Recherche une chaîne localisée semblable à File Error. /// public static string gsFileError { get { @@ -1276,7 +1276,7 @@ public static string gsFileError { } /// - /// Looks up a localized string similar to Files. + /// Recherche une chaîne localisée semblable à Files. /// public static string gsFiles { get { @@ -1285,7 +1285,7 @@ public static string gsFiles { } /// - /// Looks up a localized string similar to Fix to Fix Calc. + /// Recherche une chaîne localisée semblable à Fix to Fix Calc. /// public static string gsFixToFixCalc { get { @@ -1294,7 +1294,7 @@ public static string gsFixToFixCalc { } /// - /// Looks up a localized string similar to Fix To Fix Distance. + /// Recherche une chaîne localisée semblable à Fix To Fix Distance. /// public static string gsFixToFixDistance { get { @@ -1303,7 +1303,7 @@ public static string gsFixToFixDistance { } /// - /// Looks up a localized string similar to Flag File is Corrupt. + /// Recherche une chaîne localisée semblable à Flag File is Corrupt. /// public static string gsFlagFileIsCorrupt { get { @@ -1312,7 +1312,7 @@ public static string gsFlagFileIsCorrupt { } /// - /// Looks up a localized string similar to Flags GE. + /// Recherche une chaîne localisée semblable à Flags GE. /// public static string gsFlagsGE { get { @@ -1321,7 +1321,7 @@ public static string gsFlagsGE { } /// - /// Looks up a localized string similar to Flags Mark. + /// Recherche une chaîne localisée semblable à Flags Mark. /// public static string gsFlagsMark { get { @@ -1330,7 +1330,7 @@ public static string gsFlagsMark { } /// - /// Looks up a localized string similar to FormElev. + /// Recherche une chaîne localisée semblable à FormElev. /// public static string gsFormElev { get { @@ -1339,7 +1339,7 @@ public static string gsFormElev { } /// - /// Looks up a localized string similar to For Now. + /// Recherche une chaîne localisée semblable à For Now. /// public static string gsForNow { get { @@ -1348,7 +1348,7 @@ public static string gsForNow { } /// - /// Looks up a localized string similar to From Auto Steer:. + /// Recherche une chaîne localisée semblable à From Auto Steer:. /// public static string gsFromAutoSteer { get { @@ -1357,7 +1357,7 @@ public static string gsFromAutoSteer { } /// - /// Looks up a localized string similar to From Bounds. + /// Recherche une chaîne localisée semblable à From Bounds. /// public static string gsFromBounds { get { @@ -1366,7 +1366,7 @@ public static string gsFromBounds { } /// - /// Looks up a localized string similar to From GPS. + /// Recherche une chaîne localisée semblable à From GPS. /// public static string gsFromGPS { get { @@ -1375,7 +1375,7 @@ public static string gsFromGPS { } /// - /// Looks up a localized string similar to From Section Port:. + /// Recherche une chaîne localisée semblable à From Section Port:. /// public static string gsFromSectionPort { get { @@ -1384,7 +1384,7 @@ public static string gsFromSectionPort { } /// - /// Looks up a localized string similar to From VTG or RMC. + /// Recherche une chaîne localisée semblable à From VTG or RMC. /// public static string gsFromVTGorRMC { get { @@ -1393,7 +1393,7 @@ public static string gsFromVTGorRMC { } /// - /// Looks up a localized string similar to Ft. + /// Recherche une chaîne localisée semblable à Ft. /// public static string gsFt { get { @@ -1402,7 +1402,7 @@ public static string gsFt { } /// - /// Looks up a localized string similar to Function. + /// Recherche une chaîne localisée semblable à Function. /// public static string gsFunction { get { @@ -1411,7 +1411,7 @@ public static string gsFunction { } /// - /// Looks up a localized string similar to Fused:. + /// Recherche une chaîne localisée semblable à Fused:. /// public static string gsFused { get { @@ -1420,7 +1420,7 @@ public static string gsFused { } /// - /// Looks up a localized string similar to Gain. + /// Recherche une chaîne localisée semblable à Gain. /// public static string gsGain { get { @@ -1429,7 +1429,7 @@ public static string gsGain { } /// - /// Looks up a localized string similar to GeoFence Distance. + /// Recherche une chaîne localisée semblable à GeoFence Distance. /// public static string gsGeoFenceDist { get { @@ -1438,7 +1438,7 @@ public static string gsGeoFenceDist { } /// - /// Looks up a localized string similar to Get Source Table. + /// Recherche une chaîne localisée semblable à Get Source Table. /// public static string gsGetSourceTable { get { @@ -1447,7 +1447,7 @@ public static string gsGetSourceTable { } /// - /// Looks up a localized string similar to GGA Interval (secs). + /// Recherche une chaîne localisée semblable à GGA Interval (secs). /// public static string gsGGAIntervalSecs { get { @@ -1456,7 +1456,7 @@ public static string gsGGAIntervalSecs { } /// - /// Looks up a localized string similar to Go!. + /// Recherche une chaîne localisée semblable à Go!. /// public static string gsGo { get { @@ -1465,7 +1465,7 @@ public static string gsGo { } /// - /// Looks up a localized string similar to Go Around. + /// Recherche une chaîne localisée semblable à Go Around. /// public static string gsGo_Around { get { @@ -1474,7 +1474,7 @@ public static string gsGo_Around { } /// - /// Looks up a localized string similar to Going to exit back. + /// Recherche une chaîne localisée semblable à Going to exit back. /// public static string gsGoingexitback { get { @@ -1483,7 +1483,7 @@ public static string gsGoingexitback { } /// - /// Looks up a localized string similar to Go / Stop. + /// Recherche une chaîne localisée semblable à Go / Stop. /// public static string gsGoStop { get { @@ -1492,7 +1492,7 @@ public static string gsGoStop { } /// - /// Looks up a localized string similar to Go to Top Menu > Display > Touch -Simulator- . + /// Recherche une chaîne localisée semblable à Go to Top Menu > Display > Touch -Simulator- . /// public static string gsGotoTopMenuDisplayTouchSimulator { get { @@ -1501,7 +1501,7 @@ public static string gsGotoTopMenuDisplayTouchSimulator { } /// - /// Looks up a localized string similar to GPS Connected. + /// Recherche une chaîne localisée semblable à GPS Connected. /// public static string gsGPSConnected { get { @@ -1510,7 +1510,7 @@ public static string gsGPSConnected { } /// - /// Looks up a localized string similar to GPS Current Fix. + /// Recherche une chaîne localisée semblable à GPS Current Fix. /// public static string gsGPSCurrentFix { get { @@ -1519,7 +1519,7 @@ public static string gsGPSCurrentFix { } /// - /// Looks up a localized string similar to GPS Heading From. + /// Recherche une chaîne localisée semblable à GPS Heading From. /// public static string gsGPSHeadingFrom { get { @@ -1528,7 +1528,7 @@ public static string gsGPSHeadingFrom { } /// - /// Looks up a localized string similar to GPS Port. + /// Recherche une chaîne localisée semblable à GPS Port. /// public static string gsGPSPort { get { @@ -1537,7 +1537,7 @@ public static string gsGPSPort { } /// - /// Looks up a localized string similar to GPS source off. + /// Recherche une chaîne localisée semblable à GPS source off. /// public static string gsGPSSourceOff { get { @@ -1546,7 +1546,7 @@ public static string gsGPSSourceOff { } /// - /// Looks up a localized string similar to Grid On. + /// Recherche une chaîne localisée semblable à Grid On. /// public static string gsGridOn { get { @@ -1555,7 +1555,7 @@ public static string gsGridOn { } /// - /// Looks up a localized string similar to Heading Correction Source. + /// Recherche une chaîne localisée semblable à Heading Correction Source. /// public static string gsHeadingCorrectionSource { get { @@ -1564,7 +1564,7 @@ public static string gsHeadingCorrectionSource { } /// - /// Looks up a localized string similar to Heading / Roll. + /// Recherche une chaîne localisée semblable à Heading / Roll. /// public static string gsHeadingRoll { get { @@ -1573,7 +1573,7 @@ public static string gsHeadingRoll { } /// - /// Looks up a localized string similar to Height. + /// Recherche une chaîne localisée semblable à Height. /// public static string gsHeight { get { @@ -1582,7 +1582,7 @@ public static string gsHeight { } /// - /// Looks up a localized string similar to Help. + /// Recherche une chaîne localisée semblable à Help. /// public static string gsHelp { get { @@ -1591,7 +1591,7 @@ public static string gsHelp { } /// - /// Looks up a localized string similar to Hide. + /// Recherche une chaîne localisée semblable à Hide. /// public static string gsHide { get { @@ -1600,7 +1600,7 @@ public static string gsHide { } /// - /// Looks up a localized string similar to Hitch Length. + /// Recherche une chaîne localisée semblable à Hitch Length. /// public static string gsHitchLength { get { @@ -1609,7 +1609,7 @@ public static string gsHitchLength { } /// - /// Looks up a localized string similar to Host. + /// Recherche une chaîne localisée semblable à Host. /// public static string gsHost { get { @@ -1618,7 +1618,7 @@ public static string gsHost { } /// - /// Looks up a localized string similar to HostName. + /// Recherche une chaîne localisée semblable à HostName. /// public static string gsHostName { get { @@ -1627,7 +1627,7 @@ public static string gsHostName { } /// - /// Looks up a localized string similar to Imperial. + /// Recherche une chaîne localisée semblable à Imperial. /// public static string gsImperial { get { @@ -1636,7 +1636,7 @@ public static string gsImperial { } /// - /// Looks up a localized string similar to IMU Settings. + /// Recherche une chaîne localisée semblable à IMU Settings. /// public static string gsIMUSettings { get { @@ -1645,7 +1645,7 @@ public static string gsIMUSettings { } /// - /// Looks up a localized string similar to Inches. + /// Recherche une chaîne localisée semblable à Inches. /// public static string gsInches { get { @@ -1654,7 +1654,7 @@ public static string gsInches { } /// - /// Looks up a localized string similar to Inner. + /// Recherche une chaîne localisée semblable à Inner. /// public static string gsInner { get { @@ -1663,7 +1663,7 @@ public static string gsInner { } /// - /// Looks up a localized string similar to Integral Gain. + /// Recherche une chaîne localisée semblable à Integral Gain. /// public static string gsIntegralGain { get { @@ -1672,7 +1672,7 @@ public static string gsIntegralGain { } /// - /// Looks up a localized string similar to kmh. + /// Recherche une chaîne localisée semblable à kmh. /// public static string gsKMH { get { @@ -1681,7 +1681,7 @@ public static string gsKMH { } /// - /// Looks up a localized string similar to Language. + /// Recherche une chaîne localisée semblable à Language. /// public static string gsLanguage { get { @@ -1690,7 +1690,7 @@ public static string gsLanguage { } /// - /// Looks up a localized string similar to Last Field Used. + /// Recherche une chaîne localisée semblable à Last Field Used. /// public static string gsLastFieldUsed { get { @@ -1699,7 +1699,7 @@ public static string gsLastFieldUsed { } /// - /// Looks up a localized string similar to Latitude. + /// Recherche une chaîne localisée semblable à Latitude. /// public static string gsLatitude { get { @@ -1708,7 +1708,7 @@ public static string gsLatitude { } /// - /// Looks up a localized string similar to Left Is -. + /// Recherche une chaîne localisée semblable à Left Is -. /// public static string gsLeftIs_ { get { @@ -1717,7 +1717,7 @@ public static string gsLeftIs_ { } /// - /// Looks up a localized string similar to Lidar On. + /// Recherche une chaîne localisée semblable à Lidar On. /// public static string gsLidarOn { get { @@ -1726,7 +1726,7 @@ public static string gsLidarOn { } /// - /// Looks up a localized string similar to Lightbar On. + /// Recherche une chaîne localisée semblable à Lightbar On. /// public static string gsLightbarOn { get { @@ -1735,7 +1735,7 @@ public static string gsLightbarOn { } /// - /// Looks up a localized string similar to Line. + /// Recherche une chaîne localisée semblable à Line. /// public static string gsLine { get { @@ -1744,7 +1744,7 @@ public static string gsLine { } /// - /// Looks up a localized string similar to Listening. + /// Recherche une chaîne localisée semblable à Listening. /// public static string gsListening { get { @@ -1753,7 +1753,7 @@ public static string gsListening { } /// - /// Looks up a localized string similar to Load KML. + /// Recherche une chaîne localisée semblable à Load KML. /// public static string gsLoadKML { get { @@ -1762,7 +1762,7 @@ public static string gsLoadKML { } /// - /// Looks up a localized string similar to Load Multi. + /// Recherche une chaîne localisée semblable à Load Multi. /// public static string gsLoadMulti { get { @@ -1771,7 +1771,7 @@ public static string gsLoadMulti { } /// - /// Looks up a localized string similar to Load Vehicle. + /// Recherche une chaîne localisée semblable à Load Vehicle. /// public static string gsLoadVehicle { get { @@ -1780,7 +1780,7 @@ public static string gsLoadVehicle { } /// - /// Looks up a localized string similar to Location. + /// Recherche une chaîne localisée semblable à Location. /// public static string gsLocation { get { @@ -1789,7 +1789,7 @@ public static string gsLocation { } /// - /// Looks up a localized string similar to Log NMEA. + /// Recherche une chaîne localisée semblable à Log NMEA. /// public static string gsLogNMEA { get { @@ -1798,7 +1798,7 @@ public static string gsLogNMEA { } /// - /// Looks up a localized string similar to Longitude. + /// Recherche une chaîne localisée semblable à Longitude. /// public static string gsLongitude { get { @@ -1807,7 +1807,7 @@ public static string gsLongitude { } /// - /// Looks up a localized string similar to Look Ahead In Seconds. + /// Recherche une chaîne localisée semblable à Look Ahead In Seconds. /// public static string gsLookAheadInSeconds { get { @@ -1816,7 +1816,7 @@ public static string gsLookAheadInSeconds { } /// - /// Looks up a localized string similar to Look Ahead Offline Multiplier. + /// Recherche une chaîne localisée semblable à Look Ahead Offline Multiplier. /// public static string gsLookAheadOfflineMultiplier { get { @@ -1825,7 +1825,7 @@ public static string gsLookAheadOfflineMultiplier { } /// - /// Looks up a localized string similar to Lost. + /// Recherche une chaîne localisée semblable à Lost. /// public static string gsLost { get { @@ -1834,7 +1834,7 @@ public static string gsLost { } /// - /// Looks up a localized string similar to Make Boundary Contours. + /// Recherche une chaîne localisée semblable à Make Boundary Contours. /// public static string gsMakeBoundaryContours { get { @@ -1843,7 +1843,7 @@ public static string gsMakeBoundaryContours { } /// - /// Looks up a localized string similar to Manual. + /// Recherche une chaîne localisée semblable à Manual. /// public static string gsManual { get { @@ -1852,7 +1852,7 @@ public static string gsManual { } /// - /// Looks up a localized string similar to Manual Fix:. + /// Recherche une chaîne localisée semblable à Manual Fix:. /// public static string gsManualFix { get { @@ -1861,7 +1861,7 @@ public static string gsManualFix { } /// - /// Looks up a localized string similar to Max:. + /// Recherche une chaîne localisée semblable à Max:. /// public static string gsMax_ { get { @@ -1870,7 +1870,7 @@ public static string gsMax_ { } /// - /// Looks up a localized string similar to Max Integral Value. + /// Recherche une chaîne localisée semblable à Max Integral Value. /// public static string gsMaxIntegralValue { get { @@ -1879,7 +1879,7 @@ public static string gsMaxIntegralValue { } /// - /// Looks up a localized string similar to Max Steer Angle In Degrees. + /// Recherche une chaîne localisée semblable à Max Steer Angle In Degrees. /// public static string gsMaxSteerAngleInDegrees { get { @@ -1888,7 +1888,7 @@ public static string gsMaxSteerAngleInDegrees { } /// - /// Looks up a localized string similar to Measurements In. + /// Recherche une chaîne localisée semblable à Measurements In. /// public static string gsMeasurementsIn { get { @@ -1897,7 +1897,7 @@ public static string gsMeasurementsIn { } /// - /// Looks up a localized string similar to Meters. + /// Recherche une chaîne localisée semblable à Meters. /// public static string gsMeters { get { @@ -1906,7 +1906,7 @@ public static string gsMeters { } /// - /// Looks up a localized string similar to Metric. + /// Recherche une chaîne localisée semblable à Metric. /// public static string gsMetric { get { @@ -1915,7 +1915,7 @@ public static string gsMetric { } /// - /// Looks up a localized string similar to Min:. + /// Recherche une chaîne localisée semblable à Min:. /// public static string gsMin_ { get { @@ -1924,7 +1924,7 @@ public static string gsMin_ { } /// - /// Looks up a localized string similar to Minimum PWM Drive. + /// Recherche une chaîne localisée semblable à Minimum PWM Drive. /// public static string gsMinimumPWMDrive { get { @@ -1933,7 +1933,7 @@ public static string gsMinimumPWMDrive { } /// - /// Looks up a localized string similar to Min Look Ahead In Meters. + /// Recherche une chaîne localisée semblable à Min Look Ahead In Meters. /// public static string gsMinLookAheadInMeters { get { @@ -1942,7 +1942,7 @@ public static string gsMinLookAheadInMeters { } /// - /// Looks up a localized string similar to Min Unapplied. + /// Recherche une chaîne localisée semblable à Min Unapplied. /// public static string gsMinUnapplied { get { @@ -1951,7 +1951,7 @@ public static string gsMinUnapplied { } /// - /// Looks up a localized string similar to Missing AB Curve File. + /// Recherche une chaîne localisée semblable à Missing AB Curve File. /// public static string gsMissingABCurveFile { get { @@ -1960,7 +1960,7 @@ public static string gsMissingABCurveFile { } /// - /// Looks up a localized string similar to Missing AB Lines File. + /// Recherche une chaîne localisée semblable à Missing AB Lines File. /// public static string gsMissingABLinesFile { get { @@ -1969,7 +1969,7 @@ public static string gsMissingABLinesFile { } /// - /// Looks up a localized string similar to Missing Boundary File. + /// Recherche une chaîne localisée semblable à Missing Boundary File. /// public static string gsMissingBoundaryFile { get { @@ -1978,7 +1978,7 @@ public static string gsMissingBoundaryFile { } /// - /// Looks up a localized string similar to Missing Contour File. + /// Recherche une chaîne localisée semblable à Missing Contour File. /// public static string gsMissingContourFile { get { @@ -1987,7 +1987,7 @@ public static string gsMissingContourFile { } /// - /// Looks up a localized string similar to Missing Flags File. + /// Recherche une chaîne localisée semblable à Missing Flags File. /// public static string gsMissingFlagsFile { get { @@ -1996,7 +1996,7 @@ public static string gsMissingFlagsFile { } /// - /// Looks up a localized string similar to Missing Section File. + /// Recherche une chaîne localisée semblable à Missing Section File. /// public static string gsMissingSectionFile { get { @@ -2005,7 +2005,7 @@ public static string gsMissingSectionFile { } /// - /// Looks up a localized string similar to Module Adress and Ports. + /// Recherche une chaîne localisée semblable à Module Adress and Ports. /// public static string gsModuleAdressandPorts { get { @@ -2014,7 +2014,7 @@ public static string gsModuleAdressandPorts { } /// - /// Looks up a localized string similar to Module Port. + /// Recherche une chaîne localisée semblable à Module Port. /// public static string gsModulePort { get { @@ -2023,7 +2023,7 @@ public static string gsModulePort { } /// - /// Looks up a localized string similar to Mount. + /// Recherche une chaîne localisée semblable à Mount. /// public static string gsMount { get { @@ -2032,7 +2032,7 @@ public static string gsMount { } /// - /// Looks up a localized string similar to mph. + /// Recherche une chaîne localisée semblable à mph. /// public static string gsMPH { get { @@ -2041,7 +2041,7 @@ public static string gsMPH { } /// - /// Looks up a localized string similar to Must be Version . + /// Recherche une chaîne localisée semblable à Must be Version . /// public static string gsMustBeVersion { get { @@ -2050,7 +2050,7 @@ public static string gsMustBeVersion { } /// - /// Looks up a localized string similar to N_East. + /// Recherche une chaîne localisée semblable à N_East. /// public static string gsN_East { get { @@ -2059,7 +2059,7 @@ public static string gsN_East { } /// - /// Looks up a localized string similar to N_West. + /// Recherche une chaîne localisée semblable à N_West. /// public static string gsN_West { get { @@ -2068,7 +2068,7 @@ public static string gsN_West { } /// - /// Looks up a localized string similar to Networking. + /// Recherche une chaîne localisée semblable à Networking. /// public static string gsNetworking { get { @@ -2077,7 +2077,7 @@ public static string gsNetworking { } /// - /// Looks up a localized string similar to New. + /// Recherche une chaîne localisée semblable à New. /// public static string gsNew { get { @@ -2086,7 +2086,7 @@ public static string gsNew { } /// - /// Looks up a localized string similar to No AB Curve Created. + /// Recherche une chaîne localisée semblable à No AB Curve Created. /// public static string gsNoABCurveCreated { get { @@ -2095,7 +2095,7 @@ public static string gsNoABCurveCreated { } /// - /// Looks up a localized string similar to No AB Line Active. + /// Recherche une chaîne localisée semblable à No AB Line Active. /// public static string gsNoABLineActive { get { @@ -2104,7 +2104,7 @@ public static string gsNoABLineActive { } /// - /// Looks up a localized string similar to No Boundary. + /// Recherche une chaîne localisée semblable à No Boundary. /// public static string gsNoBoundary { get { @@ -2113,7 +2113,7 @@ public static string gsNoBoundary { } /// - /// Looks up a localized string similar to No Fields Created. + /// Recherche une chaîne localisée semblable à No Fields Created. /// public static string gsNoFieldsCreated { get { @@ -2122,7 +2122,7 @@ public static string gsNoFieldsCreated { } /// - /// Looks up a localized string similar to No GPS. + /// Recherche une chaîne localisée semblable à No GPS. /// public static string gsNoGPS { get { @@ -2131,7 +2131,7 @@ public static string gsNoGPS { } /// - /// Looks up a localized string similar to No Guidance Lines. + /// Recherche une chaîne localisée semblable à No Guidance Lines. /// public static string gsNoGuidanceLines { get { @@ -2140,7 +2140,7 @@ public static string gsNoGuidanceLines { } /// - /// Looks up a localized string similar to No IP Located. + /// Recherche une chaîne localisée semblable à No IP Located. /// public static string gsNoIPLocated { get { @@ -2149,7 +2149,7 @@ public static string gsNoIPLocated { } /// - /// Looks up a localized string similar to No Name Entered. + /// Recherche une chaîne localisée semblable à No Name Entered. /// public static string gsNoNameEntered { get { @@ -2158,7 +2158,7 @@ public static string gsNoNameEntered { } /// - /// Looks up a localized string similar to None Selected. + /// Recherche une chaîne localisée semblable à None Selected. /// public static string gsNoneSelected { get { @@ -2167,7 +2167,7 @@ public static string gsNoneSelected { } /// - /// Looks up a localized string similar to None Used. + /// Recherche une chaîne localisée semblable à None Used. /// public static string gsNoneUsed { get { @@ -2176,7 +2176,7 @@ public static string gsNoneUsed { } /// - /// Looks up a localized string similar to No Outer Boundary. + /// Recherche une chaîne localisée semblable à No Outer Boundary. /// public static string gsNoOuterBoundary { get { @@ -2185,7 +2185,7 @@ public static string gsNoOuterBoundary { } /// - /// Looks up a localized string similar to North. + /// Recherche une chaîne localisée semblable à North. /// public static string gsNorth { get { @@ -2194,7 +2194,7 @@ public static string gsNorth { } /// - /// Looks up a localized string similar to *** No Sentence Data ***. + /// Recherche une chaîne localisée semblable à *** No Sentence Data ***. /// public static string gsNoSentenceData { get { @@ -2203,7 +2203,7 @@ public static string gsNoSentenceData { } /// - /// Looks up a localized string similar to Not Connecting to Caster. + /// Recherche une chaîne localisée semblable à Not Connecting to Caster. /// public static string gsNotConnectingToCaster { get { @@ -2212,7 +2212,7 @@ public static string gsNotConnectingToCaster { } /// - /// Looks up a localized string similar to Nothing Deleted. + /// Recherche une chaîne localisée semblable à Nothing Deleted. /// public static string gsNothingDeleted { get { @@ -2221,7 +2221,7 @@ public static string gsNothingDeleted { } /// - /// Looks up a localized string similar to Nothing to Generate Terrain From. + /// Recherche une chaîne localisée semblable à Nothing to Generate Terrain From. /// public static string gsNothingtoGenerateTerrainFrom { get { @@ -2230,7 +2230,7 @@ public static string gsNothingtoGenerateTerrainFrom { } /// - /// Looks up a localized string similar to NTRIP. + /// Recherche une chaîne localisée semblable à NTRIP. /// public static string gsNTRIP { get { @@ -2239,7 +2239,7 @@ public static string gsNTRIP { } /// - /// Looks up a localized string similar to NTRIP Client Not Set Up. + /// Recherche une chaîne localisée semblable à NTRIP Client Not Set Up. /// public static string gsNTRIPClientNotSetUp { get { @@ -2248,7 +2248,7 @@ public static string gsNTRIPClientNotSetUp { } /// - /// Looks up a localized string similar to NTRIP Client Settings. + /// Recherche une chaîne localisée semblable à NTRIP Client Settings. /// public static string gsNTRIPClientSettings { get { @@ -2257,7 +2257,7 @@ public static string gsNTRIPClientSettings { } /// - /// Looks up a localized string similar to NTRIP Not Connected. + /// Recherche une chaîne localisée semblable à NTRIP Not Connected. /// public static string gsNTRIPNotConnected { get { @@ -2266,7 +2266,7 @@ public static string gsNTRIPNotConnected { } /// - /// Looks up a localized string similar to NTRIP Not Connected, Retrying. + /// Recherche une chaîne localisée semblable à NTRIP Not Connected, Retrying. /// public static string gsNTRIPNotConnectedRetrying { get { @@ -2275,7 +2275,7 @@ public static string gsNTRIPNotConnectedRetrying { } /// - /// Looks up a localized string similar to NTRIP Not Connected to Send GGA. + /// Recherche une chaîne localisée semblable à NTRIP Not Connected to Send GGA. /// public static string gsNTRIPNotConnectedToSendGGA { get { @@ -2284,7 +2284,7 @@ public static string gsNTRIPNotConnectedToSendGGA { } /// - /// Looks up a localized string similar to NTRIP Off. + /// Recherche une chaîne localisée semblable à NTRIP Off. /// public static string gsNTRIPOff { get { @@ -2293,7 +2293,7 @@ public static string gsNTRIPOff { } /// - /// Looks up a localized string similar to NTRIP On. + /// Recherche une chaîne localisée semblable à NTRIP On. /// public static string gsNTRIPOn { get { @@ -2302,7 +2302,7 @@ public static string gsNTRIPOn { } /// - /// Looks up a localized string similar to NTRIP Restarting. + /// Recherche une chaîne localisée semblable à NTRIP Restarting. /// public static string gsNTRIPRestarting { get { @@ -2311,7 +2311,7 @@ public static string gsNTRIPRestarting { } /// - /// Looks up a localized string similar to Off. + /// Recherche une chaîne localisée semblable à Off. /// public static string gsOff { get { @@ -2320,7 +2320,7 @@ public static string gsOff { } /// - /// Looks up a localized string similar to Offline. + /// Recherche une chaîne localisée semblable à Offline. /// public static string gsOffline { get { @@ -2329,7 +2329,7 @@ public static string gsOffline { } /// - /// Looks up a localized string similar to Offset. + /// Recherche une chaîne localisée semblable à Offset. /// public static string gsOffset { get { @@ -2338,7 +2338,7 @@ public static string gsOffset { } /// - /// Looks up a localized string similar to Offset Fix. + /// Recherche une chaîne localisée semblable à Offset Fix. /// public static string gsOffsetFix { get { @@ -2347,7 +2347,7 @@ public static string gsOffsetFix { } /// - /// Looks up a localized string similar to Open. + /// Recherche une chaîne localisée semblable à Open. /// public static string gsOpen { get { @@ -2356,7 +2356,7 @@ public static string gsOpen { } /// - /// Looks up a localized string similar to Original. + /// Recherche une chaîne localisée semblable à Original. /// public static string gsOriginal { get { @@ -2365,7 +2365,7 @@ public static string gsOriginal { } /// - /// Looks up a localized string similar to Outer. + /// Recherche une chaîne localisée semblable à Outer. /// public static string gsOuter { get { @@ -2374,7 +2374,7 @@ public static string gsOuter { } /// - /// Looks up a localized string similar to Output Gain. + /// Recherche une chaîne localisée semblable à Output Gain. /// public static string gsOutputGain { get { @@ -2383,7 +2383,7 @@ public static string gsOutputGain { } /// - /// Looks up a localized string similar to Overshoot Reduction. + /// Recherche une chaîne localisée semblable à Overshoot Reduction. /// public static string gsOvershootReduction { get { @@ -2392,7 +2392,7 @@ public static string gsOvershootReduction { } /// - /// Looks up a localized string similar to PAOGI (Reach IMU). + /// Recherche une chaîne localisée semblable à PAOGI (Reach IMU). /// public static string gsPAOGIReachIMU { get { @@ -2401,7 +2401,7 @@ public static string gsPAOGIReachIMU { } /// - /// Looks up a localized string similar to Pass #. + /// Recherche une chaîne localisée semblable à Pass #. /// public static string gsPass { get { @@ -2410,7 +2410,7 @@ public static string gsPass { } /// - /// Looks up a localized string similar to Password. + /// Recherche une chaîne localisée semblable à Password. /// public static string gsPassword { get { @@ -2419,7 +2419,7 @@ public static string gsPassword { } /// - /// Looks up a localized string similar to Pattern. + /// Recherche une chaîne localisée semblable à Pattern. /// public static string gsPattern { get { @@ -2428,7 +2428,7 @@ public static string gsPattern { } /// - /// Looks up a localized string similar to Pause. + /// Recherche une chaîne localisée semblable à Pause. /// public static string gsPause { get { @@ -2437,7 +2437,7 @@ public static string gsPause { } /// - /// Looks up a localized string similar to Pause / Resume. + /// Recherche une chaîne localisée semblable à Pause / Resume. /// public static string gsPauseResume { get { @@ -2446,7 +2446,7 @@ public static string gsPauseResume { } /// - /// Looks up a localized string similar to Pick 2 Points. + /// Recherche une chaîne localisée semblable à Pick 2 Points. /// public static string gsPick2Points { get { @@ -2455,7 +2455,7 @@ public static string gsPick2Points { } /// - /// Looks up a localized string similar to Please complete ABLine. + /// Recherche une chaîne localisée semblable à Please complete ABLine. /// public static string gsPleaseCompleteABLine { get { @@ -2464,7 +2464,7 @@ public static string gsPleaseCompleteABLine { } /// - /// Looks up a localized string similar to Please delete it!!!. + /// Recherche une chaîne localisée semblable à Please delete it!!!. /// public static string gsPleasedeleteit { get { @@ -2473,7 +2473,7 @@ public static string gsPleasedeleteit { } /// - /// Looks up a localized string similar to Please Enter ABLine. + /// Recherche une chaîne localisée semblable à Please Enter ABLine. /// public static string gsPleaseEnterABLine { get { @@ -2482,7 +2482,7 @@ public static string gsPleaseEnterABLine { } /// - /// Looks up a localized string similar to Polygon On. + /// Recherche une chaîne localisée semblable à Polygon On. /// public static string gsPolygonsOn { get { @@ -2491,7 +2491,7 @@ public static string gsPolygonsOn { } /// - /// Looks up a localized string similar to Port. + /// Recherche une chaîne localisée semblable à Port. /// public static string gsPort { get { @@ -2500,7 +2500,7 @@ public static string gsPort { } /// - /// Looks up a localized string similar to Ports. + /// Recherche une chaîne localisée semblable à Ports. /// public static string gsPorts { get { @@ -2509,7 +2509,7 @@ public static string gsPorts { } /// - /// Looks up a localized string similar to Problem Making Path. + /// Recherche une chaîne localisée semblable à Problem Making Path. /// public static string gsProblemMakingPath { get { @@ -2518,7 +2518,7 @@ public static string gsProblemMakingPath { } /// - /// Looks up a localized string similar to Program will exit. Please Restart. + /// Recherche une chaîne localisée semblable à Program will exit. Please Restart. /// public static string gsProgramWillExitPleaseRestart { get { @@ -2527,7 +2527,7 @@ public static string gsProgramWillExitPleaseRestart { } /// - /// Looks up a localized string similar to Program will Reset to Recover. Please Restart. + /// Recherche une chaîne localisée semblable à Program will Reset to Recover. Please Restart. /// public static string gsProgramWillResetToRecoverPleaseRestart { get { @@ -2536,7 +2536,7 @@ public static string gsProgramWillResetToRecoverPleaseRestart { } /// - /// Looks up a localized string similar to Proportional Gain. + /// Recherche une chaîne localisée semblable à Proportional Gain. /// public static string gsProportionalGain { get { @@ -2545,7 +2545,7 @@ public static string gsProportionalGain { } /// - /// Looks up a localized string similar to Pursuit Line. + /// Recherche une chaîne localisée semblable à Pursuit Line. /// public static string gsPursuitLine { get { @@ -2554,7 +2554,7 @@ public static string gsPursuitLine { } /// - /// Looks up a localized string similar to Really Reset Everything?. + /// Recherche une chaîne localisée semblable à Really Reset Everything?. /// public static string gsReallyResetEverything { get { @@ -2563,7 +2563,7 @@ public static string gsReallyResetEverything { } /// - /// Looks up a localized string similar to Record. + /// Recherche une chaîne localisée semblable à Record. /// public static string gsRecord { get { @@ -2572,7 +2572,7 @@ public static string gsRecord { } /// - /// Looks up a localized string similar to Recorded Path File is Corrupt. + /// Recherche une chaîne localisée semblable à Recorded Path File is Corrupt. /// public static string gsRecordedPathFileIsCorrupt { get { @@ -2581,7 +2581,7 @@ public static string gsRecordedPathFileIsCorrupt { } /// - /// Looks up a localized string similar to Record Elevation. + /// Recherche une chaîne localisée semblable à Record Elevation. /// public static string gsRecordElevation { get { @@ -2590,7 +2590,7 @@ public static string gsRecordElevation { } /// - /// Looks up a localized string similar to Record / Stop. + /// Recherche une chaîne localisée semblable à Record / Stop. /// public static string gsRecordStop { get { @@ -2599,7 +2599,7 @@ public static string gsRecordStop { } /// - /// Looks up a localized string similar to Relay. + /// Recherche une chaîne localisée semblable à Relay. /// public static string gsRelay { get { @@ -2608,7 +2608,7 @@ public static string gsRelay { } /// - /// Looks up a localized string similar to Remove Offset. + /// Recherche une chaîne localisée semblable à Remove Offset. /// public static string gsRemoveOffset { get { @@ -2617,7 +2617,7 @@ public static string gsRemoveOffset { } /// - /// Looks up a localized string similar to Rescan Ports. + /// Recherche une chaîne localisée semblable à Rescan Ports. /// public static string gsRescanPorts { get { @@ -2626,7 +2626,7 @@ public static string gsRescanPorts { } /// - /// Looks up a localized string similar to Reset All. + /// Recherche une chaîne localisée semblable à Reset All. /// public static string gsResetAll { get { @@ -2635,7 +2635,7 @@ public static string gsResetAll { } /// - /// Looks up a localized string similar to Restarting and Reconnecting to Caster. + /// Recherche une chaîne localisée semblable à Restarting and Reconnecting to Caster. /// public static string gsRestartingAndReconnectingToCaster { get { @@ -2644,7 +2644,7 @@ public static string gsRestartingAndReconnectingToCaster { } /// - /// Looks up a localized string similar to * Restart Required. + /// Recherche une chaîne localisée semblable à * Restart Required. /// public static string gsRestartRequired { get { @@ -2653,7 +2653,7 @@ public static string gsRestartRequired { } /// - /// Looks up a localized string similar to Resume. + /// Recherche une chaîne localisée semblable à Resume. /// public static string gsResume { get { @@ -2662,7 +2662,7 @@ public static string gsResume { } /// - /// Looks up a localized string similar to Resuming With New Settings. + /// Recherche une chaîne localisée semblable à Resuming With New Settings. /// public static string gsResumingWithNewSettings { get { @@ -2671,7 +2671,7 @@ public static string gsResumingWithNewSettings { } /// - /// Looks up a localized string similar to Return. + /// Recherche une chaîne localisée semblable à Return. /// public static string gsReturn { get { @@ -2680,7 +2680,7 @@ public static string gsReturn { } /// - /// Looks up a localized string similar to Right Is +. + /// Recherche une chaîne localisée semblable à Right Is +. /// public static string gsRightIs_ { get { @@ -2689,7 +2689,7 @@ public static string gsRightIs_ { } /// - /// Looks up a localized string similar to Roll Source. + /// Recherche une chaîne localisée semblable à Roll Source. /// public static string gsRollSource { get { @@ -2698,7 +2698,7 @@ public static string gsRollSource { } /// - /// Looks up a localized string similar to Roll Zero. + /// Recherche une chaîne localisée semblable à Roll Zero. /// public static string gsRollZero { get { @@ -2707,7 +2707,7 @@ public static string gsRollZero { } /// - /// Looks up a localized string similar to S_East. + /// Recherche une chaîne localisée semblable à S_East. /// public static string gsS_East { get { @@ -2716,7 +2716,7 @@ public static string gsS_East { } /// - /// Looks up a localized string similar to S_West. + /// Recherche une chaîne localisée semblable à S_West. /// public static string gsS_West { get { @@ -2725,7 +2725,7 @@ public static string gsS_West { } /// - /// Looks up a localized string similar to Save. + /// Recherche une chaîne localisée semblable à Save. /// public static string gsSave { get { @@ -2734,7 +2734,7 @@ public static string gsSave { } /// - /// Looks up a localized string similar to Save And Exit. + /// Recherche une chaîne localisée semblable à Save And Exit. /// public static string gsSaveAndExit { get { @@ -2743,7 +2743,7 @@ public static string gsSaveAndExit { } /// - /// Looks up a localized string similar to Save and Return. + /// Recherche une chaîne localisée semblable à Save and Return. /// public static string gsSaveAndReturn { get { @@ -2752,7 +2752,7 @@ public static string gsSaveAndReturn { } /// - /// Looks up a localized string similar to Saved In Folder: . + /// Recherche une chaîne localisée semblable à Saved In Folder: . /// public static string gsSavedInFolder { get { @@ -2761,7 +2761,7 @@ public static string gsSavedInFolder { } /// - /// Looks up a localized string similar to Save Names. + /// Recherche une chaîne localisée semblable à Save Names. /// public static string gsSaveNames { get { @@ -2770,7 +2770,7 @@ public static string gsSaveNames { } /// - /// Looks up a localized string similar to Save vehicle. + /// Recherche une chaîne localisée semblable à Save vehicle. /// public static string gsSaveVehicle { get { @@ -2779,7 +2779,7 @@ public static string gsSaveVehicle { } /// - /// Looks up a localized string similar to Section. + /// Recherche une chaîne localisée semblable à Section. /// public static string gsSection { get { @@ -2788,7 +2788,7 @@ public static string gsSection { } /// - /// Looks up a localized string similar to Section File Is Corrupt. + /// Recherche une chaîne localisée semblable à Section File Is Corrupt. /// public static string gsSectionFileIsCorrupt { get { @@ -2797,7 +2797,7 @@ public static string gsSectionFileIsCorrupt { } /// - /// Looks up a localized string similar to Section Port. + /// Recherche une chaîne localisée semblable à Section Port. /// public static string gsSectionPort { get { @@ -2806,7 +2806,7 @@ public static string gsSectionPort { } /// - /// Looks up a localized string similar to Sections Turn Off Below. + /// Recherche une chaîne localisée semblable à Sections Turn Off Below. /// public static string gsSectionsTurnOffBelow { get { @@ -2815,7 +2815,7 @@ public static string gsSectionsTurnOffBelow { } /// - /// Looks up a localized string similar to Select. + /// Recherche une chaîne localisée semblable à Select. /// public static string gsSelect { get { @@ -2824,7 +2824,7 @@ public static string gsSelect { } /// - /// Looks up a localized string similar to Select A Field. + /// Recherche une chaîne localisée semblable à Select A Field. /// public static string gsSelectAField { get { @@ -2833,7 +2833,7 @@ public static string gsSelectAField { } /// - /// Looks up a localized string similar to Select Boundary. + /// Recherche une chaîne localisée semblable à Select Boundary. /// public static string gsSelectBoundary { get { @@ -2842,7 +2842,7 @@ public static string gsSelectBoundary { } /// - /// Looks up a localized string similar to Select Curve Or Line. + /// Recherche une chaîne localisée semblable à Select Curve Or Line. /// public static string gsSelectCurveOrLine { get { @@ -2851,7 +2851,7 @@ public static string gsSelectCurveOrLine { } /// - /// Looks up a localized string similar to Sending GGA. + /// Recherche une chaîne localisée semblable à Sending GGA. /// public static string gsSendingGGA { get { @@ -2860,7 +2860,7 @@ public static string gsSendingGGA { } /// - /// Looks up a localized string similar to Send To Manual Fix. + /// Recherche une chaîne localisée semblable à Send To Manual Fix. /// public static string gsSendToManualFix { get { @@ -2869,7 +2869,7 @@ public static string gsSendToManualFix { } /// - /// Looks up a localized string similar to Serial Ports. + /// Recherche une chaîne localisée semblable à Serial Ports. /// public static string gsSerialPorts { get { @@ -2878,7 +2878,7 @@ public static string gsSerialPorts { } /// - /// Looks up a localized string similar to SetPoint. + /// Recherche une chaîne localisée semblable à SetPoint. /// public static string gsSetPoint { get { @@ -2887,7 +2887,7 @@ public static string gsSetPoint { } /// - /// Looks up a localized string similar to Set to 0 for Serial. + /// Recherche une chaîne localisée semblable à Set to 0 for Serial. /// public static string gsSetToZeroForSerial { get { @@ -2896,7 +2896,7 @@ public static string gsSetToZeroForSerial { } /// - /// Looks up a localized string similar to Shift GPS Position (cm). + /// Recherche une chaîne localisée semblable à Shift GPS Position (cm). /// public static string gsShiftGPSPosition { get { @@ -2905,7 +2905,7 @@ public static string gsShiftGPSPosition { } /// - /// Looks up a localized string similar to Shortcut Keys. + /// Recherche une chaîne localisée semblable à Shortcut Keys. /// public static string gsShortcutKeys { get { @@ -2914,7 +2914,7 @@ public static string gsShortcutKeys { } /// - /// Looks up a localized string similar to Show. + /// Recherche une chaîne localisée semblable à Show. /// public static string gsShow { get { @@ -2923,7 +2923,7 @@ public static string gsShow { } /// - /// Looks up a localized string similar to Show Elevation Map. + /// Recherche une chaîne localisée semblable à Show Elevation Map. /// public static string gsShowElevationMap { get { @@ -2932,7 +2932,7 @@ public static string gsShowElevationMap { } /// - /// Looks up a localized string similar to Sidehill Draft Gain. + /// Recherche une chaîne localisée semblable à Sidehill Draft Gain. /// public static string gsSidehillDraftGain { get { @@ -2941,7 +2941,7 @@ public static string gsSidehillDraftGain { } /// - /// Looks up a localized string similar to Simulator Forced Off. + /// Recherche une chaîne localisée semblable à Simulator Forced Off. /// public static string gsSimulatorForcedOff { get { @@ -2950,7 +2950,7 @@ public static string gsSimulatorForcedOff { } /// - /// Looks up a localized string similar to Simulator On. + /// Recherche une chaîne localisée semblable à Simulator On. /// public static string gsSimulatorOn { get { @@ -2959,7 +2959,7 @@ public static string gsSimulatorOn { } /// - /// Looks up a localized string similar to Simulator On, Must be OFF !. + /// Recherche une chaîne localisée semblable à Simulator On, Must be OFF !. /// public static string gsSimulatorOnMustbeOFF { get { @@ -2968,7 +2968,7 @@ public static string gsSimulatorOnMustbeOFF { } /// - /// Looks up a localized string similar to Skip Is - \r\n Overlap is +. + /// Recherche une chaîne localisée semblable à Skip Is - \r\n Overlap is +. /// public static string gsSkip_Overlap_ { get { @@ -2977,7 +2977,7 @@ public static string gsSkip_Overlap_ { } /// - /// Looks up a localized string similar to Skips. + /// Recherche une chaîne localisée semblable à Skips. /// public static string gsSkips { get { @@ -2986,7 +2986,7 @@ public static string gsSkips { } /// - /// Looks up a localized string similar to Sky On. + /// Recherche une chaîne localisée semblable à Sky On. /// public static string gsSkyOn { get { @@ -2995,7 +2995,7 @@ public static string gsSkyOn { } /// - /// Looks up a localized string similar to Smooth AB Curve. + /// Recherche une chaîne localisée semblable à Smooth AB Curve. /// public static string gsSmoothABCurve { get { @@ -3004,7 +3004,7 @@ public static string gsSmoothABCurve { } /// - /// Looks up a localized string similar to Snap. + /// Recherche une chaîne localisée semblable à Snap. /// public static string gsSnap { get { @@ -3013,7 +3013,7 @@ public static string gsSnap { } /// - /// Looks up a localized string similar to Socket Connection Problem. + /// Recherche une chaîne localisée semblable à Socket Connection Problem. /// public static string gsSocketConnectionProblem { get { @@ -3022,7 +3022,7 @@ public static string gsSocketConnectionProblem { } /// - /// Looks up a localized string similar to South. + /// Recherche une chaîne localisée semblable à South. /// public static string gsSouth { get { @@ -3031,7 +3031,7 @@ public static string gsSouth { } /// - /// Looks up a localized string similar to Spacing (cm). + /// Recherche une chaîne localisée semblable à Spacing (cm). /// public static string gsSpacing { get { @@ -3040,7 +3040,7 @@ public static string gsSpacing { } /// - /// Looks up a localized string similar to Start. + /// Recherche une chaîne localisée semblable à Start. /// public static string gsStart { get { @@ -3049,7 +3049,7 @@ public static string gsStart { } /// - /// Looks up a localized string similar to Start or Delete A Boundary. + /// Recherche une chaîne localisée semblable à Start or Delete A Boundary. /// public static string gsStartDeleteABoundary { get { @@ -3058,7 +3058,7 @@ public static string gsStartDeleteABoundary { } /// - /// Looks up a localized string similar to Start New Field. + /// Recherche une chaîne localisée semblable à Start New Field. /// public static string gsStartNewField { get { @@ -3067,7 +3067,7 @@ public static string gsStartNewField { } /// - /// Looks up a localized string similar to Start or Delete A Boundary. + /// Recherche une chaîne localisée semblable à Start or Delete A Boundary. /// public static string gsStartOrDeleteABoundary { get { @@ -3076,7 +3076,7 @@ public static string gsStartOrDeleteABoundary { } /// - /// Looks up a localized string similar to Steer. + /// Recherche une chaîne localisée semblable à Steer. /// public static string gsSteer { get { @@ -3085,7 +3085,7 @@ public static string gsSteer { } /// - /// Looks up a localized string similar to Steer Chart. + /// Recherche une chaîne localisée semblable à Steer Chart. /// public static string gsSteerChart { get { @@ -3094,7 +3094,7 @@ public static string gsSteerChart { } /// - /// Looks up a localized string similar to Steering Front Or Back. + /// Recherche une chaîne localisée semblable à Steering Front Or Back. /// public static string gsSteeringFrontOrBack { get { @@ -3103,7 +3103,7 @@ public static string gsSteeringFrontOrBack { } /// - /// Looks up a localized string similar to Step. + /// Recherche une chaîne localisée semblable à Step. /// public static string gsStep { get { @@ -3112,7 +3112,7 @@ public static string gsStep { } /// - /// Looks up a localized string similar to Stop. + /// Recherche une chaîne localisée semblable à Stop. /// public static string gsStop { get { @@ -3121,7 +3121,7 @@ public static string gsStop { } /// - /// Looks up a localized string similar to Stopped. + /// Recherche une chaîne localisée semblable à Stopped. /// public static string gsStopped { get { @@ -3130,7 +3130,7 @@ public static string gsStopped { } /// - /// Looks up a localized string similar to Stop Record. + /// Recherche une chaîne localisée semblable à Stop Record. /// public static string gsStopRecord { get { @@ -3139,7 +3139,7 @@ public static string gsStopRecord { } /// - /// Looks up a localized string similar to Stop Record Pause Boundary. + /// Recherche une chaîne localisée semblable à Stop Record Pause Boundary. /// public static string gsStopRecordPauseBoundary { get { @@ -3148,7 +3148,7 @@ public static string gsStopRecordPauseBoundary { } /// - /// Looks up a localized string similar to Switches. + /// Recherche une chaîne localisée semblable à Switches. /// public static string gsSwitches { get { @@ -3157,7 +3157,7 @@ public static string gsSwitches { } /// - /// Looks up a localized string similar to Template Cancelled. + /// Recherche une chaîne localisée semblable à Template Cancelled. /// public static string gsTemplateCancelled { get { @@ -3166,7 +3166,7 @@ public static string gsTemplateCancelled { } /// - /// Looks up a localized string similar to This Computer. + /// Recherche une chaîne localisée semblable à This Computer. /// public static string gsThisComputer { get { @@ -3175,7 +3175,7 @@ public static string gsThisComputer { } /// - /// Looks up a localized string similar to This is bad. + /// Recherche une chaîne localisée semblable à This is bad. /// public static string gsThisisbad { get { @@ -3184,7 +3184,7 @@ public static string gsThisisbad { } /// - /// Looks up a localized string similar to Thru. + /// Recherche une chaîne localisée semblable à Thru. /// public static string gsThru { get { @@ -3193,7 +3193,7 @@ public static string gsThru { } /// - /// Looks up a localized string similar to To Auto Steer:. + /// Recherche une chaîne localisée semblable à To Auto Steer:. /// public static string gsToAutoSteer { get { @@ -3202,7 +3202,7 @@ public static string gsToAutoSteer { } /// - /// Looks up a localized string similar to To File. + /// Recherche une chaîne localisée semblable à To File. /// public static string gsToFile { get { @@ -3211,7 +3211,7 @@ public static string gsToFile { } /// - /// Looks up a localized string similar to Toggle. + /// Recherche une chaîne localisée semblable à Toggle. /// public static string gsToggle { get { @@ -3220,7 +3220,7 @@ public static string gsToggle { } /// - /// Looks up a localized string similar to Toggle Drive By. + /// Recherche une chaîne localisée semblable à Toggle Drive By. /// public static string gsToggleDriveBy { get { @@ -3229,7 +3229,7 @@ public static string gsToggleDriveBy { } /// - /// Looks up a localized string similar to Toggle Drive Thru. + /// Recherche une chaîne localisée semblable à Toggle Drive Thru. /// public static string gsToggleDriveThru { get { @@ -3238,7 +3238,7 @@ public static string gsToggleDriveThru { } /// - /// Looks up a localized string similar to Tool. + /// Recherche une chaîne localisée semblable à Tool. /// public static string gsTool { get { @@ -3247,7 +3247,7 @@ public static string gsTool { } /// - /// Looks up a localized string similar to Tool Offset L/R. + /// Recherche une chaîne localisée semblable à Tool Offset L/R. /// public static string gsToolOffsetLR { get { @@ -3256,7 +3256,7 @@ public static string gsToolOffsetLR { } /// - /// Looks up a localized string similar to Tool Width. + /// Recherche une chaîne localisée semblable à Tool Width. /// public static string gsToolWidth { get { @@ -3265,7 +3265,7 @@ public static string gsToolWidth { } /// - /// Looks up a localized string similar to To Section Port:. + /// Recherche une chaîne localisée semblable à To Section Port:. /// public static string gsToSectionPort { get { @@ -3274,7 +3274,7 @@ public static string gsToSectionPort { } /// - /// Looks up a localized string similar to To UDP Port. + /// Recherche une chaîne localisée semblable à To UDP Port. /// public static string gsToUDPPort { get { @@ -3283,7 +3283,7 @@ public static string gsToUDPPort { } /// - /// Looks up a localized string similar to Tow Between Disabled When + /// Recherche une chaîne localisée semblable à Tow Between Disabled When ///< 200 cm or ///< 78 inches. /// @@ -3294,7 +3294,7 @@ public static string gsTowBetweenDisabledWhen { } /// - /// Looks up a localized string similar to Tow Between Length. + /// Recherche une chaîne localisée semblable à Tow Between Length. /// public static string gsTowBetweenLength { get { @@ -3303,7 +3303,7 @@ public static string gsTowBetweenLength { } /// - /// Looks up a localized string similar to Tailing Hitch Length. + /// Recherche une chaîne localisée semblable à Tailing Hitch Length. /// public static string gsTrailingHitchLength { get { @@ -3312,7 +3312,7 @@ public static string gsTrailingHitchLength { } /// - /// Looks up a localized string similar to Tree Plant Control. + /// Recherche une chaîne localisée semblable à Tree Plant Control. /// public static string gsTreePlantControl { get { @@ -3321,7 +3321,7 @@ public static string gsTreePlantControl { } /// - /// Looks up a localized string similar to Tree Planter. + /// Recherche une chaîne localisée semblable à Tree Planter. /// public static string gsTreePlanter { get { @@ -3330,7 +3330,7 @@ public static string gsTreePlanter { } /// - /// Looks up a localized string similar to Trees. + /// Recherche une chaîne localisée semblable à Trees. /// public static string gsTrees { get { @@ -3339,7 +3339,7 @@ public static string gsTrees { } /// - /// Looks up a localized string similar to Turn ABCurve On. + /// Recherche une chaîne localisée semblable à Turn ABCurve On. /// public static string gsTurnABCurveOn { get { @@ -3348,7 +3348,7 @@ public static string gsTurnABCurveOn { } /// - /// Looks up a localized string similar to Turn All Off. + /// Recherche une chaîne localisée semblable à Turn All Off. /// public static string gsTurnallOff { get { @@ -3357,7 +3357,7 @@ public static string gsTurnallOff { } /// - /// Looks up a localized string similar to Turning Off Simulator. + /// Recherche une chaîne localisée semblable à Turning Off Simulator. /// public static string gsTurningOffSimulator { get { @@ -3366,7 +3366,7 @@ public static string gsTurningOffSimulator { } /// - /// Looks up a localized string similar to Turning On Simulator. + /// Recherche une chaîne localisée semblable à Turning On Simulator. /// public static string gsTurningOnSimulator { get { @@ -3375,7 +3375,7 @@ public static string gsTurningOnSimulator { } /// - /// Looks up a localized string similar to Turn Off. + /// Recherche une chaîne localisée semblable à Turn Off. /// public static string gsTurnOff { get { @@ -3384,7 +3384,7 @@ public static string gsTurnOff { } /// - /// Looks up a localized string similar to Turn Off Delay (secs). + /// Recherche une chaîne localisée semblable à Turn Off Delay (secs). /// public static string gsTurnOffDelaySecs { get { @@ -3393,7 +3393,7 @@ public static string gsTurnOffDelaySecs { } /// - /// Looks up a localized string similar to Turn On. + /// Recherche une chaîne localisée semblable à Turn On. /// public static string gsTurnOn { get { @@ -3402,7 +3402,7 @@ public static string gsTurnOn { } /// - /// Looks up a localized string similar to Turn On Ahead (secs). + /// Recherche une chaîne localisée semblable à Turn On Ahead (secs). /// public static string gsTurnOnAheadSecs { get { @@ -3411,7 +3411,7 @@ public static string gsTurnOnAheadSecs { } /// - /// Looks up a localized string similar to Turn on Contour Or Make AB Line. + /// Recherche une chaîne localisée semblable à Turn on Contour Or Make AB Line. /// public static string gsTurnOnContourOrMakeABLine { get { @@ -3420,7 +3420,7 @@ public static string gsTurnOnContourOrMakeABLine { } /// - /// Looks up a localized string similar to Turn ON Ntrip Client. + /// Recherche une chaîne localisée semblable à Turn ON Ntrip Client. /// public static string gsTurnONNtripClient { get { @@ -3429,7 +3429,7 @@ public static string gsTurnONNtripClient { } /// - /// Looks up a localized string similar to Turn Patterns. + /// Recherche une chaîne localisée semblable à Turn Patterns. /// public static string gsTurnPatterns { get { @@ -3438,7 +3438,7 @@ public static string gsTurnPatterns { } /// - /// Looks up a localized string similar to Turn Radius. + /// Recherche une chaîne localisée semblable à Turn Radius. /// public static string gsTurnRadius { get { @@ -3447,7 +3447,7 @@ public static string gsTurnRadius { } /// - /// Looks up a localized string similar to Turn RIGHT while recording. + /// Recherche une chaîne localisée semblable à Turn RIGHT while recording. /// public static string gsTurnRIGHTwhilerecording { get { @@ -3456,7 +3456,7 @@ public static string gsTurnRIGHTwhilerecording { } /// - /// Looks up a localized string similar to UDP. + /// Recherche une chaîne localisée semblable à UDP. /// public static string gsUDP { get { @@ -3465,7 +3465,7 @@ public static string gsUDP { } /// - /// Looks up a localized string similar to UDP On. + /// Recherche une chaîne localisée semblable à UDP On. /// public static string gsUDPOn { get { @@ -3474,7 +3474,7 @@ public static string gsUDPOn { } /// - /// Looks up a localized string similar to Units. + /// Recherche une chaîne localisée semblable à Units. /// public static string gsUnits { get { @@ -3483,7 +3483,7 @@ public static string gsUnits { } /// - /// Looks up a localized string similar to Use Field. + /// Recherche une chaîne localisée semblable à Use Field. /// public static string gsUseField { get { @@ -3492,7 +3492,7 @@ public static string gsUseField { } /// - /// Looks up a localized string similar to Use GPS. + /// Recherche une chaîne localisée semblable à Use GPS. /// public static string gsUseGPS { get { @@ -3501,7 +3501,7 @@ public static string gsUseGPS { } /// - /// Looks up a localized string similar to Username. + /// Recherche une chaîne localisée semblable à Username. /// public static string gsUsername { get { @@ -3510,7 +3510,7 @@ public static string gsUsername { } /// - /// Looks up a localized string similar to Use Selected. + /// Recherche une chaîne localisée semblable à Use Selected. /// public static string gsUseSelected { get { @@ -3519,7 +3519,7 @@ public static string gsUseSelected { } /// - /// Looks up a localized string similar to U Turn. + /// Recherche une chaîne localisée semblable à U Turn. /// public static string gsUTurn { get { @@ -3528,7 +3528,7 @@ public static string gsUTurn { } /// - /// Looks up a localized string similar to UTurn Distance. + /// Recherche une chaîne localisée semblable à UTurn Distance. /// public static string gsUTurnDistance { get { @@ -3537,7 +3537,7 @@ public static string gsUTurnDistance { } /// - /// Looks up a localized string similar to UTurn Length. + /// Recherche une chaîne localisée semblable à UTurn Length. /// public static string gsUTurnLength { get { @@ -3546,7 +3546,7 @@ public static string gsUTurnLength { } /// - /// Looks up a localized string similar to UTurn Look Ahead Multiplier. + /// Recherche une chaîne localisée semblable à UTurn Look Ahead Multiplier. /// public static string gsUTurnLookAheadMultiplier { get { @@ -3555,7 +3555,7 @@ public static string gsUTurnLookAheadMultiplier { } /// - /// Looks up a localized string similar to UTurn Settings. + /// Recherche une chaîne localisée semblable à UTurn Settings. /// public static string gsUTurnSettings { get { @@ -3564,7 +3564,7 @@ public static string gsUTurnSettings { } /// - /// Looks up a localized string similar to Vehicle. + /// Recherche une chaîne localisée semblable à Vehicle. /// public static string gsVehicle { get { @@ -3573,7 +3573,7 @@ public static string gsVehicle { } /// - /// Looks up a localized string similar to Vehicle File Is Corrupt. + /// Recherche une chaîne localisée semblable à Vehicle File Is Corrupt. /// public static string gsVehicleFileIsCorrupt { get { @@ -3582,7 +3582,7 @@ public static string gsVehicleFileIsCorrupt { } /// - /// Looks up a localized string similar to Vehicle File Is Wrong Version. + /// Recherche une chaîne localisée semblable à Vehicle File Is Wrong Version. /// public static string gsVehicleFileIsWrongVersion { get { @@ -3591,7 +3591,7 @@ public static string gsVehicleFileIsWrongVersion { } /// - /// Looks up a localized string similar to Vehicle Settings. + /// Recherche une chaîne localisée semblable à Vehicle Settings. /// public static string gsVehicleSetting { get { @@ -3600,7 +3600,7 @@ public static string gsVehicleSetting { } /// - /// Looks up a localized string similar to Vehicle Settings. + /// Recherche une chaîne localisée semblable à Vehicle Settings. /// public static string gsVehicleSettings { get { @@ -3609,7 +3609,7 @@ public static string gsVehicleSettings { } /// - /// Looks up a localized string similar to Waiting. + /// Recherche une chaîne localisée semblable à Waiting. /// public static string gsWaiting { get { @@ -3618,7 +3618,7 @@ public static string gsWaiting { } /// - /// Looks up a localized string similar to Waiting GPS. + /// Recherche une chaîne localisée semblable à Waiting for GPS. /// public static string gsWaitingForGPS { get { @@ -3627,7 +3627,7 @@ public static string gsWaitingForGPS { } /// - /// Looks up a localized string similar to Water Level. + /// Recherche une chaîne localisée semblable à Water Level. /// public static string gsWaterLevel { get { @@ -3636,7 +3636,7 @@ public static string gsWaterLevel { } /// - /// Looks up a localized string similar to WebCam. + /// Recherche une chaîne localisée semblable à WebCam. /// public static string gsWebCam { get { @@ -3645,7 +3645,7 @@ public static string gsWebCam { } /// - /// Looks up a localized string similar to West. + /// Recherche une chaîne localisée semblable à West. /// public static string gsWest { get { @@ -3654,7 +3654,7 @@ public static string gsWest { } /// - /// Looks up a localized string similar to Wheel Angle Sensor Zero. + /// Recherche une chaîne localisée semblable à Wheel Angle Sensor Zero. /// public static string gsWheelAngleSensorZero { get { @@ -3663,7 +3663,7 @@ public static string gsWheelAngleSensorZero { } /// - /// Looks up a localized string similar to Wheelbase. + /// Recherche une chaîne localisée semblable à Wheelbase. /// public static string gsWheelbase { get { @@ -3672,7 +3672,7 @@ public static string gsWheelbase { } /// - /// Looks up a localized string similar to Width. + /// Recherche une chaîne localisée semblable à Width. /// public static string gsWidth { get { @@ -3681,7 +3681,7 @@ public static string gsWidth { } /// - /// Looks up a localized string similar to Work Switch. + /// Recherche une chaîne localisée semblable à Work Switch. /// public static string gsWorkSwitch { get { @@ -3690,7 +3690,7 @@ public static string gsWorkSwitch { } /// - /// Looks up a localized string similar to Work Switch Controls Manual. + /// Recherche une chaîne localisée semblable à Work Switch Controls Manual. /// public static string gsWorkSwitchControlsManual { get { @@ -3699,7 +3699,7 @@ public static string gsWorkSwitchControlsManual { } /// - /// Looks up a localized string similar to Yaw:. + /// Recherche une chaîne localisée semblable à Yaw:. /// public static string gsYaw_ { get { @@ -3708,7 +3708,7 @@ public static string gsYaw_ { } /// - /// Looks up a localized string similar to You can still start a new field. + /// Recherche une chaîne localisée semblable à You can still start a new field. /// public static string gsYoucanstillstartnewfield { get { @@ -3717,7 +3717,7 @@ public static string gsYoucanstillstartnewfield { } /// - /// Looks up a localized string similar to ** You must RESTART AgOpenGPS for any changes to take effect!. + /// Recherche une chaîne localisée semblable à ** You must RESTART AgOpenGPS for any changes to take effect!. /// public static string gsYoumustRESTARTAgOpenGPS { get { @@ -3726,7 +3726,7 @@ public static string gsYoumustRESTARTAgOpenGPS { } /// - /// Looks up a localized string similar to YouTurn Recorder. + /// Recherche une chaîne localisée semblable à YouTurn Recorder. /// public static string gsYouTurnRecorder { get { @@ -3735,7 +3735,7 @@ public static string gsYouTurnRecorder { } /// - /// Looks up a localized string similar to 0 = Off. + /// Recherche une chaîne localisée semblable à 0 = Off. /// public static string gsZeroEqualsOff { get { @@ -3744,7 +3744,7 @@ public static string gsZeroEqualsOff { } /// - /// Looks up a localized string similar to >0< Trip. + /// Recherche une chaîne localisée semblable à >0< Trip. /// public static string gsZeroTrip { get { @@ -3753,7 +3753,7 @@ public static string gsZeroTrip { } /// - /// Looks up a localized string similar to Zoom. + /// Recherche une chaîne localisée semblable à Zoom. /// public static string gsZoom { get { diff --git a/SourceCode/GPS/gStr.resx b/SourceCode/GPS/gStr.resx index 3777eea56..d9f665b74 100644 --- a/SourceCode/GPS/gStr.resx +++ b/SourceCode/GPS/gStr.resx @@ -310,7 +310,7 @@ Connect - Connect + Connecting In Contour File is Corrupt @@ -1305,7 +1305,7 @@ Waiting - Waiting GPS + Waiting for GPS Water Level