diff --git a/AsbCloudDb/Model/AsbCloudDbContext.cs b/AsbCloudDb/Model/AsbCloudDbContext.cs index 0f13dd43..8187a65c 100644 --- a/AsbCloudDb/Model/AsbCloudDbContext.cs +++ b/AsbCloudDb/Model/AsbCloudDbContext.cs @@ -411,46 +411,212 @@ namespace AsbCloudDb.Model modelBuilder.Entity(entity => { entity.HasData(new List { - new WellOperation{ Id = 1, IdWell = 1, IdWellSectionType = 1, - IdCategory = 1018, IdType = 0, - WellDepth = 200, StartDate = DateTime.Now.AddHours(1), + new WellOperation{ Id = 1, IdWell = 1, IdWellSectionType = 1, + IdCategory = 1018, IdType = 0, + WellDepth = 200, StartDate = DateTime.Now.AddHours(1), DurationHours = 1.2}, new WellOperation{ Id = 2, IdWell = 1, IdWellSectionType = 1, - IdCategory = 1018, IdType = 1, - WellDepth = 300, StartDate = DateTime.Now.AddHours(1), - DurationHours = 1}, + IdCategory = 1018, IdType = 0, + WellDepth = 300, StartDate = DateTime.Now.AddHours(2.5), + DurationHours = 1.5}, new WellOperation{ Id = 3, IdWell = 1, IdWellSectionType = 1, - IdCategory = 1071, IdType = 0, - WellDepth = 400, StartDate = DateTime.Now.AddHours(2.5), - DurationHours = 15.2}, + IdCategory = 1018, IdType = 1, + WellDepth = 210, StartDate = DateTime.Now.AddHours(1.5), + DurationHours = 1}, new WellOperation{ Id = 4, IdWell = 1, IdWellSectionType = 1, - IdCategory = 1071, IdType = 1, - WellDepth = 500, StartDate = DateTime.Now.AddHours(3), - DurationHours = 17.2}, + IdCategory = 1018, IdType = 1, + WellDepth = 310, StartDate = DateTime.Now.AddHours(2), + DurationHours = 1.5}, new WellOperation{ Id = 5, IdWell = 1, IdWellSectionType = 2, + IdCategory = 1018, IdType = 0, + WellDepth = 200, StartDate = DateTime.Now.AddHours(1), + DurationHours = 1.2}, + new WellOperation{ Id = 6, IdWell = 1, IdWellSectionType = 2, + IdCategory = 1018, IdType = 0, + WellDepth = 300, StartDate = DateTime.Now.AddHours(2.5), + DurationHours = 1.5}, + new WellOperation{ Id = 7, IdWell = 1, IdWellSectionType = 2, + IdCategory = 1018, IdType = 1, + WellDepth = 210, StartDate = DateTime.Now.AddHours(1.5), + DurationHours = 1}, + new WellOperation{ Id = 8, IdWell = 1, IdWellSectionType = 2, + IdCategory = 1018, IdType = 1, + WellDepth = 310, StartDate = DateTime.Now.AddHours(2), + DurationHours = 1.5}, + new WellOperation{ Id = 9, IdWell = 1, IdWellSectionType = 3, + IdCategory = 1018, IdType = 0, + WellDepth = 500, StartDate = DateTime.Now.AddHours(1), + DurationHours = 1.2}, + new WellOperation{ Id = 10, IdWell = 1, IdWellSectionType = 3, + IdCategory = 1018, IdType = 0, + WellDepth = 510, StartDate = DateTime.Now.AddHours(2), + DurationHours = 1.2}, + new WellOperation{ Id = 11, IdWell = 1, IdWellSectionType = 3, + IdCategory = 1018, IdType = 1, + WellDepth = 510, StartDate = DateTime.Now.AddHours(1.5), + DurationHours = 1}, + new WellOperation{ Id = 12, IdWell = 1, IdWellSectionType = 3, + IdCategory = 1018, IdType = 1, + WellDepth = 520, StartDate = DateTime.Now.AddHours(2), + DurationHours = 1.5}, + + + new WellOperation{ Id = 13, IdWell = 1, IdWellSectionType = 1, + IdCategory = 1071, IdType = 0, + WellDepth = 200, StartDate = DateTime.Now.AddHours(2.5), + DurationHours = 15.5}, + new WellOperation{ Id = 14, IdWell = 1, IdWellSectionType = 1, + IdCategory = 1071, IdType = 0, + WellDepth = 210, StartDate = DateTime.Now.AddHours(3), + DurationHours = 17.2}, + new WellOperation{ Id = 15, IdWell = 1, IdWellSectionType = 1, + IdCategory = 1071, IdType = 1, + WellDepth = 220, StartDate = DateTime.Now.AddHours(2.7), + DurationHours = 15.2}, + new WellOperation{ Id = 16, IdWell = 1, IdWellSectionType = 1, + IdCategory = 1071, IdType = 1, + WellDepth = 230, StartDate = DateTime.Now.AddHours(3.1), + DurationHours = 17.8}, + new WellOperation{ Id = 17, IdWell = 1, IdWellSectionType = 2, + IdCategory = 1071, IdType = 0, + WellDepth = 200, StartDate = DateTime.Now.AddHours(2.5), + DurationHours = 15.5}, + new WellOperation{ Id = 18, IdWell = 1, IdWellSectionType = 2, + IdCategory = 1071, IdType = 0, + WellDepth = 210, StartDate = DateTime.Now.AddHours(3), + DurationHours = 17.2}, + new WellOperation{ Id = 19, IdWell = 1, IdWellSectionType = 2, + IdCategory = 1071, IdType = 1, + WellDepth = 220, StartDate = DateTime.Now.AddHours(2.7), + DurationHours = 15.2}, + new WellOperation{ Id = 20, IdWell = 1, IdWellSectionType = 2, + IdCategory = 1071, IdType = 1, + WellDepth = 230, StartDate = DateTime.Now.AddHours(3.1), + DurationHours = 17.8}, + new WellOperation{ Id = 21, IdWell = 1, IdWellSectionType = 3, + IdCategory = 1071, IdType = 0, + WellDepth = 700, StartDate = DateTime.Now.AddHours(2.5), + DurationHours = 16.2}, + new WellOperation{ Id = 22, IdWell = 1, IdWellSectionType = 3, + IdCategory = 1071, IdType = 0, + WellDepth = 720, StartDate = DateTime.Now.AddHours(3.5), + DurationHours = 17.2}, + new WellOperation{ Id = 23, IdWell = 1, IdWellSectionType = 3, + IdCategory = 1071, IdType = 1, + WellDepth = 715, StartDate = DateTime.Now.AddHours(2.7), + DurationHours = 15.2}, + new WellOperation{ Id = 24, IdWell = 1, IdWellSectionType = 3, + IdCategory = 1071, IdType = 1, + WellDepth = 720, StartDate = DateTime.Now.AddHours(3), + DurationHours = 18.2}, + + + + new WellOperation{ Id = 25, IdWell = 1, IdWellSectionType = 1, IdCategory = 1072, IdType = 0, WellDepth = 600, StartDate = DateTime.Now.AddHours(4), DurationHours = 5}, - new WellOperation{ Id = 6, IdWell = 1, IdWellSectionType = 2, - IdCategory = 1072, IdType = 1, - WellDepth = 700, StartDate = DateTime.Now.AddHours(4.3), - DurationHours = 7}, - new WellOperation{ Id = 7, IdWell = 1, IdWellSectionType = 2, - IdCategory = 1074, IdType = 0, - WellDepth = 800, StartDate = DateTime.Now.AddHours(5), - DurationHours = 12}, - new WellOperation{ Id = 8, IdWell = 1, IdWellSectionType = 2, - IdCategory = 1074, IdType = 1, - WellDepth = 900, StartDate = DateTime.Now.AddHours(4.5), - DurationHours = 12}, - new WellOperation{ Id = 9, IdWell = 1, IdWellSectionType = 3, + new WellOperation{ Id = 26, IdWell = 1, IdWellSectionType = 1, IdCategory = 1072, IdType = 0, - WellDepth = 950, StartDate = DateTime.Now.AddHours(5), - DurationHours = 2}, - new WellOperation{ Id = 10, IdWell = 1, IdWellSectionType = 3, + WellDepth = 650, StartDate = DateTime.Now.AddHours(4.5), + DurationHours = 5.5}, + new WellOperation{ Id = 27, IdWell = 1, IdWellSectionType = 1, IdCategory = 1072, IdType = 1, - WellDepth = 900, StartDate = DateTime.Now.AddHours(5), - DurationHours = 2.5} + WellDepth = 700, StartDate = DateTime.Now.AddHours(5.5), + DurationHours = 8}, + new WellOperation{ Id = 28, IdWell = 1, IdWellSectionType = 1, + IdCategory = 1072, IdType = 1, + WellDepth = 710, StartDate = DateTime.Now.AddHours(5.7), + DurationHours = 7.2}, + new WellOperation{ Id = 29, IdWell = 1, IdWellSectionType = 2, + IdCategory = 1072, IdType = 0, + WellDepth = 600, StartDate = DateTime.Now.AddHours(4), + DurationHours = 5}, + new WellOperation{ Id = 30, IdWell = 1, IdWellSectionType = 2, + IdCategory = 1072, IdType = 0, + WellDepth = 650, StartDate = DateTime.Now.AddHours(4.5), + DurationHours = 5.5}, + new WellOperation{ Id = 31, IdWell = 1, IdWellSectionType = 2, + IdCategory = 1072, IdType = 1, + WellDepth = 700, StartDate = DateTime.Now.AddHours(5.5), + DurationHours = 8}, + new WellOperation{ Id = 32, IdWell = 1, IdWellSectionType = 2, + IdCategory = 1072, IdType = 1, + WellDepth = 710, StartDate = DateTime.Now.AddHours(5.7), + DurationHours = 7.2}, + new WellOperation{ Id = 33, IdWell = 1, IdWellSectionType = 3, + IdCategory = 1072, IdType = 0, + WellDepth = 1000, StartDate = DateTime.Now.AddHours(5.25), + DurationHours = 2.1}, + new WellOperation{ Id = 34, IdWell = 1, IdWellSectionType = 3, + IdCategory = 1072, IdType = 0, + WellDepth = 1100, StartDate = DateTime.Now.AddHours(7.5), + DurationHours = 2}, + new WellOperation{ Id = 35, IdWell = 1, IdWellSectionType = 3, + IdCategory = 1072, IdType = 1, + WellDepth = 1000, StartDate = DateTime.Now.AddHours(5.15), + DurationHours = 2.75}, + new WellOperation{ Id = 36, IdWell = 1, IdWellSectionType = 3, + IdCategory = 1072, IdType = 1, + WellDepth = 1250, StartDate = DateTime.Now.AddHours(6.5), + DurationHours = 3.5}, + + + + + new WellOperation{ Id = 37, IdWell = 1, IdWellSectionType = 1, + IdCategory = 1074, IdType = 0, + WellDepth = 600, StartDate = DateTime.Now.AddHours(4), + DurationHours = 5}, + new WellOperation{ Id = 38, IdWell = 1, IdWellSectionType = 1, + IdCategory = 1074, IdType = 0, + WellDepth = 650, StartDate = DateTime.Now.AddHours(4.2), + DurationHours = 5.5}, + new WellOperation{ Id = 39, IdWell = 1, IdWellSectionType = 1, + IdCategory = 1074, IdType = 1, + WellDepth = 700, StartDate = DateTime.Now.AddHours(5.5), + DurationHours = 7}, + new WellOperation{ Id = 40, IdWell = 1, IdWellSectionType = 1, + IdCategory = 1074, IdType = 1, + WellDepth = 710, StartDate = DateTime.Now.AddHours(5.7), + DurationHours = 7.5}, + new WellOperation{ Id = 41, IdWell = 1, IdWellSectionType = 2, + IdCategory = 1074, IdType = 0, + WellDepth = 600, StartDate = DateTime.Now.AddHours(4), + DurationHours = 5}, + new WellOperation{ Id = 42, IdWell = 1, IdWellSectionType = 2, + IdCategory = 1074, IdType = 0, + WellDepth = 650, StartDate = DateTime.Now.AddHours(4.2), + DurationHours = 5.5}, + new WellOperation{ Id = 43, IdWell = 1, IdWellSectionType = 2, + IdCategory = 1074, IdType = 1, + WellDepth = 700, StartDate = DateTime.Now.AddHours(5.5), + DurationHours = 7}, + new WellOperation{ Id = 44, IdWell = 1, IdWellSectionType = 2, + IdCategory = 1074, IdType = 1, + WellDepth = 710, StartDate = DateTime.Now.AddHours(5.7), + DurationHours = 7.5}, + new WellOperation{ Id = 48, IdWell = 1, IdWellSectionType = 2, + IdCategory = 1074, IdType = 0, + WellDepth = 910, StartDate = DateTime.Now.AddHours(5), + DurationHours = 12}, + new WellOperation{ Id = 49, IdWell = 1, IdWellSectionType = 3, + IdCategory = 1074, IdType = 0, + WellDepth = 910, StartDate = DateTime.Now.AddHours(5), + DurationHours = 2}, + new WellOperation{ Id = 50, IdWell = 1, IdWellSectionType = 3, + IdCategory = 1074, IdType = 0, + WellDepth = 950, StartDate = DateTime.Now.AddHours(7.5), + DurationHours = 2}, + new WellOperation{ Id = 51, IdWell = 1, IdWellSectionType = 3, + IdCategory = 1074, IdType = 1, + WellDepth = 980, StartDate = DateTime.Now.AddHours(5), + DurationHours = 2.5}, + new WellOperation{ Id = 52, IdWell = 1, IdWellSectionType = 3, + IdCategory = 1074, IdType = 1, + WellDepth = 1010, StartDate = DateTime.Now.AddHours(6.5), + DurationHours = 2.5}, + }); });