From da22725d616af0f3081670c76195eaf57794bc29 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期三, 18 五月 2022 16:03:33 +0800 Subject: [PATCH] Merge branch 'dev-CQY' into dev 1.调整全视通与自研的逻辑 2.增加获取可视对讲第三方账号接口 --- HDL-ON_iOS/Scan.cs | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/HDL-ON_iOS/Scan.cs b/HDL-ON_iOS/Scan.cs index 9b810ee..9bc60b9 100644 --- a/HDL-ON_iOS/Scan.cs +++ b/HDL-ON_iOS/Scan.cs @@ -8,12 +8,27 @@ public class Scan { + 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