Exemple #1
0
        private IBelt CreateBelt(uint number)
        {
            IBelt belt = _activeTray.Belts.SingleOrDefault(x => x.Number == number);

            if (belt == null)
            {
                belt = _activeTray.AddBelt <TBelt>(number);
            }

            return(belt);
        }
Exemple #2
0
 /// <summary>
 /// Handles getting input from belt...?
 /// </summary>
 /// <param name="IN_BELT"></param>
 public void InputFromBelt(IBelt IN_BELT)
 {
     throw new System.NotImplementedException();
 }
Exemple #3
0
        public ILayoutBuilderTray <TTray, TBelt> AddBelt(uint number)
        {
            IBelt belt = CreateBelt(number);

            return(this);
        }
Exemple #4
0
 /// <summary>
 /// Handles outputting to things with the belt interface.
 /// </summary>
 /// <param name="OUT_BELT"></param>
 public void OutputToBelt(IBelt OUT_BELT)
 {
     throw new System.NotImplementedException();
 }