imagedealwith.cs

来自「ASP C#代码实例 适合初学人士学习使用」· CS 代码 · 共 110 行

CS
110
字号
using System;

namespace Example_12_26
{
	/// <summary>
	/// ImageDealWith 的摘要说明。
	/// </summary>
	public class BoxUnitDTO
	{
		private string specimenId = "";
		private bool isEmpty = true;
		
		public BoxUnitDTO()
		{
			//
			// TODO: Add constructor logic here
			//
		}

		public string SpecimenId
		{
			get
			{
				return specimenId;
			}
			set
			{
				specimenId = value;
			}
		}

		public bool IsEmpty
		{
			get
			{
				return isEmpty;
			}
			set
			{
				isEmpty = value;
			}
		}
	}

	public class BoxDTO
	{
		private string boxName = "";
		private string boxUnitsX = "0";
		private string boxUnitsY = "0";
		private BoxUnitDTO[] boxUnits;

		
		public BoxDTO()
		{
			//
			// TODO: Add constructor logic here
			//
		}

		
		public BoxUnitDTO[] BoxUnits
		{
			get
			{
				return boxUnits;
			}
			set
			{
				boxUnits = value;
			}
		}

		public string BoxUnitsY
		{
			get
			{
				return boxUnitsY;
			}
			set
			{
				boxUnitsY = value;
			}
		}

		public string BoxUnitsX
		{
			get
			{
				return boxUnitsX;
			}
			set
			{
				boxUnitsX = value;
			}
		}

		public string BoxName
		{
			get
			{
				return boxName;
			}
			set
			{
				boxName = value;
			}
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?