Свойство | Type | Description | |
---|---|---|---|
machines | List |
||
maintenance | List |
Méthode | Description | |
---|---|---|
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 | |
Résultat | 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 | |
Résultat | 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 | |
Résultat | 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 | |
Résultat | 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 | |
Résultat | string |
public DeleteMachine ( int MachineID ) : string | ||
MachineID | int | |
Résultat | string |
public DeleteMaintenance ( int MaintenanceID ) : string | ||
MaintenanceID | int | |
Résultat | string |
public FindSpecificMachine ( int machineID ) : Machine | ||
machineID | int | |
Résultat | Machine |
public FindSpecificMaintenance ( int MaintenanceID ) : |
||
MaintenanceID | int | |
Résultat |
public GetListForComboBoxYear ( int lifespan ) : List |
||
lifespan | int | |
Résultat | List |