C# 클래스 FiscalCash, pf500

파일 보기 프로젝트 열기: bor0/pf500

공개 메소드들

메소드 설명
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[]

비공개 메소드들

메소드 설명
AppendStringToOpcodes ( string opcode ) : void
CheckInterfaceInit ( ) : void
GetShortPathName ( [ path, [ shortPath, int shortPathLength ) : int
InitRawCommand ( string command ) : byte[]
ParseProductName ( string ProductName ) : string
StartProcessAndWait ( ) : byte[]

메소드 상세

AddProduct() 공개 메소드

public AddProduct ( string ProductName, string ProductPrice, string Quantity = "1.000", byte TaxCategory = 192 ) : void
ProductName string
ProductPrice string
Quantity string
TaxCategory byte
리턴 void

AddProductStorno() 공개 메소드

public AddProductStorno ( string ProductName, string ProductPrice, string Quantity = "1.000", byte TaxCategory = 192 ) : void
ProductName string
ProductPrice string
Quantity string
TaxCategory byte
리턴 void

CheckError() 공개 메소드

public CheckError ( ) : bool
리턴 bool

CloseInterface() 공개 메소드

public CloseInterface ( ) : void
리턴 void

ConvertDateTimeToSynergyDate() 공개 메소드

public ConvertDateTimeToSynergyDate ( DateTime value, bool dash = true ) : string
value DateTime
dash bool
리턴 string

DailyFiscalClose() 공개 메소드

public DailyFiscalClose ( ) : byte[]
리턴 byte[]

DetailedReport() 공개 메소드

public DetailedReport ( string timeStart, string timeEnd ) : byte[]
timeStart string
timeEnd string
리턴 byte[]

FiscalCash() 공개 메소드

public FiscalCash ( string ComPort = "COM1" ) : System
ComPort string
리턴 System

GetTimeDate() 공개 메소드

public GetTimeDate ( ) : byte[]
리턴 byte[]

InitInterface() 공개 메소드

public InitInterface ( ) : void
리턴 void

IssueBill() 공개 메소드

public IssueBill ( ) : byte[]
리턴 byte[]

IssueStorno() 공개 메소드

public IssueStorno ( ) : byte[]
리턴 byte[]

SetTimeDate() 공개 메소드

public SetTimeDate ( string time ) : byte[]
time string
리턴 byte[]

ShortReport() 공개 메소드

public ShortReport ( string timeStart, string timeEnd ) : byte[]
timeStart string
timeEnd string
리턴 byte[]