From 2eb7bdacbeff29b92ab9e87ce9032ae794e8dd69 Mon Sep 17 00:00:00 2001 From: Yourdax Date: Mon, 13 Jan 2025 19:06:42 +0400 Subject: [PATCH] 4 --- KopLab1/Lab3Form/PluginsConvention.cs | 12 +++++------ .../InternetShopOrdersBusinessLogic.dll | Bin 7168 -> 7168 bytes .../Plugins/InternetShopOrdersContracts.dll | Bin 9216 -> 9216 bytes .../Plugins/InternetShopOrdersDataModels.dll | Bin 5120 -> 5120 bytes .../InternetShopOrdersDatabaseImplement.dll | Bin 26112 -> 26112 bytes KopLab1/Plugins/Lab3Form.dll | Bin 39424 -> 39424 bytes KopLab1/Plugins/PluginsConventionLibrary.dll | Bin 6656 -> 6656 bytes .../MainPluginConventionElement.cs | 20 ------------------ .../Plugins/PluginsConventionSaveDocument.cs | 2 +- 9 files changed, 6 insertions(+), 28 deletions(-) delete mode 100644 KopLab1/PluginsConventionLibrary/MainPluginConventionElement.cs diff --git a/KopLab1/Lab3Form/PluginsConvention.cs b/KopLab1/Lab3Form/PluginsConvention.cs index 8969af5..b179979 100644 --- a/KopLab1/Lab3Form/PluginsConvention.cs +++ b/KopLab1/Lab3Form/PluginsConvention.cs @@ -22,10 +22,9 @@ namespace Lab3Form public class PluginsConvention : IPluginsConvention { private readonly IOrderLogic _orderLogic; - private readonly ICityLogic _selecteditemLogic; + private readonly ICityLogic _cityLogic; private readonly ControlDataTableTable _controlDataTableTable; private readonly ExcelTableComponent _excelComponent; - private readonly ComponentHistogramToPdf _componentHistogramToPdf; public string PluginName { get; set; } = "Plugin"; @@ -37,10 +36,9 @@ namespace Lab3Form public PluginsConvention() { _orderLogic = new OrderLogic(new OrderStorage()); - _selecteditemLogic = new CityLogic(new CityStorage()); + _cityLogic = new CityLogic(new CityStorage()); _controlDataTableTable = new(); _excelComponent = new(); - _componentHistogramToPdf = new(); } public PluginsConventionElement GetElement @@ -59,11 +57,11 @@ namespace Lab3Form { if (element == null) { - return new FormOrder(_orderLogic, _selecteditemLogic); + return new FormOrder(_orderLogic, _cityLogic); } else { - FormOrder form = new FormOrder(_orderLogic, _selecteditemLogic); + FormOrder form = new FormOrder(_orderLogic, _cityLogic); form.Id = element.Id.GetHashCode(); return form; } @@ -71,7 +69,7 @@ namespace Lab3Form public Form GetThesaurus() { - return new FormCities(_selecteditemLogic); + return new FormCities(_cityLogic); } public bool DeleteElement(PluginsConventionElement element) diff --git a/KopLab1/Plugins/InternetShopOrdersBusinessLogic.dll b/KopLab1/Plugins/InternetShopOrdersBusinessLogic.dll index 6dd832edfe0f7c992d4075e86e4b2b1378a9045c..72644896323c50ada7332345c4afe64c9f5723e1 100644 GIT binary patch delta 240 zcmZp$Xt0>j!4j|UcV%PG89sp-OA3@d532g@t+*50`r%8+<_!L&j2f1PX(owDX{kvD zX(lG7W~ruzmdPne2BwCFiRQ@$Mn+~SrfG&osm7B{1=U$fd!Ox?oFEt=`qo`Qb;Xs> zZqrjt_bz{4>%+*vz~DOhs9=c#R3;531JYvd_HdGvk{sia75ffujuc8}^|xd&WJqH$ zVMt_10@A5K(g4giVK8Md1M*FQ@|FzA3@Kn45YG^()*L8ez+eP~Wj!E$xg+V+h-XZQq)p4V9MFMa5@O0~A%@~ijs%^Cbl88u8(5-ki2lT(dN z%#6&Q`t$q diff --git a/KopLab1/Plugins/InternetShopOrdersContracts.dll b/KopLab1/Plugins/InternetShopOrdersContracts.dll index ff93921f4bec3b1a7f8a0e9c94232753133861a3..bc0cb529f5351b526571eaae5758216aa0f319c2 100644 GIT binary patch delta 240 zcmZqhXz-ZO!D9D4;_${E8*zbN3Cqi0EdG`Zh74&8 zCJc!TNkBRkNE(3oCJd$wWb`n&Q?~CNW&e9^dfqm@f9<>@n{SA3VAL>8NwhF9Oind6 zF*7nZw@5R$G`CDjOEgS0F|sf+PBXADOEFDMwoIA4LGl4hl7HaU$y1~PL>KwSF=a?@ z@oY{wzl}-6Ifs#ffx&(9PpKRQs7&Qys0>g`=%fGNuD*D`{K|pYiD{c#rTJO>O&L-c z5*aKQ3>XXTk(l$dJZh z!jQ<21f)}eqyd<3!eGi^2IQLp6w}0H%aqA|oMJ4e-{zm5yn-`8bpHLC)t=YB zIy9UT_xJpNw2zU2fx&$;FIS2JROZ0}s0>hxccF3htcFaXui5hq6gE%f5@+={Wk_L2 zWUyc`U@&AzW=Lf)W-wteV=!Vc2SN*mG$3gS#z{bSB2Y~tP~HeAV+2&02GnH%RGq?L Q3KUNUs!ZAZou88h0PK-UE&u=k diff --git a/KopLab1/Plugins/InternetShopOrdersDatabaseImplement.dll b/KopLab1/Plugins/InternetShopOrdersDatabaseImplement.dll index f36f733844be5292b837f806e630a6e470a5c002..a617b9f9377bff69c6717543d63edf56764cbbf9 100644 GIT binary patch delta 243 zcmZoT!`N_!aY6@+p|@Y##-1a-0-ZBi6?M0}I&J*xA>p;HBzkj#pE9?GrD2*$Vp3Xa zl0lk@iK$ttsi9?ZN|J%8p<$wVvVoD2S&C_zp;4;w=GBoa8CkT}`Td?85gj1PUU!=H zXw4GGt;aiBEVnGNWMp7qaGkt2x<&ye^A#!s)Kb0w`}cbHw4E2#XGyedj*RJM^|xd& zWJqH$VMt_10@A5K(g4giVK8Md1M*FQ@|FzA3@Kn45YG^()*L8ez+eP~WwKGq*IiOiD{MOf)gFFfvXvurNz8O-!~-*}OV(B_qqibsbM8M??pRnp%aP zxD#;2b3XU#``b?X7cw$1Ft|_N8(pISlerI-0cknmvri}X&#n)T_NO{;j*RJM^*3cm zVMt`KU@%}XWJqR6WiVziVK8GbVlW3n3x+fxX$i(jKz1TfO(Ia<2qJ2q%LXdl4dun3dNIObEk`Ro2L=- zXc6MIf1Lr$S|eGXHBY>x&q|Y|`|lje7DA+82WrlYgMl;$6Ay)E9fuNHq^UC-Z@ zLtq0q3JATXyN&*x3wySfTEoOC8g}b!QvqOLfC^EFVbl?&a;*Z#d+CS_0uYBpnJHBa hwFCGgfsD_O495P=i3&Ukw=BcnPi!&(N0kjaJN;m@pBam;#z`%B6vm(1p+}t9~+|t}KDJ{`3 z(ZtBY$T-cw!Ysu!G1)R@b6Ci;38;ZV7Q|MVs3^w7zi#u_eom&%e3Q7C{Y@ECfL^y?FkmobNM=Z7FlI0T2B8sy zIS^Vfqyb4wFirxp6MGkWK}X24KDkgDHa-NBZ^A%nlMh(-HL<6w}0H%aq9){5C8r`B$EuoWUO;%H)3hQqns) z=Vnjk=H!