Пример #1
0
 public MovingHead(MHVelocity velo, int id, CheckIfMovementAllowedDelegate checkIfAllowed)
 {
     for (int i = 0; i < 12; i++)
     {
         channelValues.Add(0);
     }
     Velocity = velo;
     Id = id;
     CheckIfAllowed = checkIfAllowed;
 }
Пример #2
0
 public void VelocityChanged(MHVelocity velo)
 {
     Velocity = velo;
 }
Пример #3
0
 public MovingHeadAccessor(MHVelocity velo, int id, CheckIfMovementAllowedDelegate chk)
     : base(velo, id, chk)
 {
 }
Пример #4
0
 public void Init()
 {
     MHVelocity v = new MHVelocity() { ID = 0, Steps = 16, StepsBackOnStop = 3, Factor = 0.7 };
     MH = new MovingHeadAccessor(v, 0, Check);
 }