Свойство | Тип | Описание | |
---|---|---|---|
machines | List |
||
maintenance | List |
Метод | Описание | |
---|---|---|
CalcDepreciation ( Machine machine, int year, int method ) : List |
||
CreateAndUpdateMachine ( int id, string name, bool productionUse, System.DateTime dateBought, double purchasePrice, double scrapValue, int lifespan, double interestRate ) : string | ||
CreateAndUpdateMaintenance ( int id, int machineID, System.DateTime startDate, System.DateTime startTime, System.DateTime endDate, System.DateTime endTime ) : string | ||
CreateMachineAndSave ( string name, bool productionUse, System.DateTime dateBought, double purchasePrice, double scrapValue, int lifespan, double interestRate ) : string | ||
CreateMaintenanceAndSave ( int machineID, System.DateTime startDate, System.DateTime startTime, System.DateTime endDate, System.DateTime endTime ) : string | ||
DeleteMachine ( int MachineID ) : string | ||
DeleteMaintenance ( int MaintenanceID ) : string | ||
FindSpecificMachine ( int machineID ) : Machine | ||
FindSpecificMaintenance ( int MaintenanceID ) : |
||
GetListForComboBoxYear ( int lifespan ) : List |
||
GetMaintenanceListForAll ( ) : List |
||
MachineController ( ) : System | ||
ReadMachines ( ) : List |
public CalcDepreciation ( Machine machine, int year, int method ) : List |
||
machine | Machine | |
year | int | |
method | int | |
Результат | List |
public CreateAndUpdateMachine ( int id, string name, bool productionUse, System.DateTime dateBought, double purchasePrice, double scrapValue, int lifespan, double interestRate ) : string | ||
id | int | |
name | string | |
productionUse | bool | |
dateBought | System.DateTime | |
purchasePrice | double | |
scrapValue | double | |
lifespan | int | |
interestRate | double | |
Результат | string |
public CreateAndUpdateMaintenance ( int id, int machineID, System.DateTime startDate, System.DateTime startTime, System.DateTime endDate, System.DateTime endTime ) : string | ||
id | int | |
machineID | int | |
startDate | System.DateTime | |
startTime | System.DateTime | |
endDate | System.DateTime | |
endTime | System.DateTime | |
Результат | string |
public CreateMachineAndSave ( string name, bool productionUse, System.DateTime dateBought, double purchasePrice, double scrapValue, int lifespan, double interestRate ) : string | ||
name | string | |
productionUse | bool | |
dateBought | System.DateTime | |
purchasePrice | double | |
scrapValue | double | |
lifespan | int | |
interestRate | double | |
Результат | string |
public CreateMaintenanceAndSave ( int machineID, System.DateTime startDate, System.DateTime startTime, System.DateTime endDate, System.DateTime endTime ) : string | ||
machineID | int | |
startDate | System.DateTime | |
startTime | System.DateTime | |
endDate | System.DateTime | |
endTime | System.DateTime | |
Результат | string |
public DeleteMachine ( int MachineID ) : string | ||
MachineID | int | |
Результат | string |
public DeleteMaintenance ( int MaintenanceID ) : string | ||
MaintenanceID | int | |
Результат | string |
public FindSpecificMachine ( int machineID ) : Machine | ||
machineID | int | |
Результат | Machine |
public FindSpecificMaintenance ( int MaintenanceID ) : |
||
MaintenanceID | int | |
Результат |
public GetListForComboBoxYear ( int lifespan ) : List |
||
lifespan | int | |
Результат | List |
public GetMaintenanceListForAll ( ) : List |
||
Результат | List |