public BioStateEventElementConsequence ReadEventElementConsequence()
            {
                var element = new BioStateEventElementConsequence();

                ReadBioStateEventElement(element);

                element.Consequence = ReadInt32();

                return(element);
            }
			public void Write(BioStateEventElementConsequence element)
			{
				WriteEventElement(element);

				Write(element.Consequence);
			}
			public BioStateEventElementConsequence ReadEventElementConsequence()
			{
				var element = new BioStateEventElementConsequence();

				ReadBioStateEventElement(element);

				element.Consequence = ReadInt32();

				return element;
			}
            public void Write(BioStateEventElementConsequence element)
            {
                WriteEventElement(element);

                Write(element.Consequence);
            }