<div class="fault" ng-if="$ctrl.fault == 'zone_sc'" translate translate-params-n="$ctrl.number">
  КЗ шлейфа {[n]}
</div>
<div class="fault" ng-if="$ctrl.fault == 'zone_break'" translate translate-params-n="$ctrl.number">
  Обрыв шлейфа {[n]}
</div>
<div class="fault" ng-if="$ctrl.fault == 'temperature_fault'">
  <span ng-if="$ctrl.number != null"><translate translate-params-n="$ctrl.number">Шлейф {[n]}</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 translate-params-n="$ctrl.number">Шлейф {[n]}</translate>:</span>
  <span ng-if="$ctrl.number == null"><translate>Температура</translate>:</span>
  {[ $ctrl.temperatureValue ]}℃
</div>
