public void __Process() { Done = false; if (In) { SlaveFbImpl fb = Container.GetInstance().Get(Handle); if (fb != null) { switch (Job) { case 0: fb.Add1(); Done = true; break; case 1: fb.Add10(); Done = true; break; default: break; } } } }
internal int Add(SlaveFbImpl o) { int handle = Container.InvalidHandle; lock (this) { handle = nextHandle; fbs.Add(handle, o); nextHandle++; } return(handle); }
public SlaveFB2() { impl = new SlaveFbImpl(); }