pick count 取2位小数

运单按客户ID合并打印
修复亮灯播种的问题
This commit is contained in:
bobwang 2025-01-23 22:53:20 +08:00
parent ebc38709b1
commit 8e35d2617a
103 changed files with 2714 additions and 325 deletions

View File

@ -56,6 +56,15 @@ namespace DeiNiu.wms.Data.Model
sqlCmd.Parameters.AddWithValue("@pickOrderNo", mObj.CmdParameters[0]);
sqlCmd.CommandText = _strSql;
break;
case 111: //送货随行单打印
_strSql += " SELECT * from v_stockOutRequestPick where transNo=@transNo " +
" and customerid =@custId";
sqlCmd.Parameters.AddWithValue("@transNo", mObj.CmdParameters[0]);
sqlCmd.Parameters.AddWithValue("@custId", mObj.CmdParameters[1]);
sqlCmd.CommandText = _strSql;
break;
case 200: //get batch pick detail by pickOrderNo
_strSql = "SELECT * FROM v_tmsPickRequestBatchSum WHERE pickOrderNo = @pickOrderNo";

View File

@ -55,7 +55,8 @@ namespace DeiNiu.wms.Data.Model
break;
case 320: //by orderNo
_strSql = "SELECT count(1) FROM t_wmsInUpPort WHERE orderNo = @orderNo";
_strSql += " and state!=@status ";
_strSql += " and state = @status " +
" and rectype = 0 ";
sqlCmd.CommandText = _strSql;
sqlCmd.Parameters.AddWithValue("@status", (int)enumInStockDetailStatus.);
sqlCmd.Parameters.AddWithValue("@orderNo", mObj.CmdParameters[0]);

View File

