void landingRotorLoad(IMyTerminalBlock r, LandingRotor gr)
        {
            Func <string, bool> asBool = (txt) =>
            {
                txt = txt.Trim().ToLower();
                return(txt == "True" || txt == "true");
            };

            gr.r = r as IMyMotorStator;
            Echo("Loading Landing Rotor:" + r.CustomName);
            float maxVelocity = r.GetMaximum <float>("Velocity");

            Echo("rotor maxV=" + maxVelocity);
            gr.maxVelocity = maxVelocity;
            string sData = r.CustomData;

            //Echo("data=" + sData);
            string[] lines = sData.Trim().Split('\n');
            //	Echo(lines.Length + " Lines");
            for (int i = 0; i < lines.Length; i++)
            {
                string[] keys = lines[i].Trim().Split('=');
//                if (lines[i].Contains("GimbalZMinus"))

                //		Echo(lines[i]);
            }
//            Echo("Max Velocity=" + gr.maxVelocity.ToString());
        }
 void AppendProperty <T>(StringBuilder debug, IMyTerminalBlock block, ITerminalProperty property)
 {
     debug.Append(" (").Append(block.GetDefaultValue <T>(property.Id)).Append(") [");
     debug.Append(block.GetMininum <T>(property.Id)).Append(',').Append(block.GetMaximum <T>(property.Id)).Append("] : ");
 }