Home > SYS_Tool > netlistComparison
SYS_Tool.netlistComparison() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
网表对比
Signature
typescript
netlistComparison(netlist1: string | File, netlist2: string | File): Promise<Array<{
type: 'Net' | 'Component';
object: string;
netlist1Name: Array<string>;
netlist2Name: Array<string>;
}>>;1
2
3
4
5
6
2
3
4
5
6
Parameters
Parameter | Type | Description |
|---|---|---|
netlist1 | string | File | 网表 1,可以为当前工程内的 PCB 和原理图的 UUID、网表的文件数据 |
netlist2 | string | File | 网表 2,可以为当前工程内的 PCB 和原理图的 UUID、网表的文件数据 |
Returns
Promise<Array<{ type: 'Net' | 'Component'; object: string; netlist1Name: Array<string>; netlist2Name: Array<string>; }>>
网表对比结果