AnyLogic
Expand
Font size
All Superinterfaces:
IMaintenanceable
All Known Implementing Classes:
ConveyorPath, ConveyorSimpleStation, JibCrane, OverheadCraneBridge

public interface IMaintenanceableMarkup
extends IMaintenanceable

Method Summary

Modifier and TypeMethodDescription
RuntimeExceptionerror(String message) 
voidfail() 
IDowntime<?>[]getDowntimeBlocks() 
StringgetName() 
ObjectgetPMLProxy() 
doublegetUtilization() 
booleanisFailed() 
booleanisMaintenanceActive(IDowntime<?> block) 
doublemtbf()
Returns mean time before failure in model time units.
doublemtbf(IDowntime<?> downtime)
Returns mean time before failure for specified Downtime block (in model time units).
doublemtbf(IDowntime<?> downtime, TimeUnits units)
Returns mean time before failure for specified Downtime block (in specified time units).
doublemtbf(TimeUnits units)
Returns mean time before failure in specified time units.
doublemttr()
Returns mean time to repair in model time units.
doublemttr(IDowntime<?> downtime)
Returns mean time to repair for specified Downtime block (in model time units).
doublemttr(IDowntime<?> downtime, TimeUnits units)
Returns mean time to repair for specified Downtime block (in specified time units).
doublemttr(TimeUnits units)
Returns mean time to repair in specified time units.
voidrepair() 
voidresetStats() 
voidrestartMaintenanceTriggers(IDowntime<?> block) 
voidstartMaintenanceManually(IDowntime<?> block) 
voidstopMaintenanceManually(IDowntime<?> block) 

Method Details

getDowntimeBlocks

IDowntime<?>[] getDowntimeBlocks()

getPMLProxy

@AnyLogicInternalAPI
Object getPMLProxy()

restartMaintenanceTriggers

@AnyLogicInternalAPI
void restartMaintenanceTriggers(IDowntime<?> block)

startMaintenanceManually

@AnyLogicInternalAPI
void startMaintenanceManually(IDowntime<?> block)

stopMaintenanceManually

@AnyLogicInternalAPI
void stopMaintenanceManually(IDowntime<?> block)

isMaintenanceActive

@AnyLogicInternalAPI
boolean isMaintenanceActive(IDowntime<?> block)

getName

@AnyLogicInternalAPI
String getName()

error

@AnyLogicInternalAPI
RuntimeException error(String message)

mttr

double mttr()
Returns mean time to repair in model time units.

mtbf

double mtbf()
Returns mean time before failure in model time units.

mtbf

double mtbf(TimeUnits units)
Returns mean time before failure in specified time units.

mttr

double mttr(TimeUnits units)
Returns mean time to repair in specified time units.

mttr

double mttr(IDowntime<?> downtime)
Returns mean time to repair for specified Downtime block (in model time units).
Parameters:
downtime - the Downtime block

mtbf

double mtbf(IDowntime<?> downtime)
Returns mean time before failure for specified Downtime block (in model time units).
Parameters:
downtime - the Downtime block

mttr

double mttr(IDowntime<?> downtime,
 TimeUnits units)
Returns mean time to repair for specified Downtime block (in specified time units).
Parameters:
downtime - the Downtime block
units - see TimeUnits

mtbf

double mtbf(IDowntime<?> downtime,
 TimeUnits units)
Returns mean time before failure for specified Downtime block (in specified time units).
Parameters:
downtime - the Downtime block
units - see TimeUnits

fail

void fail()

repair

void repair()

isFailed

boolean isFailed()

resetStats

void resetStats()

getUtilization

double getUtilization()