Example #1
0
 public static DateTime GetTODAt(byte[] Buffer, int Pos)
 {
     try
     {
         return(new DateTime(0).AddMilliseconds(S7.GetDIntAt(Buffer, Pos)));
     }
     catch (System.ArgumentOutOfRangeException)
     {
         return(new DateTime(0));
     }
 }
Example #2
0
 public int LoadSize()
 {
     return(S7.GetDIntAt(Buffer, 5));
 }