mirror of
https://github.com/S7NetPlus/s7netplus.git
synced 2026-02-17 22:38:27 +08:00
x fixes compatibility to support .NET 3.5 (removed unused usings/imports and changed method calls to .NET equivalents)
51 lines
1.2 KiB
C#
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;
|
|
}
|
|
}
|