Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(9)  |  Call(5)  |  Derive(0)  |  Import(4)

src/a/c/accompany-HEAD/UHCore/WebUI/sensorMap/currentMap.py   accompany(Download)
from SensorMap.processor import MapProcessor
from Data.dataAccess import DataAccess
from Data.sensors import StateResolver
from Robots.careobot import CareOBot
 
    def __init__(self):
        self._robotName = CareOBot().name
        self._dao = DataAccess()
        self._sr = StateResolver()
 

src/a/c/accompany-HEAD/UHCore/WebUI/sensorDetails/states.py   accompany(Download)
from Data.dataAccess import Sensors
from Data.sensors import StateResolver
 
from operator import itemgetter
import cherrypy
    def __init__(self):
        self._dao = Sensors()
        self._sr = StateResolver()
 
    exposed = True

src/a/c/accompany-HEAD/UHCore/Core/sensors.py   accompany(Download)
import sys
from socket import AF_INET, SOCK_DGRAM, socket, timeout
from Data.dataAccess import SQLDao, Sensors
from Data.sensors import StateResolver
 
		self._handler_memory = {}
		self._channels = {}
		self._sr = StateResolver()
		self._sensorDao = Sensors()
		self._sensors = self._sensorDao.findSensors()
		self._sensorDao = Sensors()
		self._sensors = self._sensorDao.findSensors()
		self._sr = StateResolver()
		self._channels = {}
		self._warned = []

src/a/c/accompany-HEAD/UHCore/WebUI/history/actionHistory.py   accompany(Download)
from Data.dataAccess import DataAccess
from SensorMap.processor import MapProcessor
from Data.sensors import StateResolver
 
import cherrypy
        if len(sensorHist) > 0:
            mp = MapProcessor()
            s = StateResolver()
            sensors = s.resolveStates(sensorHist)
            #[{'id': sensor['sensorId'], 'value': sensor['value'], 'state':'on'},]