コード例 #1
0
        static Pacient()
        {
            if (Loaded == null)
            {
                Loaded = new Pacient
                {
                    Id = -1,
                    CalibrationPitacoDone = true,
                    CalibrationManoDone   = true,
                    CalibrationCintaDone  = true,
                    HowToPlayDone         = true,
                    Condition             = ConditionType.Healthy,
                    Name             = "NetRunner",
                    PlaySessionsDone = 0,
                    UnlockedLevels   = 15,
                    AccumulatedScore = 0,
                    PitacoThreshold  = 7.5f,
                    ManoThreshold    = 7.5f,
                    CintaThreshold   = 7.5f,

                    CapacitiesPitaco = new Capacities
                    {
                        RespiratoryRate = 0.3f,
                        ExpPeakFlow     = 200,   //valor original 1600
                        InsPeakFlow     = -80,   //valor original -330
                        ExpFlowDuration = 18000, //valor original
                        InsFlowDuration = 10000  //valor original
                    },

                    CapacitiesMano = new Capacities
                    {
                        ExpPeakFlow     = 400,   //valor original 1600
                        InsPeakFlow     = -200,  //valor original -330
                        ExpFlowDuration = 18000, //valor original
                        InsFlowDuration = 10000  //valor original
                    },

                    CapacitiesCinta = new Capacities
                    {
                        RespiratoryRate = 0.3f,
                        ExpPeakFlow     = 200,   //valor original 1600
                        InsPeakFlow     = -80,   //valor original -330
                        ExpFlowDuration = 18000, //valor original
                        InsFlowDuration = 10000  //valor original
                    }
                }
            }
            ;
        }
#endif
    }
コード例 #2
0
ファイル: Pacient.cs プロジェクト: zhangfaquan/IBLUEIT
        static Pacient()
        {
            if (Loaded == null)
            {
                Loaded = new Pacient
                {
                    IdApi = "00000000-0000-0000-0000-000000000000",
                    Id    = -1,
                    CalibrationPitacoDone = true,
                    CalibrationManoDone   = true,
                    CalibrationCintaDone  = true,
                    HowToPlayDone         = true,
                    Condition             = ConditionType.Healthy,
                    Name             = "NetRunner",
                    PlaySessionsDone = 0,
                    UnlockedLevels   = 31,
                    AccumulatedScore = 0,
                    PitacoThreshold  = 7.5f,
                    ManoThreshold    = 7.5f,
                    CintaThreshold   = 7.5f,

                    CapacitiesPitaco = new Capacities
                    {
                        RespiratoryRate = 0.3f,
                        ExpPeakFlow     = 200,
                        InsPeakFlow     = -150,
                        ExpFlowDuration = 5000,
                        InsFlowDuration = 4000
                    },

                    CapacitiesMano = new Capacities
                    {
                        ExpPeakFlow     = 4000,
                        InsPeakFlow     = -4000,
                        ExpFlowDuration = 4000,
                        InsFlowDuration = 3000
                    },

                    CapacitiesCinta = new Capacities
                    {
                        RespiratoryRate = 0.3f,
                        ExpPeakFlow     = 98,
                        InsPeakFlow     = -128,
                        ExpFlowDuration = 5000,
                        InsFlowDuration = 5000
                    }
                }
            }
            ;
        }