public static bool IsSimple(ISmvType type) { if (type is BoolSmvType || type is IntSmvType || type is RealSmvType) { return(true); } else { return(false); } }
public Variable(string name, string comment, string fbType, Direction direction, string type, int arrSize, string initialValue, ISmvType smvType, bool constant = false) { Name = name; Comment = comment; FBType = fbType; Direction = direction; Type = type; ArraySize = arrSize; InitialValue = initialValue; SmvType = smvType; IsConstant = constant; }