diff --git a/MP.MONO.UI/Pages/Tools.razor.cs b/MP.MONO.UI/Pages/Tools.razor.cs
index 8a9dcea..15d7ad5 100644
--- a/MP.MONO.UI/Pages/Tools.razor.cs
+++ b/MP.MONO.UI/Pages/Tools.razor.cs
@@ -32,7 +32,10 @@ namespace MP.MONO.UI.Pages
#region Protected Fields
- protected bool isRT = true;
+ protected bool isRT
+ {
+ get => currFilter.isActive;
+ }
protected double sampleSecMin = 1;
protected string RTCSSmode= "fw-bold";
protected string LVCSSmode= "text-secondary";
@@ -80,7 +83,7 @@ namespace MP.MONO.UI.Pages
#endregion Public Properties
#region Private Methods
-
+ private selectGlobalToggle currFilter { get; set; } = new selectGlobalToggle();
#endregion Private Methods
#region Protected Methods
@@ -93,7 +96,7 @@ namespace MP.MONO.UI.Pages
}
}
protected override async Task OnInitializedAsync()
- {
+ {
ListRecords = await MMDataService.getTools();
}
protected string lastTool
@@ -137,22 +140,16 @@ namespace MP.MONO.UI.Pages
}
}
}
-
- protected void toggleRT()
+ private async Task updateFilter(selectGlobalToggle newParams)
{
- isRT = !isRT;
- if (isRT)
- {
- RTCSSmode = "fw-bold";
- LVCSSmode = "text-secondary";
- }
- else
- {
- LVCSSmode = "fw-bold";
- RTCSSmode = "text-secondary";
- }
- }
+ await Task.Delay(1);
+ await Task.Delay(1);
+ newParams.leftString = "Log View";
+ newParams.rightString = "Real Time";
+ await InvokeAsync(() => StateHasChanged());
+ currFilter = newParams;
+ }
#endregion Protected Methods
private void toggleShowParams()
{
diff --git a/MP.MONO.UI/temp/InfoData.json b/MP.MONO.UI/temp/InfoData.json
index 1290929..f598cd3 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": "31",
- "MACAddress": "0C:9D:92:B8:FD:E8",
- "Manufacturer": "American Megatrends International, LLC.",
+ "LoadPercentage": "8",
+ "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