using System; using System.Collections.Generic; using System.Text; namespace TFT_MelsecMcNet { /// /// 设备地址数据的信息,通常包含起始地址,数据类型,长度 /// public class DeviceAddressDataBase { /// /// 数字的起始地址,也就是偏移地址 /// public int AddressStart { get; set; } /// /// 读取的数据长度 /// public ushort Length { get; set; } /// /// 从指定的地址信息解析成真正的设备地址信息 /// /// 地址信息 /// 数据长度 public virtual void Parse(string address, ushort length) { } } }