Class Poi
public record Poi : IPoi, IPoiInfo, IShelf, IEquatable<Poi>
- Inheritance
-
Poi
- Implements
- Inherited Members
- Extension Methods
Constructors
Poi()
[JsonConstructor]
public Poi()
Poi(Poi)
protected Poi(Poi original)
Parameters
originalPoi
Fields
UnitStationCategories
public static readonly PoiCategory[] UnitStationCategories
Field Value
Properties
Address
public IAddress? Address { get; set; }
Property Value
BonusMalus
The bonus or malus value associated with the point of interest (POI). Must be a value between -100 or +100 (%). This value affects the calculated distance if the POI is a hospital. Units will always prioritize the nearest hospital with the required hospital departments.
public int BonusMalus { get; set; }
Property Value
Category
The category of the point of interest.
public PoiCategory Category { get; set; }
Property Value
Coordinates
The geographic coordinates (latitude and longitude) of the point of interest.
public Coordinates Coordinates { get; set; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
GermanGenus
The German genus of the point of interest (der, die, das).
public string? GermanGenus { get; set; }
Property Value
HelicopterLandingZone
The POI where helicopters land for this POI (category HelicopterLandingZone, e.g. the helipad of a hospital or a landing site at an airfield); null if helicopters land on the coordinates.
public IPoi? HelicopterLandingZone { get; set; }
Property Value
HospitalDepartments
The departments of the hospital POI with their settings (name, entrance, landing zone, capacity), at most one per department. If IsMaxCareHospital is true, the hospital has all departments and the list only holds the settings of some of them.
public List<HospitalDepartment>? HospitalDepartments { get; set; }
Property Value
HouseNumber
public string? HouseNumber { get; set; }
Property Value
Id
public long Id { get; set; }
Property Value
IsAutomaticPatientTransmission
Indicates whether patient information transmission is automatic at this POI. Units will transmit patient
information to the hospital non-verbally if this property is set to true.
public bool IsAutomaticPatientTransmission { get; set; }
Property Value
IsExternalHospital
Indicates whether the hospital is an external hospital. External hospitals do not generate patient transports, but units may use them as destinations for patients.
public bool IsExternalHospital { get; set; }
Property Value
IsMaxCareHospital
Indicates whether the hospital is a maximum care hospital and has all PoiHospitalDepartment.
public bool IsMaxCareHospital { get; set; }
Property Value
IsNameCallerNumber
Indicates whether the object name is shown as the caller number for this POI or a random number is generated. DistrictPhonePrefix.
public bool IsNameCallerNumber { get; set; }
Property Value
IsUnitsMoveOutTogether
Indicates whether units should be dispatched together when assigned to this POI. Should be true if
non-volunteer department.
public bool IsUnitsMoveOutTogether { get; set; }
Property Value
IsWithFireAlarmSystem
Indicates whether a fire alarm system is present at this POI. The presence of a fire alarm system may generate calls.
public bool IsWithFireAlarmSystem { get; set; }
Property Value
Name
The name of the point of interest. Is unique inside a dispatch center.
public string? Name { get; set; }
Property Value
Origin
Gets or sets the origin information for this Shelf instance. May be null if the object was created locally or has no external source.
public ShelfOriginBase? Origin { get; set; }
Property Value
SearchTags
Tags associated with the point of interest for search purposes. Separate multiple tags with a semicolon.
public string? SearchTags { get; set; }
Property Value
VerbalName
The verbal name of the point of interest. May be used on radio or calls.
public string? VerbalName { get; set; }
Property Value
Methods
CreateInfoInstance()
Creates a lightweight info representation of this POI.
public IPoiInfo CreateInfoInstance()
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(Poi?)
public virtual bool Equals(Poi? other)
Parameters
otherPoi
Returns
GetHashCode()
public override int GetHashCode()
Returns
IsHospital()
public bool IsHospital()
Returns
IsStationForUnits()
public bool IsStationForUnits()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(Poi?, Poi?)
public static bool operator ==(Poi? left, Poi? right)
Parameters
Returns
operator !=(Poi?, Poi?)
public static bool operator !=(Poi? left, Poi? right)