26 lines
		
	
	
		
			717 B
		
	
	
	
		
			C#
		
	
	
	
		
		
			
		
	
	
			26 lines
		
	
	
		
			717 B
		
	
	
	
		
			C#
		
	
	
	
|  | using System.Collections.Generic; | |||
|  | using ThinkingSDK.PC.Constant; | |||
|  | 
 | |||
|  | namespace ThinkingSDK.PC.DataModel | |||
|  | { | |||
|  |     public class ThinkingSDKUpdateEvent:ThinkingSDKEventData | |||
|  |     { | |||
|  | 
 | |||
|  |         private string mEventID; | |||
|  |         public ThinkingSDKUpdateEvent(string eventName, string eventID) : base(eventName) | |||
|  |         { | |||
|  |             this.mEventID = eventID; | |||
|  |         } | |||
|  |         public override string GetDataType() | |||
|  |         { | |||
|  |             return "track_update"; | |||
|  |         } | |||
|  |         override public Dictionary<string, object> ToDictionary() | |||
|  |         { | |||
|  |             Dictionary<string, object> dictionary = base.ToDictionary(); | |||
|  |             dictionary[ThinkingSDKConstant.EVENT_ID] = mEventID; | |||
|  |             return dictionary; | |||
|  |         } | |||
|  |     } | |||
|  | } |