A capacity report can turn remaining reserve into an operational response that is easy to scan. The selector changes only the reserve value.

Program

Play the program to choose remaining reserve and inspect the response.

capacity_shift_report.dart
void main() {
  var reserve = ;
  var action = 'shift';
  if (reserve >= 12) {
    action = 'hold';
  } else if (reserve >= 6) {
    action = 'shift';
  } else {
    action = 'shed';
  }
  var line = 'reserve=$reserve $action';
  print(line);
}
void main() {
  var reserve = ;
  var action = 'shift';
  if (reserve >= 12) {
    action = 'hold';
  } else if (reserve >= 6) {
    action = 'shift';
  } else {
    action = 'shed';
  }
  var line = 'reserve=$reserve $action';
  print(line);
}
void main() {
  var reserve = ;
  var action = 'shift';
  if (reserve >= 12) {
    action = 'hold';
  } else if (reserve >= 6) {
    action = 'shift';
  } else {
    action = 'shed';
  }
  var line = 'reserve=$reserve $action';
  print(line);
}
reserve selector `reserve` is the controlled input for each report variant.
response bands The branch sequence maps high, medium, and low reserve into `hold`, `shift`, or `shed`.
capacity row The final output keeps reserve and response together for review.