wanshenmean
2026-03-24 ab2076893b8df3c14f1a126d47e9eee132a38f4b
1
2
3
4
5
6
7
8
9
10
11
12
namespace WIDESEAWCS_S7Simulator.Core.Protocol;
 
public class ProtocolFieldMapping
{
    public string FieldKey { get; set; } = string.Empty;
    public int DbNumber { get; set; }
    public int Offset { get; set; }
    public int Bit { get; set; }
    public ProtocolDataType DataType { get; set; } = ProtocolDataType.Byte;
    public int Length { get; set; }
    public ProtocolFieldDirection Direction { get; set; } = ProtocolFieldDirection.Bidirectional;
}