ConneX_Help.pdf - 第41页
Schema schema { query: Query } type Ada pterMetrics { id: Long! identifier: S tring timeStamp: Da teTime! programmingDu ration: Int! verifyDuratio n: Int! blankCheckDur ation: Int! eraseDuration : Int! } "Represe nt…

3. In the left pane treeview, navigate to the desired event.
4. In the right pane, scroll down to the Publish section, and confirm/modify the event query in the Topic box. For example:
5. Select a desired output format (raw, xml, or json) and click Publish to run the event query.
6. Review the query results/output in the right pane.
7. After crafting and perfecting your queries as desired, paste them into your manufacturing execution system (MES) or other
application and test the queries again from there.
X
@
MQTT
Explorer
Value
胸
History
04/26/2023
3.45
20
PM
Publish
人
2
Topic
connex/programmer/currentprogrammerstatuses
x
raw
3
o o
Application
Edit
View
MQTT
Explorer
DISCONNECT
0
A
PUBLISH
QoS:
0
04/26/2023
3:45:20
PM
xml
json
connexion
connex
programmer
currentprogrammerstatuses

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
.
"