public static ByteField Init(ByteField field, string name, int startIndex, int bytesLength, string title) { field.Name = name; field.StartIndex = startIndex; field.BytesLength = bytesLength; field.Title = title; return(field); }
public static ByteField Init(ByteField field, string name, int startIndex, int bytesLength, string title, string unit, int baseNumber) { Init(field, name, startIndex, bytesLength, title, unit); field.BaseNumber = baseNumber; return(field); }
public static ByteField Init(ByteField field, string name, int startIndex, int bytesLength, string title, int bit) { Init(field, name, startIndex, bytesLength, title); field.Bit = bit; return(field); }
public static ByteField Init(ByteField field, string name, int startIndex, int bytesLength, string title, Dictionary <int, string> valueMap) { Init(field, name, startIndex, bytesLength, title); field.ValueMap = valueMap; return(field); }