public DeviceDictionaryROItem(byte bits, bool use, string name, ParameterShow show) { Bits = bits; Use = use; Name = name; showFunction = show; }
public DeviceDictionaryRWItem(byte bits, bool use, string name, ParameterShow show, ParameterParse parse) : base(bits, use, name, show) { parseFunction = parse; }
static public string GetShowFuncName(ParameterShow func) { var res = ParameterShowList.Find((Tuple <string, ParameterShow> t) => { return(t.Item2 == func); }); return(res.Item1); }