コード例 #1
0
 public ActuatorPins(IEnumerable<int> pinNumbers, PinConfig pconfig, OnOffActuator actuator)
 {
     foreach (var p in pinNumbers)
     {
         apins[p] = new ActuatorPin(pconfig, actuator);
     }
 }
コード例 #2
0
 public ActuatorPins(IEnumerable <int> pinNumbers, PinConfig pconfig, OnOffActuator actuator)
 {
     foreach (var p in pinNumbers)
     {
         apins[p] = new ActuatorPin(pconfig, actuator);
     }
 }