static XElement GetValuesElement(int address, string unit, TableType tableType) { return new XElement (X_values, new XAttribute (X_address, HexNum (address)), new XAttribute (X_unit, unit), new XAttribute (X_tableType, tableType.ToStr ())); }