using FLY.Thick.Base.Common; using FLY.Thick.Base.IService; using FObjBase.Reflect; using System; namespace FLY.Thick.Base.Client { /// /// /// public class TDGageServiceClient : FObjBase.Reflect.Reflect_SeviceClient, ITDGageService { protected override Type InterfaceType => typeof(ITDGageService); public DynArea DynArea { get; } = new DynArea(); /// /// /// /// public TDGageServiceClient(UInt32 serverid) : base(serverid) { } /// /// /// /// 服务id /// 连接器 public TDGageServiceClient(UInt32 serviceId, string connName) : base(serviceId, connName) { } /// /// /// public void StartP1() { Call(nameof(StartP1)); } /// /// /// /// public void StartP2(STARTP2_MODE mode) { Call(nameof(StartP2), new { mode }); } /// /// /// /// /// public void StartP2(STARTP2_MODE mode, int targetpos) { Call(nameof(StartP2), new { mode, targetpos }); } } }