示例#1
0
 private void FixObject(BlastFurnace obj)
 {
     Semaphore.WaitOne();
     obj.Fix(TimeToFix);
     SemCount = Semaphore.Release();
     IsFree?.Invoke(this);
 }
示例#2
0
 public void DoWork(BlastFurnace target)
 {
     FixObject(target);
 }