Ejemplo n.º 1
0
 public static void setSeriesIDForCheck(int iSID)
 {
     if (iSID == 0)
     {
         Globals.logAdapter.Record("EmrDocInfo setSeriesIDForCheck(int iSID)", "EmrDocInfo setSeriesIDForCheck(int iSID)iSeries 检测到错误 iSeries==0#" + EmrDocInfo.strUID, true);
         SendMessageToMonitor.sendMessage("EmrDocInfo setSeriesIDForCheck(int iSID)iSeries 检测到错误 iSeries==0");
     }
 }
Ejemplo n.º 2
0
 public static void checkSeries(int series)
 {
     try
     {
         if (EmrDocInfo.iSeries != series || EmrDocInfo.IsNew != EmrDocInfo.bIsNewForCheck || EmrDocInfo.NoteID != EmrDocInfo.strNoteIDForCheck)
         {
             string strErrorData = "iSeries检测错误EmrDocInfo.iSeries:" + EmrDocInfo.iSeries.ToString() + ",series:" + series.ToString() + ";" +
                                   "EmrDocInfo.NoteID:" + EmrDocInfo.NoteID + ",EmrDocInfo.bIsNewForCheck:" + EmrDocInfo.bIsNewForCheck.ToString() + ";" +
                                   "EmrDocInfo.bIsNew:" + EmrDocInfo.IsNew.ToString() + ",EmrDocInfo.strNoteIDForCheck:" + EmrDocInfo.strNoteIDForCheck.ToString() + "#" + EmrDocInfo.strUID;
             Globals.logAdapter.Record("EmrDocInfo checkSeries(int series)", strErrorData, true);
             SendMessageToMonitor.sendMessage(strErrorData);
         }
     }
     catch (Exception ex) { }
 }
Ejemplo n.º 3
0
 public static void setDBError(string strErrorText)
 {
     try
     {
         if (strErrorText == null)
         {
             return;
         }
         if (strErrorText.Length > 0)
         {
             strErrorText = "setDBError:" + strErrorText + "#" + EmrDocInfo.strUID;
             Globals.logAdapter.Record("setDBError checkSeries(int series)", strErrorText, true);
             SendMessageToMonitor.sendMessage(strErrorText);
         }
     }
     catch (Exception ex) { }
 }