Files
s7netplus/S7.Net.UnitTest/Helpers/TestClass.cs
Michele Cattafesta 73437f9ea3 Added Unit Tests.
Signed-off-by: Michele Cattafesta <michele.cattafesta@mesta-automation.com>
2014-12-22 14:31:52 +01:00

56 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace S7.Net.UnitTest.Helpers
{
class TestClass
{
/// <summary>
/// DB1.DBX0.0
/// </summary>
public bool BitVariable00 { get; set; }
public bool BitVariable01 { get; set; }
public bool BitVariable02 { get; set; }
public bool BitVariable03 { get; set; }
public bool BitVariable04 { get; set; }
public bool BitVariable05 { get; set; }
public bool BitVariable06 { get; set; }
public bool BitVariable07 { get; set; }
/// <summary>
/// DB1.DBX1.0
/// </summary>
public bool BitVariable10 { get; set; }
public bool BitVariable11 { get; set; }
public bool BitVariable12 { get; set; }
public bool BitVariable13 { get; set; }
public bool BitVariable14 { get; set; }
public bool BitVariable15 { get; set; }
public bool BitVariable16 { get; set; }
public bool BitVariable17 { get; set; }
/// <summary>
/// DB1.DBW2
/// </summary>
public short IntVariable { get; set; }
/// <summary>
/// DB1.DBD4
/// </summary>
public double RealVariable { get; set; }
/// <summary>
/// DB1.DBD8
/// </summary>
public int DIntVariable { get; set; }
/// <summary>
/// DB1.DBD12
/// </summary>
public ushort DWordVariable { get; set; }
}
}