public bool SetValueMapAddress(PmacAddress addr) { if (addr != null) { return(connecter.SendCommand(addr.ToString())); } else { return(false); } }
/// <summary> /// 初始化驱动器 /// </summary> /// <returns></returns> public override bool InitAmpC() { if (!Connected) { connecter.DevIndex = devIndex; connecter.ConnectDriver(); } if (Connected) { bool flag = connecter.SendCommand(string.Format("#{0}J/", AmpCIndex));//设置为闭环控制 return(flag); } else { return(false); } }