Esempio n. 1
0
 public Pulse(Pulse copyMe)
 {
     this.endCondition = copyMe.endCondition;
     this.endDelay = new DimensionedParameter(copyMe.endDelay);
     this.endDelayed = copyMe.endDelayed;
     this.endDelayEnabled = copyMe.endDelayEnabled;
     this.pulseDescription = copyMe.pulseDescription;
     this.pulseDuration = new DimensionedParameter(copyMe.pulseDuration);
     this.pulseName = "Copy of " + copyMe.pulseName;
     this.pulseValue = copyMe.pulseValue;
     this.startCondition = copyMe.startCondition;
     this.startDelay = new DimensionedParameter(copyMe.startDelay);
     this.startDelayed = copyMe.startDelayed;
     this.startDelayEnabled = copyMe.startDelayEnabled;
 }
Esempio n. 2
0
        public Pulse()
        {
            this.PulseName = "Unnamed";
            this.endCondition = PulseTimingCondition.TimestepEnd;
            this.endDelay = new DimensionedParameter(Units.s, 0);
            this.endDelayed = false;
            this.endDelayEnabled = false;

            this.pulseDuration = new DimensionedParameter(Units.s, 0);

            this.pulseValue = true;

            this.startCondition = PulseTimingCondition.TimestepStart;
            this.startDelay = new DimensionedParameter(Units.s, 0);
            this.startDelayed = false;
            this.startDelayEnabled = false;
        }
Esempio n. 3
0
        public Pulse()
        {
            this.PulseName       = "Unnamed";
            this.endCondition    = PulseTimingCondition.TimestepEnd;
            this.endDelay        = new DimensionedParameter(Units.s, 0);
            this.endDelayed      = false;
            this.endDelayEnabled = false;

            this.pulseDuration = new DimensionedParameter(Units.s, 0);

            this.pulseValue = true;

            this.startCondition    = PulseTimingCondition.TimestepStart;
            this.startDelay        = new DimensionedParameter(Units.s, 0);
            this.startDelayed      = false;
            this.startDelayEnabled = false;
        }