示例#1
0
 public Switch(string fieldID, Protocol parent)
 {
     this.FieldID = fieldID;
     this.Parent  = parent;
     Cases        = new List <SwitchCase>();
 }
示例#2
0
 public Statement(Protocol protocol, Expression expression)
 {
     Protocol   = protocol;
     Expression = expression;
 }
示例#3
0
 static ProtocolLibrary()
 {
     Protocols = new Dictionary <string, Protocol>();
     head      = null;
     Kernels   = new ProcessKernel();
 }