1.0.75 • Published 12 months ago

@et-modules/pin-connection v1.0.75

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

channel-config 组件

1、引入方式

import { TableConfig, CanvasLink } from '@etest/pin-connection';
        <TableConfig
          setShowCanvas={setShowCanvas}
          adapterId={adapterId}
          setAdapterId={setAdapterId}
          setCanvasData={setCanvasData}
          setDeviceList={setDeviceList}
          setCanvasRelationList={setRelationList}
        />
        <CanvasLink
          showCanvas={showCanvas}
          setShowCanvas={setShowCanvas}
          id={adapterId}
          deviceList={deviceList}
          relationList={relationList}
        />

2、TableConfig 参数

名称类型是否必传描述
adapterIdstringfalse当前连接器 id
setAdapterId(id:string)=>voidtrue设置当前连接器 id
setShowCanvas(show:boolean)=>voidtrue设置是否显示引脚连线图
setCanvasData(canvasData:CanvasData[])=>voidtrue设置引脚连线的数据
setDeviceList(deviceList:Device[])=>voidtrue设置连接器容器数据
setCanvasRelationList(camvasRelationList:CanvasRelation[])=>voidtrue设置引脚关联关系

CanvasLink

名称类型是否必传描述
showCanvasbooleantrue是否显示引脚连线图
setShowCanvas(show:boolean)=>voidtrue设置是否显示引脚连线图
idstringtrue当前连接器 id
deviceListDevice[]true连接器容器数据集合
relationListCanvasRelation[]true引脚关联关系
1.0.75

12 months ago

1.0.74

12 months ago

1.0.73

12 months ago

1.0.72

1 year ago

1.0.71

1 year ago

1.0.70

1 year ago

1.0.69

1 year ago

1.0.68

1 year ago

1.0.67

1 year ago

1.0.66

1 year ago

1.0.65

1 year ago

1.0.64

1 year ago

1.0.63

1 year ago

1.0.62

1 year ago

1.0.61

1 year ago

1.0.60

1 year ago

1.0.59

1 year ago

1.0.58

1 year ago