Compare commits

..

17 Commits

Author SHA1 Message Date
Dario Sassi 68c3acbaaf OmagPHOTO 3.1c3 :
- ricompilazione con cambio versione.
2026-03-24 10:11:22 +01:00
Dario Sassi 4046f87050 OmagPHOTO 3.1a1 :
- aggiornamento annuale versione con ricompilazione.
2026-01-09 16:49:19 +01:00
Dario Sassi f1ffdc6929 OmagPHOTO 2.7j1 :
- corretti bottoni per box "Salvare le modifiche correnti ?" (ora YesNo)
- ricompilazione per nuova EgtPHOTOLib).
2025-10-16 20:06:40 +02:00
Dario Sassi 4288052f8b OmagPHOTO :
- miglioria ricavata da ramo develop.
2025-10-06 16:41:28 +02:00
Dario Sassi e8f0322b42 OmagPHOTO 2.7i1 :
- in aboutboc ora logo Egalware.
2025-10-06 16:33:21 +02:00
Dario Sassi 5eac133d91 OmagPHOTO 2.7g1 :
- ricompilazione con cambio versione e codici protezione.
2025-07-09 12:37:35 +02:00
Nicola Pievani 40bcf93e79 Prima ricerca con tutti campi vuoti 2024-09-27 17:13:15 +02:00
Nicola Pievani 7c4b85a3f2 Merge branch 'master' of https://gitlab.steamware.net/egaltech/OmagPHOTO 2024-09-26 19:50:25 +02:00
Nicola Pievani 5eca816bfc Merge branch 'develop' 2024-09-26 19:50:09 +02:00
Nicola Pievani f0a2826174 aggiunte nuove icone 2024-09-26 19:49:53 +02:00
Dario Sassi 0aa0268368 OmagPHOTO 2.6i1 :
- ricompilazione con cambio versione.
2024-09-21 12:19:08 +02:00
Nicola Pievani 49078b7aa6 Merge commit '36ea7e64040c7be2255ebc8753c6383186a6344a' 2024-03-04 08:52:59 +01:00
Nicola Pievani 36ea7e6404 Aggiornamento versione 2.6c1 2024-03-04 08:52:39 +01:00
Nicola Pievani aac0b4c33e Merge commit 'a9540db0b2dac331592ebc959d54ecd096e7440e' 2024-02-13 15:29:24 +01:00
Nicola Pievani a9540db0b2 Migliorata interfaccia OptionPanel 2024-02-13 15:29:12 +01:00
Nicola Pievani a41230f4b9 Merge commit '3ec88260c1040922ac4067863e0e6cf4fc67f4e6' into develop 2024-02-13 15:16:38 +01:00
Nicola Pievani 0d1cc18716 Merge commit 'ca0466e60f409f2f5dbe22708a721790b668b54d' 2023-08-03 19:19:27 +02:00
20 changed files with 72 additions and 28 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
<Window x:Class="AboutBoxV"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="AboutBox" Height="320" Width="300" WindowStyle="None" ResizeMode="NoResize"
Title="AboutBox" Height="320" Width="440" WindowStyle="None" ResizeMode="NoResize"
ShowInTaskbar="False" WindowStartupLocation="CenterOwner">
<Border BorderThickness="2" BorderBrush="LightBlue">
@@ -31,7 +31,7 @@
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Border Name="LogoBrd" Grid.Column="1" Background="White">
<Image Source="/Resources/LogoOmag.jpg" Stretch="Uniform"/>
<Image Source="/Resources/Logo-Egalware.png" Stretch="Uniform"/>
</Border>
</Grid>
<TextBlock Name="DescriptionLbl" Grid.Column="1" Grid.Row="3" HorizontalAlignment="Center"
+1 -17
View File
@@ -100,23 +100,7 @@ Module ConstIni
Public Const K_THICKNESS As String = "Thickness"
Public Const K_WAREHAOUSE As String = "WareHouse"
Public Const S_CAMERA As String = "Camera"
Public Const K_CAM_COUNT As String = "Count"
Public Const K_CAM_EXEPATH As String = "ExePath"
Public Const K_CAM_IMAGE As String = "Image"
Public Const K_CAM_INFO As String = "Info"
Public Const K_CAM_RESULT As String = "Result"
Public Const K_CAM_CONTOUR As String = "Contour"
Public Const K_CAM_EXEPATH2 As String = "ExePath2"
Public Const K_CAM_IMAGE2 As String = "Image2"
Public Const K_CAM_INFO2 As String = "Info2"
Public Const K_CAM_RESULT2 As String = "Result2"
Public Const K_CAM_CONTOUR2 As String = "Contour2"
Public Const K_CAM_THRESHOLD As String = "Threshold"
Public Const K_CAM_TOLERANCE As String = "Tolerance"
Public Const K_CAM_TIMEOUT As String = "Timeout"
Public Const K_CAM_TABLEDIMX As String = "TableDimX"
Public Const K_CAM_TABLEDIMY As String = "TableDimY"
' La macchina fotografica (Camera) è gestita da EgtPHOTOLIB
Public Const S_MATERIALS As String = "Materials"
Public Const K_MATERIAL As String = "Material"
+4 -3
View File
@@ -209,8 +209,8 @@ Public Class MainWindowM
Dim bNetHwKey As Boolean = (GetMainPrivateProfileInt(S_GENERAL, K_NETKEY, 0) = 1)
EgtSetNetHwKey(bNetHwKey)
' Recupero livello e opzioni della chiave
Dim bKey As Boolean = EgtGetKeyLevel(9423, 2602, 1, m_nKeyLevel) And
EgtGetKeyOptions(9423, 2602, 1, m_nKeyOptions)
Dim bKey As Boolean = EgtGetKeyLevel(9423, 3103, 1, m_nKeyLevel) And
EgtGetKeyOptions(9423, 3103, 1, m_nKeyOptions)
' Verifico abilitazione prodotto
Dim bProd As Boolean = GetKeyOption(KEY_OPT.PHOTO_BASE)
' Inizializzazione generale di EgtInterface
@@ -288,6 +288,7 @@ Public Class MainWindowM
' Info su opzioni chiave
EgtOutLog("KeyOptions : " & bKey.ToString() & " " & m_nKeyOptions.ToString() & " " & bProd.ToString())
' Imposto parametri EgtPHOTOLib
EgtPHOTOLib.MainData.SetDebugLevel(m_nDebug)
EgtPHOTOLib.MainData.SetConfigDir(m_sConfigDir)
EgtPHOTOLib.MainData.SetKeyLevel(m_nKeyLevel)
EgtPHOTOLib.MainData.SetKeyOptions(m_nKeyOptions)
@@ -308,7 +309,7 @@ Public Class MainWindowM
AddHandler m_RefreshTimer.Tick, AddressOf RefreshTimer_Tick
m_RefreshTimer.Interval = TimeSpan.FromMilliseconds(2000)
m_RefreshTimer.Start()
' sec onfigurato lancio il controllo di uno specifico direttorio per leggere quando scattare una nuova foto
' se configurato lancio il controllo di uno specifico direttorio per leggere quando scattare una nuova foto
Dim sClidkDir As String = String.Empty
Dim bEnableLineProduction As Boolean = GetMainPrivateProfileString(S_AUTOCLICK, K_CLICKDIR, "", sClidkDir) <> 0
If bEnableLineProduction Then
+1 -1
View File
@@ -121,7 +121,7 @@ Public Class MainWindowVM
Not IsNothing(EgtPHOTOLib.PhotoMap.refProjectVM.SelSlab) AndAlso EgtPHOTOLib.PhotoMap.refProjectVM.SelSlab.IsModified() Then
' 91125=Salvare le modifiche correnti?
' 91126=Avviso
If MessageBox.Show(EgtMsg(91125), EgtMsg(91122), MessageBoxButton.OKCancel, MessageBoxImage.Warning) = MessageBoxResult.OK Then
If MessageBox.Show(EgtMsg(91125), EgtMsg(91122), MessageBoxButton.YesNo, MessageBoxImage.Warning) = MessageBoxResult.OK Then
EgtPHOTOLib.PhotoMap.refOptionPanelVM.Ok(Nothing)
End If
End If
+3 -3
View File
@@ -19,7 +19,7 @@ Imports System.Windows
#End If
<Assembly: AssemblyCompany("Egalware s.r.l.")>
<Assembly: AssemblyProduct("OmagPHOTO")>
<Assembly: AssemblyCopyright("Copyright © 2017-2023 by Egalware s.r.l.")>
<Assembly: AssemblyCopyright("Copyright © 2017-2026 by Egalware s.r.l.")>
<Assembly: AssemblyTrademark("")>
<Assembly: ComVisible(false)>
@@ -59,5 +59,5 @@ Imports System.Windows
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("2.6.2.1")>
<Assembly: AssemblyFileVersion("2.6.2.1")>
<Assembly: AssemblyVersion("3.1.3.3")>
<Assembly: AssemblyFileVersion("3.1.3.3")>
+33
View File
@@ -219,6 +219,39 @@
<ItemGroup>
<Resource Include="Resources\InstrumentPanel\Matitina.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\DetailPage\Save.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\DetailPage\Print.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\DetailPage\Elimina.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\DetailPage\Cancel.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\DetailPage\Confirm.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\DetailPage\Reset.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\DetailPage\Pencil.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\DetailPage\Polygon.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\DetailPage\Rubber.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\DetailPage\ZoomAll.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\Logo-Egalware.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
<PropertyGroup>
<PostBuildEvent>IF "$(PlatformName)"=="x86" IF "$(ConfigurationName)" == "Release" copy $(TargetPath) c:\EgtProg\OmagPHOTO\OmagPHOTOR32.exe
+5 -2
View File
@@ -44,7 +44,7 @@
<UniformGrid Columns="2">
<TextBlock Text="{Binding ThicknessToleranceMsg}"/>
<EgtWPFLib5:EgtTextBox Text="{Binding ThicknessTolerance}"
Margin="13,0,0,0"
Margin="36,0,0,0"
TextAlignment="Right"/>
</UniformGrid>
</GroupBox>
@@ -58,7 +58,7 @@
<ColumnDefinition Width="3*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<TextBlock Text="{Binding LabelFileName}"/>
<TextBlock Text="{Binding LabelFileName}" VerticalAlignment="Center"/>
<Button Content="{Binding BrowseMsg}" Grid.Column="1"
Command="{Binding BrowseCommand}"
Style="{StaticResource OptionPanel_TextButton}"
@@ -112,6 +112,9 @@
<ListBox ItemsSource="{Binding MaterialList}"
SelectedItem="{Binding SelMaterial}"
Background="{StaticResource Omag_Black}"
Foreground="{StaticResource Omag_White}"
BorderThickness="0"
Grid.RowSpan="2"
Margin="0,0,0,5"
Height="150"/>
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Before

