: Public Class

Created: | 2015-07-31 오후 4:10:03
Modified: | 2015-07-31 오후 4:10:03
Project: |
Author: | shint
Version: | 1.0
Phase: | 1.0
Status: | Proposed
Complexity: | Easy
Difficulty: |
Priority: |
Multiplicity: |
Advanced: |
UUID: | {3DACC0C9-26BD-4adf-A0CA-0D4FB854D0DE}
Appears In: | Package1

- Attributes
- Operations
- Associations To
- Associations From

Attribute
Private CDeviceLock _lock
Details:
Alias: |
Initial: |
Stereotype: |
Ordered: |
Range: |
Transient: | False
Derived: | False
IsID: | False
Public DWORD _readTime
Details:
Alias: |
Initial: |
Stereotype: |
Ordered: |
Range: |
Transient: | False
Derived: | False
IsID: | False
Private CSerialCOM* _serial
Details:
Alias: |
Initial: |
Stereotype: |
Ordered: |
Range: |
Transient: | False
Derived: | False
IsID: | False

Operation
Public CalcBias():bool
Details: Sequential
Public CHallSensor( serial: CSerialCOM*,
Default: |
Kind: | in
Stereotype: |
):
Details: Sequential
Tags: | initializer=_serial(serial)
Public ~CHallSensor():
Details: Sequential
Private CmdFlashWrite():bool
Details: Sequential
Private CmdHallSensor( hallSensor[NO_HALL_SENSORS]: char,
Default: |
Kind: | in
Stereotype: |
):bool
Details: Sequential
Private CmdMaxPos( pos: double*,
Default: |
Kind: | in
Stereotype: |
maxv: int*,
Default: |
Kind: | in
Stereotype: |
request: bool,
Default: | true
Kind: | in
Stereotype: |
):bool
Details: Sequential
Private CmdNull():void
Details: Sequential
Private CmdSensorMode( mode: int,
Default: |
Kind: | in
Stereotype: |
):bool
Details: Sequential
Private CmdSetBias( bias[NO_HALL_SENSORS]: char,
Default: |
Kind: | in
Stereotype: |
):bool
Details: Sequential
Private EmptyRecvBuff():void
Details: Sequential
Private FindAndMove( packet: char*,
Default: |
Kind: | in
Stereotype: |
n: int,
Default: |
Kind: | in
Stereotype: |
command: char,
Default: |
Kind: | in
Stereotype: |
):int
Details: Sequential
Public ReadMaxPos( pos: double&,
Default: |
Kind: | in
Stereotype: |
maxv: double&,
Default: |
Kind: | in
Stereotype: |
):bool
Details: Sequential
Private ReadPacket( packet: char*,
Default: |
Kind: | in
Stereotype: |
len: int,
Default: |
Kind: | in
Stereotype: |
stx_char: char,
Default: |
Kind: | in
Stereotype: |
timeout: DWORD,
Default: | 30
Kind: | in
Stereotype: |
):int
Details: Sequential
Public ReadSensor( data[NO_HALL_SENSORS]: double,
Default: |
Kind: | in
Stereotype: |
):bool
Details: Sequential

Element | Source Role | Target Role
CDeviceLock Class | Name: | Name: _lock
Details:
«typedef» DWORD Class | Name: | Name: _readTime
Details:
CSerialCOM Class | Name: | Name: _serial
Details:

Element | Source Role | Target Role
DeviceManager Class | Name: | Name: _hall_sensor
Details: