Example #1
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();
 }
Example #2
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;
 }
Example #3
0
 public SupportedFeatures(SupportedFeatures other)
 {
     FeaturesBitField      = other.FeaturesBitField;
     UsesSupportedFeatures = other.UsesSupportedFeatures;
 }