From 8a3ed7d5cf80d166fe05e8bd922fca2c6b1c1b35 Mon Sep 17 00:00:00 2001 From: kamilia Date: Mon, 6 May 2024 21:15:37 +0400 Subject: [PATCH 1/6] =?UTF-8?q?=D0=BB=D0=BE=D0=BB=20=D1=8F=20=D1=81=20?= =?UTF-8?q?=D0=B7=D0=B0=D0=BA=D1=80=D1=8B=D1=82=D1=8B=D0=BC=D0=B8=20=D0=B3?= =?UTF-8?q?=D0=BB=D0=B0=D0=B7=D0=B0=D0=BC=D0=B8=20=D0=B4=D0=B5=D0=BB=D0=B0?= =?UTF-8?q?=D0=BB=D0=B0=205=20=D0=BB=D0=B0=D0=B1=D1=83=20=D0=BF=D0=BE?= =?UTF-8?q?=D1=85=D0=BE=D0=B4=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AircraftPlantView/FormMain.Designer.cs | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/AircraftPlant/AircraftPlantView/FormMain.Designer.cs b/AircraftPlant/AircraftPlantView/FormMain.Designer.cs index a46a3ad..49b5062 100644 --- a/AircraftPlant/AircraftPlantView/FormMain.Designer.cs +++ b/AircraftPlant/AircraftPlantView/FormMain.Designer.cs @@ -42,6 +42,7 @@ списокКомпонентовToolStripMenuItem = new ToolStripMenuItem(); компонентыПоИзделиямToolStripMenuItem = new ToolStripMenuItem(); списокЗаказовToolStripMenuItem = new ToolStripMenuItem(); + клиентыToolStripMenuItem = new ToolStripMenuItem(); ((System.ComponentModel.ISupportInitialize)dataGridView).BeginInit(); menuStrip1.SuspendLayout(); SuspendLayout(); @@ -135,7 +136,7 @@ // // справочникиToolStripMenuItem // - справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, изделияToolStripMenuItem }); + справочникиToolStripMenuItem.DropDownItems.AddRange(new ToolStripItem[] { компонентыToolStripMenuItem, изделияToolStripMenuItem, клиентыToolStripMenuItem }); справочникиToolStripMenuItem.Name = "справочникиToolStripMenuItem"; справочникиToolStripMenuItem.Size = new Size(117, 24); справочникиToolStripMenuItem.Text = "Справочники"; @@ -143,14 +144,14 @@ // компонентыToolStripMenuItem // компонентыToolStripMenuItem.Name = "компонентыToolStripMenuItem"; - компонентыToolStripMenuItem.Size = new Size(182, 26); + компонентыToolStripMenuItem.Size = new Size(224, 26); компонентыToolStripMenuItem.Text = "Компоненты"; компонентыToolStripMenuItem.Click += КомпонентыToolStripMenuItem_Click; // // изделияToolStripMenuItem // изделияToolStripMenuItem.Name = "изделияToolStripMenuItem"; - изделияToolStripMenuItem.Size = new Size(182, 26); + изделияToolStripMenuItem.Size = new Size(224, 26); изделияToolStripMenuItem.Text = "Изделия"; изделияToolStripMenuItem.Click += ИзделияToolStripMenuItem_Click; // @@ -182,6 +183,13 @@ списокЗаказовToolStripMenuItem.Text = "Список заказов"; списокЗаказовToolStripMenuItem.Click += СписокЗаказовToolStripMenuItem_Click; // + // клиентыToolStripMenuItem + // + клиентыToolStripMenuItem.Name = "клиентыToolStripMenuItem"; + клиентыToolStripMenuItem.Size = new Size(224, 26); + клиентыToolStripMenuItem.Text = "Клиенты"; + клиентыToolStripMenuItem.Click += КлиентыToolStripMenuItem_Click; + // // FormMain // AutoScaleDimensions = new SizeF(8F, 20F); @@ -222,5 +230,6 @@ private ToolStripMenuItem списокКомпонентовToolStripMenuItem; private ToolStripMenuItem компонентыПоИзделиямToolStripMenuItem; private ToolStripMenuItem списокЗаказовToolStripMenuItem; + private ToolStripMenuItem клиентыToolStripMenuItem; } } \ No newline at end of file From ab6b3d0d15259308b8f982ba73dc9727385d520a Mon Sep 17 00:00:00 2001 From: kamilia Date: Wed, 8 May 2024 10:38:29 +0400 Subject: [PATCH 2/6] =?UTF-8?q?=D0=BA=D0=B0=D0=B7=D0=BD=D0=B0=D1=87=D0=B5?= =?UTF-8?q?=D0=B5=D0=B2=D0=B0=20=D1=81=D0=B4=D0=B0=D0=BB=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BusinessLogics/OrderLogic.cs | 8 +++++++- .../BusinessLogics/WorkModeling.cs | 7 ++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/AircraftPlant/AircraftPlantBusinessLogic/BusinessLogics/OrderLogic.cs b/AircraftPlant/AircraftPlantBusinessLogic/BusinessLogics/OrderLogic.cs index ab91015..704e5fd 100644 --- a/AircraftPlant/AircraftPlantBusinessLogic/BusinessLogics/OrderLogic.cs +++ b/AircraftPlant/AircraftPlantBusinessLogic/BusinessLogics/OrderLogic.cs @@ -28,6 +28,8 @@ namespace AircraftPlantBusinessLogic.BusinessLogics /// private readonly IOrderStorage _orderStorage; + static readonly object locker = new(); + /// /// Конструктор /// @@ -109,9 +111,13 @@ namespace AircraftPlantBusinessLogic.BusinessLogics /// /// /// + public bool TakeOrderInWork(OrderBindingModel model) { - return StatusUpdate(model, OrderStatus.Выполняется); + lock (locker) + { + return StatusUpdate(model, OrderStatus.Выполняется); + } } /// /// Смена статуса заказа (Выдан) diff --git a/AircraftPlant/AircraftPlantBusinessLogic/BusinessLogics/WorkModeling.cs b/AircraftPlant/AircraftPlantBusinessLogic/BusinessLogics/WorkModeling.cs index bd3b364..21c947c 100644 --- a/AircraftPlant/AircraftPlantBusinessLogic/BusinessLogics/WorkModeling.cs +++ b/AircraftPlant/AircraftPlantBusinessLogic/BusinessLogics/WorkModeling.cs @@ -78,12 +78,15 @@ namespace AircraftPlantBusinessLogic.BusinessLogics } // делаем работу - Thread.Sleep(implementer.WorkExperience * _rnd.Next(100, 1000) * order.Count); + Thread.Sleep(implementer.WorkExperience * _rnd.Next(500, 1000) * order.Count); _logger.LogDebug("DoWork. Worker {Id} finish order {Order}", implementer.Id, order.Id); _orderLogic.DeliveryOrder(new OrderBindingModel { Id = order.Id }); + + // отдыхаем + Thread.Sleep(implementer.Qualification * _rnd.Next(10, 20)); } // кто-то мог уже перехватить заказ, игнорируем ошибку catch (InvalidOperationException ex) @@ -97,8 +100,6 @@ namespace AircraftPlantBusinessLogic.BusinessLogics throw; } - // отдыхаем - Thread.Sleep(implementer.Qualification * _rnd.Next(10, 100)); } }); } From c646b88323f872a92dba56eba9847c3ed89c6dc9 Mon Sep 17 00:00:00 2001 From: kamilia Date: Sun, 19 May 2024 13:35:53 +0400 Subject: [PATCH 3/6] =?UTF-8?q?=D1=88=D0=B0=D0=BC=D0=B0=D0=BD=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BusinessLogics/OrderLogic.cs | 4 ++ .../Implements/OrderStorage.cs | 48 ++----------------- 2 files changed, 8 insertions(+), 44 deletions(-) diff --git a/AircraftPlant/AircraftPlantBusinessLogic/BusinessLogics/OrderLogic.cs b/AircraftPlant/AircraftPlantBusinessLogic/BusinessLogics/OrderLogic.cs index 704e5fd..27e9bbd 100644 --- a/AircraftPlant/AircraftPlantBusinessLogic/BusinessLogics/OrderLogic.cs +++ b/AircraftPlant/AircraftPlantBusinessLogic/BusinessLogics/OrderLogic.cs @@ -190,6 +190,10 @@ namespace AircraftPlantBusinessLogic.BusinessLogics model.Status = newStatus; + if (element.ImplementerId.HasValue) + { + model.ImplementerId = element.ImplementerId; + } if (model.Status == OrderStatus.Готов) { model.DateImplement = DateTime.Now; diff --git a/AircraftPlant/AircraftPlantDatabaseImplement/Implements/OrderStorage.cs b/AircraftPlant/AircraftPlantDatabaseImplement/Implements/OrderStorage.cs index 1a86b27..745c49e 100644 --- a/AircraftPlant/AircraftPlantDatabaseImplement/Implements/OrderStorage.cs +++ b/AircraftPlant/AircraftPlantDatabaseImplement/Implements/OrderStorage.cs @@ -15,14 +15,13 @@ namespace AircraftPlantDatabaseImplement.Implements return context.Orders .Include(x => x.Plane) .Include(x => x.Client) - .Include(x => x.Implementer) .Select(x => x.GetViewModel) .ToList(); } public List GetFilteredList(OrderSearchModel model) { - if (!model.Id.HasValue && !model.ClientId.HasValue && (!model.DateFrom.HasValue || !model.DateTo.HasValue) && model.Status == null) + if (!model.Id.HasValue && !model.ClientId.HasValue && (!model.DateFrom.HasValue || !model.DateTo.HasValue)) { return new(); } @@ -32,29 +31,16 @@ namespace AircraftPlantDatabaseImplement.Implements return context.Orders .Include(x => x.Client) .Include(x => x.Plane) - .Include(x => x.Implementer) .Where(x => x.DateCreate >= model.DateFrom && x.DateCreate <= model.DateTo) .Select(x => x.GetViewModel) .ToList(); } - if (model.Status.HasValue) - { - return context.Orders - .Include(x => x.Plane) - .Include(x => x.Client) - .Include(x => x.Implementer) - .Where(x => x.Status == model.Status) - .Select(x => x.GetViewModel) - .ToList(); - } - if (model.ClientId.HasValue) { return context.Orders .Include(x => x.Plane) .Include(x => x.Client) - .Include(x => x.Implementer) .Where(x => x.ClientId == model.ClientId) .Select(x => x.GetViewModel) .ToList(); @@ -75,37 +61,11 @@ namespace AircraftPlantDatabaseImplement.Implements return null; } using var context = new AircraftPlantDatabase(); - if (model.Id.HasValue) - { - return context.Orders + return context.Orders .Include(x => x.Plane) .Include(x => x.Client) - .Include(x => x.Implementer) - .FirstOrDefault(x => x.Id == model.Id) - ?.GetViewModel; - } - - if (model.ImplementerId.HasValue && model.Status.HasValue) - { - return context.Orders - .Include(x => x.Plane) - .Include(x => x.Client) - .Include(x => x.Implementer) - .FirstOrDefault(x => x.ImplementerId == model.ImplementerId && x.Status == model.Status) - ?.GetViewModel; - } - - if (model.ImplementerId.HasValue) - { - return context.Orders - .Include(x => x.Plane) - .Include(x => x.Client) - .Include(x => x.Implementer) - .FirstOrDefault(x => x.ImplementerId == model.ImplementerId) - ?.GetViewModel; - } - - return null; + .FirstOrDefault(x => (model.Id.HasValue && x.Id == model.Id))? + .GetViewModel; } public OrderViewModel? Insert(OrderBindingModel model) From 74755b7b5d110946ad83bc2a496b542c0b912b1a Mon Sep 17 00:00:00 2001 From: kamilia Date: Sun, 19 May 2024 13:59:53 +0400 Subject: [PATCH 4/6] =?UTF-8?q?=D0=B1=D1=8B=D1=82=D1=8C=20=D1=81=D1=87?= =?UTF-8?q?=D0=B0=D1=81=D1=82=D0=BB=D0=B8=D0=B2=D0=BE=D0=B9=20=D0=BD=D0=B5?= =?UTF-8?q?=20=D0=BF=D0=BE=D0=BB=D1=83=D1=87=D0=B8=D0=BB=D0=BE=D1=81=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AbstractShopListImplement/OrderStorage.cs | 33 +++++++++++++++++-- .../Implements/OrderStorage.cs | 32 +++++++++++++++--- .../OrderStorage.cs | 26 ++++++++++++--- 3 files changed, 80 insertions(+), 11 deletions(-) diff --git a/AircraftPlant/AbstractShopListImplement/OrderStorage.cs b/AircraftPlant/AbstractShopListImplement/OrderStorage.cs index 5f611de..1358529 100644 --- a/AircraftPlant/AbstractShopListImplement/OrderStorage.cs +++ b/AircraftPlant/AbstractShopListImplement/OrderStorage.cs @@ -66,7 +66,7 @@ namespace AircraftPlantListImplement.Implements return result; } - if (model.ClientId.HasValue && !model.Id.HasValue) + else if(model.ClientId.HasValue && !model.Id.HasValue) { foreach (var order in _source.Orders) { @@ -74,6 +74,27 @@ namespace AircraftPlantListImplement.Implements } } + else if (model.ImplementerId.HasValue) + { + foreach (var order in _source.Orders) + { + if (order.ImplementerId == model.ImplementerId) + { + result.Add(GetViewModel(order)); + } + } + } + else if (model.Status != null) + { + foreach (var order in _source.Orders) + { + if (order.Status.Equals(model.Status)) + { + result.Add(GetViewModel(order)); + } + } + } + foreach (var order in _source.Orders) { if (order.Id == model.Id) @@ -90,7 +111,7 @@ namespace AircraftPlantListImplement.Implements /// public OrderViewModel? GetElement(OrderSearchModel model) { - if (!model.Id.HasValue) + if (!model.Id.HasValue && !model.ImplementerId.HasValue) { return null; } @@ -101,6 +122,14 @@ namespace AircraftPlantListImplement.Implements { return GetViewModel(order); } + if (model.ImplementerId.HasValue && model.Status != null && order.ImplementerId == model.ImplementerId && order.Status.Equals(model.Status)) + { + return GetViewModel(order); + } + if (model.ImplementerId.HasValue && model.Status == null && order.ImplementerId == model.ImplementerId) + { + return GetViewModel(order); + } } return null; } diff --git a/AircraftPlant/AircraftPlantDatabaseImplement/Implements/OrderStorage.cs b/AircraftPlant/AircraftPlantDatabaseImplement/Implements/OrderStorage.cs index 745c49e..5431d1b 100644 --- a/AircraftPlant/AircraftPlantDatabaseImplement/Implements/OrderStorage.cs +++ b/AircraftPlant/AircraftPlantDatabaseImplement/Implements/OrderStorage.cs @@ -15,6 +15,7 @@ namespace AircraftPlantDatabaseImplement.Implements return context.Orders .Include(x => x.Plane) .Include(x => x.Client) + .Include(x => x.Implementer) .Select(x => x.GetViewModel) .ToList(); } @@ -31,6 +32,7 @@ namespace AircraftPlantDatabaseImplement.Implements return context.Orders .Include(x => x.Client) .Include(x => x.Plane) + .Include(x => x.Implementer) .Where(x => x.DateCreate >= model.DateFrom && x.DateCreate <= model.DateTo) .Select(x => x.GetViewModel) .ToList(); @@ -41,22 +43,38 @@ namespace AircraftPlantDatabaseImplement.Implements return context.Orders .Include(x => x.Plane) .Include(x => x.Client) + .Include(x => x.Implementer) .Where(x => x.ClientId == model.ClientId) .Select(x => x.GetViewModel) .ToList(); } - return context.Orders + else if (model.ImplementerId.HasValue) + { + return context.Orders .Include(x => x.Plane) .Include(x => x.Client) - .Where(x => x.Id == model.Id) + .Include(x => x.Implementer) + .Where(x => x.ImplementerId == model.ImplementerId) .Select(x => x.GetViewModel) .ToList(); + } + else if (model.Status != null) + { + return context.Orders + .Include(x => x.Plane) + .Include(x => x.Client) + .Include(x => x.Implementer) + .Where(x => x.Status.Equals(model.Status)) + .Select(x => x.GetViewModel) + .ToList(); + } + return new(); } public OrderViewModel? GetElement(OrderSearchModel model) { - if (!model.Id.HasValue) + if (!model.Id.HasValue && !model.ImplementerId.HasValue) { return null; } @@ -64,8 +82,12 @@ namespace AircraftPlantDatabaseImplement.Implements return context.Orders .Include(x => x.Plane) .Include(x => x.Client) - .FirstOrDefault(x => (model.Id.HasValue && x.Id == model.Id))? - .GetViewModel; + .Include(x => x.Implementer) + .FirstOrDefault(x => + model.ImplementerId.HasValue && x.ImplementerId == model.ImplementerId && model.Status != null && x.Status.Equals(model.Status) + || model.Status == null && model.ImplementerId.HasValue && x.ImplementerId == model.ImplementerId + || model.Id.HasValue && x.Id == model.Id) + ?.GetViewModel; } public OrderViewModel? Insert(OrderBindingModel model) diff --git a/AircraftPlant/AircraftPlantFileImplement/OrderStorage.cs b/AircraftPlant/AircraftPlantFileImplement/OrderStorage.cs index f01c83a..b49e040 100644 --- a/AircraftPlant/AircraftPlantFileImplement/OrderStorage.cs +++ b/AircraftPlant/AircraftPlantFileImplement/OrderStorage.cs @@ -28,29 +28,47 @@ namespace AircraftPlantFileImplement.Implements { return new(); } - if (model.DateFrom.HasValue) + else if (model.DateFrom.HasValue) { return _source.Orders .Where(x => x.DateCreate >= model.DateFrom && x.DateCreate <= model.DateTo) .Select(x => GetViewModel(x)) .ToList(); } - if (model.ClientId.HasValue && !model.Id.HasValue) + else if (model.ClientId.HasValue && !model.Id.HasValue) { return _source.Orders .Where(x => x.ClientId == model.ClientId) .Select(x => x.GetViewModel) .ToList(); } + else if (model.ImplementerId.HasValue) + { + return _source.Orders + .Where(x => x.ImplementerId == model.ImplementerId) + .Select(x => x.GetViewModel) + .ToList(); + } + else if (model.Status != null) + { + return _source.Orders + .Where(x => x.Status.Equals(model.Status)) + .Select(x => x.GetViewModel) + .ToList(); + } return _source.Orders.Where(x => x.Id.Equals(model.Id)).Select(x => GetViewModel(x)).ToList(); } public OrderViewModel? GetElement(OrderSearchModel model) { - if (!model.Id.HasValue) + if (!model.Id.HasValue && !model.ImplementerId.HasValue) { return null; } - return GetViewModel(_source.Orders.FirstOrDefault(x => (model.Id.HasValue && x.Id == model.Id))); + var order = _source.Orders.FirstOrDefault(x => + model.ImplementerId.HasValue && x.ImplementerId == model.ImplementerId && model.Status != null && x.Status.Equals(model.Status) + || model.Status == null && model.ImplementerId.HasValue && x.ImplementerId == model.ImplementerId + || model.Id.HasValue && x.Id == model.Id); + return order?.GetViewModel != null ? order.GetViewModel : null; } public OrderViewModel? Insert(OrderBindingModel model) { From 15ccb0dca145031138e85b3a94ae4a9121d087c1 Mon Sep 17 00:00:00 2001 From: kamilia Date: Sun, 19 May 2024 14:24:04 +0400 Subject: [PATCH 5/6] sad --- .../Implements/OrderStorage.cs | 47 +++++++++++++++++-- 1 file changed, 42 insertions(+), 5 deletions(-) diff --git a/AircraftPlant/AircraftPlantDatabaseImplement/Implements/OrderStorage.cs b/AircraftPlant/AircraftPlantDatabaseImplement/Implements/OrderStorage.cs index 745c49e..951dcdb 100644 --- a/AircraftPlant/AircraftPlantDatabaseImplement/Implements/OrderStorage.cs +++ b/AircraftPlant/AircraftPlantDatabaseImplement/Implements/OrderStorage.cs @@ -15,13 +15,14 @@ namespace AircraftPlantDatabaseImplement.Implements return context.Orders .Include(x => x.Plane) .Include(x => x.Client) + .Include(x => x.Implementer) .Select(x => x.GetViewModel) .ToList(); } public List GetFilteredList(OrderSearchModel model) { - if (!model.Id.HasValue && !model.ClientId.HasValue && (!model.DateFrom.HasValue || !model.DateTo.HasValue)) + if (!model.Id.HasValue && !model.ClientId.HasValue && (!model.DateFrom.HasValue || !model.DateTo.HasValue) && model.Status == null) { return new(); } @@ -31,6 +32,7 @@ namespace AircraftPlantDatabaseImplement.Implements return context.Orders .Include(x => x.Client) .Include(x => x.Plane) + .Include(x => x.Implementer) .Where(x => x.DateCreate >= model.DateFrom && x.DateCreate <= model.DateTo) .Select(x => x.GetViewModel) .ToList(); @@ -41,11 +43,21 @@ namespace AircraftPlantDatabaseImplement.Implements return context.Orders .Include(x => x.Plane) .Include(x => x.Client) + .Include(x => x.Implementer) .Where(x => x.ClientId == model.ClientId) .Select(x => x.GetViewModel) .ToList(); } - + if (model.Status.HasValue) + { + return context.Orders + .Include(x => x.Plane) + .Include(x => x.Client) + .Include(x => x.Implementer) + .Where(x => x.Status == model.Status) + .Select(x => x.GetViewModel) + .ToList(); + } return context.Orders .Include(x => x.Plane) .Include(x => x.Client) @@ -61,11 +73,36 @@ namespace AircraftPlantDatabaseImplement.Implements return null; } using var context = new AircraftPlantDatabase(); - return context.Orders + if (model.Id.HasValue) + { + return context.Orders .Include(x => x.Plane) .Include(x => x.Client) - .FirstOrDefault(x => (model.Id.HasValue && x.Id == model.Id))? - .GetViewModel; + .Include(x => x.Implementer) + .FirstOrDefault(x => x.Id == model.Id) + ?.GetViewModel; + } + + if (model.ImplementerId.HasValue && model.Status.HasValue) + { + return context.Orders + .Include(x => x.Plane) + .Include(x => x.Client) + .Include(x => x.Implementer) + .FirstOrDefault(x => x.ImplementerId == model.ImplementerId && x.Status == model.Status) + ?.GetViewModel; + } + + if (model.ImplementerId.HasValue) + { + return context.Orders + .Include(x => x.Plane) + .Include(x => x.Client) + .Include(x => x.Implementer) + .FirstOrDefault(x => x.ImplementerId == model.ImplementerId) + ?.GetViewModel; + } + return null; } public OrderViewModel? Insert(OrderBindingModel model) From d38a66ebaa899973881739574e1bcaa7a4987c9a Mon Sep 17 00:00:00 2001 From: kamilia Date: Sun, 19 May 2024 14:26:05 +0400 Subject: [PATCH 6/6] =?UTF-8?q?=D1=87=D0=B5=20=D1=82=D0=B0=20=D1=81=D0=BB?= =?UTF-8?q?=D1=83=D1=87=D0=B8=D0=BB=D0=BE=D1=81=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AircraftPlant/AircraftPlant.log.2024-05-08 | 66 ---------------------- 1 file changed, 66 deletions(-) delete mode 100644 AircraftPlant/AircraftPlant.log.2024-05-08 diff --git a/AircraftPlant/AircraftPlant.log.2024-05-08 b/AircraftPlant/AircraftPlant.log.2024-05-08 deleted file mode 100644 index 3e2862a..0000000 --- a/AircraftPlant/AircraftPlant.log.2024-05-08 +++ /dev/null @@ -1,66 +0,0 @@ -2024-05-08 08:22:39,372 INFO Microsoft.Hosting.Lifetime.? [?] - MESSAGE: Now listening on: https://localhost:7282 - 2024-05-08 08:22:39,455 INFO Microsoft.Hosting.Lifetime.? [?] - MESSAGE: Now listening on: http://localhost:5121 - 2024-05-08 08:22:39,464 INFO Microsoft.Hosting.Lifetime.OnApplicationStarted [0] - MESSAGE: Application started. Press Ctrl+C to shut down. - 2024-05-08 08:22:39,470 INFO Microsoft.Hosting.Lifetime.OnApplicationStarted [0] - MESSAGE: Hosting environment: Development - 2024-05-08 08:22:39,472 INFO Microsoft.Hosting.Lifetime.OnApplicationStarted [0] - MESSAGE: Content root path: C:\Users\Admin\Desktop\4 семестр\rpp\AircraftPlant\AircraftPlantRestApi\ - 2024-05-08 08:26:53,009 INFO AircraftPlantBusinessLogic.BusinessLogics.ClientLogic.CheckModel [114] - MESSAGE: Client. ClientFIO: Самолетов С.С.. Email: client1@email.com. Id: 0 - 2024-05-08 08:27:07,660 INFO AircraftPlantBusinessLogic.BusinessLogics.ClientLogic.CheckModel [114] - MESSAGE: Client. ClientFIO: Полётов П.П.. Email: client2@email.com. Id: 0 - 2024-05-08 08:27:18,080 INFO AircraftPlantBusinessLogic.BusinessLogics.ClientLogic.CheckModel [114] - MESSAGE: Client. ClientFIO: Вертолетов В.В.. Email: client3@email.com. Id: 0 - 2024-05-08 08:29:04,202 INFO AircraftPlantBusinessLogic.BusinessLogics.ClientLogic.ReadElement [45] - MESSAGE: ReadElement. ClientEmail:client1@email.com.Id:(null) - 2024-05-08 08:29:04,232 INFO AircraftPlantBusinessLogic.BusinessLogics.ClientLogic.ReadElement [54] - MESSAGE: ReadElement find. Id:8 - 2024-05-08 08:29:04,293 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.ReadList [48] - MESSAGE: ReadList. Order.Id:(null) - 2024-05-08 08:29:04,385 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.ReadList [57] - MESSAGE: ReadList. Count:0 - 2024-05-08 08:29:06,832 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadList [47] - MESSAGE: ReadList. PlaneName:(null).Id:(null) - 2024-05-08 08:29:06,931 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadList [56] - MESSAGE: ReadList. Count:3 - 2024-05-08 08:29:13,613 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [72] - MESSAGE: ReadElement. PlaneName:(null).Id:1 - 2024-05-08 08:29:13,653 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [81] - MESSAGE: ReadElement find. Id:1 - 2024-05-08 08:29:13,835 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [72] - MESSAGE: ReadElement. PlaneName:(null).Id:1 - 2024-05-08 08:29:13,844 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [81] - MESSAGE: ReadElement find. Id:1 - 2024-05-08 08:29:13,870 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.CheckModel [161] - MESSAGE: Order. OrderID:0.Sum:203500. PlaneId: 1 - 2024-05-08 08:29:13,962 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.ReadList [48] - MESSAGE: ReadList. Order.Id:(null) - 2024-05-08 08:29:13,974 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.ReadList [57] - MESSAGE: ReadList. Count:1 - 2024-05-08 08:29:15,657 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadList [47] - MESSAGE: ReadList. PlaneName:(null).Id:(null) - 2024-05-08 08:29:15,663 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadList [56] - MESSAGE: ReadList. Count:3 - 2024-05-08 08:29:21,197 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [72] - MESSAGE: ReadElement. PlaneName:(null).Id:2 - 2024-05-08 08:29:21,204 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [81] - MESSAGE: ReadElement find. Id:2 - 2024-05-08 08:29:21,425 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [72] - MESSAGE: ReadElement. PlaneName:(null).Id:2 - 2024-05-08 08:29:21,434 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [81] - MESSAGE: ReadElement find. Id:2 - 2024-05-08 08:29:21,441 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.CheckModel [161] - MESSAGE: Order. OrderID:0.Sum:114400. PlaneId: 2 - 2024-05-08 08:29:21,464 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.ReadList [48] - MESSAGE: ReadList. Order.Id:(null) - 2024-05-08 08:29:21,472 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.ReadList [57] - MESSAGE: ReadList. Count:2 - 2024-05-08 08:29:27,241 INFO AircraftPlantBusinessLogic.BusinessLogics.ClientLogic.ReadElement [45] - MESSAGE: ReadElement. ClientEmail:client2@email.com.Id:(null) - 2024-05-08 08:29:27,249 INFO AircraftPlantBusinessLogic.BusinessLogics.ClientLogic.ReadElement [54] - MESSAGE: ReadElement find. Id:9 - 2024-05-08 08:29:27,269 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.ReadList [48] - MESSAGE: ReadList. Order.Id:(null) - 2024-05-08 08:29:27,276 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.ReadList [57] - MESSAGE: ReadList. Count:0 - 2024-05-08 08:29:28,892 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadList [47] - MESSAGE: ReadList. PlaneName:(null).Id:(null) - 2024-05-08 08:29:28,899 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadList [56] - MESSAGE: ReadList. Count:3 - 2024-05-08 08:29:33,328 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [72] - MESSAGE: ReadElement. PlaneName:(null).Id:2 - 2024-05-08 08:29:33,370 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [81] - MESSAGE: ReadElement find. Id:2 - 2024-05-08 08:29:33,551 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [72] - MESSAGE: ReadElement. PlaneName:(null).Id:2 - 2024-05-08 08:29:33,583 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [81] - MESSAGE: ReadElement find. Id:2 - 2024-05-08 08:29:33,589 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.CheckModel [161] - MESSAGE: Order. OrderID:0.Sum:171600. PlaneId: 2 - 2024-05-08 08:29:33,635 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.ReadList [48] - MESSAGE: ReadList. Order.Id:(null) - 2024-05-08 08:29:33,652 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.ReadList [57] - MESSAGE: ReadList. Count:1 - 2024-05-08 08:29:35,289 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadList [47] - MESSAGE: ReadList. PlaneName:(null).Id:(null) - 2024-05-08 08:29:35,321 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadList [56] - MESSAGE: ReadList. Count:3 - 2024-05-08 08:29:39,872 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [72] - MESSAGE: ReadElement. PlaneName:(null).Id:3 - 2024-05-08 08:29:39,906 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [81] - MESSAGE: ReadElement find. Id:3 - 2024-05-08 08:29:40,095 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [72] - MESSAGE: ReadElement. PlaneName:(null).Id:3 - 2024-05-08 08:29:40,103 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [81] - MESSAGE: ReadElement find. Id:3 - 2024-05-08 08:29:40,109 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.CheckModel [161] - MESSAGE: Order. OrderID:0.Sum:228800. PlaneId: 3 - 2024-05-08 08:29:40,141 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.ReadList [48] - MESSAGE: ReadList. Order.Id:(null) - 2024-05-08 08:29:40,156 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.ReadList [57] - MESSAGE: ReadList. Count:2 - 2024-05-08 08:29:45,863 INFO AircraftPlantBusinessLogic.BusinessLogics.ClientLogic.ReadElement [45] - MESSAGE: ReadElement. ClientEmail:client3@email.com.Id:(null) - 2024-05-08 08:29:45,871 INFO AircraftPlantBusinessLogic.BusinessLogics.ClientLogic.ReadElement [54] - MESSAGE: ReadElement find. Id:10 - 2024-05-08 08:29:45,889 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.ReadList [48] - MESSAGE: ReadList. Order.Id:(null) - 2024-05-08 08:29:45,895 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.ReadList [57] - MESSAGE: ReadList. Count:0 - 2024-05-08 08:29:47,770 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadList [47] - MESSAGE: ReadList. PlaneName:(null).Id:(null) - 2024-05-08 08:29:47,789 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadList [56] - MESSAGE: ReadList. Count:3 - 2024-05-08 08:29:52,322 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [72] - MESSAGE: ReadElement. PlaneName:(null).Id:1 - 2024-05-08 08:29:52,330 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [81] - MESSAGE: ReadElement find. Id:1 - 2024-05-08 08:29:53,729 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [72] - MESSAGE: ReadElement. PlaneName:(null).Id:1 - 2024-05-08 08:29:53,734 INFO AircraftPlantBusinessLogic.BusinessLogics.PlaneLogic.ReadElement [81] - MESSAGE: ReadElement find. Id:1 - 2024-05-08 08:29:53,739 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.CheckModel [161] - MESSAGE: Order. OrderID:0.Sum:244200. PlaneId: 1 - 2024-05-08 08:29:53,756 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.ReadList [48] - MESSAGE: ReadList. Order.Id:(null) - 2024-05-08 08:29:53,759 INFO AircraftPlantBusinessLogic.BusinessLogics.OrderLogic.ReadList [57] - MESSAGE: ReadList. Count:1 - \ No newline at end of file