You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
723 B
29 lines
723 B
2 years ago
|
/*
|
||
|
* To change this license header, choose License Headers in Project Properties.
|
||
|
* To change this template file, choose Tools | Templates
|
||
|
* and open the template in the editor.
|
||
|
*/
|
||
|
package gazstation2;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @author denis
|
||
|
*/
|
||
|
class GazStation {
|
||
|
public FilingColumn column1 = new FilingColumn();
|
||
|
private static GazStation station = new GazStation();
|
||
|
|
||
|
|
||
|
private GazStation(){}
|
||
|
|
||
|
public static GazStation getState(){
|
||
|
return station;
|
||
|
}
|
||
|
|
||
|
public void callGazProducer(FilingColumn column){
|
||
|
GazProducer gazProducer = new GazProducer(column);
|
||
|
System.out.println("Вызван бензовоз");
|
||
|
gazProducer.start();
|
||
|
}
|
||
|
}
|