ConneX_Help.pdf - 第43页

" 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 . " latestHandler Statistics("T he handler sys tem's unique ide ntifier." entityI dentifier: Str ing)…

100%1 / 86
"
T
h
e
P
S
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
none: ComparableByteOperationFilterInput
some: ComparableByteOperationFilterInput
any: Boolean
}
input MessageModelFilterInput {
and: [MessageModelFilterInput!]
or: [MessageModelFilterInput!]
topic: StringOperationFilterInput
contentType: StringOperationFilterInput
payload: ListComparableByteOperationFilterInput
timestamp: ComparableDateTimeOperationFilterInput
messageModelId: ComparableGuidOperationFilterInput
}
input MessageModelSortInput {
topic: SortEnumType
contentType: SortEnumType
timestamp: SortEnumType
messageModelId: SortEnumType
}
input StringOperationFilterInput {
and: [StringOperationFilterInput!]
or: [StringOperationFilterInput!]
eq: String
neq: String
contains: String
ncontains: String
in: [String]
nin: [String]
startsWith: String
nstartsWith: String
endsWith: String
nendsWith: String
}
enum AdapterState {
NOT_INSERTED
INSERTED
VALIDATED
VALIDATE_FAILED
UNKNOWN
POWER_FAULT
}
enum EntityType {
HANDLER
PROGRAMMER
ADAPTER
JOB
}
enum HandlerType {
DESKTOP
PSV2800
PSV3000
PSV5000
PSV7000
}
enum ProgrammerType {
FLASH_CORE
LUMEN_X
}
enum SortEnumType {
ASC
DESC
}
"The `@defer` directive may be provided for fragment spreads and inline fragments to inform the executor to delay the e
x
e
c
u
t
i
o
n
o
f
t
h
e
c
u
r
r
e
n
t
f
r
a
g
m
e
n
t
t
o
i
n
d
i
c
a
t
e
d
e
p
r
i
o
r
i
t
i
z
a
t
i
o
n
o
f
t
h
e
c
u
r
r
e
n
t
f
r
a
g
m
e
n
t
.
A
q
u
e
r
y
w
i
t
h
`
@
d
e
f
e
r
`
d
i
r
e
c
t
i
v
e