Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| IdleTime | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | /** |
| 3 | * Jingga |
| 4 | * |
| 5 | * PHP Version 8.1 |
| 6 | * |
| 7 | * @package phpOMS\Scheduling\Dependency |
| 8 | * @copyright Dennis Eichhorn |
| 9 | * @license OMS License 2.0 |
| 10 | * @version 1.0.0 |
| 11 | * @link https://jingga.app |
| 12 | */ |
| 13 | declare(strict_types=1); |
| 14 | |
| 15 | namespace phpOMS\Scheduling\Dependency; |
| 16 | |
| 17 | /** |
| 18 | * Idle time. |
| 19 | * |
| 20 | * @package phpOMS\Scheduling\Dependency |
| 21 | * @license OMS License 2.0 |
| 22 | * @link https://jingga.app |
| 23 | * @since 1.0.0 |
| 24 | */ |
| 25 | class IdleTime |
| 26 | { |
| 27 | public int $id = 0; |
| 28 | |
| 29 | public int $type = 0; // setup, shutdown, cleaning, maintenance, general, ... |
| 30 | |
| 31 | public int $intervalType = IdleIntervalType::ACTIVE_TIME; |
| 32 | |
| 33 | public int $interval = 0; |
| 34 | |
| 35 | public int $duration = 0; // in seconds |
| 36 | } |