示例#1
0
 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;
 }
示例#2
0
 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;
 }