model

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 1 Imported by: 6

Documentation

Index

Constants

View Source
const (
	EVENT             = models.EVENT
	REQUEST           = models.REQUEST
	EVENT_AND_REQUEST = models.EVENT_AND_REQUEST
)
View Source
const (
	String  = models.String
	Integer = models.Integer
	Float   = models.Float
	Boolean = models.Boolean

	List      = models.List
	Structure = models.Structure
)
View Source
const CONTROLLING_FUNCTION_PREFIX = "urn:infai:ses:controlling-function:"
View Source
const MEASURING_FUNCTION_PREFIX = "urn:infai:ses:measuring-function:"
View Source
const RDFS_LABEL = "http://www.w3.org/2000/01/rdf-schema#label"
View Source
const RDF_TYPE = "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
View Source
const SES_ONTOLOGY_ASPECT = "https://senergy.infai.org/ontology/Aspect"
View Source
const SES_ONTOLOGY_CONTROLLING_FUNCTION = "https://senergy.infai.org/ontology/ControllingFunction"

Classes

View Source
const SES_ONTOLOGY_DEVICE_CLASS = "https://senergy.infai.org/ontology/DeviceClass"
View Source
const SES_ONTOLOGY_DEVICE_TYPE = "https://senergy.infai.org/ontology/DeviceType"
View Source
const SES_ONTOLOGY_EXPOSES_FUNCTION = "https://senergy.infai.org/ontology/exposesFunction"
View Source
const SES_ONTOLOGY_HAS_CONCEPT = "https://senergy.infai.org/ontology/hasConcept"

Properties

View Source
const SES_ONTOLOGY_HAS_DEVICE_CLASS = "https://senergy.infai.org/ontology/hasDeviceClass"
View Source
const SES_ONTOLOGY_HAS_SERVICE = "https://senergy.infai.org/ontology/hasService"
View Source
const SES_ONTOLOGY_MEASURING_FUNCTION = "https://senergy.infai.org/ontology/MeasuringFunction"
View Source
const SES_ONTOLOGY_REFERS_TO = "https://senergy.infai.org/ontology/refersTo"
View Source
const SES_ONTOLOGY_SERVICE = "https://senergy.infai.org/ontology/Service"
View Source
const URN_PREFIX = "urn:infai:ses:"

Variables

View Source
var NullCharacteristic = Characteristic{
	Id:   "null",
	Name: "null",
}
View Source
var NullConcept = Concept{
	Id:   "null",
	Name: "null",
}

Functions

This section is empty.

Types

type Aspect

type Aspect = models.Aspect

type AspectNode

type AspectNode = models.AspectNode

type Characteristic

type Characteristic = models.Characteristic

type Concept

type Concept = models.Concept

type Content

type Content = models.Content

type ContentVariable

type ContentVariable = models.ContentVariable

type Device

type Device = models.Device

type DeviceClass

type DeviceClass = models.DeviceClass

type DeviceType

type DeviceType = models.DeviceType

type Function

type Function = models.Function

type Hub

type Hub = models.Hub

type Interaction

type Interaction = models.Interaction

type MarshallingV2RequestData

type MarshallingV2RequestData struct {
	Value            interface{} `json:"value"`
	CharacteristicId string      `json:"characteristic_id"`
	Paths            []string    `json:"paths"`                 //semi-optional, may be determent by FunctionId
	FunctionId       string      `json:"function_id"`           //semi-optional, to determine Paths if they are not set
	AspectNode       *AspectNode `json:"aspect_node,omitempty"` //optional, to determine Paths if they are not set, may be empty if only FunctionId should be searched
}

type Protocol

type Protocol = models.Protocol

type ProtocolSegment

type ProtocolSegment = models.ProtocolSegment

type Service

type Service = models.Service

type Type

type Type = models.Type

Jump to

Keyboard shortcuts

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