private static List<EquipmentDto> RgTestData_OtherRgList(CustomFieldCollectionDto customFieldsDto, string expectedLocationId) { var rgType = new EquipmentTypeDto { ONTModel = new ONTModelDto { BaseModel = "Pace RG" }, Category = EquipmentCategoryDto.RGDataPort }; // other RGs on the account var otherRgs = new List<EquipmentDto> { new EquipmentDto { SerialNumber = "RGCREATE1234" + "D01", CustomFields = customFieldsDto.ToList(), UnitAddress = "1234567", LocationId = expectedLocationId, Type = rgType, Status = "IGNORE" }, new EquipmentDto { SerialNumber = "RGCREATE2345" + "D01", CustomFields = customFieldsDto.ToList(), UnitAddress = "1234567", LocationId = expectedLocationId, Type = rgType, Status = "IGNORE" }, new EquipmentDto { SerialNumber = "RGCREATE3456" + "D01", CustomFields = customFieldsDto.ToList(), UnitAddress = "1234567", LocationId = expectedLocationId, Type = rgType, Status = "IGNORE" }, }; return otherRgs; }
private static List<EquipmentDto> RgTestData_MainRg(CustomFieldCollectionDto customFieldsDto, string expectedLocationId) { const string expectedSerialNumber = "RGARRIS1234"; const string expectedUnitAddress = "1234567"; var rgType = new EquipmentTypeDto { ONTModel = new ONTModelDto { BaseModel = "ARRIS RG" }, Category = EquipmentCategoryDto.RGDataPort }; var mainRg = new List<EquipmentDto> { new EquipmentDto { SerialNumber = expectedSerialNumber + "D01", CustomFields = customFieldsDto.ToList(), UnitAddress = "234567", LocationId = expectedLocationId, Type = rgType, Status = "ACTIVE" }, new EquipmentDto { SerialNumber = expectedSerialNumber + "P01", CustomFields = customFieldsDto.ToList(), UnitAddress = expectedUnitAddress, LocationId = expectedLocationId, Type = rgType, Status = "ACTIVE" }, new EquipmentDto { SerialNumber = expectedSerialNumber + "P02", CustomFields = customFieldsDto.ToList(), UnitAddress = "234567", LocationId = expectedLocationId, Type = rgType, Status = "ACTIVE" } }; return mainRg; }