Пример #1
0
 /// <summary>
 /// creates a new instance of <see cref="RobotTest"/> class
 /// </summary>
 public RobotTest()
 {
     this._writer          = new InstructionsWriter <RobotAction>();
     this._reader          = new InstructionsReader <RobotAction>();
     this._api             = new RobusApi(this._writer, this._reader);
     this._writer.FileName = this._reader.FileName = @"C:\Test\RobotInstructions.json";
 }
Пример #2
0
 /// <summary>
 /// creates a instance of <see cref="RobusApi"/> class
 /// </summary>
 /// <param name="robotInstructionsWriter"></param>
 /// <param name="robotInstructionsReader"></param>
 public RobusApi(IInstructionsWriter <RobotAction> robotInstructionsWriter, IInstructionsReader <RobotAction> robotInstructionsReader)
 {
     this._instructionWriter = robotInstructionsWriter;
     this._instructionReader = robotInstructionsReader;
 }