wanshenmean
5 天以前 c5c3e4e538a11f2a6391e6b2613375b1f92eb20a
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;
}