using EGFramework; namespace Emergency_platform{ public class ModelNumericalValue : EGModule,IEGFramework { public override void Init() { this.EGRegisterMessageEvent((e,sender,protocol)=>{ Console.WriteLine("Get Command " + e.action); Console.WriteLine("Command params is" + e.halmet + "|" + e.targetname + "|" + e.taskid); }); this.EGOnMessage(); Console.WriteLine("ModelNumericalValue has been Loaded!"); } } }