aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Common/SWUpdate/FirmwareUpgrade.h
blob: 2b0a9bff99c76a467f1fb0d957e0c27bff3a3f7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * FirmwareUpgrade.h
 *
 *  Created on: Dec 24, 2018
 *      Author: shlomo
 */

#ifndef COMMON_SWUPDATE_FIRMWAREUPGRADE_H_
#define COMMON_SWUPDATE_FIRMWAREUPGRADE_H_

extern int CurrentFileSize;
extern int CurrentRunningFile;

uint32_t    ActivateVersionRequestFunc(MessageContainer* requestContainer);
uint32_t    ValidateVersionRequestFunc(MessageContainer* requestContainer);
bool SwUpgradeActive(void);



#endif /* COMMON_SWUPDATE_FIRMWAREUPGRADE_H_ */
>System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; using Tango.SharedUI.Helpers; namespace Tango.MachineStudio.Technician.TechItems { [TechItem(25)] public class TextItem : TechItem { private String _text; public String Text { get { return _text; } set { _text = value; RaisePropertyChangedAuto(); } } /// <summary> /// Initializes a new instance of the <see cref="MeterItem"/> class. /// </summary> public TextItem() : base() { Name = "Static Text"; Description = "Static Text"; Text = "Static Text"; Image = ResourceHelper.GetImageFromResources("Images/text.png"); Color = Colors.DodgerBlue; } /// <summary> /// Initializes a new instance of the <see cref="TextItem"/> class. /// </summary> /// <param name="obj">The object.</param> public TextItem(Object obj) : this() { } public override TechItem Clone() { TextItem cloned = base.Clone() as TextItem; cloned.Text = Text; return cloned; } } }