Ejemplo n.º 1
0
 public Extruder(Extruder rhs)
 {
     ishomed            = rhs.ishomed;
     inRelativeMode     = rhs.inRelativeMode;
     position           = rhs.position;
     Z_Valid            = rhs.Z_Valid;
     Temperature        = rhs.Temperature;
     iNozzleSizeMicrons = rhs.iNozzleSizeMicrons;
     Fan = rhs.Fan;
 }
Ejemplo n.º 2
0
 public PrinterInfo()
 {
     current_job       = null;
     serial_number     = new PrinterSerialNumber("0");
     filament_info     = new FilamentSpool();
     extruder          = new Extruder();
     hardware          = new Hardware();
     calibration       = new Calibration();
     synchronization   = new Synchronization();
     statistics        = new Statistics();
     supportedFeatures = new SupportedFeatures();
     accessories       = new Accessories();
     persistantData    = new PersistantData();
     powerRecovery     = new PowerRecovery();
 }
Ejemplo n.º 3
0
 public void CopyFrom(PrinterInfo other)
 {
     serial_number     = new PrinterSerialNumber(other.serial_number.ToString());
     Status            = other.Status;
     filament_info     = new FilamentSpool(other.filament_info);
     current_job       = other.current_job == null ? null : new JobInfo(other.current_job);
     extruder          = new Extruder(other.extruder);
     hardware          = new Hardware(other.hardware);
     calibration       = new Calibration(other.calibration);
     synchronization   = new Synchronization(other.synchronization);
     supportedFeatures = new SupportedFeatures(other.supportedFeatures);
     accessories       = new Accessories(other.accessories);
     statistics        = new Statistics(other.statistics);
     persistantData    = new PersistantData(other.persistantData);
     powerRecovery     = new PowerRecovery(other.powerRecovery);
     ProfileName       = other.ProfileName;
 }