using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using FObjBase; using FLY.Thick.Blowing.IService; using FLY.Thick.Blowing.OBJ_INTERFACE; using Newtonsoft.Json; namespace FLY.Thick.Blowing.Client { public class ScanWarningServiceClient : FObjBase.Reflect.Reflect_SeviceClient, IScanWarningService { protected override Type InterfaceType => typeof(IScanWarningService); /// /// /// /// public ScanWarningServiceClient(UInt32 serviceId) : base(serviceId) { } /// /// /// /// /// public ScanWarningServiceClient(UInt32 serviceId, string connName) : base(serviceId, connName) { } #region IScanWarningService /// /// 使能 /// public bool Enable { get; set; } /// /// 自动目标值 /// public bool IsAutoTarget { get; set; } /// /// 连续N个点,大于规格线(公差)才算报警 /// public int AlarmCnt_Tolerance { get; set; } #endregion public void Apply() { Call(nameof(Apply)); } } }