Class Area
public record Area : IArea, IEquatable<Area>
- Inheritance
-
Area
- Implements
- Inherited Members
- Extension Methods
Constructors
Area()
public Area()
Area(Area)
[SetsRequiredMembers]
protected Area(Area original)
Parameters
originalArea
Properties
DispatchGroups
A list of group identifiers used for suggesting appropriate response units for incidents within this area. The groups listed here should match those specified in Unit.DispatchGroups and Keyword.DispatchGroups to ensure correct unit dispatch.
public string? DispatchGroups { get; set; }
Property Value
District
The district this area is responsible for. This is used to map addresses to specific dispatch areas.
public required IAddressDistrict District { get; set; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Id
public long Id { get; set; }
Property Value
Increase
Indicates how many more or fewer emergencies should be generated for this area compared to other areas. Adjusting this value can help balance the workload across different districts. (1 default / normal, e.g. 50 much more emergencies in this area).
public int Increase { get; set; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(Area?)
public virtual bool Equals(Area? other)
Parameters
otherArea
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(Area?, Area?)
public static bool operator ==(Area? left, Area? right)
Parameters
Returns
operator !=(Area?, Area?)
public static bool operator !=(Area? left, Area? right)