wms电梯设定,新增开关电梯控制接口
This commit is contained in:
@@ -6,7 +6,8 @@ namespace Tnb.WarehouseMgr.Print
|
||||
{
|
||||
private const uint IMAGE_BITMAP = 0;
|
||||
private const uint LR_LOADFROMFILE = 16;
|
||||
private static readonly string dllPath = Path.Combine(AppContext.BaseDirectory, @"Library\x64", "Library\\x64\\Winpplb.dll");
|
||||
private static readonly string winPPLBDllPath = Path.Combine(AppContext.BaseDirectory, @"Library\x64", "Library\\x64\\Winpplb.dll");
|
||||
private static readonly string winPortDllPath = Path.Combine(AppContext.BaseDirectory, @"Library\x64", "Library\\x64\\WinPort.dll");
|
||||
|
||||
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
|
||||
private static extern IntPtr LoadImage(IntPtr hinst, string lpszName, uint uType,
|
||||
@@ -490,7 +491,7 @@ namespace Tnb.WarehouseMgr.Print
|
||||
/// 注:经测试,type=1E 手机不能识别;type=1 手机可识别;
|
||||
/// 这个 B_Prn_Barcode 函数可以列印出一个指定类型的条码 功能。
|
||||
/// </remarks>
|
||||
[DllImport("Library\\x64\\Winpplb.dll")]
|
||||
[DllImport($"Library\\x64\\Winpplb.dll")]
|
||||
|
||||
public static extern int B_Prn_Barcode(int x, int y, int ori, string type, int narrow,
|
||||
int width, int height, char human, string data);
|
||||
|
||||
Reference in New Issue
Block a user