|
|
@@ -197,5 +197,62 @@ namespace Dongke.IBOSS.PRD.WCF.Services
|
|
|
return "EE";
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 注浆接口 xuwei add 2019-11-19
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="accountCode"></param>
|
|
|
+ /// <param name="userCode"></param>
|
|
|
+ /// <param name="groutingData"></param>
|
|
|
+ /// <returns></returns>
|
|
|
+ public string SetGroutingLineDetail(string accountCode, string userCode, string groutingData)
|
|
|
+ {
|
|
|
+ try
|
|
|
+ {
|
|
|
+ ServiceResultEntity sre = SmartDeviceLogic.SetGroutingLineDetail(accountCode, userCode, groutingData);
|
|
|
+ DataTable dt = sre.Data.Tables[0];
|
|
|
+ return dt.Rows[0]["out_errMsg"].ToString();
|
|
|
+ }
|
|
|
+ catch(Exception ex)
|
|
|
+ {
|
|
|
+ OutputLog.TraceLog(LogPriority.Error,
|
|
|
+ this.ToString(),
|
|
|
+ System.Reflection.MethodBase.GetCurrentMethod().Name + System.Environment.NewLine +
|
|
|
+ " accountCode:" + accountCode + " userCode:" + userCode ,
|
|
|
+ ex.ToString(),
|
|
|
+ LocalPath.LogExePath);
|
|
|
+ return "EE";
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// 登窑、入窑、出窑 接口 xuwei add 2019-11-19
|
|
|
+ /// </summary>
|
|
|
+ /// <param name="accountCode"></param>
|
|
|
+ /// <param name="userCode"></param>
|
|
|
+ /// <param name="groutingData"></param>
|
|
|
+ /// <returns></returns>
|
|
|
+ public string AddWorkPieceKiln(string accountCode, string userCode, int procedureID, DataTable barcodeTable, out ProcedureEntity procedureInfo)
|
|
|
+ {
|
|
|
+ procedureInfo = null;
|
|
|
+ try
|
|
|
+ {
|
|
|
+ ServiceResultEntity sre = SmartDeviceLogic.AddWorkPieceKiln(accountCode, userCode, procedureID, barcodeTable, out procedureInfo);
|
|
|
+ DataTable dt = sre.Data.Tables[0];
|
|
|
+ return dt.Rows[0]["out_errMsg"].ToString();
|
|
|
+ }
|
|
|
+ catch (Exception ex)
|
|
|
+ {
|
|
|
+ OutputLog.TraceLog(LogPriority.Error,
|
|
|
+ this.ToString(),
|
|
|
+ System.Reflection.MethodBase.GetCurrentMethod().Name + System.Environment.NewLine +
|
|
|
+ " accountCode:" + accountCode + " userCode:" + userCode + "procedureID:"+procedureID,
|
|
|
+ ex.ToString(),
|
|
|
+ LocalPath.LogExePath);
|
|
|
+ return "EE";
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
}
|