Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1002


Ignore:
Timestamp:
12/17/08 14:24:16 (15 years ago)
Author:
whackl
Message:

added new features (#397)

Location:
trunk/sources/HeuristicLab.Hive.Client.Console
Files:
1 added
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Console/EventLogEntryForm.Designer.cs

    r906 r1002  
    2424    /// </summary>
    2525    private void InitializeComponent() {
    26       this.lbMessage = new System.Windows.Forms.ListBox();
    2726      this.lbDateLabel = new System.Windows.Forms.Label();
    28       this.lbTimeLabel = new System.Windows.Forms.Label();
    2927      this.lbDate = new System.Windows.Forms.Label();
    30       this.lbTime = new System.Windows.Forms.Label();
    3128      this.lbId = new System.Windows.Forms.Label();
    3229      this.lbIdLabel = new System.Windows.Forms.Label();
     30      this.txtMessage = new System.Windows.Forms.TextBox();
    3331      this.SuspendLayout();
    34       //
    35       // lbMessage
    36       //
    37       this.lbMessage.BackColor = System.Drawing.SystemColors.InactiveBorder;
    38       this.lbMessage.FormattingEnabled = true;
    39       this.lbMessage.Location = new System.Drawing.Point(12, 97);
    40       this.lbMessage.MultiColumn = true;
    41       this.lbMessage.Name = "lbMessage";
    42       this.lbMessage.Size = new System.Drawing.Size(254, 160);
    43       this.lbMessage.TabIndex = 0;
    4432      //
    4533      // lbDateLabel
    4634      //
    4735      this.lbDateLabel.AutoSize = true;
    48       this.lbDateLabel.Location = new System.Drawing.Point(13, 13);
     36      this.lbDateLabel.Location = new System.Drawing.Point(13, 27);
    4937      this.lbDateLabel.Name = "lbDateLabel";
    50       this.lbDateLabel.Size = new System.Drawing.Size(33, 13);
     38      this.lbDateLabel.Size = new System.Drawing.Size(80, 13);
    5139      this.lbDateLabel.TabIndex = 1;
    52       this.lbDateLabel.Text = "Date:";
    53       //
    54       // lbTimeLabel
    55       //
    56       this.lbTimeLabel.AutoSize = true;
    57       this.lbTimeLabel.Location = new System.Drawing.Point(13, 37);
    58       this.lbTimeLabel.Name = "lbTimeLabel";
    59       this.lbTimeLabel.Size = new System.Drawing.Size(33, 13);
    60       this.lbTimeLabel.TabIndex = 2;
    61       this.lbTimeLabel.Text = "Time:";
     40      this.lbDateLabel.Text = "Date and Time:";
    6241      //
    6342      // lbDate
    6443      //
    6544      this.lbDate.AutoSize = true;
    66       this.lbDate.Location = new System.Drawing.Point(52, 13);
     45      this.lbDate.Location = new System.Drawing.Point(89, 27);
    6746      this.lbDate.Name = "lbDate";
    68       this.lbDate.Size = new System.Drawing.Size(33, 13);
     47      this.lbDate.Size = new System.Drawing.Size(23, 13);
    6948      this.lbDate.TabIndex = 3;
    70       this.lbDate.Text = "Date:";
    71       //
    72       // lbTime
    73       //
    74       this.lbTime.AutoSize = true;
    75       this.lbTime.Location = new System.Drawing.Point(52, 37);
    76       this.lbTime.Name = "lbTime";
    77       this.lbTime.Size = new System.Drawing.Size(33, 13);
    78       this.lbTime.TabIndex = 4;
    79       this.lbTime.Text = "Time:";
     49      this.lbDate.Text = "null";
    8050      //
    8151      // lbId
    8252      //
    8353      this.lbId.AutoSize = true;
    84       this.lbId.Location = new System.Drawing.Point(52, 60);
     54      this.lbId.Location = new System.Drawing.Point(27, 9);
    8555      this.lbId.Name = "lbId";
    86       this.lbId.Size = new System.Drawing.Size(19, 13);
     56      this.lbId.Size = new System.Drawing.Size(23, 13);
    8757      this.lbId.TabIndex = 6;
    88       this.lbId.Text = "Id:";
     58      this.lbId.Text = "null";
    8959      //
    9060      // lbIdLabel
    9161      //
    9262      this.lbIdLabel.AutoSize = true;
    93       this.lbIdLabel.Location = new System.Drawing.Point(13, 60);
     63      this.lbIdLabel.Location = new System.Drawing.Point(13, 9);
    9464      this.lbIdLabel.Name = "lbIdLabel";
    9565      this.lbIdLabel.Size = new System.Drawing.Size(19, 13);
     
    9767      this.lbIdLabel.Text = "Id:";
    9868      //
     69      // txtMessage
     70      //
     71      this.txtMessage.BackColor = System.Drawing.SystemColors.InactiveBorder;
     72      this.txtMessage.Location = new System.Drawing.Point(16, 55);
     73      this.txtMessage.Multiline = true;
     74      this.txtMessage.Name = "txtMessage";
     75      this.txtMessage.ReadOnly = true;
     76      this.txtMessage.Size = new System.Drawing.Size(250, 179);
     77      this.txtMessage.TabIndex = 7;
     78      //
    9979      // EventLogEntryForm
    10080      //
    10181      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    10282      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    103       this.ClientSize = new System.Drawing.Size(278, 269);
     83      this.ClientSize = new System.Drawing.Size(278, 246);
     84      this.Controls.Add(this.txtMessage);
    10485      this.Controls.Add(this.lbId);
    10586      this.Controls.Add(this.lbIdLabel);
    106       this.Controls.Add(this.lbTime);
    10787      this.Controls.Add(this.lbDate);
    108       this.Controls.Add(this.lbTimeLabel);
    10988      this.Controls.Add(this.lbDateLabel);
    110       this.Controls.Add(this.lbMessage);
    11189      this.Name = "EventLogEntryForm";
    112       this.Text = "Eventlog Entry Details";
     90      this.Text = "Detail";
    11391      this.ResumeLayout(false);
    11492      this.PerformLayout();
     
    11896    #endregion
    11997
    120     private System.Windows.Forms.ListBox lbMessage;
    12198    private System.Windows.Forms.Label lbDateLabel;
    122     private System.Windows.Forms.Label lbTimeLabel;
    12399    private System.Windows.Forms.Label lbDate;
    124     private System.Windows.Forms.Label lbTime;
    125100    private System.Windows.Forms.Label lbId;
    126101    private System.Windows.Forms.Label lbIdLabel;
     102    private System.Windows.Forms.TextBox txtMessage;
    127103  }
    128104}
  • trunk/sources/HeuristicLab.Hive.Client.Console/EventLogEntryForm.cs

    r906 r1002  
    1414      InitializeComponent();
    1515      lbDate.Text = curEventEntry.EventDate;
    16       lbTime.Text = curEventEntry.EventTime;
    1716      lbId.Text = curEventEntry.ID;
    18       lbMessage.Items.Add(curEventEntry.Message);
     17      txtMessage.Text = curEventEntry.Message;
    1918    }
    2019  }
  • trunk/sources/HeuristicLab.Hive.Client.Console/HeuristicLab.Hive.Client.Console.csproj

    r953 r1002  
    113113      <SubType>Component</SubType>
    114114    </Compile>
     115    <Compile Include="ListViewColumnSorterDate.cs" />
    115116    <Compile Include="Properties\AssemblyInfo.cs" />
    116117    <EmbeddedResource Include="EventLogEntryForm.resx">
  • trunk/sources/HeuristicLab.Hive.Client.Console/HiveClientConsole.Designer.cs

    r973 r1002  
    7474      this.chMessage = new System.Windows.Forms.ColumnHeader();
    7575      this.chDate = new System.Windows.Forms.ColumnHeader();
    76       this.chTime = new System.Windows.Forms.ColumnHeader();
    7776      this.ilEventLog = new System.Windows.Forms.ImageList(this.components);
    7877      this.tabPage2 = new System.Windows.Forms.TabPage();
    7978      this.gbOnlineTime = new System.Windows.Forms.GroupBox();
     79      this.label1 = new System.Windows.Forms.Label();
    8080      this.gbServerConnection = new System.Windows.Forms.GroupBox();
    8181      this.lbStatus = new System.Windows.Forms.Label();
     
    8787      this.lbServerIPCaption = new System.Windows.Forms.Label();
    8888      this.lbPortCaption = new System.Windows.Forms.Label();
    89       this.label1 = new System.Windows.Forms.Label();
    9089      this.tcClientConsole.SuspendLayout();
    9190      this.tpConnection.SuspendLayout();
     
    155154      //
    156155      this.chSince.Text = "Since";
    157       this.chSince.Width = 74;
     156      this.chSince.Width = 120;
    158157      //
    159158      // chProgress
    160159      //
    161160      this.chProgress.Text = "Progress";
    162       this.chProgress.Width = 260;
     161      this.chProgress.Width = 200;
    163162      //
    164163      // gbCommon
     
    189188      this.lbJobsAborted.Location = new System.Drawing.Point(195, 114);
    190189      this.lbJobsAborted.Name = "lbJobsAborted";
    191       this.lbJobsAborted.Size = new System.Drawing.Size(54, 13);
     190      this.lbJobsAborted.Size = new System.Drawing.Size(50, 13);
    192191      this.lbJobsAborted.TabIndex = 20;
    193       this.lbJobsAborted.Text = "undefined";
     192      this.lbJobsAborted.Text = "loading...";
    194193      //
    195194      // lbJobdone
     
    198197      this.lbJobdone.Location = new System.Drawing.Point(62, 114);
    199198      this.lbJobdone.Name = "lbJobdone";
    200       this.lbJobdone.Size = new System.Drawing.Size(54, 13);
     199      this.lbJobdone.Size = new System.Drawing.Size(50, 13);
    201200      this.lbJobdone.TabIndex = 19;
    202       this.lbJobdone.Text = "undefined";
     201      this.lbJobdone.Text = "loading...";
    203202      //
    204203      // lbJobsFetched
     
    207206      this.lbJobsFetched.Location = new System.Drawing.Point(74, 90);
    208207      this.lbJobsFetched.Name = "lbJobsFetched";
    209       this.lbJobsFetched.Size = new System.Drawing.Size(54, 13);
     208      this.lbJobsFetched.Size = new System.Drawing.Size(50, 13);
    210209      this.lbJobsFetched.TabIndex = 18;
    211       this.lbJobsFetched.Text = "undefined";
     210      this.lbJobsFetched.Text = "loading...";
    212211      //
    213212      // lbGuid
     
    216215      this.lbGuid.Location = new System.Drawing.Point(41, 16);
    217216      this.lbGuid.Name = "lbGuid";
    218       this.lbGuid.Size = new System.Drawing.Size(39, 13);
     217      this.lbGuid.Size = new System.Drawing.Size(50, 13);
    219218      this.lbGuid.TabIndex = 15;
    220       this.lbGuid.Text = "not set";
     219      this.lbGuid.Text = "loading...";
    221220      //
    222221      // lbGuidCaption
     
    234233      this.lbCs.Location = new System.Drawing.Point(94, 40);
    235234      this.lbCs.Name = "lbCs";
    236       this.lbCs.Size = new System.Drawing.Size(54, 13);
     235      this.lbCs.Size = new System.Drawing.Size(50, 13);
    237236      this.lbCs.TabIndex = 17;
    238       this.lbCs.Text = "undefined";
     237      this.lbCs.Text = "loading...";
    239238      //
    240239      // lbConnectionStatus
     
    243242      this.lbConnectionStatus.Location = new System.Drawing.Point(97, 66);
    244243      this.lbConnectionStatus.Name = "lbConnectionStatus";
    245       this.lbConnectionStatus.Size = new System.Drawing.Size(54, 13);
     244      this.lbConnectionStatus.Size = new System.Drawing.Size(50, 13);
    246245      this.lbConnectionStatus.TabIndex = 16;
    247       this.lbConnectionStatus.Text = "undefined";
     246      this.lbConnectionStatus.Text = "loading...";
    248247      //
    249248      // zGJobs
    250249      //
    251       this.zGJobs.Location = new System.Drawing.Point(277, 16);
     250      this.zGJobs.BackColor = System.Drawing.SystemColors.Control;
     251      this.zGJobs.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
     252      this.zGJobs.Location = new System.Drawing.Point(255, 14);
    252253      this.zGJobs.Name = "zGJobs";
    253254      this.zGJobs.ScrollGrace = 0;
     
    258259      this.zGJobs.ScrollMinY = 0;
    259260      this.zGJobs.ScrollMinY2 = 0;
    260       this.zGJobs.Size = new System.Drawing.Size(127, 103);
     261      this.zGJobs.Size = new System.Drawing.Size(149, 111);
    261262      this.zGJobs.TabIndex = 14;
    262263      //
     
    322323            this.chId,
    323324            this.chMessage,
    324             this.chDate,
    325             this.chTime});
     325            this.chDate});
    326326      this.lvLog.FullRowSelect = true;
    327327      this.lvLog.GridLines = true;
     
    336336      this.lvLog.View = System.Windows.Forms.View.Details;
    337337      this.lvLog.DoubleClick += new System.EventHandler(this.lvLog_DoubleClick);
     338      this.lvLog.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.lvLog_ColumnClick);
    338339      //
    339340      // chType
     
    345346      //
    346347      this.chId.Text = "ID";
     348      this.chId.Width = 50;
    347349      //
    348350      // chMessage
     
    354356      //
    355357      this.chDate.Text = "Date";
    356       this.chDate.Width = 63;
    357       //
    358       // chTime
    359       //
    360       this.chTime.Text = "Time";
    361       this.chTime.Width = 65;
     358      this.chDate.Width = 125;
    362359      //
    363360      // ilEventLog
     
    389386      this.gbOnlineTime.TabStop = false;
    390387      this.gbOnlineTime.Text = "Online time";
     388      //
     389      // label1
     390      //
     391      this.label1.AutoSize = true;
     392      this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     393      this.label1.Location = new System.Drawing.Point(116, 169);
     394      this.label1.Name = "label1";
     395      this.label1.Size = new System.Drawing.Size(184, 25);
     396      this.label1.TabIndex = 0;
     397      this.label1.Text = "comming soon...";
    391398      //
    392399      // gbServerConnection
     
    412419      this.lbStatus.Location = new System.Drawing.Point(74, 80);
    413420      this.lbStatus.Name = "lbStatus";
    414       this.lbStatus.Size = new System.Drawing.Size(54, 13);
     421      this.lbStatus.Size = new System.Drawing.Size(50, 13);
    415422      this.lbStatus.TabIndex = 7;
    416       this.lbStatus.Text = "undefined";
     423      this.lbStatus.Text = "loading...";
    417424      //
    418425      // lbStatusCaption
     
    477484      this.lbPortCaption.Text = "Port:";
    478485      //
    479       // label1
    480       //
    481       this.label1.AutoSize = true;
    482       this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    483       this.label1.Location = new System.Drawing.Point(98, 154);
    484       this.label1.Name = "label1";
    485       this.label1.Size = new System.Drawing.Size(184, 25);
    486       this.label1.TabIndex = 0;
    487       this.label1.Text = "comming soon...";
    488       //
    489486      // HiveClientConsole
    490487      //
     
    494491      this.Controls.Add(this.tcClientConsole);
    495492      this.Name = "HiveClientConsole";
    496       this.Text = "Client Console";
     493      this.Text = "Client Console (loading...)";
    497494      this.Load += new System.EventHandler(this.HiveClientConsole_Load);
    498495      this.Resize += new System.EventHandler(this.HiveClientConsole_Resize);
     
    521518    private System.Windows.Forms.ColumnHeader chMessage;
    522519    private System.Windows.Forms.ColumnHeader chDate;
    523     private System.Windows.Forms.ColumnHeader chTime;
    524520    private System.Windows.Forms.Label lbJobdoneCaption;
    525521    private System.Windows.Forms.Label lbCsCaption;
  • trunk/sources/HeuristicLab.Hive.Client.Console/HiveClientConsole.cs

    r973 r1002  
    4141  public partial class HiveClientConsole : Form {
    4242
    43     EventLog HiveClientEventLog;
    44     ClientConsoleCommunicatorClient cccc;
    45     System.Windows.Forms.Timer refreshTimer;
     43    private EventLog HiveClientEventLog;
     44    private ClientConsoleCommunicatorClient cccc;
     45    private System.Windows.Forms.Timer refreshTimer;
     46    private ListViewColumnSorterDate lvwColumnSorter;
     47
    4648
    4749    public HiveClientConsole() {
    4850      InitializeComponent();
     51      lvwColumnSorter = new ListViewColumnSorterDate();
     52      lvLog.ListViewItemSorter = lvwColumnSorter;
     53      lvwColumnSorter.SortColumn = 3;
     54      lvwColumnSorter.Order = SortOrder.Descending;
    4955      InitTimer();
    5056      ConnectToClient();
     
    6571   
    6672    private void RefreshGui() {
    67       StatusCommons sc = new StatusCommons();
    68      
    6973      try {
    70         sc = cccc.GetStatusInfos();
     74        cccc.GetStatusInfosAsync();
    7175      }
    7276      catch (Exception ex) {
     
    7680          this.Close();
    7781      }
    78 
    79       lbGuid.Text = sc.ClientGuid.ToString();
    80       lbCs.Text = sc.ConnectedSince.ToString();
    81       lbConnectionStatus.Text = sc.Status.ToString();
    82       lbJobdone.Text = sc.JobsDone.ToString();
    83       lbJobsAborted.Text = sc.JobsAborted.ToString();
    84       lbJobsFetched.Text = sc.JobsFetched.ToString();
    85 
    86       this.Text = "Client Console (" + sc.Status.ToString() + ")";
    87       lbStatus.Text = sc.Status.ToString();
    88 
    89       ListViewItem curJobStatusItem;
    90 
    91       if (sc.Jobs != null) {
    92         lvJobDetail.Items.Clear();
    93         double progress;
    94         foreach (JobStatus curJob in sc.Jobs) {
    95           curJobStatusItem = new ListViewItem(curJob.JobId.ToString());
    96           curJobStatusItem.SubItems.Add(curJob.Since.ToString());
    97           progress = curJob.Progress * 100;
    98           curJobStatusItem.SubItems.Add(progress.ToString());
    99           lvJobDetail.Items.Add(curJobStatusItem);
    100         }
    101       }
    102 
    103       UpdateGraph(zGJobs, sc.JobsDone, sc.JobsAborted);
    104  
    105       if (sc.Status == NetworkEnumWcfConnState.Connected) {
    106         btConnect.Enabled = false;
    107         btnDisconnect.Enabled = true;
    108         ConnectionContainer curConnection = cccc.GetCurrentConnection();
    109         tbIPAdress.Text = curConnection.IPAdress;
    110         tbPort.Text = curConnection.Port.ToString();
    111       } else if (sc.Status == NetworkEnumWcfConnState.Disconnected) {
    112         btConnect.Enabled = true;
    113         btnDisconnect.Enabled = false;
    114       } else if (sc.Status == NetworkEnumWcfConnState.Failed) {
    115         btConnect.Enabled = true;
    116         btnDisconnect.Enabled = false;
    117       }
    11882    }
    11983
     
    12185      try {
    12286        cccc = new ClientConsoleCommunicatorClient();
     87        cccc.GetStatusInfosCompleted += new EventHandler<GetStatusInfosCompletedEventArgs>(cccc_GetStatusInfosCompleted);
     88        cccc.GetCurrentConnectionCompleted += new EventHandler<GetCurrentConnectionCompletedEventArgs>(cccc_GetCurrentConnectionCompleted);
    12389      }
    12490      catch (Exception) {
     
    12793        if (res == DialogResult.OK)
    12894          this.Close();
     95      }
     96    }
     97
     98    void cccc_GetCurrentConnectionCompleted(object sender, GetCurrentConnectionCompletedEventArgs e) {
     99      if (e.Error == null) {
     100        ConnectionContainer curConnection = e.Result;
     101        tbIPAdress.Text = curConnection.IPAdress;
     102        tbPort.Text = curConnection.Port.ToString();
     103      }
     104    }
     105
     106    void cccc_GetStatusInfosCompleted(object sender, GetStatusInfosCompletedEventArgs e) {
     107
     108      if (e.Error == null) {
     109        StatusCommons sc = e.Result;
     110
     111        lbGuid.Text = sc.ClientGuid.ToString();
     112        lbCs.Text = sc.ConnectedSince.ToString();
     113        lbConnectionStatus.Text = sc.Status.ToString();
     114        lbJobdone.Text = sc.JobsDone.ToString();
     115        lbJobsAborted.Text = sc.JobsAborted.ToString();
     116        lbJobsFetched.Text = sc.JobsFetched.ToString();
     117
     118        this.Text = "Client Console (" + sc.Status.ToString() + ")";
     119        lbStatus.Text = sc.Status.ToString();
     120
     121        ListViewItem curJobStatusItem;
     122
     123        if (sc.Jobs != null) {
     124          lvJobDetail.Items.Clear();
     125          double progress;
     126          foreach (JobStatus curJob in sc.Jobs) {
     127            curJobStatusItem = new ListViewItem(curJob.JobId.ToString());
     128            curJobStatusItem.SubItems.Add(curJob.Since.ToString());
     129            progress = curJob.Progress * 100;
     130            curJobStatusItem.SubItems.Add(progress.ToString());
     131            lvJobDetail.Items.Add(curJobStatusItem);
     132          }
     133          lvJobDetail.Sort();
     134        }
     135
     136        UpdateGraph(zGJobs, sc.JobsDone, sc.JobsAborted);
     137
     138        if (sc.Status == NetworkEnumWcfConnState.Connected) {
     139          btConnect.Enabled = false;
     140          btnDisconnect.Enabled = true;
     141          cccc.GetCurrentConnectionAsync();
     142        } else if (sc.Status == NetworkEnumWcfConnState.Disconnected) {
     143          btConnect.Enabled = true;
     144          btnDisconnect.Enabled = false;
     145        } else if (sc.Status == NetworkEnumWcfConnState.Failed) {
     146          btConnect.Enabled = true;
     147          btnDisconnect.Enabled = false;
     148        }
    129149      }
    130150    }
     
    143163        curEventLogEntry.SubItems.Add(eve.InstanceId.ToString());
    144164        curEventLogEntry.SubItems.Add(eve.Message);
    145         curEventLogEntry.SubItems.Add(eve.TimeGenerated.Date.ToString());
    146         curEventLogEntry.SubItems.Add(eve.TimeGenerated.TimeOfDay.ToString());
     165        curEventLogEntry.SubItems.Add(eve.TimeGenerated.ToString());
    147166        lvLog.Items.Add(curEventLogEntry);
    148167      }
     168      lvJobDetail.Sort();
    149169    }
    150170
     
    162182        if (ev.EntryType == EventLogEntryType.Error)
    163183          curEventLogEntry = new ListViewItem("", 1);
    164         curEventLogEntry.SubItems.Add(ev.EventID.ToString());
     184        curEventLogEntry.SubItems.Add(ev.InstanceId.ToString());
    165185        curEventLogEntry.SubItems.Add(ev.Message);
    166         curEventLogEntry.SubItems.Add(ev.TimeGenerated.Date.ToString());
    167         curEventLogEntry.SubItems.Add(ev.TimeGenerated.TimeOfDay.ToString());
     186        curEventLogEntry.SubItems.Add(ev.TimeGenerated.ToString());
    168187        lvLog.Items.Add(curEventLogEntry);
     188        lvJobDetail.Sort();
    169189      }
    170190    }
     
    175195
    176196    private void UpdateGraph(ZedGraphControl zgc, int jobsDone, int jobsAborted) {
    177       zgc.GraphPane.GraphObjList.Clear();
    178197      GraphPane myPane = zgc.GraphPane;
    179 
    180       // Set the titles and axis labels
    181       myPane.Legend.IsVisible = false;
    182       myPane.Title.IsVisible = false;
     198      myPane.GraphObjList.Clear();
     199
     200
     201      myPane.Title.IsVisible = false;  // no title
     202      myPane.Border.IsVisible = false; // no border
     203      myPane.Chart.Border.IsVisible = false; // no border around the chart
     204      myPane.XAxis.IsVisible = false;  // no x-axis
     205      myPane.YAxis.IsVisible = false;  // no y-axis
     206      myPane.Legend.IsVisible = false; // no legend
     207     
     208      myPane.Chart.Fill.Type = FillType.None;
    183209      myPane.Fill.Type = FillType.None;
    184210
    185       double sum = jobsDone + jobsAborted;
    186       double perDone = jobsDone / sum * 100;
    187       double perAborted = jobsAborted / sum * 100;
    188 
    189       myPane.AddPieSlice(perAborted, Color.Red, 0, "Jobs aborted");
     211      //// Set the titles and axis labels
     212      //myPane.Legend.IsVisible = false;
     213      //myPane.Title.IsVisible = false;
     214      ////myPane.Fill.Type = FillType.None;
     215      ////myPane.Fill = new Fill();
     216      ////myPane.Fill.Color = Color.Transparent;
     217
     218      double sum = (double)jobsDone + jobsAborted;
     219      double perDone = (double)jobsDone / sum * 100;
     220      double perAborted = (double)jobsAborted / sum * 100;
     221
    190222      myPane.AddPieSlice(perDone, Color.Green, 0.1, "Jobs done");
     223      myPane.AddPieSlice(perAborted, Color.Red, 0.1, "Jobs aborted");
     224     
    191225      myPane.AxisChange();
    192226    }
     
    198232    private void lvLog_DoubleClick(object sender, EventArgs e) {
    199233      ListViewItem lvi = lvLog.SelectedItems[0];
    200       HiveEventEntry hee = new HiveEventEntry(lvi.SubItems[2].Text, lvi.SubItems[3].Text, lvi.SubItems[4].Text, lvi.SubItems[1].Text);
     234      HiveEventEntry hee = new HiveEventEntry(lvi.SubItems[2].Text, lvi.SubItems[3].Text, lvi.SubItems[1].Text);
    201235     
    202236      Form EventlogDetails = new EventLogEntryForm(hee);
     
    222256      cccc.Disconnect();
    223257    }
     258
     259    private void lvLog_ColumnClick(object sender, ColumnClickEventArgs e) {
     260      // Determine if clicked column is already the column that is being sorted.
     261      if (e.Column == lvwColumnSorter.SortColumn) {
     262        // Reverse the current sort direction for this column.
     263        if (lvwColumnSorter.Order == SortOrder.Ascending) {
     264          lvwColumnSorter.Order = SortOrder.Descending;
     265        } else {
     266          lvwColumnSorter.Order = SortOrder.Ascending;
     267        }
     268      } else {
     269        // Set the column number that is to be sorted; default to ascending.
     270        lvwColumnSorter.SortColumn = e.Column;
     271        lvwColumnSorter.Order = SortOrder.Ascending;
     272      }
     273
     274      // Perform the sort with these new sort options.
     275      lvLog.Sort();
     276    }
    224277  }
    225278}
  • trunk/sources/HeuristicLab.Hive.Client.Console/HiveClientConsole.resx

    r973 r1002  
    127127        ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABS
    128128        CgAAAk1TRnQBSQFMAgEBAgEAAQQBAAEEAQABEAEAARABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFA
    129         AwABEAMAAQEBAAEgBgABECoAAUMCAQF0AUECCAHxAwgB/wFdAgMB1AEgAgEBLCwAAUMCAQF0AUECCAHx
    130         AwgB/wFdAgMB1AEgAgEBLKQAAT0CCAHyAZMBYgEIAf8BvwF7AQgB/wG9AXgBCAH/AboBdQEIAf8BuAFy
    131         AQgB/wG2AXABCAH/ATwBJQEIAf8BPQIBAWUcAAE9AggB8gIIAaQB/wIIAdYB/wIIAdQB/wIIAdIB/wII
    132         AdAB/wIIAc4B/wIIAUMB/wE9AgEBZZgAARIBDgEIAf8BxwGBAQgB/wHDAYABCAH/AbEBagEIAf8BsQFq
    133         AQgB/wGxAWoBCAH/AbEBagEIAf8BswFsAQgB/wG2AXABCAH/AbQBbQEIAf8BVQIFAeQUAAIIARMB/wII
    134         AdwB/wIIAdkB/wIIAcoB/wIIAcoB/wIIAcoB/wIIAcoB/wIIAcsB/wIIAc4B/wIIAcwB/wFVAgUB5JAA
    135         AwgB/wHLAYEBCAH/AbsBdgEIAf8BtgFwAQgB/wG2AXABCAH/Ae4B3AHEBf8BvgGBASUB/wG2AXABCAH/
    136         AbYBcAEIAf8BtgFwAQgB/wG0AW0BCAH/AUkCAgGGDAADCAH/AggB4AH/AggB0gH/AggBzgH/AjUB1gH/
    137         AggBzgH/AggBzgH/AggBzgH/AgsBzgH/AggBzgH/AggBzgH/AggBzAH/AUkCAgGGiAABLAIBAUIB0AGG
    138         AQgB/wHHAYEBCAH/AboBdQEIAf8BugF1AQgB/wG6AXUBCAH/AdABnAFZBf8BugF1AQgB/wG6AXUBCAH/
    139         AboBdQEIAf8BugF1AQgB/wG2AXABCAH/AVwBNwEIAf8IAAEsAgEBQgIIAeQB/wIIAdwB/wIIAdIB/wKf
    140         Ae0F/wJOAd4B/wIIAdIB/wL0Af0F/wILAdIB/wIIAdIB/wIIAc4B/wIIAWcB/4gAAwgB/wHSAYkBCAH/
    141         Ab8BewEIAf8BvwF7AQgB/wG/AXsBCAH/Ab8BewEIAf8B0wGfAVkF/wG/AXsBCAH/Ab8BewEIAf8BvwF7
    142         AQgB/wG/AXsBCAH/Ab4BegEIAf8BtgFwAQgB/wE2AgEBVwQAAwgB/wIIAeUB/wIIAdYB/wIIAdYN/wL1
    143         Af0J/wLiAfoB/wIIAdYB/wIIAdUB/wIIAc4B/wE2AgEBV4QAAVABOAEIAf8B1AGMAQgB/wHEAYABCAH/
    144         AcQBgAEIAf8BxAGAAQgB/wHEAYABCAH/AdcBpAFaBf8BxAGAAQgB/wHEAYABCAH/AcQBgAEIAf8BxAGA
    145         AQgB/wHEAYABCAH/AbgBcgEIAf8BTQIHAewEAAIIAVYB/wIIAegB/wIIAdoB/wIIAdoB/wIIAdoR/wLi
    146         AfoB/wIIAdoB/wIIAdoB/wIIAdoB/wIIAdAB/wFNAgcB7IQAAXABTQEIAf8B1wGOAQgB/wHJAYEBCAH/
    147         AckBgQEIAf8ByQGBAQgB/wHJAYEBCAn/AckBgQEIAf8ByQGBAQgB/wHJAYEBCAH/AckBgQEIAf8ByQGB
    148         AQgB/wG6AXUBCAH/AwgB/wQAAggBeQH/AggB6QH/AggB3gH/AggB3gH/AggB3gH/AvQB/Q3/Ak4B5wH/
    149         AggB3gH/AggB3gH/AggB3gH/AggB0gH/AwgB/4QAAWABPgEIAf8B2QGRAQgB/wHOAYMBCAH/Ac4BgwEI
    150         Af8BzgGDAQgB/wHOAYMBCAH/Ac4BgwEIAf8B1wGcATkB/wHOAYMBCAH/Ac4BgwEIAf8BzgGDAQgB/wHO
    151         AYMBCAH/Ac4BgwEIAf8BvQF4AQgB/wEjAggB+QQAAQgBDQFfAf8CCAHsAf8CCAHiAf8CCAHiAf8C9AH9
    152         Ff8CTgHqAf8CCAHiAf8CCAHiAf8CCAHUAf8BIwIIAfmEAAELAQkBCAH/AdsBlAEIAf8B0gGJAQgB/wHS
    153         AYkBCAH/AdIBiQEIAf8B0gGJAQgB/wHSAYkBCAH/AesBywGQAf8B0gGJAQgB/wHSAYkBCAH/AdIBiQEI
    154         Af8B0gGJAQgB/wHEAYEBCAH/Ab8BewEIAf8BUQICAZsEAAIIAQsB/wIIAe0B/wIIAeYB/wIIAeUB/wL9
    155         Af4F/wLiAfwB/wIIAeUJ/wJ5AfEB/wIIAeUB/wIIAdoB/wIIAdYB/wFRAgIBm4QAAVgCAgGyAd4BmAEI
    156         Af8B2wGUAQgB/wHXAY4BCAH/AdcBjgEIAf8B1wGOAQgB/wH7AfYB6wX/AdcBjgEIAf8B1wGOAQgB/wHX
    157         AY4BCAH/AdYBjQEIAf8BxAGAAQgB/wGpAWkBCAH/CAABWAICAbIBCAESAe8B/wIIAe0B/wIIAekB/wII
    158         AekB/wLhAfwB/wIIAekB/wIIAekB/wIIAekB/wJ5AfMB/wIIAekB/wIIAegB/wIIAdoB/wEIARABnQH/
    159         jAABQgEnAQgB/wHdAZcBCAH/AdsBlAEIAf8B2wGUAQgB/wHbAZQBCAH/AdsBlAEIAf8B3AGXAQ4B/wHb
    160         AZQBCAH/AdsBlAEIAf8B1QGMAQgB/wHJAYEBCAH/AdEBiAEIAf8BGAIIAfwMAAIIATwB/wIIAe8B/wII
    161         Ae0B/wIIAe0B/wIIAe0B/wIIAe0B/wIIAe0B/wIIAe0B/wIIAe0B/wIIAegB/wIIAd4B/wEIARsB4gH/
    162         ARgCCAH8jAABGQIBASEBkAFcAQgB/wHfAZkBCAH/AdsBlAEIAf8B2QGRAQgB/wHYAZABCAH/AdgBkAEI
    163         Af8B0wGKAQgB/wHQAYYBCAH/Ac4BgwEIAf8B2gGSAQgB/wETAQ4BCAH/EAABGQIBASECCAGHAf8BCAEO
    164         AfEB/wIIAe0B/wIIAewB/wIIAesB/wIIAesB/wIIAeYB/wIIAeQB/wIIAeIB/wEIASUB5gH/AggBEgH/
    165         lAABEgIBARYBLQEfAQgB/wHSAYkBCAH/AeIBnQEIAf8B2QGRAQgB/wHXAY4BCAH/AdUBjAEIAf8B4QGb
    166         AQgB/wHOAYQBCAH/ARACCAH+GAABEgIBARYCCAEsAf8BCAEOAdMB/wEIAR8B9AH/AggB7AH/AggB6QH/
    167         AQgBCQHoAf8BCAEnAfAB/wIIAcwB/wEQAggB/qAAAUYCAQF9AwgB/wFZAUABCAH/AXoBWQEIAf8BOgEr
    168         AQgB/wEQAggB/gEUAgEBGiQAAUYCAQF9AwgB/wIIAVwB/wIIAYEB/wIIATwB/wEQAggB/gEUAgEBGv8A
     129        AwABEAMAAQEBAAEgBgABECoAAUMCAQF0AUkCCQHxAwoB/wFfAgMB1AEgAgEBLCwAAUMCAQF0AUkCCQHx
     130        AwoB/wFfAgMB1AEgAgEBLKQAAUcCCgHyAZMBZAEKAf8BvwF9AQoB/wG9AXoBCgH/AboBdwEKAf8BuAF0
     131        AQoB/wG2AXIBCgH/AT4BJwEKAf8BPQIBAWUcAAFHAgoB8gIKAaQB/wIKAdYB/wIKAdQB/wIKAdIB/wIK
     132        AdAB/wIKAc4B/wIKAUUB/wE9AgEBZZgAARQBEAEKAf8BxwGBAQoB/wHDAYEBCgH/AbEBbAEKAf8BsQFs
     133        AQoB/wGxAWwBCgH/AbEBbAEKAf8BswFuAQoB/wG2AXIBCgH/AbQBbwEKAf8BWgIFAeQUAAIKARUB/wIK
     134        AdwB/wIKAdkB/wIKAcoB/wIKAcoB/wIKAcoB/wIKAcoB/wIKAcsB/wIKAc4B/wIKAcwB/wFaAgUB5JAA
     135        AwoB/wHLAYEBCgH/AbsBeAEKAf8BtgFyAQoB/wG2AXIBCgH/Ae4B3AHEBf8BvgGBAScB/wG2AXIBCgH/
     136        AbYBcgEKAf8BtgFyAQoB/wG0AW8BCgH/AUkCAgGGDAADCgH/AgoB4AH/AgoB0gH/AgoBzgH/AjcB1gH/
     137        AgoBzgH/AgoBzgH/AgoBzgH/Ag0BzgH/AgoBzgH/AgoBzgH/AgoBzAH/AUkCAgGGiAABLAIBAUIB0AGG
     138        AQoB/wHHAYEBCgH/AboBdwEKAf8BugF3AQoB/wG6AXcBCgH/AdABnAFbBf8BugF3AQoB/wG6AXcBCgH/
     139        AboBdwEKAf8BugF3AQoB/wG2AXIBCgH/AV4BOQEKAf8IAAEsAgEBQgIKAeQB/wIKAdwB/wIKAdIB/wKf
     140        Ae0F/wJQAd4B/wIKAdIB/wL0Af0F/wINAdIB/wIKAdIB/wIKAc4B/wIKAWkB/4gAAwoB/wHSAYkBCgH/
     141        Ab8BfQEKAf8BvwF9AQoB/wG/AX0BCgH/Ab8BfQEKAf8B0wGfAVsF/wG/AX0BCgH/Ab8BfQEKAf8BvwF9
     142        AQoB/wG/AX0BCgH/Ab4BfAEKAf8BtgFyAQoB/wE2AgEBVwQAAwoB/wIKAeUB/wIKAdYB/wIKAdYN/wL1
     143        Af0J/wLiAfoB/wIKAdYB/wIKAdUB/wIKAc4B/wE2AgEBV4QAAVIBOgEKAf8B1AGMAQoB/wHEAYEBCgH/
     144        AcQBgQEKAf8BxAGBAQoB/wHEAYEBCgH/AdcBpAFcBf8BxAGBAQoB/wHEAYEBCgH/AcQBgQEKAf8BxAGB
     145        AQoB/wHEAYEBCgH/AbgBdAEKAf8BUwIHAewEAAIKAVgB/wIKAegB/wIKAdoB/wIKAdoB/wIKAdoR/wLi
     146        AfoB/wIKAdoB/wIKAdoB/wIKAdoB/wIKAdAB/wFTAgcB7IQAAXIBTwEKAf8B1wGOAQoB/wHJAYEBCgH/
     147        AckBgQEKAf8ByQGBAQoB/wHJAYEBCgn/AckBgQEKAf8ByQGBAQoB/wHJAYEBCgH/AckBgQEKAf8ByQGB
     148        AQoB/wG6AXcBCgH/AwoB/wQAAgoBewH/AgoB6QH/AgoB3gH/AgoB3gH/AgoB3gH/AvQB/Q3/AlAB5wH/
     149        AgoB3gH/AgoB3gH/AgoB3gH/AgoB0gH/AwoB/4QAAWIBQAEKAf8B2QGRAQoB/wHOAYMBCgH/Ac4BgwEK
     150        Af8BzgGDAQoB/wHOAYMBCgH/Ac4BgwEKAf8B1wGcATsB/wHOAYMBCgH/Ac4BgwEKAf8BzgGDAQoB/wHO
     151        AYMBCgH/Ac4BgwEKAf8BvQF6AQoB/wEpAgoB+QQAAQoBDwFhAf8CCgHsAf8CCgHiAf8CCgHiAf8C9AH9
     152        Ff8CUAHqAf8CCgHiAf8CCgHiAf8CCgHUAf8BKQIKAfmEAAENAQsBCgH/AdsBlAEKAf8B0gGJAQoB/wHS
     153        AYkBCgH/AdIBiQEKAf8B0gGJAQoB/wHSAYkBCgH/AesBywGQAf8B0gGJAQoB/wHSAYkBCgH/AdIBiQEK
     154        Af8B0gGJAQoB/wHEAYEBCgH/Ab8BfQEKAf8BUQICAZsEAAIKAQ0B/wIKAe0B/wIKAeYB/wIKAeUB/wL9
     155        Af4F/wLiAfwB/wIKAeUJ/wJ7AfEB/wIKAeUB/wIKAdoB/wIKAdYB/wFRAgIBm4QAAVgCAgGyAd4BmAEK
     156        Af8B2wGUAQoB/wHXAY4BCgH/AdcBjgEKAf8B1wGOAQoB/wH7AfYB6wX/AdcBjgEKAf8B1wGOAQoB/wHX
     157        AY4BCgH/AdYBjQEKAf8BxAGBAQoB/wGpAWsBCgH/CAABWAICAbIBCgEUAe8B/wIKAe0B/wIKAekB/wIK
     158        AekB/wLhAfwB/wIKAekB/wIKAekB/wIKAekB/wJ7AfMB/wIKAekB/wIKAegB/wIKAdoB/wEKARIBnQH/
     159        jAABRAEpAQoB/wHdAZcBCgH/AdsBlAEKAf8B2wGUAQoB/wHbAZQBCgH/AdsBlAEKAf8B3AGXARAB/wHb
     160        AZQBCgH/AdsBlAEKAf8B1QGMAQoB/wHJAYEBCgH/AdEBiAEKAf8BHgIKAfwMAAIKAT4B/wIKAe8B/wIK
     161        Ae0B/wIKAe0B/wIKAe0B/wIKAe0B/wIKAe0B/wIKAe0B/wIKAe0B/wIKAegB/wIKAd4B/wEKAR0B4gH/
     162        AR4CCgH8jAABGQIBASEBkAFeAQoB/wHfAZkBCgH/AdsBlAEKAf8B2QGRAQoB/wHYAZABCgH/AdgBkAEK
     163        Af8B0wGKAQoB/wHQAYYBCgH/Ac4BgwEKAf8B2gGSAQoB/wEVARABCgH/EAABGQIBASECCgGHAf8BCgEQ
     164        AfEB/wIKAe0B/wIKAewB/wIKAesB/wIKAesB/wIKAeYB/wIKAeQB/wIKAeIB/wEKAScB5gH/AgoBFAH/
     165        lAABEgIBARYBLwEhAQoB/wHSAYkBCgH/AeIBnQEKAf8B2QGRAQoB/wHXAY4BCgH/AdUBjAEKAf8B4QGb
     166        AQoB/wHOAYQBCgH/ARQCCgH+GAABEgIBARYCCgEuAf8BCgEQAdMB/wEKASEB9AH/AgoB7AH/AgoB6QH/
     167        AQoBCwHoAf8BCgEpAfAB/wIKAcwB/wEUAgoB/qAAAUYCAQF9AwoB/wFbAUIBCgH/AXwBWwEKAf8BPAEt
     168        AQoB/wEUAgoB/gEUAgEBGiQAAUYCAQF9AwoB/wIKAV4B/wIKAYEB/wIKAT4B/wEUAgoB/gEUAgEBGv8A
    169169        kQABQgFNAT4HAAE+AwABKAMAAUADAAEQAwABAQEAAQEFAAGAFwAD/wEAAfwBHwH8AR8EAAHwAQcB8AEH
    170170        BAAB4AEDAeABAwQAAcABAQHAAQEEAAGAAQEBgAEBBAABgAEAAYAFAAGAAQABgAUAAYABAAGABQABgAEA
     
    173173</value>
    174174  </data>
     175  <metadata name="$this.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     176    <value>True</value>
     177  </metadata>
    175178</root>
  • trunk/sources/HeuristicLab.Hive.Client.Console/HiveEventEntry.cs

    r906 r1002  
    88    public string Message { get; private set; }
    99    public string EventDate { get; private set; }
    10     public string EventTime { get; private set; }
    1110    public string ID { get; private set; }
    1211
    13     public HiveEventEntry(string message, string eventDate, string eventTime, string id) {
     12    public HiveEventEntry(string message, string eventDate, string id) {
    1413      Message = message;
    1514      EventDate = eventDate;
    16       EventTime = eventTime;
    1715      ID = id;
    1816    }
  • trunk/sources/HeuristicLab.Hive.Client.Console/Service References/ClientService/Reference.cs

    r973 r1002  
    317317        HeuristicLab.Hive.Client.Console.ClientService.StatusCommons GetStatusInfos();
    318318       
     319        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientConsoleCommunicator/GetStatusInfos", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/GetStatusInfosResponse")]
     320        System.IAsyncResult BeginGetStatusInfos(System.AsyncCallback callback, object asyncState);
     321       
     322        HeuristicLab.Hive.Client.Console.ClientService.StatusCommons EndGetStatusInfos(System.IAsyncResult result);
     323       
    319324        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/GetConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/GetConnectionResponse")]
    320325        HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer GetConnection();
    321326       
     327        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientConsoleCommunicator/GetConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/GetConnectionResponse")]
     328        System.IAsyncResult BeginGetConnection(System.AsyncCallback callback, object asyncState);
     329       
     330        HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer EndGetConnection(System.IAsyncResult result);
     331       
    322332        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/SetConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/SetConnectionResponse")]
    323333        void SetConnection(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container);
    324334       
     335        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientConsoleCommunicator/SetConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/SetConnectionResponse")]
     336        System.IAsyncResult BeginSetConnection(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container, System.AsyncCallback callback, object asyncState);
     337       
     338        void EndSetConnection(System.IAsyncResult result);
     339       
    325340        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/Disconnect", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/DisconnectResponse")]
    326341        void Disconnect();
    327342       
     343        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientConsoleCommunicator/Disconnect", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/DisconnectResponse")]
     344        System.IAsyncResult BeginDisconnect(System.AsyncCallback callback, object asyncState);
     345       
     346        void EndDisconnect(System.IAsyncResult result);
     347       
    328348        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IClientConsoleCommunicator/GetCurrentConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/GetCurrentConnectionResponse")]
    329349        HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer GetCurrentConnection();
     350       
     351        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IClientConsoleCommunicator/GetCurrentConnection", ReplyAction="http://tempuri.org/IClientConsoleCommunicator/GetCurrentConnectionResponse")]
     352        System.IAsyncResult BeginGetCurrentConnection(System.AsyncCallback callback, object asyncState);
     353       
     354        HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer EndGetCurrentConnection(System.IAsyncResult result);
    330355    }
    331356   
    332357    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    333358    public interface IClientConsoleCommunicatorChannel : HeuristicLab.Hive.Client.Console.ClientService.IClientConsoleCommunicator, System.ServiceModel.IClientChannel {
     359    }
     360   
     361    [System.Diagnostics.DebuggerStepThroughAttribute()]
     362    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
     363    public partial class GetStatusInfosCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
     364       
     365        private object[] results;
     366       
     367        public GetStatusInfosCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
     368                base(exception, cancelled, userState) {
     369            this.results = results;
     370        }
     371       
     372        public HeuristicLab.Hive.Client.Console.ClientService.StatusCommons Result {
     373            get {
     374                base.RaiseExceptionIfNecessary();
     375                return ((HeuristicLab.Hive.Client.Console.ClientService.StatusCommons)(this.results[0]));
     376            }
     377        }
     378    }
     379   
     380    [System.Diagnostics.DebuggerStepThroughAttribute()]
     381    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
     382    public partial class GetConnectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
     383       
     384        private object[] results;
     385       
     386        public GetConnectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
     387                base(exception, cancelled, userState) {
     388            this.results = results;
     389        }
     390       
     391        public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer Result {
     392            get {
     393                base.RaiseExceptionIfNecessary();
     394                return ((HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer)(this.results[0]));
     395            }
     396        }
     397    }
     398   
     399    [System.Diagnostics.DebuggerStepThroughAttribute()]
     400    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
     401    public partial class GetCurrentConnectionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
     402       
     403        private object[] results;
     404       
     405        public GetCurrentConnectionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
     406                base(exception, cancelled, userState) {
     407            this.results = results;
     408        }
     409       
     410        public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer Result {
     411            get {
     412                base.RaiseExceptionIfNecessary();
     413                return ((HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer)(this.results[0]));
     414            }
     415        }
    334416    }
    335417   
     
    338420    public partial class ClientConsoleCommunicatorClient : System.ServiceModel.ClientBase<HeuristicLab.Hive.Client.Console.ClientService.IClientConsoleCommunicator>, HeuristicLab.Hive.Client.Console.ClientService.IClientConsoleCommunicator {
    339421       
     422        private BeginOperationDelegate onBeginGetStatusInfosDelegate;
     423       
     424        private EndOperationDelegate onEndGetStatusInfosDelegate;
     425       
     426        private System.Threading.SendOrPostCallback onGetStatusInfosCompletedDelegate;
     427       
     428        private BeginOperationDelegate onBeginGetConnectionDelegate;
     429       
     430        private EndOperationDelegate onEndGetConnectionDelegate;
     431       
     432        private System.Threading.SendOrPostCallback onGetConnectionCompletedDelegate;
     433       
     434        private BeginOperationDelegate onBeginSetConnectionDelegate;
     435       
     436        private EndOperationDelegate onEndSetConnectionDelegate;
     437       
     438        private System.Threading.SendOrPostCallback onSetConnectionCompletedDelegate;
     439       
     440        private BeginOperationDelegate onBeginDisconnectDelegate;
     441       
     442        private EndOperationDelegate onEndDisconnectDelegate;
     443       
     444        private System.Threading.SendOrPostCallback onDisconnectCompletedDelegate;
     445       
     446        private BeginOperationDelegate onBeginGetCurrentConnectionDelegate;
     447       
     448        private EndOperationDelegate onEndGetCurrentConnectionDelegate;
     449       
     450        private System.Threading.SendOrPostCallback onGetCurrentConnectionCompletedDelegate;
     451       
    340452        public ClientConsoleCommunicatorClient() {
    341453        }
     
    357469        }
    358470       
     471        public event System.EventHandler<GetStatusInfosCompletedEventArgs> GetStatusInfosCompleted;
     472       
     473        public event System.EventHandler<GetConnectionCompletedEventArgs> GetConnectionCompleted;
     474       
     475        public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> SetConnectionCompleted;
     476       
     477        public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> DisconnectCompleted;
     478       
     479        public event System.EventHandler<GetCurrentConnectionCompletedEventArgs> GetCurrentConnectionCompleted;
     480       
    359481        public HeuristicLab.Hive.Client.Console.ClientService.StatusCommons GetStatusInfos() {
    360482            return base.Channel.GetStatusInfos();
    361483        }
    362484       
     485        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     486        public System.IAsyncResult BeginGetStatusInfos(System.AsyncCallback callback, object asyncState) {
     487            return base.Channel.BeginGetStatusInfos(callback, asyncState);
     488        }
     489       
     490        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     491        public HeuristicLab.Hive.Client.Console.ClientService.StatusCommons EndGetStatusInfos(System.IAsyncResult result) {
     492            return base.Channel.EndGetStatusInfos(result);
     493        }
     494       
     495        private System.IAsyncResult OnBeginGetStatusInfos(object[] inValues, System.AsyncCallback callback, object asyncState) {
     496            return this.BeginGetStatusInfos(callback, asyncState);
     497        }
     498       
     499        private object[] OnEndGetStatusInfos(System.IAsyncResult result) {
     500            HeuristicLab.Hive.Client.Console.ClientService.StatusCommons retVal = this.EndGetStatusInfos(result);
     501            return new object[] {
     502                    retVal};
     503        }
     504       
     505        private void OnGetStatusInfosCompleted(object state) {
     506            if ((this.GetStatusInfosCompleted != null)) {
     507                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
     508                this.GetStatusInfosCompleted(this, new GetStatusInfosCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
     509            }
     510        }
     511       
     512        public void GetStatusInfosAsync() {
     513            this.GetStatusInfosAsync(null);
     514        }
     515       
     516        public void GetStatusInfosAsync(object userState) {
     517            if ((this.onBeginGetStatusInfosDelegate == null)) {
     518                this.onBeginGetStatusInfosDelegate = new BeginOperationDelegate(this.OnBeginGetStatusInfos);
     519            }
     520            if ((this.onEndGetStatusInfosDelegate == null)) {
     521                this.onEndGetStatusInfosDelegate = new EndOperationDelegate(this.OnEndGetStatusInfos);
     522            }
     523            if ((this.onGetStatusInfosCompletedDelegate == null)) {
     524                this.onGetStatusInfosCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetStatusInfosCompleted);
     525            }
     526            base.InvokeAsync(this.onBeginGetStatusInfosDelegate, null, this.onEndGetStatusInfosDelegate, this.onGetStatusInfosCompletedDelegate, userState);
     527        }
     528       
    363529        public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer GetConnection() {
    364530            return base.Channel.GetConnection();
    365531        }
    366532       
     533        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     534        public System.IAsyncResult BeginGetConnection(System.AsyncCallback callback, object asyncState) {
     535            return base.Channel.BeginGetConnection(callback, asyncState);
     536        }
     537       
     538        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     539        public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer EndGetConnection(System.IAsyncResult result) {
     540            return base.Channel.EndGetConnection(result);
     541        }
     542       
     543        private System.IAsyncResult OnBeginGetConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
     544            return this.BeginGetConnection(callback, asyncState);
     545        }
     546       
     547        private object[] OnEndGetConnection(System.IAsyncResult result) {
     548            HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer retVal = this.EndGetConnection(result);
     549            return new object[] {
     550                    retVal};
     551        }
     552       
     553        private void OnGetConnectionCompleted(object state) {
     554            if ((this.GetConnectionCompleted != null)) {
     555                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
     556                this.GetConnectionCompleted(this, new GetConnectionCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
     557            }
     558        }
     559       
     560        public void GetConnectionAsync() {
     561            this.GetConnectionAsync(null);
     562        }
     563       
     564        public void GetConnectionAsync(object userState) {
     565            if ((this.onBeginGetConnectionDelegate == null)) {
     566                this.onBeginGetConnectionDelegate = new BeginOperationDelegate(this.OnBeginGetConnection);
     567            }
     568            if ((this.onEndGetConnectionDelegate == null)) {
     569                this.onEndGetConnectionDelegate = new EndOperationDelegate(this.OnEndGetConnection);
     570            }
     571            if ((this.onGetConnectionCompletedDelegate == null)) {
     572                this.onGetConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetConnectionCompleted);
     573            }
     574            base.InvokeAsync(this.onBeginGetConnectionDelegate, null, this.onEndGetConnectionDelegate, this.onGetConnectionCompletedDelegate, userState);
     575        }
     576       
    367577        public void SetConnection(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container) {
    368578            base.Channel.SetConnection(container);
    369579        }
    370580       
     581        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     582        public System.IAsyncResult BeginSetConnection(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container, System.AsyncCallback callback, object asyncState) {
     583            return base.Channel.BeginSetConnection(container, callback, asyncState);
     584        }
     585       
     586        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     587        public void EndSetConnection(System.IAsyncResult result) {
     588            base.Channel.EndSetConnection(result);
     589        }
     590       
     591        private System.IAsyncResult OnBeginSetConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
     592            HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container = ((HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer)(inValues[0]));
     593            return this.BeginSetConnection(container, callback, asyncState);
     594        }
     595       
     596        private object[] OnEndSetConnection(System.IAsyncResult result) {
     597            this.EndSetConnection(result);
     598            return null;
     599        }
     600       
     601        private void OnSetConnectionCompleted(object state) {
     602            if ((this.SetConnectionCompleted != null)) {
     603                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
     604                this.SetConnectionCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
     605            }
     606        }
     607       
     608        public void SetConnectionAsync(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container) {
     609            this.SetConnectionAsync(container, null);
     610        }
     611       
     612        public void SetConnectionAsync(HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer container, object userState) {
     613            if ((this.onBeginSetConnectionDelegate == null)) {
     614                this.onBeginSetConnectionDelegate = new BeginOperationDelegate(this.OnBeginSetConnection);
     615            }
     616            if ((this.onEndSetConnectionDelegate == null)) {
     617                this.onEndSetConnectionDelegate = new EndOperationDelegate(this.OnEndSetConnection);
     618            }
     619            if ((this.onSetConnectionCompletedDelegate == null)) {
     620                this.onSetConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSetConnectionCompleted);
     621            }
     622            base.InvokeAsync(this.onBeginSetConnectionDelegate, new object[] {
     623                        container}, this.onEndSetConnectionDelegate, this.onSetConnectionCompletedDelegate, userState);
     624        }
     625       
    371626        public void Disconnect() {
    372627            base.Channel.Disconnect();
    373628        }
    374629       
     630        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     631        public System.IAsyncResult BeginDisconnect(System.AsyncCallback callback, object asyncState) {
     632            return base.Channel.BeginDisconnect(callback, asyncState);
     633        }
     634       
     635        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     636        public void EndDisconnect(System.IAsyncResult result) {
     637            base.Channel.EndDisconnect(result);
     638        }
     639       
     640        private System.IAsyncResult OnBeginDisconnect(object[] inValues, System.AsyncCallback callback, object asyncState) {
     641            return this.BeginDisconnect(callback, asyncState);
     642        }
     643       
     644        private object[] OnEndDisconnect(System.IAsyncResult result) {
     645            this.EndDisconnect(result);
     646            return null;
     647        }
     648       
     649        private void OnDisconnectCompleted(object state) {
     650            if ((this.DisconnectCompleted != null)) {
     651                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
     652                this.DisconnectCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
     653            }
     654        }
     655       
     656        public void DisconnectAsync() {
     657            this.DisconnectAsync(null);
     658        }
     659       
     660        public void DisconnectAsync(object userState) {
     661            if ((this.onBeginDisconnectDelegate == null)) {
     662                this.onBeginDisconnectDelegate = new BeginOperationDelegate(this.OnBeginDisconnect);
     663            }
     664            if ((this.onEndDisconnectDelegate == null)) {
     665                this.onEndDisconnectDelegate = new EndOperationDelegate(this.OnEndDisconnect);
     666            }
     667            if ((this.onDisconnectCompletedDelegate == null)) {
     668                this.onDisconnectCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDisconnectCompleted);
     669            }
     670            base.InvokeAsync(this.onBeginDisconnectDelegate, null, this.onEndDisconnectDelegate, this.onDisconnectCompletedDelegate, userState);
     671        }
     672       
    375673        public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer GetCurrentConnection() {
    376674            return base.Channel.GetCurrentConnection();
    377675        }
     676       
     677        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     678        public System.IAsyncResult BeginGetCurrentConnection(System.AsyncCallback callback, object asyncState) {
     679            return base.Channel.BeginGetCurrentConnection(callback, asyncState);
     680        }
     681       
     682        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
     683        public HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer EndGetCurrentConnection(System.IAsyncResult result) {
     684            return base.Channel.EndGetCurrentConnection(result);
     685        }
     686       
     687        private System.IAsyncResult OnBeginGetCurrentConnection(object[] inValues, System.AsyncCallback callback, object asyncState) {
     688            return this.BeginGetCurrentConnection(callback, asyncState);
     689        }
     690       
     691        private object[] OnEndGetCurrentConnection(System.IAsyncResult result) {
     692            HeuristicLab.Hive.Client.Console.ClientService.ConnectionContainer retVal = this.EndGetCurrentConnection(result);
     693            return new object[] {
     694                    retVal};
     695        }
     696       
     697        private void OnGetCurrentConnectionCompleted(object state) {
     698            if ((this.GetCurrentConnectionCompleted != null)) {
     699                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
     700                this.GetCurrentConnectionCompleted(this, new GetCurrentConnectionCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
     701            }
     702        }
     703       
     704        public void GetCurrentConnectionAsync() {
     705            this.GetCurrentConnectionAsync(null);
     706        }
     707       
     708        public void GetCurrentConnectionAsync(object userState) {
     709            if ((this.onBeginGetCurrentConnectionDelegate == null)) {
     710                this.onBeginGetCurrentConnectionDelegate = new BeginOperationDelegate(this.OnBeginGetCurrentConnection);
     711            }
     712            if ((this.onEndGetCurrentConnectionDelegate == null)) {
     713                this.onEndGetCurrentConnectionDelegate = new EndOperationDelegate(this.OnEndGetCurrentConnection);
     714            }
     715            if ((this.onGetCurrentConnectionCompletedDelegate == null)) {
     716                this.onGetCurrentConnectionCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetCurrentConnectionCompleted);
     717            }
     718            base.InvokeAsync(this.onBeginGetCurrentConnectionDelegate, null, this.onEndGetCurrentConnectionDelegate, this.onGetCurrentConnectionCompletedDelegate, userState);
     719        }
    378720    }
    379721}
  • trunk/sources/HeuristicLab.Hive.Client.Console/Service References/ClientService/Reference.svcmap

    r954 r1002  
    22<ReferenceGroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ID="94ae11a7-d639-4d8a-b9e6-a027596236fd" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
    33  <ClientOptions>
    4     <GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
     4    <GenerateAsynchronousMethods>true</GenerateAsynchronousMethods>
    55    <EnableDataBinding>true</EnableDataBinding>
    66    <ExcludedTypes />
Note: See TracChangeset for help on using the changeset viewer.