Пример #1
0
        public override string                                  CheckHealth(HealthCheckLevel level)
        {
            // Verify that device is open, claimed and enabled
            VerifyState(true, true);

            // TODO: check the health of the device and return a descriptive string

            // Cache result in the CheckHealthText property
            checkhealthtext = "Ok";
            return(checkhealthtext);
        }
Пример #2
0
		public override string					CheckHealth( HealthCheckLevel level)
		{
			// Verify that device is open, claimed and enabled
			VerifyState(true, true);

			// TODO: check the health of the device and return a descriptive string 

			// Cache result in the CheckHealthText property
			checkhealthtext = "Ok";
			return checkhealthtext;
		}
Пример #3
0
 public override string CheckHealth(HealthCheckLevel level)
 {
     VerifyResult(_cco.CheckHealth((int)level));
     return(_cco.CheckHealthText);
 }