| | |
| | | import { defineStore } from 'pinia' |
| | | import { ref } from 'vue' |
| | | export const useSimStore = defineStore('simulation', () => { |
| | | |
| | | // 帧数 |
| | | const frameNum = ref(0) |
| | | // 隐患点列表 |
| | | const DangerPoint = ref([]) |
| | | const DeviceShowSwitch = ref(false) |
| | |
| | | const schemCard = ref([]) |
| | | const backToHome = ref(false) |
| | | const selectedScheme = ref(null) |
| | | // 当前模拟经纬度 |
| | | const currentInfo = ref({}) |
| | | // 图例 |
| | | const waterLegendData = ref([]) |
| | | // 模拟仿真图例 |
| | |
| | | DeviceShowSwitch, |
| | | DangerShowSwitch, |
| | | waterLegendData, |
| | | currentInfo, |
| | | isShowEarth, |
| | | devices, |
| | | frameNum, |
| | | |
| | | // 方案相关方法 |
| | | setSchemCard, |