Integratione 2.6g5 :

- ora con Edit e progetto Nge salvato in EgtCAM5 si resetta check di barra controllata.
This commit is contained in:
Dario Sassi
2024-07-19 18:56:00 +02:00
parent c34e363140
commit 2cb5113b89
6 changed files with 24 additions and 10 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28010.2016
# Visual Studio Version 17
VisualStudioVersion = 17.10.35027.167
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IntegrationEgaltech", "IntegrationEgaltech\IntegrationEgaltech.csproj", "{A80D9CFF-5312-40C7-8F67-AC5D62C18824}"
EndProject
+17 -5
View File
@@ -358,22 +358,29 @@ namespace ib.essetre.integration.egaltech
//-------------------------------------------------------------------------------------------------------------
private static void ProcessResults( string BtlPath, PatternInfo pattInfo, InOutParameters.UIModes UIMode)
{
if ( UIMode == InOutParameters.UIModes.SHOWUI || UIMode == InOutParameters.UIModes.SIMULAZIONE)
return ;
bool bErrors = false ;
bool bEdit = (UIMode == InOutParameters.UIModes.SHOWUI || UIMode == InOutParameters.UIModes.SIMULAZIONE);
int nLastErr = 0 ;
string sLastMsg = "" ;
int nCurrCutId = 0 ;
Dictionary<int,PatternInfo.Results> dctErr = new Dictionary<int, PatternInfo.Results>() ;
Dictionary<int,double> dctRot = new Dictionary<int, double>() ;
int nTotTime = 0 ;
if ( File.Exists( Path.ChangeExtension( BtlPath, ".txt"))) {
string TxtPath = Path.ChangeExtension(BtlPath, ".txt") ;
if ( File.Exists(TxtPath)) {
// se eseguito edit, verifico se file realmente modificato
if ( bEdit) {
string NgePath = Path.ChangeExtension(BtlPath, ".nge") ;
if ( File.GetLastWriteTime(TxtPath) > File.GetLastWriteTime(NgePath))
return ;
}
// analizzo il file dei risultati
int nErr = 0 ;
string sMsg = "" ;
double dRot = 0 ;
int cutId = 0 ;
int taskId = 0 ;
string[] lines = System.IO.File.ReadAllLines( Path.ChangeExtension( BtlPath, ".txt")) ;
string[] lines = System.IO.File.ReadAllLines(TxtPath) ;
foreach ( string line in lines) {
if ( line.StartsWith( "ERR=")) {
int? nVal = GetVal(line, "ERR") ;
@@ -418,8 +425,13 @@ namespace ib.essetre.integration.egaltech
sLastMsg = sMsg ;
}
}
// se edit (possibile modifica utente)
if ( bEdit) {
pattInfo.SetTaskState(cutId, 0, PatternInfo.Results.NONE, "") ;
break ;
}
// gestione errore per feature identificata
if ( taskId != 0) {
else if ( taskId != 0) {
// verifiche per feature con più parti
if ( dctErr.TryGetValue( taskId, out PatternInfo.Results resCurrExe)) {
if ( resExe > resCurrExe) {
@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ib.essetre.integration.egaltech</RootNamespace>
<AssemblyName>ib.essetre.integration.egaltech</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
@@ -23,6 +23,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>AnyCPU</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
@@ -33,6 +34,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="ib.essetre.integration">
@@ -36,5 +36,5 @@ using System.Runtime.InteropServices;
// È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build
// usando l'asterisco '*' come illustrato di seguito:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.6.4.4")]
[assembly: AssemblyFileVersion("2.6.4.4")]
[assembly: AssemblyVersion("2.6.7.5")]
[assembly: AssemblyFileVersion("2.6.7.5")]
Binary file not shown.
Binary file not shown.