コード例 #1
0
		public void SetValues(LogStockDO obj)
		{
			if(obj == null) { return; }
			LogNumber = obj.LogNumber;
			Grade = obj.Grade;
			SeenDefect = obj.SeenDefect;
			PercentRecoverable = obj.PercentRecoverable;
			Length = obj.Length;
			ExportGrade = obj.ExportGrade;
			SmallEndDiameter = obj.SmallEndDiameter;
			LargeEndDiameter = obj.LargeEndDiameter;
			GrossBoardFoot = obj.GrossBoardFoot;
			NetBoardFoot = obj.NetBoardFoot;
			GrossCubicFoot = obj.GrossCubicFoot;
			NetCubicFoot = obj.NetCubicFoot;
			BoardFootRemoved = obj.BoardFootRemoved;
			CubicFootRemoved = obj.CubicFootRemoved;
			DIBClass = obj.DIBClass;
			BarkThickness = obj.BarkThickness;
			BoardUtil = obj.BoardUtil;
			CubicUtil = obj.CubicUtil;
		}
コード例 #2
0
		public LogStockDO(LogStockDO obj) : this()
		{
		    SetValues(obj);
		}