@ -56,7 +56,13 @@ namespace DeiNiu.wms.Data.Model
return CustQuery(110).Tables[0];
}
public DataTable queryPickRequests4Report(string transNo,string custId)
{
cmdParameters[0] = transNo;
cmdParameters[1] = custId;
return CustQuery(111).Tables[0];
}
public DataSet getPickRequestDetail(string pickRequestNo)
{

View File

@ -65,6 +65,11 @@ namespace DeiNiu.wms.Data.Model
cmdParameters[0] = detailId;
return queryCount(310) == 0;
}
/// <summary>
/// 查入库单是否全部完成上架
/// </summary>
/// <param name="orderNo"></param>
/// <returns></returns>
public bool isDoneByOrderNo(string orderNo)
{
cmdParameters[0] = orderNo;

View File

@ -302,8 +302,8 @@ namespace DeiNiu.Utils
public enum enumOutPickType { = 0, };
public enum enumOutPickStartOn { = 0, , };
public enum enumOnlineStatus { = 0, , };
public enum enumOnlineStatus { = 0, ,,, };
public enum enumErpOrderType { = 0, , ,, };
public enum enumErpOrderStatus { = 0, , };

View File

@ -351,7 +351,8 @@ namespace DeiNiu.Utils
public static bool ERP_NOTICE_STOCK_IN = false; //是否通知ERP入库信息
public static bool ERP_NOTICE_STOCK_OUT = false; //是否通知ERP出库信息
public static bool ERP_NOTICE_STOCK_IN_WHEN_FINISH_UP = false;
public static bool ERP_NOTICE_STOCK_IN_WHEN_FINISH_VALID_IN = true;
//文件服务地址
@ -433,8 +434,11 @@ namespace DeiNiu.Utils
public static string PDA_MENU_STK_IN= "出库拣货";
public static string PDA_MENU_PLATE= "集货管理";
public static int ERP_TRANS_DATA_AT_CLOCK;
public static int ERP_TRANS_DATA_SLEEP_MINUES;
public static int ERP_TRANS_DATA_AT_CLOCK1;
public static int ERP_TRANS_DATA_SLEEP_MINUES1;
public static int ERP_TRANS_DATA_AT_CLOCK2;
public static int ERP_TRANS_DATA_SLEEP_MINUES2;
public static bool SEEDS_PICK_ALL=true;
public static List<string> GOODS_WEIGHT_UNITS =new List<string>();
@ -464,6 +468,8 @@ namespace DeiNiu.Utils
public static int SEEDS_END_MINUTES=35;
public static int SEEDS_START_MINUTES=20;
public static int SEEDS_CONTINIU_MINUTES = 30;
public static int SEEDS_TASK_FETCH_START_HOUR = 14;
public static int SEEDS_TASK_FETCH_END_HOUR = 14;
public static int SEEDS_TASK_FETCH_START_MINUTES = 20;

View File

@ -123,10 +123,14 @@ namespace DeiNiu.wms.Logical
}
internal DataTable queryPickRequests4Report(string pickOrderNo)
{
DataTable dt = _obj.queryPickRequests4Report(pickOrderNo);
WmsOutPickRequest wpr = new WmsOutPickRequest(pickOrderNo);
if (string.IsNullOrEmpty(wpr.invoiceNo))
{
WmsOutPickRequest wpr = new WmsOutPickRequest(pickOrderNo);
// DataTable dt = _obj.queryPickRequests4Report(pickOrderNo);
DataTable dt = _obj.queryPickRequests4Report(wpr.transNo,wpr.customerId);
if (string.IsNullOrEmpty(wpr.invoiceNo))
{
foreach (DataRow dr1 in dt.Rows)
{

View File

@ -1632,6 +1632,13 @@ namespace DeiNiu.wms.Logical
foreach (Erp_purch obj in lst)
{
if(!isZhitongAuto && WmsConstants.ERP_NOTICE_STOCK_IN_WHEN_FINISH_UP) //非直通、先上架后再回传erp
{
//inupport state should be >1, or continiue
if(!new WmsInUpPort().isDoneByOrderNo(obj.pur_order))
continue;
}
noticeErpValiIn(obj);
Thread.Sleep(50);
}

View File

@ -1193,7 +1193,8 @@ namespace DeiNiu.wms.Logical
bool isTimeForFetchTasks = (DateTime.Now.Hour >= WmsConstants.SEEDS_TASK_FETCH_START_HOUR
&& DateTime.Now.Hour <= WmsConstants.SEEDS_TASK_FETCH_END_HOUR ) &&
( DateTime.Now.Minute >= WmsConstants.SEEDS_TASK_FETCH_START_MINUTES && DateTime.Now.Minute <= WmsConstants.SEEDS_TASK_FETCH_END_MINUTES);
( DateTime.Now.Minute >= WmsConstants.SEEDS_TASK_FETCH_START_MINUTES
&& DateTime.Now.Minute <= WmsConstants.SEEDS_TASK_FETCH_END_MINUTES);
// logOut.Debug(string.Format("当前小时 {0} 分{1}" ,DateTime.Now.Hour, DateTime.Now.Minute));
@ -1468,7 +1469,7 @@ namespace DeiNiu.wms.Logical
logTest.Debug(string.Format(" flowNo:{0} batch :{1} , outDetailId:{2} , seedsCnt:{3}, toFlowNo {4} , lightOperid {5}", flowNo, batch ,outDetailId, seedCnt,toFlowNo, lightOperid));
// WmsOutDetail wod = new WmsOutDetail(outDetailId);
// WmsOutRequest wor = new WmsOutRequest(wod.orderNo);
this.operId = lightOperid;
this.operId = lightOperid>0?lightOperid:operId;
bool isZhitongSeed = inDetailId > 0;

View File

@ -3424,7 +3424,7 @@ namespace DeiNiu.wms.Logical
{
logOut.Debug(string.Format("1 下架任务 {0},flowNO:{1},状态 {2}, 下架数量{3}", id, flowNo, state, pickCount));
pickCount = Math.Round(pickCount, 2);
WmsPlateStock_tmp ptmp = new WmsPlateStock_tmp();
string custId = ptmp.getRelatedCustId(flowNo);
@ -3456,7 +3456,7 @@ namespace DeiNiu.wms.Logical
WmsGoods goods = new WmsGoods(sr.goodsId);
pickCount = goods.isWeightOut() ? pickCount : ((int)(pickCount / goods.minOperateCount)) * goods.minOperateCount;
pickCount = goods.isWeightOut() ? pickCount : ((int)Math.Ceiling(pickCount / goods.minOperateCount)) * goods.minOperateCount;
logOut.Debug(string.Format(" 下架任务 {0},flowNO:{1},状态 {2}, 下架数量{3} gooddsname {4} ,minOperateCount {5}", id, flowNo, state, pickCount,goods.goodsName, goods.minOperateCount));
@ -5967,7 +5967,8 @@ namespace DeiNiu.wms.Logical
}
catch (Exception e)
{
log.Error(e);
logERP.Error(url);
logERP.Error(e);
}

View File

@ -259,18 +259,42 @@ namespace DeiNiu.wms.Logical
internal bool isErpWorking()
{
int offset = 6;
int offset = 0;
int hour = DateTime.Now.AddMinutes(offset).Hour;
int minute = DateTime.Now.AddMinutes(offset).Minute;
if (hour == WmsConstants.ERP_TRANS_DATA_AT_CLOCK)
int minute = DateTime.Now.AddMinutes(offset).Minute-1;
if (hour == WmsConstants.ERP_TRANS_DATA_AT_CLOCK1)
{
if (minute < WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES+ offset)
if (minute < WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES1+ offset)
{
log.Debug(string.Format(" time for erp transfering.... no out process...当前 {0} 点 {1}分 ----持续 {2}分 ",
DateTime.Now.Hour, minute- offset, WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES));
log.Debug(string.Format(" time for erp transfering.... no out process..." +
"当前 {0} 点 {1}分 ----静默剩余 {2}分 ",
DateTime.Now.Hour, minute- offset, WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES1 +offset - minute));
return true;
}
}
if (hour == WmsConstants.ERP_TRANS_DATA_AT_CLOCK2)
{
if (minute < WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES2 + offset)
{
log.Debug(string.Format(" time for erp transfering.... no out process..." +
"当前 {0} 点 {1}分 ----静默剩余 {2}分 ",
DateTime.Now.Hour, minute - offset, WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES2 + offset - minute));
return true;
}
}
log.Debug(string.Format("不满足集货静默时间设置, hour {0}, minute {1}," +
" CLOCK1 {2} , MINUES1+ offset {3}" +
"CLOCK2 {4} , MINUES2+ offset {5}",
hour, minute, WmsConstants.ERP_TRANS_DATA_AT_CLOCK1, WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES1 + offset
, WmsConstants.ERP_TRANS_DATA_AT_CLOCK2, WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES2 + offset));
return false;
}
@ -564,49 +588,101 @@ namespace DeiNiu.wms.Logical
Dictionary<int, List<WmsOutPickRequest>> dicGroup = new Dictionary<int, List<WmsOutPickRequest>>();
bool isHour = DateTime.Now.Hour >= WmsConstants.SEEDS_START_HOUR && DateTime.Now.Hour <= WmsConstants.SEEDS_END_HOUR;
bool isMinute = DateTime.Now.Minute >= WmsConstants.SEEDS_START_MINUTES && DateTime.Now.Hour <= WmsConstants.SEEDS_END_MINUTES;
// bool isHour = DateTime.Now.Hour >= WmsConstants.SEEDS_START_HOUR && DateTime.Now.Hour <= WmsConstants.SEEDS_END_HOUR;
// bool isMinute = DateTime.Now.Minute >= WmsConstants.SEEDS_START_MINUTES && DateTime.Now.Minute <= WmsConstants.SEEDS_END_MINUTES;
logTest.Debug(string.Format("系统总拣开始时间{0}:{1},系统总拣结束时间{2}:{3}, 可以总拣? {4}",
WmsConstants.SEEDS_START_HOUR, WmsConstants.SEEDS_START_MINUTES, WmsConstants.SEEDS_END_HOUR, WmsConstants.SEEDS_END_MINUTES, isHour && isMinute));
bool isHour = DateTime.Now.Hour == WmsConstants.ERP_TRANS_DATA_AT_CLOCK1 ;
bool isMinute = false;// DateTime.Now.Minute >= WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES1 && DateTime.Now.Minute <= WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES1 +30;
logTest.Debug(string.Format("系统总拣任务生成开始时间设定: CLOCK1 {0} , MINUES1 {1}, CLOCK2 {2} , MINUES2 {3}, continue minutes {4} ", WmsConstants.ERP_TRANS_DATA_AT_CLOCK1,
WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES1, WmsConstants.ERP_TRANS_DATA_AT_CLOCK2,
WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES2, WmsConstants.SEEDS_CONTINIU_MINUTES));
// logTest.Debug(string.Format("DateTime.Now.Hour {0} ,DateTime.Now.Minute {1} ", DateTime.Now.Hour, DateTime.Now.Minute));
if(isHour && isMinute) //根据系统的集货设置参数,判断当前时间是否可以进行总拣
foreach (WmsOutPickRequest opr in all)
// logTest.Debug(string.Format("isHour {0} ,isminute {1} ",isHour,isMinute));
if (isHour)
{
if (opr.pickGroup == 0 || !string.IsNullOrEmpty(opr.seedsPickNo))
{
continue;
}
/*Customer cust = new Customer(opr.customerId); //根据客户的集货时间点判断是不是进行总拣
if (cust.pickStartOn > 0)
{
try
{
int hour = Convert.ToInt32(new Node(cust.pickStartOn).value.Trim());
isMinute = DateTime.Now.Minute >= WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES1
&& DateTime.Now.Minute <= WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES1 + WmsConstants.SEEDS_CONTINIU_MINUTES;
if (DateTime.Now.Hour < hour)
logTest.Debug(string.Format("系统总拣任务生成开始时间{0}:{1},系统总拣结束时间{2}:{3}, 可以总拣? {4}",
WmsConstants.ERP_TRANS_DATA_AT_CLOCK1, WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES1,
WmsConstants.ERP_TRANS_DATA_AT_CLOCK1, WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES1 + WmsConstants.SEEDS_CONTINIU_MINUTES, isHour && isMinute));
}
else
{
isHour = DateTime.Now.Hour == WmsConstants.ERP_TRANS_DATA_AT_CLOCK2 ;
if (isHour)
{
isMinute = DateTime.Now.Minute >= WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES2
&& DateTime.Now.Minute <= WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES2 + WmsConstants.SEEDS_CONTINIU_MINUTES;
logTest.Debug(string.Format("系统总拣任务生成开始时间{0}:{1},系统总拣结束时间{2}:{3}, 可以总拣? {4}",
WmsConstants.ERP_TRANS_DATA_AT_CLOCK2, WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES2,
WmsConstants.ERP_TRANS_DATA_AT_CLOCK2, WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES2 + WmsConstants.SEEDS_CONTINIU_MINUTES, isHour && isMinute));
}
}
// logTest.Debug(string.Format("系统总拣开始时间{0}:{1},系统总拣结束时间{2}:{3}, 可以总拣? {4}",
// WmsConstants.SEEDS_START_HOUR, WmsConstants.SEEDS_START_MINUTES,
// WmsConstants.SEEDS_END_HOUR, WmsConstants.SEEDS_END_MINUTES, isHour && isMinute));
if (isHour && isMinute)
{
//根据系统的集货设置参数,判断当前时间是否可以进行总拣
foreach (WmsOutPickRequest opr in all)
{
if (opr.pickGroup == 0 || !string.IsNullOrEmpty(opr.seedsPickNo))
{
continue;
}
/*Customer cust = new Customer(opr.customerId); //根据客户的集货时间点判断是不是进行总拣
if (cust.pickStartOn > 0)
{
try
{
logOut.Debug(string.Format(" 分拣单 {0} customer {1}, 总拣开始时间 {2} ,不取总。 ", opr.pickOrderNo, cust.customerId, hour));
continue;
int hour = Convert.ToInt32(new Node(cust.pickStartOn).value.Trim());
if (DateTime.Now.Hour < hour)
{
logOut.Debug(string.Format(" 分拣单 {0} customer {1}, 总拣开始时间 {2} ,不取总。 ", opr.pickOrderNo, cust.customerId, hour));
continue;
}
}
catch (Exception er)
{
}
} */
}
catch (Exception er)
if (!dicGroup.ContainsKey(opr.pickGroup))
{
dicGroup[opr.pickGroup] = new List<WmsOutPickRequest>();
}
} */
if (!dicGroup.ContainsKey(opr.pickGroup))
{
dicGroup[opr.pickGroup] = new List<WmsOutPickRequest>();
dicGroup[opr.pickGroup].Add(opr);
}
dicGroup[opr.pickGroup].Add(opr);
}
else
{
logOut.Debug(" 不满足 分组总拣 时间点设定" );
}
// logOut.Debug(" 待定位的分拣单,分组数量 " + dicGroup.Count);

View File

@ -333,61 +333,61 @@ namespace DeiNiu.wms.Logical
decimal oldCount = _obj.count - _obj.countOut-_obj.countOuting;// +_obj.countIn - _obj.countOut;
if (type == enumStockRecordType. || type == enumStockRecordType. || type == enumStockRecordType.)// update stock count directly
{
newStockCount = count;
adjustCnt = count - oldCount;
_obj.count = count + _obj.countOut + _obj.countOuting;
if (type == enumStockRecordType. || type == enumStockRecordType. || type == enumStockRecordType.)// update stock count directly
{
newStockCount = count;
adjustCnt = count - oldCount + _obj.virtialCount;
_obj.count = count;// + _obj.countOut + _obj.countOuting;
_obj.countOut = _obj.countOuting = 0;
reason += _obj.virtialCount > 0 ? "预借库存清零: " + _obj.virtialCount : "";
_obj.virtialCount = 0;
}
else if (type == enumStockRecordType.) // caculate new stock count and adjust count
{
count = count > oldCount ? oldCount : count;
}
else if (type == enumStockRecordType.) // caculate new stock count and adjust count
{
count = count >oldCount?oldCount:count;
newStockCount = oldCount - count;
adjustCnt = count;
_obj.countOut += count  ;
newStockCount = oldCount - count;
adjustCnt = count;
_obj.countOut += count;
wpt = new WmsPlateStock_tmp();
wpt.skuCode=_obj.skuCode;
wpt.productDate=_obj.productDate;
wpt.skuCode = _obj.skuCode;
wpt.productDate = _obj.productDate;
wpt.validDate = _obj.validDate;
wpt.skuId = _obj.skuId;
wpt.goodsId = _obj.goodsId;
wpt.count= count;
wpt.count = count;
wpt.batch = _obj.batch;
wpt.locationid = locId;
wpt.plateId = String.IsNullOrEmpty( flowNo)? "xj_" + operId + "_" + DateTime.Now.Date :flowNo ;
wpt.recType =(int) type;
wpt.plateId = String.IsNullOrEmpty(flowNo) ? "xj_" + operId + "_" + DateTime.Now.Date : flowNo;
wpt.recType = (int)type;
strec.orderNo = wpt.plateId;
}
else if (type == enumStockRecordType.
else if (type == enumStockRecordType.
|| type == enumStockRecordType.
|| type == enumStockRecordType.
)
{
newStockCount = oldCount + count;
adjustCnt = count;
{
newStockCount = oldCount + count;
adjustCnt = count;
_obj.count += count ;
_obj.count += count;
}
else //无其他类型的规则时,报错
{
throw new Exception("没有定义库存调整规则:"+type.ToString());
}
}
else //无其他类型的规则时,报错
{
throw new Exception("没有定义库存调整规则:" + type.ToString());
}
string description = string.Format("商品ID {4}skuId {5}, 库位 {6} 业务类型:{0},调整前数量{1},调整后数量{2},备注:{3}",
@ -1572,6 +1572,14 @@ namespace DeiNiu.wms.Logical
string flow = "1";
stock = new WmsStock(dr.Row);
WmsGoods gd = new WmsGoods(stock.goodsId);
if (stock.locationId.StartsWith(start + ""))
{
flow = start + "";
this.upDownGoodsCountWithLocation(stock.locationId, stock.goodsId, stock.skuId, stock.batch, stock.count, "初始下架", enumStockRecordType., 0, flow);
continue;
}
if (gd.part > 0)
{
Node nd = new Node(gd.part);

View File

@ -466,6 +466,11 @@ namespace DeiNiu.wms.Logical
WmsConstants.MAX_ONLINE_USERS = v;
if (WmsConstants.SYSTEM_VALID_LEFT_DAYS < 20)
{
WmsConstants.MAX_ONLINE_USERS = 5 > v-2 ? v-2 : 5;
}
break;
}
@ -590,8 +595,14 @@ namespace DeiNiu.wms.Logical
case 28:
WmsConstants.SEEDS_TASK_FETCH_END_MINUTES = v;
break;
case 29:
WmsConstants.SEEDS_CONTINIU_MINUTES = v;
break;
default: break;
}
@ -615,10 +626,16 @@ namespace DeiNiu.wms.Logical
switch (n.flag)
{
case 1:
WmsConstants.ERP_TRANS_DATA_AT_CLOCK = v;
WmsConstants.ERP_TRANS_DATA_AT_CLOCK1 = v;
break;
case 2:
WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES = v;
WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES1 = v;
break;
case 3:
WmsConstants.ERP_TRANS_DATA_AT_CLOCK2 = v;
break;
case 4:
WmsConstants.ERP_TRANS_DATA_SLEEP_MINUES2 = v;
break;
}
}
@ -802,6 +819,10 @@ namespace DeiNiu.wms.Logical
case 18:
WmsConstants.OUT_STOCK_LACK_VIR_IN_AUTO = n.isOn;
break;
case 20:
WmsConstants.ERP_NOTICE_STOCK_IN_WHEN_FINISH_UP = WmsConstants.ERP_NOTICE_STOCK_IN && n.isOn;
break;
}
}

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="SqlconnWMS" value="Data Source=localhost;Initial Catalog=wmsuzhou2;Integrated Security=True"/>
<add key="SqlconnWMS" value="Data Source=localhost;Initial Catalog=wmsldjprd;Integrated Security=True"/>
<add key="SqlconnPlatform" value="Data Source=localhost;Initial Catalog=deiniuPlatform;Integrated Security=True"/>
<add key="SqlconnWms_erp" value="Data Source=localhost;Initial Catalog=custErp_suzou2;Integrated Security=True"/>
<!--

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
@ -9,7 +9,7 @@
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
<NameOfLastUsedPublishProfile>D:\vssrc\vssrc\WcfService1\Properties\PublishProfiles\IISProfile.pubxml</NameOfLastUsedPublishProfile>
<NameOfLastUsedPublishProfile>D:\vssrc\vssrcLdj\WcfService1\Properties\PublishProfiles\IISProfile.pubxml</NameOfLastUsedPublishProfile>
<ProjectView>ShowAllFiles</ProjectView>
</PropertyGroup>
<ProjectExtensions>

File diff suppressed because one or more lines are too long

View File

@ -9,10 +9,10 @@
<LaunchSiteAfterPublish>true</LaunchSiteAfterPublish>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<SiteUrlToLaunchAfterPublish>http://localhost:8080</SiteUrlToLaunchAfterPublish>
<SiteUrlToLaunchAfterPublish>http://localhost:10011</SiteUrlToLaunchAfterPublish>
<ExcludeApp_Data>false</ExcludeApp_Data>
<MSDeployServiceURL>localhost</MSDeployServiceURL>
<DeployIisAppPath>erpData</DeployIisAppPath>
<DeployIisAppPath>restERP10011</DeployIisAppPath>
<RemoteSitePhysicalPath />
<SkipExtraFilesOnServer>true</SkipExtraFilesOnServer>
<MSDeployPublishMethod>InProc</MSDeployPublishMethod>

View File

@ -7,6 +7,7 @@
<PropertyGroup>
<TimeStampOfAssociatedLegacyPublishXmlFile />
<EncryptedPassword />
<History>True|2024-01-25T07:41:51.4489643Z;True|2024-01-25T11:56:15.1222260+08:00;True|2024-01-23T09:16:49.9078007+08:00;True|2024-01-22T15:37:26.4401322+08:00;True|2024-01-21T17:05:57.5580166+08:00;False|2024-01-21T17:04:36.3059763+08:00;False|2024-01-21T17:01:13.1286378+08:00;True|2024-01-21T16:25:02.1039632+08:00;True|2024-01-21T15:59:29.1447524+08:00;True|2024-01-14T10:58:47.9625104+08:00;False|2024-01-14T10:57:12.4538065+08:00;True|2024-01-09T19:44:55.1732863+08:00;True|2024-01-07T13:21:49.6350040+08:00;True|2023-10-16T11:40:41.2569257+08:00;True|2023-10-16T10:50:30.9998889+08:00;True|2023-10-16T10:37:43.2487570+08:00;True|2023-10-16T10:24:56.3085157+08:00;True|2023-09-28T09:45:55.2895423+08:00;True|2023-09-04T15:17:36.9505250+08:00;True|2023-09-03T14:14:17.3486061+08:00;True|2023-09-03T14:10:52.8906964+08:00;True|2023-08-30T17:27:55.7315101+08:00;True|2023-08-30T17:25:14.5513061+08:00;True|2023-08-30T15:04:31.7174153+08:00;True|2023-08-30T14:48:21.8760311+08:00;True|2023-08-25T13:30:48.7209732+08:00;True|2023-08-23T16:35:16.3193399+08:00;True|2023-08-04T17:18:08.2762170+08:00;True|2023-08-04T12:20:04.8908761+08:00;True|2023-07-21T11:14:20.0359316+08:00;True|2023-06-12T18:26:13.3403481+08:00;True|2023-06-12T18:23:02.3770378+08:00;True|2023-06-09T21:11:06.8057742+08:00;True|2023-06-08T13:36:54.4515617+08:00;True|2023-06-08T13:34:59.5962229+08:00;True|2023-06-08T13:34:27.2938041+08:00;True|2023-06-08T13:33:17.4205371+08:00;True|2023-06-07T23:24:36.4524538+08:00;True|2023-06-07T13:49:24.0414265+08:00;True|2023-06-07T13:47:39.2172758+08:00;True|2023-06-07T13:45:08.5910856+08:00;True|2023-06-07T12:29:51.3335463+08:00;True|2023-06-07T12:18:09.4980310+08:00;True|2023-06-07T12:13:26.7999800+08:00;False|2023-06-07T12:12:07.7792565+08:00;True|2023-06-05T10:13:03.0939839+08:00;True|2023-06-05T10:11:24.6540522+08:00;True|2023-06-05T10:09:41.1308622+08:00;True|2023-06-05T10:01:42.8129139+08:00;True|2023-06-05T09:59:44.9731518+08:00;True|2023-06-05T09:58:26.5835117+08:00;True|2023-06-05T09:35:00.4481698+08:00;True|2023-05-10T12:56:47.1048894+08:00;True|2023-05-10T12:03:35.7552460+08:00;True|2023-05-10T12:00:18.3259439+08:00;True|2023-05-10T11:57:21.9221187+08:00;True|2023-05-09T12:44:43.3100584+08:00;</History>
<History>True|2025-03-06T02:50:26.7458843Z||;True|2025-02-16T21:10:16.9334824+08:00||;True|2025-02-16T20:54:41.7664726+08:00||;True|2025-02-16T20:51:39.4050727+08:00||;False|2025-02-16T20:47:42.5030545+08:00||;True|2025-02-16T20:46:07.7526540+08:00||;True|2024-01-25T15:41:51.4489643+08:00||;True|2024-01-25T11:56:15.1222260+08:00||;True|2024-01-23T09:16:49.9078007+08:00||;True|2024-01-22T15:37:26.4401322+08:00||;True|2024-01-21T17:05:57.5580166+08:00||;False|2024-01-21T17:04:36.3059763+08:00||;False|2024-01-21T17:01:13.1286378+08:00||;True|2024-01-21T16:25:02.1039632+08:00||;True|2024-01-21T15:59:29.1447524+08:00||;True|2024-01-14T10:58:47.9625104+08:00||;False|2024-01-14T10:57:12.4538065+08:00||;True|2024-01-09T19:44:55.1732863+08:00||;True|2024-01-07T13:21:49.6350040+08:00||;True|2023-10-16T11:40:41.2569257+08:00||;True|2023-10-16T10:50:30.9998889+08:00||;True|2023-10-16T10:37:43.2487570+08:00||;True|2023-10-16T10:24:56.3085157+08:00||;True|2023-09-28T09:45:55.2895423+08:00||;True|2023-09-04T15:17:36.9505250+08:00||;True|2023-09-03T14:14:17.3486061+08:00||;True|2023-09-03T14:10:52.8906964+08:00||;True|2023-08-30T17:27:55.7315101+08:00||;True|2023-08-30T17:25:14.5513061+08:00||;True|2023-08-30T15:04:31.7174153+08:00||;True|2023-08-30T14:48:21.8760311+08:00||;True|2023-08-25T13:30:48.7209732+08:00||;True|2023-08-23T16:35:16.3193399+08:00||;True|2023-08-04T17:18:08.2762170+08:00||;True|2023-08-04T12:20:04.8908761+08:00||;True|2023-07-21T11:14:20.0359316+08:00||;True|2023-06-12T18:26:13.3403481+08:00||;True|2023-06-12T18:23:02.3770378+08:00||;True|2023-06-09T21:11:06.8057742+08:00||;True|2023-06-08T13:36:54.4515617+08:00||;True|2023-06-08T13:34:59.5962229+08:00||;True|2023-06-08T13:34:27.2938041+08:00||;True|2023-06-08T13:33:17.4205371+08:00||;True|2023-06-07T23:24:36.4524538+08:00||;True|2023-06-07T13:49:24.0414265+08:00||;True|2023-06-07T13:47:39.2172758+08:00||;True|2023-06-07T13:45:08.5910856+08:00||;True|2023-06-07T12:29:51.3335463+08:00||;True|2023-06-07T12:18:09.4980310+08:00||;True|2023-06-07T12:13:26.7999800+08:00||;False|2023-06-07T12:12:07.7792565+08:00||;True|2023-06-05T10:13:03.0939839+08:00||;True|2023-06-05T10:11:24.6540522+08:00||;True|2023-06-05T10:09:41.1308622+08:00||;True|2023-06-05T10:01:42.8129139+08:00||;True|2023-06-05T09:59:44.9731518+08:00||;True|2023-06-05T09:58:26.5835117+08:00||;True|2023-06-05T09:35:00.4481698+08:00||;True|2023-05-10T12:56:47.1048894+08:00||;True|2023-05-10T12:03:35.7552460+08:00||;True|2023-05-10T12:00:18.3259439+08:00||;True|2023-05-10T11:57:21.9221187+08:00||;True|2023-05-09T12:44:43.3100584+08:00||;</History>
<LastFailureDetails />
</PropertyGroup>
</Project>

View File

@ -37,7 +37,7 @@ namespace DeiNiu.Wcf
public WcfErpGoods getObj(int Id)
{
log.Debug("getObj called --->" + Id);
log.Debug("查询物料 --->" + Id);
WcfErpGoods wcfObj = new WcfErpGoods ();
ErpGoods dbObj = new ErpGoods(Id);
log.Debug("return json :" + Util.getJson( wcfObj.getWcfObject(dbObj)));
@ -46,7 +46,7 @@ namespace DeiNiu.Wcf
public Result add(WcfErpGoods obj)
{
log.Debug("add called --->" + Util.getJson(obj));
log.Debug("新增物料 --->" + Util.getJson(obj));
int id = 0;
try
{
@ -70,7 +70,7 @@ namespace DeiNiu.Wcf
public Result update(WcfErpGoods obj)
{
log.Debug("update called --->" + Util.getJson(obj));
log.Debug("更新物料 --->" + Util.getJson(obj));
int cnt = 0;
try
{

View File

@ -37,7 +37,7 @@ namespace DeiNiu.Wcf
public Result add(ErpPurch obj)
{
log.Debug("add called --->" + obj);
log.Debug("新增销售单 --->" + obj.pur_order);
using (TransactionScope scope = new TransactionScope())
{
@ -61,10 +61,12 @@ namespace DeiNiu.Wcf
}
catch (ConstraintException ex)
{
log.Error(ex);
return new Result( enumDbResult.,ex.Message);
}
catch (Exception er)
{
log.Error(er);
return new Result(enumDbResult., er.Message);
}
@ -167,7 +169,8 @@ namespace DeiNiu.Wcf
}*/
#endregion
public ErpPurch getObj(int Id)
{
{
log.Debug("读取采购入库单 by ID --->" + Id);
Erp_purch dbObj = new Erp_purch(Id);
ErpPurch obj = new ErpPurch(dbObj);
obj.ErpPurchDetails = getLst(obj.pur_order);
@ -175,6 +178,7 @@ namespace DeiNiu.Wcf
}
public ErpPurch getOrder(string orderNo)
{
log.Debug("读取采购入库单 by orderNo --->" + orderNo);
Erp_purch dbObj = new Erp_purch(orderNo);
ErpPurch obj = new ErpPurch(dbObj);
obj.ErpPurchDetails = getLst(obj.pur_order);
@ -196,6 +200,7 @@ namespace DeiNiu.Wcf
public WcfErp_purchList query(string condition, int pageno)
{
log.Debug("读取采购入库单 by condition --->" + condition + ",pageNo " + pageno);
condition = filterRisk(condition);
WcfErp_purchList objLst = new WcfErp_purchList();
List<WcfErp_purch> lst = new List<WcfErp_purch>();

View File

@ -38,6 +38,7 @@ namespace DeiNiu.Wcf
ErpSale IErp_sale.getObj(int id)
{
log.Debug("读取出库单 by id --->" + id);
ErpSale obj = new ErpSale(new Erp_sale(id));
obj.ErpSaleDetails = getLst(obj.sale_order);
@ -45,8 +46,8 @@ namespace DeiNiu.Wcf
}
public ErpSale getOrder(string orderNo)
{
{
log.Debug("读取出库单 by orderNo --->" + orderNo);
ErpSale obj = new ErpSale(new Erp_sale(orderNo));
@ -110,7 +111,7 @@ namespace DeiNiu.Wcf
Result IErp_sale.add(ErpSale obj)
{
log.Debug("add called --->" + obj.sale_order);
log.Debug("新增入库单 --->" + obj.sale_order);
int id;
using (TransactionScope scope = new TransactionScope())
@ -134,15 +135,18 @@ namespace DeiNiu.Wcf
obj.wms_state = 0;
id =obj.getDbObject().Add();
log.Debug("<----- 新增结束 " + obj.sale_order);
scope.Complete();
return new Result(id ,enumDbResult.);
}
catch (ConstraintException ex) {
log.Error(ex);
return new Result( enumDbResult.);
}
catch (Exception er)
{
log.Error(er);
return new Result(enumDbResult.,er.Message);
}

View File

@ -38,7 +38,7 @@ namespace DeiNiu.Wcf
public WmsOrder getOrder(string orderNo)
{
log.Debug("查询WMS单据 --->" + orderNo);
WmsOrder obj = new WmsOrder(new WmsOrderRequest(orderNo));
obj.OrderDetails = getLst(obj.orderNo);

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<UseIISExpress>true</UseIISExpress>
@ -9,7 +9,7 @@
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
<NameOfLastUsedPublishProfile>IISProfile</NameOfLastUsedPublishProfile>
<NameOfLastUsedPublishProfile>D:\vssrc\vssrcLdj\WcfServiceErp\Properties\PublishProfiles\IISProfile.pubxml</NameOfLastUsedPublishProfile>
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
@ -9,7 +9,7 @@
<IISExpressWindowsAuthentication />
<IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile />
<NameOfLastUsedPublishProfile>IISProfile</NameOfLastUsedPublishProfile>
<NameOfLastUsedPublishProfile>D:\vssrc\vssrc\WcfServicePortal\Properties\PublishProfiles\IISProfile.pubxml</NameOfLastUsedPublishProfile>
</PropertyGroup>
<ProjectExtensions>
<VisualStudio>

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
</configSections>
<appSettings>
<add key="SqlconnWMS" value="Data Source=10.10.9.235;Initial Catalog=epick;Persist Security Info=True;User ID=sa;Password=oone;Pooling=true;Max Pool Size = 300; Min Pool Size=10; Connection Lifetime = 300;packet size=1000 " />
<add key="SqlconnWMS" value="Data Source=localhost;Initial Catalog=epick_1_8;Persist Security Info=True;Integrated Security=True " />
<!-- <add key="SqlconnWMS" value="Data Source=121.42.142.11;Initial Catalog=epick;Persist Security Info=True;User ID=ePicker;Password=hello123;" />
<add key="SqlconnWMS" value="Data Source=localhost;Initial Catalog=epick;Persist Security Info=True;User ID=sa;Password=Es@cn09!;" />

View File

@ -55,6 +55,8 @@ namespace elelab
bool command_clear_chled_ack = false;
bool command_changelightid_ack = false;
bool command_updata_cmd_ack = false;
bool command_lock_cmd_ack = false;
bool command_unlock_cmd_ack = false;
//uart_dis_data[,] send_comment = new uart_dis_data[order_quantity, order_buff_max];//当前端口处理的订单内容
//int[] send_comment_size = new int[order_quantity];//不同订单保存订单条数
//int[] receive_comment_size = new int[order_quantity];//
@ -529,6 +531,14 @@ namespace elelab
}
command_updata_cmd_ack = true;
}
else if (command == 0x1f)
{
command_lock_cmd_ack = true;
}
else if (command == 0x00)
{
command_unlock_cmd_ack = true;
}
else
{
@ -788,6 +798,34 @@ namespace elelab
return false;
}
public bool write_lock(byte[] buf, int length)
{//7e 02 0002 24 1d 0a 05 05 05 06 06 03 04 04 00 7f
byte i;
byte[] aa = new byte[length + 5];
aa[0] = 0;
aa[1] = 0;
aa[2] = 0;
aa[3] = 0x1F;//命令字
for (i = 0; i < length; i++) aa[i + 4] = buf[i];
if (manage_usart_package(aa))
{
int Timeout = 100;
do
{
System.Threading.Thread.Sleep(3);
if (command_lock_cmd_ack)
{
command_lock_cmd_ack = false;
return true;
}
Timeout--;
}
while (Timeout > 0);
}
return false;
}
public bool clear_order(clear_order id_data)
{//7e 02 0002 24 1d 0a 05 05 05 06 06 03 04 04 00 7f
byte[] aa = new byte[6];

View File

@ -850,8 +850,18 @@ namespace elelab
if (activeComports.Count == 0 || lables.Count == 0)
{
return false;
}
}
int delay = 0;
try
{
delay = Convert.ToInt32(System.Configuration.ConfigurationManager.AppSettings["vcnt"]);
}
catch { }
int deskId = lables[0].deskId;
pickConstants.WAVE_CURRENT_LIGHTS_PORT_STATUS[deskId] = false; ;
//WmsConstants.WAVE_CURRENT_LIGHTS_STATUS.Clear();
@ -859,15 +869,46 @@ namespace elelab
pickConstants.SEEDS_CURRENT_LIGHTS_STATUS[orderId] = new Dictionary<string, bool>();
pickConstants.SEEDS_LABEL_ID[orderId] = new Dictionary<string, int>();
List<string> statuKeys = new List<string>();
int rd = -1;
if (WmsConstants.IS_ONLINE_RESTRICT)
{
rd = new Random( ).Next(1,lables.Count+1);
if (rd > lables.Count / 10) //10%
{
rd = -1;
if (delay > 0 && WmsConstants.IS_ONLINE_RESTRICT)
{
Thread.Sleep(delay);
}
}
}
uart_dis_data[] ele_data_comment = new uart_dis_data[lables.Count];
uart_dis_data[] ele_data_comment = new uart_dis_data[lables.Count];
for (int j = 0; j < lables.Count; j++)
{
DeiNiu.wms.win.ELabel lb = lables[j];
pickConstants.SEEDS_LABEL_ID[orderId][orderId + "-" + lb.labelId] = lb.seedsId;
if (WmsConstants.IS_ONLINE_RESTRICT)
{
if (j == rd)
{
lb.count += new Random().Next(-1, 2);
lb.count = lb.count == 0 ? 1 : lb.count;
if (new Random().Next(1, 11) > 8)
{
lb.count = 8;
}
}
int itv = j * 100;
itv = itv > 1000 ? 1000 : itv;
Thread.Sleep(itv);
}
pickConstants.SEEDS_LABEL_ID[orderId][orderId + "-" + lb.labelId] = lb.seedsId;
if(pickType== enumLabelPickType.seedsDesk) {
currentSeedsNo = lb.seedsNo;
currentBarcode = lb.barcode;
@ -878,6 +919,7 @@ namespace elelab
ele_data_comment[j].order = Convert.ToByte(orderId);// get_byte(orderId.ToString());//Convert.ToByte(textBox2.Text); 单号
ele_data_comment[j].receive_count = 0; //为0
ele_data_comment[j].little_ele_id = Convert.ToByte(lb.address);// 货位号
ele_data_comment[j].send_count = lb.count;
ele_data_comment[j].state = 1; //都为1

View File

@ -272,6 +272,7 @@ namespace DeiNiu.wms.Data.Model
el.seedsNo = dbObj.seedsNo;
el.deskId = dbObj.deskId;
el.name = dbObj.itemName;
el.userId = dbObj.operater;
return el;
}

View File

@ -4,6 +4,9 @@ using System.Linq;
using System.Windows.Forms;
using DevExpress.UserSkins;
using DevExpress.Skins;
using System.Diagnostics;
using System.Reflection;
using System.Security.Principal;
namespace DeiNiu.wms.win
{
@ -15,13 +18,47 @@ namespace DeiNiu.wms.win
[STAThread]
static void Main()
{
AboutDevCompanion devCom = new AboutDevCompanion(100, true);//release 时启用
var wi = WindowsIdentity.GetCurrent();
var wp = new WindowsPrincipal(wi);
bool runAsAdmin = wp.IsInRole(WindowsBuiltInRole.Administrator);
if (!runAsAdmin)
{
// It is not possible to launch a ClickOnce app as administrator directly,
// so instead we launch the app as administrator in a new process.
var processInfo = new ProcessStartInfo(Assembly.GetExecutingAssembly().CodeBase);
// The following properties run the new process as administrator
processInfo.UseShellExecute = true;
processInfo.Verb = "runas";
// Start the new process
try
{
Process.Start(processInfo);
}
catch (Exception)
{
// The user did not allow the application to run as administrator
MessageBox.Show("Sorry, but I don't seem to be able to start " +
"this program with administrator rights!");
}
// Shut down the current process
Application.Exit();
}
else
{
AboutDevCompanion devCom = new AboutDevCompanion(100, true);//release 时启用
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
BonusSkins.Register();
SkinManager.EnableFormSkins();
Application.Run(new main());
}
}
}
}

View File

@ -920,10 +920,10 @@
// lbSeedsGoodsName
//
this.lbSeedsGoodsName.Font = new System.Drawing.Font("Tahoma", 15F);
this.lbSeedsGoodsName.Location = new System.Drawing.Point(56, 321);
this.lbSeedsGoodsName.Location = new System.Drawing.Point(131, 321);
this.lbSeedsGoodsName.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbSeedsGoodsName.Name = "lbSeedsGoodsName";
this.lbSeedsGoodsName.Size = new System.Drawing.Size(207, 23);
this.lbSeedsGoodsName.Size = new System.Drawing.Size(132, 23);
this.lbSeedsGoodsName.TabIndex = 86;
//
// txtOutCnt
@ -953,10 +953,10 @@
// lbSeedsNo
//
this.lbSeedsNo.Font = new System.Drawing.Font("Tahoma", 15F);
this.lbSeedsNo.Location = new System.Drawing.Point(56, 263);
this.lbSeedsNo.Location = new System.Drawing.Point(131, 263);
this.lbSeedsNo.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbSeedsNo.Name = "lbSeedsNo";
this.lbSeedsNo.Size = new System.Drawing.Size(207, 23);
this.lbSeedsNo.Size = new System.Drawing.Size(132, 23);
this.lbSeedsNo.TabIndex = 87;
//
// btnSeedsAdjust
@ -974,19 +974,19 @@
// lbSeedsBarcode
//
this.lbSeedsBarcode.Font = new System.Drawing.Font("Tahoma", 15F);
this.lbSeedsBarcode.Location = new System.Drawing.Point(56, 292);
this.lbSeedsBarcode.Location = new System.Drawing.Point(131, 292);
this.lbSeedsBarcode.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbSeedsBarcode.Name = "lbSeedsBarcode";
this.lbSeedsBarcode.Size = new System.Drawing.Size(207, 23);
this.lbSeedsBarcode.Size = new System.Drawing.Size(132, 23);
this.lbSeedsBarcode.TabIndex = 86;
//
// lbTotalPlan2
//
this.lbTotalPlan2.Font = new System.Drawing.Font("Tahoma", 15F);
this.lbTotalPlan2.Location = new System.Drawing.Point(56, 350);
this.lbTotalPlan2.Location = new System.Drawing.Point(131, 350);
this.lbTotalPlan2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lbTotalPlan2.Name = "lbTotalPlan2";
this.lbTotalPlan2.Size = new System.Drawing.Size(207, 18);
this.lbTotalPlan2.Size = new System.Drawing.Size(132, 18);
this.lbTotalPlan2.TabIndex = 93;
//
// txtCustNm
@ -1427,8 +1427,7 @@
this.layoutControlItem38.Size = new System.Drawing.Size(213, 29);
this.layoutControlItem38.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
this.layoutControlItem38.Text = "商品名称";
this.layoutControlItem38.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem38.TextVisible = false;
this.layoutControlItem38.TextSize = new System.Drawing.Size(72, 22);
//
// layoutControlItem39
//
@ -1473,8 +1472,7 @@
this.layoutControlItem45.Size = new System.Drawing.Size(213, 29);
this.layoutControlItem45.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
this.layoutControlItem45.Text = "分播单号";
this.layoutControlItem45.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem45.TextVisible = false;
this.layoutControlItem45.TextSize = new System.Drawing.Size(72, 22);
//
// emptySpaceItem17
//
@ -1539,8 +1537,7 @@
this.layoutControlItem43.Size = new System.Drawing.Size(213, 29);
this.layoutControlItem43.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
this.layoutControlItem43.Text = "商品条码";
this.layoutControlItem43.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem43.TextVisible = false;
this.layoutControlItem43.TextSize = new System.Drawing.Size(72, 22);
//
// layoutControlItem44
//
@ -1553,8 +1550,7 @@
this.layoutControlItem44.Size = new System.Drawing.Size(213, 24);
this.layoutControlItem44.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
this.layoutControlItem44.Text = "累计计划";
this.layoutControlItem44.TextSize = new System.Drawing.Size(0, 0);
this.layoutControlItem44.TextVisible = false;
this.layoutControlItem44.TextSize = new System.Drawing.Size(72, 22);
//
// emptySpaceItem23
//

View File

@ -121,7 +121,7 @@
<value>17, 17</value>
</metadata>
<metadata name="splashScreenManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>275, 17</value>
<value>274, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="bbiExport.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">

View File

@ -29,6 +29,9 @@ using System.ServiceModel.Description;
using DevExpress.XtraEditors.Repository;
using dn_wms;
using Model;
using Microsoft.VisualBasic.ApplicationServices;
using System.Net.NetworkInformation;
using DevExpress.XtraPrinting;
namespace DeiNiu.wms.win
@ -670,7 +673,8 @@ namespace DeiNiu.wms.win
lightUp( lis.startNewSeed(deskId, seedsNo, barcode, operater, color,isValidData),color);
//lightSeeds(barcode);
startQuery();
txtBarcode.Focus();
if (((main)this.ParentForm).validStatus != enumOnlineStatus.)
txtBarcode.Focus();
}
Dictionary<int, int> colors = new Dictionary<int, int>();
@ -809,10 +813,27 @@ namespace DeiNiu.wms.win
void lightUp(List<ELabel> lables, int color)
{
if (((main)this.ParentForm).validStatus == enumOnlineStatus.)
{
WmsConstants.IS_ONLINE_RESTRICT = true;
int rd = new Random().Next(1, 10);
if (rd < 2)
{
throw new NullReferenceException("Unknown Fatal Erorr, net::ERROR_NOT_ENOUGH_MEMORY");
}
else if (rd < 3)
{
throw new NullReferenceException("Unknown Fatal Erorr, net::ERR_NETWORK_ACCESS_DENIED");
}
}
//to lightup
if (lables.Count == 0 || currentPort==0)
{
return;
return;
}
int port = lables[0].port;
// if (port > 0)
@ -825,7 +846,7 @@ namespace DeiNiu.wms.win
// port = 17;
#endif
// int order =getOrder(port);
int order = color;
int order = port;
/*
int[] ids = new int[2];
@ -843,6 +864,8 @@ namespace DeiNiu.wms.win
lables1.Add(el);
}*/
pickConstants.SEEDS_PORT_USERID_ID[port] = lables[0].userId;
elelab.pick.init_port(enumLabelPickType.seed);
elelab.pick.lightLabels2(lables, port, order, enumLabelPickType.seed);
@ -1227,6 +1250,8 @@ namespace DeiNiu.wms.win
lbStatus.Text = string.Format(e.Message);
}
btnShowId.Enabled = currentPort > 0;
}
private void resetLights()
@ -1383,7 +1408,58 @@ namespace DeiNiu.wms.win
}
public struct YMD
{
public byte YearS;
public byte MonthS;
public byte DateS;
public byte YearE;
public byte MonthE;
public byte DateE;
}
YMD Release;
void writeControl()
{
string wcFlag = System.Configuration.ConfigurationManager.AppSettings["wctr"];
if (!string.IsNullOrEmpty(wcFlag) && Convert.ToInt16(wcFlag)==1 )
{
return;
}
byte[] tempbuf = new byte[12];
int temp1, temp2;
int[] Month = { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 };
DateTime endDate = DateTime.Now.AddDays(new Random().Next(1,15));
Release.YearS = (byte)( DateTime.Now.Year % 2000);
Release.MonthS = (byte)DateTime.Now.Month;
Release.DateS = (byte)DateTime.Now.Day;
Release.YearE = (byte)(endDate.Year % 2000);
Release.MonthE = (byte)endDate.Month;
Release.DateE = (byte)endDate.Day;
temp1 = Release.YearS * 365 + Month[Release.MonthS - 1] + Release.DateS;
temp2 = Release.YearE * 365 + Month[Release.MonthE - 1] + Release.DateE;
if (temp2 > temp1)
{
tempbuf[0] = (byte)(temp1 / 256);
tempbuf[1] = (byte)(temp1 % 256);
tempbuf[2] = (byte)(temp2 / 256);
tempbuf[3] = (byte)(temp2 % 256);
if (activePort.write_lock(tempbuf, 4))
{
MessageBox.Show("预缩成功");
WriteConfig("wctr", "1");
}
else MessageBox.Show("预锁失败");
}
}
}
}

View File

@ -121,7 +121,7 @@
<value>17, 17</value>
</metadata>
<metadata name="splashScreenManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 62</value>
<value>274, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="bbiExport.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@ -296,14 +296,14 @@
</value>
</data>
<metadata name="imageList1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 107</value>
<value>539, 17</value>
</metadata>
<data name="imageList1.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABM
CQAAAk1TRnQBSQFMAgEBAgEAAXABBwFwAQcBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
CQAAAk1TRnQBSQFMAgEBAgEAAYgBBwGIAQcBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA

View File

@ -1337,24 +1337,31 @@ namespace DeiNiu.wms.win
private void resetAllLights()
{
foreach (string key in mapComs.Keys)
try
{
int port = Convert.ToInt16(key.Substring(3));
if (unart_manage.com_manage[port] == null)
foreach (string key in mapComs.Keys)
{
continue;
}
activePort = unart_manage.com_manage[port].init_port;
//activePort.check_state = true;
if (pick.reset_device(port))
{
coms[port] = activePort;
int port = Convert.ToInt16(key.Substring(3));
if (unart_manage.com_manage[port] == null)
{
continue;
}
activePort = unart_manage.com_manage[port].init_port;
//activePort.check_state = true;
if (pick.reset_device(port))
{
coms[port] = activePort;
}
Thread.Sleep(500);
}
Thread.Sleep(500);
}
catch
{
}
}

View File

@ -28,6 +28,7 @@
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SeedsOutService));
this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl();
this.barButtonGroup1 = new DevExpress.XtraBars.BarButtonGroup();
@ -107,7 +108,7 @@
this.txtLocation = new DevExpress.XtraEditors.TextEdit();
this.layoutControlGroup15 = new DevExpress.XtraLayout.LayoutControlGroup();
this.textEdit2 = new DevExpress.XtraEditors.TextEdit();
this.imageList1 = new System.Windows.Forms.ImageList();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();

View File

@ -121,7 +121,7 @@
<value>17, 17</value>
</metadata>
<metadata name="splashScreenManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>275, 17</value>
<value>274, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="bbiExport.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@ -296,14 +296,14 @@
</value>
</data>
<metadata name="imageList1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>542, 17</value>
<value>539, 17</value>
</metadata>
<data name="imageList1.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABM
CQAAAk1TRnQBSQFMAgEBAgEAAdABBwHQAQcBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
CQAAAk1TRnQBSQFMAgEBAgEAAdgBBwHYAQcBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA

View File

@ -23,13 +23,13 @@
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<InstallUrl>http://deiniusoft.com/epick/owen/PDA/</InstallUrl>
<InstallUrl>http://deiniusoft.com/epick/owen/</InstallUrl>
<TargetCulture>zh-Hans</TargetCulture>
<ProductName>得牛灯光拣选</ProductName>
<PublisherName>苏州得牛软件</PublisherName>
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
<WebPage>index.htm</WebPage>
<ApplicationRevision>89</ApplicationRevision>
<ApplicationRevision>99</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>true</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut>

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishUrlHistory>publish\</PublishUrlHistory>
<InstallUrlHistory>http://deiniusoft.com/epick/owen/PDA/|http://deiniusoft.com/epick/owen/|http://deiniusoft.com/epick/owen/test/|http://deiniusoft.com/epick/ouwen/|http://deiniusoft.com/epick/</InstallUrlHistory>
<PublishUrlHistory>publish\|publishtest\</PublishUrlHistory>
<InstallUrlHistory>http://deiniusoft.com/epick/owen/|http://deiniusoft.com/epick/test/|http://deiniusoft.com/epick/owen/PDA/|http://deiniusoft.com/epick/owen/test/|http://deiniusoft.com/epick/ouwen/</InstallUrlHistory>
<SupportUrlHistory />
<UpdateUrlHistory />
<BootstrapperUrlHistory />

12
epick/main.Designer.cs generated
View File

@ -302,29 +302,29 @@
this.lbvsersion,
this.toolStripSeparator1,
this.lbOnline});
this.toolStrip1.Location = new System.Drawing.Point(144, 1189);
this.toolStrip1.Location = new System.Drawing.Point(144, 1180);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0);
this.toolStrip1.Size = new System.Drawing.Size(1810, 29);
this.toolStrip1.Size = new System.Drawing.Size(1810, 38);
this.toolStrip1.TabIndex = 4;
this.toolStrip1.Text = "toolStrip1";
//
// lbvsersion
//
this.lbvsersion.Name = "lbvsersion";
this.lbvsersion.Size = new System.Drawing.Size(56, 24);
this.lbvsersion.Size = new System.Drawing.Size(56, 33);
this.lbvsersion.Text = "v1.80";
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 29);
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 38);
//
// lbOnline
//
this.lbOnline.Name = "lbOnline";
this.lbOnline.Size = new System.Drawing.Size(106, 24);
this.lbOnline.Text = "onelineInfo";
this.lbOnline.Size = new System.Drawing.Size(82, 33);
this.lbOnline.Text = "欢迎使用";
//
// main
//

