Table of Contents

Class MissionLoad

Namespace
XENBIT.ResQueServe.Core.Models
Assembly
RQS.Core.dll
public record MissionLoad : IMissionLoad, IEquatable<MissionLoad>
Inheritance
MissionLoad
Implements
Inherited Members

Properties

Amount

The amount of emergencies to be generated during the specified hour until the next defined hour in the schedule. For example, setting Hour to 10 and Amount to 15 means 15 emergencies will be generated starting at 10:00 until the next hour set in another Missionload item.

public int Amount { get; set; }

Property Value

int

Category

The category of mission this load applies to, influencing the type of emergencies simulated.

public MissionCategory Category { get; set; }

Property Value

MissionCategory

Hour

The hour of the day (0-23) this load starts. Represents the start time for generating the specified amount of emergencies.

public int Hour { get; set; }

Property Value

int

Id

public long Id { get; set; }

Property Value

long

Methods

IsValid()

Validates the properties of the Missionload to ensure they are within specified limits and appropriate settings.

public bool IsValid()

Returns

bool

True if the Amount is within the range of 0-23 and the Category is not set to 'NotSet'; otherwise, false.