//-----------------------------------------------------------------------
//
// CMessageBase belongs to Copyright (c) Origtek. All rights reserved.
//
//-----------------------------------------------------------------------
using Newtonsoft.Json;
using System.Collections.Generic;
namespace OT.COM.SignalerMessage
{
///
/// Base of all message
///
public class CMessageBase
{
///
/// Initializes a new instance of the class
///
public CMessageBase()
{
this.param = new Dictionary();
}
// 輔助Plugin Routing
///
/// Gets or sets support plugin Routing
///
public string project { get; set; }
// 輔助Plugin Routing
///
/// Gets or sets support plugin Routing
///
public string projectver { get; set; }
// 區分此Message主要用途分類
///
/// Gets or sets main category message
///
public string module { get; set; }
// 區分此Message次要用途分類
///
/// Gets or sets sub category message
///
public string method { get; set; }
///
/// Gets or sets parameters
///
public Dictionary param { get; set; }
[JsonIgnore]
///
/// Only for backend usage
///
public Dictionary system_param { get; set; } = new Dictionary();
}
}