usingsystem;
using
system.io.ports;
namespace
common
set
}//////
埠
/// public
static
string
portname
set
}//////
清空螢幕
/// public
static
void
screenclean()
//////
顯示單價
/// ///
public
static
void showunitprice(string
price)
//////
顯示應收
/// ///
public
static
void showsum(string
money)
//////
顯示實際收錢
/// ///
public
static
void showrealmoney(string
money)
//////
找零
/// ///
public
static
void showoddchange(string
money)
//////
全暗
/// public
static
void shownone(string
money)
//////
getsum 總價
/// ///
the value.
private
static
void sum(string
value)
//////
getunitprice 單價
/// ///
the value.
private
static
void unitprice(string
value)
//////
getcollectmoney 實收
/// ///
the value.
private
static
void collectmoney(string
value)
//////
getoddchange 找零
/// ///
the value.
private
static
void oddchange(string
value)
//////
全黑
/// ///
private
static
void getblack(string
value)
//////
全暗.是找零 全價 getcollectmoney 這幾個燈
/// private
static
void
allblack()
//////
清屏.
/// private
static
void
clear()
private
static
void
getunitprice()
private
static
void
getsum()
private
static
void
getcollectmoney()
private
static
void
getoddchange()
private
static
void newdata(string
data)
//////
開啟串列埠,可能丟擲異常
/// private
static
void
open()
if (!_serialport.isopen)
}catch
(exception ex)
}//////
關閉串列埠
/// private
static
void
close()
}}
C pos機客顯(利用SerialPort )
客顯 public class customerdisplay endregion 屬性 region 建構函式 建構函式 埠名稱 com1,com2,com3.通訊波特率 2400,9600.停止位 資料位 public customerdisplay string spportname,int ...
控制錢箱,客顯,列印
1 控制pos機的客戶顯示屏 procedure tfrmmain.showmoney money port string money string string moneey port 顧顯介面com1 or com2 money string 顧顯顯示的內容 varprnfilename tex...
控制錢箱,客顯,列印
1 控制pos機的客戶顯示屏 procedure tfrmmain.showmoney money port string money string string moneey port 顧顯介面com1 or com2 money string 顧顯顯示的內容 varprnfilename tex...