Class ResourceInformation
- Namespace
- XENBIT.ResQueServe.Core.Models
- Assembly
- RQS.Core.dll
public record ResourceInformation : Information, IEquatable<Information>, IEquatable<ResourceInformation>
- Inheritance
-
ResourceInformation
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
public ResourceInformation()
public ResourceInformation(IUnitResource resource)
Parameters
resource IUnitResource
protected ResourceInformation(ResourceInformation original)
Parameters
original ResourceInformation
Properties
public string? Callsign { get; set; }
Property Value
- string
public string? CallsignShort { get; set; }
Property Value
- string
public string? Category { get; set; }
Property Value
- string
public string? CurrentOperation { get; set; }
Property Value
- string
public Guid? CurrentOperationId { get; set; }
Property Value
- Guid?
public string? Destination { get; set; }
Property Value
- string
public int? DispatchCounter { get; set; }
Property Value
- int?
public Coordinates? DynamicPosition { get; set; }
Property Value
- Coordinates?
protected override Type EqualityContract { get; }
Property Value
- Type
public Coordinates? StaticPosition { get; set; }
Property Value
- Coordinates?
public string? Station { get; set; }
Property Value
- string
public DateTimeOffset? SuggestionOn { get; set; }
Property Value
- DateTimeOffset?
public long? UnitId { get; set; }
Property Value
- long?
public UnitStatus? UnitStatus { get; set; }
Property Value
- UnitStatus?
public UnitStatusNonPersistent? UnitStatusNonPersistent { get; set; }
Property Value
- UnitStatusNonPersistent?
Methods
public override bool Equals(object? obj)
Parameters
obj object
Returns
- bool
public override sealed bool Equals(Information? other)
Parameters
other Information
Returns
- bool
public virtual bool Equals(ResourceInformation? other)
Parameters
other ResourceInformation
Returns
- bool
public override int GetHashCode()
Returns
- int
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builder StringBuilder
Returns
- bool
public override string ToString()
Returns
- string
Operators
public static bool operator ==(ResourceInformation? left, ResourceInformation? right)
Parameters
left ResourceInformation
right ResourceInformation
Returns
- bool
public static bool operator !=(ResourceInformation? left, ResourceInformation? right)
Parameters
left ResourceInformation
right ResourceInformation
Returns
- bool