Interface/Interface.cs
changeset 138 426cc984fd18
parent 77 042c1fa136b9
child 148 878904899ff0
     1.1 --- a/Interface/Interface.cs	Wed May 06 22:07:32 2015 +0200
     1.2 +++ b/Interface/Interface.cs	Tue May 26 12:23:55 2015 +0200
     1.3 @@ -18,6 +18,7 @@
     1.4  {
     1.5      /// <summary>
     1.6      /// For client to specify a specific layout.
     1.7 +    /// A table layout is sent from client to server and defines data fields layout on our display.
     1.8      /// </summary>
     1.9      [DataContract]
    1.10      public class TableLayout
    1.11 @@ -26,9 +27,13 @@
    1.12          {
    1.13              Columns = new List<ColumnStyle>();
    1.14              Rows = new List<RowStyle>();
    1.15 -            Cells = new List<DataField>();
    1.16          }
    1.17  
    1.18 +        /// <summary>
    1.19 +        /// Construct our table layout.
    1.20 +        /// </summary>
    1.21 +        /// <param name="aColumnCount">Number of column in our table.</param>
    1.22 +        /// <param name="aRowCount">Number of rows in our table.</param>
    1.23          public TableLayout(int aColumnCount, int aRowCount)
    1.24          {
    1.25              Columns = new List<ColumnStyle>();
    1.26 @@ -46,9 +51,6 @@
    1.27          }
    1.28  
    1.29          [DataMember]
    1.30 -        public List<DataField> Cells { get; set; }
    1.31 -
    1.32 -        [DataMember]
    1.33          public List<ColumnStyle> Columns { get; set; }
    1.34  
    1.35          [DataMember]
    1.36 @@ -56,7 +58,8 @@
    1.37      }
    1.38  
    1.39      /// <summary>
    1.40 -    ///
    1.41 +    /// Define a data field on our display.
    1.42 +    /// Data field can be either text or bitmap.
    1.43      /// </summary>
    1.44      [DataContract]
    1.45      public class DataField