mirror of
https://github.com/S7NetPlus/s7netplus.git
synced 2026-02-26 09:38:26 +08:00
56 lines
1.3 KiB
C#
56 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
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;
|
|
}
|
|
}
|