This commit is contained in:
@ -95,7 +95,7 @@ namespace Epost.DAL
|
||||
public bool FORMAT_DEVICE(LabelParamModel model)
|
||||
{
|
||||
|
||||
model.Address = "9999";
|
||||
model.Address = model.Address;
|
||||
model.Command = "FORMAT_DEVICE";
|
||||
model.Parameter = "";
|
||||
model.Timeout = "0.5";
|
||||
@ -590,7 +590,17 @@ namespace Epost.DAL
|
||||
sendModel.Address = model.Address;
|
||||
sendModel.Command = model.Command;
|
||||
sendModel.Parameter = model.Parameter;
|
||||
sendModel.Timeout = model.Timeout;
|
||||
sendModel.Uid = model.Uid;
|
||||
sendModel.Quantity = model.Quantity;
|
||||
sendModel.Title = model.Title;
|
||||
sendModel.Content = model.Content;
|
||||
sendModel.Type = model.Type;
|
||||
sendModel.Mode = model.Mode;
|
||||
sendModel.Order = model.Order;
|
||||
sendModel.Unit = model.Unit;
|
||||
sendModel.W_unit = model.W_unit;
|
||||
sendModel.W_quantity = model.W_quantity;
|
||||
sendModel.Loc = model.Loc;
|
||||
try
|
||||
{
|
||||
string postStr = JsonHelper.SerializeObject(sendModel);
|
||||
|
Reference in New Issue
Block a user