public GVDeclarationDataEntry(string dataType, string name, GVDataDirection dir)
 {
     DataType  = dataType;
     Name      = name;
     Value     = null;
     Direction = dir;
 }
 public GVDeclarationDataEntry()
 {
     DataType  = "";
     Name      = "";
     Value     = null;
     Direction = GVDataDirection.Input;
 }
 public GVDeclarationDataEntry(string dataType, string name)
 {
     DataType  = dataType;
     Name      = name;
     Value     = null;
     Direction = GVDataDirection.Input;
 }
        public void Load(RSFileReader R)
        {
            byte tag;

            while ((tag = R.ReadByte()) != 0)
            {
                switch (tag)
                {
                case 10: DataType = R.ReadString(); break;

                case 11: Name = R.ReadString(); break;

                case 12: Value = R.ReadString(); break;

                case 13: Direction = (GVDataDirection)R.ReadInt32(); break;

                default: break;
                }
            }
        }