Skip to content

Commit

Permalink
New Version
Browse files Browse the repository at this point in the history
  • Loading branch information
BarPupko committed Aug 27, 2023
1 parent c9ed409 commit 79d3f5c
Show file tree
Hide file tree
Showing 10 changed files with 59 additions and 59 deletions.
112 changes: 56 additions & 56 deletions MainViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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(() =>
{
Expand All @@ -115,11 +115,11 @@ private void InitProducts()
});
}
});
//Application.Current.Dispatcher.Invoke(() =>
//{
// ListViewProducts.ItemsSource = productList;
//});

//Application.Current.Dispatcher.Invoke(() =>
//{
// ListViewProducts.ItemsSource = productList;
//});
//});
}

Expand All @@ -141,7 +141,7 @@ private string CheckError(string controllerIp)
//product.Error = ErrStr;

}
return "";
return "";
}

private async void UpdateControllerStatus()
Expand Down
2 changes: 1 addition & 1 deletion MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Binary file modified bin/Debug/HorizontalList.exe
Binary file not shown.
Binary file modified bin/Debug/HorizontalList.pdb
Binary file not shown.
Binary file modified obj/Debug/HorizontalList.exe
Binary file not shown.
Binary file modified obj/Debug/HorizontalList.g.resources
Binary file not shown.
Binary file modified obj/Debug/HorizontalList.pdb
Binary file not shown.
Binary file modified obj/Debug/MainWindow.baml
Binary file not shown.
2 changes: 1 addition & 1 deletion obj/Debug/MainWindow.g.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "D9765DEB0A9F678AFB10DDB9BEF760C875167C092DFAE5A47F9F49010D5BDC03"
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "4891992B64878B4A74E5FB08813001B88A404C8C1FE305ABC1B87D94D1626945"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
Expand Down
2 changes: 1 addition & 1 deletion obj/Debug/MainWindow.g.i.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "D9765DEB0A9F678AFB10DDB9BEF760C875167C092DFAE5A47F9F49010D5BDC03"
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "4891992B64878B4A74E5FB08813001B88A404C8C1FE305ABC1B87D94D1626945"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
Expand Down

0 comments on commit 79d3f5c

Please sign in to comment.