1 Star 0 Fork 2

zkleaf/ PDA解决方案:活字格设计器插件( PDA(Android)交互命令)

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
Broadcast_Mode_ContinuousScanStart.cs 1.55 KB
Copy Edit Raw Blame History
宁伟 authored 2023-01-11 14:25 . 1. 增加蓝牙打印能力
using GrapeCity.Forguncy.Commands;
using GrapeCity.Forguncy.Plugin;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AndroidPDACommand
{
[Icon("pack://application:,,,/AndroidPDACommand;component/Resources/Icon_Scan.png")]
[Category("活字格安卓容器(HAC)")]
[OrderWeight(200)]
public class Broadcast_Mode_ContinuousScanStart : Command, IPropertySearchable, IForceGenerateCell
{
[FormulaProperty(true)]
[DisplayName("目标单元格")]
public object TargetCell { get; set; }
public override string ToString()
{
return "开始持续扫码到单元格";
}
public override CommandScope GetCommandScope()
{
return CommandScope.All;
}
public IEnumerable<FindResultItem> EnumSearchableProperty(LocationIndicator location)
{
yield return new FindResultItem()
{
Location = location.AppendProperty("目标单元格"),
Value = TargetCell?.ToString()
};
}
public IEnumerable<GenerateCellInfo> GetForceGenerateCells()
{
if (TargetCell is IFormulaReferObject formulaReferObject)
{
var cellInfo = formulaReferObject.GetGenerateCellInfo();
if (cellInfo != null)
{
yield return cellInfo;
}
}
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/zkleaf/huozige-hac-plugin.git
git@gitee.com:zkleaf/huozige-hac-plugin.git
zkleaf
huozige-hac-plugin
PDA解决方案:活字格设计器插件( PDA(Android)交互命令)
master

Search

0d507c66 1850385 C8b1a773 1850385