From 2f45acb4879151c1125c1b9012fb63a5b41add53 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 9 Jul 2025 14:37:28 +0200 Subject: [PATCH] Update display IOB-INFO --- MP.Data/DTO/IobDTO.cs | 4 ++-- MP.Land/MP.Land.csproj | 2 +- MP.Land/Pages/IobList.razor | 28 ++++++++++++++++++++-------- MP.Land/Resources/ChangeLog.html | 2 +- MP.Land/Resources/VersNum.txt | 2 +- MP.Land/Resources/manifest.xml | 2 +- 6 files changed, 26 insertions(+), 14 deletions(-) diff --git a/MP.Data/DTO/IobDTO.cs b/MP.Data/DTO/IobDTO.cs index 90bfc883..02171544 100644 --- a/MP.Data/DTO/IobDTO.cs +++ b/MP.Data/DTO/IobDTO.cs @@ -59,8 +59,8 @@ namespace MP.Data.DTO this.IdxMacchina = recRRL.IdxMacchina; this.Locazione = "NA"; this.OS = $"{iobInfo.iType}"; - this.IobName = iobInfo.name; - this.IobIpv4 = iobInfo.IP; + this.IobName = recRRL.Agent; + this.IobIpv4 = recRRL.IPv4; this.IobMac = recRRL.MacAddr; if (macInfo != null && macInfo.Count > 0) { diff --git a/MP.Land/MP.Land.csproj b/MP.Land/MP.Land.csproj index ef5c9dad..c8f71b9f 100644 --- a/MP.Land/MP.Land.csproj +++ b/MP.Land/MP.Land.csproj @@ -3,7 +3,7 @@ net6.0 MP.Land - 6.16.2507.0411 + 6.16.2507.0910 Debug;Release;Debug_LiManDebug en True diff --git a/MP.Land/Pages/IobList.razor b/MP.Land/Pages/IobList.razor index 70a03b07..7a61521d 100644 --- a/MP.Land/Pages/IobList.razor +++ b/MP.Land/Pages/IobList.razor @@ -82,8 +82,8 @@ OS PC IOB Adapter - CNC/PLC - Conf + CNC/PLC + Conf @@ -117,7 +117,14 @@
@item.IobName
-
@item.IobIpv4
+
+
+ @item.IobIpv4 +
+
+ @item.IobMac +
+
} else { @@ -130,8 +137,13 @@
@item.AdapName
-
- @item.AdapType | @item.AdapVers +
+
+ @item.AdapType +
+
+ @item.AdapVers +
} else @@ -139,7 +151,7 @@
-
} - + @if (!string.IsNullOrEmpty(item.TargetIp)) { @item.TargetIp @@ -152,12 +164,12 @@
-
} - + } - + diff --git a/MP.Land/Resources/ChangeLog.html b/MP.Land/Resources/ChangeLog.html index 9c851c87..db3a3436 100644 --- a/MP.Land/Resources/ChangeLog.html +++ b/MP.Land/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo Tablet MAPO - DotNet6 -

Versione: 6.16.2507.0411

+

Versione: 6.16.2507.0910


Note di rilascio:
    diff --git a/MP.Land/Resources/VersNum.txt b/MP.Land/Resources/VersNum.txt index cd93bcba..0e06f603 100644 --- a/MP.Land/Resources/VersNum.txt +++ b/MP.Land/Resources/VersNum.txt @@ -1 +1 @@ -6.16.2507.0411 +6.16.2507.0910 diff --git a/MP.Land/Resources/manifest.xml b/MP.Land/Resources/manifest.xml index 61b93620..10ef2977 100644 --- a/MP.Land/Resources/manifest.xml +++ b/MP.Land/Resources/manifest.xml @@ -1,6 +1,6 @@ - 6.16.2507.0411 + 6.16.2507.0910 https://nexus.steamware.net/repository/SWS/MP-LAND/stable/LAST/MP.Land.zip https://nexus.steamware.net/repository/SWS/MP-LAND/stable/LAST/ChangeLog.html false