namespace CCSTrace.CCS { public class LocalVariable { public static int EventInitial = 1000;// Create new event public static int EventProcess = 1001;// Trace and process event in CCS WebService public const int WaitForDespatch = 1002; // create DesRec public static int EventDespatched = 1003; public const int WaitForSponsor = 1005; // create SponRec public static int WaitForRepair = 1006; // create RepairRec public static int EventFinsh = 1007; // with no RepairRecord public static int EventComplete = 1008; // with RepairRecord public static int EventOver = 1009; // with RepairRecord but not upload public static int EventReturn = 2001; // Return the EventRecord public static int AlarmFailure = 2002; // EventRecord AlarmFailure public static int EventTrasnfer = 2003; // EventRecord Transfer to Process public static int Dept = 31; /* 受理部門 */ public static int CCSEventBrief = 11; /* 事故原因(FOR CCS) */ public static int CCSDept = 12; /* 部門(FOR CCS) */ // 是否颱風案件 public static int isDisaster = 1; public static int NotDisaster = 0; /* Event Type */ public static int NotImportCase = 0; public static int isImportCase = 1; /* Level Type */ public static int No_Level = 0; public static int A_Level = 1; public static int B_Level = 2; public static int C_Level = 3; /* Recall Type */ public static int NotReCall = 0; public static int isReCall = 1; /* Trace_Finish */ public static int Trace_Still = 0; public static int Trace_Finish = 1; /* CaseType */ public const int OriginalCase = 0; public const int ParentCase = 1; public const int ChildCase = 2; /* Equipment */ public const int Breaker = 108; public const int Jumper = 109; public const int Switch = 114; public const int Sxfmr = 115; public const int Hicustomer = 107; /* Tracer Return Status */ public const int Trace_Failure = 0; public const int Success = 1; public const int Failure_By_DB = 2; public const int No_Sxfmr = 3; public const int CaseTypeChanged = 4; public const int CaseTransfer = 5; public const int FDRLocked = 6; public const int Trace_Counts_3 = 7; /* Error Message */ public const int SameCustomer = 5001; /* 重複來電 */ public const int NoMeter = 5002; /* 找不到電號 */ public const int Debt = 5003; /* 欠費停電 */ public const int NoSupplyElc = 5004; /* 未供電線段 */ /* Alerm */ public static int AlermPort = 3000; //private static string m_OracleThinConn = "jdbc:oracle:thin:"; //private static string m_OracleThinUser = ""; //private static string m_OracleThinPass = ""; //private static string m_strThinConnRegPath = "SOFTWARE\\Origo\\OMS\\Login"; //private static string m_strThinConnRegName = "thin"; //private static string m_strThinConnRegUser = "DBUser"; //private static string m_strThinConnRegPassWord = "DBPassWord"; public static string CCS_ListPath = "c:\\OMS\\BIN\\CCS\\"; public static bool ShowError = false; // Date Converter //public static CCS.Function.TransferDate Convert = new CCS.Function.TransferDate(); } }