Example #1
0
        private bool TCU软件升级明细_PanelGetDataInfo(GlobalObject.CE_FlowOperationType flowOperationType)
        {
            try
            {
                if (flowOperationType == CE_FlowOperationType.提交 && !DataCheck())
                {
                    return(false);
                }

                GetInfo();
                _ServiceTCU.CheckVersion(_UpdateInfo);

                FlowInfo_BillNo = txtBillNo.Text;

                List <object> listobj = new List <object>();

                listobj.Add((object)flowOperationType);
                listobj.Add((object)_UpdateInfo);
                listobj.Add((object)_ListDID);

                ResultList = listobj;

                this.KeyWords = "【车型代号】:" + _UpdateInfo.CarModelNo + ";【软件版本号】:" + _UpdateInfo.Version;
                return(true);
            }
            catch (Exception ex)
            {
                MessageDialog.ShowPromptMessage(ex.Message);
                return(false);
            }
        }
Example #2
0
        /// <summary>
        /// 收集数据
        /// </summary>
        /// <param name="isIgnoreResult">是否忽略结果的布尔值</param>
        /// <returns>收集成功返回True, 收集失败返回False</returns>
        public bool GetDateInfo(GlobalObject.CE_FlowOperationType flowOperationType)
        {
            if (PanelGetDataInfo != null)
            {
                this.resultList.Clear();
                this.resultTable.Rows.Clear();
                this.resultInfo = null;
                this.flowInfo_StorageIDOrWorkShopCode = null;

                return(PanelGetDataInfo(flowOperationType));
            }
            else
            {
                return(false);
            }
        }