Solaris_Device1.0.mof ファイルでは、次のクラスが定義されます。
Solaris_Processor クラス。CIM_Processor の拡張として定義される
Solaris_DiskDrive クラス。CIM_DiskDrive の拡張として定義される
Solaris_SerialPort クラス。CIM_SerialController の拡張として定義される。この構成クラス Solaris_SerialPortConfiguration が CIM_Setting の拡張として定義される
Solaris_Processor は CIM_Processor の拡張として次のプロパティで定義されます。
class Solaris_Processor:CIM_Processor
{
string Name;
string Description;
string Architecture;
string ClockSpeed;
string SparcVersion;
uint32 D_Cache;
uint32 E_Cache;
uint32 I_Cache;
};
|
現在、Solaris_DiskDrive に対し次のクラス定義されています。
]
class Solaris_DiskDrive:CIM_DiskDrive
{
|
Solaris_SerialPort クラスはブール値プロパティとして定義されているため、ボーレートやパリティなどのシリアルポート特性をポートでどのように処理するかを制御できます。
// ==================================================================
// Solaris_SerialPort
// ==================================================================
[Provider("com.sun.wbem.solarisprovider.Solaris"),
Description (
"This is the MOF file that defines a Solaris serial port.")
]
class Solaris_SerialPort:CIM_SerialController
{
[read]
boolean ServiceEnabled;
[read]
boolean SettableBaudRate;
[read]
boolean SettableDataBits;
[read]
boolean SettableFlowControl;
[read]
boolean SettableParity;
[read]
boolean SettableParityCheck;
[read]
boolean SettableStopBits;
[read]
boolean SupportsParityCheck;
[read]
boolean SupportsXOnXOff;
[read]
boolean SupportsXOnXOffSet;
[read]
string PortMonitor;
[read]
string ServiceTag;
[read]
string Comment;
boolean DisablePortService();
};
|
Solaris_PortConfiguration のプロパティでは、データの値をユーザーが表示したり、変更したりできるかどうかを指定します。
[Provider ("Solaris") ]
class Solaris_SerialPortConfiguration:CIM_Setting
{
[read, write]
boolean ServiceEnabled;
[read, write]
uint32 BaudRate;
[read, write]
string TerminalType;
[read, write]
boolean TTYFlag_Init;
[read, write]
boolean TTYFlag_Bidirectional;
[read, write]
boolean TTYFlag_CarrierConnect;
[read, write]
boolean SoftwareCarrier;
[read, write]
boolean CreateUtmp;
[read, write]
string LoginPrompt;
[read, write]
string Comment;
[read, key]
string ServiceTag;
[read, key]
string PortName;
[read]
string deviceName;
[read, write]
string PortmonTag;
[read, write]
string ServiceProgram;
[read, write]
string StreamsModules;
[read, write]
string Timeout; };
|