model

package
v0.0.0-...-323b3ba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2024 License: GPL-3.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetEvent

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

type AssociatedData struct {
	Name      string    `json:"Name"`
	Quality   string    `json:"Quality"`
	Timestamp time.Time `json:"Timestamp"`
	Value     float64   `json:"Value"`
}

type Events

type Events struct {
	AssetEvents []AssetEvent `json:"Events"`
}

type IService

type IService interface {
	CreateAlarm(event string, oemAlarm string)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL