aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/General/MachineStatus.h
blob: b3b773b1eb44a05b0416ce21c6bdd9bfd40382eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * MachineStatus.h
 *
 *  Created on: Aug 15, 2019
 *      Author: shlomo
 */

#ifndef MODULES_GENERAL_MACHINESTATUS_H_
#define MODULES_GENERAL_MACHINESTATUS_H_
#include <PMR/Common/MessageContainer.pb-c.h>
#include "PMR/MachineStatus/MachineState.pb-c.h"
#include "PMR/IFS/CartridgeState.pb-c.h"
#include "PMR/Diagnostics/CartridgeSlot.pb-c.h"

uint32_t MachineUpdateInitFunc(MessageContainer* requestContainer);
uint32_t StopMachineUpdateFunc(MessageContainer* requestContainer);
void SetMachineStatus (MachineState State);
int MachineUpdateResponseFunc(void);
uint32_t StartInkFillingStatusRequestFunc(MessageContainer* requestContainer);

uint32_t CartridgeStateUpdate(CartridgeSlot Slot,CartridgeState State, double percentage);




#endif /* MODULES_GENERAL_MACHINESTATUS_H_ */