C# Class DeviceContainer, Hero.Coli

Inheritance: MonoBehaviour
显示文件 Open project: CyberCRI/Hero.Coli Class Usage Examples

Public Properties

Property Type Description
_displayerName string

Protected Properties

Property Type Description
_devices List
_displayer DevicesDisplayer,

Public Methods

Method Description
UpdateData ( List added, List removed, List edited ) : void
askAddDevice ( Device, device, bool reportToRedMetrics = false ) : AddingResult
contains ( Device, device ) : bool
editDevice ( Device, device ) : void
exists ( System predicate ) : bool
removeDevice ( Device, device ) : void
removeDevices ( List devices ) : void

Protected Methods

Method Description
Start ( ) : void
safeGetDisplayer ( ) : DevicesDisplayer,

Method Details

Start() protected method

protected Start ( ) : void
return void

UpdateData() public method

public UpdateData ( List added, List removed, List edited ) : void
added List
removed List
edited List
return void

askAddDevice() abstract public method

abstract public askAddDevice ( Device, device, bool reportToRedMetrics = false ) : AddingResult
device Device,
reportToRedMetrics bool
return AddingResult

contains() public method

public contains ( Device, device ) : bool
device Device,
return bool

editDevice() abstract public method

abstract public editDevice ( Device, device ) : void
device Device,
return void

exists() public method

public exists ( System predicate ) : bool
predicate System
return bool

removeDevice() abstract public method

abstract public removeDevice ( Device, device ) : void
device Device,
return void

removeDevices() abstract public method

abstract public removeDevices ( List devices ) : void
devices List
return void

safeGetDisplayer() protected method

protected safeGetDisplayer ( ) : DevicesDisplayer,
return DevicesDisplayer,

Property Details

_devices protected_oe property

protected List _devices
return List

_displayer protected_oe static_oe property

protected static DevicesDisplayer, _displayer
return DevicesDisplayer,

_displayerName public_oe static_oe property

public static string _displayerName
return string