public List <Base.SystemLog.QueryLogRecord> GetQueryLog(DateTime _startDate, DateTime _endDate, string _userName) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.GetQueryLog(_startDate, _endDate, _userName)); } catch (Exception ex) { string _error = string.Format("取查询日志信息[UserName={1}]时发生错误!{0}", ex.Message, _userName); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(new List <QueryLogRecord>()); } }
public List <Base.WorkCalendar.WC_DataInfo> GetDataInfo(int Year) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.GetDataInfo(Year)); } catch (Exception ex) { string _error = string.Format("取工作日历记录[YEAR={1} ]时发生错误!{0}", ex.Message, Year); ///SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(new List <WC_DataInfo>()); } }
public List <Base.UserLog.UserLogRecord> GetUserLog(DateTime StartDate, DateTime EndDate, string UserName, string Context) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.GetUserLog(StartDate, EndDate, UserName, Context)); } catch (Exception ex) { string _error = string.Format("取用户操作日志时[UserName={1} Context={2}]时发生错误!{0}", ex.Message, UserName, Context); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(new List <Base.UserLog.UserLogRecord>()); } }
public string ResetTaskParam(string TaskID, DateTime NextTime, string NewParam) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.ResetTaskParam(TaskID, NextTime, NewParam)); } catch (Exception ex) { string _error = string.Format("重置任务参数[TaskID={1}]时发生错误!{0}", ex.Message, TaskID); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(null); } }
public bool SaveGDSDefine(GDSCommanderDefine GDSDefine) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.SaveGDSDefine(GDSDefine)); } catch (Exception ex) { string _error = string.Format("保存通用接口定义信息时发生错误!{0}", ex.Message); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(false); } }
public System.Data.DataTable GetTaskLog(string TaskID, DateTime LastTime, bool GetStartData, bool OnlyErrorData) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.GetTaskLog(TaskID, LastTime, GetStartData, OnlyErrorData)); } catch (Exception ex) { string _error = string.Format("取任务处理日志[TaskID={1}]时发生错误!{0}", ex.Message, TaskID); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(null); } }
public List <Base.OrganizeExt.OrgExtInfo> GetOrgExtChildData(string _fid, List <Base.OrganizeExt.OrgExtFieldDefine> PropertieDefines) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.GetOrgExtChildData(_fid, PropertieDefines)); } catch (Exception ex) { string _error = string.Format("取扩展组织机构子数据信息时发生错误!{0}", ex.Message); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(new List <Base.OrganizeExt.OrgExtInfo>()); } }
public bool SaveDataInfo(WC_DataInfo DataInfo) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.SaveDataInfo(DataInfo)); } catch (Exception ex) { string _error = string.Format("保存工作日历的日期设置时发生错误!{0}", ex.Message); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(false); } }
public bool SaveNotifyInfo(Base.Notify.NotifyInfo _info) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.SaveNotifyInfo(_info)); } catch (Exception ex) { string _error = string.Format("保存提示信息时发生错误!{0}", ex.Message); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(false); } }
public bool DeleteNotifyInfo(Base.Notify.NotifyInfo CurrentInfo) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.DeleteNotifyInfo(CurrentInfo)); } catch (Exception ex) { string _error = string.Format("删除提示信息[NotifyInfoID={1}]时发生错误!{0}", ex.Message, CurrentInfo.ID); ///SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(false); } }
public Base.Notify.NotifyInfo GetNotifyInfo(string _msgid) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.GetNotifyInfo(_msgid)); } catch (Exception ex) { string _error = string.Format("取提示信息[MsgID={1}]时发生错误!{0}", ex.Message, _msgid); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(null); } }
public System.Data.DataTable GetNotifyList(int _num) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.GetNotifyList(_num)); } catch (Exception ex) { string _error = string.Format("取提示列表时发生错误!{0}", ex.Message); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(null); } }
public List <Base.SystemLog.SystemLogRecord> GetSystemLog(DateTime StartDate, DateTime EndDate, string LogType, string Context) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.GetSystemLog(StartDate, EndDate, LogType, Context)); } catch (Exception ex) { string _error = string.Format("取系统运行日志时时发生错误!{0}", ex.Message); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(new List <SystemLogRecord>()); } }
public WC_TJSB_Settings GetTJSBSettings() { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.GetTJSBSettings()); } catch (Exception ex) { string _error = string.Format("取统计上报日默认日期时发生错误!{0}", ex.Message); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(null); } }
public bool SaveOrgExtList(List <Base.OrganizeExt.OrgExtInfo> BeSavedDataList, List <Base.OrganizeExt.OrgExtFieldDefine> PropertieDefines) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.SaveOrgExtList(BeSavedDataList, PropertieDefines)); } catch (Exception ex) { string _error = string.Format("保存扩展组织机构信息时发生错误!{0}", ex.Message); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(false); } }
public bool SaveTJSBSettings(WC_TJSB_Settings Settings) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.SaveTJSBSettings(Settings)); } catch (Exception ex) { string _error = string.Format("保存统计上报日默认日期时发生错误!{0}", ex.Message); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(false); } }
public Base.TaskInfo.SinoTaskInfo GetTaskInfo(string TaskID) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.GetTaskInfo(TaskID)); } catch (Exception ex) { string _error = string.Format("取任务信息[TaskID={1}]时发生错误!{0}", ex.Message, TaskID); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(null); } }
public List <GDSCommanderDefine> GetGDSList() { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.GetGDSList()); } catch (Exception ex) { string _error = string.Format("取通用接口定义列表信息时发生错误!{0}", ex.Message); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(null); } }
public string SetTaskState(string TaskID, int NewState, int LimitState) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.SetTaskState(TaskID, NewState, LimitState)); } catch (Exception ex) { string _error = string.Format("设置任务状态[TaskID={1}]时发生错误!{0}", ex.Message, TaskID); ///SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(""); } }
public DataTable GetICSLogRecord(string CommandName, decimal RowCount) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.GetICSLogRecord(CommandName, RowCount)); } catch (Exception ex) { string _error = string.Format("取通用接口日志信息时发生错误!{0}", ex.Message); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(null); } }
public bool DelICSTokenRecord(string RecordID) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.DelICSTokenRecord(RecordID)); } catch (Exception ex) { string _error = string.Format("删除通用接口令牌信息时发生错误!{0}", ex.Message); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(false); } }
public bool WriteUserLog(decimal YHID, string CZLX, string CXNR, decimal ResultType, string IpAddr, string HostName, string SystemID) { try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); return(_of.WriteUserLog(YHID, CZLX, CXNR, ResultType, IpAddr, HostName, SystemID)); } catch (Exception ex) { string _error = string.Format("写入用户操作日志时时发生错误!{0}", ex.Message); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); return(false); } }
public List <GDSTokenRecord> GetTokenRecord(string GDSCommandName) { List <GDSTokenRecord> _ret = new List <GDSTokenRecord>(); try { OraSysManagerFactroy _of = new OraSysManagerFactroy(); _ret = _of.GetTokenRecord(GDSCommandName); } catch (Exception ex) { string _error = string.Format("取通用接口的令牌信息时发生错误!{0}", ex.Message); //SystemLogWriter.WriteLog(_error, System.Diagnostics.EventLogEntryType.Error); } return(_ret); }