public InstructionModel(InstructionCategoryEnum Category , int Id, string Label, InstructionTypeEnum Type, string Description, object Value, List <string> OptionValues, bool Required, string RequiredValue) { this.Id = Id; this.Label = Label; this.Value = Value; this.Type = Type.ToString(); this.Category = Category.ToString(); this.Description = Description; this.OptionValues = OptionValues; this.Required = Required; this.RequiredValue = RequiredValue; }
public InstructionToken(SimpleToken tokenInfo, uint propcode, InstructionTypeEnum instructionType) : base(tokenInfo) { this.propcode = propcode; this.instructionType = instructionType; }
public turtleInstruction(InstructionTypeEnum instructionType, float data = -1f) { InstructionType = instructionType; Data = data; }