ConneX_Help.pdf - 第42页
" T h e P S V s y s t e m ' s I P a d d r e s s . " ipAddress: St ring "The PSV syst em's computer host name." hostName: Str ing "The PSV syst em's associat ed factory." machi…

Schema
schema {
query: Query
}
type AdapterMetrics {
id: Long!
identifier: String
timeStamp: DateTime!
programmingDuration: Int!
verifyDuration: Int!
blankCheckDuration: Int!
eraseDuration: Int!
}
"Represents an adapter for a programmer."
type AdapterModel {
"The database key for the adapter."
adapterKey: Int!
"The associated entity for this adapter."
entity: Entity
"The last associated programmer for this adapter."
programmer: ProgrammerModel
"The adapter's part number identifier."
adapterId: String
}
type AdapterStatistics {
adapterId: String
cleanCount: UnsignedInt!
lifetimeActuationCount: UnsignedInt!
lifetimeContinuityFailCount: UnsignedInt!
lifetimeFailCount: UnsignedInt!
lifetimePassCount: UnsignedInt!
socketIndex: Int!
adapterState: AdapterState!
}
"Information about the offset pagination."
type CollectionSegmentInfo {
"Indicates whether more items exist following the set defined by the clients arguments."
hasNextPage: Boolean!
"Indicates whether more items exist prior the set defined by the clients arguments."
hasPreviousPage: Boolean!
}
"Represents an abstract component that is connected to the ConneX system."
type Entity {
"The database key for the entity."
id: Int!
"The unique identifier for the entity."
entityIdentifier: String
"The type the entity represents."
entityType: EntityType!
"The given name of the entity."
entityName: String
}
"Represents a PSV system connected to ConneX."
type Handler {
"The database key for the PSV system."
handlerId: Int!
"The associated entity for this PSV system."
entity: Entity
"The associated programmers for this PSV system."
programmers: [ProgrammerModel]
"The PSV system's type (e.g. PSV2800\/3000\/5000\/7000)."
handlerType: HandlerType!
"The PSV system's IP address."
GraphQL

"
T
h
e
P
S
V
s
y
s
t
e
m
'
s
I
P
a
d
d
r
e
s
s
.
"
ipAddress: String
"The PSV system's computer host name."
hostName: String
"The PSV system's associated factory."
machineFactory: String
}
type HandlerMetrics {
id: Long!
identifier: String
timeStamp: DateTime!
jobState: String
uptime: Int
jobProcessingTime: Int
unitsPerHour: Int
yield: Float
}
type HandlerStatistics {
currentJob: String
availability: Float!
uptime: String
totalPass: Int!
totalFail: Int!
systemYield: String
programmerYield: String
handlerYield: String
uPH: Int!
jobCompletionEstimate: String
}
type LicenseModel {
licenseType: String
maxConnections: Int!
availableConnections: Int!
conneXAnnualMaintenanceContract: DateTime!
timedLicenseExpiration: DateTime!
}
type MessageModel {
topic: String
contentType: String
timestamp: DateTime!
messageModelId: UUID!
payload: [Byte!]
payloadAsString: String
}
type MessageModelCollectionSegment {
items: [MessageModel]
"Information to aid in pagination."
pageInfo: CollectionSegmentInfo!
totalCount: Int!
}
type ProgrammerModel {
programmerId: Int!
entity: Entity
handler: Handler
adapters: [AdapterModel]
ipAddress: String
programmerType: ProgrammerType!
}
type Query {
"Get the last received MQTT message."
message: MessageModel
"Get all MQTT messages."
messages(skip: Int take: Int where: MessageModelFilterInput order: [MessageModelSortInput!]): MessageModelCollectionS
egment
"Get the latest statistics for the specified adapter."
latestAdapterStatistics("The adapter's unique identifier." entityIdentifier: String): AdapterStatistics
"
G
e
t
t
h
e
l
a
t
e
s
t
s
t
a
t
i
s
t
i
c
s
f
o
r
t
h
e
s
p
e
c
i
f
i
e
d
P
S
V
s
y
s
t
e
m
.
"

"
G
e
t
t
h
e
l
a
t
e
s
t
s
t
a
t
i
s
t
i
c
s
f
o
r
t
h
e
s
p
e
c
i
f
i
e
d
P
S
V
s
y
s
t
e
m
.
"
latestHandlerStatistics("The handler system's unique identifier." entityIdentifier: String): HandlerStatistics
handlerMetrics("The handler's unique identifier." handlerIdentifier: String "The time bucket to aggregate metrics ove
r." timeBucket: String "The interval of time to query." interval: String): [HandlerMetrics]
adapterMetrics("The adapter's unique identifier." adapterIdentifier: String "The time bucket to aggregate metrics ove
r." timeBucket: String "The interval of time to query." interval: String): [AdapterMetrics]
"Look up all the known entities connected to this instance of ConneX."
entities: [Entity]
"Look up all the known entity types that can be connected to this instance of ConneX."
entityTypes: [EntityType!]
"Look up all the known PSV systems connected to this instance of ConneX."
systems: [Handler]
"Look up a singular PSV system by its database ID."
system("The database identifier of the handler." databaseId: Int!): Handler
"Look up all the known PSV system types that can be connected to this instance of ConneX."
systemTypes: [HandlerType!]
"Look up all the known programmers connected to this instance of ConneX."
programmers: [ProgrammerModel]
"Look up all the known programmer system types that can be connected to this instance of ConneX."
programmerTypes: [ProgrammerType!]
"Look up all the known adapters connected to this instance of ConneX."
adapters: [AdapterModel]
"Get the license information for the ConneX Service"
license: LicenseModel
}
input ComparableByteOperationFilterInput {
eq: Byte
neq: Byte
in: [Byte!]
nin: [Byte!]
gt: Byte
ngt: Byte
gte: Byte
ngte: Byte
lt: Byte
nlt: Byte
lte: Byte
nlte: Byte
}
input ComparableDateTimeOperationFilterInput {
eq: DateTime
neq: DateTime
in: [DateTime!]
nin: [DateTime!]
gt: DateTime
ngt: DateTime
gte: DateTime
ngte: DateTime
lt: DateTime
nlt: DateTime
lte: DateTime
nlte: DateTime
}
input ComparableGuidOperationFilterInput {
eq: UUID
neq: UUID
in: [UUID!]
nin: [UUID!]
gt: UUID
ngt: UUID
gte: UUID
ngte: UUID
lt: UUID
nlt: UUID
lte: UUID
nlte: UUID
}
input ListComparableByteOperationFilterInput {
all: ComparableByteOperationFilterInput