<div class="square">
    <div class="wired-zone" ng-class="{warning: alarm}">
      <div class="zone-number">{{ ::info.zone_number + 1 }}</div>
      <div
          ng-if="canShowTemperatureValue"
          class="temperature"
          ng-class="{'low-temperature': info.state=='low', 'high-temperature': info.state=='high'}"
      >{{ info.value }}℃</div>
    </div>
    <div class="flash" ng-show="alarm"></div>

    <ul class="under-text" ng-switch="info.state">
        <li ng-switch-when="low" translate>Низкая температура</li>
        <li ng-switch-when="high" translate>Высокая температура</li>
        <li ng-switch-when="fault" translate>Обрыв</li>
    </ul>

</div>
