Exemplo n.º 1
0
	def __init__(self, key = None, value = None):
		Obj.__init__(self)
		self.setType(RESOURCE.PARAMETER)
		self.key = key
		self.values = []
		if value is not None:
			self.values.append(value)
Exemplo n.º 2
0
 def __init__(self, uri=None):
     Obj.__init__(self, uri)
     self.country = None
     self.city = None
     self.zipCode = None
     self.streetAddress = None
     self.setType(RESOURCE.ADDRESS)
Exemplo n.º 3
0
 def __init__(self, uri=None):
     Obj.__init__(self, uri)
     self.regexes = []  # string
     self.ors = []  # Variants
     self.ands = []  # Variants
     self.xors = []  # Variants
     self.setType(RESOURCE.CONDITION)
Exemplo n.º 4
0
 def __init__(self, uri=None):
     Obj.__init__(self, uri)
     self.setType(RESOURCE.WAYPOINT)
     self.coordinates = None
     self.address = None
     self.instant = None
     self.route = None
Exemplo n.º 5
0
 def __init__(self, uri=None):
     Obj.__init__(self, uri)
     self.bearing = None
     self.heading = None
     self.tracking = None
     self.course = None
     self.setType(RESOURCE.DIRECTION)
Exemplo n.º 6
0
 def __init__(self, uri=None):
     Obj.__init__(self, uri)
     self.setType(RESOURCE.STATUS)
     self.percentage = None
     self.total = None
     self.completed = None
     self.temporalContext = None
Exemplo n.º 7
0
 def __init__(self, uri=None):
     Obj.__init__(self, uri)
     self.setType(RESOURCE.ROUTE)
     self.route_points = []
     self.length = None
     self.energyConsumption = None
     self.averageVelocity = None
     self.duration = None
Exemplo n.º 8
0
	def __init__(self, uri = None):
		Obj.__init__(self, uri)
		self.host = None
		self.port = None
		self.path = None
		self.scheme = None
		self.contentTypes = []
		self.setType(RESOURCE.INTERFACEADDRESS);
Exemplo n.º 9
0
 def __init__(self, uri=None):
     Obj.__init__(self, uri)
     self.generatedBy = None
     self.generatedAt = None
     self.generationMethods = []
     self.dataSources = []
     self.props = []
     self.setType(RESOURCE.PROVENANCE)
Exemplo n.º 10
0
 def __init__(self, uri=None):
     Obj.__init__(self, uri)
     self.quantity = None
     self.unit = None
     self.timeStep = None
     self.list = None  # its type is SmartAPI.rdf.List
     self.systemOfInterest = None
     self.temporalContext = None
     self.setType(RESOURCE.TIMESERIES)
Exemplo n.º 11
0
    def __init__(self, uri=None):
        Obj.__init__(self, uri)
        self.linearVelocityX = None
        self.linearVelocityY = None
        self.linearVelocityZ = None
        self.angularVelocityX = None
        self.angularVelocityY = None
        self.angularVelocityZ = None
        self.groundSpeed = None

        self.setType(RESOURCE.VELOCITY)
Exemplo n.º 12
0
 def __init__(self, uri=None):
     Obj.__init__(self, uri)
     self.setType(RESOURCE.ACTIVITY)
     self.inputs = []
     self.outputs = []
     self.availabilities = []
     self.dataAvailabilities = []
     self.interfaces = []
     self.entities = []
     self.temporalContext = None
     self.timeSeries = []
     self.method = None
Exemplo n.º 13
0
 def __init__(self, uri=None, start=None, end=None, during=None):
     Obj.__init__(self, uri)
     if start is not None:
         self.setStart(start)
     else:
         self.start = None
     if end is not None:
         self.setEnd(end)
     else:
         self.end = None
     self.duration = None
     if during is not None:
         self.setDuring(during)
     else:
         self.during = None
     self.setType(RESOURCE.TEMPORALCONTEXT)
Exemplo n.º 14
0
 def __init__(self, uri=None):
     Obj.__init__(self, uri)
     self.address = None
     self.coordinates = None
     self.zone = None
     self.managedBy = None
     self.creators = []
     self.owners = []
     self.controllabilities = []
     self.availabilities = []
     self.dataAvailabilities = []
     self.capabilities = []
     self.capacities = []
     self.managedEntities = []
     self.interfaces = []
     self.relatedUrls = {}
     self.valueObjects = []
     self.setType(RESOURCE.ENTITY)
Exemplo n.º 15
0
 def __init__(self, uri=None):
     Obj.__init__(self, uri)
     self.yaw = None
     self.pitch = None
     self.roll = None
     self.setType(RESOURCE.ORIENTATION)
Exemplo n.º 16
0
	def __init__(self, uri = None):
		Obj.__init__(self, uri)
		self.setType(RESOURCE.WAYPOINTS)
		self.wps = []
Exemplo n.º 17
0
 def __init__(self, uri=None):
     Obj.__init__(self, uri)
     self.zoneNUmber = None
     self.setType(RESOURCE.ZONE)
Exemplo n.º 18
0
 def __init__(self, uri=None, latitude=None, longitude=None, altitude=None):
     Obj.__init__(self, uri)
     self.latitude = latitude
     self.longitude = longitude
     self.altitude = altitude
     self.setType(RESOURCE.GEO_POINT)
Exemplo n.º 19
0
 def __init__(self, uri=None):
     Obj.__init__(self, uri)
     self.minRadius = None
     self.maxRadius = None
     self.coordinates = None
     self.setType(RESOURCE.RING)
Exemplo n.º 20
0
	def __init__(self, uri = None):
		Obj.__init__(self, uri)
		self.height = None
		self.width = None
		self.depth = None
		self.setType(RESOURCE.SIZE);
Exemplo n.º 21
0
 def __init__(self, uri=None):
     Obj.__init__(self, uri)
     self.message = None
     self.code = 0
     self.setType(RESOURCE.ERROR)