Width:  |  Height:  |  Size: 703 B

After

Width:  |  Height:  |  Size: 703 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 637 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

+11
View File
@@ -7,6 +7,8 @@ Imports EgtPHOTOLib
Public Class TopCommandBarVM
Inherits VMBase
Private m_bFirstResearch As Boolean = True
#Region "FIELDS & PROPERTIES"
Friend m_MruFiles As New MruList
@@ -23,7 +25,16 @@ Public Class TopCommandBarVM
End Get
Set(value As Boolean)
If value Then
If m_bFirstResearch Then
' Resetto la data corrente per la prima ricerca
PhotoMap.refSearchPanelVM.StartAddedDate = Nothing
PhotoMap.refSearchPanelVM.NotifyPropertyChanged("StartAddedDate")
PhotoMap.refSearchPanelVM.EndAddedDate = Nothing
PhotoMap.refSearchPanelVM.NotifyPropertyChanged("EndAddedDate")
m_bFirstResearch = False
End If
PhotoMap.refSearchPanelVM.InitSearchPanel()
Else
PhotoMap.refListPageVM.InitListPage()
End If
+12
View File
@@ -748,4 +748,16 @@
<!-- ______________________________________________________________________________________________________________________________________________ -->
<!-- GroupBox -->
<Style TargetType="{x:Type GroupBox}" BasedOn="{StaticResource {x:Type GroupBox}}">
<Setter Property="BorderThickness" Value="{StaticResource BorderGpBx_Thickness}"/>
<Setter Property="BorderBrush" Value="{StaticResource Omag_White}"/>
<Setter Property="Foreground" Value="{StaticResource Omag_White}"/>
<Setter Property="Margin" Value="0,0,0,0"/>
</Style>
<!-- ______________________________________________________________________________________________________________________________________________ -->
</ResourceDictionary>