using Prism.Mvvm; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TeamAAS_VP.Models { public class PlcAddressConfig : BindableBase { private int _PlcNo; public int PlcNo { get { return _PlcNo; } set { SetProperty(ref _PlcNo, value); } } private PlcAddress _WorkMode = new PlcAddress(); /// /// 工作模式 =1 拍1打1 =2 拍1打所有 /// public PlcAddress WorkMode { get { return _WorkMode; } set { SetProperty(ref _WorkMode, value); } } private PlcAddress _PickPointNum = new PlcAddress(); /// /// 取料位置 =0 不需要取料 =1 需要取料 /// public PlcAddress PickPointNum { get { return _PickPointNum; } set { SetProperty(ref _PickPointNum, value); } } private PlcAddress _cameraShotCount = new PlcAddress(); /// /// 相机拍照次数 /// public PlcAddress CameraShotCount { get => _cameraShotCount; set => SetProperty(ref _cameraShotCount, value); } private PlcAddress _upperCameraPickShotCount = new PlcAddress(); /// /// 上相机取料拍照次数 /// public PlcAddress UpperCameraPickShotCount { get => _upperCameraPickShotCount; set => SetProperty(ref _upperCameraPickShotCount, value); } private PlcAddress _upperCameraPlaceShotCount = new PlcAddress(); /// /// 上相机放料拍照次数 /// public PlcAddress UpperCameraPlaceShotCount { get => _upperCameraPlaceShotCount; set => SetProperty(ref _upperCameraPlaceShotCount, value); } private PlcAddress _upperCameraLockAssembleCount = new PlcAddress(); /// /// 上相机锁附/组装次数 /// public PlcAddress UpperCameraLockAssembleCount { get => _upperCameraLockAssembleCount; set => SetProperty(ref _upperCameraLockAssembleCount, value); } private PlcAddress _pickFixedPositionProductCameraCount = new PlcAddress(); /// /// 取料固定位置拍产品相机数量 /// public PlcAddress PickFixedPositionProductCameraCount { get => _pickFixedPositionProductCameraCount; set => SetProperty(ref _pickFixedPositionProductCameraCount, value); } private PlcAddress _lockFixedPositionProductCameraCount = new PlcAddress(); /// /// 锁附/组装固定位置拍产品相机数量 /// public PlcAddress LockFixedPositionProductCameraCount { get => _lockFixedPositionProductCameraCount; set => SetProperty(ref _lockFixedPositionProductCameraCount, value); } private PlcAddress _fixedCameraDetectLockAssembleCount = new PlcAddress(); /// /// 固定相机检测锁附/组装次数 /// public PlcAddress FixedCameraDetectLockAssembleCount { get => _fixedCameraDetectLockAssembleCount; set => SetProperty(ref _fixedCameraDetectLockAssembleCount, value); } } }