Beispiel #1
0
 /**
  *  Create default StateIn
  *  <TISWebServiceGetStateSupportIN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TISServiceHelper">
  *       <clientLastRealTimeTrainGraphTimeValue>16.11.2015 07:42:50.19</clientLastRealTimeTrainGraphTimeValue>
  *       <getRegularTraingraphData>false</getRegularTraingraphData>
  *      <getServerTimes>false</getServerTimes>
  *      <traingraphStartValue>16.11.2015 05:00:00.00</traingraphStartValue>
  *      <traingraphStopValue>17.11.2015 01:00:00.00</traingraphStopValue>
  *  </TISWebServiceGetStateSupportIN>
  */
 private TISWebServiceGetStateSupportIN CreateDefaultStateIn()
 {
     return(new TISWebServiceGetStateSupportIN
     {
         getRegularTraingraphData = false,
         clientLastRealTimeTrainGraphTimeValue = DTHelper.GetStr(DateTime.Now.AddHours(-3)),
         getServerTimes = false,
         traingraphStartValue = DTHelper.GetStr(DateTime.Today.AddHours(5)),
         traingraphStopValue = DTHelper.GetStr(DateTime.Today.AddDays(1).AddHours(1))
     });
 }
Beispiel #2
0
 /**
  *  Create Regular Data StateIn
  *  <TISWebServiceGetStateSupportIN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TISServiceHelper">
  *      <clientLastRealTimeTrainGraphTimeValue>01.01.0001 00:00:00.00</clientLastRealTimeTrainGraphTimeValue>
  *      <getRegularTraingraphData>true</getRegularTraingraphData>
  *      <getServerTimes>false</getServerTimes>
  *      <traingraphStartValue>01.01.0001 00:00:00.00</traingraphStartValue>
  *      <traingraphStopValue>01.01.0001 00:00:00.00</traingraphStopValue>
  *  </TISWebServiceGetStateSupportIN>
  */
 private TISWebServiceGetStateSupportIN CreateRegularDataStateIn()
 {
     return(new TISWebServiceGetStateSupportIN
     {
         getRegularTraingraphData = true,
         clientLastRealTimeTrainGraphTimeValue = DTHelper.GetStr(DateTime.MinValue),
         getServerTimes = false,
         traingraphStartValue = DTHelper.CNT_MINVALUE,
         traingraphStopValue = DTHelper.CNT_MINVALUE
     });
 }