Package sk.ipesoft.d2000.sysobj
Class PlatformRunnable
- java.lang.Object
-
- sk.ipesoft.d2000.base.D2Base
-
- sk.ipesoft.d2000.sysobj.CommonRunnable
-
- sk.ipesoft.d2000.sysobj.PlatformRunnable
-
- All Implemented Interfaces:
java.lang.Comparable
- Direct Known Subclasses:
BaseRunnable
public abstract class PlatformRunnable extends CommonRunnable
-
-
Field Summary
-
Fields inherited from class sk.ipesoft.d2000.base.D2Base
__col, __hobj, __indirectCol, __indirectHOBJ, __indirectRow, __internalId, __locVarId, __row
-
-
Constructor Summary
Constructors Constructor Description PlatformRunnable(int eventId, int hobj, int locVarId, int row, int col)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
exportCSV(D2SD struct, java.lang.String fileName, char delimiter, int transPalIdx, boolean addTime, boolean useMonoTime, boolean useUTF8)
Deprecated.void
exportCSV(D2SD struct, java.lang.String fileName, char delimiter, int transPalIdx, boolean addTime, int utcOffset, boolean useUTF8)
Corresponds to ESL action EXPORT_CSVvoid
exportCSV(D2SD struct, java.lang.String fileName, char delimiter, int transPalIdx, boolean addTime, java.lang.String timeZone, boolean useUTF8)
Corresponds to ESL action EXPORT_CSVboolean
isTCLEnvironment()
Function determines where is the script running-
Methods inherited from class sk.ipesoft.d2000.sysobj.CommonRunnable
leftStr, makeRGB, realToStr, realToStr, rightStr, round
-
Methods inherited from class sk.ipesoft.d2000.base.D2Base
add, addChangeListener, addFlags, asUnivalValue, compareTo, divide, equals, equals, getCol, getFlag, getFlagMask, getFlags, getHOBJ, getLimitStatus, getLimitStatusOrdinal, getLocVarId, getObjectInfo, getProcessAlarmStatus, getProcessAlarmStatusOrdinal, getProcessAlarmTime, getProcessAlarmTimeMiliseconds, getReferencedCol, getReferencedHOBJ, getReferencedRow, getRow, getStatusMask, getTime, getTimeMiliseconds, getTimeMilliseconds, getUnivalObjectReference, getValid, getValueType, getWeak, is, isBackedExternally, isFromAda, isStatusSet, isValid, multiply, removeChangeListener, removeFlags, setAs, setData, setFlag, setFlag, setFlags, setFlags, setIndirect, setInvalid, setLocVarId, setTime, setTimeMiliseconds, setTimeMilliseconds, setVal, setVal, setWeak, setWeak, substract, toString
-
-
-
-
Method Detail
-
isTCLEnvironment
public boolean isTCLEnvironment()
Function determines where is the script running- Returns:
-
exportCSV
@Deprecated public final void exportCSV(D2SD struct, java.lang.String fileName, char delimiter, int transPalIdx, boolean addTime, boolean useMonoTime, boolean useUTF8) throws java.io.IOException
Deprecated.Corresponds to ESL action EXPORT_CSV- Parameters:
struct
- structured variablefileName
- output file namedelimiter
- delimiter charactertransPalIdx
- transformation palette for time (default -1)addTime
- inserts time row for each rowuseMonoTime
- uses monotone timeuseUTF8
- generated file will be in UTF-8 encoding- Throws:
java.io.IOException
- if writing to file failedExceptionParameterError
- on invalid parameter
-
exportCSV
public final void exportCSV(D2SD struct, java.lang.String fileName, char delimiter, int transPalIdx, boolean addTime, int utcOffset, boolean useUTF8) throws java.io.IOException
Corresponds to ESL action EXPORT_CSV- Parameters:
struct
- structured variablefileName
- output file namedelimiter
- delimiter charactertransPalIdx
- transformation palette for time (default -1)addTime
- inserts time row for each rowutcOffset
- uses monotone time with given offset from UTCuseUTF8
- generated file will be in UTF-8 encoding- Throws:
java.io.IOException
- if writing to file failedExceptionParameterError
- on invalid parameter
-
exportCSV
public final void exportCSV(D2SD struct, java.lang.String fileName, char delimiter, int transPalIdx, boolean addTime, java.lang.String timeZone, boolean useUTF8) throws java.io.IOException
Corresponds to ESL action EXPORT_CSV- Parameters:
struct
- structured variablefileName
- output file namedelimiter
- delimiter charactertransPalIdx
- transformation palette for time (default -1)addTime
- inserts time row for each rowtimeZone
- uses given time zone for times, null uses system time zoneuseUTF8
- generated file will be in UTF-8 encoding- Throws:
java.io.IOException
- if writing to file failedExceptionParameterError
- on invalid parameter
-
-