Beispiel #1
0
        /// <summary>
        /// Main method of the CallAdapter
        ///
        /// </summary>
        /// <param name="args"></param>
        static public void TestCallMessages(string[] args)
        {
            CallAdapter adapter = new CallAdapter();  // create the CallAdatper



            //string s=Convert.ToDateTime("26/09/2016 1:05:45 PM").ToString()

            // adapter.TestConnectionWithServer1();
            //adapter.TestConnectionWithServer();
            // send the Meter Out message
            //adapter.SendMeterPingResponse("0");
            //adapter.MeterVoltEventQuery("0");
            //adapter.MeterPingQuery("0");
        }
Beispiel #2
0
 /// <summary>
 /// The main program, will call either the CrewAdapter or CallAdapter to do its test
 /// To use the program, pass the following arguments in command line
 /// </summary>
 /// <param name="args"></param>
 static void Main(string[] args)
 {
     //CrewAdapter.TestCrewMessages(args);
     CallAdapter.TestCallMessages(args);
     string anyline = Console.ReadLine();   // read anyline to finish the program
 }