static XElement GetAxisXElement(string axisType, int address, string name, string unit) { return new XElement (axisType, new XAttribute (X_address, HexNum (address)), new XAttribute (X_name, name), new XAttribute (X_unit, unit)); }