Example #1
0
        internal BP_RESPONSE OutputFormat(BP_OUTPUT_FORMAT format)
        {
            BP_RESPONSE response = BP_RESPONSE.Disconnect;

            if (IsConnected)
            {
                if ((response = SendWait("o")) == BP_RESPONSE.OK)
                {
                    response = SendWait(((int)format));
                }
            }
            return(response);
        }
Example #2
0
 internal BP_RESPONSE OutputFormat(BP_OUTPUT_FORMAT format)
 {
     BP_RESPONSE response = BP_RESPONSE.Disconnect;
     if (IsConnected)
         if ((response = SendWait("o")) == BP_RESPONSE.OK)
             response = SendWait(((int)format));
     return response;
 }