/// <summary> /// 修改案件 /// </summary> /// <param name="caseInfo">案件信息</param> /// <returns>成功返回TRUE,失败返回FALSE</returns> public bool MdfCase(CaseInfo caseInfo) { TVDASDK_CASE_BASE tCaseBase = ModelParser.Convert(caseInfo); MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, string.Format("IVXSDKProtocol VdaSdk_MdfCase caseID:{0}," + "szCaseName:{1}," + "szCaseNo:{2}," + "dwCaseHappenTime:{3}," + "szCaseDescription:{4}," + "szCaseHappenAddr:{5}," + Environment.NewLine , caseInfo.CaseID , tCaseBase.szCaseName , tCaseBase.szCaseNo , tCaseBase.dwCaseHappenTime , tCaseBase.szCaseDescription , tCaseBase.szCaseHappenAddr )); bool retVal = IVXSDKProtocol.VdaSdk_MdfCase(caseInfo.CaseID, tCaseBase); if (!retVal) { // 调用失败,抛异常 CheckError(); } MyLog4Net.ILogExtension.DebugWithDebugView(MyLog4Net.Container.Instance.Log, string.Format("IVXSDKProtocol VdaSdk_MdfCase ret:{0}", retVal)); return(retVal); }
public static extern bool VdaSdk_MdfCase(UInt32 dwCaseID, TVDASDK_CASE_BASE tCaseBase);
public static extern bool VdaSdk_AddCase(TVDASDK_CASE_BASE tCaseBase, out uint pdwCaseID);