package
Version:
v0.0.0-...-323b3ba
Opens a new window with list of versions in this module.
Published: Aug 21, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
type AssetEvent struct {
AssetName string `json:"AssetName"`
AssociatedData []AssociatedData `json:"AssociatedData"`
EventName string `json:"EventName"`
EventStatus string `json:"EventStatus"`
Timestamp time.Time `json:"Timestamp"`
CreatedUser string `json:"CreatedUser"`
}
type AssociatedData struct {
Name string `json:"Name"`
Quality string `json:"Quality"`
Timestamp time.Time `json:"Timestamp"`
Value float64 `json:"Value"`
}
type Events struct {
AssetEvents []AssetEvent `json:"Events"`
}
type IService interface {
CreateAlarm(event string, oemAlarm string)
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.