示例#1
0
        /// <summary>
        /// 获取应该程序列表
        /// </summary>
        /// <param name="callback">获取结果回调函数</param>
        public void GetApps(Action <ObservableCollection <QLApp> > callback)
        {
            apps.Clear();

            appCallBack = callback;
            var errno = PlcmProxy.GetApplicationInfo();

            if (ErrorNumber.OK != errno)
            {
                throw new Exception("获取信号流信息失败,errno=" + errno);
            }
        }