| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- using Prism.Mvvm;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using TeamAAS_VP.Core.PLCs;
- namespace TeamAAS_VP.Models.Torque
- {
- public class PlcPoint_Torque : BindableBase
- {
- private int _Number;
- public int Number
- {
- get { return _Number; }
- set { SetProperty(ref _Number, value); }
- }
- private string _Label;
- public string Label
- {
- get { return _Label; }
- set { SetProperty(ref _Label, value); }
- }
- private float _X_Position;
- public float X_Position
- {
- get { return _X_Position; }
- set { SetProperty(ref _X_Position, value); }
- }
- private float _Y_Position;
- public float Y_Position
- {
- get { return _Y_Position; }
- set { SetProperty(ref _Y_Position, value); }
- }
- private float _Z_Position_Start;
- public float Z_Position_Start
- {
- get { return _Z_Position_Start; }
- set { SetProperty(ref _Z_Position_Start, value); }
- }
- private float _Z_Position_Stop;
- public float Z_Position_Stop
- {
- get { return _Z_Position_Stop; }
- set { SetProperty(ref _Z_Position_Stop, value); }
- }
- public PlcPoint_Torque()
- {
- Number = 0;
- X_Position = 0;
- Y_Position = 0;
- Z_Position_Start = 0;
- Z_Position_Stop = 0;
- }
- public PlcPoint_Torque Clone()
- {
- return new PlcPoint_Torque
- {
- Number = this.Number,
- Label = this.Label,
- X_Position = this.X_Position,
- Y_Position = this.Y_Position,
- Z_Position_Start = this.Z_Position_Start,
- Z_Position_Stop = this.Z_Position_Stop,
- };
- }
- }
- }
|