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

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

src/w/s/ws-28xx-HEAD/HeavyWeatherService.py   ws-28xx(Download)
			    or myCCommunicationService.DataStore.getRequestState() == ERequestState.rsINVALID:
				print "getRequestState == rsFinished or rsInvalid... ask for current weather again :-)\r"
				TimeOut = myCCommunicationService.DataStore.getPreambleDuration() + myCCommunicationService.DataStore.getRegisterWaitTime()
				myCCommunicationService.DataStore.GetCurrentWeather(Weather,TimeOut)
		elif char == "1":
				print "TransceiverSerNo will be overwritten", myCCommunicationService.DataStore.getTransceiverSerNo()
				print "DeviceID will be overwritten", myCCommunicationService.DataStore.getDeviceId()
				TimeOut = myCCommunicationService.DataStore.getPreambleDuration() + myCCommunicationService.DataStore.getRegisterWaitTime()
				print "FirstTimeConfig Timeout=%d" % TimeOut
				ID=[0]
			   or myCCommunicationService.DataStore.getRequestState() == ERequestState.rsINVALID:
				print "getRequestState == rsFinished or rsInvalid... ask for current weather again :-)\r"
				TimeOut = myCCommunicationService.DataStore.getPreambleDuration() + myCCommunicationService.DataStore.getRegisterWaitTime()
				myCCommunicationService.DataStore.GetCurrentWeather(Weather,TimeOut)
		time.sleep(1)

src/w/s/ws-28xx-HEAD/wfrog/station/ws28xx.py   ws-28xx(Download)
 
		if myCCommunicationService.DataStore.getDeviceId() == -1:
			TimeOut = myCCommunicationService.DataStore.getPreambleDuration() + myCCommunicationService.DataStore.getRegisterWaitTime()
			ID=[0]
			ID[0]=0