Exemple #1
0
        private void SaveRISConfig()
        {
            RISConfigService.SetExamLockValidTimeSpan(this.OperateUserCode, this.ExamLockValidTimeSpan);
            RISConfigService.SetFromPrintedToRejectedValidTimeSpan(this.OperateUserCode, this.FromPrintedToRejectedValidTimeSpan);

            RISConfigService.SetOnDutyTimeBegin(this.OperateUserCode, this.OnDutyTimeBegin);
            RISConfigService.SetOnDutyTimeEnd(this.OperateUserCode, this.OnDutyTimeEnd);
            RISConfigService.SetOnDutyReviewUserCode(this.OperateUserCode, this.OnDutyReviewUserCode);

            RISConfigService.SetPACSGatewayImplement(this.OperateUserCode, this.PACSGatewayImplement);
            RISConfigService.SetHISGatewayImplement(this.OperateUserCode, this.HISGatewayImplement);
            RISConfigService.SetPatientIDGeneratorImplement(this.OperateUserCode, this.PatientIDGeneratorImplement);
            RISConfigService.SetAccessionNOGeneratorImplement(this.OperateUserCode, this.AccessionNOGeneratorImplement);
            RISConfigService.SetDataPrinterImplement(this.OperateUserCode, this.DataPrinterImplement);

            PACSGatewayConfig.Instance.PACSGatewayUrl = this.PACSGatewayUrl;
        }
Exemple #2
0
 //保存
 private void SaveSimpleMode()
 {
     RISConfigService.SetIsSimpleMode(this.OperateUserCode, this.SimpleModeKey, this.SimpleModeValue);
 }
Exemple #3
0
 private void DeleteMode(string keyID)
 {
     RISConfigService.DeleteSimpleMode(this.OperateUserCode, keyID);
 }
Exemple #4
0
        protected override void Request(FormRequest e)
        {
            switch (e.Title)
            {
            case RISConfigItemNames.UserList:
            {
                var list = new List <IUser_User_LXUE>(UserService.GetUserList());
                list.Insert(0, new User_User_LXUE()
                    {
                        UserCode = string.Empty, UserName = string.Empty
                    });
                this.Response(e.Title, list);
            }
            break;

            case RISConfigItemNames.SimpleModeValue:
                this.SimpleModeValue = "true".Equals(RISConfigService.GetIsSimpleMode(this.SimpleModeKey));
                this.Response(e.Title, this.SimpleModeValue);
                break;

            case RISConfigItemNames.SimpleModeRecords:
                ReloadModeRecords();
                break;

            case RISConfigItemNames.SelectedPKID:
                this.Response(e.Title, this.GetFieldValue(e.Title));
                break;



            //模式保存
            case RISConfigItemNames.SaveSimpleMode:
                this.SaveSimpleMode();
                ReloadModeRecords();
                break;

            //删除
            case RISConfigItemNames.DeleteSimpleMode:
                this.DeleteMode(this.SelectedPKID);
                ReloadModeRecords();
                this.SimpleModeKey = null;
                break;

            case RISConfigItemNames.ExamLockValidTimeSpan:
                this.ExamLockValidTimeSpan = RISConfigService.GetExamLockValidTimeSpan();
                this.Response(e.Title, this.ExamLockValidTimeSpan);
                break;

            case RISConfigItemNames.FromPrintedToRejectedValidTimeSpan:
                this.FromPrintedToRejectedValidTimeSpan = RISConfigService.GetFromPrintedToRejectedValidTimeSpan();
                this.Response(e.Title, this.FromPrintedToRejectedValidTimeSpan);
                break;

            case RISConfigItemNames.OnDutyTimeBegin:
                this.OnDutyTimeBegin = RISConfigService.GetOnDutyTimeBegin();
                this.Response(e.Title, this.OnDutyTimeBegin);
                break;

            case RISConfigItemNames.OnDutyTimeEnd:
                this.OnDutyTimeEnd = RISConfigService.GetOnDutyTimeEnd();
                this.Response(e.Title, this.OnDutyTimeEnd);
                break;

            case RISConfigItemNames.OnDutyReviewUserCode:
                this.OnDutyReviewUserCode = RISConfigService.GetOnDutyReviewUserCode();
                this.Response(e.Title, this.OnDutyReviewUserCode);
                break;

            case RISConfigItemNames.PACSGatewayImplementList:
                this.Response(e.Title, this.m_PACSGatewayIniCls.OptionItems);
                break;

            case RISConfigItemNames.HISGatewayImplementList:
                this.Response(e.Title, this.m_HISGatewayIniCls.OptionItems);
                break;

            case RISConfigItemNames.PatientIDGeneratorImplementList:
                this.Response(e.Title, this.m_PatientIDGeneratorIniCls.OptionItems);
                break;

            case RISConfigItemNames.AccessionNOGeneratorImplementList:
                this.Response(e.Title, this.m_AccessionNOGeneratorIniCls.OptionItems);
                break;

            case RISConfigItemNames.DataPrinterImplementList:
                this.Response(e.Title, this.m_DataPrinterIniCls.OptionItems);
                break;

            case RISConfigItemNames.PACSGatewayImplement:
                this.PACSGatewayImplement = RISConfigService.GetPACSGatewayImplement();
                this.Response(e.Title, this.PACSGatewayImplement);
                break;

            case RISConfigItemNames.HISGatewayImplement:
                this.HISGatewayImplement = RISConfigService.GetHISGatewayImplement();
                this.Response(e.Title, this.HISGatewayImplement);
                break;

            case RISConfigItemNames.PatientIDGeneratorImplement:
                this.PatientIDGeneratorImplement = RISConfigService.GetPatientIDGeneratorImplement();
                this.Response(e.Title, this.PatientIDGeneratorImplement);
                break;

            case RISConfigItemNames.AccessionNOGeneratorImplement:
                this.AccessionNOGeneratorImplement = RISConfigService.GetAccessionNOGeneratorImplement();
                this.Response(e.Title, this.AccessionNOGeneratorImplement);
                break;

            case RISConfigItemNames.DataPrinterImplement:
                this.DataPrinterImplement = RISConfigService.GetDataPrinterImplement();
                this.Response(e.Title, this.DataPrinterImplement);
                break;

            case RISConfigItemNames.PACSGatewayUrl:
                this.PACSGatewayUrl = PACSGatewayConfig.Instance.PACSGatewayUrl;
                this.Response(e.Title, this.PACSGatewayUrl);
                break;

            case RISConfigItemNames.SaveRISConfig:
                this.SaveRISConfig();
                break;

            case RISConfigItemNames.AETitleListByWorkStation:
                this.Response(e.Title, DeviceInfoService.GetDeviceInfoList(DeviceType.WorkStation));
                break;

            case RISConfigItemNames.AETitleByWorkStation:
                this.AETitleByWorkStation = DcmServiceConfig.Instance.StorageSCUAETitle;
                this.Response(e.Title, this.AETitleByWorkStation);
                break;

            case RISConfigItemNames.SaveDcmConfig:
                this.SaveDcmConfig();
                break;
            }
        }