Reconfigure for GIT
This commit is contained in:
+82
@@ -0,0 +1,82 @@
|
||||
Imports System
|
||||
Imports System.ComponentModel
|
||||
|
||||
Imports DevExpress.Xpo
|
||||
Imports DevExpress.Data.Filtering
|
||||
|
||||
Imports DevExpress.ExpressApp
|
||||
Imports DevExpress.Persistent.Base
|
||||
Imports DevExpress.Persistent.BaseImpl
|
||||
Imports DevExpress.Persistent.Validation
|
||||
|
||||
Public Enum eOperationalLogType
|
||||
General = 0
|
||||
HFR = 1
|
||||
End Enum
|
||||
<DefaultClassOptions()> _
|
||||
<CreatableItem(False)> _
|
||||
<NavigationItem(False)> _
|
||||
Public Class OperationalLogParameters
|
||||
Inherits BaseObject
|
||||
|
||||
Private _CustomersFrom As CustomersFrom
|
||||
Private _NumberGenerator As NumberGenerator
|
||||
Private _WorkPlace As WorkPlace 'Munkahely
|
||||
Private _ReportData As ReportData
|
||||
Private _OperationalLogType As eOperationalLogType
|
||||
|
||||
Public Sub New(ByVal session As Session)
|
||||
MyBase.New(session)
|
||||
End Sub
|
||||
Public Overrides Sub AfterConstruction()
|
||||
MyBase.AfterConstruction()
|
||||
OperationalLogType = eOperationalLogType.General
|
||||
End Sub
|
||||
|
||||
<RuleRequiredField("OperationalLogParameters - CustomersFrom", DefaultContexts.Save)> _
|
||||
Property CustomersFrom As CustomersFrom
|
||||
Get
|
||||
Return _CustomersFrom
|
||||
End Get
|
||||
Set(value As CustomersFrom)
|
||||
SetPropertyValue("CustomersFrom", _CustomersFrom, value)
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField("OperationalLogParameters - NumberGenerator", DefaultContexts.Save)> _
|
||||
Property NumberGenerator As NumberGenerator
|
||||
Get
|
||||
Return _NumberGenerator
|
||||
End Get
|
||||
Set(value As NumberGenerator)
|
||||
SetPropertyValue("NumberGenerator", _NumberGenerator, value)
|
||||
End Set
|
||||
End Property
|
||||
<DataSourceCriteria("CustomersFrom='@This.CustomersFrom'")> _
|
||||
<RuleRequiredField("OperationalLogParameters - WorkPlace - RequiredField", DefaultContexts.Save)> _
|
||||
<RuleUniqueValue("OperationalLogParameters - WorkPlace - UniqueValue", DefaultContexts.Save)> _
|
||||
Property WorkPlace As WorkPlace
|
||||
Get
|
||||
Return _WorkPlace
|
||||
End Get
|
||||
Set(value As WorkPlace)
|
||||
SetPropertyValue("WorkPlace", _WorkPlace, value)
|
||||
End Set
|
||||
End Property
|
||||
<RuleRequiredField("OperationalLogParameters - ReportData", DefaultContexts.Save)> _
|
||||
Property ReportData As ReportData
|
||||
Get
|
||||
Return _ReportData
|
||||
End Get
|
||||
Set(value As ReportData)
|
||||
SetPropertyValue("ReportData", _ReportData, value)
|
||||
End Set
|
||||
End Property
|
||||
Property OperationalLogType As eOperationalLogType
|
||||
Get
|
||||
Return _OperationalLogType
|
||||
End Get
|
||||
Set(value As eOperationalLogType)
|
||||
SetPropertyValue("OperationalLogType", _OperationalLogType, value)
|
||||
End Set
|
||||
End Property
|
||||
End Class
|
||||
Reference in New Issue
Block a user