Exemplo n.º 1
0
        public string GetDarInfo()
        {
            int version = 0;
            int type    = 8;

            byte[]        inputParameterBytes = new byte[1];
            DarTaskResult darTaskResult       = this.SendDarHostRequest(version, type, inputParameterBytes);

            return(darTaskResult.LocalizedInformation);
        }
Exemplo n.º 2
0
 public void SetDarTaskAggregate(TaskAggregateStoreObject darTaskObject)
 {
     byte[] inputParameterBytes = DarTaskResult.ObjectToBytes <TaskAggregateStoreObject>(darTaskObject);
     this.SendDarHostRequest(0, 5, inputParameterBytes);
 }
Exemplo n.º 3
0
        public TaskStoreObject[] GetDarTask(DarTaskParams darParams)
        {
            DarTaskResult darTaskResult = this.SendDarHostRequest(0, 2, darParams.ToBytes());

            return(darTaskResult.DarTasks);
        }
Exemplo n.º 4
0
        public TaskAggregateStoreObject[] GetDarTaskAggregate(DarTaskAggregateParams darTaskAggregateParams)
        {
            DarTaskResult darTaskResult = this.SendDarHostRequest(0, 4, darTaskAggregateParams.ToBytes());

            return(darTaskResult.DarTaskAggregates);
        }
Exemplo n.º 5
0
 public DarTaskResult SendDarHostRequest(int version, int type, byte[] inputParameterBytes)
 {
     byte[] data = base.SendHostRequest(version, type, inputParameterBytes);
     return(DarTaskResult.GetResultObject(data));
 }