f23608580f
- gestito posizionamento e dimensione finestra - aggiunta funzione SplitStrign per lua - aggiunta barra sopra in MainWindow - gestita finestra con riposizionamento, dimensioni, ecc - gestita esecuzione asincrona - aggiunta verifica esecuzione macchina stati
26 lines
641 B
VB.net
26 lines
641 B
VB.net
Public Class FiniteStateMachine
|
|
|
|
Private m_bLuaExecuted As Boolean
|
|
Public ReadOnly Property bLuaExecuted As Boolean
|
|
Get
|
|
Return m_bLuaExecuted
|
|
End Get
|
|
End Property
|
|
|
|
Private m_State As Integer
|
|
|
|
Private m_sLuaPath As String
|
|
Friend ReadOnly Property sLuaPath As String
|
|
Get
|
|
Return m_sLuaPath
|
|
End Get
|
|
End Property
|
|
|
|
Sub New(sLuaPath As String)
|
|
m_sLuaPath = sLuaPath
|
|
m_bLuaExecuted = LuaManager.ExecFile(Map.refMainWindowVM.MainWindowM.sScriptDir & "\" & sLuaPath)
|
|
EgtOutLog(m_sLuaPath & " execution " & If(m_bLuaExecuted, "ok", "failed"))
|
|
End Sub
|
|
|
|
End Class
|