示例#1
0
 /// <summary>
 /// Removes a pin from the output list
 /// </summary>
 /// <param name="pin">Name of pin to be removed</param>
 /// <returns>Boolean indicating whether remove was successful</returns>
 public Boolean removeOutput(Pin pin)
 {
     return(outputs.removePin(pin));
 }
示例#2
0
 /// <summary>
 /// Removes a Pin.Pin from the wires list
 /// </summary>
 /// <param name="pin">Pin.Pin to be removed</param>
 /// <returns>Boolean indicating whether remove was successful</returns>
 public Boolean removeWire(Pin pin)
 {
     return(wires.removePin(pin));
 }
示例#3
0
 //removeoutput() and removeinput() remove single inputs and outputs by name
 /// <summary>
 /// Removes specified input pin from input list
 /// </summary>
 /// <param name="pin">Pin.Pin to be removed from inputs</param>
 /// <returns>A boolean indicating whether remove was successful</returns>
 public Boolean removeInput(Pin pin)
 {
     return(inputs.removePin(pin));
 }