Update iob info x img
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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,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 @@
|
||||
6.16.2402.2709
|
||||
6.16.2402.2716
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user