Files
s7netplus/S7.Net.UnitTest/Helpers/TestStruct.cs
Johnnyxy 533a18e2cc o changed target .NET framework to v3.5 (higher .NET versions can load and execute lower versions code)
x fixes compatibility to support .NET 3.5 (removed unused usings/imports and changed method calls to .NET equivalents)
2015-06-17 17:04:12 +02:00

51 lines
1.2 KiB
C#

namespace S7.Net.UnitTest.Helpers
{
public struct TestStruct
{
/// <summary>
/// DB1.DBX0.0
/// </summary>
public bool BitVariable00;
public bool BitVariable01;
public bool BitVariable02;
public bool BitVariable03;
public bool BitVariable04;
public bool BitVariable05;
public bool BitVariable06;
public bool BitVariable07;
/// <summary>
/// DB1.DBX1.0
/// </summary>
public bool BitVariable10;
public bool BitVariable11;
public bool BitVariable12;
public bool BitVariable13;
public bool BitVariable14;
public bool BitVariable15;
public bool BitVariable16;
public bool BitVariable17;
/// <summary>
/// DB1.DBW2
/// </summary>
public short IntVariable;
/// <summary>
/// DB1.DBD4
/// </summary>
public double RealVariable;
/// <summary>
/// DB1.DBD8
/// </summary>
public int DIntVariable;
/// <summary>
/// DB1.DBD12
/// </summary>
public ushort DWordVariable;
}
}