Ejemplo n.º 1
0
        public JwSilderBarThemeStatus Clone()
        {
            var r = new JwSilderBarThemeStatus();

            r.Normal  = Normal.Clone();
            r.Active  = Active.Clone();
            r.Disable = Disable.Clone();
            return(r);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a clone of this instance
 /// </summary>
 /// <returns>A clone of this instance</returns>
 public object Clone()
 {
     return(new BedOrChamber
     {
         Active = (float[])Active.Clone(),
         Standby = (float[])Standby.Clone(),
         Name = (Name != null) ? string.Copy(Name) : null,
         Heaters = (int[])Heaters.Clone()
     });
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Creates a clone of this instance
 /// </summary>
 /// <returns>A clone of this instance</returns>
 public object Clone()
 {
     return(new Tool
     {
         Number = Number,
         Active = (float[])Active.Clone(),
         Standby = (float[])Standby.Clone(),
         Name = (Name != null) ? string.Copy(Name) : null,
         Filament = (Filament != null) ? string.Copy(Filament) : null,
         Fans = (int[])Fans.Clone(),
         Heaters = (int[])Heaters.Clone(),
         Mix = (float[])Mix.Clone(),
         Spindle = Spindle,
         Axes = Axes.Select(subAxes => (int[])subAxes.Clone()).ToList(),
         Offsets = (float[])Offsets.Clone()
     });
 }