ScoobyRom.DataFile.RomXml.GetAxisXElement C# (CSharp) Method

GetAxisXElement() static private method

static private GetAxisXElement ( string axisType, int address, string name, string unit ) : System.Xml.Linq.XElement
axisType string
address int
name string
unit string
return System.Xml.Linq.XElement
        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));
        }