wanshenmean
2026-03-31 9b77acb859f0866f3a854d2a2842072b2fe9cca8
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;
}