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; }