/// <summary> /// Constructor, sets up the unit converter. /// </summary> public UnitConverter() { // Set up the tables we need m_SymbolTable = new SymbolTable(); m_Units = new UnitTable(); m_UnitGroups = new GroupTable(); // Create an Xml document to hold the units file in. m_UnitsFile = new XmlDocument(); m_CurUnitsFileVersion = 0.0; m_CurUnitFileName = ""; InitTables(); }
public UnitGroup() { m_Units = new UnitTable(); }
/// <summary> /// Constructor, sets up the unit converter. /// </summary> public UnitConverter() { //Set up the tables we need m_SymbolTable = new SymbolTable(); m_Units = new UnitTable(); m_UnitGroups = new GroupTable(); //Create an Xml document to hold the units file in. m_UnitsFile = new XmlDocument(); m_CurUnitsFileVersion = 0.0; m_CurUnitFileName = ""; InitTables(); }