|
|
@@ -13,7 +13,7 @@ namespace BenQGuru.eMES.DLLService
|
|
|
[InterfaceType(ComInterfaceType.InterfaceIsDual)]
|
|
|
public interface IMESHelper
|
|
|
{
|
|
|
- [DispId(12)]
|
|
|
+ [DispId(13)]
|
|
|
bool CheckRoutePassed(string iSN, string iResCode, out string oErrMessage);
|
|
|
bool GetRcardMOInfo(string iSN, out string oMoCode, out string oErrMessage);
|
|
|
bool CheckUserAndResourcePassed(string iUserCode, string iResCode, string iPassWord, out string oErrMessage);
|
|
|
@@ -26,6 +26,7 @@ namespace BenQGuru.eMES.DLLService
|
|
|
bool SetMobileData(string iTSN, string iSN, string iSourceCode, string iOperator, string iResult, string iErrCode, string flag, out string oErrorMessage);
|
|
|
bool SetPcbaData(string iSN, string iResCode, string iOperator, string iResult, string iErrCode, out string oErrMessage);
|
|
|
bool GoMo(string iMO, string iSN, string iResCode, out string oErrMessage);
|
|
|
+ bool GetSoftVersion(string iSN, out string oSoftVersion, out string oErrMessage);
|
|
|
}
|
|
|
|
|
|
[Guid("41EAB546-6EF4-464A-895A-9C34013A5D8C")]
|
|
|
@@ -260,6 +261,16 @@ namespace BenQGuru.eMES.DLLService
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
+ [Description("获取工单软件版本")]
|
|
|
+ public bool GetSoftVersion(string iSN, out string oSoftVersion, out string oErrMessage)
|
|
|
+ {
|
|
|
+ string oMakeCode = "";
|
|
|
+ oErrMessage = "";
|
|
|
+ GetRcardMOInfo(iSN, out oMakeCode, out oErrMessage);
|
|
|
+ oSoftVersion = getFieldDataByCondition("make", "ma_softversion", "ma_code='" + oMakeCode + "'").ToString();
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// 获取工单的最近一条执行记录
|
|
|
/// </summary>
|