Skip to content

Commit

Permalink
Name refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
mlveggo committed Sep 6, 2018
1 parent 1430a9c commit f666603
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions QTMSettings.cs
Expand Up @@ -495,7 +495,7 @@ public struct AnalogDevice
public AnalogRange ChannelRange;
/// <summary>Information of channels</summary>
[XmlElement("Channel")]
public List<AnalogChannelInfo> Labels;
public List<AnalogChannelInformation> ChannelInformation;
}

/// <summary>Analog range and channels</summary>
Expand All @@ -510,11 +510,11 @@ public struct AnalogRange
}

/// <summary>Settings for Analog channel</summary>
public struct AnalogChannelInfo
public struct AnalogChannelInformation
{
/// <summary>Channel label</summary>
[XmlElement("Label")]
public string Label;
public string Name;
/// <summary>Unit used by channel</summary>
[XmlElement("Unit")]
public string Unit;
Expand Down
4 changes: 2 additions & 2 deletions RTPacket.cs
Expand Up @@ -741,8 +741,8 @@ internal void SetData(byte[] data)
* X - 4 bytes
* Y - 4 bytes
* Z - 4 bytes
* Residual - 4 bytes
* ID - 4 bytes
* Residual - 4 bytes
*/
int markerCount = BitConvert.GetInt32(mData, ref position);
m2DDropRate = BitConvert.GetUShort(mData, ref position);
Expand All @@ -752,8 +752,8 @@ internal void SetData(byte[] data)
{
Q3D marker = new Q3D();
marker.Position = BitConvert.GetPoint(mData, ref position);
marker.Residual = BitConvert.GetFloat(mData, ref position);
marker.Id = BitConvert.GetUInt32(mData, ref position);
marker.Residual = BitConvert.GetFloat(mData, ref position);

m3DMarkerNoLabelResidualData.Add(marker);
}
Expand Down

0 comments on commit f666603

Please sign in to comment.