コード例 #1
0
        /// <summary>
        /// 修改实时行走异常报警措施
        /// </summary>
        /// <param name="id">报警信息ID</param>
        /// <returns>返回执行信息条数</returns>
        private int UpdateRealTimeWalkMeasure(int id, string measure)
        {
            if (bll == null)
                bll = new RealTimeWalkBLL();

            return bll.UpdateRealTimeWalkMeasure(id, measure);
        }
コード例 #2
0
        /// <summary>
        /// 删除(完成)实时行走异常报警,写入历史
        /// </summary>
        /// <param name="id">报警信息ID</param>
        /// <returns>返回执行信息条数</returns>
        private int DeleteRealTimeWalkInfoToHistroy(int id)
        {
            if (bll == null)
                bll = new RealTimeWalkBLL();

            return bll.DeleteRealTimeWalkInfoToHistroy(id);
        }
コード例 #3
0
        /// <summary>
        /// 查询实时行走异常报警信息
        /// </summary>
        /// <returns>返回结果记录</returns>
        private DataTable SelectRealTimeWalkAlarmInfo(string condition)
        {
            if (bll == null)
                bll = new RealTimeWalkBLL();

            return bll.SelectRealTimeWalkAlarmInfo(condition);
        }