DropzoneProcessing Property

General info

Label

Dropzone Processing

Tooltip

The type of processing which will be applied to a distinct dropzone datasource

Data type

UInt32

Default value

1 (inmation.model.codes.DropzoneProcessingType.DPT_VQT_UTC)

Type

CodingGroup

Code

600

Symbolic name

MODEL_PROP_DROPZONEPROCESSING

Available since

1.8.1.1450

Parent classes

Dropzone

Attributes

Name Tooltip
PROP_CONFIGURABLE The property is configurable and can be changed with DataStudio and the various inmation APIs
PROP_VISIBLE The property is visible in DataStudio and can be read by the inmation APIs
PROP_HAS_DEFAULT The property has a default value as standard

Codings

Coding group: DropzoneProcessingType

Name Code Label Tooltip

DPT_VQT_UTC

1

Line-by-line VQT values with UTC timestamp

The dropzone parser expects VQT values with UTC timestamp in the monitored folder (for format support see the dropzone chapter in the server documentation)

DPT_VQT_LOC

2

Line-by-line VQT values with local timestamp

The dropzone parser expects VQT values with local timestamp in the monitored folder (for format support see the dropzone chapter in the server documentation). The timestamp is interpreted as local time, and as such converted into UTC time throughout the parsing process

DPT_TS_UTC

11

Column-based time series data with UTC timestamp

The dropzone parser expects column-based time series data with UTC timestamps in the monitored folder

DPT_TS_LOC

12

Column-based time series data with local timestamp

The dropzone parser expects column-based time series data with local timestamp in the monitored folder (for format support see the dropzone chapter in the server documentation). The timestamp is interpreted as local time, and as such converted into UTC time throughout the parsing process

DPT_AE

21

Alarms and Events

The dropzone parser expects Alarms and Events in the monitored folder

DPT_SCRIPT

22

Custom Script

Scriptable Custom Processing

Examples

Read from or write to the DropzoneProcessing property.

  • Lua

  • C#

-- Read from the DropzoneProcessing
inmation.getvalue("/System/Core/obj.Dropzone.DropzoneProcessing")

-- Write to the DropzoneProcessing
inmation.setvalue("/System/Core/obj.Dropzone.DropzoneProcessing",
    inmation.model.codes.DropzoneProcessingType.DPT_VQT_UTC)
string path = "/System/Core/obj.Dropzone.DropzoneProcessing";
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "so", Password = "inmation" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the DropzoneProcessing
Result result = sli.ReadValue(sc, new ReadItem(path));
// Write to the DropzoneProcessing
Result result = sli.WriteValue(sc, new WriteItem(DropzoneProcessingType.DPT_VQT_UTC, path));

A switch-like function of the codings.

function get_coding_name(code)
    local dpt = inmation.model.codes.DropzoneProcessingType
    if dpt.DPT_VQT_UTC==code then return 'DPT_VQT_UTC'
    elseif dpt.DPT_VQT_LOC==code then return 'DPT_VQT_LOC'
    elseif dpt.DPT_TS_UTC==code then return 'DPT_TS_UTC'
    elseif dpt.DPT_TS_LOC==code then return 'DPT_TS_LOC'
    elseif dpt.DPT_AE==code then return 'DPT_AE'
    elseif dpt.DPT_SCRIPT==code then return 'DPT_SCRIPT'
    end
end
return get_coding_name(inmation.model.codes.DropzoneProcessingType.DPT_VQT_UTC)