예제 #1
0
 public ErrorLog(int InstID, TUFMANInstallation.ApplicationList AppID, ActionLog.ActionTypes ActionTypeID, string GearCode, string ErrorInfo, string ErrorMSG)
 {
     _InstallationID = InstID;
     _ApplicationID  = AppID;
     _ActionTypeID   = ActionTypeID;
     _GearCode       = GearCode;
     _ErrorTime      = System.DateTime.Now;
     _ErrorInfo      = ErrorInfo;
     _ErrorMessage   = ErrorMSG;
 }
예제 #2
0
 public ActionLog(int InstID, TUFMANInstallation.ApplicationList AppID, ActionLog.ActionTypes ActionTypeID, string GearCode, int ActionResult, string ActionMSG, Boolean HadError)
 {
     _InstallationID = InstID;
     _ApplicationID  = AppID;
     _ActionTypeID   = ActionTypeID;
     _GearCode       = GearCode;
     _ActionTime     = System.DateTime.Now;
     _ActionResult   = ActionResult;
     _ActionMessage  = ActionMSG;
     _HadError       = HadError;
 }
예제 #3
0
        public void Assign(DAL.IStatusDB statusDB, TextLog textlog, bool useMessage, int installID, TUFMANInstallation.ApplicationList appID)
        {
            if (localStatusDB != null)
            {
                localStatusDB = null;
            }

            if (textLog != null)
            {
                textLog = null;
            }

            localStatusDB  = statusDB;
            useMessageBox  = useMessage;
            installationID = installID;
            applicationID  = appID;
            textLog        = textlog;
        }