2022-09-06 18:11:04 +00:00
|
|
|
package hcp_link
|
|
|
|
|
|
|
|
// SessionStatus is used to express the current status of the SCADA session.
|
|
|
|
type SessionStatus = string
|
|
|
|
|
|
|
|
const (
|
|
|
|
// Connected HCP link connection status when it is connected
|
|
|
|
Connected = SessionStatus("connected")
|
|
|
|
// Disconnected HCP link connection status when it is disconnected
|
|
|
|
Disconnected = SessionStatus("disconnected")
|
|
|
|
)
|
|
|
|
|
|
|
|
type WrappedHCPLinkVault struct {
|
|
|
|
HCPLinkVaultInterface
|
|
|
|
}
|
|
|
|
|
|
|
|
type HCPLinkVaultInterface interface {
|
|
|
|
Shutdown() error
|
|
|
|
GetScadaSessionStatus() string
|
2022-09-12 15:10:01 +00:00
|
|
|
GetConnectionStatusMessage(string) string
|
2022-09-06 18:11:04 +00:00
|
|
|
}
|