| 1234567891011121314151617181920212223242526272829303132333435363738 | using MECF.Framework.Common.CommonData;using Newtonsoft.Json;using System;using System.Collections.Generic;using System.ComponentModel;using System.Linq;using System.Text;using System.Threading.Tasks;namespace MECF.Framework.Common.RecipeCenter{    public class VpwRinseStep : NotifiableItem, INotifyPropertyChanged    {        #region 内部变量        private int _durationSeconds;        private int _rotationSpeed;        private int _index;        private int _step;        #endregion        #region 属性        [JsonProperty]        public int DurationSeconds { get { return _durationSeconds; } set { _durationSeconds = value; InvokePropertyChanged(nameof(DurationSeconds)); } }        [JsonProperty]        public int RotationSpeed { get { return _rotationSpeed; } set { _rotationSpeed = value; InvokePropertyChanged(nameof(RotationSpeed)); } }                [JsonProperty]        public int Index { get { return _index; }             set { _index = value;_step = _index + 1; InvokePropertyChanged(nameof(Index)); InvokePropertyChanged(nameof(Step)); } }        [JsonProperty]        public int Step { get { return _step; } set { _step = value; InvokePropertyChanged(nameof(Step)); } }        #endregion           }}
 |