You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
577 B
15 lines
577 B
using EGFramework; |
|
namespace Emergency_platform{ |
|
public class ModelNumericalValue : EGModule,IEGFramework |
|
{ |
|
public override void Init() |
|
{ |
|
this.EGRegisterMessageEvent<ResponseNumericalValue>((e,sender,protocol)=>{ |
|
Console.WriteLine("Get Command " + e.action); |
|
Console.WriteLine("Command params is" + e.halmet + "|" + e.targetname + "|" + e.taskid); |
|
}); |
|
this.EGOnMessage<ResponseNumericalValue>(); |
|
Console.WriteLine("ModelNumericalValue has been Loaded!"); |
|
} |
|
} |
|
}
|
|
|