added http interface
This commit is contained in:
@@ -1,5 +1,55 @@
|
||||
#package jada_gyro
|
||||
|
||||
|
||||
+WebRoot = {
|
||||
Class = HttpObjectBrowser
|
||||
Root = "."
|
||||
+ObjectBrowse = {
|
||||
Class = HttpObjectBrowser
|
||||
Root = "/"
|
||||
}
|
||||
+ResourcesHtml = {
|
||||
Class = HttpDirectoryResource
|
||||
BaseDir = "/opt/marte2-core/Resources/HTTP"
|
||||
}
|
||||
+Monitor = {
|
||||
Class = HttpDataMonitor
|
||||
Plot0 = {
|
||||
APS_HVON = {
|
||||
Component = RTApp.Data.DDB3
|
||||
Signal = "APS_HVON"
|
||||
}
|
||||
APS_SWON = {
|
||||
Component = RTApp.Data.DDB3
|
||||
Signal = "APS_SWON"
|
||||
}
|
||||
BPS_HVON = {
|
||||
Component = RTApp.Data.DDB3
|
||||
Signal = "BPS_HVON"
|
||||
}
|
||||
BPS_SWON = {
|
||||
Component = RTApp.Data.DDB3
|
||||
Signal = "BPS_SWON"
|
||||
}
|
||||
HVPS_HVON = {
|
||||
Component = RTApp.Data.DDB3
|
||||
Signal = "MHVPS_HVON"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+WebServer = {
|
||||
Class = HttpService
|
||||
Port = 8084
|
||||
WebRoot = WebRoot
|
||||
Timeout = 0
|
||||
ListenMaxConnections = 255
|
||||
AcceptTimeout = 1000
|
||||
MaxNumberOfThreads = 8
|
||||
MinNumberOfThreads = 1
|
||||
}
|
||||
|
||||
//# Main Operational State Machine
|
||||
+StateMachine = {
|
||||
Class = StateMachine
|
||||
|
||||
Reference in New Issue
Block a user