Update iob info x img

This commit is contained in:
Samuele Locatelli
2024-02-27 16:02:57 +01:00
parent e0fa3e9bac
commit bc27286a54
8 changed files with 12 additions and 11 deletions
+3 -3
View File
@@ -6,15 +6,15 @@
<div class="d-flex justify-content-center flex-wrap align-items-center">
@if(infosIob.iType == MP.Data.Objects.Enums.IobType.rPi)
{
<img src="/images/linuxLogo.png" style="height: 7em; width: 7em;" />
<img src="images/linuxLogo.png" style="height: 7em; width: 7em;" />
}
else if (infosIob.iType == MP.Data.Objects.Enums.IobType.WIN)
{
<img src="/images/winLogo.png" style="height: 7em; width: 7em;" />
<img src="images/winLogo.png" style="height: 7em; width: 7em;" />
}
else if (infosIob.iType == MP.Data.Objects.Enums.IobType.ND)
{
<img src="/images/pythonLogo.png" style="height: 7em; width: 7em;" />
<img src="images/pythonLogo.png" style="height: 7em; width: 7em;" />
}
</div>
</div>
+1 -1
View File
@@ -15,7 +15,7 @@ namespace MP_TAB3.Components
protected IOB_data infosIob { get; set; } = new IOB_data();
protected override async Task OnInitializedAsync()
protected override async Task OnParametersSetAsync()
{
infosIob = await TabSrv.IobInfo(idxMacch);
}
+1 -1
View File
@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<Version>6.16.2402.2709</Version>
<Version>6.16.2402.2716</Version>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP_TAB3</RootNamespace>
</PropertyGroup>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 6.16.2402.2709</h4>
<h4>Versione: 6.16.2402.2716</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2402.2709
6.16.2402.2716
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2402.2709</version>
<version>6.16.2402.2716</version>
<url>https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/MP-TAB3.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-TAB3/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>
+3 -3
View File
@@ -14,10 +14,10 @@ namespace MP.Data.Objects
{
#region Public Fields
public bool CNC_Counter { get; set; }=false;
public string IP { get; set; } ="::1";
public bool CNC_Counter { get; set; } = false;
public string IP { get; set; } = "::1";
public IobType iType { get; set; } = IobType.ND;
public string name { get; set; } ="ND";
public string name { get; set; } = "ND";
public string typeCss { get; set; } = "fa fa-question-circle-o";
#endregion Public Fields
+1
View File
@@ -899,6 +899,7 @@ namespace MP.Data.Services
}
if (result == null)
{
Log.Error($"Errore: non trovato valore <IOB_data> valido in REDIS | key: {currKey}");
result = new IOB_data();
}
sw.Stop();