protected override bool StartConnectCore() { if (!base.StartConnectCore()) { return(false); } Handle = OfficalAPI.FY6400_OpenDevice(BoardId); if (Handle.ToInt32() == -1) { this.Warn($"未检测到{BoardId}号板卡."); return(false); } return(true); }
protected override bool StartConnectCore() { if (!base.StartConnectCore()) { return(false); } Handle = OfficalAPI.FY6400_OpenDevice(BoardId); if (Handle.ToInt32() == -1) { this.Warn($"未检测到{BoardId}号板卡."); return(false); } return(true); }