Exemple #1
0
        // 大客户数据分析-汇总
        public static string LoadCustomerTotal(ref string a_strErr)
        {
            DataTable dtCustomer = new DataTable();

            dtCustomer = FlowDAPro.LoadCustomerTotal(ref a_strErr);

            if (dtCustomer == null)
            {
                return("");
            }
            if (dtCustomer.Rows.Count == 0)
            {
                return("");
            }

            string strCustomer = GFun.Dt2Json("CustomerTotal", dtCustomer);

            return(strCustomer);
        }
Exemple #2
0
        // 获取检测工作量列表
        public static string getDeceteListNew(string taskID, string length, ref string a_strErr)
        {
            DataTable dtDeceteList = new DataTable();

            dtDeceteList = DecetePro.getDeceteListNew(taskID, length, ref a_strErr);

            if (dtDeceteList == null)
            {
                return("");
            }
            if (dtDeceteList.Rows.Count == 0)
            {
                return("");
            }

            string strDeceteList = GFun.Dt2Json("DeceteList", dtDeceteList);

            return(strDeceteList);
        }
Exemple #3
0
        // 新增-加载超声波需要检查的仪表项目
        public static string GetCheckItemsUT(ref string a_strErr)
        {
            DataTable dtItems = new DataTable();

            dtItems = FlowMeterPro.GetCheckItemsUT(ref a_strErr);

            if (dtItems == null)
            {
                return("");
            }
            if (dtItems.Rows.Count == 0)
            {
                return("");
            }

            string strCheckItems = GFun.Dt2Json("CheckItems", dtItems);

            return(strCheckItems);
        }
Exemple #4
0
        // 发货确认单查看-加载列表
        public static string GetSendDeliveryInfo(string strDeliverID, ref string a_strErr)
        {
            DataTable dtList = new DataTable();

            dtList = FlowMeterPro.GetSendDeliveryInfo(strDeliverID, ref a_strErr);

            if (dtList == null)
            {
                return("");
            }
            if (dtList.Rows.Count == 0)
            {
                return("");
            }

            string strList = GFun.Dt2Json("SendDeliveryInfo", dtList);

            return(strList);
        }
Exemple #5
0
        // 打印随工单-加载更换部件列表
        public static string GetChangeBakList(string strRID, ref string a_strErr)
        {
            DataTable dtList = new DataTable();

            dtList = FlowMeterPro.GetChangeBakList(strRID, ref a_strErr);

            if (dtList == null)
            {
                return("");
            }
            if (dtList.Rows.Count == 0)
            {
                return("");
            }

            string strList = GFun.Dt2Json("ChangeBakList", dtList);

            return(strList);
        }