// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool Xbim.CodeGeneration 
//  
//     Changes to this file may cause incorrect behaviour and will be lost if
//     the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------

using Xbim.Ifc4.Interfaces;
using System.Collections.Generic;
using System.Linq;
using Xbim.Common;

//## Custom using statements
//##

// ReSharper disable once CheckNamespace
namespace Xbim.Ifc4x3.StructuralLoadResource
{
	public partial class @IfcStructuralLoadTemperature : IIfcStructuralLoadTemperature
	{

		[CrossSchemaAttribute(typeof(IIfcStructuralLoadTemperature), 2)]
		Ifc4.MeasureResource.IfcThermodynamicTemperatureMeasure? IIfcStructuralLoadTemperature.DeltaTConstant 
		{ 
			get
			{
				if (!DeltaTConstant.HasValue) return null;
				return new Ifc4.MeasureResource.IfcThermodynamicTemperatureMeasure(DeltaTConstant.Value);
			} 
			set
			{
				DeltaTConstant = value.HasValue ? 
					new MeasureResource.IfcThermodynamicTemperatureMeasure(value.Value) :  
					 new MeasureResource.IfcThermodynamicTemperatureMeasure?() ;
				
			}
		}

		[CrossSchemaAttribute(typeof(IIfcStructuralLoadTemperature), 3)]
		Ifc4.MeasureResource.IfcThermodynamicTemperatureMeasure? IIfcStructuralLoadTemperature.DeltaTY 
		{ 
			get
			{
				if (!DeltaTY.HasValue) return null;
				return new Ifc4.MeasureResource.IfcThermodynamicTemperatureMeasure(DeltaTY.Value);
			} 
			set
			{
				DeltaTY = value.HasValue ? 
					new MeasureResource.IfcThermodynamicTemperatureMeasure(value.Value) :  
					 new MeasureResource.IfcThermodynamicTemperatureMeasure?() ;
				
			}
		}

		[CrossSchemaAttribute(typeof(IIfcStructuralLoadTemperature), 4)]
		Ifc4.MeasureResource.IfcThermodynamicTemperatureMeasure? IIfcStructuralLoadTemperature.DeltaTZ 
		{ 
			get
			{
				if (!DeltaTZ.HasValue) return null;
				return new Ifc4.MeasureResource.IfcThermodynamicTemperatureMeasure(DeltaTZ.Value);
			} 
			set
			{
				DeltaTZ = value.HasValue ? 
					new MeasureResource.IfcThermodynamicTemperatureMeasure(value.Value) :  
					 new MeasureResource.IfcThermodynamicTemperatureMeasure?() ;
				
			}
		}
	//## Custom code
	//##
	}
}