27 lines
776 B
C#
27 lines
776 B
C#
using System.Xml.Serialization;
|
|
|
|
namespace ShrlAlgoToolkit.RevitAddins.RvIndependent.MetroGauges.LandXMLData
|
|
{
|
|
[XmlType("Imperial")]
|
|
[Serializable]
|
|
public class Imperial : Unit
|
|
{
|
|
public Imperial()
|
|
{
|
|
Initialize();
|
|
}
|
|
|
|
public override void Initialize()
|
|
{
|
|
_directionUnit = LandXMLData.DirectionUnit.decimal_degrees;
|
|
_angularUnit = LandXMLData.DirectionUnit.decimal_degrees;
|
|
DiameterUnit = DiameterUnit.inch;
|
|
PressureUnit = PressureUnit.inchHG;
|
|
TemperatureUnit = TemperatureUnit.fahrenheit;
|
|
AreaUnit = AreaUnit.squareFoot;
|
|
VolumeUnit = VolumeUnit.cubicYard;
|
|
LinearUnit = LinearUnit.USSurveyFoot;
|
|
}
|
|
}
|
|
}
|