Module Values.WaypointOptimizationRestCycleDurationsSource

Driver work-rest schedules defined by a short and long cycle. A rest needs to be taken after the short work duration. The short cycle can be repeated until you hit the long work duration, at which point the long rest duration should be taken before restarting. Unit: seconds

Sourcetype nonrec t = {
  1. restDuration : DurationSeconds.t;
    (*

    Resting phase of the cycle. Unit: seconds

    *)
  2. workDuration : DurationSeconds.t;
    (*

    Working phase of the cycle. Unit: seconds

    *)
}
Sourceval context_ : string
Sourceval make : restDuration:DurationSeconds.t -> workDuration:DurationSeconds.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of DurationSeconds.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t