修改:PSL逻辑bug

This commit is contained in:
joylink_zhangsai 2021-06-07 11:06:30 +08:00
parent f25f8f5972
commit 179b880409

View File

@ -67,13 +67,13 @@ public class VirtualRealityPslService implements IVirtualRealityPslService{
case KM: case KM:
// vrPsl.setKmButton(!vrPsl.isKmButton()); // vrPsl.setKmButton(!vrPsl.isKmButton());
// if (vrPsl.isKmButton()) // if (vrPsl.isKmButton())
if (vrPsd.isLockAndClose()) if (vrPsl.isYxjzKey() && vrPsd.isLockAndClose())
vrPsd.startSetting(true); vrPsd.startSetting(true);
break; break;
case GM: case GM:
// vrPsl.setGmButton(!vrPsl.isGmButton()); // vrPsl.setGmButton(!vrPsl.isGmButton());
// if (vrPsl.isGmButton()) // if (vrPsl.isGmButton())
if (vrPsd.isOpen2End()) if (vrPsl.isYxjzKey() && vrPsd.isOpen2End())
vrPsd.startSetting(false); vrPsd.startSetting(false);
break; break;
case SD: case SD: