示例#1
0
 static void processor_ProcessorStateChanged(LogixProcessor sender, LogixProcessorStateChangedEventArgs e)
 {
     //This function will be called whenever the processor changes state. The processor state is information
     //like what mode it's in, if it has a communications fault, if it's in firmware update mode, etc.
     Console.WriteLine("Processor State Changed from " + e.OldState.ToString() + " to " + e.NewState.ToString());
 }
示例#2
0
 static void processor_ProcessorStateChanged(LogixProcessor sender, LogixProcessorStateChangedEventArgs e)
 {
     //This function will be called whenever the processor changes state. The processor state is information
     //like what mode it's in, if it has a communications fault, if it's in firmware update mode, etc.
     Console.WriteLine("Processor State Changed from " + e.OldState.ToString() + " to " + e.NewState.ToString());
 }