e6d051c9a2
- Primo rilascio
52 lines
1.4 KiB
VB.net
52 lines
1.4 KiB
VB.net
Imports EgtWPFLib5
|
|
|
|
Module Map
|
|
|
|
Private m_refMainWindowVM As MainWindowVM
|
|
Private m_refUnloadingAreaVM As UnloadingAreaVM
|
|
|
|
#Region "Get"
|
|
|
|
Public ReadOnly Property refMainWindowVM As MainWindowVM
|
|
Get
|
|
Return m_refMainWindowVM
|
|
End Get
|
|
End Property
|
|
|
|
Public ReadOnly Property refUnloadingAreaVM As UnloadingAreaVM
|
|
Get
|
|
Return m_refUnloadingAreaVM
|
|
End Get
|
|
End Property
|
|
|
|
#End Region ' Get
|
|
|
|
#Region "Set"
|
|
|
|
'Friend Function SetRefStatusBarVM(StatusBarVM As StatusBarVM) As Boolean
|
|
' LibMap.SetRefStatusBarVM(StatusBarVM)
|
|
' Return Not IsNothing(LibMap.refStatusBarVM)
|
|
'End Function
|
|
|
|
Friend Function SetRefUnloadingAreaVM(UnloadingAreaVM As UnloadingAreaVM) As Boolean
|
|
m_refUnloadingAreaVM = UnloadingAreaVM
|
|
Return Not IsNothing(m_refUnloadingAreaVM)
|
|
End Function
|
|
|
|
#End Region ' Set
|
|
|
|
#Region "Init"
|
|
|
|
Friend Function BeginInit(MainWindowVM As MainWindowVM) As Boolean
|
|
m_refMainWindowVM = MainWindowVM
|
|
Return Not IsNothing(m_refMainWindowVM)
|
|
End Function
|
|
Friend Function EndInit() As Boolean
|
|
' Verifico se tutti i pezzi necessari sono stati caricati
|
|
Return Not IsNothing(m_refMainWindowVM) AndAlso Not IsNothing(m_refUnloadingAreaVM) ' AndAlso LibMap.EndInit()
|
|
End Function
|
|
|
|
#End Region ' Init
|
|
|
|
End Module
|