fix evento x acquisizione

This commit is contained in:
zaccaria.majid
2022-12-02 10:31:25 +01:00
parent 78be4fa481
commit c4a4aad47d
6 changed files with 20 additions and 11 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
<div class="input-group input-group-sm">
<input @bind="@LastScan" class="fs-6 text-center mb-2 form-control" @ref="@target" style="width: 17rem;" />
<input @bind="LastScan" class="fs-6 text-center mb-2 form-control" @ref="@target" style="width: 17rem;" />
</div>
+15 -6
View File
@@ -28,8 +28,8 @@ namespace MP.INVE.Components
/// Imposta il focus su input scansione
/// </summary>
protected void setFocus()
{
// all'apertura del componente --> focus su txtbox scan (e anche dopo input)
{
// all'apertura del componente --> focus su txtbox scan (e anche dopo input)
}
@@ -44,8 +44,17 @@ namespace MP.INVE.Components
// get => currParams.UDC;
// set => currParams.UDC = value;
//}
protected string _lastScan = "";
protected string LastScan
{
get => _lastScan;
set
{
_lastScan = value;
saveSel(LastScan);
}
}
protected string LastScan = "";
protected override async Task OnAfterRenderAsync(bool firstRender)
{
@@ -55,10 +64,10 @@ namespace MP.INVE.Components
}
}
private async Task saveSel(string lastScan)
private void saveSel(string scanToSend)
{
LastScan = lastScan;
await lastRawScan.InvokeAsync(lastScan);
//LastScan = scanToSend;
Task.FromResult(lastRawScan.InvokeAsync(scanToSend));
}
}
+1 -1
View File
@@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP.INVE</RootNamespace>
<Version>6.16.2212.118</Version>
<Version>6.16.2212.210</Version>
</PropertyGroup>
<ItemGroup>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOINVE </i>
<h4>Versione: 6.16.2212.118</h4>
<h4>Versione: 6.16.2212.210</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2212.118
6.16.2212.210
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2212.118</version>
<version>6.16.2212.210</version>
<url>https://nexus.steamware.net/repository/SWS/MP-INVE/stable/LAST/MP.INVE.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-INVE/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>