Subversion Repositories ALCASAR

Rev

Rev 3037 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 3037 Rev 3179
Line 61... Line 61...
61
    private $_status = "";
61
    private $_status = "";
62
 
62
 
63
    /**
63
    /**
64
     * temperature of the ups
64
     * temperature of the ups
65
     *
65
     *
66
     * @var int
66
     * @var string
67
     */
67
     */
68
    private $_temperatur = null;
68
    private $_temperatur = null;
69
 
69
 
70
    /**
70
    /**
71
     * outages count
71
     * outages count
Line 89... Line 89...
89
    private $_lastOutageFinish = null;
89
    private $_lastOutageFinish = null;
90
 
90
 
91
    /**
91
    /**
92
     * line volt
92
     * line volt
93
     *
93
     *
94
     * @var int
94
     * @var float
95
     */
95
     */
96
    private $_lineVoltage = null;
96
    private $_lineVoltage = null;
97
 
97
 
98
    /**
98
    /**
99
     * line freq
99
     * line freq
Line 103... Line 103...
103
    private $_lineFrequency = null;
103
    private $_lineFrequency = null;
104
 
104
 
105
    /**
105
    /**
106
     * current load of the ups in percent
106
     * current load of the ups in percent
107
     *
107
     *
108
     * @var int
108
     * @var float
109
     */
109
     */
110
    private $_load = null;
110
    private $_load = null;
111
 
111
 
112
    /**
112
    /**
113
     * battery installation date
113
     * battery installation date
Line 117... Line 117...
117
    private $_batteryDate = null;
117
    private $_batteryDate = null;
118
 
118
 
119
    /**
119
    /**
120
     * current battery volt
120
     * current battery volt
121
     *
121
     *
122
     * @var int
122
     * @var float
123
     */
123
     */
124
    private $_batteryVoltage = null;
124
    private $_batteryVoltage = null;
125
 
125
 
126
    /**
126
    /**
127
     * current charge in percent of the battery
127
     * current charge in percent of the battery
128
     *
128
     *
129
     * @var int
129
     * @var float
130
     */
130
     */
131
    private $_batterCharge = null;
131
    private $_batterCharge = null;
132
 
132
 
133
    /**
133
    /**
134
     * time left
134
     * time left
Line 147... Line 147...
147
    /**
147
    /**
148
     * Returns $_batterCharge.
148
     * Returns $_batterCharge.
149
     *
149
     *
150
     * @see UPSDevice::$_batterCharge
150
     * @see UPSDevice::$_batterCharge
151
     *
151
     *
152
     * @return integer
152
     * @return float
153
     */
153
     */
154
    public function getBatterCharge()
154
    public function getBatterCharge()
155
    {
155
    {
156
        return $this->_batterCharge;
156
        return $this->_batterCharge;
157
    }
157
    }
158
 
158
 
159
    /**
159
    /**
160
     * Sets $_batterCharge.
160
     * Sets $_batterCharge.
161
     *
161
     *
162
     * @param int $batterCharge battery charge
162
     * @param float $batterCharge battery charge
163
     *
163
     *
164
     * @see UPSDevice::$_batterCharge
164
     * @see UPSDevice::$_batterCharge
165
     *
165
     *
166
     * @return void
166
     * @return void
167
     */
167
     */
Line 199... Line 199...
199
    /**
199
    /**
200
     * Returns $_batteryVoltage.
200
     * Returns $_batteryVoltage.
201
     *
201
     *
202
     * @see UPSDevice::$_batteryVoltage
202
     * @see UPSDevice::$_batteryVoltage
203
     *
203
     *
204
     * @return int
204
     * @return float
205
     */
205
     */
206
    public function getBatteryVoltage()
206
    public function getBatteryVoltage()
207
    {
207
    {
208
        return $this->_batteryVoltage;
208
        return $this->_batteryVoltage;
209
    }
209
    }
210
 
210
 
211
    /**
211
    /**
212
     * Sets $_batteryVoltage.
212
     * Sets $_batteryVoltage.
213
     *
213
     *
214
     * @param int $batteryVoltage battery volt
214
     * @param float $batteryVoltage battery volt
215
     *
215
     *
216
     * @see UPSDevice::$_batteryVoltage
216
     * @see UPSDevice::$_batteryVoltage
217
     *
217
     *
218
     * @return void
218
     * @return void
219
     */
219
     */
Line 277... Line 277...
277
    /**
277
    /**
278
     * Returns $_lineVoltage.
278
     * Returns $_lineVoltage.
279
     *
279
     *
280
     * @see UPSDevice::$_lineVoltage
280
     * @see UPSDevice::$_lineVoltage
281
     *
281
     *
282
     * @return int
282
     * @return float
283
     */
283
     */
284
    public function getLineVoltage()
284
    public function getLineVoltage()
285
    {
285
    {
286
        return $this->_lineVoltage;
286
        return $this->_lineVoltage;
287
    }
287
    }
288
 
288
 
289
    /**
289
    /**
290
     * Sets $_lineVoltage.
290
     * Sets $_lineVoltage.
291
     *
291
     *
292
     * @param int $lineVoltage line voltage
292
     * @param float $lineVoltage line voltage
293
     *
293
     *
294
     * @see UPSDevice::$_lineVoltage
294
     * @see UPSDevice::$_lineVoltage
295
     *
295
     *
296
     * @return void
296
     * @return void
297
     */
297
     */
Line 329... Line 329...
329
    /**
329
    /**
330
     * Returns $_load.
330
     * Returns $_load.
331
     *
331
     *
332
     * @see UPSDevice::$_load
332
     * @see UPSDevice::$_load
333
     *
333
     *
334
     * @return int
334
     * @return float
335
     */
335
     */
336
    public function getLoad()
336
    public function getLoad()
337
    {
337
    {
338
        return $this->_load;
338
        return $this->_load;
339
    }
339
    }
340
 
340
 
341
    /**
341
    /**
342
     * Sets $_load.
342
     * Sets $_load.
343
     *
343
     *
344
     * @param int $load current load
344
     * @param float $load current load
345
     *
345
     *
346
     * @see UPSDevice::$_load
346
     * @see UPSDevice::$_load
347
     *
347
     *
348
     * @return void
348
     * @return void
349
     */
349
     */
Line 511... Line 511...
511
    /**
511
    /**
512
     * Returns $_temperatur.
512
     * Returns $_temperatur.
513
     *
513
     *
514
     * @see UPSDevice::$_temperatur
514
     * @see UPSDevice::$_temperatur
515
     *
515
     *
516
     * @return int
516
     * @return string
517
     */
517
     */
518
    public function getTemperatur()
518
    public function getTemperatur()
519
    {
519
    {
520
        return $this->_temperatur;
520
        return $this->_temperatur;
521
    }
521
    }
522
 
522
 
523
    /**
523
    /**
524
     * Sets $_temperatur.
524
     * Sets $_temperatur.
525
     *
525
     *
526
     * @param int $temperatur temperature
526
     * @param string $temperatur temperature
527
     *
527
     *
528
     * @see UPSDevice::$_temperatur
528
     * @see UPSDevice::$_temperatur
529
     *
529
     *
530
     * @return void
530
     * @return void
531
     */
531
     */