public CPump get_Pump(byte ID) { CPump returnValue = default(CPump); if (Pump[ID] == null) { returnValue = myEPump; } else { returnValue = Pump[ID]; } return(returnValue); }
private void Class_Terminate_Renamed() { short i = 0; short j = 0; short k = 0; for (i = 1; i <= 9; i++) { Grade[i] = null; } myEGrade = null; for (i = 1; i <= 9; i++) { for (j = 1; j <= 2; j++) { for (k = 1; k <= 2; k++) { FuelPrice[i, j, k] = null; } } } for (i = 1; i <= 32; i++) { Pump[i] = null; } myEPump = null; for (i = 1; i <= 32; i++) { for (j = 1; j <= 1; j++) { Assignment[i, j] = null; } } myEAssignment = null; }