加密狗添加,io板卡映射修改

This commit is contained in:
2026-07-22 16:36:15 +08:00
parent be7b459385
commit ab7936c4ed
10 changed files with 490 additions and 8 deletions
+8 -8
View File
@@ -53,49 +53,49 @@ namespace DeviceCommand.Devices
{ 功能动作.单相充电, new IoPortInfo(1, 5) }, // Y6 -> 5
{ 功能动作.抛负载, new IoPortInfo(1, 0) }, // Y1 -> 0
{ 功能动作.短路测试, new IoPortInfo(1, 1) }, // Y2 -> 1
{ 功能动作.蜂鸣器报警, new IoPortInfo(2, 8) } // Y9 -> 8
{ 功能动作.蜂鸣器报警, new IoPortInfo(2, 15) } // Y9 -> 8
}},
{ 2, new Dictionary<功能动作, IoPortInfo> {
{ 功能动作.单相充电, new IoPortInfo(1, 6) }, // Y7 -> 6
{ 功能动作.抛负载, new IoPortInfo(1, 2) }, // Y3 -> 2
{ 功能动作.短路测试, new IoPortInfo(1, 1) }, // Y2 -> 1
{ 功能动作.蜂鸣器报警, new IoPortInfo(2, 9) } // Y10 -> 9
{ 功能动作.蜂鸣器报警, new IoPortInfo(2, 14) } // Y10 -> 9
}},
{ 3, new Dictionary<功能动作, IoPortInfo> {
{ 功能动作.单相充电, new IoPortInfo(1, 7) }, // Y8 -> 7
{ 功能动作.抛负载, new IoPortInfo(1, 3) }, // Y4 -> 3
{ 功能动作.短路测试, new IoPortInfo(1, 1) }, // Y2 -> 1
{ 功能动作.蜂鸣器报警, new IoPortInfo(2, 10) } // Y11 -> 10
{ 功能动作.蜂鸣器报警, new IoPortInfo(2, 13) } // Y11 -> 10
}},
{ 4, new Dictionary<功能动作, IoPortInfo> {
{ 功能动作.单相充电, new IoPortInfo(1, 8) }, // Y9 -> 8
{ 功能动作.抛负载, new IoPortInfo(1, 4) }, // Y5 -> 4
{ 功能动作.短路测试, new IoPortInfo(1, 1) }, // Y2 -> 1
{ 功能动作.蜂鸣器报警, new IoPortInfo(2, 11) } // Y12 -> 11
{ 功能动作.蜂鸣器报警, new IoPortInfo(2, 12) } // Y12 -> 11
}},
{ 5, new Dictionary<功能动作, IoPortInfo> {
{ 功能动作.单相充电, new IoPortInfo(2, 4) }, // Y5 -> 4
{ 功能动作.抛负载, new IoPortInfo(2, 0) }, // Y1 -> 0
{ 功能动作.短路测试, new IoPortInfo(1, 1) }, // Y2 -> 1
{ 功能动作.蜂鸣器报警, new IoPortInfo(2, 12) } // Y13 -> 12
{ 功能动作.蜂鸣器报警, new IoPortInfo(2, 11) } // Y13 -> 12
}},
{ 6, new Dictionary<功能动作, IoPortInfo> {
{ 功能动作.单相充电, new IoPortInfo(2, 5) }, // Y6 -> 5
{ 功能动作.抛负载, new IoPortInfo(2, 1) }, // Y2 -> 1
{ 功能动作.短路测试, new IoPortInfo(1, 1) }, // Y2 -> 1
{ 功能动作.蜂鸣器报警, new IoPortInfo(2, 13) } // Y14 -> 13
{ 功能动作.蜂鸣器报警, new IoPortInfo(2, 10) } // Y14 -> 13
}},
{ 7, new Dictionary<功能动作, IoPortInfo> {
{ 功能动作.单相充电, new IoPortInfo(2, 6) }, // Y7 -> 6
{ 功能动作.抛负载, new IoPortInfo(2, 2) }, // Y3 -> 2
{ 功能动作.短路测试, new IoPortInfo(1, 1) }, // Y2 -> 1
{ 功能动作.蜂鸣器报警, new IoPortInfo(2, 14) } // Y15 -> 14
{ 功能动作.蜂鸣器报警, new IoPortInfo(2, 9) } // Y15 -> 14
}},
{ 8, new Dictionary<功能动作, IoPortInfo> {
{ 功能动作.单相充电, new IoPortInfo(2, 7) }, // Y8 -> 7
{ 功能动作.抛负载, new IoPortInfo(2, 3) }, // Y4 -> 3
{ 功能动作.短路测试, new IoPortInfo(1, 1) }, // Y2 -> 1
{ 功能动作.蜂鸣器报警, new IoPortInfo(2, 15) } // Y16 -> 15
{ 功能动作.蜂鸣器报警, new IoPortInfo(2, 8) } // Y16 -> 15
}}
};