Subversion Repositories ALCASAR

Rev

Rev 2788 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2788 Rev 2976
Line 59... Line 59...
59
     * @var String
59
     * @var String
60
     */
60
     */
61
    private $_event = "";
61
    private $_event = "";
62
 
62
 
63
    /**
63
    /**
-
 
64
     * unit of values of the sensor
-
 
65
     *
-
 
66
     * @var String
-
 
67
     */
-
 
68
    private $_unit = "";
-
 
69
 
-
 
70
    /**
64
     * Returns $_max.
71
     * Returns $_max.
65
     *
72
     *
66
     * @see Sensor::$_max
73
     * @see Sensor::$_max
67
     *
74
     *
68
     * @return Integer
75
     * @return Integer
Line 187... Line 194...
187
     */
194
     */
188
    public function setEvent($event)
195
    public function setEvent($event)
189
    {
196
    {
190
        $this->_event = $event;
197
        $this->_event = $event;
191
    }
198
    }
-
 
199
 
-
 
200
    /**
-
 
201
     * Returns $_unit.
-
 
202
     *
-
 
203
     * @see Sensor::$_unit
-
 
204
     *
-
 
205
     * @return String
-
 
206
     */
-
 
207
    public function getUnit()
-
 
208
    {
-
 
209
        return $this->_unit;
-
 
210
    }
-
 
211
 
-
 
212
    /**
-
 
213
     * Sets $_unit.
-
 
214
     *
-
 
215
     * @param String $unit sensor unit
-
 
216
     *
-
 
217
     * @see Sensor::$_unit
-
 
218
     *
-
 
219
     * @return Void
-
 
220
     */
-
 
221
    public function setUnit($unit)
-
 
222
    {
-
 
223
        $this->_unit = $unit;
-
 
224
    }
192
}
225
}