qinjie
2023-12-19 c34f05eace8f6aefe1cdc2f77f5bfa17bd25a260
Hydro.HydraulicModel/EpanetBase2.2.cs
@@ -11,11 +11,12 @@
namespace Hydro.HydraulicModel
{
    class EpanetBase2_2
    class HydraulicCoreBase
    {
        const string DLLName = "epanet2.2.dll";//"epanet2.2.dll"
                                               //{ These are codes used by the DLL functions }
        const string DLLName = "hydraulicCore.dll";//"epanet2.2.dll";//"epanet2.2.dll"
        //{ These are codes used by the DLL functions }
@@ -152,7 +153,7 @@
            int nodeindex = 0;
            err = ENgetnodeindex22 (projectID,nodeID,ref nodeindex);
            if (err > 0) return err;
            err = ENsetnodevalue22(projectID, nodeindex, Epanet.Const_class.Const_Node.EN_PATTERN, patternid);
            err = ENsetnodevalue22(projectID, nodeindex, HydraulicCore.Const_class.Const_Node.EN_PATTERN, patternid);
            return err;
        }