Class: WMI::Win32_SerialPortConfiguration
- Inherits:
-
Base
- Object
- Base
- WMI::Win32_SerialPortConfiguration
- Defined in:
- lib/Win32_SerialPortConfiguration.rb
Overview
Win32_SerialPortConfiguration クラスは、Win32 シリアル ポートのデータ転送の既定の設定を表します。これには、接続とエラー チェックを確立するための既定の構成が含まれまれている可能性があります。
Instance Attribute Summary (collapse)
-
- (boolean) AbortReadWriteOnError
readonly
AbortReadWriteOnError プロパティは、エラーが発生した場合に、読み取りおよび書き込みの操作を終了するかどうかを示します。.
-
- (uint32) BaudRate
readonly
BaudRate プロパティは、通信デバイスが作動するボー レート (ビット/秒) を示します。.
-
- (boolean) BinaryModeEnabled
readonly
BinaryModeEnabled プロパティは、シリアル ポートでバイナリ モードのデータの転送が有効になっているかどうかを示します。.
-
- (uint32) BitsPerByte
readonly
BitsPerByte プロパティは、Win32 シリアル ポートで 1 バイトのデータに対して送受信されるビット数を示します。.
-
- (string) Caption
readonly
CIM_Setting オブジェクトの簡単な説明 (1 行分の文字列) です。.
-
- (boolean) ContinueXMitOnXOff
readonly
ContinueXMitOnXOff プロパティにより、受信バッファがほとんどいっぱいで XoffChar 文字が送信機に送信されたときに、データの転送を続行するかどうかが指定されます。.
-
- (boolean) CTSOutflowControl
readonly
CTSOutflowControl プロパティにより、データを送信する前に Clear To Send (CTS) がオンにされたかどうかが判別されます。.
-
- (string) Description
readonly
CIM_Setting オブジェクトの説明です。.
-
- (boolean) DiscardNULLBytes
readonly
DiscardNULLBytes プロパティにより、NULL バイト (文字) を受信したときに廃棄するかどうかが決定されます。.
-
- (boolean) DSROutflowControl
readonly
DSROutflowControl プロパティにより、データ セット レディ (DSR) 状態のときに、データ アウトフロー制御が有効になっているかどうかが判別されます。.
-
- (boolean) DSRSensitivity
readonly
DSRSensitivity プロパティにより、通信ドライバが DSR シグナルの状態に反応するかどうかが指定されます。.
-
- (string) DTRFlowControlType
readonly
DTRFlowControlType プロパティにより、接続が確立された後、使用するデータ ターミナル レディ (DTR) フロー制御が指定されます。.
-
- (uint32) EOFCharacter
readonly
EOFCharacter プロパティにより、データの終わりを知らせるために使用される文字の値が指定されます。.
-
- (uint32) ErrorReplaceCharacter
readonly
ErrorReplaceCharacter プロパティにより、パリティ エラーで受信したバイトを置き換えるために使用する文字の値が指定されます。.
-
- (boolean) ErrorReplacementEnabled
readonly
ErrorReplacementEnabled により、パリティ エラーで受信したバイトを ErrorReplaceCharacter 値で置き換えるかどうかが指定されます。.
-
- (uint32) EventCharacter
readonly
EventCharacter により、ファイルの終わりなどのイベントを知らせるために使用される制御文字の値が指定されます。.
-
- (boolean) IsBusy
readonly
IsBusy プロパティにより、シリアル ポートがビジー状態であるかどうかが判別されます。.
-
- (string) Name
readonly
Name プロパティは、Win32 シリアル ポートの名前を示します。.
-
- (string) Parity
readonly
Parity プロパティにより、使用されるパリティ チェックのメソッドが指定されます。.
-
- (boolean) ParityCheckEnabled
readonly
ParityCheckEnabled プロパティにより、パリティ チェックが有効かどうかが決定されます。.
-
- (string) RTSFlowControlType
readonly
RTSFlowControlType プロパティにより、request-to-send (RTS) フロー制御が指定されます。.
-
- (string) SettingID
readonly
CIM_Setting オブジェクトを認識する識別子です。.
-
- (string) StopBits
readonly
StopBits により、使用されるストップ ビットの数が指定されます。.
-
- (uint32) XOffCharacter
readonly
XOffCharacter プロパティにより、送受信の XOFF 文字の値が指定されます。.
-
- (uint32) XOffXMitThreshold
readonly
XOffXMitThreshold プロパティにより、XOFF 文字が送信される前に入力バッファで許可される最大バイト数が指定されます。.
-
- (uint32) XOnCharacter
readonly
XOnCharacter プロパティにより、送受信の XON 文字の値が指定されます。.
-
- (uint32) XOnXMitThreshold
readonly
XOnXMitThreshold プロパティにより、XON 文字が送信される前に入力バッファで許可される最大バイト数が指定されます。.
-
- (uint32) XOnXOffInFlowControl
readonly
XOnXOffInFlowControl プロパティにより、操作中に XON/XOFF フロー制御が使用されるかどうかが指定されます。.
-
- (uint32) XOnXOffOutFlowControl
readonly
XOnXOffOutFlowControl により、送信中に XON/XOFF フロー制御が使用されるかどうかが指定されます。.
Method Summary
Methods inherited from Base
#AddRef, #AssociatorsAsync_, #Associators_, #Clone_, #CompareTo_, #DeleteAsync_, #Delete_, #Derivation_, #ExecMethodAsync_, #ExecMethod_, #GetIDsOfNames, #GetObjectText_, #GetText_, #GetTypeInfo, #GetTypeInfoCount, #InstancesAsync_, #Instances_, #Invoke, #Methods_, #Path_, #Properties_, #PutAsync_, #Put_, #Qualifiers_, #QueryInterface, #ReferencesAsync_, #References_, #Refresh_, #Release, #Security_, #SetFromText_, #SpawnDerivedClass_, #SpawnInstance_, #SubclassesAsync_, #Subclasses_, #SystemProperties_
Instance Attribute Details
- (boolean) AbortReadWriteOnError (readonly)
AbortReadWriteOnError プロパティは、エラーが発生した場合に、読み取りおよび書き込みの操作を終了するかどうかを示します。
11 12 13 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 11 def AbortReadWriteOnError @AbortReadWriteOnError end |
- (uint32) BaudRate (readonly)
BaudRate プロパティは、通信デバイスが作動するボー レート (ビット/秒) を示します。
18 19 20 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 18 def BaudRate @BaudRate end |
- (boolean) BinaryModeEnabled (readonly)
BinaryModeEnabled プロパティは、シリアル ポートでバイナリ モードのデータの転送が有効になっているかどうかを示します。
Win32
24 25 26 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 24 def BinaryModeEnabled @BinaryModeEnabled end |
- (uint32) BitsPerByte (readonly)
BitsPerByte プロパティは、Win32 シリアル ポートで 1 バイトのデータに対して送受信されるビット数を示します。
32 33 34 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 32 def BitsPerByte @BitsPerByte end |
- (string) Caption (readonly)
CIM_Setting オブジェクトの簡単な説明 (1 行分の文字列) です。
37 38 39 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 37 def Caption @Caption end |
- (boolean) ContinueXMitOnXOff (readonly)
ContinueXMitOnXOff プロパティにより、受信バッファがほとんどいっぱいで XoffChar 文字が送信機に送信されたときに、データの転送を続行するかどうかが指定されます。
46 47 48 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 46 def ContinueXMitOnXOff @ContinueXMitOnXOff end |
- (boolean) CTSOutflowControl (readonly)
CTSOutflowControl プロパティにより、データを送信する前に Clear To Send (CTS) がオンにされたかどうかが判別されます。
CTS
55 56 57 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 55 def CTSOutflowControl @CTSOutflowControl end |
- (string) Description (readonly)
CIM_Setting オブジェクトの説明です。
60 61 62 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 60 def Description @Description end |
- (boolean) DiscardNULLBytes (readonly)
DiscardNULLBytes プロパティにより、NULL バイト (文字) を受信したときに廃棄するかどうかが決定されます。
68 69 70 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 68 def DiscardNULLBytes @DiscardNULLBytes end |
- (boolean) DSROutflowControl (readonly)
DSROutflowControl プロパティにより、データ セット レディ (DSR) 状態のときに、データ アウトフロー制御が有効になっているかどうかが判別されます。
DSR
77 78 79 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 77 def DSROutflowControl @DSROutflowControl end |
- (boolean) DSRSensitivity (readonly)
DSRSensitivity プロパティにより、通信ドライバが DSR シグナルの状態に反応するかどうかが指定されます。
85 86 87 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 85 def DSRSensitivity @DSRSensitivity end |
- (string) DTRFlowControlType (readonly)
DTRFlowControlType プロパティにより、接続が確立された後、使用するデータ ターミナル レディ (DTR) フロー制御が指定されます。
91 92 93 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 91 def DTRFlowControlType @DTRFlowControlType end |
- (uint32) EOFCharacter (readonly)
EOFCharacter プロパティにより、データの終わりを知らせるために使用される文字の値が指定されます。
98 99 100 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 98 def EOFCharacter @EOFCharacter end |
- (uint32) ErrorReplaceCharacter (readonly)
ErrorReplaceCharacter プロパティにより、パリティ エラーで受信したバイトを置き換えるために使用する文字の値が指定されます。
105 106 107 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 105 def ErrorReplaceCharacter @ErrorReplaceCharacter end |
- (boolean) ErrorReplacementEnabled (readonly)
ErrorReplacementEnabled により、パリティ エラーで受信したバイトを ErrorReplaceCharacter 値で置き換えるかどうかが指定されます。
111 112 113 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 111 def ErrorReplacementEnabled @ErrorReplacementEnabled end |
- (uint32) EventCharacter (readonly)
EventCharacter により、ファイルの終わりなどのイベントを知らせるために使用される制御文字の値が指定されます。
118 119 120 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 118 def EventCharacter @EventCharacter end |
- (boolean) IsBusy (readonly)
IsBusy プロパティにより、シリアル ポートがビジー状態であるかどうかが判別されます。
126 127 128 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 126 def IsBusy @IsBusy end |
- (string) Name (readonly)
Name プロパティは、Win32 シリアル ポートの名前を示します。
133 134 135 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 133 def Name @Name end |
- (string) Parity (readonly)
Parity プロパティにより、使用されるパリティ チェックのメソッドが指定されます。
145 146 147 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 145 def Parity @Parity end |
- (boolean) ParityCheckEnabled (readonly)
ParityCheckEnabled プロパティにより、パリティ チェックが有効かどうかが決定されます。
153 154 155 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 153 def ParityCheckEnabled @ParityCheckEnabled end |
- (string) RTSFlowControlType (readonly)
RTSFlowControlType プロパティにより、request-to-send (RTS) フロー制御が指定されます。
RTS
168 169 170 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 168 def RTSFlowControlType @RTSFlowControlType end |
- (string) SettingID (readonly)
CIM_Setting オブジェクトを認識する識別子です。
173 174 175 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 173 def SettingID @SettingID end |
- (string) StopBits (readonly)
StopBits により、使用されるストップ ビットの数が指定されます。
StopBits
182 183 184 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 182 def StopBits @StopBits end |
- (uint32) XOffCharacter (readonly)
XOffCharacter プロパティにより、送受信の XOFF 文字の値が指定されます。
XOFF
189 190 191 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 189 def XOffCharacter @XOffCharacter end |
- (uint32) XOffXMitThreshold (readonly)
XOffXMitThreshold プロパティにより、XOFF 文字が送信される前に入力バッファで許可される最大バイト数が指定されます。
194 195 196 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 194 def XOffXMitThreshold @XOffXMitThreshold end |
- (uint32) XOnCharacter (readonly)
XOnCharacter プロパティにより、送受信の XON 文字の値が指定されます。
XON
201 202 203 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 201 def XOnCharacter @XOnCharacter end |
- (uint32) XOnXMitThreshold (readonly)
XOnXMitThreshold プロパティにより、XON 文字が送信される前に入力バッファで許可される最大バイト数が指定されます。
207 208 209 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 207 def XOnXMitThreshold @XOnXMitThreshold end |
- (uint32) XOnXOffInFlowControl (readonly)
XOnXOffInFlowControl プロパティにより、操作中に XON/XOFF フロー制御が使用されるかどうかが指定されます。
215 216 217 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 215 def XOnXOffInFlowControl @XOnXOffInFlowControl end |
- (uint32) XOnXOffOutFlowControl (readonly)
XOnXOffOutFlowControl により、送信中に XON/XOFF フロー制御が使用されるかどうかが指定されます。
223 224 225 |
# File 'lib/Win32_SerialPortConfiguration.rb', line 223 def XOnXOffOutFlowControl @XOnXOffOutFlowControl end |