Fix condizione chiusura e controllo x report IOB chiusi
This commit is contained in:
@@ -212,8 +212,8 @@ namespace IOB_MAN.Core.Services
|
||||
/// <param name="doReset">resetta elenco</param>
|
||||
public void DoCloseAll(bool doReset)
|
||||
{
|
||||
isBusy = true;
|
||||
CheckRunningChild();
|
||||
isBusy = true;
|
||||
if (ListIobAdapters.Count > 0)
|
||||
{
|
||||
List<int> listPID = new List<int>();
|
||||
@@ -249,8 +249,10 @@ namespace IOB_MAN.Core.Services
|
||||
});
|
||||
}
|
||||
}
|
||||
isBusy = false;
|
||||
// verifico nuovamente i processi
|
||||
CheckRunningChild();
|
||||
isBusy = true;
|
||||
List<IobAdapt> stillRunList = new List<IobAdapt>();
|
||||
if (ListIobAdapters.Count > 0)
|
||||
{
|
||||
@@ -322,10 +324,9 @@ namespace IOB_MAN.Core.Services
|
||||
{
|
||||
isBusy = true;
|
||||
ForceKillByPID(childReq.pID);
|
||||
CheckRunningChild();
|
||||
|
||||
ReportStatusUpd();
|
||||
isBusy = false;
|
||||
CheckRunningChild();
|
||||
ReportStatusUpd();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -883,6 +884,14 @@ namespace IOB_MAN.Core.Services
|
||||
}
|
||||
);
|
||||
}
|
||||
// li segno spenti...
|
||||
else
|
||||
{
|
||||
foreach (var item in ListIobAdapters)
|
||||
{
|
||||
item.isRunning = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
sw.Stop();
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Version>4.0.2512.2011</Version>
|
||||
<Version>4.0.2512.2118</Version>
|
||||
<Configurations>Debug;Release;Remote_DEBUG</Configurations>
|
||||
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
Reference in New Issue
Block a user