Exemplo n.º 1
0
        static public string SetCCD(int iAction, string strAddr, int iSpeed, int iValue, Guid?CommunicationGuid, string CommunicationType)
        {
            string strCCDResult = "";

            byte[] tmp_CCD = ProtocolOP3.Protocol_CCD(iAction, Convert.ToInt32(strAddr), iSpeed, iValue);
            CommunicationTransmission.CommunicationWrite(CommunicationGuid, CommunicationType, tmp_CCD);
            return(strCCDResult);
        }
Exemplo n.º 2
0
        static public string SetTurntable(int iAction, string strAddr, int iSpeed, Guid?CommunicationGuid, string CommunicationType)
        {
            string strTurntableResult = "";

            byte[] tmp_byte = ProtocolOP3.Protocol_Turntable(iAction, Convert.ToInt32(strAddr), iSpeed);
            CommunicationTransmission.CommunicationWrite(CommunicationGuid, CommunicationType, tmp_byte);
            return(strTurntableResult);
        }