Files
Nuvolar/Nuvolar.Module/BusinessObjects/Business/Products/ProductsGantRows.vb
T
2018-06-25 20:15:36 +02:00

107 lines
3.2 KiB
VB.net

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
<DefaultClassOptions(), NavigationItem(False), CreatableItem(False)>
Public Class ProductsGantRows
Inherits BaseObject
Private _ProductsGant As ProductsGant
Private _Customers As Customers
Private _Products As Products
Private _CalculatedRotation As Double 'Kalkulált forgási sebesség
Private _CalculatedRotationW52 As Double 'Kalkulált forgási sebesség 52hétre vonatkozó
Private _ManualRotation As Double 'Manuális forgási sebesség
Private _QTT_Minimum As Double 'Minimális mennyiség az ügyfélnél
Private _QTT_Critical As Double 'Kritikus mennyiség az ügyfélnél
Public Sub New(ByVal session As Session)
MyBase.New(session)
End Sub
Public Overrides Sub AfterConstruction()
MyBase.AfterConstruction()
End Sub
Property ProductsGant As ProductsGant
Get
Return _ProductsGant
End Get
Set(value As ProductsGant)
SetPropertyValue("ProductsGant", _ProductsGant, value)
End Set
End Property
Property Customers As Customers
Get
Return _Customers
End Get
Set(value As Customers)
SetPropertyValue("Customers", _Customers, value)
End Set
End Property
Property Products As Products
Get
Return _Products
End Get
Set(value As Products)
SetPropertyValue("Products", _Products, value)
End Set
End Property
Property CalculatedRotation As Double
Get
Return _CalculatedRotation
End Get
Set(value As Double)
SetPropertyValue("CalculatedRotation", _CalculatedRotation, value)
End Set
End Property
Property CalculatedRotationW52 As Double
Get
Return _CalculatedRotationW52
End Get
Set(value As Double)
SetPropertyValue("CalculatedRotationW52", _CalculatedRotationW52, value)
End Set
End Property
Property ManualRotation As Double
Get
Return _ManualRotation
End Get
Set(value As Double)
SetPropertyValue("ManualRotation", _ManualRotation, value)
End Set
End Property
Property QTT_Minimum As Double
Get
Return _QTT_Minimum
End Get
Set(value As Double)
SetPropertyValue("QTT_Minimum", _QTT_Minimum, value)
End Set
End Property
Property QTT_Critical As Double
Get
Return _QTT_Critical
End Get
Set(value As Double)
SetPropertyValue("QTT_Critical", _QTT_Critical, value)
End Set
End Property
'ReadOnly
<VisibleInListView(False)>
<VisibleInLookupListView(False)>
<Association("ProductsGantRows - ProductsGantRowsBar", GetType(ProductsGantRowsBar))>
ReadOnly Property ProductsGantRowsBar As XPCollection(Of ProductsGantRowsBar)
Get
Return GetCollection(Of ProductsGantRowsBar)("ProductsGantRowsBar")
End Get
End Property
End Class