Exemple #1
0
 public string RowValuesToString(int cols, Int32 x, Int32 y, Int32 z, Int32 w)
 {
     if (cols == 1)
     {
         return(Formatter.Format(x));
     }
     else if (cols == 2)
     {
         return(Formatter.Format(x) + ", " + Formatter.Format(y));
     }
     else if (cols == 3)
     {
         return(Formatter.Format(x) + ", " + Formatter.Format(y) + ", " + Formatter.Format(z));
     }
     else
     {
         return(Formatter.Format(x) + ", " + Formatter.Format(y) + ", " + Formatter.Format(z) + ", " + Formatter.Format(w));
     }
 }
Exemple #2
0
 public string RowValuesToString(int cols, double x, double y, double z, double w)
 {
     if (cols == 1)
     {
         return(Formatter.Format(x));
     }
     else if (cols == 2)
     {
         return(Formatter.Format(x) + ", " + Formatter.Format(y));
     }
     else if (cols == 3)
     {
         return(Formatter.Format(x) + ", " + Formatter.Format(y) + ", " + Formatter.Format(z));
     }
     else
     {
         return(Formatter.Format(x) + ", " + Formatter.Format(y) + ", " + Formatter.Format(z) + ", " + Formatter.Format(w));
     }
 }
Exemple #3
0
 public string RowValuesToString(int cols, float x, float y, float z, float w)
 {
     if (cols == 1)
     {
         return(Formatter.Format(x));
     }
     else if (cols == 2)
     {
         return(Formatter.Format(x) + ", " + Formatter.Format(y));
     }
     else if (cols == 3)
     {
         return(Formatter.Format(x) + ", " + Formatter.Format(y) + ", " + Formatter.Format(z));
     }
     else
     {
         return(Formatter.Format(x) + ", " + Formatter.Format(y) + ", " + Formatter.Format(z) + ", " + Formatter.Format(w));
     }
 }
Exemple #4
0
 public string RowValuesToString(int cols, UInt32 x, UInt32 y, UInt32 z, UInt32 w)
 {
     if (cols == 1)
     {
         return(Formatter.Format(x, displayAsHex));
     }
     else if (cols == 2)
     {
         return(Formatter.Format(x, displayAsHex) + ", " + Formatter.Format(y, displayAsHex));
     }
     else if (cols == 3)
     {
         return(Formatter.Format(x, displayAsHex) + ", " + Formatter.Format(y, displayAsHex) + ", " + Formatter.Format(z, displayAsHex));
     }
     else
     {
         return(Formatter.Format(x, displayAsHex) + ", " + Formatter.Format(y, displayAsHex) + ", " + Formatter.Format(z, displayAsHex) + ", " + Formatter.Format(w, displayAsHex));
     }
 }