Esempio n. 1
0
        public static bool isHostConnected()
        {
            bool hostStatus = new TPcastDiagnose().GetComponentStatus(TPcastComponent.TPcast_Remote_Host);

            TPCASTUtil.log.Trace("hostStatus " + hostStatus.ToString());
            return(hostStatus);
        }
Esempio n. 2
0
        public static bool isServiceOK()
        {
            bool serviceStatus = new TPcastDiagnose().GetComponentStatus(TPcastComponent.TPcast_Service);

            TPCASTUtil.log.Trace("serStatus " + serviceStatus.ToString());
            return(serviceStatus);
        }
Esempio n. 3
0
        public static bool isCableConnected()
        {
            bool cableStatus = new TPcastDiagnose().GetComponentStatus(TPcastComponent.TPcast_USB_Cable);

            TPCASTUtil.log.Trace("cableStatus " + cableStatus.ToString());
            return(cableStatus);
        }
Esempio n. 4
0
        public static bool isDriverOK()
        {
            bool driverStatus = new TPcastDiagnose().GetComponentStatus(TPcastComponent.TPcast_Driver);

            TPCASTUtil.log.Trace("driver " + driverStatus.ToString());
            return(driverStatus);
        }