Table of Contents

Class Poi

Namespace
XENBIT.ResQueServe.Core.Models
Assembly
RQS.Core.dll
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

original Poi

Fields

UnitStationCategories

public static readonly PoiCategory[] UnitStationCategories

Field Value

PoiCategory[]

Properties

Address

public IAddress? Address { get; set; }

Property Value

IAddress

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

int

Category

The category of the point of interest.

public PoiCategory Category { get; set; }

Property Value

PoiCategory

Coordinates

The geographic coordinates (latitude and longitude) of the point of interest.

public Coordinates Coordinates { get; set; }

Property Value

Coordinates

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

GermanGenus

The German genus of the point of interest (der, die, das).

public string? GermanGenus { get; set; }

Property Value

string

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

IPoi

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

List<HospitalDepartment>

HouseNumber

public string? HouseNumber { get; set; }

Property Value

string

Id

public long Id { get; set; }

Property Value

long

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

bool

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

bool

IsMaxCareHospital

Indicates whether the hospital is a maximum care hospital and has all PoiHospitalDepartment.

public bool IsMaxCareHospital { get; set; }

Property Value

bool

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

bool

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

bool

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

bool

Name

The name of the point of interest. Is unique inside a dispatch center.

public string? Name { get; set; }

Property Value

string

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

ShelfOriginBase

SearchTags

Tags associated with the point of interest for search purposes. Separate multiple tags with a semicolon.

public string? SearchTags { get; set; }

Property Value

string

VerbalName

The verbal name of the point of interest. May be used on radio or calls.

public string? VerbalName { get; set; }

Property Value

string

Methods

CreateInfoInstance()

Creates a lightweight info representation of this POI.

public IPoiInfo CreateInfoInstance()

Returns

IPoiInfo

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(Poi?)

public virtual bool Equals(Poi? other)

Parameters

other Poi

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

IsHospital()

public bool IsHospital()

Returns

bool

IsStationForUnits()

public bool IsStationForUnits()

Returns

bool

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(Poi?, Poi?)

public static bool operator ==(Poi? left, Poi? right)

Parameters

left Poi
right Poi

Returns

bool

operator !=(Poi?, Poi?)

public static bool operator !=(Poi? left, Poi? right)

Parameters

left Poi
right Poi

Returns

bool