From e34270918f2e831048114ecdfcfec3e3cdbb6fd7 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 26 五月 2022 17:42:58 +0800
Subject: [PATCH] Merge branch 'release0123' 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