文件操作 - CIM_BinarySensor.mof
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/mof/cimv2.43.0/Device/CIM_BinarySensor.mof
编辑文件内容
// Copyright (c) 2005 DMTF. All rights reserved. [Deprecated { "CIM_Sensor" }, Version ( "2.8.0" ), UMLPackagePath ( "CIM::Device::Sensors" ), Description ( "A BinarySensor provides a boolean output. The use of this " "class is being deprecated in lieu of creating a Sensor with " "two PossibleStates." )] class CIM_BinarySensor : CIM_Sensor { [Deprecated { "CIM_Sensor.SensorType" }, Description ( "The current value indicated by the Sensor." )] boolean CurrentReading; [Deprecated { "CIM_Sensor.SensorType" }, Description ( "ExpectedReading indicates the \'normal\' value for the Sensor." )] boolean ExpectedReading; [Deprecated { "CIM_Sensor.PossibleStates" }, Description ( "InterpretationOfTrue is a string indicating what a " "\'True\' value from the BinarySensor means. This " "information could be displayed to a user." ), MaxLen ( 64 )] string InterpretationOfTrue; [Deprecated { "CIM_Sensor.PossibleStates" }, Description ( "InterpretationOfFalse is a string indicating what a " "\'False\' value from the BinarySensor means. This " "information could be displayed to a user." ), MaxLen ( 64 )] string InterpretationOfFalse; };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件