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

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

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

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

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