wanshenmean
2026-03-30 26676bd2c481d67e856f683a1431910bf351f740
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;
}