Exemplo n.º 1
0
 public static string GetCustomerPremiseMaxDataSpeed(FacilityDataRetrievalArgument args)
 {
     switch (args.GetFacilityType())
     {
         case FacilityType.CopperFacility: return args.GetCopperPlantData().MaxAttainableSpeed;
         case FacilityType.FiberFacility: return args.GetFiberPlantData().MaxAttainableSpeed;
         default: return string.Empty;
     }
 }
Exemplo n.º 2
0
 public static string GetGwrClli(FacilityDataRetrievalArgument args)
 {
     switch (args.GetFacilityType())
     {
         case FacilityType.CopperFacility: return GetUnderscoreSeparatedValueByIndex(args.GetCopperPlantData().ServiceRouterClli, 0);
         case FacilityType.FiberFacility: return GetUnderscoreSeparatedValueByIndex(args.GetFiberPlantData().ServiceRouterClli, 0);
         default: return string.Empty;
     }
 }
Exemplo n.º 3
0
 public static string GetDslamOfficeCode(FacilityDataRetrievalArgument args)
 {
     return args.GetCopperPlantData().DslamOfficeCode;
 }
Exemplo n.º 4
0
 public static string GetDslamClli(FacilityDataRetrievalArgument args)
 {
     return args.GetCopperPlantData().DslamClli;
 }
Exemplo n.º 5
0
 public static string GetSwitchType(FacilityDataRetrievalArgument args)
 {
     switch (args.GetFacilityType())
     {
         case FacilityType.CopperFacility: return args.GetCopperPlantData().SwitchType;
         case FacilityType.FiberFacility: return args.GetFiberPlantData().SwitchType;
         default: return string.Empty;
     }
 }
Exemplo n.º 6
0
 public static string GetSwitchOfficeCode(FacilityDataRetrievalArgument args)
 {
     switch (args.GetFacilityType())
     {
         case FacilityType.CopperFacility: return args.GetCopperPlantData().SwitchOfficeCode;
         case FacilityType.FiberFacility: return GetUnderscoreSeparatedValueByIndex(args.GetFiberPlantData().CentralOfficeCode, 0);
         default: return string.Empty;
     }
 }
Exemplo n.º 7
0
 public static string GetGwrIpAddress(FacilityDataRetrievalArgument args)
 {
     switch (args.GetFacilityType())
     {
         case FacilityType.CopperFacility: return args.GetCopperPlantData().ServiceRouterIpAddress;
         case FacilityType.FiberFacility: return args.GetFiberPlantData().ServiceRouterIpAddress;
         default: return string.Empty;
     }
 }