import { TreeData } from "@zhst/biz";

export const boxDataSource: TreeData[] = [
  {
    title: '全部盒子',
    key: '0-0',
    children: [
      {
        title: '盒子组1',
        key: '0-0-0',
        children: [
          {
            title: '摄像头1',
            key: '0-0-0-0',
            isCamera: true
          },
          {
            title: '摄像头2',
            key: '0-0-0-1',
            isCamera: true
          },
        ],
      },
      {
        title: '盒子组2',
        key: '0-0-1',
        children: [
          {
            title: '摄像头4',
            key: '0-0-1-0',
            isCamera: true
          }
        ],
      },
    ],
  },
];


export const treeData: TreeData[] = [
  { key: '0-1-0', title: '分组0-1-0', isLeaf: true, checkable: false },
  { key: '0-1-1', title: '分组0-1-1', isLeaf: true, checkable: false },
  { key: '0-1-2', title: '分组0-1-2', isLeaf: true, checkable: false },
  {
    key: '0-1-3',
    title: '分组0-1-3',
    isLeaf: false,
    children: [
      { key: '0-1-3-1', title: '分组0-1-3-1', isLeaf: true, isCamera: true },
      { key: '0-1-3-2', title: '分组0-1-3-2', isLeaf: true, isCamera: true },
      { key: '0-1-3-3', title: '分组0-1-3-3', isLeaf: true, isCamera: true },
    ],
  },
];
