|
|
@@ -0,0 +1,89 @@
|
|
|
+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 _cameraShotCount = new PlcAddress();
|
|
|
+ /// <summary>
|
|
|
+ /// 相机拍照次数
|
|
|
+ /// </summary>
|
|
|
+ public PlcAddress CameraShotCount
|
|
|
+ {
|
|
|
+ get => _cameraShotCount;
|
|
|
+ set => SetProperty(ref _cameraShotCount, value);
|
|
|
+ }
|
|
|
+
|
|
|
+ private PlcAddress _upperCameraPickShotCount = new PlcAddress();
|
|
|
+ /// <summary>
|
|
|
+ /// 上相机取料拍照次数
|
|
|
+ /// </summary>
|
|
|
+ public PlcAddress UpperCameraPickShotCount
|
|
|
+ {
|
|
|
+ get => _upperCameraPickShotCount;
|
|
|
+ set => SetProperty(ref _upperCameraPickShotCount, value);
|
|
|
+ }
|
|
|
+
|
|
|
+ private PlcAddress _upperCameraPlaceShotCount = new PlcAddress();
|
|
|
+ /// <summary>
|
|
|
+ /// 上相机放料拍照次数
|
|
|
+ /// </summary>
|
|
|
+ public PlcAddress UpperCameraPlaceShotCount
|
|
|
+ {
|
|
|
+ get => _upperCameraPlaceShotCount;
|
|
|
+ set => SetProperty(ref _upperCameraPlaceShotCount, value);
|
|
|
+ }
|
|
|
+
|
|
|
+ private PlcAddress _upperCameraLockAssembleCount = new PlcAddress();
|
|
|
+ /// <summary>
|
|
|
+ /// 上相机锁附/组装次数
|
|
|
+ /// </summary>
|
|
|
+ public PlcAddress UpperCameraLockAssembleCount
|
|
|
+ {
|
|
|
+ get => _upperCameraLockAssembleCount;
|
|
|
+ set => SetProperty(ref _upperCameraLockAssembleCount, value);
|
|
|
+ }
|
|
|
+
|
|
|
+ private PlcAddress _pickFixedPositionProductCameraCount = new PlcAddress();
|
|
|
+ /// <summary>
|
|
|
+ /// 取料固定位置拍产品相机数量
|
|
|
+ /// </summary>
|
|
|
+ public PlcAddress PickFixedPositionProductCameraCount
|
|
|
+ {
|
|
|
+ get => _pickFixedPositionProductCameraCount;
|
|
|
+ set => SetProperty(ref _pickFixedPositionProductCameraCount, value);
|
|
|
+ }
|
|
|
+
|
|
|
+ private PlcAddress _lockFixedPositionProductCameraCount = new PlcAddress();
|
|
|
+ /// <summary>
|
|
|
+ /// 锁附/组装固定位置拍产品相机数量
|
|
|
+ /// </summary>
|
|
|
+ public PlcAddress LockFixedPositionProductCameraCount
|
|
|
+ {
|
|
|
+ get => _lockFixedPositionProductCameraCount;
|
|
|
+ set => SetProperty(ref _lockFixedPositionProductCameraCount, value);
|
|
|
+ }
|
|
|
+
|
|
|
+ private PlcAddress _fixedCameraDetectLockAssembleCount = new PlcAddress();
|
|
|
+ /// <summary>
|
|
|
+ /// 固定相机检测锁附/组装次数
|
|
|
+ /// </summary>
|
|
|
+ public PlcAddress FixedCameraDetectLockAssembleCount
|
|
|
+ {
|
|
|
+ get => _fixedCameraDetectLockAssembleCount;
|
|
|
+ set => SetProperty(ref _fixedCameraDetectLockAssembleCount, value);
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|