finished the functionality for adding components from the scan
This commit is contained in:
parent
6b0dd9ff41
commit
65cb7acbab
7 changed files with 90 additions and 20 deletions
|
|
@ -168,6 +168,7 @@ export interface ComponentTypeExtension {
|
|||
//if the map does not exist then just use the array from the device availability,
|
||||
//if the map does exist filter the availability after claims to find matching address between them and use that
|
||||
subtypeI2CMap?: Map<number, number[]>
|
||||
isChainable?: boolean
|
||||
}
|
||||
|
||||
export interface Summary {
|
||||
|
|
|
|||
|
|
@ -68,6 +68,7 @@ export function CapacitorCable(subtype: number = 0): ComponentTypeExtension {
|
|||
isSource: true,
|
||||
isArray: true,
|
||||
isCalibratable: false,
|
||||
isChainable: true,
|
||||
addressTypes: addressTypes,
|
||||
interactionResultTypes: [],
|
||||
states: [],
|
||||
|
|
|
|||
|
|
@ -176,6 +176,7 @@ export function GrainCable(subtype: number = 0): ComponentTypeExtension {
|
|||
isSource: true,
|
||||
isArray: true,
|
||||
isCalibratable: false,
|
||||
isChainable: true,
|
||||
addressTypes: [quack.AddressType.ADDRESS_TYPE_CONFIGURABLE_PIN_ARRAY, quack.AddressType.ADDRESS_TYPE_I2C],
|
||||
interactionResultTypes: [],
|
||||
states: [],
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@ export function PressureCable(subtype: number = 0): ComponentTypeExtension {
|
|||
isArray: true,
|
||||
hasFan: true,
|
||||
isCalibratable: false,
|
||||
isChainable: true,
|
||||
addressTypes: [quack.AddressType.ADDRESS_TYPE_CONFIGURABLE_PIN_ARRAY],
|
||||
interactionResultTypes: [],
|
||||
states: [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue