Skip to content

Commit

Permalink
CollectionBuffer: change to tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
meee1 committed Jan 30, 2018
1 parent d4e9355 commit d40caa2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions ExtLibs/Utilities/CollectionBuffer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.IO;
using System.Linq;
using System.Text;
using MissionPlanner.Utilities;

namespace MissionPlanner.Utilities
{
Expand Down Expand Up @@ -215,12 +214,13 @@ private void BuildUnitMultiList()
multi = 1;
}

UnitMultiList.Add((msgtype.Value.Item2, field, unit, multi));
UnitMultiList.Add(
new Tuple<string, string, string, double>(msgtype.Value.Item2, field, unit, multi));
}
}
}

public List<ValueTuple<string,string,string,double>> UnitMultiList = new List<(string, string, string, double)>();
public List<Tuple<string,string,string,double>> UnitMultiList = new List<Tuple<string, string, string, double>>();

public Dictionary<int, Tuple<int, string, string, string[]>> FMT { get; set; } = new Dictionary<int, Tuple<int, string, string, string[]>>();
public Dictionary<int, Tuple<string, string>> FMTU { get; set; } = new Dictionary<int, Tuple<string, string>>();
Expand Down
2 changes: 1 addition & 1 deletion MissionPlanner.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<OutputType>Exe</OutputType>
<StartupObject></StartupObject>
<Authors>Michael Oborne</Authors>
<Version>1.3.52.8</Version>
<Version>1.3.52.9</Version>
<DebugType>full</DebugType>
<Company>Michael Oborne</Company>
<Product>Mission Planner</Product>
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ build_script:
- cmd: >-
dotnet --info
c:\mp\.nuget\nuget.exe update -self
rem c:\mp\.nuget\nuget.exe update -self
c:\mp\.nuget\nuget.exe restore
Expand Down

0 comments on commit d40caa2

Please sign in to comment.