public MingRi(xDm mydm, int dqinx, string dizhi) { this.mf = (myDm)mydm; this.dqinx = dqinx; this.jubing = MyLdcmd.getDqmoniqiJuBingByIndex(dqinx, dizhi); //模拟器的名字 取值有问题 改为index this.mnqName = dqinx + ""; WriteLog.WriteLogFile(this.mnqName, "明日构造函数,句柄是:" + jubing + ",模拟器index是:" + mnqName + ",thread:" + Thread.CurrentThread.ManagedThreadId); }
/// <summary> /// 跳过动画专用点击位置x /// </summary> //private int tiaoguoyongX = 100; /// <summary> /// 跳过动画专用点击位置y /// </summary> //private int tiaoguoyongY = 90; public YiQuan_Da(xDm mydm, int dqinx, string dizhi) { this.mf = (myDm)mydm; this._dqinx = dqinx; this._jubing = MyLdcmd.getDqmoniqiJuBingByIndex(dqinx, dizhi); //模拟器的名字 取值有问题 改为index this._mnqName = dqinx + ""; int r = mf.bindWindow(this._jubing); WriteLog.WriteLogFile(this._mnqName, "一拳构造函数,句柄是:" + _jubing + ",模拟器index是:" + _mnqName + ",thread:" + Thread.CurrentThread.ManagedThreadId + ",绑定:" + r); }
public object CreateYouXiCs(string brand, xDm mydm, int dqinx, int jubing) { switch (brand) { case "jiuyou": youcr = new JiuYouZhuCe(mydm, dqinx, jubing); break; default: break; } return(youcr); }
public MyYouXi(xDm mydm, int dqinx, int jubing) { this.mf = (myDm)mydm; this._dqinx = dqinx; this._jubing = jubing; //模拟器的名字 取值有问题 改为index this._mnqName = dqinx + ""; int r = -1; if (jubing > 0) { r = mf.bindWindow(this._jubing); } WriteLog.WriteLogFile(this._mnqName, this._youxiEntity.Youxiname + "构造函数,句柄是:" + _jubing + ",模拟器index是:" + _mnqName + ",绑定:" + r); }