<template>
  <div class="alarm-history">
     <AlarmHistoryTable columns-type="alarm" device-type="nitrogen" :device-list-api="getTableList.bind(null, { devicekind: 'nitrogen' })" designScope="alarm-history" />
  </div>
</template>
<script setup lang="ts">
  import AlarmHistoryTable from '../../comment/AlarmHistoryTable.vue';
  import { getTableList } from '../nitrogen.api'
  const props = defineProps({
    deviceId: {
      type: String,
      require: true
    }
  })
</script>
<style lang="less" scoped>
  .alarm-history{
    width: 100%;
    position: fixed;
    top: 100px;
  }
</style>