public override IEnumerable <string> GetValueString() { List <string> result = new List <string>(); result.Add(FuncName); result.Add(Value1.ToString()); result.Add(Value2.ToString()); result.Add(Value3.ToString()); result.Add(Value4.ToString()); return(result); }
public override string GetStringValue() { switch (ValueSize) { case 1: return(Value1.ToString()); case 2: return(Value2.ToString()); case 4: return(Value4.ToString()); case 8: return(Value8.ToString()); default: return(""); } }