pulizia ciclo...
This commit is contained in:
@@ -105,6 +105,10 @@ export default class Dashboard extends Vue {
|
||||
setInterval(() => {
|
||||
$this.now = moment();
|
||||
}, 1000);
|
||||
|
||||
messageService.subscribeToChannel('restart-cycle', () => {
|
||||
this.items.splice(0, this.items.length);
|
||||
})
|
||||
}
|
||||
|
||||
public get ribbonStatus(): ribbonStatusEnum {
|
||||
|
||||
+5
-2
@@ -42,9 +42,12 @@ export default class AvvioProduzione extends Vue {
|
||||
|
||||
get prod() { return store.state.prod.panel }
|
||||
|
||||
showDashboard() {
|
||||
async showDashboard() {
|
||||
|
||||
prodService.Start(this.pieces.setpointHMI, this.newjob, this.warmuppieces.setpointHMI);
|
||||
await prodService.Start(this.pieces.setpointHMI, this.newjob, this.warmuppieces.setpointHMI);
|
||||
if (this.newjob) {
|
||||
messageService.publishToChannel('restart-cycle');
|
||||
}
|
||||
|
||||
|
||||
ModalHelper.HideModal();
|
||||
|
||||
Reference in New Issue
Block a user