?? arc.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 + -