C# 클래스 MD.CloudConnect.Notification

파일 보기 프로젝트 열기: mobile-devices/cloudconnect_dotnet_client

보호된 프로퍼티들

프로퍼티 타입 설명
_instance Notification

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
FillTrackingDataUserChoice ( ITracking data, TrackingData history, bool updateCache = true ) : void
GeneratePayload ( string asset, string fields ) : TrackingData
IsInMovement ( ITracking current, ITracking previous ) : bool
MinDistanceDetected ( ITracking p1, ITracking p2 ) : bool
Notification ( ) : System
UpdateCache ( TrackingData history, string field, ITracking data ) : void

메소드 상세

Decode() 공개 메소드

public Decode ( string jsonData ) : List
jsonData string
리턴 List

Initialize() 공개 메소드

Prepare notification class with advanced features
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
리턴 void

UpdateManualyDataCache() 공개 메소드

You can update data cache manualy with this function. It will be apply after internal process Your modification will not be overwrite.
public UpdateManualyDataCache ( string asset, string field, ITracking data ) : void
asset string
field string
data ITracking
리턴 void

프로퍼티 상세

_instance 보호되어 있는 정적으로 프로퍼티

protected static Notification,MD.CloudConnect _instance
리턴 Notification