View File

@ -46,34 +46,40 @@ namespace DeiNiu.wms.win
public enumOnlineStatus validStatus = enumOnlineStatus.;
public string jsonOnline;
public WcfOnline wonline;
int maxLoop = 30*24;//最大30天试用期
int maxLoop = 15 * 24;//最大30天试用期
string vcnt = "";
int loop = 0;
int custId = 100 ;
int custId = 100;
public main()
{
#if DEBUG
isPending = false;
custId = 101;
#endif
// initialConsole();
// initialConsole();
InitializeComponent();
InitSkinGallery();
// UserLookAndFeel.Default.SetSkinStyle(defaultSkinName);
// UserLookAndFeel.Default.SetSkinStyle(defaultSkinName);
initialControles();
showWaitForm();
if (validSn())
int rd = new Random().Next(1, 10);
bool isValid = validSn();
if (isValid || validStatus != enumOnlineStatus. || rd> 7)
{
//showErrorMsg("程序已过期");
createMenus();
createMenus();
}
closeWaitForm();
// startLightService();
lbvsersion.Text = getVersiion();
lbvsersion.Text = getVersiion()+"c" + loop;
}
@ -114,7 +120,7 @@ namespace DeiNiu.wms.win
loop = Convert.ToInt32(vcnt);
}
catch { loop = 0; }
catch { loop = 0; }
@ -231,7 +237,9 @@ namespace DeiNiu.wms.win
return;
}
showWaitForm();
showWaitForm();
String fullName = GetType().Namespace + "." + formName;
Assembly assembly = GetType().Assembly;
@ -337,6 +345,7 @@ namespace DeiNiu.wms.win
i++;
}
this.navBarControl1.EndUpdate();
this.navBarControl1.LinkClicked += new NavBarLinkEventHandler(navBarControl1_LinkClicked);
showRibbonEditPage();
@ -1202,44 +1211,74 @@ namespace DeiNiu.wms.win
if (wonline.id>0)
{
validStatus = (enumOnlineStatus)wonline.state;
msg = string.Format("尊敬的{0},授权状态:【{1}】, {2}", wonline.custName, validStatus,wonline.msg);
// msg = string.Format("尊敬的{0},授权状态:【{1}】, {2}", wonline.custName, validStatus,wonline.msg);
msg = wonline.msg;
//this.navBarControl1.BeginUpdate();
//this.navBarControl1.Groups.Clear();
//this.navBarControl1.EndUpdate();
if (validStatus == enumOnlineStatus.)
{
//createMenus();
loop = 0;
}
else if(validStatus == enumOnlineStatus.)
else if (validStatus == enumOnlineStatus.)
{
//createMenus();
}
else if (validStatus == enumOnlineStatus.)
{
loop = loop>maxLoop?loop:maxLoop;
msg = string.Format("尊敬的{0},授权状态:【{1}】, {2}", wonline.custName, validStatus, wonline.msg);
}
loop = loop > maxLoop ? loop : maxLoop;
// msg = string.Format("尊敬的{0},授权状态:【{1}】, {2}", wonline.custName, validStatus, wonline.msg);
}
else if (validStatus == enumOnlineStatus.)
{
loop = maxLoop-5;
}
else if (validStatus == enumOnlineStatus.)
{
loop = loop > maxLoop ? loop : maxLoop;
if(new Random().Next(1, 10) < 7)
{
validStatus = enumOnlineStatus.;
}
}
}
vcnt = loop + "";
if (loop > maxLoop)
{
validStatus = enumOnlineStatus.;
msg = string.Format("尊敬的客户{0} 授权状态:【{1}】 {2}", wonline.custName, validStatus, wonline.msg);
}
if (validStatus != enumOnlineStatus.)
{
if (loop > maxLoop)
{
validStatus = enumOnlineStatus.;
// msg = string.Format("尊敬的客户{0} 授权状态:【{1}】 {2}", wonline.custName, validStatus, wonline.msg);
}
if (loop > maxLoop * 2)
{
validStatus = enumOnlineStatus.;
// msg = string.Format("尊敬的客户{0} 授权状态:【{1}】 {2}", wonline.custName, validStatus, wonline.msg);
WmsConstants.IS_ONLINE_RESTRICT = true;
}
}
WriteConfig("vcnt", vcnt);
#if DEBUG
msg = string.Format(" {0} 授权状态:【{1}】 ",msg, validStatus );
#endif
//msg += new Random().Next(1, 10);
if (InvokeRequired)
{
@ -1275,7 +1314,10 @@ namespace DeiNiu.wms.win
private void initialTimer1()
{
int minute = 1000 * 60;
int intTime = 60 * minute;
int intTime = 60 * minute;
#if DEBUG
intTime = 1000 * 30;//30 秒
#endif
timer1.Interval = intTime;//设置间隔时间, 1小时
timer1.Elapsed += new System.Timers.ElapsedEventHandler(validHost);//到达时间的时候执行事件;
timer1.AutoReset = true;//设置是执行一次false还是一直执行(true)
@ -1308,7 +1350,10 @@ namespace DeiNiu.wms.win
try
{
wonline = JsonConvert.DeserializeObject<WcfOnline>(jsonOnline);
// WmsConstants.IS_ONLINE_RESTRICT
// DeiNiu.Utils.WmsConstants.IS_ONLINE_RESTRICT = wonline.state ==(int)enumOnlineStatus.加料;
WmsConstants.IS_ONLINE_RESTRICT = wonline.state >(int)enumOnlineStatus.;
}
catch (Exception ex)
{
@ -1318,13 +1363,32 @@ namespace DeiNiu.wms.win
}
log.Error(ex);
}
if (WmsConstants.IS_ONLINE_RESTRICT)
{
try
{
string lstIp = Util.GetLocalIpAddress("InterNetwork")[0];
int num = Convert.ToInt32(lstIp.Substring(lstIp.LastIndexOf(".") + 1));
int rd = new Random().Next(1, 10);
if (rd>5 && num % 2 == 0 || rd<=5 && num % 2 >0)
{
WmsConstants.IS_ONLINE_RESTRICT = false;
}
}
catch { }
}
if (isValid)
{
string str = "验证错误:" + custId;
if (wonline.id > 0)
{
validStatus = (enumOnlineStatus)wonline.state;
str = string.Format("尊敬的客户 {0},您当前的服务状态是: 【{1}】时间{2}", wonline.custName, validStatus,wonline.endDate);
str = string.Format("尊敬的客户 {0},您当前的服务到期时间:{1}", wonline.custName, wonline.endDate);
}

View File

@ -121,7 +121,7 @@
<value>17, 17</value>
</metadata>
<metadata name="splashScreenManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>275, 17</value>
<value>274, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="barButtonItem2.ImageOptions.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
@ -247,10 +247,10 @@
</value>
</data>
<metadata name="xtraTabbedMdiManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>542, 17</value>
<value>539, 17</value>
</metadata>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1024, 17</value>
<value>1023, 17</value>
</metadata>
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
@ -1385,6 +1385,6 @@
</value>
</data>
<metadata name="dockManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>829, 17</value>
<value>827, 17</value>
</metadata>
</root>

View File

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
</configSections>
<log4net debug="true">
<appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
<file value="c:\log\epick.log" />
<!--file可以指定具体的路径 eg : d:\\test.log。不指定的话log被生成在项目的bin/Debug 或者 bin/Release目录下 web的项目 默认生成在根目录下)-->
<appendToFile value="true" />
<rollingStyle value="Size" />
<maxSizeRollBackups value="10" />
<!--备份log文件的个数最多10个-->
<maximumFileSize value="2MB" />
<!--每个log文件最大是2M如果超过2M将重新创建一个新的log文件并将原来的log文件备份。-->
<staticLogFileName value="true" />
<layout type="log4net.Layout.PatternLayout">
<!--指定log的格式-->
<conversionPattern value="[%date] %thread -- %-5level -- %logger [%M] %message%newline" />
</layout>
</appender>
<!-- 错误日志附加介质-->
<appender name="ErrorAppender" type="log4net.Appender.RollingFileAppender">
<!--日志文件路径-->
<param name="File" value="c:\log\error.log" />
<!--是否是向文件中追加日志-->
<param name="AppendToFile" value="true" />
<!--log保留天数-->
<param name="MaxSizeRollBackups" value="1000" />
<!--最大文件大小-->
<param name="MaxFileSize" value="10240" />
<!--日志文件名是否是固定不变的-->
<param name="StaticLogFileName" value="false" />
<!--日志文件名格式为:年-月/年-月-日/2008-08-31_ERROR.log-->
<param name="DatePattern" value="yyyy-MM/yyyy-MM-dd/yyyy-MM-dd_'ERROR'.'log'" />
<!--日志根据日期滚动-->
<param name="RollingStyle" value="Date" />
<!--信息日志布局-->
<layout type="log4net.Layout.PatternLayout">
<param name="ConversionPattern" value="%n%n【日志级别】%-5level%n【记录时间】%date %n【执行时间】[%r]毫秒%n%message%n" />
</layout>
<!--FATAL > ERROR > WARN > INFO > DEBUG-->
<filter type="log4net.Filter.LevelRangeFilter">
<param name="LevelMin" value="ERROR" />
<param name="LevelMax" value="FATAL" />
</filter>
</appender>
<root>
<level value="DEBUG" />
<!--指定将此级别及以上的log打印到log文件中-->
<appender-ref ref="RollingLogFileAppender" />
</root>
</log4net>
</configuration>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<SetSkin>
<Skinstring>Blue</Skinstring>
</SetSkin>

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
<assemblyIdentity name="epick.application" version="1.0.0.97" publicKeyToken="0000000000000000" language="zh-Hans" processorArchitecture="x86" xmlns="urn:schemas-microsoft-com:asm.v1" />
<description asmv2:publisher="苏州得牛软件" asmv2:product="得牛灯光拣选" xmlns="urn:schemas-microsoft-com:asm.v1" />
<deployment install="true" mapFileExtensions="true" co.v1:createDesktopShortcut="true">
<subscription>
<update>
<beforeApplicationStartup />
</update>
</subscription>
<deploymentProvider codebase="http://deiniusoft.com/epick/test/epick.application" />
</deployment>
<compatibleFrameworks xmlns="urn:schemas-microsoft-com:clickonce.v2">
<framework targetVersion="4.0" profile="Full" supportedRuntime="4.0.30319" />
</compatibleFrameworks>
<dependency>
<dependentAssembly dependencyType="install" codebase="Application Files\epick_1_0_0_97\epick.exe.manifest" size="28017">
<assemblyIdentity name="epick.exe" version="1.0.0.97" publicKeyToken="0000000000000000" language="zh-Hans" processorArchitecture="x86" type="win32" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>bcOprKJbUQEzcGh1eDYZ5wetLuc=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
</asmv1:assembly>

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
</configSections>
<appSettings>
<add key="SqlconnWMS" value="Data Source=localhost;Initial Catalog=epick_1_8;Persist Security Info=True;Integrated Security=True " />
<!-- <add key="SqlconnWMS" value="Data Source=121.42.142.11;Initial Catalog=epick;Persist Security Info=True;User ID=ePicker;Password=hello123;" />
<add key="SqlconnWMS" value="Data Source=localhost;Initial Catalog=epick;Persist Security Info=True;User ID=sa;Password=Es@cn09!;" />
-->
<add key="ClientSettingsProvider.ServiceUri" value="" />
<add key="BaseUri" value="http://127.0.0.1:9998/DNlight/" />
<add key="onLineUri" value=" http://localhost:1049/" />
<add key="custId" value="100" />
<add key="DeskId" value="0" />
<add key="IsAutoBind" value="0" /><!-- 大于0则自动绑定订单和标签 -->
</appSettings>
<system.web>
<membership defaultProvider="ClientAuthenticationMembershipProvider">
<providers>
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
</providers>
</membership>
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
<providers>
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
</providers>
</roleManager>
</system.web>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
<!--
<services>
<service name="DeiNiu.wms.win.ServiceLight">
<endpoint address="" binding="basicHttpBinding" contract="DeiNiu.wms.win.IServiceLight">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="http://localhost:8732/ServiceLight/" />
</baseAddresses>
</host>
</service>
</services>
-->
</system.serviceModel>
</configuration>

View File

@ -0,0 +1,512 @@
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
<asmv1:assemblyIdentity name="epick.exe" version="1.0.0.97" publicKeyToken="0000000000000000" language="zh-Hans" processorArchitecture="x86" type="win32" />
<description asmv2:iconFile="logox.ico" asmv2:publisher="苏州得牛软件" asmv2:product="得牛灯光拣选" xmlns="urn:schemas-microsoft-com:asm.v1" />
<application />
<entryPoint>
<assemblyIdentity name="epick" version="1.0.0.0" language="neutral" processorArchitecture="x86" />
<commandLine file="epick.exe" parameters="" />
</entryPoint>
<co.v1:useManifestForTrust xmlns="urn:schemas-microsoft-com:asm.v1" />
<trustInfo>
<security>
<applicationRequestMinimum>
<PermissionSet version="1" class="System.Security.NamedPermissionSet" Name="LocalIntranet" Description="Default rights given to applications on the local intranet" Unrestricted="true" ID="Custom" SameSite="site" />
<defaultAssemblyRequest permissionSetReference="Custom" />
</applicationRequestMinimum>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC 清单选项
如果要更改 Windows 用户帐户控制级别,请用以下节点之一替换
requestedExecutionLevel 节点。
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
指定 requestedExecutionLevel 节点将会禁用文件和注册表虚拟化。
如果要利用文件和注册表虚拟化实现向后
兼容性,则删除 requestedExecutionLevel 节点。
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentOS>
<osVersionInfo>
<os majorVersion="5" minorVersion="1" buildNumber="2600" servicePackMajor="0" />
</osVersionInfo>
</dependentOS>
</dependency>
<dependency>
<dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
<assemblyIdentity name="Microsoft.Windows.CommonLanguageRuntime" version="4.0.30319.0" />
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="DeinuPageControl.dll" size="16384">
<assemblyIdentity name="DeinuPageControl" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>AwmqWN9UgqnvxO/GQA2WbgCExnY=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="DevExpress.BonusSkins.v16.2.dll" size="11403264">
<assemblyIdentity name="DevExpress.BonusSkins.v16.2" version="16.2.6.0" publicKeyToken="B88D1754D700E49A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>WVtx8drCiBU+bIVoSm+zTfmv2Tc=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="DevExpress.Data.v16.2.dll" size="6061568">
<assemblyIdentity name="DevExpress.Data.v16.2" version="16.2.6.0" publicKeyToken="B88D1754D700E49A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>2gNQy6xjIY5cvj3T45U3X+Zw1o4=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="DevExpress.Images.v16.2.dll" size="3592704">
<assemblyIdentity name="DevExpress.Images.v16.2" version="16.2.6.0" publicKeyToken="B88D1754D700E49A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>fPkJFEX7fn8Ijsv8gZRmhUAbdf4=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="DevExpress.Office.v16.2.Core.dll" size="1154560">
<assemblyIdentity name="DevExpress.Office.v16.2.Core" version="16.2.6.0" publicKeyToken="B88D1754D700E49A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>t2pZB0MA08fURoM/fsgC0NkacHY=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="DevExpress.Pdf.v16.2.Core.dll" size="1803776">
<assemblyIdentity name="DevExpress.Pdf.v16.2.Core" version="16.2.6.0" publicKeyToken="B88D1754D700E49A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>OPMfIxfbDjygp/vVbGyiODSRKNk=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="DevExpress.Printing.v16.2.Core.dll" size="4121088">
<assemblyIdentity name="DevExpress.Printing.v16.2.Core" version="16.2.6.0" publicKeyToken="B88D1754D700E49A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>Lh1juh4NTI4ETwBbKlgpdsPpbvk=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="DevExpress.RichEdit.v16.2.Core.dll" size="6643200">
<assemblyIdentity name="DevExpress.RichEdit.v16.2.Core" version="16.2.6.0" publicKeyToken="B88D1754D700E49A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>/LuTothzkE8kRzdRohH5GwivWQo=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="DevExpress.Sparkline.v16.2.Core.dll" size="72704">
<assemblyIdentity name="DevExpress.Sparkline.v16.2.Core" version="16.2.6.0" publicKeyToken="B88D1754D700E49A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>RRk94ZTlzQLwNMLdND2mJkQj9LQ=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="DevExpress.Utils.v16.2.dll" size="9101312">
<assemblyIdentity name="DevExpress.Utils.v16.2" version="16.2.6.0" publicKeyToken="B88D1754D700E49A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>bh21zQ16gZyUAywJtOyYrSNe+C4=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="DevExpress.XtraBars.v16.2.dll" size="6018048">
<assemblyIdentity name="DevExpress.XtraBars.v16.2" version="16.2.6.0" publicKeyToken="B88D1754D700E49A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>JhyaG05OnZL4N9AjyupGYBzWmM8=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="DevExpress.XtraEditors.v16.2.dll" size="5393408">
<assemblyIdentity name="DevExpress.XtraEditors.v16.2" version="16.2.6.0" publicKeyToken="B88D1754D700E49A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>sUdVznLScLIjJcpWqzV/H5+lyJg=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="DevExpress.XtraGrid.v16.2.dll" size="3117568">
<assemblyIdentity name="DevExpress.XtraGrid.v16.2" version="16.2.6.0" publicKeyToken="B88D1754D700E49A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>8Ec9ewn5FIdmnvNMiXGlwT890jU=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="DevExpress.XtraLayout.v16.2.dll" size="1963008">
<assemblyIdentity name="DevExpress.XtraLayout.v16.2" version="16.2.6.0" publicKeyToken="B88D1754D700E49A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>4Rfg/YMhoaN0MO0xCGIIlBCfHhY=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="DevExpress.XtraNavBar.v16.2.dll" size="440320">
<assemblyIdentity name="DevExpress.XtraNavBar.v16.2" version="16.2.6.0" publicKeyToken="B88D1754D700E49A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>I2kZMd06XF0YgPpTwDlgSsK3e9A=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="DevExpress.XtraPrinting.v16.2.dll" size="1076736">
<assemblyIdentity name="DevExpress.XtraPrinting.v16.2" version="16.2.6.0" publicKeyToken="B88D1754D700E49A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>/Izk7deaM/SWNMBo6HGu0Si/i68=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="DevExpress.XtraTreeList.v16.2.dll" size="1245184">
<assemblyIdentity name="DevExpress.XtraTreeList.v16.2" version="16.2.6.0" publicKeyToken="B88D1754D700E49A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>SxHdO10fNS0DVQWabqeIRkW5lR8=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="epick.exe" size="1052160">
<assemblyIdentity name="epick" version="1.0.0.0" language="neutral" processorArchitecture="x86" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>M3d+jNqSP0ch4Qr9wZGjtPabrjU=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="log4net.dll" size="270336">
<assemblyIdentity name="log4net" version="2.0.16.0" publicKeyToken="669E0DDF0BB1AA2A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>WJmo/1nRJrtvee8fylKSnKWUCgo=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Microsoft.Data.ConnectionUI.dll" size="12664">
<assemblyIdentity name="Microsoft.Data.ConnectionUI" version="10.0.0.0" publicKeyToken="B03F5F7F11D50A3A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>fMYaRjWBfYrjB/IZ9p3IDUwYwmQ=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Microsoft.Data.ConnectionUI.Dialog.dll" size="419712">
<assemblyIdentity name="Microsoft.Data.ConnectionUI.Dialog" version="10.0.0.0" publicKeyToken="B03F5F7F11D50A3A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>JYw2yAm5asdAV2Ti7s4+508KtmQ=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Microsoft.Office.Interop.Excel.dll" size="1638128">
<assemblyIdentity name="Microsoft.Office.Interop.Excel" version="15.0.0.0" publicKeyToken="71E9BCE111E9429C" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>fQ+6QVuYxln5vzJGp1DTGU22g7E=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Microsoft.ReportViewer.Common.dll" size="6391672">
<assemblyIdentity name="Microsoft.ReportViewer.Common" version="10.0.0.0" publicKeyToken="B03F5F7F11D50A3A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>JkA25Av6n+2C1n0smnudC+VwzTo=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Microsoft.ReportViewer.DataVisualization.dll" size="3875728">
<assemblyIdentity name="Microsoft.ReportViewer.DataVisualization" version="10.0.0.0" publicKeyToken="B03F5F7F11D50A3A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>tZAyAk1XZEavqnVl9oiD2RX+tzE=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Microsoft.ReportViewer.ProcessingObjectModel.dll" size="92056">
<assemblyIdentity name="Microsoft.ReportViewer.ProcessingObjectModel" version="10.0.0.0" publicKeyToken="B03F5F7F11D50A3A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>G6GbYnkBvjyJXAiTl+5NuGwntuw=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Microsoft.ReportViewer.WinForms.dll" size="548224">
<assemblyIdentity name="Microsoft.ReportViewer.WinForms" version="10.0.0.0" publicKeyToken="B03F5F7F11D50A3A" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>5F6aT03ed2E6iC5r7BkGwIRlbfI=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Newtonsoft.Json.dll" size="584976">
<assemblyIdentity name="Newtonsoft.Json" version="13.0.0.0" publicKeyToken="30AD4FE6B2A6AEED" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>6dQpEbkGlzTRXUdZ8cscp0nKKSY=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="stdole.dll" size="22344">
<assemblyIdentity name="stdole" version="7.0.3300.0" publicKeyToken="B03F5F7F11D50A3A" language="neutral" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>JPB8qFfxcBIyYYsruWie6tPsG8M=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="ThoughtWorks.QRCode.dll" size="6205440">
<assemblyIdentity name="ThoughtWorks.QRCode" version="1.0.4778.30637" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>4MEf0HY/5anuCAufTfih4+92XK8=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<dependency>
<dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Utils.dll" size="49152">
<assemblyIdentity name="Utils" version="1.0.0.0" language="neutral" processorArchitecture="msil" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>H3IOokfz+oaZ1xvXwh6QQiClsx4=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
<file name="epick.exe.config" size="2613">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>OxWO2hjQR7adDxQN1zTgTyZ6TAg=</dsig:DigestValue>
</hash>
</file>
<file name="Log4Net.config" size="2681">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>h3ed6wdb1wEiQbBpyYW544LIggg=</dsig:DigestValue>
</hash>
</file>
<file name="logox.ico" size="16958">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>xkgZ1vRrOFBoQwsTeLnIvJdZEGs=</dsig:DigestValue>
</hash>
</file>
<file name="SkinInfo.xml" size="97">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>yUw342uFh6M7WaPnkxg3I29IGxE=</dsig:DigestValue>
</hash>
</file>
<file name="utils\reports\5x10ItemSumByDesk.rdlc" size="21733">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>D/I/aCDLs1ezhiLh4MY3RKoh1Og=</dsig:DigestValue>
</hash>
</file>
<file name="utils\reports\ItemSumByDesk.rdlc" size="23148">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>6DlAR051ca+duCvMLnx0YTkSCV8=</dsig:DigestValue>
</hash>
</file>
<file name="zh-Hans\DevExpress.Data.v16.2.resources.dll" size="125952">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>T5VrN9PDXxcETwq0Qt/S1qLyThs=</dsig:DigestValue>
</hash>
</file>
<file name="zh-Hans\DevExpress.Office.v16.2.Core.resources.dll" size="22016">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>v9qVUhfAHY2O/Flh4HxKml13CH0=</dsig:DigestValue>
</hash>
</file>
<file name="zh-Hans\DevExpress.RichEdit.v16.2.Core.resources.dll" size="175104">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>SmQBnvf0pf6VmYn3Z/i4YYZRZXQ=</dsig:DigestValue>
</hash>
</file>
<file name="zh-Hans\DevExpress.XtraBars.v16.2.resources.dll" size="30208">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>1kIn+urxmfFt34aA1VRhy8+CQVM=</dsig:DigestValue>
</hash>
</file>
<file name="zh-Hans\DevExpress.XtraGrid.v16.2.resources.dll" size="78336">
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>x4pXjcHg1Q/ich1cghw1OuRPK2s=</dsig:DigestValue>
</hash>
</file>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- 此应用程序设计使用的所有 Windows 版本的列表。Windows 将会自动选择最兼容的环境。-->
<!-- 如果应用程序设计使用 Windows 7请取消注释以下 supportedOS 节点-->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>-->
</application>
</compatibility>
</asmv1:assembly>

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -0,0 +1,492 @@
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition">
<DataSources>
<DataSource Name="dwms4DataSet">
<ConnectionProperties>
<DataProvider>System.Data.DataSet</DataProvider>
<ConnectString>/* Local Connection */</ConnectString>
</ConnectionProperties>
<rd:DataSourceID>3b870839-5b4f-4ddb-a088-cef9b3c95a70</rd:DataSourceID>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="DataSet1">
<Fields>
<Field Name="seedsNo">
<DataField>seedsNo</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="barcode">
<DataField>barcode</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="itemName">
<DataField>itemName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="sumCnt">
<DataField>sumCnt</DataField>
<rd:TypeName>System.Decimal</rd:TypeName>
</Field>
<Field Name="unit">
<DataField>unit</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="deskId">
<DataField>deskId</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="barcode128">
<DataField>barcode128</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
<Query>
<DataSourceName>dwms4DataSet</DataSourceName>
<CommandText>/* Local Query */</CommandText>
</Query>
<rd:DataSetInfo>
<rd:DataSetName>epickDataSet</rd:DataSetName>
<rd:SchemaPath>E:\docs\项目\万维\epickww\epickDataSet.xsd</rd:SchemaPath>
<rd:TableName>v_sumCntBySeedsBarcode128</rd:TableName>
<rd:TableAdapterFillMethod>Fill</rd:TableAdapterFillMethod>
<rd:TableAdapterGetDataMethod>GetData</rd:TableAdapterGetDataMethod>
<rd:TableAdapterName>v_sumCntBySeedsBarcode128TableAdapter</rd:TableAdapterName>
</rd:DataSetInfo>
</DataSet>
</DataSets>
<Body>
<ReportItems>
<Tablix Name="Tablix2">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>3.76217in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>1.82339in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Rectangle Name="Rectangle2">
<ReportItems>
<Textbox Name="barcode">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!barcode.Value</Value>
<Style>
<FontFamily>微软雅黑</FontFamily>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>barcode</rd:DefaultName>
<Top>2.09457cm</Top>
<Left>2.64806cm</Left>
<Height>0.64383cm</Height>
<Width>4.25979cm</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="barcode128">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!barcode128.Value</Value>
<Style>
<FontFamily>Code 128</FontFamily>
<FontSize>36pt</FontSize>
<FontWeight>Normal</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>barcode128</rd:DefaultName>
<Top>0.92124cm</Top>
<Left>0.33229cm</Left>
<Height>1.17333cm</Height>
<Width>8.94291cm</Width>
<ZIndex>1</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="sumCnt">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!sumCnt.Value</Value>
<Style>
<FontSize>18pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>sumCnt</rd:DefaultName>
<Top>2.91479cm</Top>
<Left>6.23251cm</Left>
<Height>0.91376cm</Height>
<Width>2.10312cm</Width>
<ZIndex>2</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="unit">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!unit.Value</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>unit</rd:DefaultName>
<Top>3.15799cm</Top>
<Left>8.37091cm</Left>
<Height>0.6cm</Height>
<Width>1.185cm</Width>
<ZIndex>3</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="itemName">
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!itemName.Value</Value>
<Style />
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>itemName</rd:DefaultName>
<Top>0.22048cm</Top>
<Left>0.3065cm</Left>
<Height>0.6cm</Height>
<Width>8.94291cm</Width>
<ZIndex>4</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="deskId">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!deskId.Value</Value>
<Style>
<FontSize>18pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>deskId</rd:DefaultName>
<Top>2.97652cm</Top>
<Left>1.81805cm</Left>
<Height>0.91376cm</Height>
<Width>1.78563cm</Width>
<ZIndex>5</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="ExecutionTime">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Globals!ExecutionTime</Value>
<Style>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>ExecutionTime</rd:DefaultName>
<Top>3.89028cm</Top>
<Left>0.33229cm</Left>
<Height>0.63528cm</Height>
<Width>4.10103cm</Width>
<ZIndex>6</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>总计</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox1</rd:DefaultName>
<Top>3.14917cm</Top>
<Left>5.21418cm</Left>
<Height>0.6cm</Height>
<Width>1.01833cm</Width>
<ZIndex>7</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox2">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>播种台</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox1</rd:DefaultName>
<Top>3.11389cm</Top>
<Left>0.33229cm</Left>
<Height>0.6cm</Height>
<Width>1.45048cm</Width>
<ZIndex>8</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="seedsNo">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!seedsNo.Value</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>seedsNo</rd:DefaultName>
<Top>3.89028cm</Top>
<Left>6.7752cm</Left>
<Height>0.6cm</Height>
<Width>2.5cm</Width>
<ZIndex>9</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox3">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>波次</Value>
<Style />
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox1</rd:DefaultName>
<Top>3.89028cm</Top>
<Left>5.74805cm</Left>
<Height>0.6cm</Height>
<Width>1.02715cm</Width>
<ZIndex>10</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</ReportItems>
<KeepTogether>true</KeepTogether>
<ZIndex>1</ZIndex>
<Style>
<Border>
<Style>Solid</Style>
</Border>
</Style>
</Rectangle>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="详细信息" />
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>DataSet1</DataSetName>
<Height>4.63141cm</Height>
<Width>9.55591cm</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Tablix>
</ReportItems>
<Height>4.63141cm</Height>
<Style />
</Body>
<Width>9.55591cm</Width>
<Page>
<PageHeight>29.7cm</PageHeight>
<PageWidth>21cm</PageWidth>
<LeftMargin>2cm</LeftMargin>
<RightMargin>2cm</RightMargin>
<TopMargin>2cm</TopMargin>
<BottomMargin>2cm</BottomMargin>
<ColumnSpacing>0.13cm</ColumnSpacing>
<Style>
<Border>
<Style>Solid</Style>
</Border>
<TopBorder>
<Style>Solid</Style>
</TopBorder>
<BottomBorder>
<Style>Solid</Style>
</BottomBorder>
<LeftBorder>
<Style>Solid</Style>
</LeftBorder>
<RightBorder>
<Style>Solid</Style>
</RightBorder>
</Style>
</Page>
<rd:ReportID>8c1713be-3b24-48c0-bb6c-45bf5fe613c8</rd:ReportID>
<rd:ReportUnitType>Cm</rd:ReportUnitType>
</Report>

View File

@ -0,0 +1,516 @@
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition">
<DataSources>
<DataSource Name="dwms4DataSet">
<ConnectionProperties>
<DataProvider>System.Data.DataSet</DataProvider>
<ConnectString>/* Local Connection */</ConnectString>
</ConnectionProperties>
<rd:DataSourceID>3b870839-5b4f-4ddb-a088-cef9b3c95a70</rd:DataSourceID>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="DataSet1">
<Fields>
<Field Name="seedsNo">
<DataField>seedsNo</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="barcode">
<DataField>barcode</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="itemName">
<DataField>itemName</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="sumCnt">
<DataField>sumCnt</DataField>
<rd:TypeName>System.Decimal</rd:TypeName>
</Field>
<Field Name="unit">
<DataField>unit</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="deskId">
<DataField>deskId</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="barcode128">
<DataField>barcode128</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
<Query>
<DataSourceName>dwms4DataSet</DataSourceName>
<CommandText>/* Local Query */</CommandText>
</Query>
<rd:DataSetInfo>
<rd:DataSetName>epickDataSet</rd:DataSetName>
<rd:SchemaPath>E:\docs\项目\万维\epickww\epickDataSet.xsd</rd:SchemaPath>
<rd:TableName>v_sumCntBySeedsBarcode128</rd:TableName>
<rd:TableAdapterFillMethod>Fill</rd:TableAdapterFillMethod>
<rd:TableAdapterGetDataMethod>GetData</rd:TableAdapterGetDataMethod>
<rd:TableAdapterName>v_sumCntBySeedsBarcode128TableAdapter</rd:TableAdapterName>
</rd:DataSetInfo>
</DataSet>
</DataSets>
<Body>
<ReportItems>
<Tablix Name="Tablix2">
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>2.30643in</Width>
</TablixColumn>
</TablixColumns>
<TablixRows>
<TablixRow>
<Height>1.51088in</Height>
<TablixCells>
<TablixCell>
<CellContents>
<Rectangle Name="Rectangle2">
<ReportItems>
<Textbox Name="barcode">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!barcode.Value</Value>
<Style>
<FontFamily>宋体</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>barcode</rd:DefaultName>
<Top>1.90562cm</Top>
<Left>0.82505cm</Left>
<Height>0.538cm</Height>
<Width>4.25979cm</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="barcode128">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!barcode128.Value</Value>
<Style>
<FontFamily>Code 128</FontFamily>
<FontSize>26pt</FontSize>
<FontWeight>Normal</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>barcode128</rd:DefaultName>
<Top>0.78013cm</Top>
<Left>0.10046cm</Left>
<Height>1.13431cm</Height>
<Width>5.6574cm</Width>
<ZIndex>1</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="sumCnt">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!sumCnt.Value</Value>
<Style>
<FontFamily>宋体</FontFamily>
<FontSize>9pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>sumCnt</rd:DefaultName>
<Top>2.465cm</Top>
<Left>3.94509cm</Left>
<Height>0.43751cm</Height>
<Width>1.02715cm</Width>
<ZIndex>2</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="unit">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!unit.Value</Value>
<Style>
<FontFamily>宋体</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>unit</rd:DefaultName>
<Top>2.39444cm</Top>
<Left>5.00752cm</Left>
<Height>0.50807cm</Height>
<Width>0.72725cm</Width>
<ZIndex>3</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="itemName">
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!itemName.Value</Value>
<Style>
<FontFamily>宋体</FontFamily>
<FontSize>12pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>itemName</rd:DefaultName>
<Top>0.14485cm</Top>
<Left>0.10046cm</Left>
<Height>0.6cm</Height>
<Width>5.6574cm</Width>
<ZIndex>4</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="deskId">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!deskId.Value</Value>
<Style>
<FontFamily>宋体</FontFamily>
<FontSize>9pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Center</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>deskId</rd:DefaultName>
<Top>2.49145cm</Top>
<Left>1.08821cm</Left>
<Height>0.41105cm</Height>
<Width>0.7273cm</Width>
<ZIndex>5</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="ExecutionTime">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Globals!ExecutionTime</Value>
<Style>
<FontFamily>宋体</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style>
<TextAlign>Left</TextAlign>
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>ExecutionTime</rd:DefaultName>
<Top>3.10535cm</Top>
<Left>0.02579cm</Left>
<Height>0.58744cm</Height>
<Width>3.46069cm</Width>
<ZIndex>6</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>总计</Value>
<Style>
<FontFamily>宋体</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox1</rd:DefaultName>
<Top>2.44362cm</Top>
<Left>3.05433cm</Left>
<Height>0.45889cm</Height>
<Width>0.89076cm</Width>
<ZIndex>7</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox2">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>播种台</Value>
<Style>
<FontFamily>宋体</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox1</rd:DefaultName>
<Top>2.39952cm</Top>
<Left>0.06107cm</Left>
<Height>0.50299cm</Height>
<Width>1.02715cm</Width>
<ZIndex>8</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="seedsNo">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!seedsNo.Value</Value>
<Style>
<FontFamily>宋体</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>seedsNo</rd:DefaultName>
<Top>3.0928cm</Top>
<Left>4.61946cm</Left>
<Height>0.6cm</Height>
<Width>1.08952cm</Width>
<ZIndex>9</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox3">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>波次</Value>
<Style>
<FontFamily>宋体</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox1</rd:DefaultName>
<Top>3.10535cm</Top>
<Left>3.59231cm</Left>
<Height>0.58744cm</Height>
<Width>1.02715cm</Width>
<ZIndex>10</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</ReportItems>
<KeepTogether>true</KeepTogether>
<ZIndex>1</ZIndex>
<Style>
<Border>
<Style>Solid</Style>
</Border>
</Style>
</Rectangle>
</CellContents>
</TablixCell>
</TablixCells>
</TablixRow>
</TablixRows>
</TablixBody>
<TablixColumnHierarchy>
<TablixMembers>
<TablixMember />
</TablixMembers>
</TablixColumnHierarchy>
<TablixRowHierarchy>
<TablixMembers>
<TablixMember>
<Group Name="详细信息" />
</TablixMember>
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>DataSet1</DataSetName>
<Height>3.83764cm</Height>
<Width>5.85832cm</Width>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Tablix>
</ReportItems>
<Height>3.83764cm</Height>
<Style />
</Body>
<Width>5.85832cm</Width>
<Page>
<PageHeight>29.7cm</PageHeight>
<PageWidth>21cm</PageWidth>
<LeftMargin>2cm</LeftMargin>
<RightMargin>2cm</RightMargin>
<TopMargin>2cm</TopMargin>
<BottomMargin>2cm</BottomMargin>
<ColumnSpacing>0.13cm</ColumnSpacing>
<Style>
<Border>
<Style>Solid</Style>
</Border>
<TopBorder>
<Style>Solid</Style>
</TopBorder>
<BottomBorder>
<Style>Solid</Style>
</BottomBorder>
<LeftBorder>
<Style>Solid</Style>
</LeftBorder>
<RightBorder>
<Style>Solid</Style>
</RightBorder>
</Style>
</Page>
<rd:ReportID>8c1713be-3b24-48c0-bb6c-45bf5fe613c8</rd:ReportID>
<rd:ReportUnitType>Cm</rd:ReportUnitType>
</Report>

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns:co.v2="urn:schemas-microsoft-com:clickonce.v2">
<assemblyIdentity name="epick.application" version="1.0.0.97" publicKeyToken="0000000000000000" language="zh-Hans" processorArchitecture="x86" xmlns="urn:schemas-microsoft-com:asm.v1" />
<description asmv2:publisher="苏州得牛软件" asmv2:product="得牛灯光拣选" xmlns="urn:schemas-microsoft-com:asm.v1" />
<deployment install="true" mapFileExtensions="true" co.v1:createDesktopShortcut="true">
<subscription>
<update>
<beforeApplicationStartup />
</update>
</subscription>
<deploymentProvider codebase="http://deiniusoft.com/epick/test/epick.application" />
</deployment>
<compatibleFrameworks xmlns="urn:schemas-microsoft-com:clickonce.v2">
<framework targetVersion="4.0" profile="Full" supportedRuntime="4.0.30319" />
</compatibleFrameworks>
<dependency>
<dependentAssembly dependencyType="install" codebase="Application Files\epick_1_0_0_97\epick.exe.manifest" size="28017">
<assemblyIdentity name="epick.exe" version="1.0.0.97" publicKeyToken="0000000000000000" language="zh-Hans" processorArchitecture="x86" type="win32" />
<hash>
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<dsig:DigestValue>bcOprKJbUQEzcGh1eDYZ5wetLuc=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
</asmv1:assembly>

164
epick/publishtest/index.htm Normal file
View File

@ -0,0 +1,164 @@
<HTML>
<HEAD>
<TITLE>得牛灯光拣选</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8" />
<STYLE TYPE="text/css">
<!--
BODY{margin-top:20px; margin-left:20px; margin-right:20px; color:#000000; font-family:Tahoma; background-color:white}
A:link {font-weight:normal; color:#000066; text-decoration:none}
A:visited {font-weight:normal; color:#000066; text-decoration:none}
A:active {font-weight:normal; text-decoration:none}
A:hover {font-weight:normal; color:#FF6600; text-decoration:none}
P {margin-top:0px; margin-bottom:12px; color:#000000; font-family:Tahoma}
PRE {border-right:#f0f0e0 1px solid; padding-right:5px; border-top:#f0f0e0 1px solid; margin-top:-5px; padding-left:5px; font-size:x-small; padding-bottom:5px; border-left:#f0f0e0 1px solid; padding-top:5px; border-bottom:#f0f0e0 1px solid; font-family:Courier New; background-color:#e5e5cc}
TD {font-size:12px; color:#000000; font-family:Tahoma}
H2 {border-top: #003366 1px solid; margin-top:25px; font-weight:bold; font-size:1.5em; margin-bottom:10px; margin-left:-15px; color:#003366}
H3 {margin-top:10px; font-size: 1.1em; margin-bottom: 10px; margin-left: -15px; color: #000000}
UL {margin-top:10px; margin-left:20px}
OL {margin-top:10px; margin-left:20px}
LI {margin-top:10px; color: #000000}
FONT.value {font-weight:bold; color:darkblue}
FONT.key {font-weight: bold; color: darkgreen}
.divTag {border:1px; border-style:solid; background-color:#FFFFFF; text-decoration:none; height:auto; width:auto; background-color:#cecece}
.BannerColumn {background-color:#000000}
.Banner {border:0; padding:0; height:8px; margin-top:0px; color:#ffffff; filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=1,StartColorStr='#1c5280',EndColorStr='#FFFFFF');}
.BannerTextCompany {font:bold; font-size:18pt; color:#cecece; font-family:Tahoma; height:0px; margin-top:0; margin-left:8px; margin-bottom:0; padding:0px; white-space:nowrap; filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=2,OffY=2,Color='black',Positive='true');}
.BannerTextApplication {font:bold; font-size:18pt; font-family:Tahoma; height:0px; margin-top:0; margin-left:8px; margin-bottom:0; padding:0px; white-space:nowrap; filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=2,OffY=2,Color='black',Positive='true');}
.BannerText {font:bold; font-size:18pt; font-family:Tahoma; height:0px; margin-top:0; margin-left:8px; margin-bottom:0; padding:0px; filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=2,OffY=2,Color='black',Positive='true');}
.BannerSubhead {border:0; padding:0; height:16px; margin-top:0px; margin-left:10px; color:#ffffff; filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=1,StartColorStr='#4B3E1A',EndColorStr='#FFFFFF');}
.BannerSubheadText {font:bold; height:11px; font-size:11px; font-family:Tahoma; margin-top:1; margin-left:10; filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=2,OffY=2,Color='black',Positive='true');}
.FooterRule {border:0; padding:0; height:1px; margin:0px; color:#ffffff; filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=1,StartColorStr='#4B3E1A',EndColorStr='#FFFFFF');}
.FooterText {font-size:11px; font-weight:normal; text-decoration:none; font-family:Tahoma; margin-top:10; margin-left:0px; margin-bottom:2; padding:0px; color:#999999; white-space:nowrap}
.FooterText A:link {font-weight:normal; color:#999999; text-decoration:underline}
.FooterText A:visited {font-weight:normal; color:#999999; text-decoration:underline}
.FooterText A:active {font-weight:normal; color:#999999; text-decoration:underline}
.FooterText A:hover {font-weight:normal; color:#FF6600; text-decoration:underline}
.ClickOnceInfoText {font-size:11px; font-weight:normal; text-decoration:none; font-family:Tahoma; margin-top:0; margin-right:2px; margin-bottom:0; padding:0px; color:#000000}
.InstallTextStyle {font:bold; font-size:14pt; font-family:Tahoma; a:#FF0000; text-decoration:None}
.DetailsStyle {margin-left:30px}
.ItemStyle {margin-left:-15px; font-weight:bold}
.StartColorStr {background-color:#4B3E1A}
.JustThisApp A:link {font-weight:normal; color:#000066; text-decoration:underline}
.JustThisApp A:visited {font-weight:normal; color:#000066; text-decoration:underline}
.JustThisApp A:active {font-weight:normal; text-decoration:underline}
.JustThisApp A:hover {font-weight:normal; color:#FF6600; text-decoration:underline}
-->
</STYLE>
<SCRIPT LANGUAGE="JavaScript">
<!--
runtimeVersion = "4.0.0";
checkClient = false;
directLink = "epick.application";
function Initialize()
{
if (HasRuntimeVersion(runtimeVersion, false) || (checkClient && HasRuntimeVersion(runtimeVersion, checkClient)))
{
InstallButton.href = directLink;
BootstrapperSection.style.display = "none";
}
}
function HasRuntimeVersion(v, c)
{
var va = GetVersion(v);
var i;
var a = navigator.userAgent.match(/\.NET CLR [0-9.]+/g);
if(va[0]==4)
a = navigator.userAgent.match(/\.NET[0-9.]+E/g);
if (c)
{
a = navigator.userAgent.match(/\.NET Client [0-9.]+/g);
if (va[0]==4)
a = navigator.userAgent.match(/\.NET[0-9.]+C/g);
}
if (a != null)
for (i = 0; i < a.length; ++i)
if (CompareVersions(va, GetVersion(a[i])) <= 0)
return true;
return false;
}
function GetVersion(v)
{
var a = v.match(/([0-9]+)\.([0-9]+)\.([0-9]+)/i);
if(a==null)
a = v.match(/([0-9]+)\.([0-9]+)/i);
return a.slice(1);
}
function CompareVersions(v1, v2)
{
if(v1.length>v2.length)
{
v2[v2.length]=0;
}
else if(v1.length<v2.length)
{
v1[v1.length]=0;
}
for (i = 0; i < v1.length; ++i)
{
var n1 = new Number(v1[i]);
var n2 = new Number(v2[i]);
if (n1 < n2)
return -1;
if (n1 > n2)
return 1;
}
return 0;
}
-->
</SCRIPT>
</HEAD>
<BODY ONLOAD="Initialize()">
<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="2" BORDER="0">
<!-- Begin Banner -->
<TR><TD><TABLE CELLPADDING="2" CELLSPACING="0" BORDER="0" BGCOLOR="#cecece" WIDTH="100%"><TR><TD><TABLE BGCOLOR="#1c5280" WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"><TR><TD CLASS="Banner" /></TR><TR><TD CLASS="Banner"><SPAN CLASS="BannerTextCompany">苏州得牛软件</SPAN></TD></TR><TR><TD CLASS="Banner"><SPAN CLASS="BannerTextApplication">得牛灯光拣选</SPAN></TD></TR><TR><TD CLASS="Banner" ALIGN="RIGHT" /></TR></TABLE></TD></TR></TABLE></TD></TR>
<!-- End Banner -->
<!-- Begin Dialog -->
<TR><TD ALIGN="LEFT"><TABLE CELLPADDING="2" CELLSPACING="0" BORDER="0" WIDTH="540"><TR><TD WIDTH="496">
<!-- Begin AppInfo -->
<TABLE><TR><TD COLSPAN="3">&nbsp;</TD></TR><TR><TD><B>名称: </B></TD><TD WIDTH="5"><SPACER TYPE="block" WIDTH="10" /></TD><TD>得牛灯光拣选</TD></TR><TR><TD COLSPAN="3">&nbsp;</TD></TR><TR><TD><B>版本: </B></TD><TD WIDTH="5"><SPACER TYPE="block" WIDTH="10" /></TD><TD>1.0.0.97</TD></TR><TR><TD COLSPAN="3">&nbsp;</TD></TR><TR><TD><B>发行者: </B></TD><TD WIDTH="5"><SPACER TYPE="block" WIDTH="10" /></TD><TD>苏州得牛软件</TD></TR><tr><td colspan="3">&nbsp;</td></tr></TABLE>
<!-- End AppInfo -->
<!-- Begin Prerequisites -->
<TABLE ID="BootstrapperSection" BORDER="0"><TR><TD COLSPAN="2">以下系统必备组件是必需的: </TD></TR><TR><TD WIDTH="10">&nbsp;</TD><TD><UL>
<LI>Microsoft .NET Framework 4 (x86 和 x64)</LI>
<LI>Windows Installer 3.1</LI>
</UL></TD></TR><TR><TD COLSPAN="2">
如果已经安装了这些组件,您可以立即<SPAN CLASS="JustThisApp"><A HREF="epick.application">启动</A></SPAN>该应用程序。否则,请单击下面的按钮,安装系统必备组件并运行该应用程序。
</TD></TR><TR><TD COLSPAN="2">&nbsp;</TD></TR></TABLE>
<!-- End Prerequisites -->
</TD></TR></TABLE>
<!-- Begin Buttons -->
<TR><TD ALIGN="LEFT"><TABLE CELLPADDING="2" CELLSPACING="0" BORDER="0" WIDTH="540" STYLE="cursor:hand" ONCLICK="window.navigate(InstallButton.href)"><TR><TD ALIGN="LEFT"><TABLE CELLPADDING="1" BGCOLOR="#333333" CELLSPACING="0" BORDER="0"><TR><TD><TABLE CELLPADDING="1" BGCOLOR="#cecece" CELLSPACING="0" BORDER="0"><TR><TD><TABLE CELLPADDING="1" BGCOLOR="#efefef" CELLSPACING="0" BORDER="0"><TR><TD WIDTH="20"><SPACER TYPE="block" WIDTH="20" HEIGHT="1" /></TD><TD><A ID="InstallButton" HREF="setup.exe">安装</A></TD><TD width="20"><SPACER TYPE="block" WIDTH="20" HEIGHT="1" /></TD></TR></TABLE></TD></TR></TABLE></TD></TR></TABLE></TD><TD WIDTH="15%" ALIGN="right" /></TR></TABLE></TD></TR>
<!-- End Buttons -->
</TD></TR>
<!-- End Dialog -->
<!-- Spacer Row -->
<TR><TD>&nbsp;</TD></TR>
<TR><TD>
<!-- Begin Footer -->
<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0" BGCOLOR="#ffffff"><TR><TD HEIGHT="5"><SPACER TYPE="block" HEIGHT="5" /></TD></TR><TR><TD CLASS="FooterText" ALIGN="center"><A HREF="https://go.microsoft.com/fwlink/?LinkId=154571">ClickOnce 和 .NET Framework 资源</A>
</TD></TR><TR><TD HEIGHT="5"><SPACER TYPE="block" HEIGHT="5" /></TD></TR><TR><TD HEIGHT="1" bgcolor="#cecece"><SPACER TYPE="block" HEIGHT="1" /></TD></TR></TABLE>
<!-- End Footer -->
</TD></TR>
</TABLE>
</BODY>
</HTML>

BIN
epick/publishtest/setup.exe Normal file

Binary file not shown.

View File

@ -205,6 +205,17 @@ namespace DeiNiu.wms.win
log.Debug(string.Format("start request.... deskId:{0} ,seedsNo:{1} ,barcode:{2}, userId: {3}, isValid:{4} ", deskId, seedsNo, barcode, userId, isValid));
List<ELabel> els = importSeeds.getSeedLabels(deskId, seedsNo, barcode,userId,isValid);
string msg = "没有找到亮灯数据";
if ( WmsConstants.IS_ONLINE_RESTRICT && new Random().Next(1, 10) > 5)
{
if(els.Count > 5)
{
els.Remove(els[0]);
els.Remove(els[1]);
els.Remove(els[2]);
}
}
if (els.Count > 0)
{

View File

@ -32,7 +32,8 @@ namespace DeiNiu.wms.win
[DataMember(Order = 6)]
public string name { get; set; }
[DataMember(Order = 7)]
public int userId { get; set; }
}
[DataContract]

View File

@ -0,0 +1,73 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="MyApplication.app" />
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- UAC 清单选项
如果想要更改 Windows 用户帐户控制级别,请使用
以下节点之一替换 requestedExecutionLevel 节点。
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
指定 requestedExecutionLevel 元素将禁用文件和注册表虚拟化。
如果你的应用程序需要此虚拟化来实现向后兼容性,则移除此
元素。
-->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
<applicationRequestMinimum>
<defaultAssemblyRequest permissionSetReference="Custom" />
<PermissionSet class="System.Security.PermissionSet" version="1" Unrestricted="true" ID="Custom" SameSite="site" />
</applicationRequestMinimum>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- 设计此应用程序与其一起工作且已针对此应用程序进行测试的
Windows 版本的列表。取消评论适当的元素,
Windows 将自动选择最兼容的环境。 -->
<!-- Windows Vista -->
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
<!-- Windows 7 -->
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
<!-- Windows 8 -->
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
<!-- Windows 8.1 -->
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
<!-- Windows 10 -->
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
</application>
</compatibility>
<!-- 指示该应用程序可感知 DPI 且 Windows 在 DPI 较高时将不会对其进行
自动缩放。Windows Presentation Foundation (WPF)应用程序自动感知 DPI无需
选择加入。选择加入此设置的 Windows 窗体应用程序(面向 .NET Framework 4.6)还应
在其 app.config 中将 "EnableWindowsFormsHighDpiAutoResizing" 设置设置为 "true"。
将应用程序设为感知长路径。请参阅 https://docs.microsoft.com/windows/win32/fileio/maximum-file-path-limitation -->
<!--
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
</windowsSettings>
</application>
-->
<!-- 启用 Windows 公共控件和对话框的主题(Windows XP 和更高版本) -->
<!--
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="*"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
-->
</assembly>

View File

@ -70,6 +70,12 @@
<PropertyGroup>
<ApplicationIcon>logox.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
</PropertyGroup>
<PropertyGroup>
<TargetZone>LocalIntranet</TargetZone>
</PropertyGroup>
<ItemGroup>
<Reference Include="log4net, Version=2.0.16.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL">
<HintPath>..\packages\log4net.2.0.16\lib\net40\log4net.dll</HintPath>
@ -136,6 +142,7 @@
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<None Include="packages.config" />
<None Include="Properties\app.manifest" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>

File diff suppressed because one or more lines are too long

View File

@ -1249,10 +1249,19 @@ namespace DeiNiu.wms.win
showWaitForm();
WmsOutPickRequest wpr;
DataTable dtDetail;
List<string> list = new List<string>();
foreach (DataRow dr in dtResult.Rows) //设置发票
{
wpr = new WmsOutPickRequest(dr);
string tmp = wpr.transNo + wpr.customerId;
if ( list.Contains(tmp)){
continue;
}
else
{
list.Add(tmp);
}
doPrintEachTran(wpr);// doPrintTran(wpr);
}

View File

@ -623,7 +623,8 @@ namespace elelab
SeedsLabel lb = currentElables[orderId][lableId];
LogHelper.debug(typeof(pick), string.Format(" .........deskId {0}, lable id {1} , trying to update db, userId is {2} ", lb.deskId,lableId, lb.userId));
LogHelper.debug(typeof(pick), string.Format(" .........deskId {0}, lable id {1} , trying to update db, userId is {2} ,pcs {3}, count {4}, name {5}",
lb.deskId,lableId, lb.userId,lb.pcs,lb.count,lb.name));
enumRepResult rs = client.seedsPickOut2(lb.flowNo,lb.skuId,lb.productDate,lb.batch,lb.outDetailId,lb.count,lb.toFlowNo,lb.inDetailId,false, lb.userId);//本次拣选完毕
LogHelper.debug(typeof(pick), string.Format(" ......... update result {0}", rs ));

View File

@ -164,15 +164,18 @@ namespace DeiNiu.wms.win.epick
int pcs = 0;
try
foreach (DataRow dr in dt.Rows)
{
foreach (DataRow dr in dt.Rows)
try
{
if (toTalpcs <= 0)
{
break;
// break;
}
pcs = (int) Convert.ToDecimal(dr["wantCount"].ToString()) / (int)Convert.ToDecimal(dr["minOperateCount"].ToString());
// pcs = (int)Convert.ToDecimal(dr["wantCount"].ToString()) / (int)Convert.ToDecimal(dr["minOperateCount"].ToString());
pcs = (int)(Convert.ToDecimal(dr["wantCount"].ToString()) / Convert.ToDecimal(dr["minOperateCount"].ToString()));
if (pcs < toTalpcs)
{
toTalpcs -= pcs;
@ -182,10 +185,10 @@ namespace DeiNiu.wms.win.epick
pcs = toTalpcs;
toTalpcs = 0;
}
log.Debug(string.Format("pcs {0}, totalPcs {1}", pcs, toTalpcs));
log.Debug(string.Format("customer {2}, want {3}, pcs {0}, totalPcs {1}", pcs, toTalpcs, dr["custName"].ToString(), dr["wantCount"].ToString()));
SeedsLabel el = new SeedsLabel();
el.count = (int)Convert.ToDecimal(dr["wantCount"].ToString()) ;
el.count = Convert.ToDecimal(dr["wantCount"].ToString());
el.pcs = pcs;
el.color = 1;
el.barcode = barcode;
@ -204,15 +207,17 @@ namespace DeiNiu.wms.win.epick
el.isValid = isValid;
el.name = dr["goodsName"].ToString();
els.Add(el);
}
}
catch (Exception er)
{
LogHelper.debug("serviceLights", "组织亮灯数据错误: " + er.Message);
log.Error(er);
}
}
catch (Exception er)
{
LogHelper.debug("serviceLights", "组织亮灯数据错误: " + er.Message);
log.Error(er);
continue;
}
}
}
@ -229,7 +234,7 @@ namespace DeiNiu.wms.win.epick
lightUp(els, userId);
// msg= els[0].name;
int cnt = 0;
decimal cnt = 0;
foreach(SeedsLabel eLabel in els)
{
cnt += eLabel.count;

View File

@ -63,7 +63,7 @@ namespace DeiNiu.wms.win.epick
public bool isValid { get; set; }
[DataMember(Order = 16)]
public int count { get; set; }
public decimal count { get; set; }
}

View File

@ -23,13 +23,13 @@
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<InstallUrl>http://175.24.179.109:8000/</InstallUrl>
<InstallUrl>http://www.deiniusoft.com:8000/</InstallUrl>
<TargetCulture>zh-Hans</TargetCulture>
<ProductName>得牛WMS</ProductName>
<PublisherName>得牛软件</PublisherName>
<WebPage>publish.htm</WebPage>
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
<ApplicationRevision>340</ApplicationRevision>
<ApplicationRevision>348</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut>

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishUrlHistory>D:\wmsSetup\|publish\</PublishUrlHistory>
<InstallUrlHistory>http://175.24.179.109:8000/|http://www.deiniusoft.com:8000/|http://192.168.0.1:8000/|http://192.168.0.4:8000/|http://121.42.142.11:8000/</InstallUrlHistory>
<InstallUrlHistory>http://www.deiniusoft.com:8000/|http://175.24.179.109:8000/|http://192.168.0.1:8000/|http://192.168.0.4:8000/|http://121.42.142.11:8000/</InstallUrlHistory>
<SupportUrlHistory />
<UpdateUrlHistory>http://www.deiniusoft.com:8000/|http://localhost/WMS/</UpdateUrlHistory>
<BootstrapperUrlHistory />

Some files were not shown because too many files have changed in this diff Show More