Class DispatchCenter
public record DispatchCenter : IDispatchCenter, IDispatchCenterInfo, IEquatable<DispatchCenter>
- Inheritance
-
DispatchCenter
- Implements
- Inherited Members
- Extension Methods
Constructors
DispatchCenter()
public DispatchCenter()
DispatchCenter(DispatchCenter)
[SetsRequiredMembers]
protected DispatchCenter(DispatchCenter original)
Parameters
originalDispatchCenter
Properties
ActivePlayers
The number of active players or users at the command center within the last 30 days, indicating its operational activity.
[EntityTagIgnore]
public int ActivePlayers { get; set; }
Property Value
Address
The specific address where the command center is physically located (geographical position).
public IAddress? Address { get; set; }
Property Value
AddressPackage
The package of addresses associated with the command center.
[EntityTagReference]
public AddressPackage? AddressPackage { get; set; }
Property Value
Administrators
A list of users who have administrative rights to contribute to and manage the data and operations of the command center. These administrators are responsible for overseeing the daily operations and ensuring that the command center's data and settings are correctly maintained and updated.
[EntityTagReference]
public IEnumerable<IUserInfo>? Administrators { get; set; }
Property Value
CallNumberEmergency
The emergency phone number for the dispatch center, which is typically 911 in North America or 112 in Europe. This number is used for emergency calls requiring immediate response.
public string? CallNumberEmergency { get; set; }
Property Value
CallNumberOffice
The standard office phone number of the dispatch center, used for non-emergency calls. This number provides a way for the public to contact the dispatch center for general inquiries.
public string? CallNumberOffice { get; set; }
Property Value
CallNumberPatientTransport
The specific phone number for arranging patient transports, such as 19222 in Germany. This number is designated for services that are urgent but not life-threatening.
public string? CallNumberPatientTransport { get; set; }
Property Value
Category
The category of the command center, which helps classify the center according to its primary function or operational scope.
public DispatchCenterCategory Category { get; set; }
Property Value
ChangedOn
The date and time when the command center was last modified.
[EntityTagIgnore]
public DateTimeOffset? ChangedOn { get; init; }
Property Value
Classification
The classification of the command center based on an automatic scoring system ranging from A (best) to F (not rated).
[EntityTagIgnore]
public DispatchCenterClassification Classification { get; set; }
Property Value
Country
The country where the dispatch center is located.
public Country? Country { get; }
Property Value
CreatedOn
The date and time when the command center was created.
public DateTimeOffset CreatedOn { get; init; }
Property Value
CustomEquipments
A list of custom equipment configurations available for the command center. This property allows the command center to specify unique equipment setups for automated unit suggestions, tailoring the available resources to the specific needs of operations.
public IEnumerable<IDispatchCenterCustomEquipment>? CustomEquipments { get; set; }
Property Value
CustomGeocodingSearchFormat
public string? CustomGeocodingSearchFormat { get; set; }
Property Value
DefaultStatus
The status of a unit if no status was provided / received yet.
public int? DefaultStatus { get; set; }
Property Value
- int?
Environment
The environment the dispatch center is maintained for: a simulation or a real-world dispatch center without simulation, to which simulation-only settings do not apply.
public DispatchCenterEnvironment Environment { get; set; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
HasErrors
Indicates if there are configuration problems with the command center. If true, new sessions cannot be initiated.
[EntityTagIgnore]
public bool HasErrors { get; set; }
Property Value
HeaderImageId
The identifier for the header image of the command center, used for display purposes in interfaces.
public Guid? HeaderImageId { get; set; }
Property Value
- Guid?
Id
This is the dpcId (Dispatch Center ID).
public long Id { get; set; }
Property Value
IsDispatchingFireAndRescue
Indicates whether the command center coordinates fire and rescue operations, addressing both fire-related emergencies and other rescue missions.
public bool IsDispatchingFireAndRescue { get; set; }
Property Value
IsDispatchingPatientTransports
Indicates whether the command center coordinates normal patient transport services.
public bool IsDispatchingPatientTransports { get; set; }
Property Value
IsDispatchingUrgentAmbulance
Indicates whether the command center coordinates urgent ambulance services, typically for emergency medical response.
public bool IsDispatchingUrgentAmbulance { get; set; }
Property Value
IsWorkInProgress
Indicates the Dispatch Center entire dataset is not completed or production-ready yet.
public bool IsWorkInProgress { get; set; }
Property Value
KeywordsPerOperation
Defines the number of keywords that can be associated with an operation, ranging from 1 (default) to 6 (maximum). This impacts how operations are classified and searched within the system.
public int KeywordsPerOperation { get; set; }
Property Value
Name
The name of the command center. This field may be null if the name has not been set.
public required string Name { get; set; }
Property Value
OperationsPerYear
An initial value used to calculate the number of operations per year. This property does not influence the actual number of emergencies created but helps in setting up operational expectations.
public int OperationsPerYear { get; set; }
Property Value
Options
A list of configurable options that can be set per command center. These options allow for the customization of operational settings,
public IEnumerable<DispatchCenterOption>? Options { get; set; }
Property Value
Owner
Information about the owner of the command center, which includes details.
[EntityTagReference]
public IUserInfo? Owner { get; set; }
Property Value
Platform
How the dispatch center is published on the SIM Dispatcher platform; always set when read, an update without it keeps the stored values.
public DispatchCenterPlatform? Platform { get; set; }
Property Value
Simulation
The parameters of the simulation; null for a real-world dispatch center without simulation (RealWorld).
public DispatchCenterSimulation? Simulation { get; set; }
Property Value
Methods
CreateInfoInstance()
public IDispatchCenterInfo CreateInfoInstance()
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(DispatchCenter?)
public virtual bool Equals(DispatchCenter? other)
Parameters
otherDispatchCenter
Returns
GetFullName()
Gets the full name by combining its localized category description and name.
public string GetFullName()
Returns
- string
The full name of the dispatch center.
GetHashCode()
public override int GetHashCode()
Returns
GetSimulation()
The simulation parameters, or the defaults of a new dispatch center when it has none (a real-world dispatch center that is simulated anyway).
public DispatchCenterSimulation GetSimulation()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(DispatchCenter?, DispatchCenter?)
public static bool operator ==(DispatchCenter? left, DispatchCenter? right)
Parameters
leftDispatchCenterrightDispatchCenter
Returns
operator !=(DispatchCenter?, DispatchCenter?)
public static bool operator !=(DispatchCenter? left, DispatchCenter? right)
Parameters
leftDispatchCenterrightDispatchCenter