It's useful for sending custom data when you call the server-side events manually.
dps.commandCallBack('command', 'yourdata');
Here, 'yourdata' will be available in e.Data in the Command event handler on the server side. You can even send more complex objects.
See also:
www.daypilot.org/daypilotscheduler-sending-custom-data.html