修复机械事件力曲线并对齐气动孔口端口显示
This commit is contained in:
1 parent
e18399c022
commit
408b4ecb22
11 files changed
+697
-43
No files matched your search
@@ -107,15 +107,15 @@ function portsForSymbol(modelType: string) {
|
||||
}
|
||||
if (modelType === "amesim_pnvo001_fixed") {
|
||||
return [
|
||||
physicalPort("port_2", "left", 10),
|
||||
physicalPort("port_3", "right", 20),
|
||||
physicalPort("port_2", "right", 10),
|
||||
physicalPort("port_3", "left", 20),
|
||||
];
|
||||
}
|
||||
if (modelType === "amesim_pnvo001") {
|
||||
return [
|
||||
signalPort("res", "left", "input", 5),
|
||||
physicalPort("port_2", "left", 10),
|
||||
physicalPort("port_3", "right", 20),
|
||||
physicalPort("port_2", "right", 10),
|
||||
physicalPort("port_3", "left", 20),
|
||||
];
|
||||
}
|
||||
if (
|
||||
@@ -784,8 +784,8 @@ test("PNOR001 与两种 PNVO001 使用统一孔板风格和 small 画布", async
|
||||
},
|
||||
{
|
||||
anchors: [
|
||||
{ portName: "port_2", x: 12.8, y: 24 },
|
||||
{ portName: "port_3", x: 51.2, y: 24 },
|
||||
{ portName: "port_3", x: 12.8, y: 24 },
|
||||
{ portName: "port_2", x: 51.2, y: 24 },
|
||||
],
|
||||
control: "fixed",
|
||||
modelType: "amesim_pnvo001_fixed",
|
||||
@@ -794,8 +794,8 @@ test("PNOR001 与两种 PNVO001 使用统一孔板风格和 small 画布", async
|
||||
{
|
||||
anchors: [
|
||||
{ portName: "res", x: 27.35, y: 43.2 },
|
||||
{ portName: "port_2", x: 12.8, y: 24 },
|
||||
{ portName: "port_3", x: 51.2, y: 24 },
|
||||
{ portName: "port_3", x: 12.8, y: 24 },
|
||||
{ portName: "port_2", x: 51.2, y: 24 },
|
||||
],
|
||||
control: "signal",
|
||||
modelType: "amesim_pnvo001",
|
||||
|
||||
Reference in new issue
Block a user