import { defineStore } from 'pinia'
import { ref } from 'vue';
import type { DeviceProtocolResponse, ProtocolCmdResponse } from '@/components/protocol/types';

export const useProtocolInfoStore = defineStore('protocolInfo', () => {
    const deviceProtocol = ref<DeviceProtocolResponse>()
    const protocolCmd = ref<ProtocolCmdResponse>()

    return {
        deviceProtocol,
        protocolCmd
    }
});
