ConneX_Help.pdf - 第59页

Type: [HandlerTy pe!] Loo k up al l the kno wn PS V syst e m t ype s that ca n be c on ne c ted to this in stanc e of Conne X . Exa mple R e q ue st R e spo nse query { systemTypes } Grap hQL { "data": { "…

100%1 / 86
systemTypes
query {
systems {
handlerId
handlerType
ipAddress
hostName
machineFactory
}
}
GraphQL
{
"data": {
"systems": [
{
"handlerId": 1,
"handlerType": "PSV2800",
"ipAddress": "172.16.0.1",
"hostName": "PSV-1",
"machineFactory": null
},
{
"handlerId": 2,
"handlerType": "PSV3000",
"ipAddress": "172.16.0.2",
"hostName": "PSV-2",
"machineFactory": null
},
{
"handlerId": 3,
"handlerType": "PSV5000",
"ipAddress": "172.16.0.3",
"hostName": "PSV-3",
"machineFactory": null
},
{
"handlerId": 4,
"handlerType": "PSV5000",
"ipAddress": "172.16.0.11",
"hostName": "PSV-6",
"machineFactory": null
},
{
"handlerId": 5,
"handlerType": "PSV7000",
"ipAddress": "172.16.0.9",
"hostName": "PSV-4",
"machineFactory": null
},
{
"handlerId": 6,
"handlerType": "PSV7000",
"ipAddress": "172.16.0.10",
"hostName": "PSV-5",
"machineFactory": null
}
]
}
}
JSON
Type:
[HandlerType!]
Look up all the known PSV system types that can be connected to this instance of ConneX.
Example
Request Response
query {
systemTypes
}
GraphQL
{
"data": {
"systemTypes": [
"DESKTOP",
"PSV2800",
"PSV3000",
"PSV5000",
"PSV7000"
]
}
}
JSON
Objects
ConneX exposes the following GraphQL objects:
AdapterMetrics
Represents metrics related to an adapter.
Fields
Name Description
blankCheckDuration
(
Int!
) The duration for a blank check operation (in milliseconds).
eraseDuration
(
Int!
) The duration for an erase operation (in milliseconds).
id
(
Long!
) The metric's index.
identifier
(
String!
) The entity identifier for the metric.
programmingDuration
(
Int!
)The duration for a programming operation (in milliseconds).
timeStamp
(
DateTime!
) The time stamp for the metric.
verifyDuration
(
Int!
) The duration for a verify operation (in milliseconds).
AdapterModel
Represents an adapter for a programmer.
Fields
Name Description
adapterKey
(
Int!
) The database key for the adapter.
entity
(
Entity
) The associated entity for this adapter.
programmer
(
ProgrammerModel
)The last associated programmer for this adapter.
adapterId
(
String
) The adapter's part number identifier.
AdapterStatistics
Represents an adapter's statistics.
Fields
Name Description
adapterId
(
String
) The adapter's ID.
cleanCount
(
UnsignedInt!
) The adapter's clean count.
lifetimeActuationCount
(
UnsignedInt!
) The adapter's lifetime actuation count.
lifetimeContinuityFailCount
: (
UnsignedInt!
)The adapter's lifetime continuity fail count.
lifetimeFailCount
(
UnsignedInt!
) The adapter's lifetime fail count.
lifetimePassCount
(
UnsignedInt!
) The adapter's lifetime pass count.
socketIndex
(
Int!
) The adapter's socket index.
adapterState
(
AdapterState!
) The adapter's
AdapterState
.
CollectionSegmentInfo
Information about the offset pagination.
Fields
Name Description
hasNextPage
(
Boolean!
) Indicates whether more items exist following the set defined by the clients arguments.