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(); }; |