This commit is contained in:
atvstdla
2025-09-26 18:15:59 +09:00
parent 54c64a06bd
commit 16da4a5ffa
65 changed files with 5700 additions and 3514 deletions

View File

@@ -222,9 +222,9 @@ namespace Project.Dialog
var butindex = int.Parse(but.Tag.ToString());
Boolean current = false;
if (butindex == 0) current = DIO.GetIOOutput(eDOName.CART_MAG0);
else if (butindex == 1) current = DIO.GetIOOutput(eDOName.CART_MAG1);
else current = DIO.GetIOOutput(eDOName.CART_MAG2);
if (butindex == 0) current = DIO.GetIOOutput(eDOName.PORTL_MAGNET);
else if (butindex == 1) current = DIO.GetIOOutput(eDOName.PORTC_MAGNET);
else current = DIO.GetIOOutput(eDOName.PORTR_MAGNET);
DIO.SetPortMagnet(butindex, !current);
}