using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace CJia.PIVAS.Views.Label
{
    /// <summary>
    /// ²éÑ¯Æ¿Ìù½Ó¿Ú
    /// </summary>
    public interface IQueryLabelView : CJia.PIVAS.Tools.IView
    {
        /// <summary>
        /// ²éÑ¯ËùÓÐ²¡ÇøËùÓÐÅú´ÎµÄÆ¿Ìù»ã×ÜÊÂ¼þ
        /// </summary>
        event EventHandler<QueryLabelViewEventArgs> OnQueryAlllIffieldBachLabelCollect;

        /// <summary>
        /// ²éÑ¯Ò©Æ¿»ã×ÜÐÅÏ¢ÊÂ¼þ
        /// </summary>
        event EventHandler<QueryLabelViewEventArgs> OnQueryPharmCollect;

        /// <summary>
        /// ²éÑ¯°ÚÒ©µ¥ÊÂ¼þ
        /// </summary>
        event EventHandler<QueryLabelViewEventArgs> OnQueryArrangeEvent;

        /// <summary>
        /// ²éÑ¯Æ¿ÌùÏêÇéÐÅÏ¢ÊÂ¼þ
        /// </summary>
        event EventHandler<QueryLabelViewEventArgs> OnQueryLabelDetails;

        /// <summary>
        /// ²éÑ¯Æ¿ÌùÏêÇéÐÅÏ¢ÊÂ¼þ ´øÆ¿ÌùÏêÇé±íÖÐµÄÊý¾Ý
        /// </summary>
        event EventHandler<QueryLabelViewEventArgs> OnQueryLabelDetailsInfo;

        /// <summary>
        /// ²éÑ¯Æ¿Ìù»ã×ÜÐÅÏ¢ÊÂ¼þ
        /// </summary>
        event EventHandler<QueryLabelViewEventArgs> OnQueryLabelCollect;

        /// <summary>
        /// ÐÞ¸Ä°ÚÒ©µ¥idÁÐ±í¹ýÂËÌõ¼þ
        /// </summary>
        event EventHandler<QueryLabelViewEventArgs> OnModifFilterArrange;

        /// <summary>
        /// »ñÈ¡Æ¿ÌùÌõÐÎÂë
        /// </summary>
        event CJia.PIVAS.Tools.Delegate.ResThreePar OnGetLabelBarcode;

        /// <summary>
        /// ÐÞ¸ÄÆ´Ìù´òÓ¡×´Ì¬
        /// </summary>
        event CJia.PIVAS.Tools.Delegate.NoResOnePar OnUpdateLabelPrintStatus;

        /// <summary>
        /// °ó¶¨Æ¿ÌùÏêÇé»Øµ÷·½·¨
        /// </summary>
        /// <param name="result"></param>
        void ExeBindingLabelDetails(DataTable result);

        /// <summary>
        /// °ó¶¨Æ¿ÌùÏêÇé»Øµ÷·½·¨
        /// </summary>
        /// <param name="result"></param>
        void ExeBindingLabelDetailsInfo(DataTable result);

        /// <summary>
        /// °ó¶¨Æ¿Ìù»ã×Ü»Øµ÷·½·¨
        /// </summary>
        /// <param name="result"></param>
        void ExeBindingLabelCollect(DataTable result);

        /// <summary>
        /// °ó¶¨°ÚÒ©µ¥»Øµ÷·½·¨
        /// </summary>
        /// <param name="result"></param>
        void ExeBindingArrange(DataTable result);

        /// <summary>
        /// °ó¶¨ËùÓÐ²¡ÇøËùÓÐÅú´ÎÆ¿Ìù»ã×ÜÐÅÏ¢»Øµ÷·½·¨
        /// </summary>
        /// <param name="result"></param>
        void ExeBindingAlllIffieldBachLabelCollect(DataTable result);

        /// <summary>
        /// °ó¶¨Ò©Æ·»ã×ÜÐÅÏ¢»Øµ÷·½·¨
        /// </summary>
        /// <param name="result"></param>
        void ExeBindingPharmCollect(DataTable result);

    }

    /// <summary>
    /// ²éÑ¯Æ¿ÌùÊÂ¼þ²ÎÊý
    /// </summary>
    public class QueryLabelViewEventArgs : EventArgs
    {

        /// <summary>
        /// Ñ¡ÔñµÄ²éÑ¯ÊÂ¼þ
        /// </summary>
        public DateTime QueryTime;

        /// <summary>
        /// Ñ¡ÔñµÄ°ÚÒ©µ¥idÁÐ±í
        /// </summary>
        public List<object> SelectArrangeIdList;

        /// <summary>
        /// Æ¿ÌùÒ³ÂëºÅ
        /// </summary>
        public string LabelPageNo;

        /// <summary>
        /// Æ¿Ìùid
        /// </summary>
        public string LabelId;

    }



}