OmagCUT :
- aggiunto disegno per ventosa - correzione per tagli inclinati di lama su esterno archi - migliorie a pagina lucidature e aggiunto bit di protezione su chiave relativo - aggiunte variabili stato ventose per Digitale5 con ventose laterali.
This commit is contained in:
@@ -44,14 +44,12 @@ Public Class ControlsMachineButtonUC
|
||||
Private Sub ControlsMachineButtonUC_Loaded(sender As Object, e As RoutedEventArgs) Handles Me.Loaded
|
||||
If m_bFirst Then
|
||||
m_DirectCutPage = m_MainWindow.m_DirectCutPageUC
|
||||
'MachineButton.m_DirectCutPage = m_DirectCutPage
|
||||
'MachineButton.m_CN = m_CN
|
||||
m_bFirst = False
|
||||
|
||||
' Lettura configurazione bottoni da Ini di macchina
|
||||
Dim m_nCount As Integer = 1
|
||||
Dim bFoundedBtn As Boolean = True
|
||||
While bFoundedBtn
|
||||
Dim bFoundBtn As Boolean = True
|
||||
While bFoundBtn
|
||||
Dim sNameBtn As String = K_BUTTON & (m_nCount).ToString()
|
||||
Dim sMachineButtonType As String = String.Empty
|
||||
Dim sTImageName As String = String.Empty
|
||||
@@ -59,9 +57,8 @@ Public Class ControlsMachineButtonUC
|
||||
Dim sFImageName As String = String.Empty
|
||||
Dim sFLuaScriptName As String = String.Empty
|
||||
Dim sStateFlag As String = String.Empty
|
||||
bFoundedBtn = GetPrivateProfileMachineButtons(S_CONTROLMACHBUTTONS, sNameBtn, sMachineButtonType, sTImageName, sTLuaScriptName, sFImageName, sFLuaScriptName, sStateFlag, m_MainWindow.GetMachIniFile())
|
||||
If bFoundedBtn Then 'And
|
||||
'(Not m_bOnlyLaser Or sButtonStateFlag = sNameBtn) Then
|
||||
bFoundBtn = GetPrivateProfileMachineButtons(S_CONTROLMACHBUTTONS, sNameBtn, sMachineButtonType, sTImageName, sTLuaScriptName, sFImageName, sFLuaScriptName, sStateFlag, m_MainWindow.GetMachIniFile())
|
||||
If bFoundBtn Then
|
||||
m_nCount += 1
|
||||
Dim ButtonToAdd As MachineButton = Nothing
|
||||
Select Case sMachineButtonType
|
||||
|
||||
Reference in New Issue
Block a user