mt-ck-wms-ui/src/api/00a-spc.js
2022-07-25 10:17:59 +08:00

231 lines
4.9 KiB
JavaScript

import request from '@/utils/request'
export function AlarmCleared() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendAlarmClearedEvent',
method: 'post'
})
}
export function AlarmDetected() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendAlarmDetectedEvent',
method: 'post'
})
}
export function CompleteProcessFlow() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendCompleteProcessFlowEvent',
method: 'post'
})
}
export function ControlStateLocal() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendControlStateLocalEvent',
method: 'post'
})
}
export function ControlStateRemote() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendControlStateRemoteEvent',
method: 'post'
})
}
export function E10StateChanged() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendE10StateChangedEvent',
method: 'post'
})
}
export function EmptyCassettereport() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendEmptyCassettereportEvent',
method: 'post'
})
}
export function EquipmentOffline() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendEquipmentOfflineEvent',
method: 'post'
})
}
export function MaintenancePlan() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendMaintenancePlanEvent',
method: 'post'
})
}
export function MaintenanceRecord() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendMaintenanceRecordEvent',
method: 'post'
})
}
export function MaterialReceived() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendMaterialReceivedEvent',
method: 'post'
})
}
export function MaterialRemoved() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendMaterialRemovedEvent',
method: 'post'
})
}
export function OKsubstratereport() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendOKsubstratereportEvent',
method: 'post'
})
}
export function PowerConsumption() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendPowerConsumptionEvent',
method: 'post'
})
}
export function ProcessingCompleted() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendProcessingCompletedEvent',
method: 'post'
})
}
export function ProcessingStarted() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendProcessingStartedEvent',
method: 'post'
})
}
export function ProcessingStopped() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendProcessingStoppedEvent',
method: 'post'
})
}
export function QCPChange() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendQCPChangeEvent',
method: 'post'
})
}
export function RepairRecord() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendRepairRecordEvent',
method: 'post'
})
}
export function Scrapsubstratereport() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendScrapsubstratereportEvent',
method: 'post'
})
}
export function ShuttleMovementFinished() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendShuttleMovementFinishedEvent',
method: 'post'
})
}
export function ShuttleMovementStart() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendShuttleMovementStartEvent',
method: 'post'
})
}
export function SpoolTransmitFailure() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendSpoolTransmitFailureEvent',
method: 'post'
})
}
export function SpoolingActivated() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendSpoolingActivatedEvent',
method: 'post'
})
}
export function SpoolingDeactivated() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendSpoolingDeactivatedEvent',
method: 'post'
})
}
export function DisableEnableCommunication(data) {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendDisableEnableCommunication',
method: 'post',
headers: {
'Content-Type': 'text/plain'
},
data
})
}
export function getCommunicationState() {
return request({
url: '/cigs-00a/IL1testcontroller/post/communicationState/get',
method: 'post'
})
}
export function getcontrollerState() {
return request({
url: '/cigs-00a/IL1testcontroller/post/controllerState/get',
method: 'post'
})
}
export function sendControllerState(data) {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendControllerState',
method: 'post',
headers: {
'Content-Type': 'text/plain'
},
data
})
}
export function sendEqpState(data) {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendEqpState',
method: 'post',
headers: {
'Content-Type': 'text/plain'
},
data
})
}
export function sendReportLinkedEventAndVid() {
return request({
url: '/cigs-00a/IL1testcontroller/post/sendReportLinkedEventAndVid',
method: 'post'
})
}