예제 #1
0
        private void frmSetRTBChangeTime_Load(object sender, System.EventArgs e)
        {
            string strRTBChangeTime = "";

            com.digitalwave.PublicMiddleTier.clsPublicMiddleTier objServ =
                (com.digitalwave.PublicMiddleTier.clsPublicMiddleTier)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.PublicMiddleTier.clsPublicMiddleTier));

            objServ.m_lngGetRTBChangeTime("3001", out strRTBChangeTime);
            m_nmudSetTime.Text = strRTBChangeTime;
        }
예제 #2
0
파일: clsEMRLogin.cs 프로젝트: ewin66/HIS
        public void m_mthInit(Form p_frmMDI, com.digitalwave.iCare.ValueObject.clsLoginInfo p_objLoginInfo)
        {
            s_frmMDI       = p_frmMDI;
            m_objLoginInfo = p_objLoginInfo;

            clsLoginContext objLogin = clsLoginContext.s_ObjLoginContext;

            objLogin.m_StrEmployeeID = p_objLoginInfo.m_strEmpNo;
            MDIParent.m_mthClearAll();
            m_objCurDeptOfEmpArr = null;
            new clsForWholeHosInfoManager().m_lngGetDepartmentByUserID(p_objLoginInfo.m_strEmpID, out m_objCurDeptOfEmpArr);

            m_mthGetCurrentHospitalInfo();

            #region 设置全局员工变量,新员工类,该静态类会被外部其他模块调用到,要保证正确赋值 tfzhang 2006-04-07
            iCareData.clsEmrEmployeeBase_VO m_objEmployeeTemp;
            com.digitalwave.emr.BEDExplorer.clsHospitalManagerDomain objsrv = new com.digitalwave.emr.BEDExplorer.clsHospitalManagerDomain();
            long lngRes = objsrv.m_lngGetEmpByID(m_objLoginInfo.m_strEmpID, out m_objEmployeeTemp);
            //未保存状态 用于签名集合
            m_objEmployeeTemp.m_intSTATUS_INT = 0;
            com.digitalwave.emr.BEDExplorer.frmHRPExplorer.objpCurrentEmployee = m_objEmployeeTemp;
            #endregion


            iCare.CustomForm.clsExteriorFunctionInterface.m_ObjUserInfo        = p_objLoginInfo;
            iCare.CustomForm.clsExteriorFunctionInterface.m_ObjCurDeptOfEmpArr = m_objCurDeptOfEmpArr;

            //获取修改时限 小时
            if (clsEMR_StaticObject.s_IntCanModifyTime <= 0)
            {
                com.digitalwave.PublicMiddleTier.clsPublicMiddleTier objPM =
                    (com.digitalwave.PublicMiddleTier.clsPublicMiddleTier)com.digitalwave.iCare.common.clsObjectGenerator.objCreatorObjectByType(typeof(com.digitalwave.PublicMiddleTier.clsPublicMiddleTier));

                objPM.m_lngGetRTBChangeTime("3001", out strCanModifyTime);
            }
            else
            {
                strCanModifyTime = clsEMR_StaticObject.s_IntCanModifyTime.ToString();
            }

            m_strDoctorID = p_objLoginInfo.m_strEmpNo;
        }