models

package
v0.0.0-...-846844b Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoltMachine

type BoltMachine struct {
	PlantName             string  `json:"plantName"`
	ProductionLine        string  `json:"productionLine"`
	ShiftNumber           int     `json:"shiftNumber"`
	BatchNumber           int     `json:"batchNumber"`
	TotalPartsMade        int     `json:"totalPartsMade"`
	DefectivePartsMade    int     `json:"defectivePartsMade"`
	MachineHealth         string  `json:"machineHealth"`
	OilLevel              float64 `json:"oilLevel"`
	Temperature           float64 `json:"temperature"`
	CpuLoad               float64 `json:"cpuLoad"`
	SystemDiskUsedPercent int     `json:"systemDiskUsedPercent"`
	SystemDiskFreePercent int     `json:"systemDiskFreePercent"`
	MemoryUsed            int64   `json:"memoryUsed"`
	MemoryFree            int64   `json:"memoryFree"`
	Format                string  `json:"format"`
}

type BoltMachineTelemetryMessage

type BoltMachineTelemetryMessage struct {
	PlantName             string    `json:"plantName"`
	ProductionLine        string    `json:"productionLine"`
	ShiftNumber           int       `json:"shiftNumber"`
	BatchNumber           int       `json:"batchNumber"`
	MessageTimestamp      time.Time `json:"messageTimestamp"`
	TotalPartsMade        int       `json:"totalPartsMade"`
	DefectivePartsMade    int       `json:"defectivePartsMade"`
	MachineHealth         string    `json:"machineHealth"`
	OilLevel              float64   `json:"oilLevel"`
	Temperature           float64   `json:"temperature"`
	CpuLoad               float64   `json:"cpuLoad"`
	SystemDiskUsedPercent int       `json:"systemDiskUsedPercent"`
	SystemDiskFreePercent int       `json:"systemDiskFreePercent"`
	MemoryUsed            int64     `json:"memoryUsed"`
	MemoryFree            int64     `json:"memoryFree"`
}

type CentralApplication

type CentralApplication struct {
	ProvisioningURL    string `json:"provisioningUrl"`    // DPS provisioning URL.
	IDScope            string `json:"idScope"`            // the id scope of the provisioning endpoint.
	MasterKey          string `json:"masterKey"`          // the master SAS key of the provisioning endpoint.
	BoltMachineModelID string `json:"boltMachineModelID"` // the bolt machine device model ID.
}

type Properties

type Properties struct {
	IsMachineOn        bool `json:"isMachineOn"`
	TelemetryFrequency int  `json:"telemetryFrequency"`
	ShiftDurationHours int  `json:"shiftDurationHours"`
	BatchDurationHours int  `json:"batchDurationHours"`
}

type ReportedProperties

type ReportedProperties struct {
	HostName  string    `json:"hostName"`
	IPAddress string    `json:"ipAddress"`
	HostTime  time.Time `json:"hostTime"`
}

Jump to

Keyboard shortcuts

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