示例#1
0
 public void ValidateCommand(ConsultTypeOfCommand name)
 {
     if (_lstCommands[name.ToString()] == null)
     {
         _lstCommands.Add(DataSource.Commands[name.ToString()]);
     }
 }
示例#2
0
 public ConsultCommand GetCommand(ConsultTypeOfCommand name)
 {
     return(DataSource.Commands[name.ToString()]);
 }
示例#3
0
 public ConsultCommand GetCommand(ConsultTypeOfCommand name)
 {
     return DataSource.Commands[name.ToString()];
 }
示例#4
0
 public void ValidateCommand(ConsultTypeOfCommand name)
 {
     if (_lstCommands[name.ToString()] == null)
         _lstCommands.Add(DataSource.Commands[name.ToString()]);
 }
 public ConsultCommand(ConsultTypeOfCommand name, byte cmd)
 {
     _name    = name;
     _command = cmd;
 }
示例#6
0
 public ConsultCommand(ConsultTypeOfCommand name, byte cmd)
 {
     _name = name;
     _command = cmd;
 }