BaseUnit
using Autodesk.DesignScript.Runtime;
namespace DynamoUnits
{
    [SupressImportIntoVM]
    public class BaseUnit
    {
        private static double epsilon = 1E-06;
        internal double _value;
        private static LengthUnit _hostApplicationInternalLengthUnit = LengthUnit.Meter;
        private static AreaUnit _hostApplicationInternalAreaUnit = AreaUnit.SquareMeter;
        private static VolumeUnit _hostApplicationInternalVolumeUnit = VolumeUnit.CubicMeter;
        private static string _numberFormat = "f4";
        private static string _generalNumberFormat = "G";
        public static double Epsilon => epsilon;
        public static LengthUnit HostApplicationInternalLengthUnit {
            get {
                return _hostApplicationInternalLengthUnit;
            }
            set {
                _hostApplicationInternalLengthUnit = value;
            }
        }
        public static AreaUnit HostApplicationInternalAreaUnit {
            get {
                return _hostApplicationInternalAreaUnit;
            }
            set {
                _hostApplicationInternalAreaUnit = value;
            }
        }
        public static VolumeUnit HostApplicationInternalVolumeUnit {
            get {
                return _hostApplicationInternalVolumeUnit;
            }
            set {
                _hostApplicationInternalVolumeUnit = value;
            }
        }
        public static string NumberFormat {
            get {
                return _numberFormat;
            }
            set {
                _numberFormat = value;
            }
        }
        public static string GeneralNumberFormat {
            get {
                return _generalNumberFormat;
            }
            set {
                _generalNumberFormat = value;
            }
        }
    }
}