Constructor
new KMDeviceInfo(type, id, name, isConnect, manufacturerName, hardwareRevision, firmwareRevision)
- Source:
constructor
Parameters:
Name | Type | Default | Description |
---|---|---|---|
type |
KMMotorCommandKMOne.KM_CONNECT_TYPE |
0
|
接続方式 |
id |
string | デバイスUUID |
|
name |
string | モーター名(形式 ID LEDColor) |
|
isConnect |
boolean |
false
|
接続状態 |
manufacturerName |
string |
null
|
製造会社名 |
hardwareRevision |
string |
null
|
|
firmwareRevision |
string |
null
|
Extends
Methods
Clone() → {object}
- Source:
- Overrides:
複製
Returns:
複製された構造体
- Type
- object
EQ(tar) → {boolean}
- Source:
- Overrides:
同じ値を持つかの比較
Parameters:
Name | Type | Description |
---|---|---|
tar |
object | 比較する構造体 |
Returns:
結果
- Type
- boolean
GetValArray() → {Array}
- Source:
- Overrides:
値の取得(配列)
Returns:
- Type
- Array
GetValObj() → {object}
- Source:
- Overrides:
値の取得(Obj)
Returns:
- Type
- object
SetValObj(propsObj)
- Source:
- Overrides:
値の一括設定(Obj)
Parameters:
Name | Type | Description |
---|---|---|
propsObj |
object | 設定するプロパティ |