From 79d3f5c82e16b6907cf7e391866a0bbee749a9be Mon Sep 17 00:00:00 2001 From: Bar Pupko Date: Sun, 27 Aug 2023 17:45:39 +0300 Subject: [PATCH] New Version --- MainViewModel.cs | 112 +++++++++++++-------------- MainWindow.xaml.cs | 2 +- bin/Debug/HorizontalList.exe | Bin 54784 -> 55296 bytes bin/Debug/HorizontalList.pdb | Bin 87552 -> 87552 bytes obj/Debug/HorizontalList.exe | Bin 54784 -> 55296 bytes obj/Debug/HorizontalList.g.resources | Bin 31097 -> 31691 bytes obj/Debug/HorizontalList.pdb | Bin 87552 -> 87552 bytes obj/Debug/MainWindow.baml | Bin 3927 -> 4521 bytes obj/Debug/MainWindow.g.cs | 2 +- obj/Debug/MainWindow.g.i.cs | 2 +- 10 files changed, 59 insertions(+), 59 deletions(-) diff --git a/MainViewModel.cs b/MainViewModel.cs index 722743f..04882a3 100644 --- a/MainViewModel.cs +++ b/MainViewModel.cs @@ -53,56 +53,56 @@ private void InitProducts() //Task.Run(() => //{ - //productList.Add(new Product("SystemSetupMC4U", "10.0.0.91", ConvertToColorBrush(checkIfOnline("10.0.0.91")))); - //productList.Add(new Product("UpgraderMC4U", "10.0.0.91", ConvertToColorBrush(checkIfOnline("10.0.0.92")))); - //productList.Add(new Product("Gantry", "10.0.0.94", ConvertToColorBrush(checkIfOnline("10.0.0.94")))); - //// new Product("SystemSetupMC4U", "10.0.0.91", ), - - - Products.Add(new Product("SPiiPlusNT-HP", "10.0.0.91")); - Products.Add(new Product("IDMsm", "10.0.0.92")); - Products.Add(new Product("ECMsm Absolute Encoders", "10.0.0.93" )); - Products.Add(new Product("Gantry", "10.0.0.94")); - Products.Add(new Product("IDMsa", "10.0.0.96")); - Products.Add(new Product("IDMsa Routing", "10.0.0.97")); - Products.Add(new Product("ECMsm", "10.0.0.98")); - Products.Add(new Product("UDMpc", "10.0.0.101")); - Products.Add(new Product("LCMv2", "10.0.0.101")); - Products.Add(new Product("IOMnt", "10.0.0.101")); - Products.Add(new Product("UDMpa", "10.0.0.101")); - Products.Add(new Product("SDMnt", "10.0.0.101")); - Products.Add(new Product("PDMnt", "10.0.0.101")); - Products.Add(new Product("UDIhp", "10.0.0.101")); - Products.Add(new Product("UDMmc", "10.0.0.101")); - Products.Add(new Product("Beckhoff", "10.0.0.101")); - Products.Add(new Product("PDIcl", "10.0.0.101")); - Products.Add(new Product("UDMlc", "10.0.0.101")); - Products.Add(new Product("NPApm", "10.0.0.101")); - Products.Add(new Product("IOMpsDigital", "10.0.0.101")); - Products.Add(new Product("DC-HP", "10.0.0.101")); - Products.Add(new Product("SPiiPlusEC21Nodes", "10.0.0.101")); - Products.Add(new Product("LCI", "10.0.0.102")); - Products.Add(new Product("SPiiPlusCMhv", "10.0.0.103")); - Products.Add(new Product("SPiiPlusCMnt", "10.0.0.104")); - Products.Add(new Product("IOMpsAnalog", "10.0.0.106")); - Products.Add(new Product("DC-LT", "10.0.0.106")); - Products.Add(new Product("SPiiPlusCMhp_108", "10.0.0.108")); - Products.Add(new Product("UDMsm", "10.0.0.109")); - Products.Add(new Product("ECMma Dual Loop", "10.0.0.110")); - Products.Add(new Product("UDMsa", "10.0.0.111")); - Products.Add(new Product("UDMxa", "10.0.0.112")); - Products.Add(new Product("SPiiPlusCMhp", "10.0.0.113")); - Products.Add(new Product("SPiiPlusCMbaDualLoop", "10.0.0.117")); - Products.Add(new Product("SPiiPlusEC32Nodes", "10.0.0.118")); - Products.Add(new Product("ECMma", "10.0.0.120")); - Products.Add(new Product("UDMma", "10.0.0.121")); - Products.Add(new Product("IDMma", "10.0.0.122")); - Products.Add(new Product("ECMsa", "10.0.0.123")); - Products.Add(new Product("MP4UNPMpc", "10.0.0.126")); - Products.Add(new Product("SPiiPlusCMxa", "10.0.0.128")); - Products.Add(new Product("DualEtherCAT", "10.0.0.131")); - Products.Add(new Product("UDMdx", "10.0.0.132")); - Products.Add(new Product("SpiiPlus SC", "10.0.0.135")); + //productList.Add(new Product("SystemSetupMC4U", "10.0.0.91", ConvertToColorBrush(checkIfOnline("10.0.0.91")))); + //productList.Add(new Product("UpgraderMC4U", "10.0.0.91", ConvertToColorBrush(checkIfOnline("10.0.0.92")))); + //productList.Add(new Product("Gantry", "10.0.0.94", ConvertToColorBrush(checkIfOnline("10.0.0.94")))); + //// new Product("SystemSetupMC4U", "10.0.0.91", ), + + + Products.Add(new Product("SPiiPlusNT-HP", "10.0.0.91")); + Products.Add(new Product("IDMsm", "10.0.0.92")); + Products.Add(new Product("ECMsm Absolute Encoders", "10.0.0.93")); + Products.Add(new Product("Gantry", "10.0.0.94")); + Products.Add(new Product("IDMsa", "10.0.0.96")); + Products.Add(new Product("IDMsa Routing", "10.0.0.97")); + Products.Add(new Product("ECMsm", "10.0.0.98")); + Products.Add(new Product("UDMpc", "10.0.0.101")); + Products.Add(new Product("LCMv2", "10.0.0.101")); + Products.Add(new Product("IOMnt", "10.0.0.101")); + Products.Add(new Product("UDMpa", "10.0.0.101")); + Products.Add(new Product("SDMnt", "10.0.0.101")); + Products.Add(new Product("PDMnt", "10.0.0.101")); + Products.Add(new Product("UDIhp", "10.0.0.101")); + Products.Add(new Product("UDMmc", "10.0.0.101")); + Products.Add(new Product("Beckhoff", "10.0.0.101")); + Products.Add(new Product("PDIcl", "10.0.0.101")); + Products.Add(new Product("UDMlc", "10.0.0.101")); + Products.Add(new Product("NPApm", "10.0.0.101")); + Products.Add(new Product("IOMpsDigital", "10.0.0.101")); + Products.Add(new Product("DC-HP", "10.0.0.101")); + Products.Add(new Product("SPiiPlusEC21Nodes", "10.0.0.101")); + Products.Add(new Product("LCI", "10.0.0.102")); + Products.Add(new Product("SPiiPlusCMhv", "10.0.0.103")); + Products.Add(new Product("SPiiPlusCMnt", "10.0.0.104")); + Products.Add(new Product("IOMpsAnalog", "10.0.0.106")); + Products.Add(new Product("DC-LT", "10.0.0.106")); + Products.Add(new Product("SPiiPlusCMhp_108", "10.0.0.108")); + Products.Add(new Product("UDMsm", "10.0.0.109")); + Products.Add(new Product("ECMma Dual Loop", "10.0.0.110")); + Products.Add(new Product("UDMsa", "10.0.0.111")); + Products.Add(new Product("UDMxa", "10.0.0.112")); + Products.Add(new Product("SPiiPlusCMhp", "10.0.0.113")); + Products.Add(new Product("SPiiPlusCMbaDualLoop", "10.0.0.117")); + Products.Add(new Product("SPiiPlusEC32Nodes", "10.0.0.118")); + Products.Add(new Product("ECMma", "10.0.0.120")); + Products.Add(new Product("UDMma", "10.0.0.121")); + Products.Add(new Product("IDMma", "10.0.0.122")); + Products.Add(new Product("ECMsa", "10.0.0.123")); + Products.Add(new Product("MP4UNPMpc", "10.0.0.126")); + Products.Add(new Product("SPiiPlusCMxa", "10.0.0.128")); + Products.Add(new Product("DualEtherCAT", "10.0.0.131")); + Products.Add(new Product("UDMdx", "10.0.0.132")); + Products.Add(new Product("SpiiPlus SC", "10.0.0.135")); Task.Run(() => { @@ -115,11 +115,11 @@ private void InitProducts() }); } }); - - //Application.Current.Dispatcher.Invoke(() => - //{ - // ListViewProducts.ItemsSource = productList; - //}); + + //Application.Current.Dispatcher.Invoke(() => + //{ + // ListViewProducts.ItemsSource = productList; + //}); //}); } @@ -141,7 +141,7 @@ private string CheckError(string controllerIp) //product.Error = ErrStr; } - return ""; + return ""; } private async void UpdateControllerStatus() diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index cf70745..cde6922 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -154,7 +154,7 @@ public string checkIfOnline(Product prod) { prod.midTest = true; string Online = "GreenYellow"; - string Error = "Red"; + string Error = "#7393B3"; string Rebooted = "Yellow"; bool pingable = false; Ping pinger = null; diff --git a/bin/Debug/HorizontalList.exe b/bin/Debug/HorizontalList.exe index b1b04526289c4bcc9bd94590dee54481079c3ae8..fa6bcf8cf6f6a0e33cce1851a7b4dff505e88d1a 100644 GIT binary patch delta 1156 zcmZWoUu=_A6hHU&&-bxE-S@Ry=a#MQx@FU@jI#1o%$U)Y2-{4kt5bB*rHOTvb!}-o zWEKp8m@G!k#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m$Ao$ z*ur|dt+TPCqOr53r!hKO2J8bhVmTUz3gmJK6^H_B4J)9s@Ue8pB2}>80fK@Sdqa!8 zNuaI<8WG1C^${@KdhF82^3&Gi+8;73^I632@z0J2*Ngxnh{q#=18J7OuX~x z8S%%nCz5Cm6M0@OBdWc|NaA#uxb00~#A9!IWV69X3^r@$nn%|41h95)Lb>@;v&nQe zbpZF71=s)wW-w=7FU$VCJhe3H%)fQ5+IZD$v0%gefMRlIZi6wOf_JS;r=-(<)GqwO Wx`jGUviO%zf97%W4{O9_7W@MhLFUT< diff --git a/bin/Debug/HorizontalList.pdb b/bin/Debug/HorizontalList.pdb index 84b8e58c0ee0f0d78259195a54454c51a909458b..5f57064b9b44504a2ebbe905cf1494015b7045e0 100644 GIT binary patch delta 686 zcmZoz!`iThb%TeT!oSmdf1jQn$7LN_)3g$1$#d3nqUbI#t2eJs8E82T1%u9zao z%F%mK9*Fu_Hcy5%J}A?z%&n0Kaej`>E%8H|&- zJQVmj46fYf7oQ;V{%OG!>)9J-Bu)M(u}O5RUgMN4$0jmOgQ>e&7W3C?50)jA|i9EGR1Ti zEnZbj)N)ji1uHbzA;vQ2Dxm1jifvF{ysjX^rLVz33sqbiCJwt!;=87qTtQ>ul z7tU54)ntgY<#a`vI{75QF$2>;c3eabGCy z1Erk|fDDj=Kp+NbLbuEfDi1T*V{`u8n@NK^=C%nj?qDMnb=zg67++{g{5>N7myv;i cLI38JgBLecI?m~f*6uYhG~6!Z!uUiG07{$QGynhq diff --git a/obj/Debug/HorizontalList.exe b/obj/Debug/HorizontalList.exe index b1b04526289c4bcc9bd94590dee54481079c3ae8..fa6bcf8cf6f6a0e33cce1851a7b4dff505e88d1a 100644 GIT binary patch delta 1156 zcmZWoUu=_A6hHU&&-bxE-S@Ry=a#MQx@FU@jI#1o%$U)Y2-{4kt5bB*rHOTvb!}-o zWEKp8m@G!k#(4l9mIx^=BmRMWaSw*Tcwk^QDjNShIM766d|)Ck2GLQ^w~_eJoBZy% z=bYa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2}>80fK@Sdqa!8 zNuaI<8WG1C^${@KdhF82^3&Gi+8;73^I632@z0J2*Ngxnh{q#=18J7OuX~x z8S%%nCz5Cm6M0@OBdWc|NaA#uxb00~#A9!IWV69X3^r@$nn%|41h95)Lb>@;v&nQe zbpZF71=s)wW-w=7FU$VCJhe3H%)fQ5+IZD$v0%gefMRlIZi6wOf_JS;r=-(<)GqwO Wx`jGUviO%zf97%W4{O9_7W@MhLFUT< diff --git a/obj/Debug/HorizontalList.g.resources b/obj/Debug/HorizontalList.g.resources index c1fd93a1499d8093bd5efe433e32951d53cf4452..5f3fa71b7ab9ce2f454ede657ba545c7df31aaae 100644 GIT binary patch delta 741 zcmZXS&u`LT7{{N|Ux))*V4^0BiOrVD#^z#s^B^P!G!cXrPX?P%XI&`>1!TrxW=yMg8Tr_&SKEdU68x@;We78x^fS5#yfaBg>)?wWgT+_5gZv!-%cS9b8H6#ya)s#Kp02aU)8cUC>A{VB*p z@?)^R{1D6Y7>qo^HH{Hu5Tf-18t@ z&~2?}bgM?s+%q^Xjy9mb{|&h9iC*N;)GTQvmdT4@RNw&kylFR0dxuYea-ZC+oMxFI zL$jo*N=cta12y;rd8H;PmV8v#{lw0k_@gc%aYozn6T5Tbj+Q~C#&ofGpyi&Kk&Qj0UIQrXx981xtz*@YO)vL*)xNU*YSurM=Cb`Db!2b-nB zg)k)^XbQW~$7LN_)3g$1$#d3nqUbI#t2eJs8E82T1%u9zao z%F%mK9*Fu_Hcy5%J}A?z%&n0Kaej`>E%8H|&- zJQVmj46fYf7oQ;V{%OG!>)9J-Bu)M(u}O5RUgMN4$0jmOgQ>e&7W3C?50)jA|i9EGR1Ti zEnZbj)N)ji1uHbzA;vQ2Dxm1jifvF{ysjX^rLVz33sqbiCJwt!;=87qTtQ>ul z7tU54)ntgY<#a`vI{75QF$2>;c3eabGCy z1Erk|fDDj=Kp+NbLbuEfDi1T*V{`u8n@NK^=C%nj?qDMnb=zg67++{g{5>N7myv;i cLI38JgBLecI?m~f*6uYhG~6!Z!uUiG07{$QGynhq diff --git a/obj/Debug/MainWindow.baml b/obj/Debug/MainWindow.baml index 2c2ae86154860ec8f5e5aba12e668ce0338f5bb3..e86c6be905f6ba80682e325dca01b6557d0d1116 100644 GIT binary patch delta 907 zcmZWo&ubG=5T0Z=yW3=U^RpI&G$CCoHg=nqzQuzgHa)Z#E47LUQUb1Z={9N8R82(+ zf+F=~-^qJH^yF1<9z;*pBI3W`K?D!pOrPIt3MyHcoi{Vz%s217d0z)#488ghFAWlr zqrVjq_U^z-OC!E7)Y?X?v3tO3u+u!1I3G##`NV`a8Knrhd^=IftgME$mS1gz8!L4s zO2k(An?%*nY@%l!ZZ1?fT0$&!5BtV|3HrnQszaXWKy@G&rX2F(0xra76DM^;WmfPtBTf!8@P zFSIzdC@8f!vnrL1O@Kj2Va#bGWP{;$_{$4 // This code was generated by a tool. diff --git a/obj/Debug/MainWindow.g.i.cs b/obj/Debug/MainWindow.g.i.cs index 13f7cdc..fd7a3c4 100644 --- a/obj/Debug/MainWindow.g.i.cs +++ b/obj/Debug/MainWindow.g.i.cs @@ -1,4 +1,4 @@ -#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "D9765DEB0A9F678AFB10DDB9BEF760C875167C092DFAE5A47F9F49010D5BDC03" +#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "4891992B64878B4A74E5FB08813001B88A404C8C1FE305ABC1B87D94D1626945" //------------------------------------------------------------------------------ // // This code was generated by a tool.