st counter accident

This commit is contained in:
Sewmina 2025-01-07 13:36:47 +05:30
parent 253d45ce13
commit 24882fcb14

View File

@ -100,7 +100,7 @@ namespace SignalsTest
// Console.WriteLine(reports[reports.Count-1].toJson()); // Console.WriteLine(reports[reports.Count-1].toJson());
bool isStSwitch=false; bool isStSwitch=false;
for(int i=0; i< 30; i++){ for(int i=0; i< 2; i++){
bool _isStSwitch = reports[reports.Count-1-i].STUp != reports[reports.Count-i-2].STUp; bool _isStSwitch = reports[reports.Count-1-i].STUp != reports[reports.Count-i-2].STUp;
if(_isStSwitch){ if(_isStSwitch){