public void reset ( String name ) { if ( name . equals ( Names . MAIN_BRUSH . toString ( ) ) ) mainBrushWorkTime = 0 ; if ( name . equals ( Names . SENSOR . toString ( ) ) ) sensorTimeSinceCleaning = 0 ; if ( name . equals ( Names . SIDE_BRUSH . toString ( ) ) ) sideBrushWorkTime = 0 ; if ( name . equals ( Names . FILTER . toString ( ) ) ) filterWorkTime = 0 ; }
Reset a consumable .