22 lines
807 B
C#
22 lines
807 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using YLErp.ThirdParty.CaculatePrice.DongZheng.Dto;
|
|
|
|
namespace YLErp.ThirdParty.CaculatePrice.DongZheng.DelegateMethod
|
|
{
|
|
public class StructProductMehod
|
|
{
|
|
//EXPORT_FUNCTION bool MYDECL Accumulator(AccRequest* request, AccResult* result);
|
|
[DllImport("PricingDll.dll")]
|
|
public static extern bool Accumulator(ref AccRequest request, ref AccResult result);
|
|
|
|
//EXPORT_FUNCTION bool MYDECL StructureProduct(StructureRequest* request, StructureResult* result);
|
|
[DllImport("PricingDll.dll")]
|
|
public static extern bool StructureProduct(ref StructureRequest request, ref StructureResult result);
|
|
}
|
|
}
|