コード例 #1
0
ファイル: CanServo.cs プロジェクト: Omybot/GoBot
 public CanServo(ServomoteurID id, iCanSpeakable communication)
 {
     _id            = (ServomoteurID)((int)id % 100);
     _communication = communication;
     _lockResponse  = new Semaphore(0, int.MaxValue);
     _enableAutoCut = false;
     _nextDisable   = null;
 }
コード例 #2
0
ファイル: Buzzer.cs プロジェクト: Omybot/GoBot
 public Buzzer(iCanSpeakable comm)
 {
     _communication = comm;
 }