Projektdateien hinzufügen.
This commit is contained in:
36
ECM.JobRunner.Windows/WCF/Methods/GetJobConfig.vb
Normal file
36
ECM.JobRunner.Windows/WCF/Methods/GetJobConfig.vb
Normal file
@@ -0,0 +1,36 @@
|
||||
Imports System.Runtime.Serialization
|
||||
Imports DigitalData.Modules.Database
|
||||
Imports DigitalData.Modules.Logging
|
||||
Imports DigitalData.Modules.Language
|
||||
Imports ECM.JobRunner.Common
|
||||
|
||||
Public Class GetJobConfig
|
||||
Public Class GetJobConfigMethod
|
||||
Inherits Base.BaseMethod
|
||||
|
||||
Public Sub New(pLogConfig As LogConfig, pDatabase As MSSQLServer, pState As State)
|
||||
MyBase.New(pLogConfig, pDatabase, pState)
|
||||
End Sub
|
||||
|
||||
Public Function Run() As GetJobConfigResponse
|
||||
Return New GetJobConfigResponse With {
|
||||
.JobTypes = State.JobTypes,
|
||||
.JobDefinitions = State.JobDefinitions
|
||||
}
|
||||
End Function
|
||||
|
||||
|
||||
End Class
|
||||
|
||||
Public Class GetJobConfigResponse
|
||||
Inherits Base.BaseResponse
|
||||
|
||||
<DataMember>
|
||||
Public Property JobTypes As List(Of JobType)
|
||||
|
||||
<DataMember>
|
||||
Public Property JobDefinitions As List(Of JobDefinition)
|
||||
End Class
|
||||
|
||||
End Class
|
||||
|
||||
Reference in New Issue
Block a user