initial add
This commit is contained in:
115
Fab2ApprovalSystem/Misc/GlobalVars.cs
Normal file
115
Fab2ApprovalSystem/Misc/GlobalVars.cs
Normal file
@ -0,0 +1,115 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace Fab2ApprovalSystem.Misc
|
||||
{
|
||||
public class GlobalVars
|
||||
{
|
||||
|
||||
public int USER_ID;
|
||||
public const string SESSION_USERNAME = "UserName";
|
||||
public const string ApplicationName = "LotDisposition";
|
||||
public const string SESSION_USERID = "UserID";
|
||||
public const string ECN_VIEW_OPTION = "ECN_ViewOption";
|
||||
public const string IS_ADMIN = "IsAdmin";
|
||||
public const string OOO = "OOO";
|
||||
public const string SUCCESS = "Success";
|
||||
public const string CAN_CREATE_PARTS_REQUEST = "CanCreatePartsRequest";
|
||||
|
||||
public static bool USER_ISADMIN = false;
|
||||
public static string hostURL = "";
|
||||
public static string DBConnection = "TEST";
|
||||
|
||||
public static string AttachmentUrl = "";
|
||||
public static string NDriveURL = "";
|
||||
public static string WSR_URL = "";
|
||||
public static string CA_BlankFormsLocation = "";
|
||||
public static string MesaTemplateFiles = "D:\\WebSites\\FabApprovalAttachments\\Template5Why";
|
||||
|
||||
//public static string DevWebSiteUrl = "";
|
||||
//public static string ProdWebSiteUrl = "";
|
||||
|
||||
//public static string DevAttachmentUrl = "";
|
||||
//public static string ProdAttachmentUrl = "";
|
||||
|
||||
|
||||
public static string LOT_NO = "LotNo";
|
||||
public static string LOCATION = "Location";
|
||||
public static string SENDER_EMAIL = "MesaFabApproval@infineon.com";
|
||||
|
||||
|
||||
//public static List<UserProfileDTO> UserProfileDTO { get; set; }
|
||||
public enum LotStatusOption
|
||||
{
|
||||
Release = 1,
|
||||
Scrap,
|
||||
NotAvailable,
|
||||
M_Suffix,
|
||||
Select_Wafers,
|
||||
CloseToQDB,
|
||||
SplitOffHold
|
||||
|
||||
}
|
||||
|
||||
|
||||
public enum ApprovalOption
|
||||
{
|
||||
Pending = 0,
|
||||
Approved = 1,
|
||||
Denied = 2,
|
||||
Waiting = 3, //waiting on other approver to approve first
|
||||
Skipped = 4, //set to this state if the original approval is no longer needed.
|
||||
ReAssigned = 5, //set to this state if current approver got reassigned
|
||||
Terminated = 6, //future use
|
||||
Closed = 7,
|
||||
Recalled = 8
|
||||
|
||||
}
|
||||
|
||||
public enum WorkFLowStepNumber
|
||||
{
|
||||
Step1 = 1,
|
||||
Step2,
|
||||
Step3
|
||||
}
|
||||
|
||||
public enum DocumentType
|
||||
{
|
||||
LotDisposition = 1,
|
||||
MRB=2,
|
||||
ECN=3,
|
||||
EECN = 4,
|
||||
TECNCancelledExpired = 5,
|
||||
LotTraveler = 6,
|
||||
ChangeControl = 7,
|
||||
Audit = 8,
|
||||
CorrectiveAction = 9,
|
||||
PartsRequest = 10,
|
||||
CorrectiveActionSection = 12
|
||||
}
|
||||
|
||||
public enum TECNExpirationCancellation
|
||||
{
|
||||
Cancellation = 1,
|
||||
Expiration = 2
|
||||
}
|
||||
|
||||
public enum Colors { None = 0, Red = 1, Green = 2, Blue = 4 };
|
||||
|
||||
|
||||
public enum NotificationType
|
||||
{
|
||||
WorkRequest = 1,
|
||||
LotTraveler = 2
|
||||
}
|
||||
|
||||
public enum CASection
|
||||
{
|
||||
D1, D2, D3, D4, D5,D6, D7, D8, CF
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user