C# Class FiscalCash, pf500

Afficher le fichier Open project: bor0/pf500

Méthodes publiques

Méthode Description
AddProduct ( string ProductName, string ProductPrice, string Quantity = "1.000", byte TaxCategory = 192 ) : void
AddProductStorno ( string ProductName, string ProductPrice, string Quantity = "1.000", byte TaxCategory = 192 ) : void
CheckError ( ) : bool
CloseInterface ( ) : void
ConvertDateTimeToSynergyDate ( DateTime value, bool dash = true ) : string
DailyFiscalClose ( ) : byte[]
DetailedReport ( string timeStart, string timeEnd ) : byte[]
FiscalCash ( string ComPort = "COM1" ) : System
GetTimeDate ( ) : byte[]
InitInterface ( ) : void
IssueBill ( ) : byte[]
IssueStorno ( ) : byte[]
SetTimeDate ( string time ) : byte[]
ShortReport ( string timeStart, string timeEnd ) : byte[]

Private Methods

Méthode Description
AppendStringToOpcodes ( string opcode ) : void
CheckInterfaceInit ( ) : void
GetShortPathName ( [ path, [ shortPath, int shortPathLength ) : int
InitRawCommand ( string command ) : byte[]
ParseProductName ( string ProductName ) : string
StartProcessAndWait ( ) : byte[]

Method Details

AddProduct() public méthode

public AddProduct ( string ProductName, string ProductPrice, string Quantity = "1.000", byte TaxCategory = 192 ) : void
ProductName string
ProductPrice string
Quantity string
TaxCategory byte
Résultat void

AddProductStorno() public méthode

public AddProductStorno ( string ProductName, string ProductPrice, string Quantity = "1.000", byte TaxCategory = 192 ) : void
ProductName string
ProductPrice string
Quantity string
TaxCategory byte
Résultat void

CheckError() public méthode

public CheckError ( ) : bool
Résultat bool

CloseInterface() public méthode

public CloseInterface ( ) : void
Résultat void

ConvertDateTimeToSynergyDate() public méthode

public ConvertDateTimeToSynergyDate ( DateTime value, bool dash = true ) : string
value DateTime
dash bool
Résultat string

DailyFiscalClose() public méthode

public DailyFiscalClose ( ) : byte[]
Résultat byte[]

DetailedReport() public méthode

public DetailedReport ( string timeStart, string timeEnd ) : byte[]
timeStart string
timeEnd string
Résultat byte[]

FiscalCash() public méthode

public FiscalCash ( string ComPort = "COM1" ) : System
ComPort string
Résultat System

GetTimeDate() public méthode

public GetTimeDate ( ) : byte[]
Résultat byte[]

InitInterface() public méthode

public InitInterface ( ) : void
Résultat void

IssueBill() public méthode

public IssueBill ( ) : byte[]
Résultat byte[]

IssueStorno() public méthode

public IssueStorno ( ) : byte[]
Résultat byte[]

SetTimeDate() public méthode

public SetTimeDate ( string time ) : byte[]
time string
Résultat byte[]

ShortReport() public méthode

public ShortReport ( string timeStart, string timeEnd ) : byte[]
timeStart string
timeEnd string
Résultat byte[]