示例#1
0
 public void InputState(NXTInputPort inputPort, bool isValid, bool isCalibrated, NXTSensorType sensorType, NXTSensorMode sensorMode, long rawValue, long normalizedValue, long scaleValue, long calibratedValue)
 {
     Log("--------- Input State ----------------");
     Log("Input Port\t= " + inputPort.ToString());
     Log("Is Valid\t= " + isValid.ToString());
     Log("Is Calibrated\t= " + isCalibrated.ToString());
     Log("Sensor Type\t= " + sensorType.ToString());
     Log("Sensor Mode\t= " + sensorMode.ToString());
     Log("Raw Value\t= " + rawValue.ToString());
     Log("Normalized Value\t= " + normalizedValue.ToString());
     Log("Scaled Value\t= " + scaleValue.ToString());
     Log("Calibrated Value\t= " + calibratedValue.ToString());
     Log("---------------------------------------");
 }