Changes between Version 34 and Version 35 of Proposal
- Timestamp:
- Jun 14, 2013, 1:24:10 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Proposal
v34 v35 31 31 class WeatherStation(Device): 32 32 33 # Datapoints (= Communication objects) definition33 # Datapoints (= Group Objects) definition 34 34 DP_01 = dict(name="temperature", dptId="9.001", flags="CRT", priority="low", initValue=0.) 35 35 DP_02 = dict(name="humidity", dptId="9.007", flags="CRT", priority="low", initValue=0.) … … 68 68 class WeatherStation(Device): 69 69 70 # Datapoints (= Communication objects) definition70 # Datapoints (= Group Objects) definition 71 71 DP_01 = dict(name="temperature", dptId="9.001", flags="CRT", priority="low", initValue=0.) 72 72 DP_02 = dict(name="humidity", dptId="9.007", flags="CRT", priority="low", initValue=0.) … … 111 111 We also check if the speed has reached the speed limit; if so, we change the corresponding Datapoint value, which wil, in turn, send the value on the bus if needed (a special value of the flag, like in '''linknx''', can force the value to be sent, even if it does not change). 112 112 113 A last thing: is ispossible to compute and print the '''map table''':113 A last thing: is will be possible to compute and print the '''map table''': 114 114 115 115 {{{