DevicePayloadDto Class

Represents a Payload sent from a device to the receiver, containing event and telemetry data.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public sealed class DevicePayloadDto : IIdLabel, 
	IHasCompany
Inheritance
Object    DevicePayloadDto
Implements
IHasCompany, IIdLabel

Constructors

DevicePayloadDtoInitializes a new instance of the DevicePayloadDto class

Properties

AdditionalInfo Additional information or metadata provided by the device (optional).
Altitude The altitude (in meters) reported by the device's GPS module.
BatteryLevel The battery level of the device (percentage).
BufferContents The raw buffer contents as received from the device.
BufferOrdinal The ordinal position of the buffer in the message stream.
CompanyId Represents the CompanyDto owning this object.
ConnectionId The connection identifier for the current session or message.
CorrelationId The correlation identifier for tracking the message or event.
CurrentFloor The current floor number reported by the device (if applicable).
EventCode The event code representing the type of event or message sent by the device.
GpsDate The timestamp reported by the device's GPS module.
GpsFix Indicates whether the device has a valid GPS fix.
GpsSatellites The number of GPS satellites visible to the device.
Hdop The Horizontal Dilution of Precision (HDOP) value, indicating GPS accuracy.
Heading The heading (in degrees) reported by the device.
Id The unique ID representing the object. Empty is not valid! This ID is used when other objects are referring to this object, and as the main ID in the Azure Cosmos database.
Label The label representing the object to the user. Empty or are not valid values for this property!
Latitude The latitude reported by the device's GPS module.
Longitude The longitude reported by the device's GPS module.
ObjId The unique object identifier of the device (e.g., IMEI or serial number).
Received The timestamp when the receiver received the message from the device.
Speed The speed (in meters per second) reported by the device.

Extension Methods

GenerateFourEyesRequestedMessage Generates a toast message for a four-eyes request, letting the user know it had been submitted properly.
(Defined by FourEyesExtensions)
GenerateToastMessageForAction Generates a toast message for the specified action.
(Defined by WebExtensions)
GenerateToastMessageForFourEyesCancelled Generates Toast message for when a four-eyes request has been denied
(Defined by WebExtensions)
GenerateToastMessageForItemCreation Generates Toast message for when an item has been successfully created.
(Defined by WebExtensions)
GenerateToastMessageForItemDeletion Generates Toast message for when an item has been successfully deleted.
(Defined by WebExtensions)
GenerateToastMessageForItemLicenseActivated Generates Toast message for when an item has been successfully activated.
(Defined by WebExtensions)
GenerateToastMessageForItemLicenseExpired Generates Toast message for when an item's license has been successfully expired.
(Defined by WebExtensions)
GenerateToastMessageForItemLock Generates Toast message for when an item has been successfully locked.
(Defined by WebExtensions)
GenerateToastMessageForItemRequestConfirmed Generates Toast message for when an item request has been successfully confirmed.
(Defined by WebExtensions)
GenerateToastMessageForItemRevertDelete Generates Toast message for when an item has been successfully reverted deletion.
(Defined by WebExtensions)
GenerateToastMessageForItemUnlock Generates Toast message for when an item has been successfully unlocked.
(Defined by WebExtensions)
GenerateToastMessageForItemUpdated Generates Toast message for when an item has been successfully updated.
(Defined by WebExtensions)
IdString renders ID as a string for frontend brevity.
(Defined by ModelGenericExtensions)
IsDevicePayloadValid Checks if a DevicePayLoadDto is properly filled in.
(Defined by ModelValidatorsExtensions)
IsIdAndLabelValid Checks whether the Id and Label have been properly entered.
(Defined by ModelValidatorsExtensions)
IsLabelValid Checks whether the Label field has a valid value; not , not whitespace (or beginning or ending with whitespace) and not only comprised of special characters.
(Defined by ModelValidatorsExtensions)
TrimLabel Trim the label of IIdLabel object.
(Defined by ModelGenericModifiers)

See Also