f6638eea9e
- Implementato uso warehouse per definire grezzi - Gestite colonne readonly durante la varifica/simulazione - Correzioni e miglioramenti
81 lines
1.9 KiB
VB.net
81 lines
1.9 KiB
VB.net
Imports System.Collections.ObjectModel
|
|
Imports EgtBEAMWALL.Core
|
|
Imports EgtUILib
|
|
|
|
Public Class PParameterListVM
|
|
|
|
#Region "FIELDS & PROPERTIES"
|
|
|
|
Private m_colPParam_Value As EgtDataGridColumn
|
|
Public ReadOnly Property colPParam_Value As EgtDataGridColumn
|
|
Get
|
|
Return m_colPParam_Value
|
|
End Get
|
|
End Property
|
|
|
|
Private m_PParameterListColumns As New ObservableCollection(Of EgtDataGridColumn)
|
|
Public Property PParameterListColumns As ObservableCollection(Of EgtDataGridColumn)
|
|
Get
|
|
Return m_PParameterListColumns
|
|
End Get
|
|
Set(value As ObservableCollection(Of EgtDataGridColumn))
|
|
m_PParameterListColumns = value
|
|
End Set
|
|
End Property
|
|
|
|
#Region "Messages"
|
|
|
|
Public ReadOnly Property Custom_Msg As String
|
|
Get
|
|
Return EgtMsg(61801)
|
|
End Get
|
|
End Property
|
|
|
|
Public ReadOnly Property NAM_Msg As String
|
|
Get
|
|
Return EgtMsg(61808)
|
|
End Get
|
|
End Property
|
|
|
|
Public ReadOnly Property Description_Msg As String
|
|
Get
|
|
Return EgtMsg(61603)
|
|
End Get
|
|
End Property
|
|
|
|
Public ReadOnly Property Value_Msg As String
|
|
Get
|
|
Return EgtMsg(61615)
|
|
End Get
|
|
End Property
|
|
|
|
Public ReadOnly Property Min_Msg As String
|
|
Get
|
|
Return EgtMsg(61616)
|
|
End Get
|
|
End Property
|
|
Public ReadOnly Property Max_Msg As String
|
|
Get
|
|
Return EgtMsg(61617)
|
|
End Get
|
|
End Property
|
|
|
|
#End Region ' Messages
|
|
|
|
#End Region ' FIELDS & PROPERTIES
|
|
|
|
#Region "CONSTRUCTOR"
|
|
|
|
Sub New()
|
|
' Aggiungo riferimento a Map
|
|
Map.SetRefPParameterListVM(Me)
|
|
' carico le colonne della datagrid
|
|
GetPrivateProfileColumns(S_PARAMETERLIST_P, PParameterListColumns)
|
|
' recupero riferimento a colonna Value
|
|
m_colPParam_Value = PParameterListColumns.FirstOrDefault(Function(x) x.Name = COL_VALUE)
|
|
End Sub
|
|
|
|
#End Region ' CONSTRUCTOR
|
|
|
|
End Class
|