Beispiel #1
0
        static void Main(string[] args)
        {
            var manager = new ManagerWcc(args);

            dp   = new WccDp(manager.MyManager);
            ip   = new WccIp(manager.MyManager, dp);
            ping = new EthernetPing();
            redu = new ReduNumConfig();

            try
            {
                Magic();
            }
            catch (Exception e)
            {
                Console.WriteLine("Errors (class Program function Main): " + e);
            }
        }
Beispiel #2
0
 public Factory(IpFactory factory)
 {
     dp      = factory.CreateDp();
     ip      = factory.CreateIp();
     reduNum = factory.CreateReduNum();
 }