示例#1
0
 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;
 }
示例#2
0
文件: Tdop.cs 项目: ZiCog/HomeSpun
 public InstructionToken(SimpleToken tokenInfo, uint propcode, InstructionTypeEnum instructionType)
     : base(tokenInfo)
 {
     this.propcode = propcode;
     this.instructionType = instructionType;
 }
示例#3
0
 public turtleInstruction(InstructionTypeEnum instructionType, float data = -1f)
 {
     InstructionType = instructionType;
     Data            = data;
 }