PTZMoveCommand not working in Event Sever Plugin

We put following code in Event Server plugin, it does not working. These code is from SDK component samples.

VideoOS.Platform.Messaging.Message msg = new VideoOS.Platform.Messaging.Message(MessageId.Control.PTZMoveCommand, VideoOS.Platform.Messaging.PTZMoveCommandData.Right);

        EnvironmentManager.Instance.SendMessage(msg, \_camera.FQID);

Current we have to use PTZMoveStartCommand and PTZMoveStopCommand to move camera in event server plugin, both are working.

Could you try it and let me know why PTZMoveComand not working in event server plugin? thanks.

Amy

Strange. Does the PTZMoveCommandData.Right work in the PTZandPresets sampel (standalone environment)?

Yes, it PTZandPresets sample, PTZMoveCommandData.Right is working. It doesn’t work in eventserver plugin,

I tested with XProtect Enterprise 2014 (8.6d) and it works fine for me. Which version of XProtect are you testing with? (If you use same version I can send you my test code.)