| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 | using Caliburn.Micro.Core;using MECF.Framework.Common.CommonData;using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace FurnaceUI.Views.Editors{    public class ShowRecipeHistory : PropertyChangedBase    {        public ShowRecipeHistory() { }        public ShowRecipeHistory(RecipeHistory recipeHistory)        {            this.Guid = recipeHistory.Guid;            this.CreatedBy = recipeHistory.CreatedBy;            this.CreationTime = recipeHistory.CreationTime;            this.LastRevisedBy = recipeHistory.LastRevisedBy;            this.LastRevisionTime = recipeHistory.LastRevisionTime;            this.Recipe_Description = recipeHistory.Recipe_Description;            this.Recipe_Type = recipeHistory.Recipe_Type;            this.Recipe_Name = recipeHistory.Recipe_Name;            this.Recipe_Path = recipeHistory.Recipe_Path;            this.Recipe_Level = recipeHistory.Recipe_Level;            this.Recipe_Version = recipeHistory.Recipe_Version;            this.Recipe_Premission = recipeHistory.Recipe_Premission;            this.Recipe_Compare = recipeHistory.Recipe_Compare;            this.Recipe_Content = recipeHistory.Recipe_Content;        }        private string guid;        public string Guid        {            get => guid;            set            {                guid = value;                NotifyOfPropertyChange(nameof(Guid));            }        }        private string createdBy;        public string CreatedBy        {            get => createdBy;            set            {                createdBy = value;                NotifyOfPropertyChange(nameof(CreatedBy));            }        }        private DateTime creationTime;        public DateTime CreationTime        {            get => creationTime;            set            {                creationTime = value;                NotifyOfPropertyChange(nameof(CreationTime));            }        }        public string lastRevisedBy;        public string LastRevisedBy        {            get => lastRevisedBy; set            {                lastRevisedBy = value;                NotifyOfPropertyChange(nameof(LastRevisedBy));            }        }        private DateTime lastRevisionTime;        public DateTime LastRevisionTime        {            get => lastRevisionTime;            set            {                lastRevisionTime = value;                NotifyOfPropertyChange(nameof(LastRevisionTime));            }        }        private string recipe_Description;        public string Recipe_Description        {            get => recipe_Description;            set            {                recipe_Description = value;                NotifyOfPropertyChange(nameof(Recipe_Description));            }        }        private string recipe_Type;        public string Recipe_Type        {            get => recipe_Type;            set            {                recipe_Type = value;                NotifyOfPropertyChange(nameof(Recipe_Type));            }        }        private string recipe_Version;        public string Recipe_Version        {            get => recipe_Version;            set            {                recipe_Version = value;                NotifyOfPropertyChange(nameof(Recipe_Version));            }        }        private string recipe_Level;        public string Recipe_Level        {            get => recipe_Level;            set            {                recipe_Level = value;                NotifyOfPropertyChange(nameof(Recipe_Level));            }        }        private string recipe_Premission;        public string Recipe_Premission        {            get => recipe_Premission;            set            {                recipe_Premission = value;                NotifyOfPropertyChange(nameof(Recipe_Premission));            }        }        private string recipe_Name;        public string Recipe_Name        {            get => recipe_Name;            set            {                recipe_Name = value;                NotifyOfPropertyChange(nameof(Recipe_Name));            }        }        private string recipe_Path;        public string Recipe_Path        {            get => recipe_Path;            set            {                recipe_Path = value;                NotifyOfPropertyChange(nameof(Recipe_Path));            }        }        private string recipe_Compare;        public string Recipe_Compare        {            get => recipe_Compare;            set            {                recipe_Compare = value;                NotifyOfPropertyChange(nameof(Recipe_Compare));            }        }        public string recipe_Content;        public string Recipe_Content        {            get => recipe_Content;            set            {                recipe_Content = value;                NotifyOfPropertyChange(nameof(recipe_Content));            }        }        private bool _isSelected;        public bool IsSelected        {            get { return _isSelected; }            set            {                _isSelected = value;                NotifyOfPropertyChange(nameof(IsSelected));            }        }    }}
 |