mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-10 17:28:40 +00:00
37 lines
680 B
PHP
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
|
|
}
|