C# 클래스 Platform.MutableMeter

An IMeter implementation that stores the actual values of the maximum and minimum values.
상속: AbstractMeter
파일 보기 프로젝트 열기: platformdotnet/Platform

공개 메소드들

메소드 설명
MutableMeter ( ) : System

Constructs a new blank MutableMeter.

MutableMeter ( object owner, object minimumValue, object maximumValue, object currentValue, string units ) : System

Constructs a new MutableMeter.

MutableMeter ( object minimumValue, object maximumValue, object currentValue, string units ) : System

Constructs a new MutableMeter.

SetCurrentAndMaximumValue ( object value, object maximumValue ) : void

Sets the current and maximum value.

SetCurrentValue ( object value ) : void

Sets the current value.

SetMaximumValue ( object value ) : void

Sets the maxuimum value.

SetMinimumValue ( object value ) : void

Sets the minimum value.

SetOwner ( object value ) : void

Sets the owner of the meter.

SetUnits ( string value ) : void

Sets the units.

ToString ( ) : string

Gets a string representation of this object. ToStringGenerator will be used to generate the string if it is not null otherwise the default from AbstractMeter.ToString() will be used.

메소드 상세

MutableMeter() 공개 메소드

Constructs a new blank MutableMeter.
public MutableMeter ( ) : System
리턴 System

MutableMeter() 공개 메소드

Constructs a new MutableMeter.
public MutableMeter ( object owner, object minimumValue, object maximumValue, object currentValue, string units ) : System
owner object The owner
minimumValue object The
maximumValue object The
currentValue object The
units string The
리턴 System

MutableMeter() 공개 메소드

Constructs a new MutableMeter.
public MutableMeter ( object minimumValue, object maximumValue, object currentValue, string units ) : System
minimumValue object The
maximumValue object The
currentValue object The
units string The
리턴 System

SetCurrentAndMaximumValue() 공개 메소드

Sets the current and maximum value.
public SetCurrentAndMaximumValue ( object value, object maximumValue ) : void
value object The current value
maximumValue object The maximum value
리턴 void

SetCurrentValue() 공개 메소드

Sets the current value.
public SetCurrentValue ( object value ) : void
value object The current value
리턴 void

SetMaximumValue() 공개 메소드

Sets the maxuimum value.
public SetMaximumValue ( object value ) : void
value object The maximum value
리턴 void

SetMinimumValue() 공개 메소드

Sets the minimum value.
public SetMinimumValue ( object value ) : void
value object The minimum value
리턴 void

SetOwner() 공개 메소드

Sets the owner of the meter.
public SetOwner ( object value ) : void
value object The owner
리턴 void

SetUnits() 공개 메소드

Sets the units.
public SetUnits ( string value ) : void
value string The units
리턴 void

ToString() 공개 메소드

Gets a string representation of this object. ToStringGenerator will be used to generate the string if it is not null otherwise the default from AbstractMeter.ToString() will be used.
public ToString ( ) : string
리턴 string