C# 클래스 SANTA.Controller.IO

파일 보기 프로젝트 열기: siegleal/iSanta

공개 메소드들

메소드 설명
AddCaliberUnit ( Datatype caliberUnit, ConfigReader configReader ) : void

See MSAccess.AddCaliberUnit().

AddWeaponName ( String weaponName, ConfigReader configReader ) : void

See MSAccess.AddWeaponName().

GenerateReport ( Datatype data, Datatype stats, ConfigReader configReader ) : void

Generates a report to an excel file.

GetCaliberUnits ( ConfigReader configReader ) : List

See MSAccess.GetCaliberUnits().

GetWeaponNames ( ConfigReader configReader ) : List

See MSAccess.GetWeaponNames().

LoadBitmap ( String filename ) : Bitmap

Loads a bitmap image from the given filename.

LoadData ( int targetID, ConfigReader configReader ) : Datatype.ImageData

See MSAccess.LoadData().

SaveData ( Datatype imageData, ConfigReader configReader ) : int

See MSAccess.SaveData().

TestMSAccess ( ConfigReader configReader ) : void

Tests the MSAccess class.

TestMSAccessSaveAndLoadData ( Datatype savedData, ConfigReader configReader ) : int

Tests saving and loading the same data.

메소드 상세

AddCaliberUnit() 공개 정적인 메소드

See MSAccess.AddCaliberUnit().
public static AddCaliberUnit ( Datatype caliberUnit, ConfigReader configReader ) : void
caliberUnit Datatype
configReader SANTA.IO.ConfigReader
리턴 void

AddWeaponName() 공개 정적인 메소드

See MSAccess.AddWeaponName().
public static AddWeaponName ( String weaponName, ConfigReader configReader ) : void
weaponName String
configReader SANTA.IO.ConfigReader
리턴 void

GenerateReport() 공개 정적인 메소드

Generates a report to an excel file.
public static GenerateReport ( Datatype data, Datatype stats, ConfigReader configReader ) : void
data Datatype Data to save.
stats Datatype The statistics on the data.
configReader SANTA.IO.ConfigReader The ConfigReader with the path to the sample report.
리턴 void

GetCaliberUnits() 공개 정적인 메소드

See MSAccess.GetCaliberUnits().
public static GetCaliberUnits ( ConfigReader configReader ) : List
configReader SANTA.IO.ConfigReader
리턴 List

GetWeaponNames() 공개 정적인 메소드

See MSAccess.GetWeaponNames().
public static GetWeaponNames ( ConfigReader configReader ) : List
configReader SANTA.IO.ConfigReader
리턴 List

LoadBitmap() 공개 정적인 메소드

Loads a bitmap image from the given filename.
public static LoadBitmap ( String filename ) : Bitmap
filename String The filename to load.
리턴 System.Drawing.Bitmap

LoadData() 공개 정적인 메소드

See MSAccess.LoadData().
public static LoadData ( int targetID, ConfigReader configReader ) : Datatype.ImageData
targetID int
configReader SANTA.IO.ConfigReader
리턴 Datatype.ImageData

SaveData() 공개 정적인 메소드

See MSAccess.SaveData().
public static SaveData ( Datatype imageData, ConfigReader configReader ) : int
imageData Datatype
configReader SANTA.IO.ConfigReader
리턴 int

TestMSAccess() 공개 정적인 메소드

Tests the MSAccess class.
public static TestMSAccess ( ConfigReader configReader ) : void
configReader SANTA.IO.ConfigReader The ConfigReader with the path to the database.
리턴 void

TestMSAccessSaveAndLoadData() 공개 정적인 메소드

Tests saving and loading the same data.
public static TestMSAccessSaveAndLoadData ( Datatype savedData, ConfigReader configReader ) : int
savedData Datatype The data to save and load back out.
configReader SANTA.IO.ConfigReader The ConfigReader with the path to the database.
리턴 int