コード例 #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;
     }
 }
コード例 #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;
     }
 }
コード例 #3
0
 public static string GetDslamOfficeCode(FacilityDataRetrievalArgument args)
 {
     return args.GetCopperPlantData().DslamOfficeCode;
 }
コード例 #4
0
 public static string GetDslamClli(FacilityDataRetrievalArgument args)
 {
     return args.GetCopperPlantData().DslamClli;
 }
コード例 #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;
     }
 }
コード例 #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;
     }
 }
コード例 #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;
     }
 }