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

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/w/s/ws-28xx-HEAD/CCurrentWeatherData.py   ws-28xx(Download)
	def __init__(self):
		self.logger = logging.getLogger('ws28xx.CCurrentWeatherData')
 
		self._PressureRelative_hPa = CWeatherTraits.PressureNP()
		self._PressureRelative_hPaMinMax = CMinMaxMeasurement.CMinMaxMeasurement()
		self._PressureRelative_inHg = CWeatherTraits.PressureNP()

src/w/s/ws-28xx-HEAD/wfrog/station/ws28xx.py   ws-28xx(Download)
					send_event(e)
 
				if abs(CWeatherTraits.PressureNP() - myCCommunicationService.DataStore.CurrentWeather._PressureRelative_hPa ) > 0.001:
					e = generate_event('press')
					e.value = myCCommunicationService.DataStore.CurrentWeather._PressureRelative_hPa
						send_event(e)
 
					if abs(CWeatherTraits.PressureNP() - History.m_PressureRelative ) > 0.001:
						self.logger.info("ts=%s Pressure %d"%(History.m_Time,History.m_PressureRelative))
						e = generate_event('press')

src/w/s/ws-28xx-HEAD/USBHardware.py   ws-28xx(Download)
	def ToPressure(self,buffer,start,startOnLowNibble):
		if ( self.IsErr5(buffer, start+0, startOnLowNibble) ):
			result = CWeatherTraits.PressureNP();
		else:
			if ( self.IsOFL5(buffer, start+0, startOnLowNibble) ):
	def ToPressureInhg(self,buffer,start,startOnLowNibble):
		if ( self.IsErr5(buffer, start+0, startOnLowNibble) ):
			rawresult = CWeatherTraits.PressureNP();
		else:
			if ( self.IsOFL5(buffer, start+0, startOnLowNibble) ):