Documentation ¶
Index ¶
Constants ¶
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 PREFIX_RDF = "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>"
View Source
const PREFIX_SES = "PREFIX ses: <https://senergy.infai.org/ontology/> "
PREFIXES
View Source
const RDFS_COMMENT = "http://www.w3.org/2000/01/rdf-schema#comment"
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_CHARACTERISTIC = "https://senergy.infai.org/ontology/Characteristic"
View Source
const SES_ONTOLOGY_CONCEPT = "https://senergy.infai.org/ontology/Concept"
View Source
const SES_ONTOLOGY_CONTROLLING_FUNCTION = "https://senergy.infai.org/ontology/ControllingFunction"
View Source
const SES_ONTOLOGY_COUNT = "https://senergy.infai.org/ontology/Count"
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_BASE_CHARACTERISTIC = "https://senergy.infai.org/ontology/hasBaseCharacteristic"
View Source
const SES_ONTOLOGY_HAS_CHARACTERISTIC = "https://senergy.infai.org/ontology/hasCharacteristic"
View Source
const SES_ONTOLOGY_HAS_CONCEPT = "https://senergy.infai.org/ontology/hasConcept"
View Source
const SES_ONTOLOGY_HAS_DEVICE_CLASS = "https://senergy.infai.org/ontology/hasDeviceClass"
View Source
const SES_ONTOLOGY_HAS_IMAGE = "https://senergy.infai.org/ontology/hasImage"
View Source
const SES_ONTOLOGY_HAS_INTERACTION = "https://senergy.infai.org/ontology/interaction"
View Source
const SES_ONTOLOGY_HAS_MAX_VALUE = "https://senergy.infai.org/ontology/hasMaxValue"
View Source
const SES_ONTOLOGY_HAS_MIN_VALUE = "https://senergy.infai.org/ontology/hasMinValue"
View Source
const SES_ONTOLOGY_HAS_PROTOCOL = "https://senergy.infai.org/ontology/hasProtocol"
View Source
const SES_ONTOLOGY_HAS_SERVICE = "https://senergy.infai.org/ontology/hasService"
View Source
const SES_ONTOLOGY_HAS_SUB_CHARACTERISTIC = "https://senergy.infai.org/ontology/hasSubCharacteristic"
View Source
const SES_ONTOLOGY_HAS_VALUE = "https://senergy.infai.org/ontology/hasValue"
View Source
const SES_ONTOLOGY_HAS_VALUE_TYPE = "https://senergy.infai.org/ontology/hasValueType"
View Source
const SES_ONTOLOGY_LOCATION = "https://senergy.infai.org/ontology/Location"
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 SES_ONTOLOGY_TOTAL_COUNT = "https://senergy.infai.org/ontology/totalCount"
View Source
const SenergyConnectorLocalIdConstraint = "senergy_connector_local_id"
View Source
const URN_DEVICE_TYPE_PREFIX = URN_PREFIX + "device-type:"
View Source
const URN_PREFIX = "urn:infai:ses:"
Variables ¶
This section is empty.
Functions ¶
func SetFunctionRdfType ¶
Types ¶
type AuthAction ¶
type AuthAction string
const ( READ AuthAction = "r" WRITE AuthAction = "w" EXECUTE AuthAction = "x" ADMINISTRATE AuthAction = "a" )
func (AuthAction) String ¶
func (this AuthAction) String() string
type Configurable ¶
type DeviceTypeCriteria ¶
type DeviceTypeCriteria struct { IsIdModified bool `json:"is_id_modified"` PureDeviceTypeId string `json:"pure_device_type_id"` 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 models.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 []models.Service `json:"services,omitempty"` ServicePathOptions map[string][]ServicePathOption `json:"service_path_options,omitempty"` }
type FilterCriteria ¶
type FilterCriteria struct { Interaction models.Interaction `json:"interaction"` FunctionId string `json:"function_id"` DeviceClassId string `json:"device_class_id"` AspectId string `json:"aspect_id"` }
type FunctionList ¶
type ServicePathOption ¶
type ServicePathOption struct { ServiceId string `json:"service_id"` Path string `json:"path"` CharacteristicId string `json:"characteristic_id"` AspectNode models.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 models.Type `json:"type,omitempty"` Interaction models.Interaction `json:"interaction"` }
type TotalCount ¶
type TotalCount struct {
TotalCount int `json:"total_count"`
}
Click to show internal directories.
Click to hide internal directories.