예제 #1
0
    /// <summary>
    /// 指令1处理接收
    /// </summary>
    /// <param name="message"></param>
    private void MessageModule_1_Handle(MessageCommand message)
    {
        switch (message.Order)
        {
        case 1:
            float offsetX = message.GetFloat();
            float offsetY = message.GetFloat();

            Notification.Publish("UpdatePos", new MovePicStruct(offsetX, offsetY));
            break;

        default:
            break;
        }
    }