import config from "@/myConfig/config"
const eqDataStore = {
    state:{     
        eqBucketName:'mybucket',
        eqNo:'L1',   
    },
    mutations: {
      SET_EQ_BUCKET_NAME:(state, name)=> {
        state.eqBucketName = name
        state.eqNo = config.eqGroupNames[config.eqBucketNames.indexOf(name)]
      }
    },
    actions: {
      setEqBucketName ({ commit }, name) {
        commit('SET_EQ_BUCKET_NAME', name)
      }
    }
  }
export default eqDataStore