C# Class TowerLightsControllerGUI.ViewModel.MainViewModel

Inheritance: ViewModelBase
Exibir arquivo Open project: uiacm/tower_creator

Public Methods

Method Description
MainViewModel ( ) : System

Private Methods

Method Description
Exit ( ) : void
GenerateMessageFromException ( Exception exception ) : string

Creates string that the message from the exception and the inner exception if that is defined

Play ( ) : void

Plays the selected animation. Designed to run in a different thread. It will start playing at currentFrameIndex, or it will start at the beginning of the animation.

PlayPause ( ) : void

Plays or pauses the selected animation. This function handles the PlayPause command.

RefreshAnimations ( ) : void

Downloads the list of animations from the server

Stop ( ) : void

Stops the current animation

UploadAnimation ( ) : void

Uploads an animation to the server

Method Details

MainViewModel() public method

public MainViewModel ( ) : System
return System