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

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

src/w/s/ws-28xx-HEAD/CCurrentWeatherData.py   ws-28xx(Download)
		self._PressureRelative_inHg = CWeatherTraits.PressureNP()
		self._PressureRelative_inHgMinMax = CMinMaxMeasurement.CMinMaxMeasurement()
		self._WindSpeed = CWeatherTraits.WindNP()
		self._WindSpeedMinMax = CMinMaxMeasurement.CMinMaxMeasurement()
		self._WindDirection = 16
		self._WindDirection4 = 16
		self._WindDirection5 = 16
		self._Gust = CWeatherTraits.WindNP()
		self._GustMinMax = CMinMaxMeasurement.CMinMaxMeasurement()
		self._GustDirection = 16

src/w/s/ws-28xx-HEAD/wfrog/station/ws28xx.py   ws-28xx(Download)
					send_event(e)
 
				if abs(CWeatherTraits.WindNP() - myCCommunicationService.DataStore.CurrentWeather._WindSpeed) > 0.001:
					e = generate_event('wind')
					e.create_child('mean')
 
				#History.m_RainCounterRaw = 0
					if abs(CWeatherTraits.WindNP() - History.m_WindSpeed) > 0.001:
						self.logger.info("ts=%s Wind %d %d"%(History.m_Time,History.m_WindSpeed,History.m_WindDirection))
						self.logger.info("ts=%s Gust %d %d"%(History.m_Time,History.m_Gust,History.m_WindDirection))

src/w/s/ws-28xx-HEAD/CHistoryDataSet.py   ws-28xx(Download)
		self.m_WindDirection = 16
		self.m_RainCounterRaw = 0
		self.m_WindSpeed = CWeatherTraits.WindNP()
		self.m_Gust = CWeatherTraits.WindNP()
 
		self.m_WindSpeed = USBHardware.ToWindspeedRingBuffer(buf, pos + 14);
		self.m_WindDirection = (buf[0][pos + 15] >> 4) & 0xF;
		if ( self.m_WindSpeed == CWeatherTraits.WindNP() ):
			self.m_WindDirection = 16
		if ( self.m_WindDirection < 0 and self.m_WindDirection > 16 ):

src/w/s/ws-28xx-HEAD/USBHardware.py   ws-28xx(Download)
				result = CWeatherTraits.WindOFL();
		else:
				result = CWeatherTraits.WindNP();
		return result