Add Device

Jalasoft.Xian.Io.DataServer.AddDeviceTask (ConsoleTask)

Element properties:

TargetJalasoft.Xian.Io.DataServer
Application\%COMMONPROGRAMFILES\%\Jalasoft\Xian2012\Jalasoft.Xian.Executor.exe
WorkingDirectory\%COMMONPROGRAMFILES\%\Jalasoft\Xian2012
isRequireOutputFalse
AccessibilityPublic
EnabledTrue

Source Code:

<ConsoleTask ID="Jalasoft.Xian.Io.DataServer.AddDeviceTask" Accessibility="Public" Enabled="true" Target="Jalasoft.Xian.Io.DataServer" RequireOutput="false" Category="MonitoringObject">
<Application>%COMMONPROGRAMFILES%\Jalasoft\Xian2012\Jalasoft.Xian.Executor.exe</Application>
<Parameters>
<Parameter>$Target/Property[Type="Jalasoft.Xian.Io.DataServer"]/Host$</Parameter>
<Parameter>$Target/Property[Type="Jalasoft.Xian.Io.DataServer"]/Port$</Parameter>
<Parameter>Device</Parameter>
<Parameter>Add</Parameter>
<Parameter>0</Parameter>
</Parameters>
<WorkingDirectory>%COMMONPROGRAMFILES%\Jalasoft\Xian2012</WorkingDirectory>
</ConsoleTask>