<div class="fault" ng-if="$ctrl.fault == 'zone_sc'" translate>
  КЗ шлейфа {[ $ctrl.number ]}
</div>
<div class="fault" ng-if="$ctrl.fault == 'zone_break'" translate>
  Обрыв шлейфа {[ $ctrl.number ]}
</div>
<div class="fault" ng-if="$ctrl.fault == 'temperature_fault'">
  <span ng-if="$ctrl.number != null"><translate>Шлейф {[ $ctrl.number ]}</translate>:</span>
  <translate>Ошибка сенсора</translate>
</div>
<div ng-if="$ctrl.fault == null && $ctrl.temperatureValue != null"
     ng-class="$ctrl.temperatureState=='low' ? 'low-temperature' : $ctrl.temperatureState=='high' ? 'high-temperature' : 'normal'"
>
  <span ng-if="$ctrl.number != null"><translate>Шлейф {[ $ctrl.number ]}</translate>:</span>
  <span ng-if="$ctrl.number == null"><translate>Температура</translate>:</span>
  {[ $ctrl.temperatureValue ]}℃
</div>
