- using WCS.Core;
- using WCS.Entity.Protocol.Station;
- namespace WCS.WorkEngineering.Extensions
- {
- /// <summary>
- /// 设备扩展
- /// </summary>
- public static class DeviceExtension
- {
- public static bool IsConv(this Device source)
- {
- return source.HasProtocol(typeof(IStation521)) || source.HasProtocol(typeof(IStation520)) || source.HasProtocol(typeof(IStation522));
- }
- }
- }
|