diff --git a/MP.MONO.UI/Conf/lic.file b/MP.MONO.UI/Conf/lic.file
index 9540e9d..69f59a3 100644
--- a/MP.MONO.UI/Conf/lic.file
+++ b/MP.MONO.UI/Conf/lic.file
@@ -1 +1 @@
-31e9cc1c2e8f30a1b4098cb157d712f11f3f2e60fb74169a354c3fa646d6d0e28518b4e3139f844b25824fbcc4340051fc507d22c1c2d2786d3786c777c31cc3
\ No newline at end of file
+467e4b24bc3fe9d237169aa274ae589b64f072fb1cd91f4d79aaee76c64afbfced7fb51536b62cf612dedfb304202a1e653778b7cc8c758f83bb058984460301
\ No newline at end of file
diff --git a/MP.MONO.UI/MP.MONO.UI.csproj b/MP.MONO.UI/MP.MONO.UI.csproj
index ea3aa75..b622e3b 100644
--- a/MP.MONO.UI/MP.MONO.UI.csproj
+++ b/MP.MONO.UI/MP.MONO.UI.csproj
@@ -5,7 +5,7 @@
enable
enable
AnyCPU;x86;x64
- 1.2.2209.2318
+ 1.2.2209.2610
diff --git a/MP.MONO.UI/Pages/AlarmsAnalysis.razor b/MP.MONO.UI/Pages/AlarmsAnalysis.razor
index 42a9a9a..51030f8 100644
--- a/MP.MONO.UI/Pages/AlarmsAnalysis.razor
+++ b/MP.MONO.UI/Pages/AlarmsAnalysis.razor
@@ -62,7 +62,7 @@
|
|
diff --git a/MP.MONO.UI/Pages/AlarmsAnalysis.razor.cs b/MP.MONO.UI/Pages/AlarmsAnalysis.razor.cs
index e7527a4..4f67a23 100644
--- a/MP.MONO.UI/Pages/AlarmsAnalysis.razor.cs
+++ b/MP.MONO.UI/Pages/AlarmsAnalysis.razor.cs
@@ -177,20 +177,24 @@ namespace MP.MONO.UI.Pages
return ans;
}
- protected string calcPercStyle(double numEvent)
- {
- string perc = $"{numEvent / totalEvents:P2}";
- string percs = perc.Substring(0, perc.Length - 1);
- string ans = $"width: {@Math.Round(double.Parse(percs), 0)}%";
+ //protected string calcPercStyle(double numEvent)
+ //{
+ // string perc = $"{numEvent / totalEvents:P2}";
+ // string percs = perc.Substring(0, perc.Length - 1);
+ // string ans = $"width: {@Math.Round(double.Parse(percs), 0)}%";
- return ans;
- }
+ // return ans;
+ //}
- protected string val(int eventCount)
+ protected string val(double eventCount)
{
int max = SearchRecords.Max(a => a.EventCount);
- string ans = $"{eventCount/max}";
+ double divisione = eventCount / max;
+
+ int percentage = (int)(divisione * 100);
+
+ string ans = $"width: {percentage}%";
return ans;
}
diff --git a/MP.MONO.UI/Resources/ChangeLog.html b/MP.MONO.UI/Resources/ChangeLog.html
index 39c315b..a7f468a 100644
--- a/MP.MONO.UI/Resources/ChangeLog.html
+++ b/MP.MONO.UI/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
MAPO-MONO
- Version: 1.2.2209.2318
+ Version: 1.2.2209.2610
Release Note:
-
diff --git a/MP.MONO.UI/Resources/VersNum.txt b/MP.MONO.UI/Resources/VersNum.txt
index f67a0bd..89dd602 100644
--- a/MP.MONO.UI/Resources/VersNum.txt
+++ b/MP.MONO.UI/Resources/VersNum.txt
@@ -1 +1 @@
-1.2.2209.2318
+1.2.2209.2610
diff --git a/MP.MONO.UI/Resources/manifest.xml b/MP.MONO.UI/Resources/manifest.xml
index ccaedc1..232c388 100644
--- a/MP.MONO.UI/Resources/manifest.xml
+++ b/MP.MONO.UI/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 1.2.2209.2318
+ 1.2.2209.2610
http://nexus.steamware.net/repository/SWS/MP.MONO.UI/stable/LAST/MP.Mon.zip
http://nexus.steamware.net/repository/SWS/MP.MONO.UI/stable/LAST/ChangeLog.html
false
diff --git a/MP.MONO.UI/temp/InfoData.json b/MP.MONO.UI/temp/InfoData.json
index 356169e..af545a4 100644
--- a/MP.MONO.UI/temp/InfoData.json
+++ b/MP.MONO.UI/temp/InfoData.json
@@ -2,55 +2,55 @@
"AdapterType": "Ethernet 802.3",
"AddressWidth": "64",
"Architecture": "9",
- "BiosVersion": "ALASKA - 1072009",
- "BuildNumber": "19044",
- "Caption": "Microsoft Windows 10 Pro N",
- "ConfiguredClockSpeed": "3600",
+ "BiosVersion": "_ASUS_ - 1072009",
+ "BuildNumber": "19043",
+ "Caption": "Microsoft Windows 10 Pro",
+ "ConfiguredClockSpeed": "2400",
"ConfiguredVoltage": "1200",
"CpuVersion": "Modello 1, Stepping 0",
- "CurrentClockSpeed": "3501",
- "CurrentVoltage": "11",
+ "CurrentClockSpeed": "2200",
+ "CurrentVoltage": "12",
"DataWidth": "64",
- "Description": "AMD64 Family 23 Model 113 Stepping 0",
- "DeviceLocator": "DIMM 1",
+ "Description": "AMD64 Family 23 Model 17 Stepping 0",
+ "DeviceLocator": "ChannelA-DIMM0",
"ExtClock": "100",
"Family": "107",
- "FormFactor": "8",
- "GUID": "{E76995C4-F180-406E-B9C3-E491C65A8FCF}",
- "L2CacheSize": "8192",
- "L3CacheSize": "65536",
+ "FormFactor": "12",
+ "GUID": "{7F313732-DBA3-46E5-9FA7-BEF235B0682E}",
+ "L2CacheSize": "2048",
+ "L3CacheSize": "4096",
"Level": "23",
- "LoadPercentage": "14",
- "MACAddress": "0C:9D:92:B8:FD:E8",
- "Manufacturer": "American Megatrends International, LLC.",
+ "LoadPercentage": "32",
+ "MACAddress": "4C:ED:FB:D9:78:83",
+ "Manufacturer": "American Megatrends Inc.",
"MaxNumberOfProcesses": "4294967295",
"MaxProcessMemorySize": "137438953344",
"MaxVoltage": "1200",
"MinVoltage": "1200",
- "Name": "ASUS XG-C100C 10G PCI-E Network Adapter",
- "NumberOfCores": "16",
- "NumberOfLogicalProcessors": "32",
+ "Name": "Realtek PCIe GbE Family Controller",
+ "NumberOfCores": "4",
+ "NumberOfLogicalProcessors": "8",
"OSArchitecture": "64 bit",
- "PartNumber": "CMK64GX4M2D3600C18",
+ "PartNumber": "8ATF1G64HZ-2G3E1 ",
"PhysicalAdapter": "True",
- "ProcessorId": "178BFBFF00870F10",
+ "ProcessorId": "178BFBFF00810F10",
"ProcessorType": "3",
- "ProductName": "ASUS XG-C100C 10G PCI-E Network Adapter",
- "ReleaseDate": "20210521000000.000000+000",
- "Revision": "28928",
+ "ProductName": "Realtek PCIe GbE Family Controller",
+ "ReleaseDate": "20190521000000.000000+000",
+ "Revision": "4352",
"Role": "CPU",
- "SerialNumber": "00332-00332-17209-AA940",
- "ServiceName": "aqnic650",
- "SMBIOSBIOSVersion": "F33",
+ "SerialNumber": "00330-80951-85780-AA242",
+ "ServiceName": "rt640x64",
+ "SMBIOSBIOSVersion": "X505ZA.311",
"SMBIOSMajorVersion": "3",
"SMBIOSMemoryType": "26",
- "SMBIOSMinorVersion": "3",
- "SocketDesignation": "AM4",
- "SoftwareElementID": "F33",
+ "SMBIOSMinorVersion": "1",
+ "SocketDesignation": "FP5",
+ "SoftwareElementID": "X505ZA.311",
"SoftwareElementState": "3",
- "Speed": "3600",
+ "Speed": "2400",
"SystemBiosMajorVersion": "5",
- "SystemBiosMinorVersion": "17",
- "SystemName": "WRKST-R9-SAM",
- "Version": "10.0.19044"
+ "SystemBiosMinorVersion": "13",
+ "SystemName": "EGALW-NB-004",
+ "Version": "10.0.19043"
}
\ No newline at end of file