public FilamentSpool(FilamentSpool.TypeEnum type, int temperature) { filament_color_code = FilamentSpool.DefaultColorCode; filament_type = type; filament_location = FilamentSpool.Location.External; filament_temperature = temperature; estimated_filament_length_printed = 0.0f; filament_size = FilamentSpool.SizeEnum.Micro; filament_uid = 0U; }
public void CopyFrom(FilamentSpool other) { filament_color_code = other.filament_color_code; filament_type = other.filament_type; filament_temperature = other.filament_temperature; filament_location = other.filament_location; estimated_filament_length_printed = other.estimated_filament_length_printed; filament_size = other.filament_size; filament_uid = other.filament_uid; }