当前位置: 首页>>代码示例>>C#>>正文


C# Utilities.ParameterCollection类代码示例

本文整理汇总了C#中RiskApps3.Utilities.ParameterCollection的典型用法代码示例。如果您正苦于以下问题:C# ParameterCollection类的具体用法?C# ParameterCollection怎么用?C# ParameterCollection使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ParameterCollection类属于RiskApps3.Utilities命名空间,在下文中一共展示了ParameterCollection类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: BackgroundLoadWork

 /**************************************************************************************************/
 public override void BackgroundLoadWork()
 {
     ParameterCollection pc = new ParameterCollection();
     pc.Add("clinicId", clinicId);
     DoLoadWithSpAndParams("sp_3_LoadAtRisk", pc);
     DoLoadWithSpAndParams("sp_3_LoadDashboardCounts", pc);
 }
开发者ID:mahitosh,项目名称:HRA4,代码行数:8,代码来源:AtRisk.cs

示例2: PrintQueueEntryList

 public PrintQueueEntryList(bool include)
 {
     includePrinted = include ? 1 : 0;
     constructor_args = null;
     this.pc = new ParameterCollection();
     pc.Add("includePrinted", includePrinted);
 }
开发者ID:mahitosh,项目名称:HRA4,代码行数:7,代码来源:PrintQueueEntryList.cs

示例3: SetLabels

        public void SetLabels(int id, string mutProb, string name, string relationship)
        {
            relId = id;

            //old v2 way:
            //testingWillingnessComboBox.Text =
            //    Patient.getRelativeValueFromDB("tblRiskDataRelatives", "testingWillingness", relId);

            RelativeValueHolder relValHolder = new RelativeValueHolder("");

            ParameterCollection pc = new ParameterCollection("unitnum", SessionManager.Instance.GetActivePatient().unitnum);
            pc.Add("relativeid", relId);
            pc.Add("table", "tblRiskDataRelatives");
            pc.Add("column", "testingWillingness");
            relValHolder.DoLoadWithSpAndParams("sp_3_LoadRelativeValue", pc);
            testingWillingnessComboBox.Text = relValHolder.relativeValue;

            if (string.IsNullOrEmpty(mutProb) == false)
            {
                try
                {
                    brcapro = (int)Math.Round(double.Parse(mutProb));
                    if (brcapro > 0)
                    {
                        BrcaLabel.Text = brcapro.ToString() + "%";
                    }
                    else
                    {
                        BrcaLabel.Text = "";
                    }
                }
                catch { }
            }
            else
            {
                BrcaLabel.Text = "";
            }
            // You might well not know the mother's name (e.g.)
            if (!String.IsNullOrEmpty(name))
            {
                if (name.Contains(" "))
                {
                    string[] tokens = name.Split(' ');
                    if (name.Contains(','))
                        name = tokens[1].Replace(",","");
                    else
                        name = tokens[0];
                }
                //NameLabel.Text = name;
                RelationshipLabel.Text = name;
            }
            else
            {
                RelationshipLabel.Text = relationship;
            }
            RelationshipLabel.Text = RelationshipLabel.Text.Replace(" ", Environment.NewLine);
            int delta = this.Height - RelationshipLabel.Height;
            RelationshipLabel.Location = new Point(RelationshipLabel.Location.X, delta / 2);
        }
开发者ID:mahitosh,项目名称:HRA4,代码行数:59,代码来源:RelativeToConsiderRow.cs

示例4: UpdateBigQueueByMrn

 public static void UpdateBigQueueByMrn(string mrn)
 {
     if (string.IsNullOrEmpty(mrn) == false)
     {
         ParameterCollection pc = new ParameterCollection("unitnum", mrn);
         BCDB2.Instance.RunSPWithParams("sp_3_populateBigQueue", pc);
     }
 }
开发者ID:mahitosh,项目名称:HRA4,代码行数:8,代码来源:QueueData.cs

示例5: BackgroundLoadWork

 /**************************************************************************************************/
 public override void BackgroundLoadWork()
 {
     ParameterCollection pc = new ParameterCollection();
     pc.Add("clinicId", clinicId);
     dt = new DataTable();
     SqlDataReader dr = BCDB2.Instance.ExecuteReaderSPWithParams("sp_3_LoadMyPatientsQueue", pc);
     dt.Load(dr);
 }
开发者ID:mahitosh,项目名称:HRA4,代码行数:9,代码来源:myPatientsQueue.cs

示例6: PatientsByGroup

        public PatientsByGroup(string userLogin, string groupName)
        {
            this.constructor_args = new object[] { };
            this.pc = new ParameterCollection();

            this.userLogin = userLogin;
            this.groupName = groupName;
        }
开发者ID:mahitosh,项目名称:HRA4,代码行数:8,代码来源:PatientsByGroup.cs

示例7: BackgroundPersistWork

 /**************************************************************************************************/
 public override void BackgroundPersistWork(HraModelChangedEventArgs e)
 {
     var pc = new ParameterCollection();
     pc.Add("unitnum", unitnum);
     DoPersistWithSpAndParams(e,
                              "sp_3_Save_PedigreeAnnotations",
                              ref pc);
 }
开发者ID:mahitosh,项目名称:HRA4,代码行数:9,代码来源:PedigreeAnnotations.cs

