Interface IMissionLoad
- Namespace
- XENBIT.ResQueServe.Abstractions.Interfaces
- Assembly
- RQS.Abstractions.dll
Represents a data structure for scheduling simulated emergencies based on time and category within a dispatch center's operational plans. This record allows setting specific hours and the corresponding number of emergencies to be generated.
public interface IMissionLoad
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.
int Amount { get; set; }
Property Value
Category
The category of mission this load applies to, influencing the type of emergencies simulated.
MissionCategory Category { get; set; }
Property Value
Hour
The hour of the day (0-23) this load starts. Represents the start time for generating the specified amount of emergencies.
int Hour { get; set; }
Property Value
Id
long Id { get; set; }
Property Value
Methods
IsValid()
Validates the properties of the Missionload to ensure they are within specified limits and appropriate settings.
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.