Property | Type | Description | |
---|---|---|---|
_instance |
Method | Description | |
---|---|---|
Decode ( string jsonData ) : List |
||
Initialize ( string fieldsName, IDataCache dataCache, bool autoFilter = true, bool fixMoving = false ) : void |
Prepare notification class with advanced features
|
|
UpdateManualyDataCache ( string asset, string field, ITracking data ) : void |
You can update data cache manualy with this function. It will be apply after internal process Your modification will not be overwrite.
|
Method | Description | |
---|---|---|
FillTrackingDataUserChoice ( ITracking data, |
||
GeneratePayload ( string asset, string fields ) : |
||
IsInMovement ( ITracking current, ITracking previous ) : bool | ||
MinDistanceDetected ( ITracking p1, ITracking p2 ) : bool | ||
Notification ( ) : System | ||
UpdateCache ( |
public Initialize ( string fieldsName, IDataCache dataCache, bool autoFilter = true, bool fixMoving = false ) : void | ||
fieldsName | string | List of field name that you want in the data cache (use to recreate data) |
dataCache | IDataCache | Class call one time to load a previous data save in your database |
autoFilter | bool | Activate auto filter function. Remove bad data like data with date in the future or not order |
fixMoving | bool | Activate function to detect when a unit move or not.This information is send by the unit but can be not correct in some case |
return | void |
public UpdateManualyDataCache ( string asset, string field, ITracking data ) : void | ||
asset | string | |
field | string | |
data | ITracking | |
return | void |