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; } }
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; } }
public static string GetDslamOfficeCode(FacilityDataRetrievalArgument args) { return args.GetCopperPlantData().DslamOfficeCode; }
public static string GetDslamClli(FacilityDataRetrievalArgument args) { return args.GetCopperPlantData().DslamClli; }
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; } }
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; } }
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; } }