Documentation ¶
Index ¶
- Constants
- func ServiceIdToTopic(id string) string
- type Aspect
- type AspectNode
- type Attribute
- type Characteristic
- type Concept
- type ConceptWithCharacteristics
- type Configurable
- type Content
- type ContentVariable
- type Device
- type DeviceClass
- type DeviceType
- type DeviceTypeCriteria
- type DeviceTypeSelectable
- type Envelope
- type FilterCriteria
- type Function
- type Hub
- type Interaction
- type Location
- type Metadata
- type Protocol
- type ProtocolMsg
- type ProtocolRequest
- type ProtocolResponse
- type ProtocolSegment
- type RemoteInfo
- type ResourceRights
- type Service
- type ServicePathOption
- type TaskInfo
- type Trace
- type Type
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 Optimistic = "optimistic"
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 ¶
This section is empty.
Functions ¶
func ServiceIdToTopic ¶
Types ¶
type AspectNode ¶
type AspectNode = models.AspectNode
type Characteristic ¶
type Characteristic = models.Characteristic
type ConceptWithCharacteristics ¶
type ConceptWithCharacteristics = models.ConceptWithCharacteristics
type Configurable ¶
type Configurable struct { Path string `json:"path"` CharacteristicId string `json:"characteristic_id"` AspectNode AspectNode `json:"aspect_node"` FunctionId string `json:"function_id"` Value interface{} `json:"value,omitempty"` Type Type `json:"type,omitempty"` }
type ContentVariable ¶
type ContentVariable = models.ContentVariable
type DeviceClass ¶
type DeviceClass = models.DeviceClass
type DeviceType ¶
type DeviceType = models.DeviceType
type DeviceTypeCriteria ¶
type DeviceTypeCriteria struct { DeviceTypeId string `json:"device_type_id"` ServiceId string `json:"service_id"` ContentVariableId string `json:"content_variable_id"` ContentVariablePath string `json:"content_variable_path"` FunctionId string `json:"function_id"` Interaction string `json:"interaction"` IsControllingFunction bool `json:"controlling_function"` DeviceClassId string `json:"device_class_id"` AspectId string `json:"aspect_id"` CharacteristicId string `json:"characteristic_id"` IsVoid bool `json:"is_void"` Value interface{} `json:"value"` Type Type `json:"type"` IsLeaf bool `json:"is_leaf"` IsInput bool `json:"is_input"` }
type DeviceTypeSelectable ¶
type DeviceTypeSelectable struct { DeviceTypeId string `json:"device_type_id,omitempty"` Services []Service `json:"services,omitempty"` ServicePathOptions map[string][]ServicePathOption `json:"service_path_options,omitempty"` }
type FilterCriteria ¶
type Interaction ¶
type Interaction = models.Interaction
type Metadata ¶
type Metadata struct { Version int64 `json:"version,omitempty"` Device Device `json:"device"` Service Service `json:"service"` Protocol Protocol `json:"protocol"` OutputPath string `json:"output_path,omitempty"` //only for version >= 3 OutputFunctionId string `json:"output_function_id,omitempty"` //only for version >= 3 if no OutputPath is known OutputAspectNode *AspectNode `json:"output_aspect_node,omitempty"` //only for version >= 3 if no OutputPath is known InputCharacteristic string `json:"input_characteristic,omitempty"` OutputCharacteristic string `json:"output_characteristic,omitempty"` ContentVariableHints []string `json:"content_variable_hints,omitempty"` ResponseTo string `json:"response_to,omitempty"` ErrorTo string `json:"error_to,omitempty"` }
type ProtocolMsg ¶
type ProtocolMsg struct { Request ProtocolRequest `json:"request"` Response ProtocolResponse `json:"response"` TaskInfo TaskInfo `json:"task_info"` Metadata Metadata `json:"metadata"` Trace []Trace `json:"trace,omitempty"` }
type ProtocolRequest ¶
type ProtocolResponse ¶
type ProtocolSegment ¶
type ProtocolSegment = models.ProtocolSegment
type RemoteInfo ¶
type ResourceRights ¶
type ResourceRights = permv2.ResourcePermissions
type ServicePathOption ¶
type ServicePathOption struct { ServiceId string `json:"service_id"` Path string `json:"path"` CharacteristicId string `json:"characteristic_id"` AspectNode AspectNode `json:"aspect_node"` FunctionId string `json:"function_id"` IsVoid bool `json:"is_void"` Value interface{} `json:"value,omitempty"` IsControllingFunction bool `json:"is_controlling_function"` Configurables []Configurable `json:"configurables,omitempty"` Type Type `json:"type,omitempty"` }
type TaskInfo ¶
type TaskInfo struct { WorkerId string `json:"worker_id"` TaskId string `json:"task_id"` ProcessInstanceId string `json:"process_instance_id"` ProcessDefinitionId string `json:"process_definition_id"` CompletionStrategy string `json:"completion_strategy"` Time string `json:"time"` TenantId string `json:"tenant_id"` }
Click to show internal directories.
Click to hide internal directories.