Ejemplo n.º 1
0
        /// <summary>
        /// Retrieves the available options of the current layouter of yComp and the current values.
        /// </summary>
        /// <returns>A description of the available options of the current layouter of yComp
        /// and the current values.</returns>
        public String GetLayoutOptions()
        {
            ycompStream.Write("getLayoutOptions\n");
            String msg = "";

            do
            {
                msg += ycompStream.Read();
            }while(!msg.EndsWith("endoptions\n"));
            return(msg.Substring(0, msg.Length - 11));       // remove "endoptions\n" from message
        }
Ejemplo n.º 2
0
 public String ReadCommand()
 {
     return(ycompStream.Read());
 }