Ejemplo n.º 1
0
        public IrqAttribute SingleAttributeWithInheritedPosition(SingleOrMultiIrqEnd source, IrqDestination destinationPeripheral, SingleOrMultiIrqEnd destination)
        {
            var copy = SerializationProvider.Instance.DeepClone(this);

            copy.Sources = new[] { source };
            copy.DestinationPeripheral = destinationPeripheral;
            copy.Destinations          = new[] { destination };
            return(copy);
        }
Ejemplo n.º 2
0
 public IrqAttribute(IEnumerable <SingleOrMultiIrqEnd> sources, IrqDestination destinationPeripheral, IEnumerable <SingleOrMultiIrqEnd> destinations)
 {
     Sources = sources;
     DestinationPeripheral = destinationPeripheral;
     Destinations          = destinations;
 }