Beispiel #1
0
        //生命体征
        private void getVitalSignsCard()
        {
            if (vitalSignsCard == null)
            {
                vitalSignsCard = new VitalSignsCard();
                if (RelativeUIParam.ScreenSize == ScreenSize.Large)
                {
                    vitalSignsCard.Size = new Size(vitalSignsCard.Size.Width, 104);
                }
                FirstCols.AddRender(vitalSignsCard);
            }

            vitalSignsCard.Location = new Point(10, 250);
            if (ent4BannerDto != null)
            {
                VitalSignsDto allergy = this.model.getCiorderPreviewDTOS(ent4BannerDto.Id_ent, ent4BannerDto.Dt_birth);
                FMap2         map     = allergy.Infomap;
                if (allergy != null && map != null && map.Values.Count > 0)
                {
                    //map["Temperature"];
                    vitalSignsCard.TemperatureValue(allergy.Temperature, (Boolean)map["Temperature"], (Boolean)map["Temperature1"]);
                    vitalSignsCard.BreathValue(allergy.Breath, (Boolean)map["Breath"], (Boolean)map["Breath1"]);
                    vitalSignsCard.PulseValue(allergy.Pulse, (Boolean)map["Pulse"], (Boolean)map["Pulse1"]);
                    vitalSignsCard.BPMinValue(allergy.Bpmin, (Boolean)map["Bpmin"], (Boolean)map["Bpmin1"]);
                    vitalSignsCard.BPMaxValue(allergy.Bpmax, (Boolean)map["Bpmax"], (Boolean)map["Bpmax1"]);
                }
            }
        }
Beispiel #2
0
 public override void OnSetData(Dictionary <string, object> datadict)
 {
     if (datadict != null && datadict.Count > 0)
     {
         string id_ent = datadict["id_ent"] as string;
         if (id_ent != null)
         {
             qryService = XapServiceMgr.find <ICiOrdQryService>();
             VitalSignsDto allergy = this.qryService.getCiorderPreviewDTOS(id_ent, "");
             if (allergy != null)
             {
                 this.TemperatureValue(allergy.Temperature, false, false);
                 this.BreathValue(allergy.Breath, false, true);
                 this.PulseValue(allergy.Pulse, true, false);
                 this.BPMinValue(allergy.Bpmin, true, true);
                 this.BPMaxValue(allergy.Bpmax, false, true);
             }
         }
     }
 }