phpOMS/Algorithm/JobScheduling/v2/Dependency/IdleTime.php
2024-03-20 07:21:26 +00:00

37 lines
680 B
PHP

<?php
/**
* Jingga
*
* PHP Version 8.2
*
* @package phpOMS\Scheduling\Dependency
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
namespace phpOMS\Scheduling\Dependency;
/**
* Idle time.
*
* @package phpOMS\Scheduling\Dependency
* @license OMS License 2.0
* @link https://jingga.app
* @since 1.0.0
*/
class IdleTime
{
public int $id = 0;
public int $type = 0; // setup, shutdown, cleaning, maintenance, general, ...
public int $intervalType = IdleIntervalType::ACTIVE_TIME;
public int $interval = 0;
public int $duration = 0; // in seconds
}