using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace Construction.BatchCreateMap { public class ModelCreateIDW { #if DEBUG //const string DLL_FILE = @"C:\GeoIntelligent\Code\dirgdf\bin\Debug\WellCalibrate.dll"; public const string DLL_FILE = "ModelCreateIDW.dll"; #else public const string DLL_FILE = "ModelCreateIDW.dll"; #endif [DllImport(DLL_FILE, EntryPoint = "IDWModelCreate", ExactSpelling = false, CallingConvention = CallingConvention.Cdecl)] public static extern void IDWModelCreate(string xyzFile, string borderFile, string faultFile, string resultFile, int XCount, double smoothFactor, int smoothTimes, IntPtr callback, int insertTimes /*= 0*/, double contourStep, int contourMarkSpace , double xMin = -1, double yMin = -1, double xMax = -1, double yMax = -1); } }