Model/PressureEntity.cs

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.ComponentModel;

namespace UnitTransform.Model
{
    public class PressureEntity : AbstractEntity
    {
        private string pA;
        //帕
        public string PA
        {
            get { return pA; }
            set
            {
                pA = value;
                PropertyChange("PA");
                if (dicflag["PA"])
                {
                    SetPropertysValue("PA", value);
                }
            }
        }

        private string aTM;
        //标准大气压
        public string ATM
        {
            get { return aTM; }
            set
            {
                aTM = value;
                PropertyChange("ATM");
                if (dicflag["ATM"])
                {
                    SetPropertysValue("ATM", value);
                }
            }
        }

        private string mMHG;
        //毫米汞柱
        public string MMHG
        {
            get { return mMHG; }
            set
            {
                mMHG = value;
                PropertyChange("MMHG");
                if (dicflag["MMHG"])
                {
                    SetPropertysValue("MMHG", value);
                }
            }
        }


后面还有 12 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。