using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace S7.Net.UnitTest.Helpers
{
class TestClassInnerWithBool
{
public bool BitVariable00 { get; set; }
}
class TestClassInnerWithByte
{
public byte ByteVariable00 { get; set; }
}
class TestClassInnerWithShort
{
public short ShortVarialbe00 { get; set; }
}
class TestClassWithNestedClass
{
///
/// DB1.DBX0.0
///
public bool BitVariable00 { get; set; }
///
/// DB1.DBX0.1
///
public TestClassInnerWithBool BitVariable01 { get; set; } = new TestClassInnerWithBool();
///
/// DB1.DBB1.0
///
public TestClassInnerWithByte ByteVariable02 { get; set; } = new TestClassInnerWithByte();
///
/// DB1.DBX2.0
///
public bool BitVariable03 { get; set; }
///
/// DB1.DBW4
///
public TestClassInnerWithShort ShortVariable04 { get; set; } = new TestClassInnerWithShort();
}
}