⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 arc.cs

📁 petriNet model
💻 CS
字号:
using System;

namespace MyPetriNet
{
		/// <summary>
		/// Arc--输入输出弧。
		/// </summary>
		public class Arc
		{
			/// <summary>
			/// false:from Place to Transition
			/// true :from Transition to Place
			/// </summary>
			public bool _toPlace; 
			/// <summary>
			/// arc的头和尾分别指向的Place和Transition
			/// </summary>
			private int _place; 
			private int _transition; 

			public Arc()
			{
			}

			/// <summary>
			/// false:from Place to Transition
			/// true :from Transition to Place
			/// </summary>
			public bool toPlace
			{
				set
				{
					_toPlace=value;
				}
				get
				{
					return _toPlace;
				}
			}
			public int place
			{
				set
				{
					_place=value;
				}
				get
				{
					return _place;
				}
			}
			public int transition
			{
				set
				{
					_transition=value;
				}
				get
				{
					return _transition;
				}
			}

		}
	}

⌨️ 快捷键说明

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