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

Constructors

Poi()

[JsonConstructor]
public 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

GermanGenus

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

public string? GermanGenus { get; set; }

Property Value

string

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

List<PoiHospitalDepartment>

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

IsHospital()

public bool IsHospital()

Returns

bool

IsStationForUnits()

public bool IsStationForUnits()

Returns

bool

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.