From ea285ffe71284f5499e870f89c65b710d2d6a79c Mon Sep 17 00:00:00 2001
From: lss <lsc@hdlchina.com.cn>
Date: 星期一, 27 六月 2022 10:54:32 +0800
Subject: [PATCH] Merge branch 'wxr0114' of http://59.41.255.150:6688/r/~wxr/OnPro into wxr0114
---
HDL-ON_iOS/Scan.cs | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/HDL-ON_iOS/Scan.cs b/HDL-ON_iOS/Scan.cs
index 15d717d..9bc60b9 100644
--- a/HDL-ON_iOS/Scan.cs
+++ b/HDL-ON_iOS/Scan.cs
@@ -8,13 +8,27 @@
public class Scan
{
- public static string TipMsg = "";
+ public string TipMsg = "";
public Scan()
{
}
+ private static Scan ins;
+
+ public static Scan Ins
+ {
+ get
+ {
+ if (ins == null)
+ {
+ ins = new Scan();
+ }
+ return ins;
+ }
+
+ }
static MobileBarcodeScanner scanner;
- public static async void OpenScan(Action<string> action)
+ public async void OpenScan(Action<string> action)
{
string cancel = "鍙栨秷";
string flashText = "";
--
Gitblit v1.8.0