Exemplo n.º 1
0
 sealed public override void Operation(RobotBase operatingRobotBase)
 {
     if (operatingRobotBase != null)
     {
         operatingRobotBase.SetRobotGlobalVariable(Input1.GetReporterStringValue(operatingRobotBase), Input2.GetReporterStringValue(operatingRobotBase));
     }
 }
    sealed public override void Operation(RobotBase operatingRobotBase)
    {
        InternetAntenna internetAntenna = operatingRobotBase.GetRobotPart <InternetAntenna>();

        if (internetAntenna != null)
        {
            internetAntenna.SendDataThroughInternet(Input1.GetReporterStringValue(operatingRobotBase), Input2.GetReporterStringValue(operatingRobotBase), Input3.GetReporterStringValue(operatingRobotBase));
        }
    }