예제 #1
0
파일: Program.cs 프로젝트: ism41L/Logix.Net
 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());
 }