mirror of
https://github.com/S7NetPlus/s7netplus.git
synced 2026-02-17 22:38:27 +08:00
56 lines
1.5 KiB
C#
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; }
|
|
}
|
|
}
|