Esempio n. 1
0
 public static bool addressUpdater()
 {
     try
     {
         ConnectorOne.pi1Ip = SettingsModule.getPi1Ip();
         RoverConsole.ArcEyeContent("pi1Ip : " + pi1Ip.ToString());
         ConnectorOne.pi1Port1 = Convert.ToInt32(SettingsModule.getPi1Port1());
         RoverConsole.ArcEyeContent("pi1Port1 : " + pi1Port1.ToString());
         ConnectorOne.pi1Port2 = Convert.ToInt32(SettingsModule.getPi1Port2());
         RoverConsole.ArcEyeContent("pi1Port2 : " + pi1Port2.ToString());
         ConnectorOne.pi2Ip = SettingsModule.getPi2Ip();
         RoverConsole.ArcEyeContent("pi2Ip : " + pi2Ip.ToString());
         ConnectorOne.pi2Port1 = Convert.ToInt32(SettingsModule.getPi2Port1());
         RoverConsole.ArcEyeContent("pi2Port1 : " + pi2Port1.ToString());
         ConnectorOne.pi2Port2 = Convert.ToInt32(SettingsModule.getPi2Port2());
         RoverConsole.ArcEyeContent("pi2Port2 : " + pi2Port2.ToString());
         ConnectorOne.pi3Ip = SettingsModule.getPi3Ip();
         RoverConsole.ArcEyeContent("pi3Ip : " + pi3Ip.ToString());
         ConnectorOne.pi3Port1 = Convert.ToInt32(SettingsModule.getPi3Port1());
         RoverConsole.ArcEyeContent("pi3Port1 : " + pi3Port1.ToString());
         ConnectorOne.pi3Port2 = Convert.ToInt32(SettingsModule.getPi3Port2());
         RoverConsole.ArcEyeContent("pi3Port2 : " + pi3Port2.ToString());
         RoverConsole.ArcEyeAiContent("IP PORT ASSIGN SUCCESSFULL ... !!!");
         return(true);
     }
     catch (Exception ex)
     {
         RoverConsole.ArcEyeAiContent(ex.ToString());
         return(false);
     }
 }
Esempio n. 2
0
 public static void pi2Port2AddressUpdater()
 {
     try
     {
         ConnectorOne.pi2Ip = SettingsModule.getPi2Ip();
         RoverConsole.ArcEyeContent("pi2Ip : " + pi2Ip.ToString());
         ConnectorOne.pi2Port2 = Convert.ToInt32(SettingsModule.getPi2Port1());
         RoverConsole.ArcEyeContent("pi2Port2 : " + pi2Port2.ToString());
         RoverConsole.ArcEyeAiContent("PI2 IP PORT2 ASSIGN SUCCESSFULL ... !!!");
     }
     catch (Exception ex)
     {
         RoverConsole.ArcEyeAiContent(ex.ToString());
     }
 }