cd %~d0%~p0

node ../index --target="http://localhost:8002" list
node ../index --target="http://localhost:8002" add .\samples\devices\SICK_CLV63X.json
node ../index --target="http://localhost:8002" list
node ../index --target="http://localhost:8002" add .\samples\devices\SICK_CLV63X.json
node ../index --target="http://localhost:8002" add .\samples\devices\SICK_CLV63X.json rename
node ../index --target="http://localhost:8002" list
node ../index --target="http://localhost:8002" add .\samples\devices\SICK_CLV63X.json --name "ABC Sample SICK DEVICE ABC"
node ../index --target="http://localhost:8002" list
node ../index --target="http://localhost:8002" delete --name "ABC Sample SICK DEVICE ABC"
node ../index --target="http://localhost:8002" list
node ../index --target="http://localhost:8002" copy "SICK CLV63X Sample Device" --source="http://localhost:8002"
node ../index --target="http://localhost:8002" copy "SICK CLV63X Sample Device" --source="http://localhost:8002" rename
node ../index --target="http://localhost:8002" list

node ../index --target="http://localhost:8002" activate "SICK CLV63X Sample Device"
node ../index --target="http://localhost:8002" details "SICK CLV63X Sample Device"
node ../index --target="http://localhost:8002" update "SICK CLV63X Sample Device" .\samples\jobs\SICK_CLV63X_jobA.json --datafile .\samples\data\match_code.json
node ../index --target="http://localhost:8002" status "SICK CLV63X Sample Device"
node ../index --target="http://localhost:8002" clear "SICK CLV63X Sample Device"
node ../index --target="http://localhost:8002" deactivate "SICK CLV63X Sample Device"


node ../index --target="http://localhost:8002" list
node ../index --target="http://localhost:8002" delete "SICK CLV63X Sample Device*"
node ../index --target="http://localhost:8002" delete "SICK CLV63X Sample Device*" -m 
node ../index --target="http://localhost:8002" list
