using OMS.NET.Common; namespace OMS.NET.Instructs { public class GetMapLayerInstruct : Instruct { public GetMapLayerInstruct() { this.Type = "get_mapLayer"; } public override Task Handler(string wsid) { return Task.Run(() => { if (GlobalArea.LoginCheckByID(wsid)) { } }); } } public class SendMapLayerInstruct : Instruct { public SendMapLayerInstruct() { this.Type = "send_mapLayer"; } } }