aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/General/MachineStatus.h
blob: 489a8f6386b01ddb317b40a7798a6b67f17f34d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * 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"

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




#endif /* MODULES_GENERAL_MACHINESTATUS_H_ */
/// </summary> /// <returns></returns> public static String GetApplicationStartPath() { return AppDomain.CurrentDomain.BaseDirectory; } /// <summary> /// Gets an image from the application resources. /// </summary> /// <param name="imagePath">The image relative path.</param> /// <returns></returns> public static BitmapSource GetImageFromResources(String imagePath) { return new BitmapImage(new Uri(String.Format("pack://application:,,,/{0};component/{1}", Assembly.GetCallingAssembly(), imagePath), UriKind.Absolute)); } } }