Пример #1
0
        public ScriptEngine(SensorData sensor, string script, string template, int reportId, DateTime startDate, DateTime endDate)
        {
            error = false;
            Sensor = sensor;
            LuaInterpreter = new Lua();
            ScriptName = script;
            TemplateName = template;
            invoice = new Invoice(startDate, endDate);
            StartDate = startDate;
            EndDate = endDate;

            ReportId = reportId;
        }
Пример #2
0
 public SensorDataXmlParser(int sensorId)
 {
     this.sensor = new SensorData(sensorId);
 }
Пример #3
0
 public SensorDataXmlParser(int sensorId)
 {
     this.sensor = new SensorData(sensorId);
 }