Beispiel #1
0
 static ExlcHeadStr()
 {
     MGAF = new List <string>
     {
         "Course Code", "Course Title"
     };
     foreach (var item in Cost_Centre.GetAll())
     {
         MGAF.Add(item.Value);
     }
     foreach (var item in Position.GetMGAFAll())
     {
         MGAF.Add(item.Value);
         MGAF.Add(item.Value + " classes");
     }
     ITGY = new List <string>();
     foreach (var item in Position.GetITGYAll())
     {
         ITGY.Add(item.Value);
         ITGY.Add(item.Value + " classes");
     }
     ITGY.Add("Course Code");
     ITGY.Add("Course Title");
 }
Beispiel #2
0
 static Cost_Centre()
 {
     UNITA = new Cost_Centre {
         Name = "UNITA", Value = "UNITA"
     };
     HQ = new Cost_Centre {
         Name = "HQ", Value = "HQ"
     };
     UNITB = new Cost_Centre {
         Name = "UNITB", Value = "UNITB"
     };
     UNITC = new Cost_Centre {
         Name = "UNITC", Value = "UNITC"
     };
     ITGY = new Cost_Centre {
         Name = "ITGY", Value = "ITGY"
     };
     MSAF = new Cost_Centre {
         Name = "MSAF", Value = "MSAF"
     };
     SMG = new Cost_Centre {
         Name = "SMG", Value = "SMG"
     };
 }