aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Web/UpdateDBRequest.cs
blob: c78f6199eeaacfef7d154f7fe8d4142760a4b5b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Transport.Web;

namespace Tango.PPC.Common.Web
{
    public class UpdateDBRequest : WebRequestMessage
    {
        public String SerialNumber { get; set; }
        public String ApplicationVersion { get; set; }
        public String FirmwareVersion { get; set; }
    }
}
">//extern uint32_t Heater_timerBase; //Timer handle extern char TimeSliceAllocation[MAX_TIMESLICES]; extern int DCTimeSliceAllocation[HEATER_TYPE_MAX_HEATERS]; extern int NumberOFSlicesInUse; extern uint32_t MillisecondsPerChange; void initializeArrays(void); typedef struct HeaterPIDControlConfigstruc { bool configured; int id; //HardwarePidControlType float outputproportionalpowerlimit; float outputproportionalband; //int32_t sensorcorrectionadjustment; //int32_t sensortypeandsetpointlimits; float IntegralErrorMultiplier; //setpointramprateorsoftstartramp //int32_t setpointcontroloutputrate; float ProportionalErrorMultiplier;//outputonoffhysteresisvalue; //int32_t processvariablesamplingrate; //int32_t pvinputfilterfactormode; int32_t sensormaxvalue; int32_t sensorminvalue; double kp; double ki; double kd; double epsilon; double dt; bool pidactive; }HeaterPIDControlConfig; typedef struct HeaterCommandstruc { int heaterid; //HardwarePidControlType bool command; uint32_t targettemperatue; }HeaterCommand; extern HeaterPIDControlConfig HeaterControl[HEATER_TYPE_MAX_HEATERS]; extern HeaterCommand HeaterCmd[HEATER_TYPE_MAX_HEATERS]; extern uint32_t Heater_timerBase; uint32_t HeaterRecalculateSharedHeatersParams(uint32_t deviceId, uint32_t new_outputproportionalpowerlimit); uint32_t HeaterRecalculateHeaterParams(uint32_t deviceId, uint32_t new_outputproportionalpowerlimit); uint32_t HeatersSingleHeaterEnd(int HeaterId); #endif