Class Poi
- Namespace
- XENBIT.ResQueServe.Core.Models
- Assembly
- RQS.Core.dll
public record Poi : IPoi, IPoiInfo, IShelf, IEquatable<Poi>
- Inheritance
-
Poi
- Implements
- Inherited Members
Constructors
Poi()
[JsonConstructor]
public Poi()
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
GermanGenus
The German genus of the point of interest (der, die, das).
public string? GermanGenus { get; set; }
Property Value
HospitalDepartments
The hospital departments associated with the hospital POI if is hospital. Has no effect if
IsMaxCareHospital is true.
public List<PoiHospitalDepartment>? 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
IsHospital()
public bool IsHospital()
Returns
IsStationForUnits()
public bool IsStationForUnits()
Returns
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.