aophysicaldimension.cs

来自「ASAMODS BaseModel C#」· CS 代码 · 共 210 行

CS
210
字号
using System;
using System.Collections.Generic;
using System.Collections;
using System.Text;

namespace ASAMODS.BaseModel
{
    /// <summary>
    /// (BID = 15)
    /// 量纲
    /// </summary>
    public abstract class AoPhysicalDimension:AoBase
    {
        #region Base Attributes
        private DT_LONG length_exp;
        private DT_LONG mass_exp;
        private DT_LONG time_exp;
        private DT_LONG current_exp;
        private DT_LONG temperature_exp;
        private DT_LONG molar_amount_exp;
        private DT_LONG luminous_intensity_exp;
        private DT_LONG length_exp_den; 
        private DT_LONG mass_exp_den;
        private DT_LONG time_exp_den;
        private DT_LONG current_exp_den;
        private DT_LONG temperature_exp_den;
        private DT_LONG molar_amount_exp_den;
        private DT_LONG luminous_intensity_exp_den;

 


        /// <summary>
        /// DT_LONG
        /// MANDATORY ATTRIBUTE (required in application model)
        /// nominator of exponent for length
        /// </summary>
        public DT_LONG Length_exp
        {
            get { return length_exp; }
            set { length_exp = value; }
        }

        /// <summary>
        /// DT_LONG
        /// MANDATORY ATTRIBUTE (required in application model)
        /// nominator of exponent for mass
        /// </summary>
        public DT_LONG Mass_exp
        {
            get { return mass_exp; }
            set { mass_exp = value; }
        }

        /// <summary>
        /// DT_LONG
        /// MANDATORY ATTRIBUTE (required in application model)
        /// nominator of exponent for time
        /// </summary>
        public DT_LONG Time_exp
        {
            get { return time_exp; }
            set { time_exp = value; }
        }

        /// <summary>
        /// DT_LONG
        /// MANDATORY ATTRIBUTE (required in application model)
        /// nominator of exponent for electric current
        /// </summary>
        public DT_LONG Current_exp
        {
            get { return current_exp; }
            set { current_exp = value; }
        }

        /// <summary>
        /// DT_LONG
        /// MANDATORY ATTRIBUTE (required in application model)
        /// nominator of exponent for electric temperature
        /// </summary>
        public DT_LONG Temperature_exp
        {
            get { return temperature_exp; }
            set { temperature_exp = value; }
        }

        /// <summary>
        /// DT_LONG
        /// MANDATORY ATTRIBUTE (required in application model)
        /// nominator of exponent for electric molar amount
        /// </summary>
        public DT_LONG Molar_amount_exp
        {
            get { return molar_amount_exp; }
            set { molar_amount_exp = value; }
        }
 
        /// <summary>
        /// DT_LONG
        /// MANDATORY ATTRIBUTE (required in application model)
        /// nominator of exponent for electric light
        /// </summary>
        public DT_LONG Luminous_intensity_exp
        {
            get { return luminous_intensity_exp; }
            set { luminous_intensity_exp = value; }
        }

        /// <summary>
        /// DT_LONG
        /// OPTIONAL
        /// denominator (length)
        /// </summary>
        public DT_LONG Length_exp_den
        {
            get { return length_exp_den; }
            set { length_exp_den = value; }
        }
 
        /// <summary>
        /// DT_LONG
        /// OPTIONAL
        /// denominator (mass))
        /// </summary>
        public DT_LONG Mass_exp_den
        {
            get { return mass_exp_den; }
            set { mass_exp_den = value; }
        }

        /// <summary>
        /// DT_LONG
        /// OPTIONAL
        /// denominator (time)))
        /// </summary>
        public DT_LONG Time_exp_den
        {
            get { return time_exp_den; }
            set { time_exp_den = value; }
        }


        /// <summary>
        /// DT_LONG
        /// OPTIONAL
        /// denominator (electric current))
        /// </summary>
        public DT_LONG Current_exp_den
        {
            get { return current_exp_den; }
            set { current_exp_den = value; }
        }

        /// <summary>
        /// DT_LONG
        /// OPTIONAL
        /// denominator (temperature)))
        /// </summary>
        public DT_LONG Temperature_exp_den
        {
            get { return temperature_exp_den; }
            set { temperature_exp_den = value; }
        }

        /// <summary>
        /// DT_LONG
        /// OPTIONAL
        /// denominator (molar amount))
        /// </summary>
        public DT_LONG Molar_amount_exp_den
        {
            get { return molar_amount_exp_den; }
            set { molar_amount_exp_den = value; }
        }

        /// <summary>
        /// DT_LONG
        /// OPTIONAL
        /// denominator (light))
        /// </summary>
        public DT_LONG Luminous_intensity_exp_den
        {
            get { return luminous_intensity_exp_den; }
            set { luminous_intensity_exp_den = value; }
        }

        #endregion

        #region Relations

        private IList units;

        /// <summary>
        /// INFO_FROM
        /// SET[0:?] OF AoUnit
        /// INVERSE FOR phys_dimension
        /// </summary>
        public IList Units
        {
            get { return units; }
            set { units = value; }
        }

        #endregion


    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?