@extends('layouts.app') @section('center')
Meter Tripping Setting
@php $tripping_array=[ ['type'=>'OVFC','txt'=> 'Over Voltage Function'], ['type'=>'UVFC','txt'=> 'Under Voltage Function'], ['type'=>'OCFC','txt'=> 'Over Current Function'], ['type'=>'OLFC','txt'=> 'Over Load Function'], ['type'=>'VUFC','txt'=> 'Voltage Unbalance Function'], ['type'=>'PFFC','txt'=> 'Phase Failure Function'], ['type'=>'CUFC','txt'=> 'Current Unbalance Function'], ['type'=>'HAPF','txt'=> 'High Apparent Power Function'], ]; $i=1; @endphp
@isset($_GET['DeviceId'])
@csrf @foreach($tripping_array as $key => $row) @php $result = collect($threshold_data)->firstWhere('type', $row['type']); @endphp @if($i)
@endif
{{$row['txt']}} ({{$row['type']}})
@endforeach
@endisset
@push('scripts') @endpush @endsection