示例8: BackgroundLoadWork

        /**************************************************************************************************/
        public override void BackgroundLoadWork()
        {
            ParameterCollection pc = new ParameterCollection("unitnum", theProband.unitnum);
            pc.Add("apptid", theProband.apptid);
            DoLoadWithSpAndParams("sp_3_LoadProcHx", pc);

            breastBx.BackgroundLoadWork();
            base.BackgroundLoadWork();
        }
开发者ID:mahitosh,项目名称:HRA4,代码行数:10,代码来源:ProcedureHx.cs

示例9: BackgroundPersistWork

 /**************************************************************************************************/
 public override void BackgroundPersistWork(HraModelChangedEventArgs e)
 {
     ParameterCollection pc = new ParameterCollection();
     pc.Add("unitnum", theProband.unitnum);
     pc.Add("apptid", theProband.apptid);
     DoPersistWithSpAndParams(e,
                               "sp_3_Save_ProcHx",
                               ref pc);
 }
开发者ID:mahitosh,项目名称:HRA4,代码行数:10,代码来源:ProcedureHx.cs

示例10: BackgroundPersistWork

 /**************************************************************************************************/
 public override void BackgroundPersistWork(HraModelChangedEventArgs e)
 {
     ParameterCollection pc = new ParameterCollection();
     pc.Add("unitnum", owner.person.owningFHx.proband.unitnum);
     pc.Add("relativeID", owner.person.relativeID);
     pc.Add("apptid", owner.person.owningFHx.proband.apptid);
     DoPersistWithSpAndParams(e,
                               "sp_3_Save_Nation",
                               ref pc);
 }
开发者ID:mahitosh,项目名称:HRA4,代码行数:11,代码来源:Nationality.cs

示例11: BackgroundPersistWork

        /*******************************************************************************/
        public override void BackgroundPersistWork(HraModelChangedEventArgs e)
        {
            ParameterCollection pc = new ParameterCollection();
            pc.Add("paragraphID", paragraphID);
            pc.Add("providerID", providerID);

            DoPersistWithSpAndParams(e,
                                     "sp_3_Save_ProviderParagraph",
                                     ref pc);
        }
开发者ID:mahitosh,项目名称:HRA4,代码行数:11,代码来源:ProviderParagraph.cs

示例12: BackgroundLoadWork

        /**************************************************************************************************/
        public override void BackgroundLoadWork()
        {
            ParameterCollection pc = new ParameterCollection();
            pc.Add("clinicId", clinicId);
            pc.Add("when", date);

            //pc.Add("groupName", groupName);
            //pc.Add("userLogin", SessionManager.Instance.ActiveUser.userLogin);

            DoLoadWithSpAndParams("sp_3_GetMyPatientCounts", pc);
        }
开发者ID:mahitosh,项目名称:HRA4,代码行数:12,代码来源:MyPatients.cs

示例13: backgroundWorker1_DoWork

        private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
        {
            LegacyCoreAPI.StartWorkingWithAppointment(apptid, "");

            ParameterCollection pc = new ParameterCollection();
            pc.Add("application", "RiskApps3");
            pc.Add("userLogin", SessionManager.Instance.ActiveUser.userLogin);
            pc.Add("machineName", System.Environment.MachineName);
            pc.Add("message", "Accessed appointment");
            pc.Add("apptID", apptid);

            BCDB2.Instance.RunSPWithParams("sp_3_AuditUserActivity", pc);
        }
开发者ID:mahitosh,项目名称:HRA4,代码行数:13,代码来源:MarkStartedAndPullForwardForm.cs

示例14: BackgroundLoadWork

 /**************************************************************************************************/
 public override void BackgroundLoadWork()
 {
     ParameterCollection pc = new ParameterCollection();
     pc.Add("clinicId", clinicId);
     pc.Add("startTime", startTime);
     pc.Add("endTime", endTime);
     pc.Add("type", type);
     pc.Add("output", output);
     DoLoadWithSpAndParams("sp_3_LoadBreastImagingDashboardElement", pc);
     pc.Clear();
     pc.Add("type", type);
     DoLoadWithSpAndParams("sp_3_LoadFilterDescription", pc);
 }
开发者ID:mahitosh,项目名称:HRA4,代码行数:14,代码来源:BreastImagingModelElement.cs

示例15: PersistFullObject

        //a customized persistence method for TcRiskByAge items
        public void PersistFullObject(HraModelChangedEventArgs e, string unitnum, int apptid, string version, DateTime? BMRS_EffectiveTime, Int64? BMRS_RequestId)
        {
            ParameterCollection pc = new ParameterCollection();
            pc.Add("unitnum", unitnum);
            pc.Add("apptid", apptid);
            pc.Add("version", version);
            pc.Add("BMRS_EffectiveTime", BMRS_EffectiveTime);
            pc.Add("BMRS_RequestId", BMRS_RequestId);

            DoPersistWithSpAndParams(e,
                                        "sp_3_Save_TcRiskByAge",
                                        ref pc);
        }
开发者ID:mahitosh,项目名称:HRA4,代码行数:14,代码来源:TyrerCuzick.cs


注:本文中的RiskApps3.Utilities.ParameterCollection类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。