修改: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:
// vrPsl.setKmButton(!vrPsl.isKmButton());
// if (vrPsl.isKmButton())
if (vrPsd.isLockAndClose())
if (vrPsl.isYxjzKey() && vrPsd.isLockAndClose())
vrPsd.startSetting(true);
break;
case GM:
// vrPsl.setGmButton(!vrPsl.isGmButton());
// if (vrPsl.isGmButton())
if (vrPsd.isOpen2End())
if (vrPsl.isYxjzKey() && vrPsd.isOpen2End())
vrPsd.startSetting(false);
break;
case SD: