Example #1
0
        // Make OCX Command using XML, SB2900 does not use OCX XML spec.
        public static bool MakeXMLRequestHeader(AxSBXPCLib.AxSBXPC bpc, ref string strXML, string strRequest)
        {
            bool ret;

            ret = bpc.XML_AddString(ref strXML, "REQUEST", strRequest);
            ret = bpc.XML_AddString(ref strXML, "MSGTYPE", "request") && ret;
            ret = bpc.XML_AddInt(ref strXML, "MachineID", Program.gMachineNumber) && ret;
            return(ret);
        }