//UI点击当前是移动模式,还是旋转模式
    void LeftMouseControlMode(string message)
    {
        Enums.LeftMouseButtonControl Cm = (Enums.LeftMouseButtonControl)Enum.Parse(typeof(Enums.LeftMouseButtonControl), message);
        switch (Cm)
        {
        case Enums.LeftMouseButtonControl.Roate:
            state = fixrotate;
            break;

        case Enums.LeftMouseButtonControl.Move:
            state = fixmove;
            break;

        default:
            break;
        }
    }
 void OnTranslateChange(int index)
 {
     Enums.LeftMouseButtonControl messagetype = (Enums.LeftMouseButtonControl)index;
     MSGCenter.Execute(messagetype.ToString());
 }