fiware

package
v0.0.0-...-11504e0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: AGPL-3.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	//AirQualityObservedTypeName is a type name constant for AirQualityObserved
	AirQualityObservedTypeName string = "AirQualityObserved"
	//AirQualityObservedIDPrefix contains the mandatory prefix for AirQualityObserved ID:s
	AirQualityObservedIDPrefix string = urnPrefix + AirQualityObservedTypeName + ":"
	//BeachTypeName is a type name constant for Beach
	BeachTypeName string = "Beach"
	//BeachIDPrefix contains the mandatory prefix for Beach ID:s
	BeachIDPrefix string = urnPrefix + BeachTypeName + ":"
	//CityWorkTypeName is a type name constant for CityWork
	CityWorkTypeName string = "CityWork"
	//CityWorkIDPrefix contains the mandatory prefix for CityWork ID:s
	CityWorkIDPrefix string = urnPrefix + CityWorkTypeName + ":"
	//DeviceTypeName is a type name constant for Device
	DeviceTypeName string = "Device"
	//DeviceIDPrefix contains the mandatory prefix for Device ID:s
	DeviceIDPrefix string = urnPrefix + DeviceTypeName + ":"
	//DeviceModelTypeName is a type name constant for DeviceModel
	DeviceModelTypeName string = "DeviceModel"
	//DeviceModelIDPrefix contains the mandatory prefix for DeviceModel ID:s
	DeviceModelIDPrefix string = urnPrefix + DeviceModelTypeName + ":"
	//GreenspaceRecordTypeName is a type name constant for GreenspaceRecord
	GreenspaceRecordTypeName string = "GreenspaceRecord"
	//GreenspaceRecordIDPrefix ...
	GreenspaceRecordIDPrefix string = urnPrefix + GreenspaceRecordTypeName + ":"
	//IndoorEnvironmentObservedTypeName is a type name constant for IndoorEnvironmentObserved
	IndoorEnvironmentObservedTypeName string = "IndoorEnvironmentObserved"
	//IndoorEnvironmentObservedIDPrefix contains the mandatory prefix for IndoorEnvironmentObserved ID:s
	IndoorEnvironmentObservedIDPrefix string = urnPrefix + IndoorEnvironmentObservedTypeName + ":"
	//Open311ServiceRequestTypeName is a type name constant for Open311ServiceRequest
	Open311ServiceRequestTypeName string = "Open311ServiceRequest"
	//Open311ServiceRequestIDPrefix ...
	Open311ServiceRequestIDPrefix string = urnPrefix + Open311ServiceRequestTypeName + ":"
	//Open311ServiceTypeTypeName is a type name constant for Open311ServiceType
	Open311ServiceTypeTypeName string = "Open311ServiceType"
	//Open311ServiceTypeIDPrefix ...
	Open311ServiceTypeIDPrefix string = urnPrefix + Open311ServiceTypeTypeName + ":"
	//PointOfInterestTypeName is a type name constant for PointOfInterest
	PointOfInterestTypeName string = "PointOfInterest"
	//PointOfInterestIDPrefix contains the mandatory prefix for PointOfInterest ID:s
	PointOfInterestIDPrefix string = urnPrefix + PointOfInterestTypeName + ":"
	//RoadTypeName is a type name constant for Road
	RoadTypeName string = "Road"
	//RoadIDPrefix ...
	RoadIDPrefix string = urnPrefix + RoadTypeName + ":"
	//RoadAccident is a type name constant for RoadAccident
	RoadAccidentTypeName string = "RoadAccident"
	//RoadAccidentIDPrefix...
	RoadAccidentIDPrefix string = urnPrefix + RoadAccidentTypeName + ":"
	//RoadSegmentTypeName is a type name constant for RoadSegment
	RoadSegmentTypeName string = "RoadSegment"
	//RoadSegmentIDPrefix ...
	RoadSegmentIDPrefix string = urnPrefix + RoadSegmentTypeName + ":"
	//TrafficFlowObservedTypeName is a type name constant for TrafficFlowObserved
	TrafficFlowObservedTypeName string = "TrafficFlowObserved"
	//TrafficFlowObserved ...
	TrafficFlowObservedIDPrefix string = urnPrefix + TrafficFlowObservedTypeName + ":"
	//WaterConsumptionObservedTypeName is a type name constant for WaterConsumptionObserved
	WaterConsumptionObservedTypeName string = "WaterConsumptionObserved"
	//WaterConsumptionObservedIDPrefix ...
	WaterConsumptionObservedIDPrefix string = urnPrefix + WaterConsumptionObservedTypeName + ":"
	//WaterQualityObservedTypeName is a type name constant for WaterQualityObserved
	WaterQualityObservedTypeName string = "WaterQualityObserved"
	//WaterQualityObservedIDPrefix ...
	WaterQualityObservedIDPrefix string = urnPrefix + WaterQualityObservedTypeName + ":"
	//WeatherObservedTypeName is a type name constant for WeatherObserved
	WeatherObservedTypeName string = "WeatherObserved"
	//WeatherObservedIDPrefix ...
	WeatherObservedIDPrefix string = urnPrefix + WeatherObservedTypeName + ":"
)

Variables

This section is empty.

Functions

func NewBeach

func NewBeach(entityID string, name string, decorators ...entities.EntityDecoratorFunc) (types.Entity, error)

NewBeach creates a new instance of Beach

func NewDevice

func NewDevice(entityID string, decorators ...entities.EntityDecoratorFunc) (types.Entity, error)

NewDevice creates a new instance of Device

func NewIndoorEnvironmentObserved

func NewIndoorEnvironmentObserved(id, dateObserved string, latitude, longitude float64, decorators ...entities.EntityDecoratorFunc) (types.Entity, error)

func NewWaterConsumptionObserved

func NewWaterConsumptionObserved(entityID string, decorators ...entities.EntityDecoratorFunc) (types.Entity, error)

func NewWeatherObserved

func NewWeatherObserved(observationID string, latitude float64, longitude float64, observedAt string, decorators ...entities.EntityDecoratorFunc) (types.Entity, error)

NewWeatherObserved creates a new instance of WeatherObserved

Types

This section is empty.

Jump to

Keyboard shortcuts

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