using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace MECF.Framework.Common.MECF.Framework.Common.RecipeCenter.Recipe
{
    [Serializable]
    [DataContract]
    public class RecipeStepInfo
    {
        [DataMember]
        public string StepName {  get; set; }

        [DataMember]
        public string StepUid { get; set; }

        [DataMember]
        public double StepTime { get; set; }
        [DataMember]
        public double GrowthRate { get; set; }
        [DataMember]
        public bool IsJumpStep { get; set; }
        [DataMember]
        public bool IsLoopStartStep { get; set; }
        [DataMember]
        public bool IsLoopEndStep { get; set; }
        [DataMember]
        public bool IsDummyStep { get; set; }
        [DataMember]
        public int LoopCount { get; set; }
        [DataMember]
        public EnumEndByCondition EndBy { get; set; }
        [DataMember]
        public double EndByValue { get; set; }

        [DataMember]
        public Dictionary<string, string> RecipeCommands { get; set; } = new Dictionary<string, string>();

        [DataMember]
        public List<string> HighLightList { get; set; } = new List<string>();
    }
}
