From ea0b1e8e5f43c5fd0a7d479e25ede3b8cbea464a Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期一, 02 十二月 2024 17:17:19 +0800
Subject: [PATCH] tcp;可视对讲;
---
HDL-ON_Android/Scan.cs | 37 -------------------------------------
1 files changed, 0 insertions(+), 37 deletions(-)
diff --git a/HDL-ON_Android/Scan.cs b/HDL-ON_Android/Scan.cs
index ee51da6..8b1d2d9 100644
--- a/HDL-ON_Android/Scan.cs
+++ b/HDL-ON_Android/Scan.cs
@@ -106,43 +106,6 @@
}
}
- //public static void OpenScan1(Action<string> action)
- //{
- // (Shared.Application.Activity as BaseActivity).SetCamera((obj) => {
- // if (obj)
- // {
- // var scanner = new MobileBarcodeScanner { };
- // // ZXing
- // scanner.UseCustomOverlay = false;
- // // 搴曢儴涓や釜鎸夐挳鏂囧瓧
- // scanner.FlashButtonText = "";//"璇嗗埆";
- // scanner.CancelButtonText = Language.CurrentLanguage == "Chinese" ? "鍙栨秷" : "Cancel";
-
- // // 鏂规涓婏紝涓嬫柟鏂囧瓧鎻愮ず
- // scanner.TopText = Language.CurrentLanguage == "Chinese" ? "璇峰皢鏉″舰鐮佸鍑嗘柟妗嗗唴" : "Please align the bar code in the scan box";
- // scanner.BottomText = "";
-
- // // 寤舵椂涓夌鑷姩鎵
- // var opt = new MobileBarcodeScanningOptions();
- // opt.DelayBetweenContinuousScans = 3000;
- // scanner.ScanContinuously(opt, (obj2) => {
- // scanner.Cancel();
- // action?.Invoke(obj2.Text);
- // });
- // }
- // else
- // {
- // action?.Invoke("");
- // }
- // });
- //}
-
-
- //static void initFromCameraParameters(Android.Graphics.Camera camera)
- //{
- // //camera.SetLocation
- //}
-
public void onResult(string result)
{
if (!string.IsNullOrEmpty( result))
--
Gitblit v1.8.0