diff --git a/InjectionPC/bin/Debug/111.jpg b/InjectionPC/bin/Debug/111.jpg deleted file mode 100644 index 390825c..0000000 Binary files a/InjectionPC/bin/Debug/111.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409101110668.jpg b/InjectionPC/bin/Debug/20200409101110668.jpg deleted file mode 100644 index cc8b4ee..0000000 Binary files a/InjectionPC/bin/Debug/20200409101110668.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409101203760.jpg b/InjectionPC/bin/Debug/20200409101203760.jpg deleted file mode 100644 index 2fc2951..0000000 Binary files a/InjectionPC/bin/Debug/20200409101203760.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409101239287.jpg b/InjectionPC/bin/Debug/20200409101239287.jpg deleted file mode 100644 index b8a0da1..0000000 Binary files a/InjectionPC/bin/Debug/20200409101239287.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409101302351.jpg b/InjectionPC/bin/Debug/20200409101302351.jpg deleted file mode 100644 index 9cec741..0000000 Binary files a/InjectionPC/bin/Debug/20200409101302351.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409101336198.jpg b/InjectionPC/bin/Debug/20200409101336198.jpg deleted file mode 100644 index e384fdb..0000000 Binary files a/InjectionPC/bin/Debug/20200409101336198.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409101358689.jpg b/InjectionPC/bin/Debug/20200409101358689.jpg deleted file mode 100644 index bd98132..0000000 Binary files a/InjectionPC/bin/Debug/20200409101358689.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409101415939.jpg b/InjectionPC/bin/Debug/20200409101415939.jpg deleted file mode 100644 index d89a601..0000000 Binary files a/InjectionPC/bin/Debug/20200409101415939.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409101433115.jpg b/InjectionPC/bin/Debug/20200409101433115.jpg deleted file mode 100644 index c61ebea..0000000 Binary files a/InjectionPC/bin/Debug/20200409101433115.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409101453961.jpg b/InjectionPC/bin/Debug/20200409101453961.jpg deleted file mode 100644 index 9a34d41..0000000 Binary files a/InjectionPC/bin/Debug/20200409101453961.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409101528193.jpg b/InjectionPC/bin/Debug/20200409101528193.jpg deleted file mode 100644 index 10cf391..0000000 Binary files a/InjectionPC/bin/Debug/20200409101528193.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409101721499.jpg b/InjectionPC/bin/Debug/20200409101721499.jpg deleted file mode 100644 index 05cbfed..0000000 Binary files a/InjectionPC/bin/Debug/20200409101721499.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409101742479.jpg b/InjectionPC/bin/Debug/20200409101742479.jpg deleted file mode 100644 index 6cd398f..0000000 Binary files a/InjectionPC/bin/Debug/20200409101742479.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409101816687.jpg b/InjectionPC/bin/Debug/20200409101816687.jpg deleted file mode 100644 index 0a3b405..0000000 Binary files a/InjectionPC/bin/Debug/20200409101816687.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409102046858.jpg b/InjectionPC/bin/Debug/20200409102046858.jpg deleted file mode 100644 index 6cd398f..0000000 Binary files a/InjectionPC/bin/Debug/20200409102046858.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409102106578.jpg b/InjectionPC/bin/Debug/20200409102106578.jpg deleted file mode 100644 index 0a3b405..0000000 Binary files a/InjectionPC/bin/Debug/20200409102106578.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409102128199.jpg b/InjectionPC/bin/Debug/20200409102128199.jpg deleted file mode 100644 index 12d2fea..0000000 Binary files a/InjectionPC/bin/Debug/20200409102128199.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409102256514.jpg b/InjectionPC/bin/Debug/20200409102256514.jpg deleted file mode 100644 index a4072fb..0000000 Binary files a/InjectionPC/bin/Debug/20200409102256514.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409102317285.jpg b/InjectionPC/bin/Debug/20200409102317285.jpg deleted file mode 100644 index 4d4a3fe..0000000 Binary files a/InjectionPC/bin/Debug/20200409102317285.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409102336525.jpg b/InjectionPC/bin/Debug/20200409102336525.jpg deleted file mode 100644 index c742fc7..0000000 Binary files a/InjectionPC/bin/Debug/20200409102336525.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409102359888.jpg b/InjectionPC/bin/Debug/20200409102359888.jpg deleted file mode 100644 index 7890313..0000000 Binary files a/InjectionPC/bin/Debug/20200409102359888.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409102417006.jpg b/InjectionPC/bin/Debug/20200409102417006.jpg deleted file mode 100644 index 9327b44..0000000 Binary files a/InjectionPC/bin/Debug/20200409102417006.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20200409102432446.jpg b/InjectionPC/bin/Debug/20200409102432446.jpg deleted file mode 100644 index 390825c..0000000 Binary files a/InjectionPC/bin/Debug/20200409102432446.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/20230531092236102.jpg b/InjectionPC/bin/Debug/20230531092236102.jpg deleted file mode 100644 index 734c144..0000000 Binary files a/InjectionPC/bin/Debug/20230531092236102.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/86511-BU000.jpg b/InjectionPC/bin/Debug/86511-BU000.jpg deleted file mode 100644 index 80efbbc..0000000 Binary files a/InjectionPC/bin/Debug/86511-BU000.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/86611-F0000.jpg b/InjectionPC/bin/Debug/86611-F0000.jpg deleted file mode 100644 index 60b466e..0000000 Binary files a/InjectionPC/bin/Debug/86611-F0000.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/Box.grf b/InjectionPC/bin/Debug/Box.grf deleted file mode 100644 index 0bf0c01..0000000 --- a/InjectionPC/bin/Debug/Box.grf +++ /dev/null @@ -1,352 +0,0 @@ -{ - "Version":"6.6.0.2", - "SharePrintSetupOptions":"[SelectedPrinter]", - "Font":{ - "Name":"宋体", - "Size":105000, - "Weight":400, - "Charset":134 - }, - "Printer":{ - "Size":256, - "Width":8.8, - "Height":10, - "Oriention":"Landscape", - "LeftMargin":0, - "TopMargin":0, - "RightMargin":0, - "BottomMargin":0 - }, - "Parameter":[ - { - "Name":"BarCode" - }, - { - "Name":"BatchNo" - }, - { - "Name":"Qty" - } - ], - "ReportHeader":[ - { - "Name":"ReportHeader1", - "Height":8.99583, - "Control":[ - { - "Type":"Line", - "Name":"Line1", - "Left":0.211667, - "Top":0.132292, - "Height":8.78417 - }, - { - "Type":"Line", - "Name":"Line2", - "Left":9.78958, - "Top":0.13, - "Height":8.78 - }, - { - "Type":"Line", - "Name":"Line3", - "Left":2.19604, - "Top":0.13, - "Height":8.78 - }, - { - "Type":"Line", - "Name":"Line4", - "Left":0.211667, - "Top":0.132292, - "Width":9.57792 - }, - { - "Type":"Line", - "Name":"Line5", - "Left":0.211667, - "Top":8.89, - "Width":9.57792 - }, - { - "Type":"Line", - "Name":"Line6", - "Left":0.211667, - "Top":1.32292, - "Width":9.57792 - }, - { - "Type":"Line", - "Name":"Line7", - "Left":0.211667, - "Top":2.96333, - "Width":9.57792 - }, - { - "Type":"Line", - "Name":"Line8", - "Left":0.211667, - "Top":4.28625, - "Width":9.57792 - }, - { - "Type":"StaticBox", - "Name":"StaticBox1", - "Left":0.396875, - "Top":0.291042, - "Width":1.61396, - "Height":0.79375, - "Font":{ - "Name":"微软雅黑", - "Size":90000, - "Weight":400, - "Charset":134 - }, - "TextAlign":"MiddleCenter", - "Text":"包装单号" - }, - { - "Type":"MemoBox", - "Name":"MemoBox1", - "Left":2.32833, - "Top":0.291042, - "Width":7.3025, - "Height":0.79375, - "Font":{ - "Name":"微软雅黑", - "Size":105000, - "Weight":400, - "Charset":134 - }, - "Text":"[#{BarCode}#]" - }, - { - "Type":"StaticBox", - "Name":"StaticBox2", - "Left":0.396875, - "Top":1.56104, - "Width":1.61396, - "Height":1.05833, - "Font":{ - "Name":"微软雅黑", - "Size":90000, - "Weight":400, - "Charset":134 - }, - "TextAlign":"MiddleCenter", - "Text":"物料描述" - }, - { - "Type":"StaticBox", - "Name":"StaticBox3", - "Left":2.40771, - "Top":1.56104, - "Width":6.985, - "Height":1.00542, - "Font":{ - "Name":"微软雅黑", - "Size":105000, - "Weight":400, - "Charset":134 - }, - "Text":"V214行李槽总成" - }, - { - "Type":"StaticBox", - "Name":"StaticBox4", - "Left":0.396875, - "Top":3.14854, - "Width":1.61396, - "Height":0.79375, - "Font":{ - "Name":"微软雅黑", - "Size":90000, - "Weight":400, - "Charset":134 - }, - "TextAlign":"MiddleCenter", - "Text":"客户物料" - }, - { - "Type":"Line", - "Name":"Line9", - "Left":0.211667, - "Top":5.44917, - "Width":5.58271, - "Height":0.00125 - }, - { - "Type":"StaticBox", - "Name":"StaticBox5", - "Left":0.396875, - "Top":4.445, - "Width":1.61396, - "Height":0.79375, - "Font":{ - "Name":"微软雅黑", - "Size":90000, - "Weight":400, - "Charset":134 - }, - "TextAlign":"MiddleCenter", - "Text":"物料号" - }, - { - "Type":"StaticBox", - "Name":"StaticBox6", - "Left":2.35479, - "Top":4.445, - "Width":3.43958, - "Height":0.978958, - "Font":{ - "Name":"微软雅黑", - "Size":142500, - "Weight":400, - "Charset":134 - }, - "Text":"A2146103301" - }, - { - "Type":"StaticBox", - "Name":"StaticBox7", - "Left":0.396875, - "Top":5.66208, - "Width":1.61396, - "Height":0.79375, - "Font":{ - "Name":"微软雅黑", - "Size":90000, - "Weight":400, - "Charset":134 - }, - "TextAlign":"MiddleCenter", - "Text":"批次" - }, - { - "Type":"Line", - "Name":"Line10", - "Left":0.211667, - "Top":6.58813, - "Width":5.58 - }, - { - "Type":"StaticBox", - "Name":"StaticBox8", - "Left":0.396875, - "Top":6.85271, - "Width":1.61396, - "Height":0.820208, - "Font":{ - "Name":"微软雅黑", - "Size":90000, - "Weight":400, - "Charset":134 - }, - "TextAlign":"MiddleCenter", - "Text":"包装数量" - }, - { - "Type":"Line", - "Name":"Line11", - "Left":0.211667, - "Top":7.80521, - "Width":5.58 - }, - { - "Type":"StaticBox", - "Name":"StaticBox9", - "Left":0.396875, - "Top":7.99042, - "Width":1.61396, - "Height":0.79375, - "Font":{ - "Name":"微软雅黑", - "Size":90000, - "Weight":400, - "Charset":134 - }, - "TextAlign":"MiddleCenter", - "Text":"生产线" - }, - { - "Type":"Line", - "Name":"Line12", - "Left":5.79438, - "Top":4.29, - "Height":4.60001 - }, - { - "Type":"Barcode", - "Name":"Barcode1", - "Left":5.90021, - "Top":4.78896, - "Width":3.81, - "Height":3.7, - "BarcodeType":"QRCode", - "CaptionPosition":"None", - "Text":"[#{BarCode}#]" - }, - { - "Type":"MemoBox", - "Name":"MemoBox2", - "Left":2.32833, - "Top":5.60917, - "Width":3.20146, - "Height":0.978958, - "Font":{ - "Name":"微软雅黑", - "Size":142500, - "Weight":400, - "Charset":134 - }, - "Text":"[#{BatchNo}#]" - }, - { - "Type":"MemoBox", - "Name":"MemoBox3", - "Left":2.30188, - "Top":6.77333, - "Width":1.69333, - "Height":1.00542, - "Font":{ - "Name":"微软雅黑", - "Size":142500, - "Weight":400, - "Charset":134 - }, - "Text":"[#{Qty}#]" - }, - { - "Type":"MemoBox", - "Name":"MemoBox4", - "Left":4.20688, - "Top":6.79979, - "Width":1.40229, - "Height":1.00542, - "Font":{ - "Name":"微软雅黑", - "Size":142500, - "Weight":400, - "Charset":134 - }, - "Text":"EA" - }, - { - "Type":"StaticBox", - "Name":"StaticBox10", - "Left":2.32833, - "Top":7.96396, - "Width":3.33375, - "Height":0.767292, - "Font":{ - "Name":"微软雅黑", - "Size":105000, - "Weight":400, - "Charset":134 - }, - "Text":"3200T-2(天兴)" - } - ] - } - ] -} \ No newline at end of file diff --git a/InjectionPC/bin/Debug/InjectionPC - 副本.exe b/InjectionPC/bin/Debug/InjectionPC - 副本.exe deleted file mode 100644 index cc237e0..0000000 Binary files a/InjectionPC/bin/Debug/InjectionPC - 副本.exe and /dev/null differ diff --git a/InjectionPC/bin/Debug/InjectionPC.exe.zip b/InjectionPC/bin/Debug/InjectionPC.exe.zip deleted file mode 100644 index 2ec761d..0000000 Binary files a/InjectionPC/bin/Debug/InjectionPC.exe.zip and /dev/null differ diff --git a/InjectionPC/bin/Debug/InjectionPC.vshost.exe b/InjectionPC/bin/Debug/InjectionPC.vshost.exe deleted file mode 100644 index 666c0af..0000000 Binary files a/InjectionPC/bin/Debug/InjectionPC.vshost.exe and /dev/null differ diff --git a/InjectionPC/bin/Debug/InjectionPC.vshost.exe.config b/InjectionPC/bin/Debug/InjectionPC.vshost.exe.config deleted file mode 100644 index 750ec24..0000000 --- a/InjectionPC/bin/Debug/InjectionPC.vshost.exe.config +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/InjectionPC/bin/Debug/InjectionPC.vshost.exe.manifest b/InjectionPC/bin/Debug/InjectionPC.vshost.exe.manifest deleted file mode 100644 index 061c9ca..0000000 --- a/InjectionPC/bin/Debug/InjectionPC.vshost.exe.manifest +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/InjectionPC/bin/Debug/Sill.grf b/InjectionPC/bin/Debug/Sill.grf deleted file mode 100644 index ec590e7..0000000 --- a/InjectionPC/bin/Debug/Sill.grf +++ /dev/null @@ -1,135 +0,0 @@ -{ - "Version":"6.6.2.0", - "SharePrintSetupOptions":"[PaperOrientation]", - "Font":{ - "Name":"宋体", - "Size":105000, - "Weight":400, - "Charset":134 - }, - "Printer":{ - "Size":256, - "Width":5, - "Height":4, - "LeftMargin":0, - "TopMargin":0, - "RightMargin":0, - "BottomMargin":0 - }, - "Parameter":[ - { - "Name":"PrintTime" - }, - { - "Name":"PartNo" - }, - { - "Name":"PartName" - }, - { - "Name":"OneBarCode" - }, - { - "Name":"BarCode" - }, - { - "Name":"Station" - } - ], - "ReportHeader":[ - { - "Name":"ReportHeader1", - "Height":3.81, - "Control":[ - { - "Type":"MemoBox", - "Name":"MemoBox1", - "Left":0.58, - "Top":0.211667, - "Width":2.78, - "Height":0.4, - "Font":{ - "Name":"宋体", - "Size":52500, - "Bold":true, - "Charset":134 - }, - "Text":"[#PrintTime#]" - }, - { - "Type":"MemoBox", - "Name":"MemoBox2", - "Left":0.58, - "Top":1.00542, - "Width":1.59, - "Height":0.4, - "Font":{ - "Name":"宋体", - "Size":52500, - "Bold":true, - "Charset":134 - }, - "Text":"[#{PartNo}#]" - }, - { - "Type":"MemoBox", - "Name":"MemoBox3", - "Left":0.582083, - "Top":1.40229, - "Width":2.2225, - "Height":0.396875, - "Font":{ - "Name":"宋体", - "Size":52500, - "Bold":true, - "Charset":134 - }, - "WordWrap":true, - "Text":"[#{PartName}#]" - }, - { - "Type":"Barcode", - "Name":"Barcode1", - "Left":0.58, - "Top":2.67229, - "Width":4.2, - "Height":1.00542, - "BarcodeType":"Code128Auto", - "Text":"[#{OneBarCode}#]", - "Font":{ - "Name":"微软雅黑", - "Size":67500, - "Bold":true, - "Charset":134 - } - }, - { - "Type":"Barcode", - "Name":"Barcode2", - "Left":2.93688, - "Top":0.687917, - "Width":1.8, - "Height":1.8, - "BarcodeType":"QRCode", - "CaptionPosition":"None", - "Text":"[#{OneBarCode}#]" - }, - { - "Type":"MemoBox", - "Name":"MemoBox4", - "Left":0.608542, - "Top":0.608542, - "Width":1.5875, - "Height":0.396875, - "Font":{ - "Name":"宋体", - "Size":52500, - "Bold":true, - "Charset":134 - }, - "Text":"[#{Station}#]" - } - ] - } - ] -} \ No newline at end of file diff --git a/InjectionPC/bin/Debug/Updater.exe b/InjectionPC/bin/Debug/Updater.exe deleted file mode 100644 index 1ceded2..0000000 Binary files a/InjectionPC/bin/Debug/Updater.exe and /dev/null differ diff --git a/InjectionPC/bin/Debug/Updater.exe.config b/InjectionPC/bin/Debug/Updater.exe.config deleted file mode 100644 index 60c1c0f..0000000 --- a/InjectionPC/bin/Debug/Updater.exe.config +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/InjectionPC/bin/Debug/Updater.pdb b/InjectionPC/bin/Debug/Updater.pdb deleted file mode 100644 index fd045f7..0000000 Binary files a/InjectionPC/bin/Debug/Updater.pdb and /dev/null differ diff --git a/InjectionPC/bin/Debug/V&W205-AMG-F.jpg b/InjectionPC/bin/Debug/V&W205-AMG-F.jpg deleted file mode 100644 index 0fab08e..0000000 Binary files a/InjectionPC/bin/Debug/V&W205-AMG-F.jpg and /dev/null differ diff --git a/InjectionPC/bin/Debug/test - 副本 (2).lbl b/InjectionPC/bin/Debug/test - 副本 (2).lbl deleted file mode 100644 index c5cbebd..0000000 --- a/InjectionPC/bin/Debug/test - 副本 (2).lbl +++ /dev/null @@ -1,18 +0,0 @@ -e IMG;* -; LABEL -> = C:\Users\SIEMENS\Desktop\test.stc -; CREATED: 2023/2/27 15:52:40, Driver version: 1.0.7.3, Target model: HERMES Q4R/300-2 -l ZH -m m -zO -J -j 3172168412706050 -S l1;0,0,36.2,36.2,45 -H 100,0,T,R0,B0 -O R,D,A1=270 -P -T:Pdate;3.69,4.34,0,3,2.89,k;{0} -T:MNumber;34.38,4.13,0,3,2.69,k;{1} -T:BPNumber;3.45,7.46,0,3,2.57,k;{2} -B:Barcode;4.67,7.84,0,CODE128,8.47,0.25;{4} -T:PartName;24.41,7.07,0,3,2.61,k;{3} -A 1 diff --git a/InjectionPC/bin/Debug/test - 副本.lbl b/InjectionPC/bin/Debug/test - 副本.lbl deleted file mode 100644 index 20e0062..0000000 --- a/InjectionPC/bin/Debug/test - 副本.lbl +++ /dev/null @@ -1,18 +0,0 @@ -e IMG;* -; LABEL -> = C:\Users\SIEMENS\Desktop\test.stc -; CREATED: 2023/2/27 15:52:40, Driver version: 1.0.7.3, Target model: HERMES Q4R/300-2 -l ZH -m m -zO -J -j 3172168412706050 -S l1;0,0,36.2,36.2,45 -H 100,0,T,R0,B0 -O R,D,A1=270 -P -T:Pdate;3.69,4.34,0,3,2.89,k;2021/12/29 19:20:30 -T:MNumber;34.38,4.13,0,3,2.69,k;IM17 -T:BPNumber;3.45,7.46,0,3,2.57,k;A2146106203KZ -B:Barcode;4.67,7.84,0,CODE128,8.47,0.25;60000001162112290001 -T:PartName;24.41,7.07,0,3,2.61,k;TrunnBox行李箱 -A 1 diff --git a/InjectionPC/bin/Debug/test.lbl b/InjectionPC/bin/Debug/test.lbl deleted file mode 100644 index 033cb73..0000000 --- a/InjectionPC/bin/Debug/test.lbl +++ /dev/null @@ -1,45 +0,0 @@ -m m -zO -J -j 3172421814000606 -S l1;0,0,18,21,50 -H 100,0,T,R0,B0 -O R,D,A1=270 -P -T:Pdate;0,4.34,0,3,2.89,k;{0} -B:Barcode;4.67,8,0,CODE128,8.47,0.25;{1} -T:MNumber;34.38,4.13,0,3,2.69,k;{2} -T:PartName;24.41,7.07,0,3,2.61,k;{3} -T:BPNumber;0,7.46,0,3,2.57,k;{4} -A 1 - - - - -注塑大码 78,admin 123 - 质检 80 Sk 123 - 打螺钉 74 administrator 123 - - - - 2022-09-21无法下载回单 - - - - 印度件 - - 打印的判断是否选择的是印度件,印度件是另一个模板 - - 22000000992311040709 - - - 60000001762311090068 - - - 用一码到底的程序 4种配置 - 根据零件号判断是否带摄像头 摄像头配置也不一样 - 下计划、有摄像头的需要扫描摄像头条码做核对,打印条码。切计划时亮摄像头 2个灯。 - - - https://blog.csdn.net/weixin_44964841/article/details/123784351?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-1-123784351-blog-132689731.235%5Ev38%5Epc_relevant_anti_t3_base&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-1-123784351-blog-132689731.235%5Ev38%5Epc_relevant_anti_t3_base&utm_relevant_index=1 - \ No newline at end of file diff --git a/InjectionPC/bin/Debug/wl.grf b/InjectionPC/bin/Debug/wl.grf deleted file mode 100644 index 297c32d..0000000 Binary files a/InjectionPC/bin/Debug/wl.grf and /dev/null differ diff --git a/InjectionPC/bin/Debug/zc.grf b/InjectionPC/bin/Debug/zc.grf deleted file mode 100644 index 07da716..0000000 --- a/InjectionPC/bin/Debug/zc.grf +++ /dev/null @@ -1,121 +0,0 @@ -{ - "Version":"6.6.2.0", - "SharePrintSetupOptions":"[PaperOrientation]", - "Font":{ - "Name":"宋体", - "Size":105000, - "Weight":400, - "Charset":134 - }, - "Printer":{ - "Size":256, - "Width":5, - "Height":4, - "LeftMargin":0, - "TopMargin":0, - "RightMargin":0, - "BottomMargin":0 - }, - "Parameter":[ - { - "Name":"barCode" - } - ], - "ReportHeader":[ - { - "Name":"ReportHeader1", - "Height":3.99521, - "Control":[ - { - "Type":"Barcode", - "Name":"Barcode1", - "Left":0.582083, - "Top":0.105833, - "Width":1.5, - "Height":1.5, - "BarcodeType":"QRCode", - "CaptionPosition":"None", - "Text":"[#{barCode}#]" - }, - { - "Type":"StaticBox", - "Name":"StaticBox1", - "Left":2.40771, - "Top":0.079375, - "Width":1.98438, - "Height":0.608542, - "Font":{ - "Name":"宋体", - "Size":90000, - "Weight":400, - "Charset":134 - }, - "Text":"A2146103301" - }, - { - "Type":"StaticBox", - "Name":"StaticBox2", - "Left":2.35479, - "Top":1.03188, - "Width":0.608542, - "Height":0.396875, - "Font":{ - "Name":"宋体", - "Size":90000, - "Weight":400, - "Charset":134 - }, - "TextAlign":"TopLeft", - "Text":"Q01" - }, - { - "Type":"StaticBox", - "Name":"StaticBox3", - "Left":3.14854, - "Top":1.03188, - "Width":1.21708, - "Height":0.608542, - "Font":{ - "Name":"宋体", - "Size":90000, - "Weight":400, - "Charset":134 - }, - "TextAlign":"TopLeft", - "Text":"ZGS007" - }, - { - "Type":"Barcode", - "Name":"Barcode2", - "Left":0.211667, - "Top":2.01083, - "Width":4.57729, - "Height":1.40229, - "BarcodeType":"Code128Auto", - "Text":"[#{barCode}#]", - "Font":{ - "Name":"宋体", - "Size":67500, - "Weight":400, - "Charset":134 - } - }, - { - "Type":"StaticBox", - "Name":"StaticBox4", - "Left":2.98979, - "Top":3.46604, - "Width":1.79917, - "Height":0.396875, - "Font":{ - "Name":"宋体", - "Size":90000, - "Weight":400, - "Charset":134 - }, - "Text":"有效期12周" - } - ] - } - ] -} \ No newline at end of file diff --git a/InjectionPC/bin/Debug/单个条码.grf b/InjectionPC/bin/Debug/单个条码.grf deleted file mode 100644 index 34be796..0000000 Binary files a/InjectionPC/bin/Debug/单个条码.grf and /dev/null differ diff --git a/InjectionPC/bin/Debug/单个条码1.grf b/InjectionPC/bin/Debug/单个条码1.grf deleted file mode 100644 index 297c32d..0000000 Binary files a/InjectionPC/bin/Debug/单个条码1.grf and /dev/null differ diff --git a/InjectionPC/bin/Debug/单个条码2.grf b/InjectionPC/bin/Debug/单个条码2.grf deleted file mode 100644 index c434fb8..0000000 Binary files a/InjectionPC/bin/Debug/单个条码2.grf and /dev/null differ diff --git a/InjectionPC/bin/Debug/自动更新设置.ini b/InjectionPC/bin/Debug/自动更新设置.ini deleted file mode 100644 index 393af3e..0000000 Binary files a/InjectionPC/bin/Debug/自动更新设置.ini and /dev/null differ diff --git a/InjectionPC/bin/Debug/装箱单.grf b/InjectionPC/bin/Debug/装箱单.grf deleted file mode 100644 index a74c33c..0000000 Binary files a/InjectionPC/bin/Debug/装箱单.grf and /dev/null differ diff --git a/MESWebSite/HttpHandlers/ForeignColorMapHandler.ashx b/MESWebSite/HttpHandlers/ForeignColorMapHandler.ashx deleted file mode 100644 index c265eda..0000000 --- a/MESWebSite/HttpHandlers/ForeignColorMapHandler.ashx +++ /dev/null @@ -1 +0,0 @@ -<%@ WebHandler Language="C#" CodeBehind="ForeignColorMapHandler.ashx.cs" Class="MESWebSite.HttpHandlers.StationHandler" %> diff --git a/MESWebSite/HttpHandlers/ForeignColorMapHandler.ashx.cs b/MESWebSite/HttpHandlers/ForeignColorMapHandler.ashx.cs deleted file mode 100644 index 2192469..0000000 --- a/MESWebSite/HttpHandlers/ForeignColorMapHandler.ashx.cs +++ /dev/null @@ -1,151 +0,0 @@ -using MESClassLibrary.BLL.BasicInfo; -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; - -namespace MESWebSite.HttpHandlers -{ - /// - /// StationHandler 的摘要说明 - /// - public class ForeignColorMapHandler : IHttpHandler - { - - HttpRequest Request = null; - HttpResponse Response = null; - - public void ProcessRequest(HttpContext context) - { - context.Response.ContentType = "text/plain"; - Request = context.Request; - Response = context.Response; - - string method = Request.Params["method"]; - switch (method) - { - - case "QueryList": - QueryList(); - break; - case "SaveInfo": - SaveInfo(); - break; - case "DelInfo": - DelInfo(); - break; - case "QueryForCombobox": - QueryForCombobox(); - break; - case "QueryForComboboxByLineID": - QueryForComboboxByLineID(); - break; - default: - break; - - } - - } - public bool IsReusable - { - get - { - return false; - } - } - - void QueryList() - { - string page = Request.Params["page"]; - string pagesize = Request.Params["rows"]; - string PartCode = Request.Params["PartCode"]; - string TypeCode = Request.Params["TypeCode"]; - - - if (string.IsNullOrEmpty(page)) - { - page = "0"; - } - if (string.IsNullOrEmpty(pagesize)) - { - pagesize = "15"; - } - StationBLL bll = new StationBLL(); - //Response.Write(bll.SearchInfo(page, pagesize, StationNo, LineID)); - //Response.End(); - - - } - void SaveInfo() - { - string StationID = Request.Params["StationID"]; - string LineID = Request.Params["LineID"]; - string StationNo = Request.Params["StationNo"]; - string Des = Request.Params["Des"]; - string time = Request.Params["time"]; - - StationBLL bll = new StationBLL(); - tb_Station md = new tb_Station(); - - md.LineID = LineID; - md.StationNo = StationNo; - md.Des = Des; - md.ChangeMould = Convert.ToInt32(time); - var info = Request.Cookies.Get("LoginUserInfo"); - if (info != null) - { - md.UserID = info["UserID"].ToUpper(); - } - if (StationID == "0") - { - //新增 - md.StationID = Guid.NewGuid().ToString(); - Response.Write(bll.AddInfo(md) == true ? "true" : "false"); - } - else - { - //修改 - md.StationID = StationID; - Response.Write(bll.UpdateInfo(md) == true ? "true" : "false"); - } - Response.End(); - } - void DelInfo() - { - string StationID = Request.Params["StationID"]; - - StationBLL bll = new StationBLL(); - tb_Station md = new tb_Station(); - md.StationID = StationID; - var info = Request.Cookies.Get("LoginUserInfo"); - if (info != null) - { - md.UserID = info["UserID"].ToUpper(); - } - Response.Write(bll.DelInfo(md) == true ? "true" : "false"); - Response.End(); - - } - - void QueryForCombobox() - { - string StationNo = Request.Params["StationNo"]; - - StationBLL bll = new StationBLL(); - Response.Write(bll.GetComboboxData(StationNo)); - Response.End(); - - } - - void QueryForComboboxByLineID() - { - string LineID = "68dd1857-5e78-43f9-a065-6be76335e7fe"; - - StationBLL bll = new StationBLL(); - Response.Write(bll.GetComboboxDataByLine(LineID)); - Response.End(); - - } - } -} \ No newline at end of file diff --git a/MESWebSite/Manage/ForeignColorMap.aspx b/MESWebSite/Manage/ForeignColorMap.aspx deleted file mode 100644 index d5be848..0000000 --- a/MESWebSite/Manage/ForeignColorMap.aspx +++ /dev/null @@ -1,399 +0,0 @@ -<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ForeignColorMap.aspx.cs" Inherits="MESWebSite.Manage.ForeignColorMap" %> - - - - - - - - - - - - - - - - - 工位信息 - - -
-
- - - - - - - - - - - - - - -
工位信息 - 程序号: - <%-- --%> - - - 零件号: - - 查询 - 新增 - - 编辑 - - 删除 -
-
- -
- - - - - - - - -
- - diff --git a/MESWebSite/Manage/ForeignColorMap.aspx.cs b/MESWebSite/Manage/ForeignColorMap.aspx.cs deleted file mode 100644 index f10c66e..0000000 --- a/MESWebSite/Manage/ForeignColorMap.aspx.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; - -namespace MESWebSite.Manage -{ - public partial class ForeignColorMap : System.Web.UI.Page - { - protected void Page_Load(object sender, EventArgs e) - { - if (Request.Cookies["LoginUserInfo"] == null) - { - Response.Write(""); - } - } - } -} \ No newline at end of file diff --git a/MESWebSite/Manage/ForeignColorMap.aspx.designer.cs b/MESWebSite/Manage/ForeignColorMap.aspx.designer.cs deleted file mode 100644 index 58a141f..0000000 --- a/MESWebSite/Manage/ForeignColorMap.aspx.designer.cs +++ /dev/null @@ -1,44 +0,0 @@ -//------------------------------------------------------------------------------ -// <自动生成> -// 此代码由工具生成。 -// -// 对此文件的更改可能导致不正确的行为,如果 -// 重新生成代码,则所做更改将丢失。 -// -//------------------------------------------------------------------------------ - -namespace MESWebSite.Manage -{ - - - public partial class ForeignColorMap - { - - /// - /// form1 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::System.Web.UI.HtmlControls.HtmlForm form1; - - /// - /// lblMessage 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::System.Web.UI.WebControls.Label lblMessage; - - /// - /// UserID 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::System.Web.UI.HtmlControls.HtmlInputText UserID; - } -} diff --git a/PaintingPC/bin/Debug/PaintingPC.zip b/PaintingPC/bin/Debug/PaintingPC.zip deleted file mode 100644 index 4e1ef27..0000000 Binary files a/PaintingPC/bin/Debug/PaintingPC.zip and /dev/null differ diff --git a/PaintingPC/bin/Debug/Updater.pdb b/PaintingPC/bin/Debug/Updater.pdb deleted file mode 100644 index fd045f7..0000000 Binary files a/PaintingPC/bin/Debug/Updater.pdb and /dev/null differ diff --git a/喷涂上线/Code/.vs/BBMPT/FileContentIndex/5e90b17e-4b3a-480f-84ac-3095e8d97ab3.vsidx b/喷涂上线/Code/.vs/BBMPT/FileContentIndex/5e90b17e-4b3a-480f-84ac-3095e8d97ab3.vsidx deleted file mode 100644 index 89f9da4..0000000 Binary files a/喷涂上线/Code/.vs/BBMPT/FileContentIndex/5e90b17e-4b3a-480f-84ac-3095e8d97ab3.vsidx and /dev/null differ diff --git a/喷涂上线/Code/.vs/BBMPT/FileContentIndex/5ed3541d-77c4-4ee3-a592-8e61aab7068a.vsidx b/喷涂上线/Code/.vs/BBMPT/FileContentIndex/5ed3541d-77c4-4ee3-a592-8e61aab7068a.vsidx deleted file mode 100644 index 3caac6a..0000000 Binary files a/喷涂上线/Code/.vs/BBMPT/FileContentIndex/5ed3541d-77c4-4ee3-a592-8e61aab7068a.vsidx and /dev/null differ diff --git a/喷涂上线/Code/.vs/BBMPT/FileContentIndex/682d018d-e3b6-43c5-8683-5575c31523a2.vsidx b/喷涂上线/Code/.vs/BBMPT/FileContentIndex/682d018d-e3b6-43c5-8683-5575c31523a2.vsidx deleted file mode 100644 index 96e8f14..0000000 Binary files a/喷涂上线/Code/.vs/BBMPT/FileContentIndex/682d018d-e3b6-43c5-8683-5575c31523a2.vsidx and /dev/null differ diff --git a/喷涂上线/Code/.vs/BBMPT/FileContentIndex/737d993a-5258-42db-ba6d-fe8fd2b749a4.vsidx b/喷涂上线/Code/.vs/BBMPT/FileContentIndex/737d993a-5258-42db-ba6d-fe8fd2b749a4.vsidx deleted file mode 100644 index 88b3bab..0000000 Binary files a/喷涂上线/Code/.vs/BBMPT/FileContentIndex/737d993a-5258-42db-ba6d-fe8fd2b749a4.vsidx and /dev/null differ diff --git a/喷涂上线/Code/.vs/BBMPT/FileContentIndex/a7b2bb04-a8d2-4daf-8adb-5d672f7f1111.vsidx b/喷涂上线/Code/.vs/BBMPT/FileContentIndex/a7b2bb04-a8d2-4daf-8adb-5d672f7f1111.vsidx deleted file mode 100644 index ea167c6..0000000 Binary files a/喷涂上线/Code/.vs/BBMPT/FileContentIndex/a7b2bb04-a8d2-4daf-8adb-5d672f7f1111.vsidx and /dev/null differ diff --git a/喷涂上线/Code/.vs/BBMPT/config/applicationhost.config b/喷涂上线/Code/.vs/BBMPT/config/applicationhost.config deleted file mode 100644 index 9f61c4e..0000000 --- a/喷涂上线/Code/.vs/BBMPT/config/applicationhost.config +++ /dev/null @@ -1,1065 +0,0 @@ - - - - - - - -
-
-
-
-
-
-
-
- - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
- -
-
-
-
-
-
- -
-
-
-
-
- -
-
-
- -
-
- -
-
- -
-
-
- - -
-
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/喷涂上线/Code/.vs/BBMPT/v16/.suo b/喷涂上线/Code/.vs/BBMPT/v16/.suo deleted file mode 100644 index 1161d7d..0000000 Binary files a/喷涂上线/Code/.vs/BBMPT/v16/.suo and /dev/null differ diff --git a/喷涂上线/Code/.vs/BBMPT/v17/.suo b/喷涂上线/Code/.vs/BBMPT/v17/.suo deleted file mode 100644 index d4363ea..0000000 Binary files a/喷涂上线/Code/.vs/BBMPT/v17/.suo and /dev/null differ diff --git a/喷涂上线/Code/.vs/BBMPT/v17/HierarchyCache.v1.txt b/喷涂上线/Code/.vs/BBMPT/v17/HierarchyCache.v1.txt deleted file mode 100644 index 49a8008..0000000 Binary files a/喷涂上线/Code/.vs/BBMPT/v17/HierarchyCache.v1.txt and /dev/null differ diff --git a/喷涂上线/Code/.vs/BBMPT/v17/fileList.bin b/喷涂上线/Code/.vs/BBMPT/v17/fileList.bin deleted file mode 100644 index a4b43b0..0000000 Binary files a/喷涂上线/Code/.vs/BBMPT/v17/fileList.bin and /dev/null differ diff --git a/喷涂上线/Code/BBMPT.sln b/喷涂上线/Code/BBMPT.sln deleted file mode 100644 index 87435d8..0000000 --- a/喷涂上线/Code/BBMPT.sln +++ /dev/null @@ -1,85 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.8.34330.188 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MESClassLibrary", "MESClassLibrary\MESClassLibrary.csproj", "{867989D8-6837-41DC-9BF1-4658F5D6CFEF}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PaintingPC", "PaintingPC\PaintingPC.csproj", "{BA977F8C-A368-48B9-AD23-965246580D4C}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebService", "WebService\WebService.csproj", "{61D9D50E-F645-40DE-8C7A-B4039D840C52}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{0D128182-FB8C-4E0B-A42F-DF3767E4DE39}" - ProjectSection(SolutionItems) = preProject - 数据结构修改记录.txt = 数据结构修改记录.txt - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PaintingScreen", "PaintingScreen\PaintingScreen.csproj", "{14A52CF0-E299-459C-9EDA-E86F47B2C8E8}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PaintingView", "PaintingView\PaintingView.csproj", "{3054D10F-3296-41E1-8ACD-628F33AC97EF}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Updater", "Updater\Updater.csproj", "{B2A5892E-A99E-4E26-B298-CE36488213CC}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "foda", "foda\foda.csproj", "{C246AE3F-AE49-45CB-B2CF-C56C6D228C6B}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {867989D8-6837-41DC-9BF1-4658F5D6CFEF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {867989D8-6837-41DC-9BF1-4658F5D6CFEF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {867989D8-6837-41DC-9BF1-4658F5D6CFEF}.Debug|x86.ActiveCfg = Debug|Any CPU - {867989D8-6837-41DC-9BF1-4658F5D6CFEF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {867989D8-6837-41DC-9BF1-4658F5D6CFEF}.Release|Any CPU.Build.0 = Release|Any CPU - {867989D8-6837-41DC-9BF1-4658F5D6CFEF}.Release|x86.ActiveCfg = Release|Any CPU - {BA977F8C-A368-48B9-AD23-965246580D4C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BA977F8C-A368-48B9-AD23-965246580D4C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BA977F8C-A368-48B9-AD23-965246580D4C}.Debug|x86.ActiveCfg = Debug|Any CPU - {BA977F8C-A368-48B9-AD23-965246580D4C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BA977F8C-A368-48B9-AD23-965246580D4C}.Release|Any CPU.Build.0 = Release|Any CPU - {BA977F8C-A368-48B9-AD23-965246580D4C}.Release|x86.ActiveCfg = Release|Any CPU - {61D9D50E-F645-40DE-8C7A-B4039D840C52}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {61D9D50E-F645-40DE-8C7A-B4039D840C52}.Debug|Any CPU.Build.0 = Debug|Any CPU - {61D9D50E-F645-40DE-8C7A-B4039D840C52}.Debug|x86.ActiveCfg = Debug|Any CPU - {61D9D50E-F645-40DE-8C7A-B4039D840C52}.Release|Any CPU.ActiveCfg = Release|Any CPU - {61D9D50E-F645-40DE-8C7A-B4039D840C52}.Release|Any CPU.Build.0 = Release|Any CPU - {61D9D50E-F645-40DE-8C7A-B4039D840C52}.Release|x86.ActiveCfg = Release|Any CPU - {14A52CF0-E299-459C-9EDA-E86F47B2C8E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {14A52CF0-E299-459C-9EDA-E86F47B2C8E8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {14A52CF0-E299-459C-9EDA-E86F47B2C8E8}.Debug|x86.ActiveCfg = Debug|Any CPU - {14A52CF0-E299-459C-9EDA-E86F47B2C8E8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {14A52CF0-E299-459C-9EDA-E86F47B2C8E8}.Release|Any CPU.Build.0 = Release|Any CPU - {14A52CF0-E299-459C-9EDA-E86F47B2C8E8}.Release|x86.ActiveCfg = Release|Any CPU - {3054D10F-3296-41E1-8ACD-628F33AC97EF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3054D10F-3296-41E1-8ACD-628F33AC97EF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3054D10F-3296-41E1-8ACD-628F33AC97EF}.Debug|x86.ActiveCfg = Debug|Any CPU - {3054D10F-3296-41E1-8ACD-628F33AC97EF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3054D10F-3296-41E1-8ACD-628F33AC97EF}.Release|Any CPU.Build.0 = Release|Any CPU - {3054D10F-3296-41E1-8ACD-628F33AC97EF}.Release|x86.ActiveCfg = Release|Any CPU - {B2A5892E-A99E-4E26-B298-CE36488213CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B2A5892E-A99E-4E26-B298-CE36488213CC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B2A5892E-A99E-4E26-B298-CE36488213CC}.Debug|x86.ActiveCfg = Debug|x86 - {B2A5892E-A99E-4E26-B298-CE36488213CC}.Debug|x86.Build.0 = Debug|x86 - {B2A5892E-A99E-4E26-B298-CE36488213CC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B2A5892E-A99E-4E26-B298-CE36488213CC}.Release|Any CPU.Build.0 = Release|Any CPU - {B2A5892E-A99E-4E26-B298-CE36488213CC}.Release|x86.ActiveCfg = Release|x86 - {B2A5892E-A99E-4E26-B298-CE36488213CC}.Release|x86.Build.0 = Release|x86 - {C246AE3F-AE49-45CB-B2CF-C56C6D228C6B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C246AE3F-AE49-45CB-B2CF-C56C6D228C6B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C246AE3F-AE49-45CB-B2CF-C56C6D228C6B}.Debug|x86.ActiveCfg = Debug|Any CPU - {C246AE3F-AE49-45CB-B2CF-C56C6D228C6B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C246AE3F-AE49-45CB-B2CF-C56C6D228C6B}.Release|Any CPU.Build.0 = Release|Any CPU - {C246AE3F-AE49-45CB-B2CF-C56C6D228C6B}.Release|x86.ActiveCfg = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {52EF8F7E-6AC9-4400-82F1-31F70143C867} - VisualSVNWorkingCopyRoot = . - EndGlobalSection -EndGlobal diff --git a/喷涂上线/Code/BBMPT.v12.suo b/喷涂上线/Code/BBMPT.v12.suo deleted file mode 100644 index eb5d07a..0000000 Binary files a/喷涂上线/Code/BBMPT.v12.suo and /dev/null differ diff --git a/喷涂上线/Code/MESClassLibrary/App.config b/喷涂上线/Code/MESClassLibrary/App.config deleted file mode 100644 index 72f6a27..0000000 --- a/喷涂上线/Code/MESClassLibrary/App.config +++ /dev/null @@ -1,30 +0,0 @@ - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicBLL.cs deleted file mode 100644 index b6cdb92..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicBLL.cs +++ /dev/null @@ -1,208 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Linq.Expressions; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL -{ - public class BasicBLL where T : class, new() - { - BaseDAL db = new BaseDAL(); - /// 新增信息 - public bool AddInfo(T md) - { - try - { - if (db.Add(md) > 0) - { - return true; - } - return false; - } - catch (Exception ex) - { - //LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// 修改信息 - public bool UpdateInfo(T md, params string[] proNames) - { - try - { - //T u = new T() { uId = 1, uLoginName = "asdfasdf" }; - if (db.Modify(md, proNames) > 0) - { - return true; - } - return false; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - public bool UpdateInfo(T md) - { - try - { - return db.Modify(md) > 0; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - /// 删除信息 - public bool DelInfo(T md) - { - try - { - if (db.Del(md) > 0) - { - return true; - } - return false; - } - catch (Exception ex) - { - //LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - public List SearchInfo(int page, int pagesize, out int total) - { - try - { - var list = db.GetListBy(LambdaHelper.CreateEqual("IsUseing", 1)).ToList(); - total = list.Count; - int Skipcount = (page - 1) * pagesize; - return list.Skip(Skipcount).Take(pagesize).ToList(); - } - catch (Exception ex) - { - total = 0; - //LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - public List SearchInfoByKey(string keyname, object keyvalue) - { - try - { - var list = db.GetListBy(LambdaHelper.CreateEqual(keyname, keyvalue)).ToList(); - return list; - } - catch (Exception) - { - return new List(); - //return null; - } - - } - - public List SearchInfoContains(string keyname, string keyvalue) - { - try - { - var list = db.GetListBy(LambdaHelper.GetContains(keyname, keyvalue)).ToList(); - return list; - } - catch (Exception) - { - return new List(); - //return null; - } - - } - - - - public List SearchInfoAll(int page, int pagesize, out int total) - { - try - { - var list = db.GetListBy(LambdaHelper.True()).ToList(); - total = list.Count; - int Skipcount = (page - 1) * pagesize; - return list.Skip(Skipcount).Take(pagesize).ToList(); - } - catch (Exception ex) - { - total = 0; - //LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - public T SearchInfoByID(string ID) - { - try - { - var list = db.Find(ID); - return list; - } - catch (Exception ex) - { - return null; - } - - } - public List SearchAllInfo() - { - try - { - return db.GetListBy(LambdaHelper.True()).ToList(); - } - catch (Exception ex) - { - //LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - public List SearchInfoByTime(string cname, DateTime stime, DateTime etime) - { - try - { - IQueryable list = db.GetListBy(LambdaHelper.CreateCompareToLater(cname, stime)).AsQueryable(); - list = list.Where(LambdaHelper.CreateCompareToEarlier(cname, etime)); - return list.ToList(); - } - catch (Exception) - { - return new List(); - //return null; - } - - } - - public List Search(Expression> whereLambda) - { - return db.GetListBy(whereLambda); - } - - public List Search(Expression> whereLambda, Expression> orderLambda) - { - return db.GetListBy(whereLambda, orderLambda); - } - - public int GetCount(Expression> whereLambda) - { - return db.GetCount(whereLambda); - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/BadInjectionBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/BadInjectionBLL.cs deleted file mode 100644 index 7a2f8f6..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/BadInjectionBLL.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.BasicInfo; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class BadInjectionBLL - { - BadInjectionDAL db=new BadInjectionDAL(); - - public bool Add_Info(BadInjectionModel md) - { - try - { - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchByCode(string code) - { - try - { - return db.SearchByCode(code); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/BarCodeBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/BarCodeBLL.cs deleted file mode 100644 index 211fe78..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/BarCodeBLL.cs +++ /dev/null @@ -1,343 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.BasicInfo; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class BarCodeBLL - { - BarCodeDAl db = new BarCodeDAl(); - - public DataTable SearchInfoByStock(string StockNo) - { - try - { - return db.SearchInfoByStock(StockNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoByPartNo(string partNo) - { - try - { - return db.SearchInfoByPartNo(partNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable searchBarCode(string barcode, int flag) - { - try - { - return db.searchBarCode(barcode, flag); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool Add_Info(BarCodeModel md) - { - try - { - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool Add_Info_New(BarCodeModel md,string tableName) - { - try - { - return db.AddInfoNew(md,tableName); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchInfo(string stationNo) - { - try - { - return db.SearchInfo(stationNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoAll() - { - try - { - return db.SearchInfoAll(); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchBarCode() - { - try - { - return db.SearchBarCode(); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchBarCodeByOne(string OneBarCode) - { - try - { - return db.SearchBarCodeByOne(OneBarCode); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchBarCodeByTwo(string BarCode) - { - try - { - return db.SearchBarCodeByTwo(BarCode); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchSerialNoByBarCode(string Code) - { - try - { - return db.SearchSerialNoByBarCode(Code); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchSerialNoByBarCodeNew(string Code,string tableName) - { - try - { - return db.SearchSerialNoByBarCodeNew(Code, tableName); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoByBarCode(string BarCode) - { - try - { - return db.SearchInfoByBarCode(BarCode); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoByBarCodeNew(string BarCode,string tableName) - { - try - { - return db.SearchInfoByBarCodeNew(BarCode, tableName); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool Update_Info(BarCodeModel md) - { - try - { - return db.UpdateInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool DelBarCode(BarCodeModel md) - { - try - { - return db.DelBarCode(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool DelBarCode_New(BarCodeModel md,string tableName) - { - try - { - return db.DelBarCode_New(md,tableName); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchBoxIsNull(string partNo, string StationID, string tableName, string ProductNature) - { - try - { - return db.SearchBoxIsNull(partNo, StationID, tableName, ProductNature); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable IsHave(string partNo, string StationID, string tableName) - { - try - { - return db.IsHave(partNo, StationID, tableName); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool UpdateBoxNo(string tableName, string boxNo, string partNo) - { - try - { - return db.UpdateBoxNo(tableName, boxNo, partNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchCountByBox(string boxNo, string tableName) - { - try - { - return db.SearchCountByBox(boxNo, tableName); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool UpdateIsBad(string tableName, string onebarcode, string barcode) - { - try - { - return db.UpdateIsBad(tableName, onebarcode, barcode); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchBarCode(string boxNo, string tableName, string row) - { - try - { - return db.SearchBarCode(boxNo, tableName, row); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool updateProductNature(string tableName, string barcode) - { - try - { - return db.updateProductNature(tableName, barcode); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SeachInfoByOne(string barCode, string tableName,int flag) - { - try - { - return db.SeachInfoByOne(barCode, tableName, flag); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/BomBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/BomBLL.cs deleted file mode 100644 index 3ee0387..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/BomBLL.cs +++ /dev/null @@ -1,271 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.DAL.BasicInfo; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class BomBLL - { - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_Bom md) - { - try - { - var list = db.SearchInfoByKey("PartNo1", md.PartNo1);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.BomID != md.BomID).Count() > 0) - { - return false; - } - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_Bom md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.PartNo1 == md.PartNo1 && p.BomID != md.BomID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[2]; - proNames[0] = "PartNo1"; - proNames[1] = "PartNo2"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_Bom md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string partNo1) - { - try - { - - string jsonStr = "[]"; - int total = 0;//总行数 - List list = db.SearchAllInfo(); - - if (!String.IsNullOrEmpty(partNo1)) - { - list = list.Where(p => p.PartNo1.Contains(partNo1)).ToList(); - } - - if (list.Count > 0) - { - total = list.Count; - - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - List modelList = new List(); - BasicBLL s_db = new BasicBLL(); - var s_list = s_db.SearchAllInfo(); - - foreach (var item in list) - { - BomModel dm = Tool.Mapper(item); - var info = s_list.FirstOrDefault(p => p.PartNo == item.PartNo1); - if (info != null) - { - dm.ProductName1 = info.ProductName; - } - - var info2 = s_list.FirstOrDefault(p => p.PartNo == item.PartNo2); - if (info2 != null) - { - dm.ProductName2 = info2.ProductName; - } - - modelList.Add(dm); - } - - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = modelList; - jsonStr = JSONTools.ScriptSerialize>(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 查询全部信息 - /// - /// - public List SearchAll() - { - try - { - var s_list = db.SearchAllInfo().ToList(); - return s_list; - } - catch (Exception) - { - return null; - } - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_Bom SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - public DataTable SearchBom(string PartNo) - { - BomDAL dal=new BomDAL(); - try - { - return dal.SearchBom(PartNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable Search(string partNo1, string partNo2) - { - BomDAL dal = new BomDAL(); - try - { - return dal.Search(partNo1, partNo2); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool AddInfo(BomModel md) - { - BomDAL dal = new BomDAL(); - try - { - return dal.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool updateInfo(BomModel md) - { - BomDAL dal = new BomDAL(); - try - { - return dal.updateInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool DelInfo(BomModel md) - { - BomDAL dal = new BomDAL(); - try - { - return dal.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/BucketInfoBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/BucketInfoBLL.cs deleted file mode 100644 index 89d654a..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/BucketInfoBLL.cs +++ /dev/null @@ -1,184 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.BasicInfo -{ - - public class BucketInfoBLL - { - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_BucketInfo md) - { - try - { - var list = db.SearchInfoByKey("BucketCode", md.BucketCode);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.ID != md.ID && p.IsUsing == 1).Count() > 0) - { - return false; - } - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_BucketInfo md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.BucketCode == md.BucketCode && p.ID != md.ID && p.IsUsing == 1).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[3]; - proNames[0] = "BucketCode"; - proNames[1] = "BucketName"; - proNames[2] = "IsUsing"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_BucketInfo md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string BucketCode) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - - List list = db.SearchAllInfo(); - - if (!String.IsNullOrEmpty(BucketCode)) - { - list = list.Where(p => p.BucketCode.Contains(BucketCode)).ToList(); - } - - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = list; - return JSONTools.ScriptSerialize(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_BucketInfo SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - public string GetComboboxData() - { - try - { - string jsonStr = "[]"; - var list = db.SearchAllInfo().ToList();//判断是否有重复数据 - - List sl = new List(); - - foreach (var item in list) - { - SelectModel md = new SelectModel(); - md.textField = item.BucketCode+"--"+ item.BucketName; - md.valueField = item.ID; - sl.Add(md); - } - - jsonStr = JSONTools.ScriptSerialize(sl); - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/CarTypeBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/CarTypeBLL.cs deleted file mode 100644 index dbf9b3a..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/CarTypeBLL.cs +++ /dev/null @@ -1,210 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class CarTypeBLL - { - readonly BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_CarType md) - { - try - { - var list = db.SearchInfoByKey("CarTypeName", md.CarTypeName);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.ID != md.ID).Count() > 0) - { - return false; - } - - } - md.CreateTime = DateTime.Now; - var result = db.AddInfo(md); - return result; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_CarType md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.CarTypeName == md.CarTypeName && p.ID != md.ID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[] { - "CarTypeName", - "ManufactureID", - "UpdateTime", - }; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - md.UpdateTime = DateTime.Now; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_CarType md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string name, string manufacturerID) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - IEnumerable list = db.SearchAllInfo(); - - if (!string.IsNullOrEmpty(name)) - { - list = list.Where(p => p.CarTypeName != null && p.CarTypeName.Contains(name)); - } - if (!string.IsNullOrEmpty(manufacturerID)) - { - list = list.Where(p => p.ManufacturerID != null && p.ManufacturerID == manufacturerID); - } - List modelList = new List(); - if (list.Any()) - { - total = list.Count(); - - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)); - - var manufactureBll = new ManufactureBLL(); - var manufacture = manufactureBll.SearchAll(); - - var ctm = from c in list - join mf in manufacture - on c.ManufacturerID equals mf.ID - select new CarTypeModel - { - ID = c.ID, - CarTypeName = c.CarTypeName, - ManufacturerID = c.ManufacturerID, - ManufacturerName = mf.ManufacturerName, - CreateTime = c.CreateTime, - UpdateTime = c.UpdateTime - }; - - JsonDataModel md = new JsonDataModel - { - total = total.ToString(), - rows = ctm.ToList() - }; - - - jsonStr = md.ToSerializer(); - } - - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 查询全部信息 - /// - /// - public List SearchAll() - { - try - { - var s_list = db.SearchAllInfo().ToList(); - return s_list; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_CarType SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - public string CarTypeCombo() - { - return SearchAll().ToSerializer(); - } - - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/CheckItemBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/CheckItemBLL.cs deleted file mode 100644 index 7a2e7d1..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/CheckItemBLL.cs +++ /dev/null @@ -1,201 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class CheckItemBLL - { - BasicBLL db = new BasicBLL(); - /// - /// 查询信息 - /// - /// - public string SearchInfo(string page, string pagesize, string CheckContent, string DeviceID) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - List list = db.SearchAllInfo(); - - if (!String.IsNullOrEmpty(DeviceID)) - { - list = list.Where(p => p.DeviceID == DeviceID).ToList(); - } - - if (!String.IsNullOrEmpty(CheckContent)) - { - list = list.Where(p => p.CheckContent.Contains(CheckContent)).ToList(); - } - - if (list.Count > 0) - { - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - #region 联查 - List ModelList = new List(); - BasicBLL p_db = new BasicBLL(); - var p_list = p_db.SearchAllInfo().ToList(); - foreach (var item in list) - { - CheckItemModel dm = Tool.Mapper(item); - var info = p_list.FirstOrDefault(p => p.DeviceID == item.DeviceID); - if (info != null) - { - dm.DeviceName = info.DeviceName; - } - ModelList.Add(dm); - } - #endregion - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = ModelList; - jsonStr = JSONTools.ScriptSerialize>(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - - } - /// - /// 添加信息 - /// - /// 生产线模型对象 - /// - public bool AddInfo(tb_CheckItem md) - { - try - { - var list = db.SearchInfoByKey("CheckContent", md.CheckContent);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.DeviceID.Equals(md.DeviceID)).Count() > 0) - { - return false; - } - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// 生产线模型对象 - /// - public bool UpdateInfo(tb_CheckItem md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.CheckContent == md.CheckContent && p.DeviceID == md.DeviceID && p.ID != md.ID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[6]; - proNames[0] = "DeviceID"; - proNames[1] = "CheckContent"; - proNames[2] = "Standard"; - proNames[3] = "Way"; - proNames[4] = "Cycle"; - proNames[5] = "CheckVersion"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - /// 删除生产线信息 - public bool DelInfo(tb_CheckItem md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public string GetComboboxData() - { - try - { - string jsonStr = "[]"; - var list = db.SearchAllInfo().ToList();//判断是否有重复数据 - jsonStr = JSONTools.ScriptSerialize>(list); - return jsonStr; - } - catch (Exception) - { - return ""; - } - } - - public string GetTreeData(string deviceID) - { - try - { - string jsonStr = "[]"; - BasicBLL li_db = new BasicBLL(); - List trlist = new List(); - TreeModel tr = new TreeModel(); - tr.id = "-1"; - tr.text = "点检项"; - tr.state = "open"; - var li_list = li_db.SearchAllInfo().Where(p => p.DeviceID.Equals(deviceID)).ToList(); - var queryData = from a in li_list - select new ChildTreeModel - { - id = a.ID, - text = a.CheckContent - }; - List clist = queryData.ToList(); - if (clist.Count > 0) - { - tr.children = clist; - trlist.Add(tr); - } - jsonStr = JSONTools.ScriptSerialize>(trlist); - return jsonStr; - } - catch (Exception) - { - return ""; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ColorBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ColorBLL.cs deleted file mode 100644 index d02fb92..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ColorBLL.cs +++ /dev/null @@ -1,218 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using MESClassLibrary.DAL.BasicInfo; - - -namespace MESClassLibrary.BLL.BasicInfo -{ - - public class ColorBLL - { - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_Color md) - { - try - { - //var list = db.SearchInfoByKey("ColorCode", md.ColorCode);//判断是否有重复数据 - //if (list != null) - //{ - // if (list.Where(p => p.ID != md.ID).Count() > 0) - // { - // return false; - // } - - //} - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_Color md) - { - try - { - //var list = db.SearchAllInfo().Where(p => p.ColorCode == md.ColorCode && p.ID != md.ID).ToList();//判断是否有重复数据 - //if (list.Count > 0) - //{ - // return false; - //} - - //初始化要更新的字段 - string[] proNames = new string[5]; - proNames[0] = "ColorCode"; - proNames[1] = "ColorNo"; - proNames[2] = "ColorQQCode"; - proNames[3] = "Des"; - proNames[4] = "ColorDQCode"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_Color md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize,string ColorCode) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - - List list = db.SearchAllInfo(); - - if (!String.IsNullOrEmpty(ColorCode)) - { - list = list.Where(p => p.ColorCode.Contains(ColorCode)).ToList(); - } - - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = list; - return JSONTools.ScriptSerialize(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_Color SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - public string GetComboboxData() - { - try - { - string jsonStr = "[]"; - var list = db.SearchAllInfo().Select(p=>p.Des).Distinct().ToList();//判断是否有重复数据 - - List sl = new List(); - - foreach (var item in list) - { - SelectModel md = new SelectModel(); - md.textField = item; - md.valueField = item; - sl.Add(md); - } - - jsonStr = JSONTools.ScriptSerialize(sl); - return jsonStr; - } - catch (Exception) - { - return ""; - } - } - - public string GetComboboxColor() - { - var list = db.SearchAllInfo().ToList(); - return list.ToSerializer(); - } - - public DataTable SearchAll() - { - ColorDAL da = new ColorDAL(); - try - { - return da.SearchInfoAll(); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchByName(string color) - { - ColorDAL da = new ColorDAL(); - try - { - return da.SearchByName(color); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/DefectBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/DefectBLL.cs deleted file mode 100644 index 1e7b3f0..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/DefectBLL.cs +++ /dev/null @@ -1,181 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.DAL.BasicInfo; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class DefectBLL - { - BasicBLL db = new BasicBLL(); - /// - /// 查询信息 - /// - /// - public string SearchInfo(string page, string pagesize, string DefectName, string LineID) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - List list = db.SearchAllInfo(); - - if (!String.IsNullOrEmpty(LineID)) - { - list = list.Where(p => p.LineID == LineID).ToList(); - } - - if (!String.IsNullOrEmpty(DefectName)) - { - list = list.Where(p => p.DefectName.Contains(DefectName)).ToList(); - } - - if (list.Count > 0) - { - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - #region 联查 - List ModelList = new List(); - BasicBLL p_db = new BasicBLL(); - var p_list = p_db.SearchAllInfo().ToList(); - foreach (var item in list) - { - DefectModel dm = Tool.Mapper(item); - var info = p_list.FirstOrDefault(p => p.LineID == item.LineID); - if (info != null) - { - dm.LineName = info.LineName; - } - ModelList.Add(dm); - } - #endregion - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = ModelList; - jsonStr = JSONTools.ScriptSerialize>(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - - } - /// - /// 添加信息 - /// - /// 生产线模型对象 - /// - public bool AddInfo(tb_Defect md) - { - try - { - var list = db.SearchInfoByKey("DefectName", md.DefectName);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.ID != md.ID).Count() > 0) - { - return false; - } - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// 生产线模型对象 - /// - public bool UpdateInfo(tb_Defect md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.DefectName == md.DefectName && p.ID != md.ID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[3]; - proNames[0] = "LineID"; - proNames[1] = "DefectName"; - proNames[2] = "Des"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - /// 删除生产线信息 - public bool DelInfo(tb_Defect md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public string GetComboboxData() - { - try - { - string jsonStr = "[]"; - var list = db.SearchAllInfo().ToList();//判断是否有重复数据 - jsonStr = JSONTools.ScriptSerialize>(list); - return jsonStr; - } - catch (Exception) - { - return ""; - } - } - - public DataTable SearchInfo(string LineID) - { - DefectDAL da=new DefectDAL(); - try - { - return da.SearchInfoAll(LineID); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/DeptBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/DeptBLL.cs deleted file mode 100644 index 281c860..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/DeptBLL.cs +++ /dev/null @@ -1,144 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class DeptBLL - { - BasicBLL db = new BasicBLL(); - /// - /// 查询信息 - /// - /// - public string SearchInfo(string page, string pagesize, string DeptName) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - List list = db.SearchAllInfo(); - - if (!String.IsNullOrEmpty(DeptName)) - { - list = list.Where(p => p.DeptName.Contains(DeptName)).ToList();//按条件分页查询 - } - - if (list.Count > 0) - { - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = list; - jsonStr = JSONTools.ScriptSerialize(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - - } - /// - /// 添加信息 - /// - /// 生产线模型对象 - /// - public bool AddInfo(TA_DEPT md) - { - try - { - var list = db.SearchInfoByKey("LineName", md.DeptName);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.GUID != md.GUID).Count() > 0) - { - return false; - } - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// 生产线模型对象 - /// - public bool UpdateInfo(TA_DEPT md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.DeptName == md.DeptName && p.GUID != md.GUID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[3]; - proNames[0] = "DeptCode"; - proNames[1] = "DeptName"; - proNames[2] = "Remark"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - /// 删除生产线信息 - public bool DelInfo(TA_DEPT md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public string GetComboboxData() - { - try - { - string jsonStr = "[]"; - var list = db.SearchAllInfo().ToList();//判断是否有重复数据 - jsonStr = JSONTools.ScriptSerialize>(list); - return jsonStr; - } - catch (Exception ex) - { - return ""; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/DeviceBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/DeviceBLL.cs deleted file mode 100644 index 4b9d94c..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/DeviceBLL.cs +++ /dev/null @@ -1,251 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class DeviceBLL - { - BasicBLL db = new BasicBLL(); - /// - /// 查询信息 - /// - /// - public string SearchInfo(string page, string pagesize, string DeviceNo, string StationID) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - List list = db.SearchAllInfo(); - - if (!String.IsNullOrEmpty(StationID)) - { - list = list.Where(p => p.StationID == StationID).ToList();//按条件分页查询 - } - - if (!String.IsNullOrEmpty(DeviceNo)) - { - list = list.Where(p => p.DeviceNo.Contains(DeviceNo)).ToList();//按条件分页查询 - } - - if (list.Count > 0) - { - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - #region 联查 - List StationList = new List(); - BasicBLL pl_db = new BasicBLL(); - var pl_list = pl_db.SearchAllInfo().ToList(); - foreach (var item in list) - { - DeviceModel dm = Tool.Mapper(item); - var info = pl_list.FirstOrDefault(p => p.StationID == item.StationID); - if (info != null) - { - dm.StationNo = info.StationNo; - } - StationList.Add(dm); - } - #endregion - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = StationList; - jsonStr = JSONTools.ScriptSerialize>(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - - } - - - public string SearchInfoByID(string DeviceID) { - try - { - string jsonStr = "[]"; - tb_Device info = db.SearchInfoByID(DeviceID); - jsonStr = JSONTools.ScriptSerialize(info); - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - } - - - /// - /// 添加信息 - /// - /// 生产线模型对象 - /// - public bool AddInfo(tb_Device md) - { - try - { - var list = db.SearchInfoByKey("DeviceNo", md.DeviceNo);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.DeviceID != md.DeviceID).Count() > 0) - { - return false; - } - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// 生产线模型对象 - /// - public bool UpdateInfo(tb_Device md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.DeviceNo == md.DeviceNo && p.DeviceID != md.DeviceID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[6]; - proNames[0] = "StationID"; - proNames[1] = "DeviceNo"; - proNames[2] = "DeviceName"; - proNames[3] = "FixNo"; - proNames[4] = "Des"; - proNames[5] = "DeviceModel"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - /// 删除生产线信息 - public bool DelInfo(tb_Device md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public string GetComboboxData() - { - try - { - string jsonStr = "[]"; - var list = db.SearchAllInfo().ToList();//判断是否有重复数据 - foreach (var item in list) - { - item.DeviceName = item.DeviceNo + "----" + item.DeviceName; - } - jsonStr = JSONTools.ScriptSerialize>(list); - return jsonStr; - } - catch (Exception) - { - return ""; - } - - - } - - public string QueryForComboboxByLineID(string fl_id) - { - try - { - string jsonStr = "[]"; - var list = db.SearchAllInfo().ToList();//判断是否有重复数据 - if (fl_id != null && fl_id != "") - { - BasicBLL s_db = new BasicBLL(); - var s_list = s_db.SearchAllInfo().Where(p => p.LineID == fl_id).ToList();//判断是否有重复数据 - if (s_list.Count > 0) - { - string[] arr = s_list.Select(p => p.StationID).ToArray(); - list = list.Where(p => arr.Contains(p.StationID)).ToList(); - foreach (var item in list) - { - item.DeviceName = item.DeviceNo + "----" + item.DeviceName; - } - jsonStr = JSONTools.ScriptSerialize>(list); - return jsonStr; - } - } - return ""; - } - catch (Exception) - { - return ""; - } - - - } - - public string QueryForComboboxByStationID(string fl_id) - { - try - { - string jsonStr = "[]"; - - if (fl_id != null && fl_id != "") - { - var list = db.SearchAllInfo().Where(p => p.StationID == fl_id).ToList();//判断是否有重复数据 - foreach (var item in list) - { - item.DeviceName = item.DeviceNo + "----" + item.DeviceName; - } - jsonStr = JSONTools.ScriptSerialize>(list); - return jsonStr; - } - return ""; - } - catch (Exception) - { - return ""; - } - - - } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/FactoryBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/FactoryBLL.cs deleted file mode 100644 index 68ec1a7..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/FactoryBLL.cs +++ /dev/null @@ -1,148 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class FactoryBLL - { - BasicBLL db = new BasicBLL(); - /// - /// 查询信息 - /// - /// - public string SearchInfo(string page, string pagesize, string FactoryName) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - List list = db.SearchAllInfo(); - - - if (!String.IsNullOrEmpty(FactoryName)) - { - list = list.Where(p => p.FactoryName.Contains(FactoryName)).ToList();//按条件分页查询 - } - - if (list.Count > 0) - { - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = list; - jsonStr = JSONTools.ScriptSerialize>(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - - } - /// - /// 添加信息 - /// - /// 生产线模型对象 - /// - public bool AddInfo(tb_Factory md) - { - try - { - var list = db.SearchInfoByKey("FactoryName", md.FactoryName);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.FactoryID != md.FactoryID).Count() > 0) - { - return false; - } - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// 生产线模型对象 - /// - public bool UpdateInfo(tb_Factory md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.FactoryName == md.FactoryName && p.FactoryID != md.FactoryID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[2]; - proNames[0] = "FactoryName"; - proNames[1] = "Des"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - /// 删除生产线信息 - public bool DelInfo(tb_Factory md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public string GetComboboxData() - { - try - { - string jsonStr = "[]"; - var list = db.SearchAllInfo().ToList();//判断是否有重复数据 - jsonStr = JSONTools.ScriptSerialize>(list); - return jsonStr; - } - catch (Exception) - { - return ""; - } - - - - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ImgVideoBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ImgVideoBLL.cs deleted file mode 100644 index e63a31e..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ImgVideoBLL.cs +++ /dev/null @@ -1,135 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class ImgVideoBLL - { - BBMPTEntities ef = new BBMPTEntities(); - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_ImgVideo md) - { - try - { - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_ImgVideo md) - { - try - { - //初始化要更新的字段 - string[] proNames = new string[3]; - proNames[0] = "fileUrl"; - proNames[1] = "fileName"; - proNames[2] = "UpdateTime"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_ImgVideo md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string StartTime, string EndTime) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - - DateTime stime = Convert.ToDateTime(StartTime); - DateTime etime = Convert.ToDateTime(EndTime); - List list = ef.tb_ImgVideo.Where(p => p.CreateTime >= stime && p.CreateTime <= etime).OrderByDescending(p=>p.CreateTime).ToList(); - - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = list; - return JSONTools.ScriptSerialize(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_ImgVideo SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/InjectionPlanBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/InjectionPlanBLL.cs deleted file mode 100644 index 1792099..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/InjectionPlanBLL.cs +++ /dev/null @@ -1,414 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using System.Data; -using System.Data.SqlClient; -using MESClassLibrary.DAL.BasicInfo; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class InjectionPlanBLL - { - BBMPTEntities ef = new BBMPTEntities(); - BasicBLL db = new BasicBLL(); - InjectionPlanDAL dal = new InjectionPlanDAL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_InjectionPlan md) - { - try - { - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_InjectionPlan md) - { - try - { - - //初始化要更新的字段 - string[] proNames = new string[9]; - proNames[0] = "StationID"; - proNames[1] = "BeginTime"; - proNames[2] = "StockNo"; - proNames[3] = "PlanCount"; - proNames[4] = "EndTime"; - proNames[5] = "PlanDate"; - proNames[6] = "RealCycle"; - proNames[7] = "PartNo"; - proNames[8] = "ProductNature"; - - - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_InjectionPlan md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string stationID, string stockNo) - { - try - { - - string jsonStr = "[]"; - int total = 0;//总行数 - List list = db.SearchAllInfo().Where(p => p.IsFinish != 1).ToList(); - if (!String.IsNullOrEmpty(stationID)) - { - list = list.Where(p => p.StationID.Equals(stationID)).ToList(); - } - if (!String.IsNullOrEmpty(stockNo)) - { - list = list.Where(p => p.StockNo.Contains(stockNo)).ToList(); - } - - list = list.OrderBy(p => p.BeginTime).ToList(); - - List modelList = new List(); - if (list.Count > 0) - { - total = list.Count; - - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - - #region 联查 - BasicBLL product_db = new BasicBLL(); - var product_list = product_db.SearchAllInfo(); - - BasicBLL station_db = new BasicBLL(); - var station_list = station_db.SearchAllInfo(); - - foreach (var item in list) - { - InjectionPlanModel dm = Tool.Mapper(item); - dm.ProductName = ""; - var station_info = station_list.FirstOrDefault(p => p.StationID == item.StationID); - if (station_info != null) - { - dm.StationNo = station_info.StationNo; - } - - if (item.PartNo != null && item.PartNo.IndexOf(",") > 0) - { - - string[] arr_PartNo = item.PartNo.Split(','); - foreach (var w in arr_PartNo) - { - var product_info = product_list.FirstOrDefault(p => p.PartNo == w); - if (product_info != null) - { - dm.ProductName = dm.ProductName + product_info.ProductName + ","; - } - } - - dm.ProductName = dm.ProductName.Substring(0, dm.ProductName.Length - 1); - - } - else - { - var product_info = product_list.FirstOrDefault(p => p.PartNo == item.PartNo); - if (product_info != null) - { - dm.ProductName = product_info.ProductName; - } - - } - - - - modelList.Add(dm); - } - #endregion - - - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = modelList; - jsonStr = JSONTools.ScriptSerialize(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - public string SearchInfoAll2(string page, string pagesize, string stationID, string stockNo, string StartTime, string EndTime) - { - try - { - - string jsonStr = "[]"; - int total = 0;//总行数 - - total = dal.SearchByTimeCount(stationID, stockNo, StartTime, EndTime); - DataTable dt = dal.SearchByTime(Convert.ToInt32(page), Convert.ToInt32(pagesize), stationID, stockNo, StartTime, EndTime); - - List list = Tool.ConvertTo(dt).ToList(); - - //List list = ef.tb_InjectionPlan.Where(p => DateTime.Parse(p.BeginTime) >= stime && DateTime.Parse(p.EndTime) <= etime).ToList(); - - - if (!String.IsNullOrEmpty(stationID)) - { - list = list.Where(p => p.StationID.Equals(stationID)).ToList(); - } - if (!String.IsNullOrEmpty(stockNo)) - { - list = list.Where(p => p.StockNo.Contains(stockNo)).ToList(); - } - - list = list.OrderBy(p => p.BeginTime).ToList(); - - List modelList = new List(); - if (list.Count > 0) - { - total = list.Count; - - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - - #region 联查 - BasicBLL product_db = new BasicBLL(); - var product_list = product_db.SearchAllInfo(); - - BasicBLL station_db = new BasicBLL(); - var station_list = station_db.SearchAllInfo(); - - foreach (var item in list) - { - InjectionPlanModel dm = Tool.Mapper(item); - var product_info = product_list.FirstOrDefault(p => p.StockNo == item.StockNo); - if (product_info != null) - { - dm.PartNo = product_info.PartNo; - dm.ProductName = product_info.ProductName; - } - - var station_info = station_list.FirstOrDefault(p => p.StationID == item.StationID); - if (station_info != null) - { - dm.StationNo = station_info.StationNo; - } - - modelList.Add(dm); - } - #endregion - - - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = modelList; - jsonStr = JSONTools.ScriptSerialize(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - public bool UpdateInfo2(tb_InjectionPlan md) - { - try - { - - //初始化要更新的字段 - string[] proNames = new string[3]; - proNames[0] = "workClass"; - proNames[1] = "JK_Weight"; - proNames[2] = "Waste_Weight"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息 - /// - /// - public List SearchAll() - { - try - { - var s_list = db.SearchAllInfo().ToList(); - return s_list; - } - catch (Exception) - { - return null; - } - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_InjectionPlan SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - public String GetEndTime(tb_InjectionPlan md) - { - try - { - BasicBLL Plastic_db = new BasicBLL(); - - var info = from c in Plastic_db.SearchAllInfo() - where c.PartNo == md.PartNo && c.StationID == md.StationID && c.IsBackup == 1 - select c.CycleTime; - - if (info.FirstOrDefault() != null) - { - double seconds = Convert.ToDouble(info.FirstOrDefault().Value) * Convert.ToDouble(md.PlanCount); - return Convert.ToDateTime(md.BeginTime).AddSeconds(seconds).ToString("yyyy-MM-dd HH:mm:ss"); - } - return md.BeginTime; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - public DataTable SearchInfoByName(string StationID) - { - try - { - return dal.SearchPlanByStation(StationID); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - public DataTable NextSearchInfoByName(string StationID) - { - try - { - return dal.NextSearchPlanByStation(StationID); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool UpdateFinish(InjectionPlanModel md) - { - InjectionPlanDAL dal = new InjectionPlanDAL(); - try - { - return dal.UpdateFinish(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - - public string GetStartTime(string StationID) - { - - var bf = db.SearchInfoByKey("StationID", StationID).OrderByDescending(p => p.EndTime).FirstOrDefault(); - if (bf != null) - { - return bf.EndTime; - } - - return ""; - - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/LineBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/LineBLL.cs deleted file mode 100644 index 58d9540..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/LineBLL.cs +++ /dev/null @@ -1,170 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class LineBLL - { - BasicBLL db = new BasicBLL(); - /// - /// 查询信息 - /// - /// - public string SearchInfo(string page, string pagesize, string LineName, string PlaceID, string userID) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - List list = db.SearchAllInfo(); - - //数据权限 - //BasicBLL userdb = new BasicBLL(); - //T_Sys_Users user = userdb.SearchInfoByID(userID); - //List list = db.SearchInfoContains("LineName", user.Department); - - if (!String.IsNullOrEmpty(PlaceID)) - { - list = list.Where(p => p.PlaceID == PlaceID).ToList();//按条件分页查询 - } - - if (!String.IsNullOrEmpty(LineName)) - { - list = list.Where(p => p.LineName.Contains(LineName)).ToList();//按条件分页查询 - } - - if (list.Count > 0) - { - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - #region 联查 - List ModelList = new List(); - BasicBLL p_db = new BasicBLL(); - var p_list = p_db.SearchAllInfo().ToList(); - foreach (var item in list) - { - LineModel dm = Tool.Mapper(item); - var info = p_list.FirstOrDefault(p => p.PlaceID == item.PlaceID); - if (info != null) - { - dm.PlaceName = info.PlaceName; - } - ModelList.Add(dm); - } - #endregion - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = ModelList; - jsonStr = JSONTools.ScriptSerialize>(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - - } - /// - /// 添加信息 - /// - /// 生产线模型对象 - /// - public bool AddInfo(tb_Line md) - { - try - { - var list = db.SearchInfoByKey("LineName", md.LineName);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.LineID != md.LineID).Count() > 0) - { - return false; - } - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// 生产线模型对象 - /// - public bool UpdateInfo(tb_Line md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.LineName == md.LineName && p.LineID != md.LineID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[3]; - proNames[0] = "PlaceID"; - proNames[1] = "LineName"; - proNames[2] = "Des"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - /// 删除生产线信息 - public bool DelInfo(tb_Line md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public string GetComboboxData() - { - try - { - string jsonStr = "[]"; - var list = db.SearchAllInfo().ToList();//判断是否有重复数据 - jsonStr = JSONTools.ScriptSerialize>(list); - return jsonStr; - } - catch (Exception) - { - return ""; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/MachineBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/MachineBLL.cs deleted file mode 100644 index a38c035..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/MachineBLL.cs +++ /dev/null @@ -1,184 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class MachineBLL - { - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_Machine md) - { - try - { - var list = db.SearchInfoByKey("MachineNo", md.MachineNo);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.MachineID != md.MachineID).Count() > 0) - { - return false; - } - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_Machine md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.MachineNo == md.MachineNo && p.MachineID != md.MachineID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[2]; - proNames[0] = "MachineNo"; - proNames[1] = "Des"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_Machine md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string machineNo) - { - string jsonStr = "[]"; - int total = 0;//总行数 - List list = db.SearchAllInfo(); - - if (!String.IsNullOrEmpty(machineNo)) - { - list = list.Where(p => p.MachineNo.Contains(machineNo)).ToList(); - } - - if (list.Count > 0) - { - total = list.Count; - - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = list; - jsonStr = JSONTools.ScriptSerialize>(md); - } - return jsonStr; - - } - - /// - /// 查询全部信息 - /// - /// - public List SearchAll() - { - try - { - var s_list = db.SearchAllInfo().ToList(); - return s_list; - } - catch (Exception) - { - return null; - } - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_Machine SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - //下拉框查询方法 - public string GetComboboxData() - { - try - { - string jsonStr = "[]"; - var list = db.SearchAllInfo().ToList(); - jsonStr = JSONTools.ScriptSerialize>(list); - return jsonStr; - } - catch (Exception) - { - return ""; - } - - - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ManufacturerBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ManufacturerBLL.cs deleted file mode 100644 index a41cbfb..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ManufacturerBLL.cs +++ /dev/null @@ -1,180 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class ManufactureBLL - { - readonly BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_Manufacturer md) - { - try - { - var list = db.SearchInfoByKey("ManufacturerName", md.ManufacturerName);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.ID != md.ID).Count() > 0) - { - return false; - } - - } - md.CreateTime = DateTime.Now; - var result = db.AddInfo(md); - return result; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_Manufacturer md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.ManufacturerName == md.ManufacturerName && p.ID != md.ID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[] { - "ManufacturerName", - "Des", - "UpdateTime", - }; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - md.UpdateTime = DateTime.Now; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_Manufacturer md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string name) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - IEnumerable list = db.SearchAllInfo(); - - if (!string.IsNullOrEmpty(name)) - { - list = list.Where(p => p.ManufacturerName != null && p.ManufacturerName.Contains(name)); - } - List modelList = new List(); - if (list.Any()) - { - total = list.Count(); - - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)); - - JsonDataModel md = new JsonDataModel - { - total = total.ToString(), - rows = list.ToList() - }; - jsonStr = md.ToSerializer(); - } - - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 查询全部信息 - /// - /// - public List SearchAll() - { - try - { - var s_list = db.SearchAllInfo().ToList(); - return s_list; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_Manufacturer SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ModelInfoBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ModelInfoBLL.cs deleted file mode 100644 index ab06c3e..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ModelInfoBLL.cs +++ /dev/null @@ -1,224 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.DAL.BasicInfo; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class ModelInfoBLL - { - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_ModelInfo md) - { - try - { - var list = db.SearchInfoByKey("ModelNo", md.ModelNo);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.ID != md.ID).Count() > 0) - { - return false; - } - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_ModelInfo md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.ModelNo == md.ModelNo && p.ID != md.ID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[14]; - proNames[0] = "ModelName"; - proNames[1] = "ModelNo"; - proNames[2] = "PermanentAssetsNo"; - proNames[3] = "Tonnage"; - proNames[4] = "ServiceLife"; - proNames[5] = "Supplier"; - proNames[6] = "PartWeight"; - proNames[7] = "InjectionPeriod"; - proNames[8] = "LocatingRingSize"; - proNames[9] = "OutForm"; - proNames[10] = "ModelWeight"; - proNames[11] = "RunnerForm"; - proNames[12] = "ModelCavityNo"; - proNames[13] = "ModelSize"; - - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_ModelInfo md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string ModelNo) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - - List list = db.SearchAllInfo(); - - if (!String.IsNullOrEmpty(ModelNo)) - { - list = list.Where(p => p.ModelNo.Contains(ModelNo)).ToList(); - } - - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = list; - return JSONTools.ScriptSerialize(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_ModelInfo SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - public string GetComboboxData() - { - try - { - string jsonStr = "[]"; - var list = db.SearchAllInfo().OrderBy(p => p.ModelNo).ToList();//判断是否有重复数据 - - List sl = new List(); - - foreach (var item in list) - { - SelectModel md = new SelectModel(); - md.textField = item.ModelName; - md.valueField = item.ID; - sl.Add(md); - } - - jsonStr = JSONTools.ScriptSerialize(sl); - return jsonStr; - } - catch (Exception) - { - return ""; - } - - - } - - public DataTable SearchInfo(string ModelNo) - { - try - { - ModelInfoDAL da=new ModelInfoDAL(); - return da.SearchInfo(ModelNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - //public DataTable SearchAll() - //{ - // ColorDAL da = new ColorDAL(); - // try - // { - // return da.SearchInfoAll(); - // } - // catch (Exception ex) - // { - // LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - // return null; - // } - //} - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ModelProductBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ModelProductBLL.cs deleted file mode 100644 index 9cd0aac..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ModelProductBLL.cs +++ /dev/null @@ -1,193 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.DAL; -using MESClassLibrary.DAL.BasicInfo; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class ModelProductBLL - { - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_Model_Product md) - { - try - { - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_Model_Product md) - { - try - { - //初始化要更新的字段 - string[] proNames = new string[] { - "ProuctID", - "ModelID", - }; - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_Model_Product md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string ModelID, string ProductID) - { - try - { - string result = "[]"; - int total = 0;//总行数 - - IEnumerable list = db.SearchAllInfo(); - if (!string.IsNullOrEmpty(ModelID)) - { - list = list.Where(p => p.ModelID == ModelID); - } - if (!string.IsNullOrEmpty(ProductID)) - { - list = list.Where(p => p.ProuctID == ProductID); - } - - - if (list.Any()) - { - total = list.Count(); - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - BasicBLL modelDb = new BasicBLL(); - var modelList = modelDb.SearchAllInfo(); - - BasicBLL productDb = new BasicBLL(); - var productList = productDb.SearchAllInfo(); - - var mpmList = new List(); - foreach (var item in list) - { - ModelProductModel mpm = Tool.Mapper(item); - var productInfo = productList.FirstOrDefault(prod => prod.ProductID == item.ProuctID); - var modelInfo = modelList.FirstOrDefault(mod => mod.ID == item.ModelID); - - if (productInfo != null) - { - mpm.ProductName = productInfo.ProductName; - mpm.PartNo = productInfo.PartNo; - } - if (modelInfo != null) - { - mpm.ModelName = modelInfo.ModelName; - mpm.ModelNo = modelInfo.ModelNo; - } - - mpmList.Add(mpm); - } - JsonDataModel md = new JsonDataModel - { - total = total.ToString(), - rows = mpmList - }; - result = md.ToSerializer(); - - } - return result; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_Model_Product SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - public DataTable SearchInfo(string ModelID, string ProuctID) - { - try - { - ModelProductDAL da=new ModelProductDAL(); - return da.SearchInfo(ModelID, ProuctID); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ModelUpdateBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ModelUpdateBLL.cs deleted file mode 100644 index 199d30b..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ModelUpdateBLL.cs +++ /dev/null @@ -1,137 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.BasicInfo -{ - - public class ModelUpdateBLL - { - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddUpdateInfo(tb_Model_Update md) - { - try - { - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_Model_Update md) - { - try - { - //初始化要更新的字段 - string[] proNames = new string[5]; - proNames[0] = "Purpose"; - proNames[1] = "State"; - proNames[2] = "Supplier"; - proNames[3] = "Remarks"; - proNames[4] = "AddTime"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_Model_Update md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string ModelID) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - - List list = db.SearchInfoByKey("ModelID", ModelID).OrderByDescending(p => p.AddTime).ToList(); - - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = list; - return JSONTools.ScriptSerialize(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_Model_Update SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/OperatorBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/OperatorBLL.cs deleted file mode 100644 index 20e13c6..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/OperatorBLL.cs +++ /dev/null @@ -1,185 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; -using MESClassLibrary.DAL.BasicInfo; -using System.Data; -using System.Data.SqlClient; -using System.Reflection; -using MESClassLibrary.EFModel; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class OperatorBLL - { - BasicBLL db = new BasicBLL(); - - OperatorDAL dal = new OperatorDAL(); - - public DataTable SearchInfoByName(string OperatorName, string StationID) - { - try - { - return dal.SearchInfoByName(OperatorName, StationID); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - - public DataTable SearchInfoByNameAndPsw(string OperatorName, string StationID, string psw) - { - try - { - return dal.SearchInfoByNameAndPsw(OperatorName, StationID, psw); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 查询信息 - /// - /// - public string SearchInfo(string page, string pagesize, string OperatorName, string StationID) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - List list = db.SearchAllInfo(); - - if (!String.IsNullOrEmpty(StationID)) - { - list = list.Where(p => p.StationID.Equals(StationID)).ToList();//按条件分页查询 - } - - if (!String.IsNullOrEmpty(OperatorName)) - { - list = list.Where(p => p.OperatorName.Contains(OperatorName)).ToList();//按条件分页查询 - } - - if (list.Count > 0) - { - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - #region 联查 - List StationList = new List(); - BasicBLL pl_db = new BasicBLL(); - var pl_list = pl_db.SearchAllInfo().ToList(); - foreach (var item in list) - { - OperatorModel dm = Tool.Mapper(item); - var info = pl_list.FirstOrDefault(p => p.StationID == item.StationID); - if (info != null) - { - dm.StationNo = info.StationNo; - } - StationList.Add(dm); - } - #endregion - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = StationList; - jsonStr = JSONTools.ScriptSerialize>(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - - } - /// - /// 添加信息 - /// - /// 生产线模型对象 - /// - public bool AddInfo(tb_Operator md) - { - try - { - var list = db.SearchInfoByKey("OperatorNo", md.OperatorNo);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.OperatorID != md.OperatorID).Count() > 0) - { - return false; - } - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// 生产线模型对象 - /// - public bool UpdateInfo(tb_Operator md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.OperatorNo == md.OperatorNo && p.OperatorID != md.OperatorID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[5]; - proNames[0] = "StationID"; - proNames[1] = "OperatorNo"; - proNames[2] = "OperatorName"; - proNames[3] = "OperatorPsw"; - proNames[4] = "Des"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - /// 删除生产线信息 - public bool DelInfo(tb_Operator md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/PaintInfoBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/PaintInfoBLL.cs deleted file mode 100644 index 830fe66..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/PaintInfoBLL.cs +++ /dev/null @@ -1,335 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.BasicInfo -{ - - public class PaintInfoBLL - { - BasicBLL dbPB = new BasicBLL(); - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_PaintInfo md) - { - try - { - var list = db.SearchInfoByKey("PaintCode", md.PaintCode);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.ID != md.ID && p.IsUsing == 1).Count() > 0) - { - return false; - } - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_PaintInfo md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.PaintCode == md.PaintCode && p.ID != md.ID && p.IsUsing == 1).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[5]; - proNames[0] = "PaintCode"; - proNames[1] = "PaintName"; - proNames[2] = "PaintModel"; - //proNames[3] = "UnitCode"; - proNames[3] = "CarModelCode"; - proNames[4] = "IsUsing"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_PaintInfo md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string PaintCode) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - - List list = db.SearchAllInfo(); - - if (!String.IsNullOrEmpty(PaintCode)) - { - list = list.Where(p => p.PaintCode.Contains(PaintCode)).ToList(); - } - - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = list; - return JSONTools.ScriptSerialize(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_PaintInfo SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - public string GetComboboxData() - { - try - { - string jsonStr = "[]"; - var list = db.SearchAllInfo().ToList();//判断是否有重复数据 - - List sl = new List(); - - foreach (var item in list) - { - SelectModel md = new SelectModel(); - md.textField = item.PaintCode + "--" + item.PaintName; - md.valueField = item.ID; - sl.Add(md); - } - - jsonStr = JSONTools.ScriptSerialize(sl); - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - - } - - - public string SearchRelation(string page, string pagesize, string PaintID, string BucketID) - { - - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - - - List list = dbPB.SearchAllInfo(); - - if (!String.IsNullOrEmpty(PaintID)) - { - list = list.Where(p => p.PaintID == PaintID).ToList(); - } - - if (!String.IsNullOrEmpty(BucketID)) - { - list = list.Where(p => p.BucketID == BucketID).ToList(); - } - - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - - List modelList = new List(); - - #region 联查 - BasicBLL PaintInfo_db = new BasicBLL(); - var PaintInfo_list = PaintInfo_db.SearchAllInfo(); - - BasicBLL BucketInfo_db = new BasicBLL(); - var BucketInfo_list = BucketInfo_db.SearchAllInfo(); - - foreach (var item in list) - { - Paint_BucketModel dm = Tool.Mapper(item); - var PaintInfo_info = PaintInfo_list.FirstOrDefault(p => p.ID == item.PaintID); - if (PaintInfo_info != null) - { - dm.PaintCode = PaintInfo_info.PaintCode; - dm.PaintName = PaintInfo_info.PaintName; - } - - var BucketInfo_info = BucketInfo_list.FirstOrDefault(p => p.ID == item.BucketID); - if (BucketInfo_info != null) - { - dm.BucketCode = BucketInfo_info.BucketCode; - dm.BucketName = BucketInfo_info.BucketName; - } - - modelList.Add(dm); - } - #endregion - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = modelList; - return JSONTools.ScriptSerialize(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 新增信息 - /// - /// - /// - public bool AddRelation(tb_Paint_Bucket md) - { - try - { - var list = dbPB.SearchAllInfo().Where(p => p.PaintID == md.PaintID && p.BucketID == md.BucketID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - return dbPB.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateRelation(tb_Paint_Bucket md) - { - try - { - var list = dbPB.SearchAllInfo().Where(p => p.PaintID == md.PaintID && p.ID != md.ID && p.BucketID == md.BucketID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[2]; - proNames[0] = "PaintID"; - proNames[1] = "BucketID"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return dbPB.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - public bool DeleteRelation(tb_Paint_Bucket md) - { - try - { - List ef = dbPB.SearchInfoByKey("ID", md.ID); - if (ef!=null && ef.Count>0) - { - return dbPB.DelInfo(ef.First()); - } - return false; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/PlaceBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/PlaceBLL.cs deleted file mode 100644 index 52b4c86..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/PlaceBLL.cs +++ /dev/null @@ -1,165 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class PlaceBLL - { - BasicBLL db = new BasicBLL(); - /// - /// 查询信息 - /// - /// - public string SearchInfo(string page, string pagesize, string PlaceName, string FactoryID) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - List list = db.SearchAllInfo(); - - if (!String.IsNullOrEmpty(FactoryID)) - { - list = list.Where(p => p.FactoryID == FactoryID).ToList();//按条件分页查询 - } - - if (!String.IsNullOrEmpty(PlaceName)) - { - list = list.Where(p => p.PlaceName.Contains(PlaceName)).ToList();//按条件分页查询 - } - - if (list.Count > 0) - { - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - #region 联查 - List ModelList = new List(); - BasicBLL p_db = new BasicBLL(); - var p_list = p_db.SearchAllInfo().ToList(); - foreach (var item in list) - { - PlaceModel dm = Tool.Mapper(item); - var info = p_list.FirstOrDefault(p => p.FactoryID == item.FactoryID); - if (info != null) - { - dm.FactoryName = info.FactoryName; - } - ModelList.Add(dm); - } - #endregion - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = ModelList; - jsonStr = JSONTools.ScriptSerialize>(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - - } - /// - /// 添加信息 - /// - /// 生产线模型对象 - /// - public bool AddInfo(tb_Place md) - { - try - { - var list = db.SearchInfoByKey("PlaceName", md.PlaceName);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.PlaceID != md.PlaceID).Count() > 0) - { - return false; - } - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// 生产线模型对象 - /// - public bool UpdateInfo(tb_Place md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.PlaceName == md.PlaceName && p.PlaceID != md.PlaceID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[3]; - proNames[0] = "FactoryID"; - proNames[1] = "PlaceName"; - proNames[2] = "Des"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - /// 删除生产线信息 - public bool DelInfo(tb_Place md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public string GetComboboxData() - { - try - { - string jsonStr = "[]"; - var list = db.SearchAllInfo().ToList();//判断是否有重复数据 - jsonStr = JSONTools.ScriptSerialize>(list); - return jsonStr; - } - catch (Exception) - { - return ""; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ProductBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ProductBLL.cs deleted file mode 100644 index e137fa5..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ProductBLL.cs +++ /dev/null @@ -1,471 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.BasicInfo; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class ProductBLL - { - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_Product md) - { - try - { - var list = db.SearchInfoByKey("StockNo", md.StockNo);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.ProductID != md.ProductID).Count() > 0) - { - return false; - } - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_Product md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.StockNo == md.StockNo && p.ProductID != md.ProductID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[] { - "StockNo", - "ProductTypeID", - "CarTypeID", - "PartName", - "ProductName", - "ColorName", - "PartNo", - "Rows", - "Cols", - "Layers", - "Des", - "isImport", - "PackCount", - "OpenFailNum", - "QLevel", - "IsPrintOneTag", - "IsPrintPackList", - "IsSupply", - "IsOneMore", - "BackPlatingNum", - "IsPlating", - "IsSame" - }; - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - md.PicturePath = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_Product md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string stockNo, string productTypeID, string productName, string partNo) - { - try - { - - string jsonStr = "[]"; - int total = 0;//总行数 - List list = db.SearchAllInfo(); - - if (!String.IsNullOrEmpty(stockNo)) - { - list = list.Where(p => p.StockNo != null && p.StockNo.Contains(stockNo)).ToList(); - } - if (!String.IsNullOrEmpty(productTypeID)) - { - list = list.Where(p => p.ProductTypeID.Equals(productTypeID)).ToList(); - } - if (!String.IsNullOrEmpty(productName)) - { - list = list.Where(p => p.ProductName != null && p.ProductName.Contains(productName)).ToList(); - } - if (!String.IsNullOrEmpty(partNo)) - { - list = list.Where(p => p.PartNo != null && p.PartNo.Contains(partNo)).ToList(); - } - List modelList = new List(); - if (list.Count > 0) - { - total = list.Count; - - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - - #region 联查 - BasicBLL s_db = new BasicBLL(); - BasicBLL carTypeDB = new BasicBLL(); - var s_list = s_db.SearchAllInfo(); - var carTypeList = carTypeDB.SearchAllInfo(); - - foreach (var item in list) - { - ProductModel dm = Tool.Mapper(item); - var info = s_list.FirstOrDefault(p => p.ProductTypeID == item.ProductTypeID); - var cartype = carTypeList.FirstOrDefault(p => p.ID == item.CarTypeID); - if (info != null) - { - dm.ProductTypeName = info.ProductTypeName; - } - if (cartype != null) - { - dm.CarTypeName = cartype.CarTypeName; - } - modelList.Add(dm); - } - #endregion - - - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = modelList; - jsonStr = JSONTools.ScriptSerialize>(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 查询全部信息 - /// - /// - public List SearchAll() - { - try - { - var s_list = db.SearchAllInfo().ToList(); - return s_list; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public string SearchInfoByIsOneMore(string isOneMore) - { - try - { - return db.Search(q => q.IsOneMore == isOneMore).ToList().ToSerializer(); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_Product SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public string GetComboboxProductAll() - { - return SearchAll().ToSerializer(); - } - - public string GetComboboxData(string productTypeNo) - { - try - { - - BasicBLL productTypeDB = new BasicBLL(); - - var info = from m in db.SearchAllInfo().ToList() - join s in productTypeDB.SearchAllInfo().ToList() on m.ProductTypeID equals s.ProductTypeID into val2Grp - from grp in val2Grp.DefaultIfEmpty() - where grp.ProductTypeNo == productTypeNo - select new { m.PartNo, PartName = m.PartNo + "----" + m.ProductName }; - string jsonStr = "[]"; - jsonStr = JSONTools.ScriptSerialize(info); - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - } - - public string GetComboboxProduct(string productTypeNo) - { - try - { - - BasicBLL productTypeDB = new BasicBLL(); - - - var info = from m in db.SearchAllInfo().ToList() - join s in productTypeDB.SearchAllInfo().ToList() on m.ProductTypeID equals s.ProductTypeID into val2Grp - from grp in val2Grp.DefaultIfEmpty() - where grp.ProductTypeNo == productTypeNo - select new { m.ProductID, m.ProductName }; - string jsonStr = "[]"; - jsonStr = JSONTools.ScriptSerialize(info); - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - } - - public string GetComboboxDataForStockNo(string productTypeNo) - { - try - { - - BasicBLL productTypeDB = new BasicBLL(); - - var info = from m in db.SearchAllInfo().ToList() - join s in productTypeDB.SearchAllInfo().ToList() on m.ProductTypeID equals s.ProductTypeID into val2Grp - from grp in val2Grp.DefaultIfEmpty() - where grp.ProductTypeNo == productTypeNo - select new { c_id = m.StockNo, c_text = m.PartNo + "--" + m.ProductName, c_name = m.StockNo + "--" + m.ProductName,c_name2 = m.PartNo }; - string jsonStr = "[]"; - jsonStr = JSONTools.ScriptSerialize(info); - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - } - - public DataTable SearchInfoByType(string type, string stationNo) - { - ProductDAL da = new ProductDAL(); - try - { - return da.SearchInfoByType(type, stationNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoAllByType(string type) - { - ProductDAL da = new ProductDAL(); - try - { - return da.SearchInfoAllByType(type); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoByName(string productName, string ProductTypeNo) - { - ProductDAL da = new ProductDAL(); - try - { - return da.SearchInfoByName(productName, ProductTypeNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoByPartNo(string partNo) - { - ProductDAL da = new ProductDAL(); - try - { - return da.SearchInfoByPartNo(partNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchIsImportByStockNo(string stockNo) - { - ProductDAL da = new ProductDAL(); - try - { - return da.SearchIsImportByStockNo(stockNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchIsImportByPartNo(string partNo) - { - ProductDAL da = new ProductDAL(); - try - { - return da.SearchIsImportByPartNo(partNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoByProductName(string ProductName) - { - ProductDAL da = new ProductDAL(); - try - { - return da.SearchInfoByProductName(ProductName); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool UpdatePDF(string id, string fileName) - { - try - { - tb_Product md = new tb_Product(); - md.ProductID = id; - md.PicturePath = fileName; - - //初始化要更新的字段 - string[] proNames = new string[1]; - proNames[0] = "PicturePath"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchInfoAll() - { - ProductDAL da = new ProductDAL(); - try - { - return da.SearchInfoAll(); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoByStock(string StockNo) - { - ProductDAL da = new ProductDAL(); - try - { - return da.SearchInfoByStock(StockNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ProductColorBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ProductColorBLL.cs deleted file mode 100644 index 839e484..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ProductColorBLL.cs +++ /dev/null @@ -1,169 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class ProductColorBLL - { - BBMPTEntities ef = new BBMPTEntities(); - BasicBLL db = new BasicBLL(); - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string productID, string colorID) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - IEnumerable list = db.SearchAllInfo(); - if (!string.IsNullOrEmpty(productID)) - { - list = list.Where(p => p.ProductID.Equals(productID)); - } - if (!string.IsNullOrEmpty(colorID)) - { - list = list.Where(p => p.ColorID.Contains(colorID)); - } - - if (list.Any()) - { - List modelList = new List(); - total = list.Count(); - - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - - #region 联查 - BasicBLL product_db = new BasicBLL(); - var product_list = product_db.SearchAllInfo(); - - BasicBLL station_db = new BasicBLL(); - var station_list = station_db.SearchAllInfo(); - - foreach (var item in list) - { - ProductColorModel dm = Tool.Mapper(item); - var product_info = product_list.FirstOrDefault(p => p.ProductID == item.ProductID); - if (product_info != null) - { - dm.PartNo = product_info.PartNo; - dm.ProductName = product_info.ProductName; - } - - var color_info = station_list.FirstOrDefault(p => p.ID == item.ColorID); - if (color_info != null) - { - dm.ColorNo = color_info.ColorNo; - dm.ColorName = color_info.Des; - } - - modelList.Add(dm); - } - #endregion - - - JsonDataModel md = new JsonDataModel - { - total = total.ToString(), - rows = modelList - }; - jsonStr = JSONTools.ScriptSerialize(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_Product_Color md) - { - try - { - var list = db.SearchAllInfo().Where(p => - p.ColorID == md.ColorID && - p.ProductID == md.ProductID); - if (list.Where(p => p.ID != md.ID).Any()) - { - return false; - } - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_Product_Color md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.ColorID == md.ColorID && p.ProductID != md.ProductID);//判断是否有重复数据 - if (list.Any()) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[] { "ProductID", "ColorID" }; - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_Product_Color md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ProductOfInjectionBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ProductOfInjectionBLL.cs deleted file mode 100644 index c7490c6..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ProductOfInjectionBLL.cs +++ /dev/null @@ -1,83 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.BasicInfo; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class ProductOfInjectionBLL - { - ProductOfInjectionDAL db=new ProductOfInjectionDAL(); - - public bool Add_Info(ProductOfInjectionModel md) - { - try - { - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchCountByInfo(string station, string date, string classname, string StockNo,string partno) - { - try - { - return db.SearchCountByInfo(station,date,classname,StockNo,partno); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool Update_Info(ProductOfInjectionModel md) - { - try - { - return db.UpdateInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool UpdateBad_Info(ProductOfInjectionModel md) - { - try - { - return db.UpdteBadInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool updateProductCount(ProductOfInjectionModel md) - { - try - { - return db.updateProductCount(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ProductTypeBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ProductTypeBLL.cs deleted file mode 100644 index 2896c0e..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/ProductTypeBLL.cs +++ /dev/null @@ -1,182 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.BasicInfo; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class ProductTypeBLL - { - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_ProductType md) - { - try - { - var list = db.SearchInfoByKey("ProductTypeNo", md.ProductTypeNo);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.ProductTypeID != md.ProductTypeID).Count() > 0) - { - return false; - } - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_ProductType md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.ProductTypeNo == md.ProductTypeNo && p.ProductTypeID != md.ProductTypeID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[2]; - proNames[0] = "ProductTypeName"; - proNames[1] = "Des"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_ProductType md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - List list = db.SearchInfoAll(Convert.ToInt32(page), Convert.ToInt32(pagesize), out total);//按分页查询 - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = list; - return JSONTools.ScriptSerialize(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 查询全部信息 - /// - /// - public List SearchAll() - { - try - { - var s_list = db.SearchAllInfo().ToList(); - return s_list; - } - catch (Exception) - { - return null; - } - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_ProductType SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - public string GetComboboxData() - { - try - { - string jsonStr = "[]"; - var list = db.SearchAllInfo().ToList();//判断是否有重复数据 - foreach (var item in list) - { - item.ProductTypeName = item.ProductTypeNo + "----" + item.ProductTypeName; - } - jsonStr = JSONTools.ScriptSerialize>(list); - return jsonStr; - } - catch (Exception) - { - return ""; - } - - - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/StationBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/StationBLL.cs deleted file mode 100644 index ab43ddf..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/BasicInfo/StationBLL.cs +++ /dev/null @@ -1,201 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using MESClassLibrary.DAL.BasicInfo; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using System.Data; -using System.Data.SqlClient; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class StationBLL - { - BasicBLL db = new BasicBLL(); - /// - /// 查询信息 - /// - /// - public string SearchInfo(string page, string pagesize, string StationNo, string LineID) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - List list = db.SearchAllInfo(); - - if (!String.IsNullOrEmpty(LineID)) - { - list = list.Where(p => p.LineID == LineID).ToList();//按条件分页查询 - } - - if (!String.IsNullOrEmpty(StationNo)) - { - list = list.Where(p => p.StationNo.Contains(StationNo)).ToList();//按条件分页查询 - } - - if (list.Count > 0) - { - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - #region 联查 - List StationList = new List(); - BasicBLL pl_db = new BasicBLL(); - var pl_list = pl_db.SearchAllInfo().ToList(); - foreach (var item in list) - { - StationModel dm = Tool.Mapper(item); - var info = pl_list.FirstOrDefault(p => p.LineID == item.LineID); - if (info != null) - { - dm.LineName = info.LineName; - } - StationList.Add(dm); - } - #endregion - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = StationList; - jsonStr = JSONTools.ScriptSerialize>(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - - } - /// - /// 添加信息 - /// - /// 生产线模型对象 - /// - public bool AddInfo(tb_Station md) - { - try - { - var list = db.SearchInfoByKey("StationNo", md.StationNo);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.StationID != md.StationID).Count() > 0) - { - return false; - } - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// 生产线模型对象 - /// - public bool UpdateInfo(tb_Station md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.StationNo == md.StationNo && p.StationID != md.StationID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[3]; - proNames[0] = "LineID"; - proNames[1] = "StationNo"; - proNames[2] = "Des"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - /// 删除生产线信息 - public bool DelInfo(tb_Station md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public string GetComboboxData(string StationNo) - { - try - { - string jsonStr = "[]"; - if (StationNo == null || StationNo == "") - { - var list = db.SearchAllInfo().ToList();//判断是否有重复数据 - jsonStr = JSONTools.ScriptSerialize>(list); - } - else - { - var list = db.SearchInfoContains("StationNo", StationNo).ToList();//判断是否有重复数据 - jsonStr = JSONTools.ScriptSerialize>(list); - } - - return jsonStr; - } - catch (Exception) - { - return ""; - } - - - - } - - public DataTable SearchInfoByNo(string station) - { - StationDAL db = new StationDAL(); - - try - { - return db.SearchInfoByNo(station); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public List SearchAll() - { - return db.SearchAllInfo(); - } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Check/InspectResultBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Check/InspectResultBLL.cs deleted file mode 100644 index bbe471f..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Check/InspectResultBLL.cs +++ /dev/null @@ -1,1406 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.Check; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.Check -{ - public class InspectResultBLL - { - - InspectResultDAL dal = new InspectResultDAL(); - - BBMPTEntities ef = new BBMPTEntities(); - - BasicBLL db = new BasicBLL(); - /// - /// 查询信息 - /// - /// - public string SearchInfo(string page, string pagesize, string StartTime, string EndTime, string position, string inspectResult) - { - try - { - string jsonStr = "[]"; - int total = dal.SearchCount(StartTime, EndTime, position, inspectResult);//总行数 - - DataTable dt = dal.SearchByPage(Convert.ToInt32(page), Convert.ToInt32(pagesize), StartTime, EndTime, position, inspectResult); - if (dt != null && dt.Rows.Count > 0) - { - var list = Tool.ConvertTo(dt); - - List groupList = new List(); - - List barcodeList = list.GroupBy(p => p.barcode).Select(p => p.Key).ToList(); - - foreach (var item in barcodeList) - { - var info = list.Where(p => p.barcode.Equals(item)).OrderBy(p => p.InspectTimes).ToList(); - - if (info.Count > 0) - { - InspectResultGroup md = new InspectResultGroup(); - if (info.Count >= 3) - { - md.barcode = info[0].barcode; - md.side = info[0].side; - md.position = info[0].position; - md.stationNo = info[0].stationNo; - md.workClass = info[0].workClass; - md.productInfo = info[0].productInfo; - md.productOption = info[0].productOption; - md.inspectResult_1 = info[0].inspectResult; - md.damnPosition_1 = info[0].damnPosition; - md.reason_1 = info[0].reason; - md.createTime_1 = Convert.ToDateTime(info[0].createTime.ToString()).ToString("yyyy-MM-dd HH:mm:ss"); - - md.inspectResult_2 = info[1].inspectResult; - md.damnPosition_2 = info[1].damnPosition; - md.reason_2 = info[1].reason; - md.createTime_2 = Convert.ToDateTime(info[1].createTime.ToString()).ToString("yyyy-MM-dd HH:mm:ss"); - - md.inspectResult_3 = info[2].inspectResult; - md.damnPosition_3 = info[2].damnPosition; - md.reason_3 = info[2].reason; - md.createTime_3 = Convert.ToDateTime(info[2].createTime.ToString()).ToString("yyyy-MM-dd HH:mm:ss"); - groupList.Add(md); - } - - if (info.Count == 2) - { - md.barcode = info[0].barcode; - md.side = info[0].side; - md.position = info[0].position; - md.stationNo = info[0].stationNo; - md.workClass = info[0].workClass; - md.productInfo = info[0].productInfo; - md.productOption = info[0].productOption; - md.inspectResult_1 = info[0].inspectResult; - md.damnPosition_1 = info[0].damnPosition; - md.reason_1 = info[0].reason; - md.createTime_1 = Convert.ToDateTime(info[0].createTime.ToString()).ToString("yyyy-MM-dd HH:mm:ss"); - - md.inspectResult_2 = info[1].inspectResult; - md.damnPosition_2 = info[1].damnPosition; - md.reason_2 = info[1].reason; - md.createTime_2 = Convert.ToDateTime(info[1].createTime.ToString()).ToString("yyyy-MM-dd HH:mm:ss"); - - - groupList.Add(md); - } - - if (info.Count == 1) - { - md.barcode = info[0].barcode; - md.side = info[0].side; - md.position = info[0].position; - md.stationNo = info[0].stationNo; - md.workClass = info[0].workClass; - md.productInfo = info[0].productInfo; - md.productOption = info[0].productOption; - md.inspectResult_1 = info[0].inspectResult; - md.damnPosition_1 = info[0].damnPosition; - md.reason_1 = info[0].reason; - md.createTime_1 = Convert.ToDateTime(info[0].createTime.ToString()).ToString("yyyy-MM-dd HH:mm:ss"); - - groupList.Add(md); - } - } - } - - if (groupList.Count > 0) - { - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = groupList; - jsonStr = JSONTools.ScriptSerialize(md); - } - } - - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - - } - - /// - /// 点修补记录 - /// - /// - /// - /// - /// - /// - /// - public string SearchInfoByRepair(string page, string pagesize, string StartTime, string EndTime, - string inspectResult) - { - try - { - string jsonStr = "[]"; - int total = dal.SearchCountByRepair(StartTime, EndTime, inspectResult);//总行数 - DataTable dt = dal.SearchRepairByPage(Convert.ToInt32(page), Convert.ToInt32(pagesize), StartTime, EndTime, inspectResult); - if (dt != null && dt.Rows.Count > 0) - { - var list = Tool.ConvertTo(dt); - List groupList = new List(); - if (list.Count > 0) - { - - for (int i = 0; i < list.Count; i++) - { - tb_InspectResult md = new tb_InspectResult(); - md.barcode = list[i].barcode; - md.side = list[i].side; - md.position = list[i].position; - md.stationNo = list[i].stationNo; - md.workClass = list[i].workClass; - md.productInfo = list[i].productInfo; - md.productOption = list[i].productOption; - md.inspectResult = list[i].inspectResult; - md.damnPosition = list[i].damnPosition; - md.reason = list[i].reason; - if (list[i].createTime != null) - { - md.createTime = Convert.ToDateTime(list[i].createTime.ToString()); - } - groupList.Add(md); - } - - } - if (groupList.Count > 0) - { - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = groupList; - jsonStr = JSONTools.ScriptSerialize(md); - } - - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - } - - - public List> SearchInfoByRepairForExcel(string StartTime, string EndTime, string inspectResult) - { - try - { - List> list_excel = new List>(); - List title_list = new List(); - title_list.Add("条码"); - title_list.Add("A/B侧"); - title_list.Add("位置"); - //title_list.Add("机台"); - title_list.Add("班次"); - title_list.Add("产品信息"); - title_list.Add("生产模式"); - title_list.Add("结果"); - title_list.Add("缺陷位置"); - title_list.Add("原因"); - title_list.Add("时间"); - list_excel.Add(title_list); - - DataTable dt = dal.SearchByRepair(StartTime, EndTime, inspectResult); - if (dt != null && dt.Rows.Count > 0) - { - var list = Tool.ConvertTo(dt); - List groupList = new List(); - if (list.Count > 0) - { - - for (int i = 0; i < list.Count; i++) - { - List row_list = new List(); - row_list.Add(list[i].barcode); - row_list.Add(list[i].side); - row_list.Add(list[i].position); - //row_list.Add(list[i].stationNo); - row_list.Add(list[i].workClass); - row_list.Add(list[i].productInfo); - row_list.Add(list[i].productOption); - row_list.Add(list[i].inspectResult); - row_list.Add(list[i].damnPosition); - row_list.Add(list[i].reason); - row_list.Add(list[i].createTime.ToString()); - list_excel.Add(row_list); - } - - } - - } - - return list_excel; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - - } - - - - - /// - /// 查询信息 - /// - /// - public List SearchInfoAll(string StartTime, string EndTime, string position, string inspectResult) - { - try - { - List groupList = new List(); - - DataTable dt = dal.Search(StartTime, EndTime, position, inspectResult); - if (dt != null && dt.Rows.Count > 0) - { - - IEnumerable> result = dt.Rows.Cast().GroupBy(dr => dr["barcode"].ToString());//按A分组 - - foreach (IGrouping info in result) - { - - if (info.Count() > 0) - { - InspectResultGroup md = new InspectResultGroup(); - if (info.Count() >= 3) - { - md.barcode = info.ToArray()[0]["barcode"].ToString(); - md.side = info.ToArray()[0]["side"].ToString(); - md.position = info.ToArray()[0]["position"].ToString(); - md.stationNo = info.ToArray()[0]["stationNo"].ToString(); - md.workClass = info.ToArray()[0]["workClass"].ToString(); - md.productInfo = info.ToArray()[0]["productInfo"].ToString(); - md.productOption = info.ToArray()[0]["productOption"].ToString(); - md.inspectResult_1 = info.ToArray()[0]["inspectResult"].ToString(); - md.damnPosition_1 = info.ToArray()[0]["damnPosition"].ToString(); - md.reason_1 = info.ToArray()[0]["reason"].ToString(); - md.createTime_1 = Convert.ToDateTime(info.ToArray()[0]["createTime"].ToString()).ToString("yyyy-MM-dd HH:mm:ss"); - - md.inspectResult_2 = info.ToArray()[1]["inspectResult"].ToString(); - md.damnPosition_2 = info.ToArray()[1]["damnPosition"].ToString(); - md.reason_2 = info.ToArray()[1]["reason"].ToString(); - md.createTime_2 = Convert.ToDateTime(info.ToArray()[1]["createTime"].ToString()).ToString("yyyy-MM-dd HH:mm:ss"); - - md.inspectResult_3 = info.ToArray()[2]["inspectResult"].ToString(); - md.damnPosition_3 = info.ToArray()[2]["damnPosition"].ToString(); - md.reason_3 = info.ToArray()[2]["reason"].ToString(); - md.createTime_3 = Convert.ToDateTime(info.ToArray()[2]["createTime"].ToString()).ToString("yyyy-MM-dd HH:mm:ss"); - groupList.Add(md); - } - - if (info.Count() == 2) - { - md.barcode = info.ToArray()[0]["barcode"].ToString(); - md.side = info.ToArray()[0]["side"].ToString(); - md.position = info.ToArray()[0]["position"].ToString(); - md.stationNo = info.ToArray()[0]["stationNo"].ToString(); - md.workClass = info.ToArray()[0]["workClass"].ToString(); - md.productInfo = info.ToArray()[0]["productInfo"].ToString(); - md.productOption = info.ToArray()[0]["productOption"].ToString(); - md.inspectResult_1 = info.ToArray()[0]["inspectResult"].ToString(); - md.damnPosition_1 = info.ToArray()[0]["damnPosition"].ToString(); - md.reason_1 = info.ToArray()[0]["reason"].ToString(); - md.createTime_1 = Convert.ToDateTime(info.ToArray()[0]["createTime"].ToString()).ToString("yyyy-MM-dd HH:mm:ss"); - - md.inspectResult_2 = info.ToArray()[1]["inspectResult"].ToString(); - md.damnPosition_2 = info.ToArray()[1]["damnPosition"].ToString(); - md.reason_2 = info.ToArray()[1]["reason"].ToString(); - md.createTime_2 = Convert.ToDateTime(info.ToArray()[1]["createTime"].ToString()).ToString("yyyy-MM-dd HH:mm:ss"); - - - groupList.Add(md); - } - - if (info.Count() == 1) - { - md.barcode = info.ToArray()[0]["barcode"].ToString(); - md.side = info.ToArray()[0]["side"].ToString(); - md.position = info.ToArray()[0]["position"].ToString(); - md.stationNo = info.ToArray()[0]["stationNo"].ToString(); - md.workClass = info.ToArray()[0]["workClass"].ToString(); - md.productInfo = info.ToArray()[0]["productInfo"].ToString(); - md.productOption = info.ToArray()[0]["productOption"].ToString(); - md.inspectResult_1 = info.ToArray()[0]["inspectResult"].ToString(); - md.damnPosition_1 = info.ToArray()[0]["damnPosition"].ToString(); - md.reason_1 = info.ToArray()[0]["reason"].ToString(); - md.createTime_1 = Convert.ToDateTime(info.ToArray()[0]["createTime"].ToString()).ToString("yyyy-MM-dd HH:mm:ss"); - - groupList.Add(md); - } - } - } - - - //var list = Tool.ConvertTo(dt); - - - - - - //List barcodeList = list.GroupBy(p => p.barcode).Select(p => p.Key).ToList(); - - //foreach (var item in barcodeList) - //{ - // var info = list.Where(p => p.barcode.Equals(item)).OrderBy(p => p.InspectTimes).ToList(); - - // if (info.Count > 0) - // { - // InspectResultGroup md = new InspectResultGroup(); - // if (info.Count >= 3) - // { - // md.barcode = info[0].barcode; - // md.side = info[0].side; - // md.position = info[0].position; - // md.stationNo = info[0].stationNo; - // md.workClass = info[0].workClass; - // md.productInfo = info[0].productInfo; - // md.productOption = info[0].productOption; - // md.inspectResult_1 = info[0].inspectResult; - // md.damnPosition_1 = info[0].damnPosition; - // md.reason_1 = info[0].reason; - // md.createTime_1 = Convert.ToDateTime(info[0].createTime.ToString()).ToString("yyyy-MM-dd HH:mm:ss"); - - // md.inspectResult_2 = info[1].inspectResult; - // md.damnPosition_2 = info[1].damnPosition; - // md.reason_2 = info[1].reason; - // md.createTime_2 = Convert.ToDateTime(info[1].createTime.ToString()).ToString("yyyy-MM-dd HH:mm:ss"); - - // md.inspectResult_3 = info[2].inspectResult; - // md.damnPosition_3 = info[2].damnPosition; - // md.reason_3 = info[2].reason; - // md.createTime_3 = Convert.ToDateTime(info[2].createTime.ToString()).ToString("yyyy-MM-dd HH:mm:ss"); - // groupList.Add(md); - // } - - // if (info.Count == 2) - // { - // md.barcode = info[0].barcode; - // md.side = info[0].side; - // md.position = info[0].position; - // md.stationNo = info[0].stationNo; - // md.workClass = info[0].workClass; - // md.productInfo = info[0].productInfo; - // md.productOption = info[0].productOption; - // md.inspectResult_1 = info[0].inspectResult; - // md.damnPosition_1 = info[0].damnPosition; - // md.reason_1 = info[0].reason; - // md.createTime_1 = Convert.ToDateTime(info[0].createTime.ToString()).ToString("yyyy-MM-dd HH:mm:ss"); - - // md.inspectResult_2 = info[1].inspectResult; - // md.damnPosition_2 = info[1].damnPosition; - // md.reason_2 = info[1].reason; - // md.createTime_2 = Convert.ToDateTime(info[1].createTime.ToString()).ToString("yyyy-MM-dd HH:mm:ss"); - - - // groupList.Add(md); - // } - - // if (info.Count == 1) - // { - // md.barcode = info[0].barcode; - // md.side = info[0].side; - // md.position = info[0].position; - // md.stationNo = info[0].stationNo; - // md.workClass = info[0].workClass; - // md.productInfo = info[0].productInfo; - // md.productOption = info[0].productOption; - // md.inspectResult_1 = info[0].inspectResult; - // md.damnPosition_1 = info[0].damnPosition; - // md.reason_1 = info[0].reason; - // md.createTime_1 = Convert.ToDateTime(info[0].createTime.ToString()).ToString("yyyy-MM-dd HH:mm:ss"); - - // groupList.Add(md); - // } - // } - //} - } - - return groupList; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - - } - - //public List SearchInfoAllByRepair(string StartTime, string EndTime, string inspectResult) - //{ - // try - // { - // List groupList = new List(); - // DataTable dt = dal.SearchByRepair(StartTime, EndTime, inspectResult); - // if (dt != null && dt.Rows.Count > 0) - // { - // IEnumerable> result = dt.Rows.Cast().GroupBy(dr => dr["barcode"].ToString()); - // foreach (IGrouping info in result) - // { - // if (info.Count() > 0) - // { - - - // } - // } - // } - // } - // catch (Exception ex) - // { - // LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - // return null; - // } - //} - - #region 合格率趋势统计 - public string SearchQualifiedTrend(string StartTime, string EndTime, string side, string product) - { - try - { - - StringBuilder sb = new StringBuilder(100); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - - //DataTable dt = dal.SearchByPosition(StartTime + " 08:00:00.000", Convert.ToDateTime(EndTime + " 07:59:59.999").AddDays(1).ToString("yyyy-MM-dd HH:mm:ss.fff"), side, product); - DataTable dt = dal.SearchByPosition(StartTime + ".000", Convert.ToDateTime(EndTime + ".999").AddDays(1).ToString("yyyy-MM-dd HH:mm:ss.fff"), side, product); - if (dt != null && dt.Rows.Count > 0) - { - - List numList = new List(); - for (int i = 0; i < 13; i++) - { - numList.Add(0); - } - - - TimeSpan ts1 = new TimeSpan(Convert.ToDateTime(StartTime).Ticks); - TimeSpan ts2 = new TimeSpan(Convert.ToDateTime(EndTime).Ticks); - TimeSpan ts3 = ts2.Subtract(ts1); //ts - for (int i = 0; i < ts3.Days + 1; i++) - { - DateTime dtime = Convert.ToDateTime(StartTime).AddDays(i); - string strTime = dtime.ToString("M/d"); - - //白班 - var DayList = from myRow in dt.AsEnumerable() - where myRow.Field(12) >= Convert.ToDateTime(dtime.ToString("yyyy-MM-dd") + " 08:00:00.000") && - myRow.Field(12) <= Convert.ToDateTime(dtime.ToString("yyyy-MM-dd") + " 19:59:59.999") - select myRow; - - sb.Append(""); - sb.Append(""); - sb.Append(""); - QualifiedTrendBuilindData(DayList, ref sb, numList); - - var NightList = from myRowNight in dt.AsEnumerable() - where myRowNight.Field(12) >= Convert.ToDateTime(dtime.ToString("yyyy-MM-dd") + " 20:00:00.000") && - myRowNight.Field(12) <= Convert.ToDateTime(dtime.AddDays(1).ToString("yyyy-MM-dd") + " 07:59:59.999") - select myRowNight; - - sb.Append(""); - sb.Append(""); - QualifiedTrendBuilindData(NightList, ref sb, numList); - } - - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - - } - - - sb.Append("
日期班别下线数系统抛光数一次合格数抛光合格数合格数返修合格数报废数点修补数一次合格率抛光合格率总合格率报废率抛光结余
" + strTime + "白班
夜班
合计" + numList[0] + "" + numList[1] + "" + numList[2] + "" + numList[3] + "" + numList[4] + "0" + numList[6] + "" + numList[7] + "" + numList[12] + "
"); - - return sb.ToString(); - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - - } - - - public List> SearchQualifiedTrendForExcel(string StartTime, string EndTime, string side, string product) - { - try - { - List> list = new List>(); - List sonList = new List(); - - sonList.Add("日期"); - sonList.Add("班别"); - sonList.Add("下线数"); - sonList.Add("系统抛光数"); - sonList.Add("一次合格数"); - sonList.Add("抛光合格数"); - sonList.Add("合格数"); - sonList.Add("返修合格数"); - sonList.Add("报废数"); - sonList.Add("点修补数"); - sonList.Add("一次合格率"); - sonList.Add("抛光合格率"); - sonList.Add("总合格率"); - sonList.Add("报废率"); - sonList.Add("抛光结余"); - list.Add(sonList); - - //DataTable dt = dal.SearchByPosition(StartTime + " 00:00:00.000", EndTime + " 23:59:59.000", side, product); - DataTable dt = dal.SearchByPosition(StartTime + ".000", EndTime + ".000", side, product); - - if (dt != null && dt.Rows.Count > 0) - { - - List numList = new List(); - for (int i = 0; i < 13; i++) - { - numList.Add(0); - } - - - TimeSpan ts1 = new TimeSpan(Convert.ToDateTime(StartTime).Ticks); - TimeSpan ts2 = new TimeSpan(Convert.ToDateTime(EndTime).Ticks); - TimeSpan ts3 = ts2.Subtract(ts1); //ts - for (int i = 0; i < ts3.Days + 1; i++) - { - DateTime dtime = Convert.ToDateTime(StartTime).AddDays(i); - string strTime = dtime.ToString("M/d"); - - //白班 - var DayList = from myRow in dt.AsEnumerable() - where myRow.Field(12) >= Convert.ToDateTime(dtime.ToString("yyyy-MM-dd") + " 08:00:00.000") && - myRow.Field(12) <= Convert.ToDateTime(dtime.ToString("yyyy-MM-dd") + " 19:59:59.999") - select myRow; - List sonDay = new List(); - sonDay.Add(strTime); - sonDay.Add("白班"); - - QualifiedTrendBuilindData(DayList, ref sonDay, numList); - list.Add(sonDay); - - var NightList = from myRow in dt.AsEnumerable() - where myRow.Field(12) >= Convert.ToDateTime(dtime.ToString("yyyy-MM-dd") + " 20:00:00.000") && - myRow.Field(12) <= Convert.ToDateTime(dtime.AddDays(1).ToString("yyyy-MM-dd") + " 07:59:59.999") - select myRow; - - List sonNight = new List(); - sonNight.Add(strTime); - sonNight.Add("夜班"); - QualifiedTrendBuilindData(NightList, ref sonNight, numList); - list.Add(sonNight); - } - - - List sonCount = new List(); - sonCount.Add("合计"); - sonCount.Add(""); - sonCount.Add(numList[0].ToString()); - sonCount.Add(numList[1].ToString()); - sonCount.Add(numList[2].ToString()); - sonCount.Add(numList[3].ToString()); - sonCount.Add(numList[4].ToString()); - sonCount.Add(numList[5].ToString()); - sonCount.Add(numList[6].ToString()); - sonCount.Add(numList[7].ToString()); - sonCount.Add(""); - sonCount.Add(""); - sonCount.Add(""); - sonCount.Add(""); - sonCount.Add(numList[12].ToString()); - - list.Add(sonCount); - - } - - return list; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - - } - - - private void QualifiedTrendBuilindData(EnumerableRowCollection DayList, ref StringBuilder sb, List numList) - { - //下线数 - int XX_num = DayList.Where(p => "1".Equals(p.ItemArray[13])).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).Count(); - //抛光数 - //int PG_num = DayList.Where(p => p.ItemArray[6] != null && p.ItemArray[6].ToString().Contains("抛光") && "1".Equals(p.ItemArray[13])).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).Count(); - var pg_1 = DayList.Where(p => p.ItemArray[6] != null && p.ItemArray[6].ToString().Contains("抛光") && "1".Equals(p.ItemArray[13])).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).ToList(); - var pg_2 = DayList.Where(p => p.ItemArray[6] != null && "2".Equals(p.ItemArray[13])).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).ToList(); - IEnumerable pg_List = pg_1.Intersect(pg_2); - int PG_num = pg_List.Count(); - //一次合格数 - int YCHG_num = DayList.Where(p => p.ItemArray[6] != null && p.ItemArray[6].ToString().Contains("合格") && "1".Equals(p.ItemArray[13])).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).Count(); - - //抛光合格 - var pghg_1 = DayList.Where(p => p.ItemArray[6] != null && p.ItemArray[6].ToString().Contains("抛光") && "1".Equals(p.ItemArray[13])).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).ToList(); - var pghg_2 = DayList.Where(p => p.ItemArray[6] != null && p.ItemArray[6].ToString().Contains("合格") && "2".Equals(p.ItemArray[13])).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).ToList(); - IEnumerable pghg_List = pghg_1.Intersect(pghg_2); - int pghg = pghg_List.Count(); - //var pghg = DayList.Where(t => t.ItemArray[3].ToString() == "下线二检 抛光区") - // .GroupBy(p => p.ItemArray[1]) - // .Select(s => s.OrderByDescending(x => x.ItemArray[12]).FirstOrDefault()) - // .Where(p => p.ItemArray[6].ToString().Contains("合格")).Count(); - //返修合格数 - var fx = DayList.Where(t => t.ItemArray[6] != null && t.ItemArray[3].ToString().Contains("点修补") && t.ItemArray[6].ToString().Contains("合格")).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).Count(); - - //合格数 - var hg = YCHG_num + pghg + fx; - //var hg = DayList.GroupBy(p => p.ItemArray[1]) - // .Select(s => s.OrderByDescending(x => x.ItemArray[12]).FirstOrDefault()) - // .Where(p => p.ItemArray[6].ToString().Contains("合格")).Count(); - //报废数 - //var bf = DayList.GroupBy(p => p.ItemArray[1]) - // .Select(s => s.OrderByDescending(x => x.ItemArray[12]).FirstOrDefault()) - // .Where(p => p.ItemArray[6].ToString().Contains("报废")).Count(); - var bf = DayList.Where(t => t.ItemArray[6] != null && t.ItemArray[6].ToString().Contains("报废")).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).Count(); - var YC_bf = DayList.Where(t => t.ItemArray[6] != null && t.ItemArray[6].ToString().Contains("报废") && "1".Equals(t.ItemArray[13])).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).Count(); - - //点修补数 - //var dxb = DayList.Where(t => t.ItemArray[3].ToString() == "点修补 抛光区").GroupBy(p => p.ItemArray[1]).Select(p => p.Key).Count(); - - var dxb = DayList.Where(p => p.ItemArray[6] != null && p.ItemArray[6].ToString().Contains("抛光") && "2".Equals(p.ItemArray[13])).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).Count(); - - - - //一次合格率 - var yc_hg_L = Math.Round(((double)YCHG_num / (double)XX_num) * 100, 2); - //抛光合格率 - var pg_hg_L = Math.Round(((double)pghg / (double)PG_num) * 100, 2); - //总合格率 - var all_hg_L = Math.Round(((double)hg / (double)XX_num) * 100, 2); - //报废率 - var pf_L = Math.Round(((double)bf / (double)XX_num) * 100, 2); - //抛光结余 - //var pgjy = XX_num - hg - bf - dxb; - var pgjy = XX_num - YCHG_num - YC_bf - PG_num; - - sb.Append("" + XX_num + ""); - sb.Append("" + PG_num + ""); - sb.Append("" + YCHG_num + ""); - sb.Append("" + pghg + ""); - sb.Append("" + hg + ""); - sb.Append("" + fx + ""); - sb.Append("" + bf + ""); - sb.Append("" + dxb + ""); - sb.Append("" + yc_hg_L + "%"); - sb.Append("" + pg_hg_L + "%"); - sb.Append("" + all_hg_L + "%"); - sb.Append("" + pf_L + "%"); - sb.Append("" + pgjy + ""); - sb.Append(""); - - numList[0] = numList[0] + XX_num; - numList[1] = numList[1] + PG_num; - numList[2] = numList[2] + YCHG_num; - numList[3] = numList[3] + pghg; - numList[4] = numList[4] + hg; - //numList[5] = numList[5] + XX_num; - numList[6] = numList[6] + bf; - numList[7] = numList[7] + dxb; - //numList[8] = numList[8] + XX_num; - //numList[9] = numList[9] + XX_num; - //numList[10] = numList[10] + XX_num; - //numList[11] = numList[11] + XX_num; - numList[12] = numList[12] + pgjy; - - - - - } - - private void QualifiedTrendBuilindData(EnumerableRowCollection DayList, ref List list, List numList) - { - //下线数 - int XX_num = DayList.Where(p => "1".Equals(p.ItemArray[13])).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).Count(); - //抛光数 - //int PG_num = DayList.Where(p => p.ItemArray[6] != null && p.ItemArray[6].ToString().Contains("抛光") && "1".Equals(p.ItemArray[13])).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).Count(); - var pg_1 = DayList.Where(p => p.ItemArray[6] != null && p.ItemArray[6].ToString().Contains("抛光") && "1".Equals(p.ItemArray[13])).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).ToList(); - var pg_2 = DayList.Where(p => p.ItemArray[6] != null && "2".Equals(p.ItemArray[13])).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).ToList(); - IEnumerable pg_List = pg_1.Intersect(pg_2); - int PG_num = pg_List.Count(); - //一次合格数 - int YCHG_num = DayList.Where(p => p.ItemArray[6] != null && p.ItemArray[6].ToString().Contains("合格") && "1".Equals(p.ItemArray[13])).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).Count(); - - //抛光合格 - var pghg_1 = DayList.Where(p => p.ItemArray[6] != null && p.ItemArray[6].ToString().Contains("抛光") && "1".Equals(p.ItemArray[13])).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).ToList(); - var pghg_2 = DayList.Where(p => p.ItemArray[6] != null && p.ItemArray[6].ToString().Contains("合格") && "2".Equals(p.ItemArray[13])).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).ToList(); - IEnumerable pghg_List = pghg_1.Intersect(pghg_2); - int pghg = pghg_List.Count(); - //var pghg = DayList.Where(t => t.ItemArray[3].ToString() == "下线二检 抛光区") - // .GroupBy(p => p.ItemArray[1]) - // .Select(s => s.OrderByDescending(x => x.ItemArray[12]).FirstOrDefault()) - // .Where(p => p.ItemArray[6].ToString().Contains("合格")).Count(); - //返修合格数 - var fx = DayList.Where(t => t.ItemArray[6] != null && t.ItemArray[3].ToString().Contains("点修补") && t.ItemArray[6].ToString().Contains("合格")).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).Count(); - - //合格数 - var hg = YCHG_num + pghg + fx; - //var hg = DayList.GroupBy(p => p.ItemArray[1]) - // .Select(s => s.OrderByDescending(x => x.ItemArray[12]).FirstOrDefault()) - // .Where(p => p.ItemArray[6].ToString().Contains("合格")).Count(); - //报废数 - //var bf = DayList.GroupBy(p => p.ItemArray[1]) - // .Select(s => s.OrderByDescending(x => x.ItemArray[12]).FirstOrDefault()) - // .Where(p => p.ItemArray[6].ToString().Contains("报废")).Count(); - var bf = DayList.Where(t => t.ItemArray[6] != null && t.ItemArray[6].ToString().Contains("报废")).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).Count(); - var YC_bf = DayList.Where(t => t.ItemArray[6] != null && t.ItemArray[6].ToString().Contains("报废") && "1".Equals(t.ItemArray[13])).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).Count(); - - //点修补数 - //var dxb = DayList.Where(t => t.ItemArray[3].ToString() == "点修补 抛光区").GroupBy(p => p.ItemArray[1]).Select(p => p.Key).Count(); - - var dxb = DayList.Where(p => p.ItemArray[6] != null && p.ItemArray[6].ToString().Contains("抛光") && "2".Equals(p.ItemArray[13])).GroupBy(p => p.ItemArray[1]).Select(p => p.Key).Count(); - - //一次合格率 - var yc_hg_L = Math.Round(((double)YCHG_num / (double)XX_num) * 100, 2); - //抛光合格率 - var pg_hg_L = Math.Round(((double)pghg / (double)PG_num) * 100, 2); - //总合格率 - var all_hg_L = Math.Round(((double)hg / (double)XX_num) * 100, 2); - //报废率 - var pf_L = Math.Round(((double)bf / (double)XX_num) * 100, 2); - //抛光结余 - //var pgjy = XX_num - hg - bf - dxb; - var pgjy = XX_num - YCHG_num - YC_bf - PG_num; - - list.Add(XX_num.ToString()); - list.Add(PG_num.ToString()); - list.Add(YCHG_num.ToString()); - list.Add(pghg.ToString()); - list.Add(hg.ToString()); - list.Add(fx.ToString()); - list.Add(bf.ToString()); - list.Add(dxb.ToString()); - list.Add(yc_hg_L.ToString() + "%"); - list.Add(pg_hg_L.ToString() + "%"); - list.Add(all_hg_L.ToString() + "%"); - list.Add(pf_L.ToString() + "%"); - list.Add(pgjy.ToString()); - - - numList[0] = numList[0] + XX_num; - numList[1] = numList[1] + PG_num; - numList[2] = numList[2] + YCHG_num; - numList[3] = numList[3] + pghg; - numList[4] = numList[4] + hg; - //numList[5] = numList[5] + XX_num; - numList[6] = numList[6] + bf; - numList[7] = numList[7] + dxb; - //numList[8] = numList[8] + XX_num; - //numList[9] = numList[9] + XX_num; - //numList[10] = numList[10] + XX_num; - //numList[11] = numList[11] + XX_num; - numList[12] = numList[12] + pgjy; - - } - #endregion - - #region 喷涂报废统计 - public string SearchPlatingScrap(string StartTime, string EndTime, string side) - { - try - { - - StringBuilder sb = new StringBuilder(100); - sb.Append(""); - - - DataTable dt = dal.SearchByResult(StartTime, EndTime, side); - - if (dt != null && dt.Rows.Count > 0) - { - - var infoAll = dt.AsEnumerable().GroupBy(p => p.ItemArray[1]) - .Select(s => s.OrderByDescending(x => x.ItemArray[12]).FirstOrDefault()) - .Where(p => p.ItemArray[6].ToString().Contains("报废")).ToList(); - - //获取全部产品+对应的颜色 - Dictionary> col_Dictionary = new Dictionary>(); - var info_product = infoAll.GroupBy(p => p.ItemArray[15]).Select(p => p.Key).ToList(); - foreach (var item in info_product) - { - col_Dictionary.Add(item.ToString(), - infoAll.Where(p => p.ItemArray[15].ToString().Equals(item)) - .GroupBy(p => p.ItemArray[14]) - .Select(p => (string)p.Key).ToList()); - } - - //获取全部缺陷 - List damnPositionList = new List(); - foreach (var item in infoAll) - { - if (item.ItemArray[9] == null || String.IsNullOrWhiteSpace(item.ItemArray[9].ToString())) - { - continue; - } - - string[] sArray = item.ItemArray[9].ToString().Split(new char[1] { ';' }, StringSplitOptions.RemoveEmptyEntries); - if (sArray.Length > 0) - { - foreach (var damn in sArray) - { - if (!damnPositionList.Contains(damn)) - { - damnPositionList.Add(damn); - } - } - } - } - Dictionary total_Dictionary = new Dictionary(); - - foreach (var item in damnPositionList) - { - total_Dictionary.Add(item, infoAll.Where(p => p.ItemArray[9].ToString().Contains(item)).Count()); - } - - var info_d = total_Dictionary.OrderByDescending(p => p.Value).ToList(); - - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in info_d) - { - sb.Append(""); - } - sb.Append(""); - - foreach (var item in col_Dictionary) - { - sb.Append(""); - sb.Append(""); - - var p_all = infoAll.Where(p => p.ItemArray[15].ToString().Equals(item.Key)).Count(); - sb.Append("");//总数 - foreach (var item2 in info_d) - { - - var c_num = infoAll.Where(p => p.ItemArray[15].ToString().Equals(item.Key) && p.ItemArray[9].ToString().Contains(item2.Key)).Count(); - var pf_L = Math.Round(((double)c_num / (double)p_all) * 100, 2); - - sb.Append("");//各缺陷总数 - - } - sb.Append(""); - - - foreach (var item3 in item.Value) - { - sb.Append(""); - sb.Append("");//颜色 - var c_all = infoAll.Where(p => p.ItemArray[15].ToString().Equals(item.Key) && p.ItemArray[14].ToString().Equals(item3)).Count(); - sb.Append("");//总数 - foreach (var item2 in info_d) - { - var c_num = infoAll.Where(p => p.ItemArray[15].ToString().Equals(item.Key) && p.ItemArray[14].ToString().Equals(item3) && p.ItemArray[9].ToString().Contains(item2.Key)).Count(); - var pf_L = Math.Round(((double)c_num / (double)c_all) * 100, 2); - sb.Append("");//各缺陷 - } - sb.Append(""); - } - - } - - - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in info_d) - { - var pf_L = Math.Round(((double)item.Value / (double)infoAll.Count) * 100, 2); - sb.Append(""); - } - sb.Append(""); - - - } - - - sb.Append("
总数" + item.Key + "
" + item.Key + "" + p_all + "" + c_num + "(" + pf_L + "%)
" + item3 + "" + c_all + "" + c_num + "(" + pf_L + "%)
总计" + infoAll.Count + "" + item.Value + "(" + pf_L + "%)
"); - - return sb.ToString(); - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - - public List> SearchPlatingScrapForExcel(string StartTime, string EndTime, string side) - { - try - { - List> list = new List>(); - - - DataTable dt = dal.SearchByResult(StartTime, EndTime, side); - - if (dt != null && dt.Rows.Count > 0) - { - - var infoAll = dt.AsEnumerable().GroupBy(p => p.ItemArray[1]) - .Select(s => s.OrderByDescending(x => x.ItemArray[12]).FirstOrDefault()) - .Where(p => p.ItemArray[6].ToString().Contains("报废")).ToList(); - - //获取全部产品+对应的颜色 - Dictionary> col_Dictionary = new Dictionary>(); - var info_product = infoAll.GroupBy(p => p.ItemArray[15]).Select(p => p.Key).ToList(); - foreach (var item in info_product) - { - col_Dictionary.Add(item.ToString(), - infoAll.Where(p => p.ItemArray[15].ToString().Equals(item)) - .GroupBy(p => p.ItemArray[14]) - .Select(p => (string)p.Key).ToList()); - } - - //获取全部缺陷 - List damnPositionList = new List(); - foreach (var item in infoAll) - { - if (item.ItemArray[9] == null || String.IsNullOrWhiteSpace(item.ItemArray[9].ToString())) - { - continue; - } - - string[] sArray = item.ItemArray[9].ToString().Split(new char[1] { ';' }, StringSplitOptions.RemoveEmptyEntries); - if (sArray.Length > 0) - { - foreach (var damn in sArray) - { - if (!damnPositionList.Contains(damn)) - { - damnPositionList.Add(damn); - } - } - } - } - Dictionary total_Dictionary = new Dictionary(); - - foreach (var item in damnPositionList) - { - total_Dictionary.Add(item, infoAll.Where(p => p.ItemArray[9].ToString().Contains(item)).Count()); - } - - var info_d = total_Dictionary.OrderByDescending(p => p.Value).ToList(); - - List sonList = new List(); - - sonList.Add(""); - sonList.Add("总数"); - foreach (var item in info_d) - { - sonList.Add(item.Key); - - } - list.Add(sonList); - - foreach (var item in col_Dictionary) - { - List colorList = new List(); - - colorList.Add(item.Key); - var p_all = infoAll.Where(p => p.ItemArray[15].ToString().Equals(item.Key)).Count(); - colorList.Add(p_all.ToString()); - - foreach (var item2 in info_d) - { - var c_num = infoAll.Where(p => p.ItemArray[15].ToString().Equals(item.Key) && p.ItemArray[9].ToString().Contains(item2.Key)).Count(); - var pf_L = Math.Round(((double)c_num / (double)p_all) * 100, 2); - - colorList.Add(c_num + "(" + pf_L + "%)"); - } - list.Add(colorList); - - - - - foreach (var item3 in item.Value) - { - List colorList2 = new List(); - colorList2.Add(item3); - //sb.Append(""); - //sb.Append("" + item3 + "");//颜色 - var c_all = infoAll.Where(p => p.ItemArray[15].ToString().Equals(item.Key) && p.ItemArray[14].ToString().Equals(item3)).Count(); - colorList2.Add(c_all.ToString()); - //sb.Append("" + c_all + "");//总数 - foreach (var item2 in info_d) - { - var c_num = infoAll.Where(p => p.ItemArray[15].ToString().Equals(item.Key) && p.ItemArray[14].ToString().Equals(item3) && p.ItemArray[9].ToString().Contains(item2.Key)).Count(); - var pf_L = Math.Round(((double)c_num / (double)c_all) * 100, 2); - //sb.Append("" + c_num + "(" + pf_L + "%)");//各缺陷 - colorList2.Add(c_num + "(" + pf_L + "%)"); - } - list.Add(colorList2); - } - - } - - List sonList2 = new List(); - sonList2.Add("总计"); - sonList2.Add(infoAll.Count.ToString()); - //sb.Append(""); - //sb.Append("总计"); - //sb.Append("" + infoAll.Count + ""); - foreach (var item in info_d) - { - var pf_L = Math.Round(((double)item.Value / (double)infoAll.Count) * 100, 2); - //sb.Append("" + item.Value + "(" + pf_L + "%)"); - sonList2.Add(item.Value + "(" + pf_L + "%)"); - } - //sb.Append(""); - list.Add(sonList2); - - } - - return list; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - - } - - #endregion - - #region 喷涂抛光统计 - public string SearchPlatingPolish(string StartTime, string EndTime, string side) - { - try - { - - StringBuilder sb = new StringBuilder(100); - sb.Append(""); - - - DataTable dt = dal.SearchByResult(StartTime, EndTime, side); - - if (dt != null && dt.Rows.Count > 0) - { - - var infoAll = dt.AsEnumerable().GroupBy(p => p.ItemArray[1]) - .Select(s => s.OrderByDescending(x => x.ItemArray[12]).FirstOrDefault()) - .Where(p => p.ItemArray[6].ToString().Contains("抛光")).ToList(); - - //获取全部产品+对应的颜色 - Dictionary> col_Dictionary = new Dictionary>(); - var info_product = infoAll.GroupBy(p => p.ItemArray[15]).Select(p => p.Key).ToList(); - foreach (var item in info_product) - { - col_Dictionary.Add(item.ToString(), - infoAll.Where(p => p.ItemArray[15].ToString().Equals(item)) - .GroupBy(p => p.ItemArray[14]) - .Select(p => (string)p.Key).ToList()); - } - - //获取全部缺陷 - List damnPositionList = new List(); - foreach (var item in infoAll) - { - if (item.ItemArray[9] == null || String.IsNullOrWhiteSpace(item.ItemArray[9].ToString())) - { - continue; - } - - string[] sArray = item.ItemArray[9].ToString().Split(new char[1] { ';' }, StringSplitOptions.RemoveEmptyEntries); - if (sArray.Length > 0) - { - foreach (var damn in sArray) - { - if (!damnPositionList.Contains(damn)) - { - damnPositionList.Add(damn); - } - } - } - } - Dictionary total_Dictionary = new Dictionary(); - - foreach (var item in damnPositionList) - { - total_Dictionary.Add(item, infoAll.Where(p => p.ItemArray[9].ToString().Contains(item)).Count()); - } - - var info_d = total_Dictionary.OrderByDescending(p => p.Value).ToList(); - - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in info_d) - { - sb.Append(""); - } - sb.Append(""); - - foreach (var item in col_Dictionary) - { - sb.Append(""); - sb.Append("");//产品 - var p_all = infoAll.Where(p => p.ItemArray[15].ToString().Equals(item.Key)).Count(); - sb.Append("");//总数 - - foreach (var item2 in info_d) - { - var c_num = infoAll.Where(p => p.ItemArray[15].ToString().Equals(item.Key) && p.ItemArray[9].ToString().Contains(item2.Key)).Count(); - var pf_L = Math.Round(((double)c_num / (double)p_all) * 100, 2); - - sb.Append("");//各缺陷总数 - } - sb.Append(""); - - - foreach (var item3 in item.Value) - { - sb.Append(""); - sb.Append("");//颜色 - var c_all = infoAll.Where(p => p.ItemArray[15].ToString().Equals(item.Key) && p.ItemArray[14].ToString().Equals(item3)).Count(); - sb.Append("");//总数 - foreach (var item2 in info_d) - { - var c_num = infoAll.Where(p => p.ItemArray[15].ToString().Equals(item.Key) && p.ItemArray[14].ToString().Equals(item3) && p.ItemArray[9].ToString().Contains(item2.Key)).Count(); - var pf_L = Math.Round(((double)c_num / (double)c_all) * 100, 2); - sb.Append("");//各缺陷 - } - sb.Append(""); - } - - } - - - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in info_d) - { - var pf_L = Math.Round(((double)item.Value / (double)infoAll.Count) * 100, 2); - sb.Append(""); - } - sb.Append(""); - - - } - - - sb.Append("
总数" + item.Key + "
" + item.Key + "" + p_all + "" + c_num + "(" + pf_L + "%)
" + item3 + "" + c_all + "" + c_num + "(" + pf_L + "%)
总计" + infoAll.Count + "" + item.Value + "(" + pf_L + "%)
"); - - return sb.ToString(); - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - - public List> SearchPlatingPolishForExcel(string StartTime, string EndTime, string side) - { - try - { - List> list = new List>(); - - - DataTable dt = dal.SearchByResult(StartTime, EndTime, side); - - if (dt != null && dt.Rows.Count > 0) - { - - var infoAll = dt.AsEnumerable().GroupBy(p => p.ItemArray[1]) - .Select(s => s.OrderByDescending(x => x.ItemArray[12]).FirstOrDefault()) - .Where(p => p.ItemArray[6].ToString().Contains("抛光")).ToList(); - - //获取全部产品+对应的颜色 - Dictionary> col_Dictionary = new Dictionary>(); - var info_product = infoAll.GroupBy(p => p.ItemArray[15]).Select(p => p.Key).ToList(); - foreach (var item in info_product) - { - col_Dictionary.Add(item.ToString(), - infoAll.Where(p => p.ItemArray[15].ToString().Equals(item)) - .GroupBy(p => p.ItemArray[14]) - .Select(p => (string)p.Key).ToList()); - } - - //获取全部缺陷 - List damnPositionList = new List(); - foreach (var item in infoAll) - { - if (item.ItemArray[9] == null || String.IsNullOrWhiteSpace(item.ItemArray[9].ToString())) - { - continue; - } - - string[] sArray = item.ItemArray[9].ToString().Split(new char[1] { ';' }, StringSplitOptions.RemoveEmptyEntries); - if (sArray.Length > 0) - { - foreach (var damn in sArray) - { - if (!damnPositionList.Contains(damn)) - { - damnPositionList.Add(damn); - } - } - } - } - Dictionary total_Dictionary = new Dictionary(); - - foreach (var item in damnPositionList) - { - total_Dictionary.Add(item, infoAll.Where(p => p.ItemArray[9].ToString().Contains(item)).Count()); - } - - var info_d = total_Dictionary.OrderByDescending(p => p.Value).ToList(); - - List sonList = new List(); - - sonList.Add(""); - sonList.Add("总数"); - foreach (var item in info_d) - { - sonList.Add(item.Key); - - } - list.Add(sonList); - - foreach (var item in col_Dictionary) - { - List colorList = new List(); - - colorList.Add(item.Key); - var p_all = infoAll.Where(p => p.ItemArray[15].ToString().Equals(item.Key)).Count(); - colorList.Add(p_all.ToString()); - - foreach (var item2 in info_d) - { - var c_num = infoAll.Where(p => p.ItemArray[15].ToString().Equals(item.Key) && p.ItemArray[9].ToString().Contains(item2.Key)).Count(); - var pf_L = Math.Round(((double)c_num / (double)p_all) * 100, 2); - - colorList.Add(c_num + "(" + pf_L + "%)"); - } - list.Add(colorList); - - - - - foreach (var item3 in item.Value) - { - List colorList2 = new List(); - colorList2.Add(item3); - //sb.Append(""); - //sb.Append("" + item3 + "");//颜色 - var c_all = infoAll.Where(p => p.ItemArray[15].ToString().Equals(item.Key) && p.ItemArray[14].ToString().Equals(item3)).Count(); - colorList2.Add(c_all.ToString()); - //sb.Append("" + c_all + "");//总数 - foreach (var item2 in info_d) - { - var c_num = infoAll.Where(p => p.ItemArray[15].ToString().Equals(item.Key) && p.ItemArray[14].ToString().Equals(item3) && p.ItemArray[9].ToString().Contains(item2.Key)).Count(); - var pf_L = Math.Round(((double)c_num / (double)c_all) * 100, 2); - //sb.Append("" + c_num + "(" + pf_L + "%)");//各缺陷 - colorList2.Add(c_num + "(" + pf_L + "%)"); - } - list.Add(colorList2); - } - - } - - List sonList2 = new List(); - sonList2.Add("总计"); - sonList2.Add(infoAll.Count.ToString()); - //sb.Append(""); - //sb.Append("总计"); - //sb.Append("" + infoAll.Count + ""); - foreach (var item in info_d) - { - var pf_L = Math.Round(((double)item.Value / (double)infoAll.Count) * 100, 2); - //sb.Append("" + item.Value + "(" + pf_L + "%)"); - sonList2.Add(item.Value + "(" + pf_L + "%)"); - } - //sb.Append(""); - list.Add(sonList2); - - } - - return list; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - - } - - - #endregion - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/ExchangeCenter/GetNewTasksBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/ExchangeCenter/GetNewTasksBLL.cs deleted file mode 100644 index 998dca7..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/ExchangeCenter/GetNewTasksBLL.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.ExchangeCenter; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL.ExchangeCenter -{ - public class GetNewTasksBLL - { - public bool AddInfo(GetNewTasksModel md) - { - GetNewTasksDAL da = new GetNewTasksDAL(); - try - { - return da.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/ExchangeCenter/PartMstrBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/ExchangeCenter/PartMstrBLL.cs deleted file mode 100644 index 23d70aa..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/ExchangeCenter/PartMstrBLL.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.ExchangeCenter; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL.ExchangeCenter -{ - public class PartMstrBLL - { - public bool AddInfo(PartMstrModel md) - { - PartMstrDAL da = new PartMstrDAL(); - try - { - return da.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/ExchangeCenter/PartRecordBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/ExchangeCenter/PartRecordBLL.cs deleted file mode 100644 index ec22766..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/ExchangeCenter/PartRecordBLL.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.BasicInfo; -using MESClassLibrary.DAL.ExchangeCenter; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL.ExchangeCenter -{ - public class PartRecordBLL - { - public bool AddInfo(PartRecordModel md) - { - PartRecordDAL dal = new PartRecordDAL(); - try - { - return dal.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/ExchangeCenter/TESBomBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/ExchangeCenter/TESBomBLL.cs deleted file mode 100644 index 543c48c..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/ExchangeCenter/TESBomBLL.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.ExchangeCenter; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL.ExchangeCenter -{ - public class TESBomBLL - { - public bool AddInfo(TESBomModel md) - { - TESBomDAL da = new TESBomDAL(); - try - { - return da.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable Search() - { - TESBomDAL da=new TESBomDAL(); - try - { - return da.Search(); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool updateFlag(string TaskID) - { - TESBomDAL da = new TESBomDAL(); - try - { - return da.UpdateFlag(TaskID); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/ExchangeCenter/TESPartDetBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/ExchangeCenter/TESPartDetBLL.cs deleted file mode 100644 index c8cb33f..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/ExchangeCenter/TESPartDetBLL.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.ExchangeCenter; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL.ExchangeCenter -{ - public class TESPartDetBLL - { - public bool AddInfo(TESPartDetModel md) - { - TESPartDetDAL da = new TESPartDetDAL(); - try - { - return da.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Injection/DownReasonBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Injection/DownReasonBLL.cs deleted file mode 100644 index 85f8703..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Injection/DownReasonBLL.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.Injection; - -namespace MESClassLibrary.BLL.Injection -{ - public class DownReasonBLL - { - DownReasonDAL da=new DownReasonDAL(); - public DataTable SearchReason() - { - try - { - return da.SearchReason(); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Injection/InjectionDownRecordBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Injection/InjectionDownRecordBLL.cs deleted file mode 100644 index bdeb233..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Injection/InjectionDownRecordBLL.cs +++ /dev/null @@ -1,891 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.Injection; -using MESClassLibrary.DAL.painting; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL.Injection -{ - public class InjectionDownRecordBLL - { - BBMPTEntities ef = new BBMPTEntities(); - BasicBLL db = new BasicBLL(); - InjectionDownRecordDAL dal = new InjectionDownRecordDAL(); - public bool AddInfo(InjectionDownRecordModel md) - { - InjectionDownRecordDAL da = new InjectionDownRecordDAL(); - try - { - return da.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool UpdateInfo(InjectionDownRecordModel md) - { - InjectionDownRecordDAL da = new InjectionDownRecordDAL(); - try - { - return da.UpdateInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - - - #region web用方法 - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string StartTime, string EndTime, string StationID) - { - try - { - - string jsonStr = "[]"; - int total = 0;//总行数 - - DateTime stime = Convert.ToDateTime(StartTime); - DateTime etime = Convert.ToDateTime(EndTime); - - List list = ef.tb_Injection_DownRecord.Where(p => p.StartTime >= stime && p.EndTime <= etime && p.DownTime >= 60).ToList(); - - if (!String.IsNullOrEmpty(StationID)) - { - list = list.Where(p => p.StationID.Equals(StationID)).ToList(); - } - - List modelList = new List(); - if (list.Count > 0) - { - #region 联查 - BasicBLL machine_db = new BasicBLL(); - var machine_list = machine_db.SearchAllInfo(); - - BasicBLL DownReason_db = new BasicBLL(); - var DownReason_list = DownReason_db.SearchAllInfo(); - - BasicBLL DownType_db = new BasicBLL(); - var DownType_list = DownType_db.SearchAllInfo(); - - foreach (var item in list) - { - Injection_DownRecordModel dm = Tool.Mapper(item); - - var machine_info = machine_list.FirstOrDefault(p => p.StationID == item.StationID); - if (machine_info != null) - { - dm.StationNo = machine_info.StationNo; - } - - var DownReason = DownReason_list.FirstOrDefault(p => p.ID == item.DownReason); - if (DownReason != null) - { - dm.DownReasonName = DownReason.Reason; - } - var DownType = DownType_list.FirstOrDefault(p => p.ID == item.DownType); - if (DownType != null) - { - dm.DownTypeName = DownType.DownTypeName; - } - - modelList.Add(dm); - } - #endregion - - total = modelList.Count; - - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - modelList = modelList.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = modelList; - jsonStr = JSONTools.ScriptSerialize(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - public bool UpdateInfo(tb_Injection_DownRecord md) - { - try - { - - //初始化要更新的字段 - string[] proNames = new string[8]; - proNames[0] = "StationID"; - proNames[1] = "DownType"; - proNames[2] = "DownReason"; - proNames[3] = "Des"; - proNames[4] = "StartTime"; - proNames[5] = "EndTime"; - proNames[6] = "DownTime"; - proNames[7] = "Remark1"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public string GetComboboxDataByDownType() - { - try - { - string jsonStr = "[]"; - var list = ef.tb_Injection_DownType.ToList();//判断是否有重复数据 - jsonStr = JSONTools.ScriptSerialize(list); - return jsonStr; - } - catch (Exception) - { - return ""; - } - - - } - - public string GetComboboxDataByDownReason() - { - try - { - string jsonStr = "[]"; - var list = ef.tb_Inhection_DownReason.ToList();//判断是否有重复数据 - jsonStr = JSONTools.ScriptSerialize(list); - return jsonStr; - } - catch (Exception) - { - return ""; - } - - - } - - public bool UpdateData(List list, string DownRecordID) - { - try - { - foreach (var item in list) - { - tb_Injection_DownRecord md = new tb_Injection_DownRecord(); - md.ID = Guid.NewGuid().ToString(); - md.StationID = item.StationID; - md.PlanID = item.PlanID; - md.StartTime = Convert.ToDateTime(item.StartTime); - md.EndTime = Convert.ToDateTime(item.EndTime); - TimeSpan ts = md.EndTime.Value.Subtract(md.StartTime.Value); - md.DownTime = (int)ts.TotalSeconds; - md.DownType = item.DownType; - md.DownReason = item.DownReason; - md.Des = ""; - md.Remark1 = item.Remark1; - md.Remark2 = "2"; - db.AddInfo(md); - } - - var info = ef.tb_Injection_DownRecord.FirstOrDefault(p => p.ID == DownRecordID); - info.Remark2 = "1"; - ef.SaveChanges(); - - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - #endregion - - #region 报表 - - //每日平均换膜次数 - public string SearchDay(string StartTime) - { - try - { - DateTime sTime = Convert.ToDateTime(StartTime); - - int days = System.Threading.Thread.CurrentThread.CurrentUICulture.Calendar.GetDaysInMonth(sTime.Year, sTime.Month); - StringBuilder sb = new StringBuilder(100); - - DataTable dt = dal.SearchByTime(Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-01 08:00:00").ToString("yyyy-MM-dd HH:mm:ss"), Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-" + days.ToString() + " 07:59:59").AddDays(1).ToString("yyyy-MM-dd HH:mm:ss")); - - if (dt != null && dt.Rows.Count > 0) - { - - List titleList = new List(); - List Day_totalList = new List(); - List Night_totalList = new List(); - - for (int i = 0; i < days; i++) - { - titleList.Add((i + 1).ToString()); - - DateTime dtime = Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-" + (i + 1)); - - //白班 - var DayList = from myRow in dt.AsEnumerable() - where myRow.Field(5) >= Convert.ToDateTime(dtime.ToString("yyyy-MM-dd") + " 08:00:00.000") && - myRow.Field(6) <= Convert.ToDateTime(dtime.ToString("yyyy-MM-dd") + " 19:59:59.999") - select myRow; - if (DayList.Count() > 0) - { - int Day_int = DayList.Sum(p => Convert.ToInt32(p.ItemArray[7])); - Day_totalList.Add(Math.Round((Day_int / (double)DayList.Count()) / 60, 2)); - } - else - { - Day_totalList.Add(0); - } - - - //夜班 - var NightList = from myRowNight in dt.AsEnumerable() - where myRowNight.Field(5) >= Convert.ToDateTime(dtime.ToString("yyyy-MM-dd") + " 20:00:00.000") && - myRowNight.Field(6) <= Convert.ToDateTime(dtime.AddDays(1).ToString("yyyy-MM-dd") + " 07:59:59.999") - select myRowNight; - if (NightList.Count() > 0) - { - int Night_int = NightList.Sum(p => Convert.ToInt32(p.ItemArray[7])); - Night_totalList.Add(Math.Round((Night_int / (double)NightList.Count()) / 60, 2)); - } - else - { - Night_totalList.Add(0); - } - } - - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in titleList) - { - sb.Append(""); - } - - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in Day_totalList) - { - sb.Append(""); - } - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in Night_totalList) - { - sb.Append(""); - } - sb.Append(""); - - sb.Append("
班次/日期" + item + "
白班" + item + "
夜班" + item + "
"); - } - return sb.ToString(); - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - //每日平均换膜次数导出excel - public List> SearchDayForExcel(string StartTime) - { - try - { - List> list = new List>(); - - DateTime sTime = Convert.ToDateTime(StartTime); - - int days = System.Threading.Thread.CurrentThread.CurrentUICulture.Calendar.GetDaysInMonth(sTime.Year, sTime.Month); - StringBuilder sb = new StringBuilder(100); - - DataTable dt = dal.SearchByTime(Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-01 08:00:00").ToString("yyyy-MM-dd HH:mm:ss"), Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-" + days.ToString() + " 07:59:59").AddDays(1).ToString("yyyy-MM-dd HH:mm:ss")); - - if (dt != null && dt.Rows.Count > 0) - { - - List titleList = new List(); - List Day_totalList = new List(); - List Night_totalList = new List(); - - for (int i = 0; i < days; i++) - { - titleList.Add((i + 1).ToString()); - - DateTime dtime = Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-" + (i + 1)); - - //白班 - var DayList = from myRow in dt.AsEnumerable() - where myRow.Field(5) >= Convert.ToDateTime(dtime.ToString("yyyy-MM-dd") + " 08:00:00.000") && - myRow.Field(6) <= Convert.ToDateTime(dtime.ToString("yyyy-MM-dd") + " 19:59:59.999") - select myRow; - if (DayList.Count() > 0) - { - int Day_int = DayList.Sum(p => Convert.ToInt32(p.ItemArray[7])); - Day_totalList.Add(Math.Round((Day_int / (double)DayList.Count()) / 60, 2)); - } - else - { - Day_totalList.Add(0); - } - - - //夜班 - var NightList = from myRowNight in dt.AsEnumerable() - where myRowNight.Field(5) >= Convert.ToDateTime(dtime.ToString("yyyy-MM-dd") + " 20:00:00.000") && - myRowNight.Field(6) <= Convert.ToDateTime(dtime.AddDays(1).ToString("yyyy-MM-dd") + " 07:59:59.999") - select myRowNight; - if (NightList.Count() > 0) - { - int Night_int = NightList.Sum(p => Convert.ToInt32(p.ItemArray[7])); - Night_totalList.Add(Math.Round((Night_int / (double)NightList.Count()) / 60, 2)); - } - else - { - Night_totalList.Add(0); - } - } - - List title_ = new List(); - title_.Add("班次/日期"); - title_.AddRange(titleList); - list.Add(title_); - - List total_ = new List(); - total_.Add("白班"); - foreach (var item in Day_totalList) - { - total_.Add(item.ToString()); - } - list.Add(total_); - - List No_total_ = new List(); - No_total_.Add("夜班"); - foreach (var item in Night_totalList) - { - No_total_.Add(item.ToString()); - } - list.Add(No_total_); - - - - } - - - - return list; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - - } - - //每月平均换膜次数 - public string SearchMonth(string StartTime) - { - try - { - - DateTime sTime = Convert.ToDateTime(StartTime); - StringBuilder sb = new StringBuilder(100); - - DataTable dt = dal.SearchByTime(sTime.Year + "-01-01", sTime.Year + "-12-31"); - - if (dt != null && dt.Rows.Count > 0) - { - - DateTime startT = Convert.ToDateTime(sTime.Year + "-01-01"); - - List titleList = new List(); - List Day_totalList = new List(); - - for (int i = 0; i < 12; i++) - { - titleList.Add((i + 1) + "月"); - - int days = System.Threading.Thread.CurrentThread.CurrentUICulture.Calendar.GetDaysInMonth(startT.Year, (i + 1)); - - var DayList = from myRow in dt.AsEnumerable() - where myRow.Field(5) >= Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-01") && - myRow.Field(6) <= Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-" + days) - select myRow; - - if (DayList.Count() > 0) - { - int Day_int = DayList.Sum(p => Convert.ToInt32(p.ItemArray[7])); - Day_totalList.Add(Math.Round((Day_int / (double)DayList.Count()) / 60, 2)); - } - else - { - Day_totalList.Add(0); - } - } - - - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in titleList) - { - sb.Append(""); - } - - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in Day_totalList) - { - sb.Append(""); - } - sb.Append(""); - - sb.Append("
月份" + item + "
平均换膜时间" + item + "
"); - } - return sb.ToString(); - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - public List> SearchMonthForExcel(string StartTime) - { - try - { - List> list = new List>(); - - DateTime sTime = Convert.ToDateTime(StartTime); - StringBuilder sb = new StringBuilder(100); - - DataTable dt = dal.SearchByTime(sTime.Year + "-01-01", sTime.Year + "-12-31"); - - if (dt != null && dt.Rows.Count > 0) - { - - DateTime startT = Convert.ToDateTime(sTime.Year + "-01-01"); - - List titleList = new List(); - List Day_totalList = new List(); - - for (int i = 0; i < 12; i++) - { - titleList.Add((i + 1) + "月"); - - int days = System.Threading.Thread.CurrentThread.CurrentUICulture.Calendar.GetDaysInMonth(startT.Year, (i + 1)); - - var DayList = from myRow in dt.AsEnumerable() - where myRow.Field(5) >= Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-01") && - myRow.Field(6) <= Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-" + days) - select myRow; - - if (DayList.Count() > 0) - { - int Day_int = DayList.Sum(p => Convert.ToInt32(p.ItemArray[7])); - Day_totalList.Add(Math.Round((Day_int / (double)DayList.Count()) / 60, 2)); - } - else - { - Day_totalList.Add(0); - } - } - - List title_ = new List(); - title_.Add("月份"); - title_.AddRange(titleList); - list.Add(title_); - - List total_ = new List(); - total_.Add("平均换膜时间"); - foreach (var item in Day_totalList) - { - total_.Add(item.ToString()); - } - list.Add(total_); - } - - - - return list; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - - } - //每月换膜次数 - public string SearchMonthTimes(string StartTime) - { - try - { - - DateTime sTime = Convert.ToDateTime(StartTime); - StringBuilder sb = new StringBuilder(100); - - DataTable dt = dal.SearchByTime(sTime.Year + "-01-01", sTime.Year + "-12-31"); - - if (dt != null && dt.Rows.Count > 0) - { - - DateTime startT = Convert.ToDateTime(sTime.Year + "-01-01"); - - List titleList = new List(); - List Day_totalList = new List(); - - for (int i = 0; i < 12; i++) - { - titleList.Add((i + 1) + "月"); - - int days = System.Threading.Thread.CurrentThread.CurrentUICulture.Calendar.GetDaysInMonth(startT.Year, (i + 1)); - - var DayList = from myRow in dt.AsEnumerable() - where myRow.Field(5) >= Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-01") && - myRow.Field(6) <= Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-" + days) - select myRow; - - Day_totalList.Add(DayList.Count()); - } - - - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in titleList) - { - sb.Append(""); - } - - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in Day_totalList) - { - sb.Append(""); - } - sb.Append(""); - - sb.Append("
月份" + item + "
换模次数" + item + "
"); - } - return sb.ToString(); - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - public List> SearchMonthTimesForExcel(string StartTime) - { - try - { - List> list = new List>(); - - DateTime sTime = Convert.ToDateTime(StartTime); - StringBuilder sb = new StringBuilder(100); - - DataTable dt = dal.SearchByTime(sTime.Year + "-01-01", sTime.Year + "-12-31"); - - if (dt != null && dt.Rows.Count > 0) - { - - DateTime startT = Convert.ToDateTime(sTime.Year + "-01-01"); - - List titleList = new List(); - List Day_totalList = new List(); - - for (int i = 0; i < 12; i++) - { - titleList.Add((i + 1) + "月"); - - int days = System.Threading.Thread.CurrentThread.CurrentUICulture.Calendar.GetDaysInMonth(startT.Year, (i + 1)); - - var DayList = from myRow in dt.AsEnumerable() - where myRow.Field(5) >= Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-01") && - myRow.Field(6) <= Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-" + days) - select myRow; - - Day_totalList.Add(DayList.Count()); - } - - - List title_ = new List(); - title_.Add("月份"); - title_.AddRange(titleList); - list.Add(title_); - - List total_ = new List(); - total_.Add("换模次数"); - foreach (var item in Day_totalList) - { - total_.Add(item.ToString()); - } - list.Add(total_); - } - - return list; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - - } - //换膜记录单 - public string SearchChangeRecord(string StartTime, string EndTime, string ModelId) - { - StringBuilder sb = new StringBuilder(100); - DataTable dt = dal.SearchChangeRecord(StartTime, EndTime, ModelId); - - - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - - for (int i = 0; i < dt.Rows.Count; i++) - { - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - - sb.Append(""); - } - - sb.Append("
机台号日期起始时间总计时间累计合模数生产合模数日期章换膜人
" + dt.Rows[i]["StationNo"] + "" + Convert.ToDateTime(dt.Rows[i]["PrintDate"]).ToString("yyyy-MM-dd") + "" + dt.Rows[i]["StartTime"] + "" + Math.Round((Convert.ToDouble(dt.Rows[i]["DownTime"]) / 60), 2) + "" + dt.Rows[i]["ModelSumCount"] + "" + dt.Rows[i]["ModelPrintCount"] + "" + Convert.ToDateTime(dt.Rows[i]["PrintDate"]).Month + "月" + dt.Rows[i]["remark1"] + "
"); - - - return sb.ToString(); - } - public List> SearchChangeRecordForExcel(string StartTime, string EndTime, string ModelId) - { - try - { - List> list = new List>(); - - DataTable dt = dal.SearchChangeRecord(StartTime, EndTime, ModelId); - - List titleList = new List(); - titleList.Add("机台号"); - titleList.Add("日期"); - titleList.Add("起始时间"); - titleList.Add("总计时间"); - titleList.Add("累计合模数"); - titleList.Add("生产合模数"); - titleList.Add("日期章"); - titleList.Add("换膜人"); - list.Add(titleList); - - for (int i = 0; i < dt.Rows.Count; i++) - { - List total_ = new List(); - total_.Add(dt.Rows[i]["StationNo"].ToString()); - total_.Add(Convert.ToDateTime(dt.Rows[i]["PrintDate"]).ToString("yyyy-MM-dd")); - total_.Add(dt.Rows[i]["StartTime"].ToString()); - total_.Add(Math.Round((Convert.ToDouble(dt.Rows[i]["DownTime"]) / 60), 2).ToString()); - total_.Add(dt.Rows[i]["ModelSumCount"].ToString()); - total_.Add(dt.Rows[i]["ModelPrintCount"].ToString()); - total_.Add(Convert.ToDateTime(dt.Rows[i]["PrintDate"]).Month + "月"); - total_.Add(dt.Rows[i]["remark1"].ToString()); - list.Add(total_); - } - return list; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - - } - - //维修记录 - public string SearchRepairRecord(string StartTime, string EndTime) - { - try - { - - DateTime sTime = Convert.ToDateTime(StartTime); - StringBuilder sb = new StringBuilder(100); - - DataTable dt = dal.SearchRepaorByTime(StartTime, EndTime); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - if (dt != null && dt.Rows.Count > 0) - { - for (int i = 0; i < dt.Rows.Count; i++) - { - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - } - } - sb.Append("
序号日期班次设备名称故障现象维修时间故障原因维修内容及更换配件维修人
" + (i + 1) + "" + Convert.ToDateTime(dt.Rows[i]["StartTime"]).ToString("yyyy-MM-dd") + "" + CheckWorkClass(dt.Rows[i]["StartTime"].ToString()) + "" + dt.Rows[i]["StationNo"] + "" + dt.Rows[i]["Des"] + "" + dt.Rows[i]["DownTime"] + "" + dt.Rows[i]["Remark2"] + "" + dt.Rows[i]["Remark3"] + "" + dt.Rows[i]["Remark1"] + "
"); - return sb.ToString(); - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public List> SearchRepairRecordForExcel(string StartTime, string EndTime) - { - try - { - List> list = new List>(); - - DataTable dt = dal.SearchRepaorByTime(StartTime, EndTime); - - - List titleList = new List(); - titleList.Add("序号"); - titleList.Add("日期"); - titleList.Add("班次"); - titleList.Add("设备名称"); - titleList.Add("故障现象"); - titleList.Add("维修时间"); - titleList.Add("故障原因"); - titleList.Add("维修内容及更换配件"); - titleList.Add("维修人"); - list.Add(titleList); - - for (int i = 0; i < dt.Rows.Count; i++) - { - List total_ = new List(); - total_.Add((i + 1).ToString()); - total_.Add(Convert.ToDateTime(dt.Rows[i]["StartTime"]).ToString("yyyy-MM-dd")); - total_.Add(CheckWorkClass(dt.Rows[i]["StartTime"].ToString())); - total_.Add(dt.Rows[i]["StationNo"].ToString()); - total_.Add(dt.Rows[i]["Des"].ToString()); - total_.Add(dt.Rows[i]["DownTime"].ToString()); - total_.Add(dt.Rows[i]["Remark2"].ToString()); - total_.Add(dt.Rows[i]["Remark3"].ToString()); - total_.Add(dt.Rows[i]["Remark1"].ToString()); - list.Add(total_); - } - return list; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - - } - - private string CheckWorkClass(string StartTime) - { - - try - { - if (true) - { - string time = StartTime.Substring(0, StartTime.IndexOf(" ")); - if (DateTime.Compare(Convert.ToDateTime(StartTime), Convert.ToDateTime(time + " 08:00:00")) > 0 && DateTime.Compare(Convert.ToDateTime(time + " 19:59:59"), Convert.ToDateTime(StartTime)) > 0) - { - return "A"; - } - return "B"; - - } - - } - catch (Exception ex) - { - - } - - return ""; - } - - #endregion - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Injection/InjectionQtyBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Injection/InjectionQtyBLL.cs deleted file mode 100644 index c9ef146..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Injection/InjectionQtyBLL.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.Injection; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL.Injection -{ - public class InjectionQtyBLL - { - InjectionQtyDAL da=new InjectionQtyDAL(); - - public bool AddInfo(InjectionQtyModel md) - { - try - { - return da.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool UpdateQty(InjectionQtyModel md) - { - try - { - return da.UpdateQty(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool UpdateMarketQty(InjectionQtyModel md) - { - try - { - return da.UpdateMarketQty(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchInfo(InjectionQtyModel md) - { - try - { - return da.SearchInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Injection/InjectionRecordBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Injection/InjectionRecordBLL.cs deleted file mode 100644 index 565e207..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Injection/InjectionRecordBLL.cs +++ /dev/null @@ -1,2038 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.Injection; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.Injection -{ - public class InjectionRecordBLL - { - BBMPTEntities ef = new BBMPTEntities(); - BasicBLL db = new BasicBLL(); - BasicBLL db_w = new BasicBLL(); - InjectionRecordDAL dal = new InjectionRecordDAL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_Injection_Record md) - { - try - { - var list = db.SearchInfoByKey("RecordDate", md.RecordDate);//判断是否有重复数据 - if (list != null && list.Count > 0) - { - if (list.Where(p => p.StationID.Equals(md.StationID) && p.workClass.Equals(md.workClass)).Count() > 0) - { - return false; - } - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_Injection_Record md) - { - try - { - - //初始化要更新的字段 - string[] proNames = new string[7]; - proNames[0] = "workClass"; - proNames[1] = "StationID"; - proNames[2] = "JK_Weight"; - proNames[3] = "Waste_Weight"; - proNames[4] = "RecordDate"; - proNames[5] = "StockNo"; - proNames[6] = "PartNo"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_Injection_Record md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string StartTime, string EndTime, string StationID) - { - try - { - - string jsonStr = "[]"; - int total = 0;//总行数 - - DateTime stime = Convert.ToDateTime(StartTime); - DateTime etime = Convert.ToDateTime(EndTime); - - List list = ef.tb_Injection_Record.Where(p => p.RecordDate >= stime && p.RecordDate <= etime).ToList(); - - if (!String.IsNullOrEmpty(StationID)) - { - list = list.Where(p => p.StationID.Equals(StationID)).ToList(); - } - - List modelList = new List(); - if (list.Count > 0) - { - #region 联查 - BasicBLL machine_db = new BasicBLL(); - var machine_list = machine_db.SearchAllInfo(); - - foreach (var item in list) - { - Injection_RecordModel dm = Tool.Mapper(item); - - var machine_info = machine_list.FirstOrDefault(p => p.StationID == item.StationID); - if (machine_info != null) - { - dm.StationNo = machine_info.StationNo; - } - - modelList.Add(dm); - } - #endregion - - total = modelList.Count; - - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - modelList = modelList.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = modelList; - jsonStr = JSONTools.ScriptSerialize>(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - #region 废料信息录入 - public string SearchInfo(string page, string pagesize, string StartTime, string EndTime, string StationID) - { - try - { - - string jsonStr = "[]"; - int total = 0;//总行数 - - DateTime stime = Convert.ToDateTime(StartTime); - DateTime etime = Convert.ToDateTime(EndTime); - - DataTable dt = dal.SearchRecordByPage(Convert.ToInt32(page), Convert.ToInt32(pagesize), StartTime, EndTime, StationID); - - - IList list = Tool.ConvertTo(dt); - - if (list.Count > 0) - { - total = list.Count; - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = list.ToList(); - jsonStr = JSONTools.ScriptSerialize(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - - public bool UpdateWasteInfo(tb_Product_Injection_w md) - { - try - { - var info = ef.tb_Product_Injection_w.Where(p => p.ID.Equals(md.ID)).FirstOrDefault();//判断是否有重复数据 - if (info != null) - { - //初始化要更新的字段 - string[] proNames = new string[3]; - proNames[0] = "RealCycle"; - proNames[1] = "JK_Weight"; - proNames[2] = "Waste_Weight"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - - db_w.UpdateInfo(md, proNames); - } - else - { - db_w.AddInfo(md); - } - - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - #endregion - - - - /// - /// 查询全部信息 - /// - /// - public List SearchAll() - { - try - { - var s_list = db.SearchAllInfo().ToList(); - return s_list; - } - catch (Exception) - { - return null; - } - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_Injection_Record SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - - #region 日合格趋势 - //表格 - public string SearchQualifiedDay(string StartTime) - { - try - { - - DateTime sTime = Convert.ToDateTime(StartTime); - - int days = System.Threading.Thread.CurrentThread.CurrentUICulture.Calendar.GetDaysInMonth(sTime.Year, sTime.Month); - StringBuilder sb = new StringBuilder(100); - - DataTable dt = dal.SearchByTime(Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-01").ToString("yyyy-MM-dd"), Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-" + days.ToString()).ToString("yyyy-MM-dd")); - - if (dt != null && dt.Rows.Count > 0) - { - - List titleList = new List(); - List totalList = new List(); - List No_totalList = new List(); - List OK_L_List = new List(); - for (int i = 0; i < days; i++) - { - titleList.Add((i + 1) + "日"); - - string nowTime = Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-" + (i + 1)).ToString("yyyy-MM-dd"); - - var DayList = from myRow in dt.AsEnumerable() - where myRow.Field(3) == nowTime - select myRow; - - double total_OK = DayList.Sum(p => (int)p.ItemArray[7]); - double total_NO = DayList.Sum(p => (int)p.ItemArray[8]); - double total_all = total_OK + total_NO; - totalList.Add(total_OK); - No_totalList.Add(total_NO); - if (total_all > 0) - { - OK_L_List.Add(Math.Round((total_OK / total_all) * 100, 2)); - } - else - { - OK_L_List.Add(0); - } - - } - - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in titleList) - { - sb.Append(""); - } - - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in totalList) - { - sb.Append(""); - } - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in No_totalList) - { - sb.Append(""); - } - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in OK_L_List) - { - sb.Append(""); - } - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in OK_L_List) - { - sb.Append(""); - } - sb.Append(""); - sb.Append("
" + item + "
总合格数量" + item + "
不良数量" + item + "
合格率" + item + "%
目标值99.6%
"); - } - return sb.ToString(); - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - //柱状图 - public EcharBarModel SearchQualifiedDayBar(string StartTime) - { - try - { - - EcharBarModel md = new EcharBarModel(); - - DateTime sTime = Convert.ToDateTime(StartTime); - - int days = System.Threading.Thread.CurrentThread.CurrentUICulture.Calendar.GetDaysInMonth(sTime.Year, sTime.Month); - StringBuilder sb = new StringBuilder(100); - - DataTable dt = dal.SearchByTime(Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-01").ToString("yyyy-MM-dd"), Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-" + days.ToString()).ToString("yyyy-MM-dd")); - - if (dt != null && dt.Rows.Count > 0) - { - - List titleList = new List(); - List totalList = new List(); - List No_totalList = new List(); - List OK_L_List = new List(); - List T_L_List = new List(); - for (int i = 0; i < days; i++) - { - titleList.Add((i + 1) + "日"); - - string nowTime = Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-" + (i + 1)).ToString("yyyy-MM-dd"); - - var DayList = from myRow in dt.AsEnumerable() - where myRow.Field(3) == nowTime - select myRow; - - double total_OK = DayList.Sum(p => (int)p.ItemArray[7]); - double total_NO = DayList.Sum(p => (int)p.ItemArray[8]); - double total_all = total_OK + total_NO; - totalList.Add(total_OK); - No_totalList.Add(total_NO); - if (total_all > 0) - { - OK_L_List.Add(Math.Round((total_OK / total_all) * 100, 2)); - } - else - { - OK_L_List.Add(0); - } - - } - - foreach (var item in OK_L_List) - { - T_L_List.Add(99.6); - } - md.categories = titleList; - md.QualifiedData = OK_L_List; - md.TargetData = T_L_List; - - } - - return md; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public List> SearchQualifiedDayForExcel(string StartTime) - { - try - { - List> list = new List>(); - - DateTime sTime = Convert.ToDateTime(StartTime); - - int days = System.Threading.Thread.CurrentThread.CurrentUICulture.Calendar.GetDaysInMonth(sTime.Year, sTime.Month); - StringBuilder sb = new StringBuilder(100); - - DataTable dt = dal.SearchByTime(Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-01").ToString("yyyy-MM-dd"), Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-" + days.ToString()).ToString("yyyy-MM-dd")); - if (dt != null && dt.Rows.Count > 0) - { - - List titleList = new List(); - List totalList = new List(); - List No_totalList = new List(); - List OK_L_List = new List(); - for (int i = 0; i < days; i++) - { - titleList.Add((i + 1) + "日"); - - string nowTime = Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-" + (i + 1)).ToString("yyyy-MM-dd"); - - var DayList = from myRow in dt.AsEnumerable() - where myRow.Field(3) == nowTime - select myRow; - - double total_OK = DayList.Sum(p => (int)p.ItemArray[7]); - double total_NO = DayList.Sum(p => (int)p.ItemArray[8]); - double total_all = total_OK + total_NO; - totalList.Add(total_OK); - No_totalList.Add(total_NO); - if (total_all > 0) - { - OK_L_List.Add(Math.Round((total_OK / total_all) * 100, 2)); - } - else - { - OK_L_List.Add(0); - } - - } - - List title_ = new List(); - - title_.Add(""); - title_.AddRange(titleList); - list.Add(title_); - - List total_ = new List(); - total_.Add("总合格数量"); - foreach (var item in totalList) - { - total_.Add(item.ToString()); - } - list.Add(total_); - - - - List No_total_ = new List(); - No_total_.Add("不良数量"); - foreach (var item in No_totalList) - { - No_total_.Add(item.ToString()); - } - list.Add(No_total_); - - List OK_L_ = new List(); - OK_L_.Add("合格率"); - foreach (var item in OK_L_List) - { - OK_L_.Add(item.ToString() + "%"); - } - list.Add(OK_L_); - - List tag_L_ = new List(); - tag_L_.Add("目标值"); - foreach (var item in OK_L_List) - { - tag_L_.Add("99.6%"); - } - list.Add(tag_L_); - - } - - - - return list; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - - } - #endregion - - #region 月合格趋势 - //表格 - public string SearchQualifiedMonth(string StartTime) - { - try - { - - DateTime sTime = Convert.ToDateTime(StartTime); - StringBuilder sb = new StringBuilder(100); - - DataTable dt = dal.SearchByTime(sTime.Year + "-01-01", sTime.Year + "-12-31"); - - if (dt != null && dt.Rows.Count > 0) - { - - DateTime startT = Convert.ToDateTime(sTime.Year + "-01-01"); - - List titleList = new List(); - List totalList = new List(); - List No_totalList = new List(); - List OK_L_List = new List(); - for (int i = 0; i < 12; i++) - { - titleList.Add((i + 1) + "月"); - - int days = System.Threading.Thread.CurrentThread.CurrentUICulture.Calendar.GetDaysInMonth(startT.Year, (i + 1)); - - - string starTime = Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-01").ToString("yyyy-MM-dd"); - string entTime = Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-" + days).ToString("yyyy-MM-dd"); - - var DayList = from myRow in dt.AsEnumerable() - where myRow.Field(3).CompareTo(Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-01").ToString("yyyy-MM-dd")) >= 0 && - myRow.Field(3).CompareTo(Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-" + days).ToString("yyyy-MM-dd")) <= 0 - select myRow; - - double total_OK = DayList.Sum(p => (int)p.ItemArray[7]); - double total_NO = DayList.Sum(p => (int)p.ItemArray[8]); - double total_all = total_OK + total_NO; - totalList.Add(total_OK); - No_totalList.Add(total_NO); - if (total_all > 0) - { - OK_L_List.Add(Math.Round((total_OK / total_all) * 100, 2)); - } - else - { - OK_L_List.Add(0); - } - } - - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in titleList) - { - sb.Append(""); - } - - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in totalList) - { - sb.Append(""); - } - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in No_totalList) - { - sb.Append(""); - } - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in OK_L_List) - { - sb.Append(""); - } - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in OK_L_List) - { - sb.Append(""); - } - sb.Append(""); - sb.Append("
" + item + "
总合格数量" + item + "
不良数量" + item + "
合格率" + item + "%
目标值99.6%
"); - } - return sb.ToString(); - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - //柱状图 - public EcharBarModel SearchQualifiedMonthBar(string StartTime) - { - try - { - - EcharBarModel md = new EcharBarModel(); - - DateTime sTime = Convert.ToDateTime(StartTime); - - DataTable dt = dal.SearchByTime(sTime.Year + "-01-01", sTime.Year + "-12-31"); - - if (dt != null && dt.Rows.Count > 0) - { - - DateTime startT = Convert.ToDateTime(sTime.Year + "-01-01"); - - List titleList = new List(); - List totalList = new List(); - List No_totalList = new List(); - List OK_L_List = new List(); - List T_L_List = new List(); - for (int i = 0; i < 12; i++) - { - titleList.Add((i + 1) + "月"); - - int days = System.Threading.Thread.CurrentThread.CurrentUICulture.Calendar.GetDaysInMonth(startT.Year, (i + 1)); - - - string starTime = Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-01").ToString("yyyy-MM-dd"); - string entTime = Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-" + days).ToString("yyyy-MM-dd"); - - var DayList = from myRow in dt.AsEnumerable() - where myRow.Field(3).CompareTo(Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-01").ToString("yyyy-MM-dd")) >= 0 && - myRow.Field(3).CompareTo(Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-" + days).ToString("yyyy-MM-dd")) <= 0 - select myRow; - - double total_OK = DayList.Sum(p => (int)p.ItemArray[7]); - double total_NO = DayList.Sum(p => (int)p.ItemArray[8]); - double total_all = total_OK + total_NO; - totalList.Add(total_OK); - No_totalList.Add(total_NO); - if (total_all > 0) - { - OK_L_List.Add(Math.Round((total_OK / total_all) * 100, 2)); - } - else - { - OK_L_List.Add(0); - } - } - - - - foreach (var item in OK_L_List) - { - T_L_List.Add(99.6); - } - md.categories = titleList; - md.QualifiedData = OK_L_List; - md.TargetData = T_L_List; - - } - - return md; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public List> SearchQualifiedMonthForExcel(string StartTime) - { - try - { - List> list = new List>(); - - DateTime sTime = Convert.ToDateTime(StartTime); - StringBuilder sb = new StringBuilder(100); - - DataTable dt = dal.SearchByTime(sTime.Year + "-01-01", sTime.Year + "-12-31"); - - if (dt != null && dt.Rows.Count > 0) - { - - DateTime startT = Convert.ToDateTime(sTime.Year + "-01-01"); - - List titleList = new List(); - List totalList = new List(); - List No_totalList = new List(); - List OK_L_List = new List(); - for (int i = 0; i < 12; i++) - { - titleList.Add((i + 1) + "月"); - - int days = System.Threading.Thread.CurrentThread.CurrentUICulture.Calendar.GetDaysInMonth(startT.Year, (i + 1)); - - - string starTime = Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-01").ToString("yyyy-MM-dd"); - string entTime = Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-" + days).ToString("yyyy-MM-dd"); - - var DayList = from myRow in dt.AsEnumerable() - where myRow.Field(3).CompareTo(Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-01").ToString("yyyy-MM-dd")) >= 0 && - myRow.Field(3).CompareTo(Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-" + days).ToString("yyyy-MM-dd")) <= 0 - select myRow; - - double total_OK = DayList.Sum(p => (int)p.ItemArray[7]); - double total_NO = DayList.Sum(p => (int)p.ItemArray[8]); - double total_all = total_OK + total_NO; - totalList.Add(total_OK); - No_totalList.Add(total_NO); - if (total_all > 0) - { - OK_L_List.Add(Math.Round((total_OK / total_all) * 100, 2)); - } - else - { - OK_L_List.Add(0); - } - } - - List title_ = new List(); - - title_.Add(""); - title_.AddRange(titleList); - list.Add(title_); - - List total_ = new List(); - total_.Add("总合格数量"); - foreach (var item in totalList) - { - total_.Add(item.ToString()); - } - list.Add(total_); - - - - List No_total_ = new List(); - No_total_.Add("不良数量"); - foreach (var item in No_totalList) - { - No_total_.Add(item.ToString()); - } - list.Add(No_total_); - - List OK_L_ = new List(); - OK_L_.Add("合格率"); - foreach (var item in OK_L_List) - { - OK_L_.Add(item.ToString() + "%"); - } - list.Add(OK_L_); - - List tag_L_ = new List(); - tag_L_.Add("目标值"); - foreach (var item in OK_L_List) - { - tag_L_.Add("99.6%"); - } - list.Add(tag_L_); - } - return list; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - - } - - #endregion - - #region 日原料利用率 - public string SearchMaterialAvailabilityDay(string StartTime) - { - try - { - - var p_info = ef.tb_Plastic.Where(p => p.Weight != null); - - - DateTime sTime = Convert.ToDateTime(StartTime); - - int days = System.Threading.Thread.CurrentThread.CurrentUICulture.Calendar.GetDaysInMonth(sTime.Year, sTime.Month); - StringBuilder sb = new StringBuilder(100); - - DataTable dt = dal.SearchByTime(Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-01").ToString("yyyy-MM-dd"), Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-" + days.ToString()).ToString("yyyy-MM-dd")); - - if (dt != null && dt.Rows.Count > 0) - { - - List titleList = new List(); - List totalList = new List(); - List No_totalList = new List(); - List All_totalList = new List(); - List OK_L_List = new List(); - for (int i = 0; i < days; i++) - { - titleList.Add((i + 1) + "日"); - - string nowTime = Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-" + (i + 1)).ToString("yyyy-MM-dd"); - - var listAddress = (from myRow in dt.AsEnumerable() - where myRow.Field(3) == nowTime - group myRow by new { StockNo = myRow.ItemArray[5] } into g - //orderby new ComparerItem() { OrderIndex = b.Key., Id = b.Key.Id } descending - select new - { - StockNo = (string)g.Key.StockNo, - total_ok = g.Sum(c => (int)c.ItemArray[7]), - total_no = g.Sum(c => (int)c.ItemArray[8]) - }); - - double total_OK = 0; - double total_NO = 0; - foreach (var item in listAddress) - { - string stockNo = item.StockNo; - - var w_info = p_info.FirstOrDefault(p => p.StockNo.Equals(stockNo)); - if (w_info != null) - { - total_OK += (double)(w_info.Weight * item.total_ok); - total_NO += (double)(w_info.Weight * item.total_no); - } - } - totalList.Add(Math.Round(total_OK / 1000, 2)); - No_totalList.Add(Math.Round(total_NO / 1000, 2)); - - DateTime nsTime = Convert.ToDateTime(nowTime + " 00:00:00"); - DateTime neTime = Convert.ToDateTime(nowTime + " 23:59:59"); - var Waste_Num = ef.tb_Injection_Record.Where(p => p.RecordDate >= nsTime && p.RecordDate <= neTime).Sum(p => p.Waste_Weight); - double total_Waste = 0; - if (Waste_Num == null) - { - total_Waste = 0; - } - else - { - total_Waste = (double)Waste_Num; - } - - double total_all = total_OK + total_NO + total_Waste; - All_totalList.Add(Math.Round(total_all / 1000, 2)); - if (total_all > 0) - { - OK_L_List.Add(Math.Round((total_OK / total_all) * 100, 2)); - } - else - { - OK_L_List.Add(0); - } - - } - - sb.Append(""); - - sb.Append(""); - sb.Append(""); - foreach (var item in titleList) - { - sb.Append(""); - } - sb.Append(""); - - sb.Append(""); - sb.Append(""); - foreach (var item in OK_L_List) - { - sb.Append(""); - } - sb.Append(""); - - sb.Append(""); - sb.Append(""); - foreach (var item in totalList) - { - sb.Append(""); - } - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in All_totalList) - { - sb.Append(""); - } - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in OK_L_List) - { - sb.Append(""); - } - sb.Append(""); - - sb.Append("
" + item + "
目标值98%
合格件耗用原料" + item + "
总耗用原料" + item + "
原料利用率" + item + "%
"); - } - return sb.ToString(); - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - //柱状图 - public EcharBarModel SearchMaterialAvailabilityDayBar(string StartTime) - { - try - { - EcharBarModel md = new EcharBarModel(); - - var p_info = ef.tb_Plastic.Where(p => p.Weight != null); - - - DateTime sTime = Convert.ToDateTime(StartTime); - - int days = System.Threading.Thread.CurrentThread.CurrentUICulture.Calendar.GetDaysInMonth(sTime.Year, sTime.Month); - StringBuilder sb = new StringBuilder(100); - - DataTable dt = dal.SearchByTime(Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-01").ToString("yyyy-MM-dd"), Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-" + days.ToString()).ToString("yyyy-MM-dd")); - - if (dt != null && dt.Rows.Count > 0) - { - - List titleList = new List(); - List totalList = new List(); - List No_totalList = new List(); - List OK_L_List = new List(); - List T_L_List = new List(); - for (int i = 0; i < days; i++) - { - titleList.Add((i + 1) + "日"); - - string nowTime = Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-" + (i + 1)).ToString("yyyy-MM-dd"); - - var listAddress = (from myRow in dt.AsEnumerable() - where myRow.Field(3) == nowTime - group myRow by new { StockNo = myRow.ItemArray[5] } into g - //orderby new ComparerItem() { OrderIndex = b.Key., Id = b.Key.Id } descending - select new - { - StockNo = (string)g.Key.StockNo, - total_ok = g.Sum(c => (int)c.ItemArray[7]), - total_no = g.Sum(c => (int)c.ItemArray[8]) - }); - - double total_OK = 0; - double total_NO = 0; - foreach (var item in listAddress) - { - string stockNo = item.StockNo; - - var w_info = p_info.FirstOrDefault(p => p.StockNo.Equals(stockNo)); - if (w_info != null) - { - total_OK += (double)(w_info.Weight * item.total_ok); - total_NO += (double)(w_info.Weight * item.total_no); - } - } - totalList.Add(Math.Round(total_OK / 1000, 2)); - No_totalList.Add(Math.Round(total_NO / 1000, 2)); - - DateTime nsTime = Convert.ToDateTime(nowTime + " 00:00:00"); - DateTime neTime = Convert.ToDateTime(nowTime + " 23:59:59"); - var Waste_Num = ef.tb_Injection_Record.Where(p => p.RecordDate >= nsTime && p.RecordDate <= neTime).Sum(p => p.Waste_Weight); - double total_Waste = 0; - if (Waste_Num == null) - { - total_Waste = 0; - } - else - { - total_Waste = (double)Waste_Num; - } - double total_all = total_OK + total_NO + total_Waste; - - if (total_all > 0) - { - OK_L_List.Add(Math.Round((total_OK / total_all) * 100, 2)); - } - else - { - OK_L_List.Add(0); - } - - } - - foreach (var item in OK_L_List) - { - T_L_List.Add(98); - } - md.categories = titleList; - md.QualifiedData = OK_L_List; - md.TargetData = T_L_List; - } - return md; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public List> SearchMaterialAvailabilityDayForExcel(string StartTime) - { - try - { - List> list = new List>(); - - - var p_info = ef.tb_Plastic.Where(p => p.Weight != null); - DateTime sTime = Convert.ToDateTime(StartTime); - - int days = System.Threading.Thread.CurrentThread.CurrentUICulture.Calendar.GetDaysInMonth(sTime.Year, sTime.Month); - StringBuilder sb = new StringBuilder(100); - - DataTable dt = dal.SearchByTime(Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-01").ToString("yyyy-MM-dd"), Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-" + days.ToString()).ToString("yyyy-MM-dd")); - - if (dt != null && dt.Rows.Count > 0) - { - - List titleList = new List(); - List totalList = new List(); - List No_totalList = new List(); - List All_totalList = new List(); - List OK_L_List = new List(); - for (int i = 0; i < days; i++) - { - titleList.Add((i + 1) + "日"); - - string nowTime = Convert.ToDateTime(sTime.Year + "-" + sTime.Month + "-" + (i + 1)).ToString("yyyy-MM-dd"); - - var listAddress = (from myRow in dt.AsEnumerable() - where myRow.Field(3) == nowTime - group myRow by new { StockNo = myRow.ItemArray[5] } into g - //orderby new ComparerItem() { OrderIndex = b.Key., Id = b.Key.Id } descending - select new - { - StockNo = (string)g.Key.StockNo, - total_ok = g.Sum(c => (int)c.ItemArray[7]), - total_no = g.Sum(c => (int)c.ItemArray[8]) - }); - - double total_OK = 0; - double total_NO = 0; - foreach (var item in listAddress) - { - string stockNo = item.StockNo; - - var w_info = p_info.FirstOrDefault(p => p.StockNo.Equals(stockNo)); - if (w_info != null) - { - total_OK += (double)(w_info.Weight * item.total_ok); - total_NO += (double)(w_info.Weight * item.total_no); - } - } - totalList.Add(Math.Round(total_OK / 1000, 2)); - No_totalList.Add(Math.Round(total_NO / 1000, 2)); - - DateTime nsTime = Convert.ToDateTime(nowTime + " 00:00:00"); - DateTime neTime = Convert.ToDateTime(nowTime + " 23:59:59"); - var Waste_Num = ef.tb_Injection_Record.Where(p => p.RecordDate >= nsTime && p.RecordDate <= neTime).Sum(p => p.Waste_Weight); - double total_Waste = 0; - if (Waste_Num == null) - { - total_Waste = 0; - } - else - { - total_Waste = (double)Waste_Num; - } - - double total_all = total_OK + total_NO + total_Waste; - All_totalList.Add(Math.Round(total_all / 1000, 2)); - if (total_all > 0) - { - OK_L_List.Add(Math.Round((total_OK / total_all) * 100, 2)); - } - else - { - OK_L_List.Add(0); - } - - } - - List title_ = new List(); - - title_.Add(""); - title_.AddRange(titleList); - list.Add(title_); - - List tag_L_ = new List(); - tag_L_.Add("目标值"); - foreach (var item in OK_L_List) - { - tag_L_.Add("98%"); - } - list.Add(tag_L_); - - - List total_ = new List(); - total_.Add("合格件耗用原料"); - foreach (var item in totalList) - { - total_.Add(item.ToString()); - } - list.Add(total_); - - - - List No_total_ = new List(); - No_total_.Add("总耗用原料"); - foreach (var item in All_totalList) - { - No_total_.Add(item.ToString()); - } - list.Add(No_total_); - - List OK_L_ = new List(); - OK_L_.Add("原料利用率"); - foreach (var item in OK_L_List) - { - OK_L_.Add(item.ToString() + "%"); - } - list.Add(OK_L_); - - } - return list; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - - } - #endregion - - #region 月原料利用率 - public string SearchMaterialAvailabilityMonth(string StartTime) - { - try - { - StringBuilder sb = new StringBuilder(100); - var p_info = ef.tb_Plastic.Where(p => p.Weight != null); - - DateTime sTime = Convert.ToDateTime(StartTime); - DataTable dt = dal.SearchByTime(sTime.Year + "-01-01", sTime.Year + "-12-31"); - - if (dt != null && dt.Rows.Count > 0) - { - - List titleList = new List(); - List totalList = new List(); - List No_totalList = new List(); - List All_totalList = new List(); - List OK_L_List = new List(); - for (int i = 0; i < 12; i++) - { - - DateTime startT = Convert.ToDateTime(sTime.Year + "-01-01"); - - titleList.Add((i + 1) + "月"); - - - int days = System.Threading.Thread.CurrentThread.CurrentUICulture.Calendar.GetDaysInMonth(startT.Year, (i + 1)); - - - string starTime = Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-01").ToString("yyyy-MM-dd"); - string entTime = Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-" + days).ToString("yyyy-MM-dd"); - - var listAddress = (from myRow in dt.AsEnumerable() - where myRow.Field(3).CompareTo(Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-01").ToString("yyyy-MM-dd")) >= 0 && - myRow.Field(3).CompareTo(Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-" + days).ToString("yyyy-MM-dd")) <= 0 - group myRow by new { StockNo = myRow.ItemArray[5] } into g - select new - { - StockNo = (string)g.Key.StockNo, - total_ok = g.Sum(c => (int)c.ItemArray[7]), - total_no = g.Sum(c => (int)c.ItemArray[8]) - }); - - double total_OK = 0; - double total_NO = 0; - foreach (var item in listAddress) - { - string stockNo = item.StockNo; - - var w_info = p_info.FirstOrDefault(p => p.StockNo.Equals(stockNo)); - if (w_info != null) - { - total_OK += (double)(w_info.Weight * item.total_ok); - total_NO += (double)(w_info.Weight * item.total_no); - } - } - totalList.Add(Math.Round(total_OK / 1000, 2)); - No_totalList.Add(Math.Round(total_NO / 1000, 2)); - - DateTime nsTime = Convert.ToDateTime(starTime + " 00:00:00"); - DateTime neTime = Convert.ToDateTime(entTime + " 23:59:59"); - var Waste_Num = ef.tb_Injection_Record.Where(p => p.RecordDate >= nsTime && p.RecordDate <= neTime).Sum(p => p.Waste_Weight); - double total_Waste = 0; - if (Waste_Num == null) - { - total_Waste = 0; - } - else - { - total_Waste = (double)Waste_Num; - } - double total_all = total_OK + total_NO + total_Waste; - All_totalList.Add(Math.Round(total_all / 1000, 2)); - - if (total_all > 0) - { - OK_L_List.Add(Math.Round((total_OK / total_all) * 100, 2)); - } - else - { - OK_L_List.Add(0); - } - - } - - sb.Append(""); - sb.Append(""); - sb.Append(""); - foreach (var item in titleList) - { - sb.Append(""); - } - sb.Append(""); - - sb.Append(""); - sb.Append(""); - foreach (var item in OK_L_List) - { - sb.Append(""); - } - sb.Append(""); - - sb.Append(""); - sb.Append(""); - foreach (var item in totalList) - { - sb.Append(""); - } - sb.Append(""); - - sb.Append(""); - sb.Append(""); - foreach (var item in All_totalList) - { - sb.Append(""); - } - sb.Append(""); - - sb.Append(""); - sb.Append(""); - foreach (var item in OK_L_List) - { - sb.Append(""); - } - sb.Append(""); - - sb.Append("
" + item + "
目标值98%
合格件耗用原料" + item + "
总耗用原料" + item + "
原料利用率" + item + "%
"); - } - return sb.ToString(); - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public EcharBarModel SearchMaterialAvailabilityMonthBar(string StartTime) - { - try - { - EcharBarModel md = new EcharBarModel(); - - - var p_info = ef.tb_Plastic.Where(p => p.Weight != null); - - DateTime sTime = Convert.ToDateTime(StartTime); - DataTable dt = dal.SearchByTime(sTime.Year + "-01-01", sTime.Year + "-12-31"); - - if (dt != null && dt.Rows.Count > 0) - { - - List titleList = new List(); - List totalList = new List(); - List No_totalList = new List(); - List OK_L_List = new List(); - List T_L_List = new List(); - for (int i = 0; i < 12; i++) - { - - DateTime startT = Convert.ToDateTime(sTime.Year + "-01-01"); - - titleList.Add((i + 1) + "月"); - - - int days = System.Threading.Thread.CurrentThread.CurrentUICulture.Calendar.GetDaysInMonth(startT.Year, (i + 1)); - - - string starTime = Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-01").ToString("yyyy-MM-dd"); - string entTime = Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-" + days).ToString("yyyy-MM-dd"); - - var listAddress = (from myRow in dt.AsEnumerable() - where myRow.Field(3).CompareTo(Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-01").ToString("yyyy-MM-dd")) >= 0 && - myRow.Field(3).CompareTo(Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-" + days).ToString("yyyy-MM-dd")) <= 0 - group myRow by new { StockNo = myRow.ItemArray[5] } into g - select new - { - StockNo = (string)g.Key.StockNo, - total_ok = g.Sum(c => (int)c.ItemArray[7]), - total_no = g.Sum(c => (int)c.ItemArray[8]) - }); - - double total_OK = 0; - double total_NO = 0; - foreach (var item in listAddress) - { - string stockNo = item.StockNo; - - var w_info = p_info.FirstOrDefault(p => p.StockNo.Equals(stockNo)); - if (w_info != null) - { - total_OK += (double)(w_info.Weight * item.total_ok); - total_NO += (double)(w_info.Weight * item.total_no); - } - } - totalList.Add(Math.Round(total_OK / 1000, 2)); - No_totalList.Add(Math.Round(total_NO / 1000, 2)); - - DateTime nsTime = Convert.ToDateTime(starTime + " 00:00:00"); - DateTime neTime = Convert.ToDateTime(entTime + " 23:59:59"); - var Waste_Num = ef.tb_Injection_Record.Where(p => p.RecordDate >= nsTime && p.RecordDate <= neTime).Sum(p => p.Waste_Weight); - double total_Waste = 0; - if (Waste_Num == null) - { - total_Waste = 0; - } - else - { - total_Waste = (double)Waste_Num; - } - double total_all = total_OK + total_NO + total_Waste; - - if (total_all > 0) - { - OK_L_List.Add(Math.Round((total_OK / total_all) * 100, 2)); - } - else - { - OK_L_List.Add(0); - } - - } - - foreach (var item in OK_L_List) - { - T_L_List.Add(98); - } - md.categories = titleList; - md.QualifiedData = OK_L_List; - md.TargetData = T_L_List; - - } - return md; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public List> SearchMaterialAvailabilityMonthForExcel(string StartTime) - { - try - { - List> list = new List>(); - - var p_info = ef.tb_Plastic.Where(p => p.Weight != null); - - DateTime sTime = Convert.ToDateTime(StartTime); - DataTable dt = dal.SearchByTime(sTime.Year + "-01-01", sTime.Year + "-12-31"); - - if (dt != null && dt.Rows.Count > 0) - { - - List titleList = new List(); - List totalList = new List(); - List No_totalList = new List(); - List All_totalList = new List(); - List OK_L_List = new List(); - for (int i = 0; i < 12; i++) - { - - DateTime startT = Convert.ToDateTime(sTime.Year + "-01-01"); - - titleList.Add((i + 1) + "月"); - - - int days = System.Threading.Thread.CurrentThread.CurrentUICulture.Calendar.GetDaysInMonth(startT.Year, (i + 1)); - - - string starTime = Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-01").ToString("yyyy-MM-dd"); - string entTime = Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-" + days).ToString("yyyy-MM-dd"); - - var listAddress = (from myRow in dt.AsEnumerable() - where myRow.Field(3).CompareTo(Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-01").ToString("yyyy-MM-dd")) >= 0 && - myRow.Field(3).CompareTo(Convert.ToDateTime(sTime.Year + "-" + (i + 1) + "-" + days).ToString("yyyy-MM-dd")) <= 0 - group myRow by new { StockNo = myRow.ItemArray[5] } into g - select new - { - StockNo = (string)g.Key.StockNo, - total_ok = g.Sum(c => (int)c.ItemArray[7]), - total_no = g.Sum(c => (int)c.ItemArray[8]) - }); - - double total_OK = 0; - double total_NO = 0; - foreach (var item in listAddress) - { - string stockNo = item.StockNo; - - var w_info = p_info.FirstOrDefault(p => p.StockNo.Equals(stockNo)); - if (w_info != null) - { - total_OK += (double)(w_info.Weight * item.total_ok); - total_NO += (double)(w_info.Weight * item.total_no); - } - } - totalList.Add(Math.Round(total_OK / 1000, 2)); - No_totalList.Add(Math.Round(total_NO / 1000, 2)); - - DateTime nsTime = Convert.ToDateTime(starTime + " 00:00:00"); - DateTime neTime = Convert.ToDateTime(entTime + " 23:59:59"); - var Waste_Num = ef.tb_Injection_Record.Where(p => p.RecordDate >= nsTime && p.RecordDate <= neTime).Sum(p => p.Waste_Weight); - double total_Waste = 0; - if (Waste_Num == null) - { - total_Waste = 0; - } - else - { - total_Waste = (double)Waste_Num; - } - double total_all = total_OK + total_NO + total_Waste; - All_totalList.Add(Math.Round(total_all / 1000, 2)); - - if (total_all > 0) - { - OK_L_List.Add(Math.Round((total_OK / total_all) * 100, 2)); - } - else - { - OK_L_List.Add(0); - } - - } - - List title_ = new List(); - - title_.Add(""); - title_.AddRange(titleList); - list.Add(title_); - - List tag_L_ = new List(); - tag_L_.Add("目标值"); - foreach (var item in OK_L_List) - { - tag_L_.Add("98%"); - } - list.Add(tag_L_); - - - List total_ = new List(); - total_.Add("合格件耗用原料"); - foreach (var item in totalList) - { - total_.Add(item.ToString()); - } - list.Add(total_); - - - - List No_total_ = new List(); - No_total_.Add("总耗用原料"); - foreach (var item in All_totalList) - { - No_total_.Add(item.ToString()); - } - list.Add(No_total_); - - List OK_L_ = new List(); - OK_L_.Add("原料利用率"); - foreach (var item in OK_L_List) - { - OK_L_.Add(item.ToString() + "%"); - } - list.Add(OK_L_); - } - return list; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - - } - #endregion - - #region 注塑生产记录表 - public string SearchProductInjectionRecord(string StartTime, string EndTime) - { - var defectList = ef.tb_Defect.ToList(); - var defectInfo = defectList.Where(p => p.LineID.Equals(defectList.FirstOrDefault().LineID)).OrderBy(p => p.DefectName).Select(p => p.DefectName).ToList(); - - var DownReasonList = ef.tb_Inhection_DownReason.OrderBy(p => p.Reason).Select(p => p.Reason).ToList(); - - DataTable dt = dal.SearchProductInjectionRecord(Convert.ToDateTime(StartTime).ToString("yyyy-MM-dd"), Convert.ToDateTime(EndTime).ToString("yyyy-MM-dd")); - DataTable dt2 = dal.SearchProductInjectionRecordBadReason(Convert.ToDateTime(StartTime).ToString("yyyy-MM-dd"), Convert.ToDateTime(EndTime).ToString("yyyy-MM-dd")); - - List list = Tool.ConvertTo(dt2).ToList(); - - - DataTable dt3 = dal.SearchProductInjectionRecordDownReason(Convert.ToDateTime(StartTime).ToString("yyyy-MM-dd"), Convert.ToDateTime(EndTime).ToString("yyyy-MM-dd")); - - List list3 = Tool.ConvertTo(dt3).ToList(); - - - - StringBuilder sb = new StringBuilder(100); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - sb.Append(""); - - //sb.Append(""); - //sb.Append(""); - //sb.Append(""); - //sb.Append(""); - //sb.Append(""); - //sb.Append(""); - //sb.Append(""); - //sb.Append(""); - //sb.Append(""); - //sb.Append(""); - //sb.Append(""); - //sb.Append(""); - //sb.Append(""); - sb.Append(""); - //sb.Append(""); - //foreach (var item in defectInfo) - //{ - // sb.Append(""); - //} - //sb.Append(""); - //sb.Append(""); - //sb.Append(""); - //sb.Append(""); - //sb.Append(""); - //foreach (var item in DownReasonList) - //{ - // sb.Append(""); - //} - //sb.Append(""); - try - { - if (dt != null && dt.Rows.Count > 0) - { - for (int i = 0; i < dt.Rows.Count; i++) - { - sb.Append(""); - sb.Append("");//生产日期 - sb.Append("");//班次 - sb.Append("");//注塑机台 - sb.Append("");//取模 - sb.Append("");//厂商 - decimal cycle_Time = dt.Rows[i]["CycleTime"] == DBNull.Value ? 0 : Convert.ToDecimal(dt.Rows[i]["CycleTime"]); - sb.Append("");//周期 - sb.Append("");//原料号 - sb.Append("");//新零件号编码 - sb.Append("");//产品性质 - sb.Append("");//原料名称 - - decimal real_Cycle = dt.Rows[i]["RealCycle"] == DBNull.Value ? 0 : Convert.ToDecimal(dt.Rows[i]["RealCycle"]); - decimal product_count = dt.Rows[i]["ProductCount"] == DBNull.Value ? 0 : Convert.ToDecimal(dt.Rows[i]["ProductCount"]); - decimal market_count = dt.Rows[i]["MarketCount"] == DBNull.Value ? 0 : Convert.ToDecimal(dt.Rows[i]["MarketCount"]); - decimal bad_count = dt.Rows[i]["BadCount"] == DBNull.Value ? 0 : Convert.ToDecimal(dt.Rows[i]["BadCount"]); - decimal weight = dt.Rows[i]["Weight"] == DBNull.Value ? 0 : Convert.ToDecimal(dt.Rows[i]["Weight"]); - decimal plan_count = dt.Rows[i]["PlanCount"] == DBNull.Value ? 0 : Convert.ToDecimal(dt.Rows[i]["PlanCount"]); - - sb.Append("");//生产数量(合格数量+市场件数+不良总数) - sb.Append("");//合格数量 - sb.Append("");//市场件数 - sb.Append("");//调试不良 - sb.Append("");//生产不良 - sb.Append("");//开机不良 - sb.Append("");//奔驰前十模报废 - sb.Append("");//不良总数 - sb.Append("");//前十模 + 不良总数量之和 - decimal ok_num = 0; - if ((product_count + bad_count) == 0) - { - sb.Append("");//合格率(总合格数/(总合格数+不良数)) - sb.Append("");//不良率 - } - else - { - ok_num = Math.Round((product_count + market_count / (product_count + market_count + bad_count)) * 100, 2); - sb.Append("");//合格率(总合格数/(总合格数+不良数)) - sb.Append("");//不良率 - } - - - var listR = list3.Where(p => p.DownTypeName != null && p.PlanID.Equals(dt.Rows[i]["PlanID"])).ToList(); - - long x = listR.Where(p => p.DownTypeName.Contains("计划停机")).Sum(p => p.DownTime); - long x1 = listR.Where(p => p.DownTypeName.Contains("换模时间")).Sum(p => p.DownTime); - //TODO 要合并单元格 - //sb.Append(""); - //sb.Append(""); - //sb.Append("");//产出工时(计划数量*实际周期/60) - - var stopTime = (listR.Where(p => p.DownTypeName.Contains("非计划停机")).Sum(p => p.DownTime) + listR.Where(p => p.DownTypeName.Contains("计划停机")).Sum(p => p.DownTime)); - decimal pTime = (24 * 60 - stopTime); - sb.Append("");//生产时间 - sb.Append("");//停机时间 - - sb.Append("");//机台利用率 - sb.Append("");//OEE - sb.Append(""); - sb.Append(""); - - - decimal OneWeight = dt.Rows[i]["OneWeight"] == DBNull.Value ? 0 : Convert.ToDecimal(dt.Rows[i]["OneWeight"]); - decimal Weight = dt.Rows[i]["Weight"] == DBNull.Value ? 0 : Convert.ToDecimal(dt.Rows[i]["Weight"]); - - - - sb.Append("");//单品净重 - sb.Append("");//塑件毛重 - sb.Append("");//料棒重量 - sb.Append("");//物料使用 还要减去机头料 - sb.Append("");//机头料(kg) - sb.Append("");//料棒/浇口(kg) - sb.Append("");//不良品(kg) - sb.Append("");//奔驰前十模使用原料 - sb.Append("");//回料(kg) - - - //sb.Append("");//开机时间 - //sb.Append("");//关机时间 - //sb.Append("");//产品名称 - //sb.Append("");//标准开机时间 - //sb.Append("");//实际周期 - //sb.Append("");//计划数量 - //sb.Append("");//总合格数量 - //sb.Append("");//不良数量 - //for (int k = 0; k < defectInfo.Count; k++) - //{ - // sb.Append(""); - //} - //sb.Append("");//产品毛重(总合格数量+不良数量)*产品毛重 - //sb.Append("");//废料块 - //sb.Append("");//浇口重量 - //sb.Append("");//产品耗用原料 - - //if (plan_count == 0) - //{ - // sb.Append("");//完成率 - //} - //else - //{ - - // sb.Append("");//完成率(总合格数/计划数) - //} - - //sb.Append("");//计划工时(计划数量*标准周期/60) - - - - - //sb.Append("");//计划停机+换模时间 - //sb.Append(""); - //sb.Append(""); - //sb.Append(""); - //sb.Append(""); - //sb.Append(""); - - //for (int k = 0; k < DownReasonList.Count; k++) - //{ - // sb.Append(""); - //} - sb.Append(""); - } - } - } - catch (Exception ex) - { - throw; - } - - sb.Append("
生产日期班别机台模取厂商周期(S)物料号新零件号编码产品性质物料名称生产数量合格数量市场件数量调试不良生产不良开机不良奔驰前十模报废不良总数量前十模+不良总数量之和合格率不良率生产时间(min)机台利用率OEE原料物料号原料名称单品净重(kg)塑件毛重(kg)料棒重量(kg)物料使用(kg)机头料(kg)料棒/浇口(kg)不良品(kg)奔驰前十模使用原料回料(kg)不良原因产品毛重废料块浇口重量产品耗用原料合格率完成率计划工时产出工时停机时间换膜计划停机停机原因
" + item + "计划停机+换模时间非计划停机换膜交班接班" + item + "
" + dt.Rows[i]["ProductDate"] + "" + dt.Rows[i]["ClassName"].ToString() + "" + dt.Rows[i]["StationNo"] + "" + dt.Rows[i]["IsOneMore"] + "" + dt.Rows[i]["ManufacturerName"] + "" + cycle_Time + "" + dt.Rows[i]["BatchNo"] + "" + dt.Rows[i]["PartNo"] + "正常" + dt.Rows[i]["MaterialName"] + "" + (product_count + market_count + bad_count) + "" + product_count + "" + market_count + "" + bad_count + "0%0%" + ok_num + "%" + (100 - ok_num) + "%" + listR.Where(p => p.DownTypeName.Contains("非计划停机")).Sum(p => p.DownTime) + "" + listR.Where(p => p.DownTypeName.Contains("计划停机")).Sum(p => p.DownTime) + "" + Math.Round((plan_count * real_Cycle) / 60, 2) + "" + pTime + "" + stopTime + "" + Math.Round((pTime / 1440) * 100, 2) + "" + (pTime / 1440) * ok_num + "原料物料号原料名称" + OneWeight + "" + Weight + "" + (Weight - OneWeight) + "" + (Weight * (product_count + market_count + bad_count)) + "机头料(kg)" + (Weight - OneWeight) * (product_count + market_count + bad_count) + "" + (OneWeight * bad_count) + "奔驰前十模使用原料回料(kg)" + dt.Rows[i]["BeginTime"] + "" + dt.Rows[i]["EndTime"] + "" + dt.Rows[i]["ProductName"] + "" + dt.Rows[i]["OpenDebugTime"] + "" + real_Cycle + "" + dt.Rows[i]["PlanCount"] + "" + (product_count + bad_count + list.Where(p => "开机报废;".Equals(p.BadReason)).Count()) + "" + dt.Rows[i]["BadCount"] + "" + list.Where(p => p.BadReason.Equals(defectInfo[k] + ";")).Count() + "" + dt.Rows[i]["Weight"] + "" + dt.Rows[i]["Waste_Weight"] + "" + dt.Rows[i]["JK_Weight"] + "" + (product_count + bad_count) * weight + "0%" + Math.Round((product_count / plan_count) * 100, 2) + "%" + Math.Round((plan_count * cycle_Time) / 60, 2) + "" + (x + x1) + "" + listR.Where(p => p.DownTypeName.Contains("非计划停机")).Sum(p => p.DownTime) + "" + listR.Where(p => p.DownTypeName.Contains("换模")).Sum(p => p.DownTime) + "" + listR.Where(p => p.DownTypeName.Contains("交班")).Sum(p => p.DownTime) + "" + listR.Where(p => p.DownTypeName.Contains("接班")).Sum(p => p.DownTime) + "" + listR.Where(p => p.DownTypeName.Contains("计划停机")).Sum(p => p.DownTime) + "" + list3.Where(p => p.Reason != null && p.PlanID.Equals(dt.Rows[i]["PlanID"]) && p.Reason.Contains(DownReasonList[k])).Sum(p => p.DownTime) + "
"); - - return sb.ToString(); - } - - private string CheckWorkClass(string StartTime) - { - - try - { - if (true) - { - string time = StartTime.Substring(0, StartTime.IndexOf(" ")); - if (DateTime.Compare(Convert.ToDateTime(StartTime), Convert.ToDateTime(time + " 08:00:00")) > 0 && DateTime.Compare(Convert.ToDateTime(time + " 19:59:59"), Convert.ToDateTime(StartTime)) > 0) - { - return "A"; - } - return "B"; - - } - - } - catch (Exception ex) - { - - } - - return ""; - } - - public List> SearchProductInjectionRecordForExcel(string StartTime, string EndTime) - { - List> listExcel = new List>(); - - var defectList = ef.tb_Defect.ToList(); - var defectInfo = defectList.Where(p => p.LineID.Equals(defectList.FirstOrDefault().LineID)).OrderBy(p => p.DefectName).Select(p => p.DefectName).ToList(); - - var DownReasonList = ef.tb_Inhection_DownReason.OrderBy(p => p.Reason).Select(p => p.Reason).ToList(); - - DataTable dt = dal.SearchProductInjectionRecord(Convert.ToDateTime(StartTime).ToString("yyyy-MM-dd"), Convert.ToDateTime(EndTime).ToString("yyyy-MM-dd")); - DataTable dt2 = dal.SearchProductInjectionRecordBadReason(Convert.ToDateTime(StartTime).ToString("yyyy-MM-dd"), Convert.ToDateTime(EndTime).ToString("yyyy-MM-dd")); - - List list = Tool.ConvertTo(dt2).ToList(); - - - DataTable dt3 = dal.SearchProductInjectionRecordDownReason(Convert.ToDateTime(StartTime).ToString("yyyy-MM-dd"), Convert.ToDateTime(EndTime).ToString("yyyy-MM-dd")); - - List list3 = Tool.ConvertTo(dt3).ToList(); - - - List titleList = new List(); - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - - foreach (var item in defectInfo) - { - titleList.Add("不良原因"); - } - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - titleList.Add(""); - - titleList.Add("停机时间"); - titleList.Add("停机时间"); - - titleList.Add("换膜"); - titleList.Add("换膜"); - titleList.Add("换膜"); - - titleList.Add(""); - foreach (var item in DownReasonList) - { - titleList.Add("停机原因"); - } - - - listExcel.Add(titleList); - - List titleList2 = new List(); - titleList2.Add("日期"); - titleList2.Add("班次"); - titleList2.Add("注塑机台"); - titleList2.Add("开机时间"); - titleList2.Add("关机时间"); - titleList2.Add("产品性质"); - titleList2.Add("产品名称"); - titleList2.Add("原料名称"); - titleList2.Add("原料批次号"); - titleList2.Add("标准开机时间"); - titleList2.Add("标准周期"); - titleList2.Add("实际周期"); - titleList2.Add("计划数量"); - titleList2.Add("合格数量"); - titleList2.Add("总合格数量"); - titleList2.Add("不良数量"); - foreach (var item in defectInfo) - { - titleList2.Add(item); - } - titleList2.Add("产品毛重"); - titleList2.Add("废料块"); - titleList2.Add("浇口重量"); - titleList2.Add("产品耗用原料"); - titleList2.Add("合格率"); - titleList2.Add("完成率"); - titleList2.Add("计划工时"); - titleList2.Add("产出工时"); - - titleList2.Add("计划停机+换模时间"); - titleList2.Add("非计划停机"); - titleList2.Add("换膜"); - titleList2.Add("交班"); - titleList2.Add("接班"); - titleList2.Add("计划停机"); - foreach (var item in DownReasonList) - { - titleList2.Add(item); - } - listExcel.Add(titleList2); - - - if (dt != null && dt.Rows.Count > 0) - { - - for (int i = 0; i < dt.Rows.Count; i++) - { - List conList = new List(); - conList.Add(dt.Rows[i]["ProductDate"].ToString()); - conList.Add(dt.Rows[i]["ClassName"].ToString()); - conList.Add(dt.Rows[i]["StationNo"].ToString()); - conList.Add(dt.Rows[i]["BeginTime"].ToString()); - conList.Add(dt.Rows[i]["EndTime"].ToString()); - conList.Add("正常"); - conList.Add(dt.Rows[i]["ProductName"].ToString()); - conList.Add(dt.Rows[i]["MaterialName"].ToString()); - conList.Add(dt.Rows[i]["BatchNo"].ToString()); - conList.Add(dt.Rows[i]["OpenDebugTime"].ToString()); - - decimal cycle_Time = dt.Rows[i]["CycleTime"] == DBNull.Value ? 0 : Convert.ToDecimal(dt.Rows[i]["CycleTime"]); - - conList.Add(cycle_Time.ToString()); - - decimal real_Cycle = dt.Rows[i]["RealCycle"] == DBNull.Value ? 0 : Convert.ToDecimal(dt.Rows[i]["RealCycle"]); - - decimal product_count = dt.Rows[i]["ProductCount"] == DBNull.Value ? 0 : Convert.ToDecimal(dt.Rows[i]["ProductCount"]); - decimal bad_count = dt.Rows[i]["BadCount"] == DBNull.Value ? 0 : Convert.ToDecimal(dt.Rows[i]["BadCount"]); - decimal weight = dt.Rows[i]["Weight"] == DBNull.Value ? 0 : Convert.ToDecimal(dt.Rows[i]["Weight"]); - decimal plan_count = dt.Rows[i]["PlanCount"] == DBNull.Value ? 0 : Convert.ToDecimal(dt.Rows[i]["PlanCount"]); - decimal openFailCount = 0; - conList.Add(real_Cycle.ToString()); - conList.Add(dt.Rows[i]["PlanCount"].ToString()); - conList.Add(product_count.ToString()); - conList.Add((product_count + bad_count + defectInfo.Where(p => "开机报废".Equals(p)).Count()).ToString()); - conList.Add(dt.Rows[i]["BadCount"].ToString()); - - for (int k = 0; k < defectInfo.Count; k++) - { - conList.Add(list.Where(p => p.BadReason.Equals(defectInfo[k] + ";")).Count().ToString()); - } - conList.Add(dt.Rows[i]["Weight"].ToString()); - conList.Add(dt.Rows[i]["Waste_Weight"].ToString()); - conList.Add(dt.Rows[i]["JK_Weight"].ToString()); - - - - - - conList.Add(((product_count + bad_count) * weight).ToString()); - - if ((product_count + bad_count) == 0) - { - - conList.Add("0%"); - } - else - { - conList.Add((Math.Round((product_count / (product_count + bad_count)) * 100, 2)).ToString()); - - } - if (plan_count == 0) - { - conList.Add("0%"); - } - else - { - conList.Add((Math.Round((product_count / plan_count) * 100, 2)).ToString()); - } - conList.Add((Math.Round((plan_count * cycle_Time) / 60, 2)).ToString()); - conList.Add((Math.Round((plan_count * real_Cycle) / 60, 2)).ToString()); - - - var listR = list3.Where(p => p.DownTypeName != null && p.PlanID.Equals(dt.Rows[i]["PlanID"])).ToList(); - - long x = listR.Where(p => p.DownTypeName.Contains("计划停机")).Sum(p => p.DownTime); - long x1 = listR.Where(p => p.DownTypeName.Contains("换模时间")).Sum(p => p.DownTime); - - conList.Add((x + x1).ToString()); - conList.Add((listR.Where(p => p.DownTypeName.Contains("非计划停机")).Sum(p => p.DownTime)).ToString()); - conList.Add((listR.Where(p => p.DownTypeName.Contains("换模")).Sum(p => p.DownTime)).ToString()); - conList.Add((listR.Where(p => p.DownTypeName.Contains("交班")).Sum(p => p.DownTime)).ToString()); - conList.Add((listR.Where(p => p.DownTypeName.Contains("接班")).Sum(p => p.DownTime)).ToString()); - conList.Add((listR.Where(p => p.DownTypeName.Contains("计划停机")).Sum(p => p.DownTime)).ToString()); - - for (int k = 0; k < DownReasonList.Count; k++) - { - conList.Add((list3.Where(p => p.Reason != null && p.PlanID.Equals(dt.Rows[i]["PlanID"]) && p.Reason.Contains(DownReasonList[k])).Sum(p => p.DownTime)).ToString()); - } - listExcel.Add(conList); - } - - } - - - - return listExcel; - } - #endregion - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Injection/PLCBreakBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Injection/PLCBreakBLL.cs deleted file mode 100644 index 658541c..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Injection/PLCBreakBLL.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL; -using MESClassLibrary.DAL.Injection; - -namespace MESClassLibrary.BLL.Injection -{ - public class PLCBreakBLL - { - PLCBreakDAL da = new PLCBreakDAL(); - - public DataTable SearchBreak() - { - try - { - return da.SearchBreak(); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Injection/PLCMouldBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Injection/PLCMouldBLL.cs deleted file mode 100644 index 0031e15..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Injection/PLCMouldBLL.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL; - -namespace MESClassLibrary.BLL.Injection -{ - public class PLCMouldBLL - { - PLCMouldDAL da=new PLCMouldDAL(); - - public DataTable SearchMould() - { - try - { - return da.SearchMould(); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Inspection/CommonlyInspectionBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Inspection/CommonlyInspectionBLL.cs deleted file mode 100644 index 674f45b..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Inspection/CommonlyInspectionBLL.cs +++ /dev/null @@ -1,605 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.Inspection -{ - public class CommonlyInspectionBLL - { - BasicBLL db = new BasicBLL(); - /// - /// 查询信息 - /// - /// - public string SearchInfo(string versionID, string checkDate) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - List list = null; - list = db.SearchInfoByKey("IsUseing", 1).Where(p => p.VersionID.Equals(versionID)).ToList(); - if (list.Count > 0) - { - BasicBLL CheckItem_db = new BasicBLL(); - var CheckItemList = CheckItem_db.SearchAllInfo().ToList(); - - List CommonlyInspectionList = new List(); - foreach (var item in list) - { - CommonlyInspectionModel dm = Tool.Mapper(item); - dm.InspectionContent = CheckItemList.FirstOrDefault(p => p.ID == item.InspectionContentID).CheckContent; - CommonlyInspectionList.Add(dm); - } - - jsonStr = JSONTools.ScriptSerialize>(CommonlyInspectionList); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - - } - /// - /// 添加信息 - /// - /// - public bool AddInfo(string CommonlyInspection, string CheckUserID, string ConfirmUserID, string UserID, string CheckDate, string CheckType, string ErrMes) - { - try - { - BasicBLL Recorddb = new BasicBLL(); - DateTime dtime = DateTime.Now; - DateTime checktime = Convert.ToDateTime(CheckDate); - string[] arr = CommonlyInspection.Split(new Char[] { ',' }, StringSplitOptions.RemoveEmptyEntries); - for (int i = 0; i < arr.Length - 1; i++) - { - int index = arr[i].IndexOf(":"); - tb_CommonlyInspectionRecord md = new tb_CommonlyInspectionRecord(); - md.ID = Guid.NewGuid().ToString(); - md.CommonlyInspectionID = arr[i].Substring(0, index); - md.CheckResult = arr[i].Substring(index + 1, arr[i].Length - index - 1); - md.CheckUser = CheckUserID; - md.ConfirmUser = CheckUserID; - md.CreateUserID = UserID; - md.CheckDate = checktime; - md.CheckType = CheckType; - md.ErrMes = ErrMes; - md.ConfirmUserDate = dtime; - md.CreateTime = dtime; - md.IsUseing = 1; - Recorddb.AddInfo(md); - } - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - public bool UpdateInfo(string CommonlyInspection, string CheckUserID, string ConfirmUserID, string UserID, string CheckDate, string CheckType, string ErrMes) - { - try - { - string[] proNames = new string[9]; - proNames[0] = "CheckResult"; - proNames[1] = "CheckUser"; - proNames[2] = "CheckDate"; - proNames[3] = "ConfirmUser"; - proNames[4] = "ConfirmUserDate"; - proNames[5] = "UpdateUserID"; - proNames[6] = "UpdateTime"; - proNames[7] = "CheckType"; - proNames[8] = "ErrMes"; - - BasicBLL Recorddb = new BasicBLL(); - DateTime dtime = DateTime.Now; - DateTime checktime = Convert.ToDateTime(CheckDate); - string[] arr = CommonlyInspection.Split(new Char[] { ',' }, StringSplitOptions.RemoveEmptyEntries); - for (int i = 0; i < arr.Length - 3; i++) - { - int index = arr[i].IndexOf(":"); - tb_CommonlyInspectionRecord md = new tb_CommonlyInspectionRecord(); - md.ID = arr[i].Substring(0, index); - md.CheckResult = arr[i].Substring(index + 1, arr[i].Length - index - 1); - md.CheckUser = CheckUserID; - md.CheckDate = checktime; - md.CheckType = CheckType; - md.ErrMes = ErrMes; - md.ConfirmUser = ConfirmUserID; - md.ConfirmUserDate = dtime; - md.UpdateUserID = UserID; - md.UpdateTime = dtime; - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - md.CreateUserID = ""; - md.CommonlyInspectionID = ""; - Recorddb.UpdateInfo(md, proNames); - } - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - public string GetDate(string VersionID, string CheckDate, string CheckType) - { - try - { - string str = ""; - string CheckUserID = ""; - string ConfirmUserID = ""; - string ErrMes = ""; - BasicBLL db = new BasicBLL(); - string jsonStr = "[]"; - List list = null; - - list = db.SearchInfoByKey("IsUseing", 1).Where(p => p.VersionID.Equals(VersionID)).ToList(); - if (list.Count > 0) - { - BasicBLL CheckItem_db = new BasicBLL(); - var CheckItemList = CheckItem_db.SearchAllInfo().ToList(); - - string[] arr_id = list.Select(s => s.ID).ToArray(); - BasicBLL CommonlyInspectionRecord_db = new BasicBLL(); - var _info = CommonlyInspectionRecord_db.SearchInfoByKey("CheckDate", Convert.ToDateTime(CheckDate)).Where(p => arr_id.Contains(p.CommonlyInspectionID) && p.CheckType.Equals(CheckType)).ToList(); - if (_info.Count > 0) - { - #region 修改 - List CommonlyInspectionList = new List(); - foreach (var item in list) - { - CommonlyInspectionModel dm = Tool.Mapper(item); - dm.InspectionContent = CheckItemList.FirstOrDefault(p => p.ID.Equals(item.InspectionContentID)).CheckContent; - CommonlyInspectionList.Add(dm); - } - str = ""; - str += ""; - str += ""; - str += ""; - str += ""; - - for (int j = 0; j < CommonlyInspectionList.Count; j++) - { - str += ""; - str += ""; - - var R_info = _info.FirstOrDefault(p => p.CommonlyInspectionID == CommonlyInspectionList[j].ID); - CheckUserID = R_info.CheckUser; - ConfirmUserID = R_info.ConfirmUser; - ErrMes = R_info.ErrMes; - switch (R_info.CheckResult) - { - case "0": - str += ""; - break; - case "1": - str += ""; - break; - case "2": - str += ""; - break; - case "3": - str += ""; - break; - case "4": - str += ""; - break; - } - str += ""; - } - str += ""; - str += ""; - str += ""; - str += ""; - str += "
点检内容检查结果
" + CommonlyInspectionList[j].InspectionContent + "
异常情况描述
"; - str += ""; - str += ""; - str += ""; - - #endregion - } - else - { - #region 新增 - List CommonlyInspectionList = new List(); - foreach (var item in list) - { - CommonlyInspectionModel dm = Tool.Mapper(item); - dm.InspectionContent = CheckItemList.FirstOrDefault(p => p.ID.Equals(item.InspectionContentID)).CheckContent; - CommonlyInspectionList.Add(dm); - } - str = ""; - str += ""; - str += ""; - str += ""; - str += ""; - for (int j = 0; j < CommonlyInspectionList.Count; j++) - { - str += ""; - str += ""; - str += ""; - - - str += ""; - } - str += ""; - str += ""; - str += ""; - str += ""; - str += "
点检内容检查结果
" + CommonlyInspectionList[j].InspectionContent + "" + - "
异常情况描述
"; - str += ""; - #endregion - } - } - return str; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - } - public string GetReportDate(string VersionID, string CheckDate) - { - try - { - string str = ""; - - List ErrMesList = new List(); - - - BasicBLL dbUser = new BasicBLL(); - BasicBLL db = new BasicBLL(); - string jsonStr = "[]"; - List list = null; - list = db.SearchInfoByKey("IsUseing", 1).Where(p => p.VersionID.Equals(VersionID)).ToList(); - - if (list.Count > 0) - { - BasicBLL CheckItem_db = new BasicBLL(); - var CheckItemList = CheckItem_db.SearchAllInfo().ToList(); - - string[] arr_id = list.Select(s => s.ID).ToArray(); - BasicBLL CommonlyInspectionRecord_db = new BasicBLL(); - - DateTime StartTime = Convert.ToDateTime(CheckDate + "-01 00:00:00"); - DateTime EndTime = StartTime.AddMonths(1); - - int daynum = GetDays(Convert.ToInt32(CheckDate.Substring(0, 4)), Convert.ToInt32(CheckDate.Substring(5, 2))); - - - var _info = CommonlyInspectionRecord_db.SearchInfoByKey("IsUseing", 1).Where(p => p.CheckDate >= StartTime && p.CheckDate < EndTime && arr_id.Contains(p.CommonlyInspectionID)).ToList(); - var userList = dbUser.SearchAllInfo().ToList(); - if (_info.Count > 0) - { - #region 有记录 - List CommonlyInspectionList = new List(); - foreach (var item in list) - { - CommonlyInspectionModel dm = Tool.Mapper(item); - var IC_info = CheckItemList.FirstOrDefault(p => p.ID.Equals(item.InspectionContentID)); - if (IC_info != null) - { - dm.InspectionContent = IC_info.CheckContent; - dm.Standard = IC_info.Standard; - dm.Way = IC_info.Way; - dm.Cycle = IC_info.Cycle; - CommonlyInspectionList.Add(dm); - } - - } - str = ""; - str += ""; - str += ""; - str += ""; - str += ""; - str += ""; - str += ""; - for (int i = 1; i <= daynum; i++) - { - str += ""; - } - - str += ""; - var info = CommonlyInspectionList.ToList(); - for (int j = 0; j < info.Count; j++) - { - - str += ""; - str += ""; - str += ""; - str += ""; - str += ""; - str += ""; - var R_info = _info.Where(p => p.CommonlyInspectionID == info[j].ID); - - for (int k = 1; k <= daynum; k++) - { - - DateTime dtime = StartTime.AddDays(k - 1); - var info_R = R_info.FirstOrDefault(p => p.CheckDate == dtime && p.CheckType.Equals("0")); - string CheckResult = ""; - if (info_R != null) - { - if (!String.IsNullOrEmpty(info_R.ErrMes) && !ErrMesList.Contains(dtime.ToString("yyyy-MM-dd") + ":" + info_R.ErrMes)) - { - ErrMesList.Add(dtime.ToString("yyyy-MM-dd") + ":" + info_R.ErrMes); - } - - //select - switch (info_R.CheckResult) - { - case "0": - CheckResult = "▲"; - break; - case "1": - CheckResult = "√"; - break; - case "2": - CheckResult = "◎"; - break; - case "3": - CheckResult = "X"; - break; - case "4": - CheckResult = "☆"; - break; - } - } - str += ""; - } - - str += ""; - - - str += ""; - for (int k = 1; k <= daynum; k++) - { - DateTime dtime = StartTime.AddDays(k - 1); - var info_R = R_info.FirstOrDefault(p => p.CheckDate == dtime && p.CheckType.Equals("1")); - string CheckResult = ""; - if (info_R != null) - { - //是否有异常记录并且没有加入到列表中 - if (!String.IsNullOrEmpty(info_R.ErrMes) && !ErrMesList.Contains(dtime.ToString("yyyy-MM-dd") + ":" + info_R.ErrMes)) - { - ErrMesList.Add(dtime.ToString("yyyy-MM-dd") + ":" + info_R.ErrMes); - } - - switch (info_R.CheckResult) - { - case "0": - CheckResult = "▲"; - break; - case "1": - CheckResult = "√"; - break; - case "2": - CheckResult = "◎"; - break; - case "3": - CheckResult = "X"; - break; - case "4": - CheckResult = "☆"; - break; - } - } - str += ""; - } - - str += ""; - - } - - str += ""; - str += ""; - str += ""; - for (int i = 1; i <= daynum; i++) - { - DateTime dtime = StartTime.AddDays(i - 1); - var infoUser = _info.FirstOrDefault(p => p.CheckDate == dtime); - if (infoUser != null) - { - str += ""; - } - else - { - str += ""; - } - } - str += ""; - - str += ""; - //str += ""; - str += ""; - for (int i = 1; i <= daynum; i++) - { - DateTime dtime = StartTime.AddDays(i - 1); - var infoUser = _info.FirstOrDefault(p => p.CheckDate == dtime); - if (infoUser != null) - { - str += ""; - } - else - { - str += ""; - } - } - str += ""; - - str += ""; - //str += ""; - str += ""; - for (int i = 1; i <= daynum; i++) - { - DateTime dtime = StartTime.AddDays(i - 1); - var infoUser = _info.FirstOrDefault(p => p.CheckDate == dtime); - if (infoUser != null) - { - str += ""; - } - else - { - str += ""; - } - } - str += ""; - - str += ""; - //str += ""; - str += ""; - for (int i = 1; i <= daynum; i++) - { - DateTime dtime = StartTime.AddDays(i - 1); - var infoUser = _info.FirstOrDefault(p => p.CheckDate == dtime); - if (infoUser != null) - { - str += ""; - } - else - { - str += ""; - } - } - str += ""; - str += "
序号点检内容点检标准点检方法点检周期" + i + "
" + (j + 1).ToString() + "" + info[j].InspectionContent + "" + info[j].Standard + "" + info[j].Way + "" + info[j].Cycle + "" + CheckResult + "
" + CheckResult + "
日点检确认点检人(白 班)确认签名" + userList.FirstOrDefault(p => p.UserID.ToString().ToUpper().Equals(infoUser.CheckUser.ToUpper())).RealName + "
日点检确认点检人(夜 班)确认签名" + userList.FirstOrDefault(p => p.UserID.ToString().ToUpper().Equals(infoUser.CheckUser.ToUpper())).RealName + "
日点检确认点检人(白班班长)确认签名" + userList.FirstOrDefault(p => p.UserID.ToString().ToUpper().Equals(infoUser.ConfirmUser.ToUpper())).RealName + "
日点检确认点检人(夜班班长)确认签名" + userList.FirstOrDefault(p => p.UserID.ToString().ToUpper().Equals(infoUser.ConfirmUser.ToUpper())).RealName + "
"; - - if (ErrMesList.Count > 0) - { - #region 异常情况描述 - str += ""; - str += ""; - str += ""; - str += ""; - str += ""; - str += ""; - for (int i = 1; i < ErrMesList.Count; i++) - { - str += ""; - str += ""; - str += ""; - } - str += "
异常情况描述" + ErrMesList[0] + "
" + ErrMesList[i] + "
"; - #endregion - } - - - - #endregion - } - else - { - #region 无记录 - List CommonlyInspectionList = new List(); - foreach (var item in list) - { - CommonlyInspectionModel dm = Tool.Mapper(item); - var IC_info = CheckItemList.FirstOrDefault(p => p.ID.Equals(item.InspectionContentID)); - if (IC_info != null) - { - dm.InspectionContent = IC_info.CheckContent; - CommonlyInspectionList.Add(dm); - } - } - str = ""; - str += ""; - str += ""; - str += ""; - for (int i = 1; i <= daynum; i++) - { - str += ""; - } - - str += ""; - var info = CommonlyInspectionList.ToList(); - for (int j = 0; j < info.Count; j++) - { - str += ""; - str += ""; - str += ""; - for (int k = 1; k <= daynum; k++) - { - str += ""; - } - str += ""; - str += ""; - for (int k = 1; k <= daynum; k++) - { - str += ""; - } - str += ""; - } - - #endregion - - } - } - return str; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - } - public static int GetDays(int year, int month) - { - int days = 0; - if (month != 2) - { - switch (month) - { - case 1: - case 3: - case 5: - case 7: - case 8: - case 10: - case 12: - days = 31; - break; - case 4: - case 6: - case 9: - case 11: - days = 30; break; - } - } - else - { - // 闰年 - if (year % 4 == 0 && year % 100 != 0 || year % 400 == 0) - days = 29; - else - days = 28; - } - return days; - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Inspection/CommonlyInspectionVersionBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Inspection/CommonlyInspectionVersionBLL.cs deleted file mode 100644 index b1bac7c..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Inspection/CommonlyInspectionVersionBLL.cs +++ /dev/null @@ -1,208 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.Inspection -{ - public class CommonlyInspectionVersionBLL - { - BasicBLL db = new BasicBLL(); - /// - /// 查询信息 - /// - /// - public string SearchInfo(string page, string pagesize,string deviceID) - { - try - { - - BasicBLL station_db = new BasicBLL(); - BasicBLL device_db = new BasicBLL(); - - var station_list = station_db.SearchAllInfo().ToList(); - var device_list = device_db.SearchAllInfo().ToList(); - - - string jsonStr = "[]"; - int total = 0;//总行数 - List list = null; - - list = db.SearchAllInfo().ToList(); - - - if (deviceID != "") - { - list = list.Where(p => p.DeviceID.Equals(deviceID)).ToList(); - } - - List CommonlyInspectionVersionList = new List(); - if (list.Count > 0) - { - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - total = list.Count; - - #region 联查 - - - foreach (var item in list) - { - CommonlyInspectionVersionModel dm = Tool.Mapper(item); - var info = device_list.FirstOrDefault(p => p.DeviceID.Equals(item.DeviceID)); - if (info != null) - { - dm.DeviceID = info.DeviceID; - dm.DeviceName = info.DeviceNo + "----" + info.DeviceName; - } - if (item.IsUseing == 1) - { - dm.IsUseingName = "启用"; - } - CommonlyInspectionVersionList.Add(dm); - } - #endregion - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = CommonlyInspectionVersionList; - jsonStr = JSONTools.ScriptSerialize>(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - - } - /// - /// 添加信息 - /// - /// 模型对象 - /// - public bool AddInfo(tb_CommonlyInspectionVersion md, string s) - { - try - { - var list = db.SearchInfoByKey("DeviceID", md.DeviceID).Where(p => p.Version == md.Version).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - if (db.AddInfo(md)) - { - BasicBLL CommonlyInspection_db = new BasicBLL(); - string[] arry = s.Split(','); - for (int i = 0; i < arry.Length; i++) - { - tb_CommonlyInspection m = new tb_CommonlyInspection(); - m.ID = Guid.NewGuid().ToString(); - m.VersionID = md.ID; - m.InspectionContentID = arry[i]; - m.CreateUserID = md.CreateUserID; - m.CreateTime = md.CreateTime; - m.IsUseing = 1; - CommonlyInspection_db.AddInfo(m); - } - return true; - } - return false; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// 模型对象 - /// - public bool UpdateInfo(tb_CommonlyInspectionVersion md) - { - try - { - //var list = db.SearchInfoByKey("ProductionLineID", md.ProductionLineID).Where(p => p.DeviceNo == md.DeviceNo).ToList();//判断是否有重复数据 - //if (list.Count > 0) - //{ - // return false; - //} - ////初始化要更新的字段 - //string[] proNames = new string[6]; - //proNames[0] = "ProductionLineID"; - //proNames[1] = "DeviceNo"; - //proNames[2] = "DeviceName"; - //proNames[3] = "Description"; - //proNames[4] = "UpdateUserID"; - //proNames[5] = "UpdateTime"; - - ////必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - ////如果没有初始化必填字段,更新会报错 - //md.CreateUserID = ""; - - //return db.UpdateInfo(md, proNames); - return false; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - /// 删除生产线信息 - public bool DelInfo(tb_CommonlyInspectionVersion md) - { - try - { - ////初始化要更新的字段 - //string[] proNames = new string[3]; - //proNames[0] = "IsUseing"; - //proNames[1] = "DisableTime"; - //proNames[2] = "DisableUserID"; - - ////必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - ////如果没有初始化必填字段,更新会报错 - //md.ProductionLineID = 0; - //md.DeviceNo = ""; - //md.DeviceName = ""; - //md.CreateUserID = ""; - //return db.UpdateInfo(md, proNames); - return false; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - public string GetComboboxData(string deviceID) - { - try - { - string jsonStr = "[]"; - var list = db.SearchInfoByKey("IsUseing", 1).ToList();//判断是否有重复数据 - if (deviceID != null && deviceID != "") - { - list = list.Where(p => p.DeviceID.Equals(deviceID)).ToList(); - } - jsonStr = JSONTools.ScriptSerialize>(list); - return jsonStr; - } - catch (Exception) - { - return ""; - } - - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Inspection/InjectionBoxBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Inspection/InjectionBoxBLL.cs deleted file mode 100644 index 22927ba..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Inspection/InjectionBoxBLL.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.Injection; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL.Inspection -{ - public class InjectionBoxBLL - { - InjectionBoxDAL db=new InjectionBoxDAL(); - - public bool AddInfo(InjectionBoxModel md) - { - try - { - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SeachInfoByBox(string partNo,string batchNo) - { - try - { - return db.SeachInfoByBox(partNo, batchNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchBox(string BoxNo) - { - try - { - return db.SearchBox(BoxNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Keep/DeviceKeepItemsBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Keep/DeviceKeepItemsBLL.cs deleted file mode 100644 index f866a29..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Keep/DeviceKeepItemsBLL.cs +++ /dev/null @@ -1,145 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.BLL.Keep -{ - public class DeviceKeepItemsBLL - { - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_DeviceKeepItems md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.KeepItemsID == md.KeepItemsID && p.DeviceID == md.DeviceID).ToList();//判断是否有重复数据 - if (list != null && list.Count > 0) - { - return false; - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_DeviceKeepItems md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.KeepItemsID == md.KeepItemsID && p.DeviceID == md.DeviceID && p.ID != md.ID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[3]; - proNames[0] = "KeepItemsID"; - proNames[1] = "DeviceID"; - proNames[2] = "UpdateTime"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_DeviceKeepItems md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - - List list = db.SearchAllInfo(); - - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = list; - return JSONTools.ScriptSerialize(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_DeviceKeepItems SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Keep/KeepItemsBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Keep/KeepItemsBLL.cs deleted file mode 100644 index 58f273f..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Keep/KeepItemsBLL.cs +++ /dev/null @@ -1,272 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.BLL.Keep -{ - public class KeepItemsBLL - { - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_KeepItems md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.KeepItems == md.KeepItems && p.KeepLevelID == md.KeepLevelID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_KeepItems md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.KeepItems == md.KeepItems && p.KeepLevelID == md.KeepLevelID && p.ID != md.ID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[4]; - proNames[0] = "KeepLevelID"; - proNames[1] = "KeepItems"; - proNames[2] = "Des"; - proNames[3] = "UpdateTime"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_KeepItems md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string KeepItems, string KeepLevelID) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - - List list = db.SearchAllInfo(); - - if (!String.IsNullOrEmpty(KeepItems)) - { - list = list.Where(p => p.KeepItems != null && p.KeepItems.Contains(KeepItems)).ToList(); - } - - if (!String.IsNullOrEmpty(KeepLevelID)) - { - list = list.Where(p => p.KeepLevelID == KeepLevelID).ToList(); - } - - - - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - - #region 联查 - List KeepItemsList = new List(); - BasicBLL pl_db = new BasicBLL(); - var pl_list = pl_db.SearchAllInfo().ToList(); - foreach (var item in list) - { - KeepItemsModel dm = Tool.Mapper(item); - var info = pl_list.FirstOrDefault(p => p.ID == item.KeepLevelID); - if (info != null) - { - dm.KeepLevel = info.KeepLevel; - } - KeepItemsList.Add(dm); - } - #endregion - - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = KeepItemsList; - return JSONTools.ScriptSerialize(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_KeepItems SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - public string GetComboboxData() - { - try - { - string jsonStr = "[]"; - //var list = db.SearchAllInfo().ToList();//判断是否有重复数据 - - //List sl = new List(); - - //foreach (var item in list) - //{ - // SelectModel md = new SelectModel(); - // md.textField = item.KeepLevel; - // md.valueField = item.ID; - // sl.Add(md); - //} - - //jsonStr = JSONTools.ScriptSerialize(sl); - return jsonStr; - } - catch (Exception) - { - return ""; - } - - - } - - public string GetTreeData() - { - try - { - string jsonStr = "[]"; - BasicBLL li_db = new BasicBLL(); - BasicBLL KeepLevel_db = new BasicBLL(); - List trlist = new List(); - - var li_list = li_db.SearchAllInfo().OrderBy(p => p.KeepLevelID).ToList(); - - var level = KeepLevel_db.SearchAllInfo().ToList(); - foreach (var item in level) - { - if ("一级保养".Equals(item.KeepLevel)) - { - TreeModel tr = new TreeModel(); - tr.id = "-1"; - tr.text = "一级保养"; - tr.state = "open"; - - var itemList = li_list.Where(p => p.KeepLevelID.Equals(item.ID)).OrderBy(p => p.KeepItems).ToList(); - var queryData = from a in itemList - select new ChildTreeModel - { - id = a.ID, - text = a.KeepItems - }; - List clist = queryData.ToList(); - if (clist.Count > 0) - { - tr.children = clist; - trlist.Add(tr); - } - continue; - } - - if ("二级保养".Equals(item.KeepLevel)) - { - TreeModel tr = new TreeModel(); - tr.id = "-1"; - tr.text = "二级保养"; - tr.state = "open"; - var itemList = li_list.Where(p => p.KeepLevelID.Equals(item.ID)).OrderBy(p => p.KeepItems).ToList(); - var queryData = from a in itemList - select new ChildTreeModel - { - id = a.ID, - text = a.KeepItems - }; - List clist = queryData.ToList(); - if (clist.Count > 0) - { - tr.children = clist; - trlist.Add(tr); - } - } - } - - jsonStr = JSONTools.ScriptSerialize(trlist); - return jsonStr; - } - catch (Exception) - { - return ""; - } - } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Keep/KeepLevelBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Keep/KeepLevelBLL.cs deleted file mode 100644 index e5f22da..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Keep/KeepLevelBLL.cs +++ /dev/null @@ -1,176 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.BLL.Keep -{ - public class KeepLevelBLL - { - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_KeepLevel md) - { - try - { - var list = db.SearchInfoByKey("KeepLevel", md.KeepLevel);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.ID != md.ID).Count() > 0) - { - return false; - } - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_KeepLevel md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.KeepLevel == md.KeepLevel && p.ID != md.ID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[3]; - proNames[0] = "KeepLevel"; - proNames[1] = "Des"; - proNames[2] = "UpdateTime"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_KeepLevel md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - - List list = db.SearchAllInfo(); - - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = list; - return JSONTools.ScriptSerialize(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_KeepLevel SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - public string GetComboboxData() - { - try - { - string jsonStr = "[]"; - var list = db.SearchAllInfo().ToList();//判断是否有重复数据 - - List sl = new List(); - - foreach (var item in list) - { - SelectModel md = new SelectModel(); - md.textField = item.KeepLevel; - md.valueField = item.ID; - sl.Add(md); - } - - jsonStr = JSONTools.ScriptSerialize(sl); - return jsonStr; - } - catch (Exception) - { - return ""; - } - - - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Keep/KeepPlanBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Keep/KeepPlanBLL.cs deleted file mode 100644 index 02e16d5..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Keep/KeepPlanBLL.cs +++ /dev/null @@ -1,184 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.BLL.Keep -{ - public class KeepPlanBLL - { - BBMPTEntities ef = new BBMPTEntities(); - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_KeepPlan md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.KeepLevelID == md.KeepLevelID && p.DeviceID == md.DeviceID && p.KeepDay == md.KeepDay).ToList();//判断是否有重复数据 - if (list != null && list.Count > 0) - { - return false; - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_KeepPlan md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.KeepLevelID == md.KeepLevelID && p.DeviceID == md.DeviceID && p.KeepDay == md.KeepDay && p.ID != md.ID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[5]; - proNames[0] = "DeviceID"; - proNames[1] = "KeepLevelID"; - proNames[2] = "KeepDay"; - proNames[3] = "Des"; - proNames[4] = "UpdateTime"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_KeepPlan md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string DeviceID, string KeepLevelID, string StartTime, string EndTime) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - - DateTime stime = Convert.ToDateTime(StartTime); - DateTime etime = Convert.ToDateTime(EndTime); - - List list = ef.tb_KeepPlan.Where(p => p.KeepDay >= stime && p.KeepDay <= etime).OrderByDescending(p => p.KeepDay).ToList(); - if (!String.IsNullOrEmpty(DeviceID)) - { - list = list.Where(p => p.DeviceID != null && p.DeviceID.Equals(DeviceID)).ToList(); - } - if (!String.IsNullOrEmpty(KeepLevelID)) - { - list = list.Where(p => p.KeepLevelID != null && p.KeepLevelID.Equals(KeepLevelID)).ToList(); - } - - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - - #region 联查 - List KeepPlanList = new List(); - BasicBLL KeepLevel_db = new BasicBLL(); - BasicBLL Device_db = new BasicBLL(); - var KeepLevel_list = KeepLevel_db.SearchAllInfo().ToList(); - var Device_list = Device_db.SearchAllInfo().ToList(); - foreach (var item in list) - { - KeepPlanModel dm = Tool.Mapper(item); - var KeepLevel_info = KeepLevel_list.FirstOrDefault(p => p.ID == item.KeepLevelID); - if (KeepLevel_info != null) - { - dm.KeepLevelName = KeepLevel_info.KeepLevel; - } - var Device_info = Device_list.FirstOrDefault(p => p.DeviceID == item.DeviceID); - if (Device_info != null) - { - dm.DeviceName = Device_info.DeviceName; - } - KeepPlanList.Add(dm); - } - #endregion - - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = KeepPlanList; - return JSONTools.ScriptSerialize(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_KeepPlan SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Keep/KeepRecordBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Keep/KeepRecordBLL.cs deleted file mode 100644 index 9c0efba..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Keep/KeepRecordBLL.cs +++ /dev/null @@ -1,294 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.Keep; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.BLL.Keep -{ - public class KeepRecordBLL - { - KeepRecordDAL dal = new KeepRecordDAL(); - BBMPTEntities ef = new BBMPTEntities(); - BasicBLL db = new BasicBLL(); - - public string GetDate(string VersionID, string KeepTime, string DeviceID, string KeepLevelID) - { - try - { - string str = ""; - string CheckUserID = ""; - string ConfirmUserID = ""; - string ErrMes = ""; - BasicBLL db = new BasicBLL(); - string jsonStr = "[]"; - List list = null; - - list = db.SearchInfoByKey("IsUseing", 1).Where(p => p.VersionID.Equals(VersionID)).ToList(); - if (list.Count > 0) - { - BasicBLL CheckItem_db = new BasicBLL(); - var CheckItemList = CheckItem_db.SearchAllInfo().ToList(); - - BasicBLL KeepLevel_db = new BasicBLL(); - var KeepLevelList = KeepLevel_db.SearchAllInfo().ToList(); - - string[] arr_id = list.Select(s => s.ID).ToArray(); - BasicBLL CommonlyInspectionRecord_db = new BasicBLL(); - var _info = CommonlyInspectionRecord_db.SearchInfoByKey("CheckDate", Convert.ToDateTime(KeepTime)).Where(p => arr_id.Contains(p.KeepItemsVersionID)).ToList(); - if (_info.Count > 0) - { - #region 修改 - List CommonlyInspectionList = new List(); - foreach (var item in list) - { - KeepItemsVersionModel dm = Tool.Mapper(item); - dm.KeepItems = CheckItemList.FirstOrDefault(p => p.ID.Equals(item.KeepItemsID)).KeepItems; - CommonlyInspectionList.Add(dm); - } - str = "
序号点检内容" + i + "
" + (j + 1).ToString() + "" + info[j].InspectionContent + "
"; - str += ""; - str += ""; - str += ""; - str += ""; - - for (int j = 0; j < CommonlyInspectionList.Count; j++) - { - str += ""; - str += ""; - - var R_info = _info.FirstOrDefault(p => p.KeepItemsVersionID == CommonlyInspectionList[j].ID); - CheckUserID = R_info.CheckUser; - ConfirmUserID = R_info.ConfirmUser; - //ErrMes = R_info.ErrMes; - switch (R_info.Result) - { - case "0": - str += ""; - break; - case "1": - str += ""; - break; - } - str += ""; - } - //str += ""; - //str += ""; - //str += ""; - //str += ""; - str += "
保养内容检查结果
" + CommonlyInspectionList[j].KeepItems + "
异常情况描述
"; - str += ""; - str += ""; - str += ""; - - #endregion - } - else - { - #region 新增 - List CommonlyInspectionList = new List(); - foreach (var item in list) - { - KeepItemsVersionModel dm = Tool.Mapper(item); - dm.KeepItems = CheckItemList.FirstOrDefault(p => p.ID.Equals(item.KeepItemsID)).KeepItems; - CommonlyInspectionList.Add(dm); - } - str = ""; - str += ""; - str += ""; - str += ""; - str += ""; - for (int j = 0; j < CommonlyInspectionList.Count; j++) - { - str += ""; - str += ""; - str += ""; - str += ""; - } - //str += ""; - //str += ""; - //str += ""; - //str += ""; - str += "
保养内容检查结果
" + CommonlyInspectionList[j].KeepItems + "" + - "
异常情况描述
"; - str += ""; - #endregion - } - } - return str; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - } - - public bool AddInfo(string CommonlyInspection, string CheckUserID, string ConfirmUserID, string UserID, string CheckDate, string KeepPlanID) - { - try - { - BasicBLL Recorddb = new BasicBLL(); - DateTime dtime = DateTime.Now; - DateTime checktime = Convert.ToDateTime(CheckDate); - string[] arr = CommonlyInspection.Split(new Char[] { ',' }, StringSplitOptions.RemoveEmptyEntries); - for (int i = 0; i < arr.Length - 1; i++) - { - int index = arr[i].IndexOf(":"); - tb_KeepRecord md = new tb_KeepRecord(); - md.ID = Guid.NewGuid().ToString(); - md.KeepPlanID = KeepPlanID; - md.KeepItemsVersionID = arr[i].Substring(0, index); - md.Result = arr[i].Substring(index + 1, arr[i].Length - index - 1); - md.CheckUser = CheckUserID; - md.ConfirmUser = CheckUserID; - //md.CreateUserID = UserID; - md.CheckDate = checktime; - //md.CheckType = CheckType; - //md.ErrMes = ErrMes; - md.ConfirmUserDate = dtime; - md.CreateTime = dtime; - //md.IsUseing = 1; - Recorddb.AddInfo(md); - } - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - public bool UpdateInfo(string CommonlyInspection, string CheckUserID, string ConfirmUserID, string UserID, string CheckDate, string KeepPlanID) - { - try - { - string[] proNames = new string[6]; - proNames[0] = "Result"; - proNames[1] = "CheckUser"; - proNames[2] = "CheckDate"; - proNames[3] = "ConfirmUser"; - proNames[4] = "ConfirmUserDate"; - //proNames[5] = "UpdateUserID"; - proNames[5] = "UpdateTime"; - //proNames[7] = "CheckType"; - //proNames[8] = "ErrMes"; - - BasicBLL Recorddb = new BasicBLL(); - DateTime dtime = DateTime.Now; - DateTime checktime = Convert.ToDateTime(CheckDate); - string[] arr = CommonlyInspection.Split(new Char[] { ',' }, StringSplitOptions.RemoveEmptyEntries); - for (int i = 0; i < arr.Length - 3; i++) - { - int index = arr[i].IndexOf(":"); - tb_KeepRecord md = new tb_KeepRecord(); - md.ID = arr[i].Substring(0, index); - md.Result = arr[i].Substring(index + 1, arr[i].Length - index - 1); - md.CheckUser = CheckUserID; - md.CheckDate = checktime; - //md.CheckType = CheckType; - //md.ErrMes = ErrMes; - md.ConfirmUser = ConfirmUserID; - md.ConfirmUserDate = dtime; - //md.UpdateUserID = UserID; - md.UpdateTime = dtime; - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.CreateUserID = ""; - md.KeepItemsVersionID = ""; - Recorddb.UpdateInfo(md, proNames); - } - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - - public string GetReportDate(string PlanID) - { - try - { - string str = ""; - str = ""; - str += ""; - str += ""; - str += ""; - str += ""; - str += ""; - str += ""; - DataTable dt = dal.SearhByKeepPlanID(PlanID); - if (dt != null && dt.Rows.Count > 0) - { - IList list = Tool.ConvertTo(dt); - List deviceNameList = list.GroupBy(p => p.DeviceName).Select(p => p.Key).ToList(); - int n = 1; - foreach (var item in deviceNameList) - { - List recordList = list.Where(p => p.DeviceName != null && p.DeviceName.Equals(item)).ToList(); - - List VersionList = recordList.GroupBy(p => p.Version).Select(p => p.Key).ToList(); - if (VersionList.Count > 1) - { - string version = VersionList.OrderByDescending(p => p).FirstOrDefault(); - recordList = recordList.Where(p => p.KeepLevel != null && p.Version.Equals(version)).ToList(); - - } - - int k = 1; - foreach (var itemRecord in recordList) - { - if (k == 1) - { - str += ""; - str += ""; - str += ""; - str += ""; - string r = itemRecord.result == "1" ? "X" : "√"; - str += ""; - str += ""; - } - else - { - str += ""; - str += ""; - string r = itemRecord.result == "1" ? "X" : "√"; - str += ""; - str += ""; - } - - k++; - } - n++; - } - - - } - str += "
序号设备名称保养内容结果
" + n.ToString() + "" + item + "" + itemRecord.KeepItems + "" + r + "
" + itemRecord.KeepItems + "" + r + "
"; - - return str; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Keep/KeepVersionBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Keep/KeepVersionBLL.cs deleted file mode 100644 index cabb913..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Keep/KeepVersionBLL.cs +++ /dev/null @@ -1,233 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.BLL.Keep -{ - public class KeepVersionBLL - { - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_KeepVersion md, string s) - { - try - { - var list = db.SearchInfoByKey("DeviceID", md.DeviceID).Where(p => p.Version == md.Version).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - if (db.AddInfo(md)) - { - BasicBLL KeepItemsVersion_db = new BasicBLL(); - string[] arry = s.Split(','); - for (int i = 0; i < arry.Length; i++) - { - tb_KeepItemsVersion m = new tb_KeepItemsVersion(); - m.ID = Guid.NewGuid().ToString(); - m.VersionID = md.ID; - m.KeepItemsID = arry[i]; - m.CreateUserID = md.CreateUserID; - m.CreateTime = md.CreateTime; - m.IsUseing = 1; - KeepItemsVersion_db.AddInfo(m); - } - return true; - } - return false; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_KeepVersion md) - { - try - { - return false; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_KeepVersion md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - - List list = db.SearchAllInfo(); - - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = list; - return JSONTools.ScriptSerialize(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_KeepVersion SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - public string SearchInfo(string page, string pagesize, string deviceID) - { - try - { - - BasicBLL station_db = new BasicBLL(); - BasicBLL device_db = new BasicBLL(); - - var station_list = station_db.SearchAllInfo().ToList(); - var device_list = device_db.SearchAllInfo().ToList(); - - - string jsonStr = "[]"; - int total = 0;//总行数 - List list = null; - - list = db.SearchAllInfo().ToList(); - - - if (deviceID != "") - { - list = list.Where(p => p.DeviceID.Equals(deviceID)).ToList(); - } - - List KeepVersionList = new List(); - if (list.Count > 0) - { - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - total = list.Count; - - #region 联查 - - - foreach (var item in list) - { - KeepVersionModel dm = Tool.Mapper(item); - var info = device_list.FirstOrDefault(p => p.DeviceID.Equals(item.DeviceID)); - if (info != null) - { - dm.DeviceID = info.DeviceID; - dm.DeviceName = info.DeviceNo + "----" + info.DeviceName; - } - if (item.IsUseing == 1) - { - dm.IsUseingName = "启用"; - } - KeepVersionList.Add(dm); - } - #endregion - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = KeepVersionList; - jsonStr = JSONTools.ScriptSerialize(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - - } - - - public string GetComboboxData(string deviceID) - { - try - { - string jsonStr = "[]"; - var list = db.SearchInfoByKey("IsUseing", 1).ToList();//判断是否有重复数据 - if (deviceID != null && deviceID != "") - { - list = list.Where(p => p.DeviceID.Equals(deviceID)).OrderByDescending(p=>p.Version).ToList(); - } - jsonStr = JSONTools.ScriptSerialize(list); - return jsonStr; - } - catch (Exception) - { - return ""; - } - - } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Log/LogErrBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Log/LogErrBLL.cs deleted file mode 100644 index c234ecc..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Log/LogErrBLL.cs +++ /dev/null @@ -1,65 +0,0 @@ -using MESClassLibrary.DAL.Log; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.BLL.Log -{ - public class LogErrBLL - { - - public DataTable SearchInfoByTime(string stime, string etime) - { - try - { - LogErrDAL db = new LogErrDAL(); - DateTime startime = Convert.ToDateTime("1900-01-01 00:00:00"); - DateTime endtime = Convert.ToDateTime("2100-12-31 23:59:59"); - if (stime != "0") - { - startime = Convert.ToDateTime(stime); - } - if (etime != "0") - { - endtime = Convert.ToDateTime(etime); - } - return db.Search_InfoByTime(startime, endtime); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - - /// - /// 新增错误信息 - /// - /// - /// - public static void AddInfo(string err,MethodBase mb) - { - try - { - LogErrDAL db = new LogErrDAL(); - LogErrModel md = new LogErrModel(); - md.ID = Guid.NewGuid().ToString(); - md.ErrContent = err; - md.ErrSource = mb.DeclaringType.Name + "." + mb.Name; - db.Add_Info(md); - - } - catch (Exception) - { - - } - - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Log/LogSysBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Log/LogSysBLL.cs deleted file mode 100644 index 2518838..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Log/LogSysBLL.cs +++ /dev/null @@ -1,62 +0,0 @@ -using MESClassLibrary.DAL.Log; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.BLL.Log -{ - public class LogSysBLL - { - public DataTable SearchInfoByTime(string stime, string etime) - { - try - { - LogSysDAL db = new LogSysDAL(); - DateTime startime = Convert.ToDateTime("1900-01-01 00:00:00"); - DateTime endtime = Convert.ToDateTime("2100-12-31 23:59:59"); - if (stime != "0") - { - startime = Convert.ToDateTime(stime + " 00:00:00"); - } - if (etime != "0") - { - endtime = Convert.ToDateTime(etime + " 23:59:59"); - } - return db.Search_InfoByTime(startime, endtime); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - /// - /// 新增错误信息 - /// - /// - /// - public static void AddInfo(string sys, MethodBase mb) - { - try - { - LogSysDAL db = new LogSysDAL(); - LogSysModel md = new LogSysModel(); - md.ID = Guid.NewGuid().ToString(); - md.SysContent = sys; - md.SysSource = mb.DeclaringType.Name + "." + mb.Name; - db.Add_Info(md); - - } - catch (Exception) - { - - } - - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Mistake247/AssemblyBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Mistake247/AssemblyBLL.cs deleted file mode 100644 index e355be3..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Mistake247/AssemblyBLL.cs +++ /dev/null @@ -1,100 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.Mistake247; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL.Mistake247 -{ - public class AssemblyBLL - { - public bool AddInfo(AssemblyModel md) - { - AssemblyDAL da = new AssemblyDAL(); - try - { - return da.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool UpdateInfo(AssemblyModel md) - { - AssemblyDAL da = new AssemblyDAL(); - try - { - return da.UpdateInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchCount( string PartNo) - { - AssemblyDAL da = new AssemblyDAL(); - try - { - return da.SearchCount(PartNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool UpdatePrintFlag(AssemblyModel md) - { - AssemblyDAL da = new AssemblyDAL(); - try - { - return da.UpdatePrintFlag(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool UpdatePrintFlag1(string partno) - { - AssemblyDAL da = new AssemblyDAL(); - try - { - return da.UpdatePrintFlag1(partno); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable searchPartNo(string partno) - { - AssemblyDAL da = new AssemblyDAL(); - try - { - return da.searchPartNo(partno); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Mistake247/BoxBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Mistake247/BoxBLL.cs deleted file mode 100644 index d4e22ab..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Mistake247/BoxBLL.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.Mistake247; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL.Mistake247 -{ - public class BoxBLL - { - public bool AddInfo(BoxModel md) - { - BoxDAL da = new BoxDAL(); - try - { - return da.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchByNo(string PartNo, string BatchNo) - { - BoxDAL da = new BoxDAL(); - try - { - return da.SearchByNo(PartNo, BatchNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool UpdateInfo(BoxModel md) - { - BoxDAL da = new BoxDAL(); - try - { - return da.UpdateInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable searchBox(string partno) - { - BoxDAL da = new BoxDAL(); - try - { - return da.SearchBox(partno); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchBoxIsExsit(string box) - { - BoxDAL da = new BoxDAL(); - try - { - return da.SearchBoxIsExsit(box); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Mistake247/MistakeBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Mistake247/MistakeBLL.cs deleted file mode 100644 index d19c805..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Mistake247/MistakeBLL.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.Mistake247; -using MESClassLibrary.DAL.painting; - -namespace MESClassLibrary.BLL.Mistake247 -{ - public class MistakeBLL - { - public DataTable IsMath(string DeviceNo, string PartNo) - { - MistakeDAL da = new MistakeDAL(); - try - { - return da.IsMath(DeviceNo, PartNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchByNo(string PartNo,string deviceNo) - { - MistakeDAL da = new MistakeDAL(); - try - { - return da.SearchByNo(PartNo, deviceNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchPartName(string PartNo) - { - MistakeDAL da = new MistakeDAL(); - try - { - return da.SearchPartName(PartNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchPartNoByDecice(string deviceNo) - { - MistakeDAL da = new MistakeDAL(); - try - { - return da.SearchPartNoByDecice(deviceNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Mistake247/Plan247BLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Mistake247/Plan247BLL.cs deleted file mode 100644 index cb21b32..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Mistake247/Plan247BLL.cs +++ /dev/null @@ -1,85 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.Mistake247; - -namespace MESClassLibrary.BLL.Mistake247 -{ - public class Plan247BLL - { - public DataTable SearhByOrderNo(string OrderNo) - { - Plan247DAL da = new Plan247DAL(); - try - { - return da.SearhByOrderNo(OrderNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable DetailOrderNo(string OrderNo) - { - Plan247DAL da = new Plan247DAL(); - try - { - return da.DetailOrderNo(OrderNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable IsHavePlan(string partNo1, string orderNo) - { - Plan247DAL da = new Plan247DAL(); - try - { - return da.IsHavePlan(partNo1, orderNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - - public DataTable SearhCountByOrderNo(string OrderNo, string partNo) - { - Plan247DAL da = new Plan247DAL(); - try - { - return da.SearhCountByOrderNo(OrderNo, partNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool UpdateCount(string partNo, string orderNo) - { - Plan247DAL da = new Plan247DAL(); - try - { - return da.UpdateCount(partNo, orderNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Mistake247/RecordBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Mistake247/RecordBLL.cs deleted file mode 100644 index 12160f7..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Mistake247/RecordBLL.cs +++ /dev/null @@ -1,171 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.Mistake247; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL.Mistake247 -{ - public class RecordBLL - { - public DataTable SearchByPartNo1(string PartNo) - { - RecordDAL da = new RecordDAL(); - try - { - return da.SearchByPartNo1(PartNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchCountByBox(string boxNo) - { - RecordDAL da = new RecordDAL(); - try - { - return da.SearchCountByBox(boxNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool AddInfo(RecordModel md) - { - RecordDAL da = new RecordDAL(); - try - { - return da.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool updateBoxInfo(RecordModel md) - { - RecordDAL da = new RecordDAL(); - try - { - return da.updateBoxInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchState(int type1,int type2,int type3) - { - RecordDAL da = new RecordDAL(); - try - { - return da.SearchState(type1,type2,type3); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool DelInfo(RecordModel md) - { - RecordDAL da = new RecordDAL(); - try - { - return da.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchBoxByPart(string part) - { - RecordDAL da = new RecordDAL(); - try - { - return da.SearchBoxByPart(part); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchByPartNo2(string partno) - { - RecordDAL da = new RecordDAL(); - try - { - return da.SearchByPartNo2(partno); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable GetCount(string part,string batch) - { - RecordDAL da = new RecordDAL(); - try - { - return da.GetCount(part,batch); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - - public DataTable GetRecord(string boxNo) - { - RecordDAL da = new RecordDAL(); - try - { - return da.GetRecord(boxNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable GetOrderNum(string orderno) - { - RecordDAL da = new RecordDAL(); - try - { - return da.GetOrderNum(orderno); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Painting/InspectResultBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Painting/InspectResultBLL.cs deleted file mode 100644 index 6876050..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Painting/InspectResultBLL.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.painting; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL.Painting -{ - public class InspectResultBLL - { - public bool AddInfo(InspectResultModel md) - { - InspectResultDAL da = new InspectResultDAL(); - try - { - return da.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Painting/PaintBarCodeBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Painting/PaintBarCodeBLL.cs deleted file mode 100644 index d2e9518..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Painting/PaintBarCodeBLL.cs +++ /dev/null @@ -1,72 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.painting; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL.Painting -{ - public class PaintBarCodeBLL - { - public DataTable SearchAll(string banci,string productdate) - { - PaintBarCodeDAL da=new PaintBarCodeDAL(); - try - { - return da.SearchInfoAll(banci, productdate); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchBarCode(string banci, string productdate, string ProductID) - { - PaintBarCodeDAL da = new PaintBarCodeDAL(); - try - { - return da.SearchBarCode(banci, productdate, ProductID); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool AddInfo(PaintBarCodeModel md) - { - PaintBarCodeDAL da = new PaintBarCodeDAL(); - try - { - return da.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool UpdatePrintTime(PaintBarCodeModel md) - { - PaintBarCodeDAL da = new PaintBarCodeDAL(); - try - { - return da.UpdatePrintTime(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Painting/StockInBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Painting/StockInBLL.cs deleted file mode 100644 index d5c298f..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Painting/StockInBLL.cs +++ /dev/null @@ -1,99 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.painting; - -namespace MESClassLibrary.BLL.Painting -{ - public class StockInBLL - { - public DataTable SearchInfoA() - { - StockInDAL da = new StockInDAL(); - try - { - return da.SearchInfoA(); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoB() - { - StockInDAL da = new StockInDAL(); - try - { - return da.SearchInfoB(); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoBByA() - { - StockInDAL da = new StockInDAL(); - try - { - return da.SearchInfoBByA(); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoAByB() - { - StockInDAL da = new StockInDAL(); - try - { - return da.SearchInfoAByB(); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchDetailA() - { - StockInDAL da = new StockInDAL(); - try - { - return da.SearchDetailA(); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchDetailB() - { - StockInDAL da = new StockInDAL(); - try - { - return da.SearchDetailB(); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Plan247/Plan247BLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Plan247/Plan247BLL.cs deleted file mode 100644 index 6cfd6f5..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Plan247/Plan247BLL.cs +++ /dev/null @@ -1,291 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.BLL.Plan247 -{ - public class Plan247BLL - { - BBMPTEntities ef = new BBMPTEntities(); - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_Plan_247 md) - { - try - { - var list = ef.tb_Plan_247.Where(p => p.OrderNo.Contains(md.OrderNo.Substring(0, 8)) && p.PartNo.Equals(md.PartNo)).ToList(); - if (list != null && list.Count > 0) - { - return false; - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_Plan_247 md) - { - try - { - - //初始化要更新的字段 - string[] proNames = new string[1]; - proNames[0] = "OrderCount"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_Plan_247 md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string StartTime, string EndTime, string OrderNo) - { - try - { - - string jsonStr = "[]"; - int total = 0;//总行数 - - DateTime stime = Convert.ToDateTime(StartTime + " 00:00:00"); - DateTime etime = Convert.ToDateTime(EndTime + " 23:59:59"); - - List list = ef.tb_Plan_247.Where(p => p.CreateTime >= stime && p.CreateTime <= etime).OrderBy(p => p.CreateTime).ToList(); - - if (!String.IsNullOrEmpty(OrderNo)) - { - list = list.Where(p => p.OrderNo.Contains(OrderNo)).OrderBy(p => p.CreateTime).ToList(); - } - - - if (list.Count > 0) - { - - total = list.Count; - - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - List modelList = new List(); - - #region 联查 - - var listModel = ef.tb_Mistake_247.ToList(); - - foreach (var item in list) - { - tb_Plan_247Model dm = Tool.Mapper(item); - - var machine_info = listModel.FirstOrDefault(p => p.PartNo2 == item.PartNo); - if (machine_info != null) - { - dm.PartName = machine_info.PartName2; - } - - modelList.Add(dm); - } - #endregion - - - - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = modelList; - jsonStr = JSONTools.ScriptSerialize(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - public string SearchOrderNo(string StartTime) - { - try - { - - string jsonStr = ""; - string orderNo = Convert.ToDateTime(StartTime).ToString("yyyyMMdd"); - var info = ef.tb_Plan_247.Where(p => p.OrderNo.Contains(orderNo)).OrderByDescending(p => p.OrderNo).FirstOrDefault(); - - if (info != null) - { - return (Convert.ToInt64(info.OrderNo) + 1).ToString(); - } - else - { - return orderNo + "0001"; - } - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - } - - - public string GetComboboxData() - { - try - { - string jsonStr = "[]"; - var list = ef.tb_Mistake_247.ToList();//判断是否有重复数据 - jsonStr = JSONTools.ScriptSerialize(list); - return jsonStr; - } - catch (Exception) - { - return ""; - } - } - - public string GetMistake(string id) - { - try - { - string jsonStr = "[]"; - var list = ef.tb_Mistake_247.Where(p => p.ID.Equals(id)).FirstOrDefault();//判断是否有重复数据 - jsonStr = JSONTools.ScriptSerialize(list); - return jsonStr; - } - catch (Exception) - { - return null; - } - } - - public string QueryForComboboxOrderNo(string StartTime) - { - try - { - string jsonStr = "[]"; - List list = new List(); - string orderNo = Convert.ToDateTime(StartTime).ToString("yyyyMMdd"); - var info = ef.tb_Plan_247.Where(p => p.OrderNo.Contains(orderNo)).GroupBy(p => p.OrderNo).Select(p => p.Key).ToList();//判断是否有重复数据 - foreach (var item in info) - { - SelectModel md = new SelectModel(); - md.textField = item; - md.valueField = item; - list.Add(md); - } - jsonStr = JSONTools.ScriptSerialize(list); - return jsonStr; - } - catch (Exception) - { - return ""; - } - } - - public string QueryForItem(string OrderNo) - { - try - { - var info = ef.tb_Plan_247.Where(p => p.OrderNo.Equals(OrderNo)).OrderByDescending(p => p.Item).FirstOrDefault();//判断是否有重复数据 - return (info.Item + 1).ToString(); - } - catch (Exception) - { - return ""; - } - } - - //校验是否生成计划单号日期部分+零件号有相同的计划 - public bool QueryByOrderNo(string OrderNo, string PartNo) - { - try - { - var info = ef.tb_Plan_247.Where(p => p.OrderNo.Contains(OrderNo) && p.PartNo.Equals(PartNo)); - if (info.Count() > 0) - { - return true; - } - return false; - } - catch (Exception) - { - return false; - } - } - - //校验是否同一个生成计划单号下有相同序号的计划 - public bool QueryByOrderNoAndItem(string OrderNo, int Item) - { - try - { - var info = ef.tb_Plan_247.Where(p => p.OrderNo.Equals(OrderNo) && p.Item == Item); - if (info.Count() > 0) - { - return true; - } - return false; - } - catch (Exception) - { - return false; - } - } - - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/PlasticBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/PlasticBLL.cs deleted file mode 100644 index 4d2cb09..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/PlasticBLL.cs +++ /dev/null @@ -1,268 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.BasicInfo; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL -{ - public class PlasticBLL - { - BBMPTEntities ef = new BBMPTEntities(); - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_Plastic md) - { - try - { - var list = db.SearchInfoByKey("StationID", md.StationID);//判断是否有重复数据 - if (list != null && list.Count > 0) - { - if (list.Where(p => p.StockNo.Equals(md.StockNo)).Count() > 0) - { - return false; - } - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_Plastic md) - { - try - { - - //初始化要更新的字段 - string[] proNames = new string[7]; - proNames[0] = "CycleTime"; - proNames[1] = "StationID"; - proNames[2] = "IsBackup"; - proNames[3] = "Weight"; - proNames[4] = "OpenDebugTime"; - proNames[5] = "PrinterNo"; - proNames[6] = "PartNo"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_Plastic md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string stockNo, string partNo, string StationID) - { - try - { - - string jsonStr = "[]"; - int total = 0;//总行数 - List list = db.SearchAllInfo(); - - if (!String.IsNullOrEmpty(stockNo)) - { - list = list.Where(p => p.StockNo != null && p.StockNo.Contains(stockNo)).ToList(); - } - - if (!String.IsNullOrEmpty(StationID)) - { - list = list.Where(p => p.StationID.Equals(StationID)).ToList(); - } - - List modelList = new List(); - if (list.Count > 0) - { - - - - #region 联查 - BasicBLL product_db = new BasicBLL(); - var product_list = product_db.SearchAllInfo(); - - BasicBLL machine_db = new BasicBLL(); - var machine_list = machine_db.SearchAllInfo(); - - foreach (var item in list) - { - PlasticModel dm = Tool.Mapper(item); - var product_info = product_list.FirstOrDefault(p => p.StockNo == item.StockNo); - if (product_info != null) - { - dm.PartNo = product_info.PartNo; - } - - var machine_info = machine_list.FirstOrDefault(p => p.StationID == item.StationID); - if (machine_info != null) - { - dm.StationNo = machine_info.StationNo; - } - - modelList.Add(dm); - } - #endregion - - if (!String.IsNullOrEmpty(partNo)) - { - modelList = modelList.Where(p => p.PartNo != null && p.PartNo.Contains(partNo)).ToList(); - } - - total = modelList.Count; - - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - modelList = modelList.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = modelList; - jsonStr = JSONTools.ScriptSerialize>(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 查询全部信息 - /// - /// - public List SearchAll() - { - try - { - var s_list = db.SearchAllInfo().ToList(); - return s_list; - } - catch (Exception) - { - return null; - } - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_Plastic SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - - public string QueryForCombobox(string StationID) - { - try - { - - var info = from m in ef.tb_Plastic - join s in ef.tb_Product on m.PartNo equals s.PartNo into val2Grp - from grp in val2Grp.DefaultIfEmpty() - where m.StationID == StationID - select new { c_id = grp.PartNo, c_text = grp.PartNo + "--" + grp.ProductName}; - - string jsonStr = "[]"; - jsonStr = JSONTools.ScriptSerialize(info); - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - } - - public DataTable SearchInfo(string partNo,string stationID) - { - PlasticDAL da = new PlasticDAL(); - try - { - return da.SearchInfo(partNo, stationID); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchPartByStation(string stationNo) - { - PlasticDAL da = new PlasticDAL(); - try - { - return da.SearchPartByStation(stationNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Record247/Record247BLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Record247/Record247BLL.cs deleted file mode 100644 index 3ec176f..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Record247/Record247BLL.cs +++ /dev/null @@ -1,82 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.BLL.Record247 -{ - public class Record247BLL - { - BBMPTEntities ef = new BBMPTEntities(); - BasicBLL db = new BasicBLL(); - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize, string StartTime, string EndTime, string BoxNo, string PartNo2, string PartNo1, string OrderNo) - { - try - { - - string jsonStr = "[]"; - int total = 0;//总行数 - - DateTime stime = Convert.ToDateTime(StartTime + " 00:00:00"); - DateTime etime = Convert.ToDateTime(EndTime + " 23:59:59"); - - List list = ef.tb_Record_247.Where(p => p.CreateTime1 >= stime && p.CreateTime1 <= etime && p.Flag == 1).ToList(); - - if (!String.IsNullOrEmpty(BoxNo)) - { - list = list.Where(p => p.BoxNo.Contains(BoxNo)).ToList(); - } - - if (!String.IsNullOrEmpty(PartNo2)) - { - list = list.Where(p => p.PartNo2.Contains(PartNo2)).ToList(); - } - - if (!String.IsNullOrEmpty(PartNo1)) - { - list = list.Where(p => p.PartNo1.Contains(PartNo1)).ToList(); - } - - - if (!String.IsNullOrEmpty(OrderNo)) - { - list = list.Where(p => p.OrderNo.Contains(OrderNo)).ToList(); - } - - - if (list.Count > 0) - { - - total = list.Count; - - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.OrderBy(p => p.CreateTime1).Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = list; - jsonStr = JSONTools.ScriptSerialize(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Report/FiveScreenBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Report/FiveScreenBLL.cs deleted file mode 100644 index 6736c2a..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Report/FiveScreenBLL.cs +++ /dev/null @@ -1,190 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.Report -{ - public class FiveScreenBLL - { - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_Report_FiveScreen md) - { - try - { - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_Report_FiveScreen md) - { - try - { - //初始化要更新的字段 - string[] proNames = new string[45]; - proNames[0] = "Name"; - proNames[1] = "LastYear"; - proNames[2] = "Jan"; - proNames[3] = "Feb"; - proNames[4] = "Mar"; - proNames[5] = "Apr"; - proNames[6] = "May"; - proNames[7] = "Jun"; - proNames[8] = "Jul"; - proNames[9] = "Aug"; - proNames[10] = "Sept"; - proNames[11] = "Oct"; - proNames[12] = "Nov"; - proNames[13] = "Dec"; - proNames[14] = "day1"; - proNames[15] = "day2"; - proNames[16] = "day3"; - proNames[17] = "day4"; - proNames[18] = "day5"; - proNames[19] = "day6"; - proNames[20] = "day7"; - proNames[21] = "day8"; - proNames[22] = "day9"; - proNames[23] = "day10"; - proNames[24] = "day11"; - proNames[25] = "day12"; - proNames[26] = "day13"; - proNames[27] = "day14"; - proNames[28] = "day15"; - proNames[29] = "day16"; - proNames[30] = "day17"; - proNames[31] = "day18"; - proNames[32] = "day19"; - proNames[33] = "day20"; - proNames[34] = "day21"; - proNames[35] = "day22"; - proNames[36] = "day23"; - proNames[37] = "day24"; - proNames[38] = "day25"; - proNames[39] = "day26"; - proNames[40] = "day27"; - proNames[41] = "day28"; - proNames[42] = "day29"; - proNames[43] = "day30"; - proNames[44] = "day31"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_Report_FiveScreen md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - - List list = db.SearchAllInfo(); - - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = list; - return JSONTools.ScriptSerialize(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_Report_FiveScreen SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - public tb_Report_FiveScreen SearchInfoByNameLast(string name) { - - var info = db.SearchInfoByKey("Name", name).OrderByDescending(p=>p.CreateTime).FirstOrDefault();//判断是否有重复数据 - if (info != null) - { - return info; - } - - return null; - - } - - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Report/FiveScreenLastBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Report/FiveScreenLastBLL.cs deleted file mode 100644 index e683e8d..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Report/FiveScreenLastBLL.cs +++ /dev/null @@ -1,153 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.Report -{ - public class FiveScreenLastBLL - { - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_Report_FiveScreenLast md) - { - try - { - var list = db.SearchInfoByKey("StationID", md.StationID);//判断是否有重复数据 - if (list != null) - { - if (list.Where(p => p.ID != md.ID).Count() > 0) - { - return false; - } - - } - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_Report_FiveScreenLast md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.StationID == md.StationID && p.ID != md.ID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[5]; - proNames[0] = "StationID"; - proNames[1] = "StationNo"; - proNames[2] = "UseRate"; - proNames[3] = "PassRate"; - proNames[4] = "Remark1"; - - - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_Report_FiveScreenLast md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - - List list = db.SearchAllInfo(); - - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = list; - return JSONTools.ScriptSerialize(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_Report_FiveScreenLast SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Report/FiveScreenStandardBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Report/FiveScreenStandardBLL.cs deleted file mode 100644 index 694f068..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Report/FiveScreenStandardBLL.cs +++ /dev/null @@ -1,161 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.Report -{ - - public class FiveScreenStandardBLL - { - BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_Report_FiveScreenStandard md) - { - try - { - //var list = db.SearchInfoByKey("Name", md.Name);//判断是否有重复数据 - //if (list != null) - //{ - // if (list.Where(p => p.ID != md.ID).Count() > 0) - // { - // return false; - // } - - //} - - return db.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_Report_FiveScreenStandard md) - { - try - { - var list = db.SearchAllInfo().Where(p => p.Name == md.Name && p.ID != md.ID).ToList();//判断是否有重复数据 - if (list.Count > 0) - { - return false; - } - - //初始化要更新的字段 - string[] proNames = new string[14]; - proNames[0] = "Name"; - proNames[1] = "LastYear"; - proNames[2] = "Jan"; - proNames[3] = "Feb"; - proNames[4] = "Mar"; - proNames[5] = "Apr"; - proNames[6] = "May"; - proNames[7] = "Jun"; - proNames[8] = "Jul"; - proNames[9] = "Aug"; - proNames[10] = "Sept"; - proNames[11] = "Oct"; - proNames[12] = "Nov"; - proNames[13] = "Dec"; - - //必填字段初始化,如果不需要更新必填字段则设置为空即可,时间类型无需初始化 - //如果没有初始化必填字段,更新会报错 - //md.Des = ""; - - return db.UpdateInfo(md, proNames); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_Report_FiveScreenStandard md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(string page, string pagesize) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - - List list = db.SearchAllInfo(); - - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = list; - return JSONTools.ScriptSerialize(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_Report_FiveScreenStandard SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Show/AnalysisBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Show/AnalysisBLL.cs deleted file mode 100644 index ed09d63..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Show/AnalysisBLL.cs +++ /dev/null @@ -1,57 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.Show -{ - public class AnalysisBLL - { - BBMPTEntities dbe = new BBMPTEntities(); - BasicBLL db = new BasicBLL(); - - public List SearchInfo(string ProductName) - { - List list = new List(); - try - { - - DateTime date = DateTime.Now; - //DateTime date = Convert.ToDateTime("2019-07-08 10:00:00"); - string nowTime = date.ToString("yyyy-MM-dd"); - DateTime startTime = Convert.ToDateTime(nowTime + " 08:00:00");//班次开始时间 - DateTime endTime = Convert.ToDateTime(nowTime + " 19:59:59");//班次结束时间 - - var info = dbe.tb_InspectResult.Where(p => p.productInfo.Contains(ProductName)); - if (DateTime.Compare(date, startTime) < 0) - { - //昨天夜班 - list = info.Where(p => p.createTime > endTime.AddDays(-1) && p.createTime < startTime).ToList(); - } - - if (DateTime.Compare(date, endTime) > 0) - { - //今天夜班 - list = info.Where(p => p.createTime > endTime && p.createTime <= date).ToList(); - } - - if (DateTime.Compare(date, startTime) >= 0 && DateTime.Compare(date, endTime) <= 0) - { - //今天白班 - list = info.Where(p => p.createTime >= startTime && p.createTime <= endTime).ToList(); - } - - return list; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return list; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Stock/StockInBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Stock/StockInBLL.cs deleted file mode 100644 index 5d5d197..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Stock/StockInBLL.cs +++ /dev/null @@ -1,156 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.BLL.Stock -{ - public class StockInBLL - { - BBMPTEntities dbe = new BBMPTEntities(); - BasicBLL db = new BasicBLL(); - BasicBLL Resultdb = new BasicBLL(); - /// - /// 查询信息 - /// - /// - public string SearchInfo(string page, string pagesize, string StartTime, string EndTime, string workClass, string color, string productInfo) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - //List list = db.SearchAllInfo(); - - DateTime start = Convert.ToDateTime(StartTime); - DateTime end = Convert.ToDateTime(EndTime); - - List list = dbe.tb_StockIn.Where(p => p.createTime >= start && p.createTime <= end && "1".Equals(p.pass)).ToList(); - - //list = list.Where(p => p.createTime >= start && p.createTime <= end && "1".Equals(p.pass)).ToList(); - - List barcodeList = list.Select(m => m.barcode).ToList(); - - var resultList = dbe.tb_InspectResult.Where(p => barcodeList.Contains(p.barcode) && p.inspectResult.Contains("合格")).ToList(); - - - if (!String.IsNullOrEmpty(workClass)) - { - resultList = resultList.Where(p => p.workClass.Contains(workClass)).ToList(); - } - - if (!String.IsNullOrEmpty(color)) - { - resultList = resultList.Where(p => p.productInfo.Contains(color)).ToList(); - } - - if (!String.IsNullOrEmpty(productInfo)) - { - resultList = resultList.Where(p => p.productInfo.Contains(productInfo)).ToList(); - } - - list = list.Where(p => resultList.Select(m => m.barcode).ToList().Contains(p.barcode)).ToList(); - - if (list.Count > 0) - { - total = list.Count; - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.OrderByDescending(p => p.createTime).Skip(Skipcount).Take(Convert.ToInt32(pagesize)).ToList(); - List StockInList = new List(); - foreach (var item in list) - { - StockInModel dm = Tool.Mapper(item); - var info = resultList.FirstOrDefault(p => p.barcode == item.barcode); - if (info != null) - { - dm.workClass = info.workClass; - dm.productInfo = info.productInfo; - } - StockInList.Add(dm); - } - - JsonDataModel md = new JsonDataModel(); - md.total = total.ToString(); - md.rows = StockInList; - jsonStr = JSONTools.ScriptSerialize(md); - } - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return ""; - } - - - } - - /// - /// 查询信息 - /// - /// - public List SearchInfoAll(string StartTime, string EndTime, string workClass, string color, string productInfo) - { - try - { - List list = db.SearchAllInfo(); - - DateTime start = Convert.ToDateTime(StartTime); - DateTime end = Convert.ToDateTime(EndTime); - - list = list.Where(p => p.createTime >= start && p.createTime <= end && "1".Equals(p.pass)).ToList(); - - List barcodeList = list.Select(m => m.barcode).ToList(); - - var resultList = dbe.tb_InspectResult.Where(p => barcodeList.Contains(p.barcode) && p.inspectResult.Contains("合格")).ToList(); - - - if (!String.IsNullOrEmpty(workClass)) - { - resultList = resultList.Where(p => p.workClass.Contains(workClass)).ToList(); - } - - if (!String.IsNullOrEmpty(color)) - { - resultList = resultList.Where(p => p.productInfo.Contains(color)).ToList(); - } - - if (!String.IsNullOrEmpty(productInfo)) - { - resultList = resultList.Where(p => p.productInfo.Contains(productInfo)).ToList(); - } - - list = list.Where(p => resultList.Select(m => m.barcode).ToList().Contains(p.barcode)).ToList(); - - List StockInList = new List(); - if (list.Count > 0) - { - foreach (var item in list) - { - StockInModel dm = Tool.Mapper(item); - var info = resultList.FirstOrDefault(p => p.barcode == item.barcode); - if (info != null) - { - dm.workClass = info.workClass; - dm.productInfo = info.productInfo; - } - StockInList.Add(dm); - } - } - return StockInList; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/User/Sys_ButtonsService.cs b/喷涂上线/Code/MESClassLibrary/BLL/User/Sys_ButtonsService.cs deleted file mode 100644 index 9969e9b..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/User/Sys_ButtonsService.cs +++ /dev/null @@ -1,45 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.User; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.BLL.User -{ - /// - /// 用户按钮 - /// lx 2017-06-28 - /// - public class Sys_ButtonsService - { - /// - /// 获取用户有权限的按钮 - /// - /// - /// - /// - public List GetUserButtons(string menuID, string userID) - { - try - { - List returnList = new List(); - Sys_ButtonsData dal = new Sys_ButtonsData(); - DataTable dt = new DataTable(); - - dt = dal.GetUserButtons(menuID, userID); - returnList = Tool.ConvertTo(dt).ToList(); - - return returnList; - } - catch(Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return new List(); - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/User/Sys_NavMenuService.cs b/喷涂上线/Code/MESClassLibrary/BLL/User/Sys_NavMenuService.cs deleted file mode 100644 index b803a90..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/User/Sys_NavMenuService.cs +++ /dev/null @@ -1,83 +0,0 @@ -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using MESClassLibrary.BLL.Log; -using System.Reflection; -using System.Data; -using MESClassLibrary.DAL.User; - -namespace MESClassLibrary.BLL.User -{ - public class Sys_NavMenuService - { - /// - /// 根据userID查询用户菜单 - /// - /// - /// - public List BuilderLeftMenu(string userID) - { - try - { - List returnList = new List(); - Sys_NavMenuData dal = new Sys_NavMenuData(); - DataTable dt = new DataTable(); - List navList = new List(); - - dt = dal.BuilderLeftMenu(userID); - navList = Tool.ConvertTo(dt).ToList(); - - foreach (Sys_NavMenuInfo item in navList) - { - Sys_NavMenuInfo menuItem = BuilderItem(item, navList); - if (menuItem != null) - returnList.Add(menuItem); - - } - return returnList; - } - catch(Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 生成菜单list - /// - /// - /// - /// - /// - public Sys_NavMenuInfo BuilderItem(Sys_NavMenuInfo item, List allItem) - { - Sys_NavMenuInfo returnItem = new Sys_NavMenuInfo(); - returnItem.ItemPic = item.ItemPic; - returnItem.MenuID = item.MenuID; - returnItem.MenuName = item.MenuName; - returnItem.OrderNum = item.OrderNum; - returnItem.ParentMenuID = item.ParentMenuID; - returnItem.PowerID = item.PowerID; - returnItem.URLStr = item.URLStr; - - List subItemList = new List(); - - StringBuilder sb = new StringBuilder(); - List subList = allItem.FindAll(p => p.ParentMenuID == item.MenuID); - if (subList.Count > 0) - { - foreach (Sys_NavMenuInfo subItem in subList.OrderBy(p => p.OrderNum)) - { - returnItem.SubNavMenuList.Add(subItem); - } - } - if (returnItem.SubNavMenuList.Count == 0) - return null; - else - return returnItem; - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/User/UserBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/User/UserBLL.cs deleted file mode 100644 index 51911e2..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/User/UserBLL.cs +++ /dev/null @@ -1,313 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.User; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.BLL.User -{ - public class UserBLL - { - UserDAL db = new UserDAL(); - //用户登录 - public bool Login(UserModel md) - { - - try - { - - #region 入参校验 - if (string.IsNullOrWhiteSpace(md.Username) || string.IsNullOrWhiteSpace(md.Password)) - { - return false; - } - #endregion - - #region 登陆 - //DataTable dt = db.Search_UserInfoByUP(md.Username, Tool.MD5encryption(md.Password)); - DataTable dt = db.Search_UserInfoByUP(md.Username, md.Password); - if (dt != null && dt.Rows.Count > 0) - { - #region 记录用户登录日志-暂注销 - //md.ID = dt.Rows[0]["ID"].ToString(); - //md.TrueName = dt.Rows[0]["TrueName"].ToString(); - //md.FaceURL = dt.Rows[0]["FaceURL"].ToString(); - //md.RoleID = dt.Rows[0]["RoleID"].ToString(); - //md.RoleName = dt.Rows[0]["RoleName"].ToString(); - //md.RoleJurisdiction = dt.Rows[0]["RoleJurisdiction"].ToString(); - //md.CompanyPost = dt.Rows[0]["CompanyPost"].ToString(); - //md.ContactWay = dt.Rows[0]["ContactWay"].ToString(); - //md.CreateUserID = dt.Rows[0]["CreateUserID"].ToString(); - //md.IsUseing = (int)dt.Rows[0]["IsUseing"]; - //db.Add_UserLoginInfo(md.ID); - #endregion - return true; - } - else - { - return false; - } - - #endregion - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 新增用户信息 - /// - /// - /// - public bool AddUserInfo(UserModel md) - { - //try - //{ - // DataTable dt = db.Search_UserInfoByUserName(md.ID, md.Username); - // if (dt != null && dt.Rows.Count > 0) - // { - // return false; - // } - // md.Password = Tool.MD5encryption(md.Password); - // return db.Add_UserInfo(md); - //} - //catch (Exception ex) - //{ - // LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - // return false; - //} - - return false; - - } - /// - /// 修改用户信息 - /// - /// - /// - /// - public bool UpdateUserInfo(UserModel md, int flag) - { - try - { - //DataTable dt = db.Search_UserInfoByUserName(md.ID, md.Username); - //if (dt != null && dt.Rows.Count > 0) - //{ - // return false; - //} - - //if (flag == 1) - //{ - // md.Password = Tool.MD5encryption(md.Password); - //} - //return db.Update_UserInfo(md); - return false; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 修改用户密码 - /// - /// - /// - /// - /// - public bool UpdateUserPassword(string oldpassword, string newpassword, string id) - { - try - { - DataTable dt = db.Search_UserInfoByID(id); - if (dt != null && dt.Rows.Count > 0) - { - if (dt.Rows[0]["Password"].ToString() == Tool.MD5encryption(oldpassword)) - { - //如果输入的旧密码有效 - UserModel md = new UserModel(); - md.ID = id; - md.Username = dt.Rows[0]["Username"].ToString(); - md.Password = Tool.MD5encryption(newpassword); - md.TrueName = dt.Rows[0]["TrueName"].ToString(); - md.FaceURL = dt.Rows[0]["FaceURL"].ToString(); - md.RoleID = dt.Rows[0]["RoleID"].ToString(); - md.UpdateUserID = id; - return db.Update_UserInfo(md); - } - } - return false; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// - /// - /// - /// - /// - public bool DelUserInfoByID(string id, string userid) - { - try - { - return db.Del_Info(db.GetTableName(), id, userid); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - #region 查询用户信息 - /// - /// 查询全部用户信息 - /// - /// - public DataTable SearchUserInfo() - { - try - { - return db.Search_UserInfo(); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - /// - /// 根据ID查询用户信息 - /// - /// - /// - public DataTable SearchUserInfoByID(string id) - { - try - { - return db.Search_UserInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - /// - /// 根据登录账号查询用户信息 - /// - /// - /// - public DataTable SearchUserInfoByUserName(string username) - { - try - { - DataTable dt = db.Search_UserInfoByUserName(username); - if (dt != null && dt.Rows.Count > 0) - { - return dt; - } - return null; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 根据角色ID查询用户信息 - /// - /// 角色主键ID - /// - public DataTable SearchUserInfoByRoleID(string roleid) - { - try - { - DataTable dt = db.Search_UserInfoByRoleID(roleid); - if (dt != null && dt.Rows.Count > 0) - { - return dt; - } - return null; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - /// - /// 查询用户登录记录 - /// - /// - public DataTable SearchUserLoginInfo() - { - try - { - return db.Search_UserLoginInfo(); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - - public string GetComboboxData() - { - try - { - - string jsonStr = "[]"; - DataTable dt = db.Search_UserInfo(); - if (dt!=null && dt.Rows.Count>0) - { - List list = new List(); - for (int i = 0; i < dt.Rows.Count; i++) - { - T_Sys_Users md = new T_Sys_Users(); - md.UserID = (Guid)dt.Rows[i]["UserID"]; - md.RealName = dt.Rows[i]["RealName"].ToString(); - list.Add(md); - } - jsonStr = JSONTools.ScriptSerialize>(list); - } - return jsonStr; - } - catch (Exception ex) - { - return ""; - } - } - - - - #endregion - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Weight/WeightBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Weight/WeightBLL.cs deleted file mode 100644 index 03f8779..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Weight/WeightBLL.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.Weight; - -namespace MESClassLibrary.BLL.Weight -{ - public class WeightBLL - { - WeighDAL da=new WeighDAL(); - public DataTable SearchInfo(string Conn) - { - try - { - return da.SearchInfo(Conn); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/Weight/WeightRecordBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/Weight/WeightRecordBLL.cs deleted file mode 100644 index 9bc94fd..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/Weight/WeightRecordBLL.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.Weight; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL.Weight -{ - public class WeightRecordBLL - { - WeightRecordDAL da=new WeightRecordDAL(); - public DataTable SearchMaxIDByDevice(string Device) - { - try - { - return da.SearchMaxIDByDevice(Device); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool AddInfo(WeightRecordModel md) - { - try - { - return da.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/ZPPlan/ZPBomBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/ZPPlan/ZPBomBLL.cs deleted file mode 100644 index bebc62b..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/ZPPlan/ZPBomBLL.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.ZPPlan; - -namespace MESClassLibrary.BLL.ZPPlan -{ - public class ZPBomBLL - { - ZPBomDAL da=new ZPBomDAL(); - - public DataTable IsMath(string stationNo, string partNo1, string partNo2) - { - try - { - return da.IsMath(stationNo, partNo1, partNo2); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchPartAndMould(string stationNo, string partNo1, string mould) - { - try - { - return da.SearchPartAndMould(stationNo, partNo1, mould); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/ZPPlan/ZPPlanBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/ZPPlan/ZPPlanBLL.cs deleted file mode 100644 index 8071a1e..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/ZPPlan/ZPPlanBLL.cs +++ /dev/null @@ -1,313 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.ZPPlan; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.BLL.BasicInfo -{ - public class ZPPlanBLL - { - readonly BasicBLL db = new BasicBLL(); - - /// - /// 新增信息 - /// - /// - /// - public bool AddInfo(tb_ZPPlan md) - { - try - { - var now = DateTime.Now; - md.ID = Guid.NewGuid().ToString(); - md.CreateTime = now; - md.OrderNo = now.ToString("yyyMMdd"); - md.IsFinish = 0; - md.ProductCount = 0; - md.BadCount = 0; - md.Item = GetItem(md.OrderNo); - var result = db.AddInfo(md); - return result; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - private int GetItem(string orderNo) - { - var lastItem = db.Search(q => q.OrderNo == orderNo, q => q.CreateTime).LastOrDefault(); - return lastItem == null ? 1 : (lastItem.Item.Value + 1); - } - - /// - /// 修改信息 - /// - /// - /// - public bool UpdateInfo(tb_ZPPlan md, ref string msg) - { - try - { - var data = db.SearchInfoByID(md.ID); - if (data.IsFinish == 1) - { - msg = "该计划已经完成"; - return false; - } - if (data.ProductCount.GetValueOrDefault(0).CompareTo(md.OrderCount) > 0) - { - msg = "计划数量不能小于完成数量"; - return false; - } - if (data.ProductCount.GetValueOrDefault(0) == 0) - { - data.StationID = md.StationID; - data.PartNo = md.PartNo; - data.OrderDate = md.OrderDate; - } - - data.IsOneMore = md.IsOneMore; - data.OrderCount = md.OrderCount; - return db.UpdateInfo(data); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - msg = ex.ToString(); - return false; - } - - } - - /// - /// 删除信息 - /// - /// - /// - /// - public bool DeleteInfo(tb_ZPPlan md) - { - try - { - return db.DelInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 查询全部信息分页 - /// - /// - public string SearchInfoAll(int page, - int pagesize, - string startTime, - string endTime, - string partNo) - { - try - { - string jsonStr = "[]"; - int total = 0;//总行数 - IEnumerable list = SearchDB(startTime, endTime, partNo); - if (list.Any()) - { - List modelList = new List(); - total = list.Count(); - int Skipcount = (Convert.ToInt32(page) - 1) * Convert.ToInt32(pagesize); - list = list.Skip(Skipcount).Take(Convert.ToInt32(pagesize)); - - ProductBLL prodBll = new ProductBLL(); - var prodList = prodBll.SearchAll(); - StationBLL stationBll = new StationBLL(); - var stationList = stationBll.SearchAll(); - - foreach (var item in list) - { - var prodInfo = prodList.Where(q => q.PartNo == item.PartNo).FirstOrDefault(); - var stationInfo = stationList.Where(q => q.StationID == item.StationID).FirstOrDefault(); - - ZPPlanModel zpm = Tool.Mapper(item); - zpm.StationNo = stationInfo == null ? "" : stationInfo.StationNo; - zpm.ProductName = prodInfo == null ? "" : prodInfo.ProductName; - - modelList.Add(zpm); - } - - JsonDataModel md = new JsonDataModel - { - total = total.ToString(), - rows = modelList - }; - jsonStr = md.ToSerializer(); - } - - return jsonStr; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public List SearchByCreateTime(string startTime, string endTime, string partNo) - { - IEnumerable list = SearchDB(startTime, endTime, partNo); - List modelList = new List(); - if (list.Any()) - { - ProductBLL prodBll = new ProductBLL(); - var prodList = prodBll.SearchAll(); - StationBLL stationBll = new StationBLL(); - var stationList = stationBll.SearchAll(); - - foreach (var item in list) - { - var prodInfo = prodList.Where(q => q.PartNo == item.PartNo).FirstOrDefault(); - var stationInfo = stationList.Where(q => q.StationID == item.StationID).FirstOrDefault(); - - ZPPlanModel zpm = Tool.Mapper(item); - zpm.StationNo = stationInfo == null ? "" : stationInfo.StationNo; - zpm.ProductName = prodInfo == null ? "" : prodInfo.ProductName; - - modelList.Add(zpm); - } - } - return modelList; - } - - public IEnumerable SearchDB(string startTime, string endTime, string partNo) - { - DateTime st, et; - if (!DateTime.TryParse(startTime, out st)) st = DateTime.MinValue; - if (!DateTime.TryParse(endTime, out et)) et = DateTime.MaxValue; - - IEnumerable list; - if (string.IsNullOrEmpty(partNo)) - { - list = db.Search( - q => (q.CreateTime >= st && - q.CreateTime <= et) && - q.IsFinish == 0, - q => q.CreateTime); - } - else - { - list = db.Search(q => q.PartNo.Contains(partNo) && q.IsFinish == 0, q => q.CreateTime); - } - return list; - } - - /// - /// 查询全部信息 - /// - /// - public List SearchAll() - { - try - { - var s_list = db.SearchAllInfo(); - return s_list; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 根据ID查询信息 - /// - /// - /// - public tb_ZPPlan SearchInfoByID(string id) - { - try - { - return db.SearchInfoByID(id); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - public DataTable GetProductingPlan(string station) - { - try - { - ZPPlanDAL dal=new ZPPlanDAL(); - - return dal.GetProductingPlan(station); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable GetPlan(string station, int flag, string planTime) - { - try - { - ZPPlanDAL dal = new ZPPlanDAL(); - - return dal.GetPlan(station, flag,planTime); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool updateQty(ZPPlanModel md) - { - try - { - ZPPlanDAL dal = new ZPPlanDAL(); - - return dal.updateQty(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool updateBad(ZPPlanModel md) - { - try - { - ZPPlanDAL dal = new ZPPlanDAL(); - - return dal.updateBad(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/ZPPlan/ZPRecordBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/ZPPlan/ZPRecordBLL.cs deleted file mode 100644 index 843ee59..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/ZPPlan/ZPRecordBLL.cs +++ /dev/null @@ -1,82 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.ZPPlan; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL.ZPPlan -{ - public class ZPRecordBLL - { - ZPRecordDAL da=new ZPRecordDAL(); - - public bool AddInfo(ZPRecordModel md) - { - try - { - return da.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchInfo(string barCode) - { - try - { - return da.SearchInfo(barCode); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchPrint(string stockNo) - { - try - { - return da.SearchPrint(stockNo); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchBarCode(string stockNo,string batch) - { - try - { - return da.SearchBarCode(stockNo, batch); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool UpdatePrint(ZPRecordModel md) - { - try - { - return da.UpdatePrint(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/ZPPlan/ZPTagBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/ZPPlan/ZPTagBLL.cs deleted file mode 100644 index 9b56000..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/ZPPlan/ZPTagBLL.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.ZPPlan; - -namespace MESClassLibrary.BLL.ZPPlan -{ - public class ZPTagBLL - { - ZPTagDAL da=new ZPTagDAL(); - - public DataTable SearchRead() - { - try - { - return da.SearchRead(); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchWrite() - { - try - { - return da.SearchWrite(); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/BLL/ZPPlan/ZPTagValueBLL.cs b/喷涂上线/Code/MESClassLibrary/BLL/ZPPlan/ZPTagValueBLL.cs deleted file mode 100644 index 6d3c0cf..0000000 --- a/喷涂上线/Code/MESClassLibrary/BLL/ZPPlan/ZPTagValueBLL.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.DAL.ZPPlan; -using MESClassLibrary.Model; - -namespace MESClassLibrary.BLL.ZPPlan -{ - public class ZPTagValueBLL - { - ZPTagValueDAL da=new ZPTagValueDAL(); - - public bool AddInfo(ZPTagValueModel md) - { - try - { - return da.AddInfo(md); - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/BaseDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/BaseDAL.cs deleted file mode 100644 index 6404058..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/BaseDAL.cs +++ /dev/null @@ -1,211 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Data.Entity.Infrastructure; -using System.Diagnostics.Contracts; -using System.Linq; -using System.Linq.Expressions; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.DAL -{ - public class BaseDAL where T : class, new() - { - /// - /// 数据上下文对象 - /// - BBMPTEntities db = new BBMPTEntities(); - - #region 1.0 新增 实体 +int Add(T model) - /// - /// 新增 实体 - /// - /// - /// - public int Add(T model) - { - db.Set().Add(model); - return db.SaveChanges();//保存成功后,会将自增的id设置给 model的 主键属性,并返回受影响行数 - } - #endregion - - #region 2.0 根据 id 删除 +int Del(T model) - /// - /// 根据 id 删除 - /// - /// 包含要删除id的对象 - /// - public int Del(T model) - { - db.Set().Attach(model); - db.Set().Remove(model); - return db.SaveChanges(); - } - #endregion - - #region 3.0 根据条件删除 +int DelBy(Expression> delWhere) - /// - /// 3.0 根据条件删除 - /// - /// - /// - public int DelBy(Expression> delWhere) - { - //3.1查询要删除的数据 - List listDeleting = db.Set().Where(delWhere).ToList(); - //3.2将要删除的数据 用删除方法添加到 EF 容器中 - listDeleting.ForEach(u => - { - db.Set().Attach(u);//先附加到 EF容器 - db.Set().Remove(u);//标识为 删除 状态 - }); - //3.3一次性 生成sql语句到数据库执行删除 - return db.SaveChanges(); - } - #endregion - - #region 4.0 修改 +int Modify(T model, params string[] proNames) - /// - /// 4.0 修改,如: - /// T u = new T() { uId = 1, uLoginName = "asdfasdf" }; - /// this.Modify(u, "uLoginName"); - /// - /// 要修改的实体对象 - /// 要修改的 属性 名称 - /// - public int Modify(T model, params string[] proNames) - { - //4.1将 对象 添加到 EF中 - DbEntityEntry entry = db.Entry(model); - //4.2先设置 对象的包装 状态为 Unchanged - entry.State = System.Data.EntityState.Unchanged; - //4.3循环 被修改的属性名 数组 - foreach (string proName in proNames) - { - //4.4将每个 被修改的属性的状态 设置为已修改状态;后面生成update语句时,就只为已修改的属性 更新 - entry.Property(proName).IsModified = true; - } - //4.4一次性 生成sql语句到数据库执行 - return db.SaveChanges(); - } - - public int Modify(T model) - { - DbEntityEntry entry = db.Entry(model); - entry.State = System.Data.EntityState.Modified; - return db.SaveChanges(); - } - #endregion - - #region 4.0 批量修改 +int Modify(T model, Expression> whereLambda, params string[] modifiedProNames) - /// - /// 4.0 批量修改 - /// - /// 要修改的实体对象 - /// 查询条件 - /// 要修改的 属性 名称 - /// - public int ModifyBy(T model, Expression> whereLambda, params string[] modifiedProNames) - { - //4.1查询要修改的数据 - List listModifing = db.Set().Where(whereLambda).ToList(); - - //获取 实体类 类型对象 - Type t = typeof(T); // model.GetType(); - //获取 实体类 所有的 公有属性 - List proInfos = t.GetProperties(BindingFlags.Instance | BindingFlags.Public).ToList(); - //创建 实体属性 字典集合 - Dictionary dictPros = new Dictionary(); - //将 实体属性 中要修改的属性名 添加到 字典集合中 键:属性名 值:属性对象 - proInfos.ForEach(p => - { - if (modifiedProNames.Contains(p.Name)) - { - dictPros.Add(p.Name, p); - } - }); - - //4.3循环 要修改的属性名 - foreach (string proName in modifiedProNames) - { - //判断 要修改的属性名是否在 实体类的属性集合中存在 - if (dictPros.ContainsKey(proName)) - { - //如果存在,则取出要修改的 属性对象 - PropertyInfo proInfo = dictPros[proName]; - //取出 要修改的值 - object newValue = proInfo.GetValue(model, null); //object newValue = model.uName; - - //4.4批量设置 要修改 对象的 属性 - foreach (T usrO in listModifing) - { - //为 要修改的对象 的 要修改的属性 设置新的值 - proInfo.SetValue(usrO, newValue, null); //usrO.uName = newValue; - } - } - } - //4.4一次性 生成sql语句到数据库执行 - return db.SaveChanges(); - } - #endregion - - #region 5.0 根据条件查询 +List GetListBy(Expression> whereLambda) - /// - /// 5.0 根据条件查询 +List GetListBy(Expression> whereLambda) - /// - /// - /// - public List GetListBy(Expression> whereLambda) - { - return db.Set().AsNoTracking().Where(whereLambda).ToList(); - } - #endregion - - #region 5.1 根据条件 排序 和查询 + List GetListBy - /// - /// 5.1 根据条件 排序 和查询 - /// - /// 排序字段类型 - /// 查询条件 lambda表达式 - /// 排序条件 lambda表达式 - /// - public List GetListBy(Expression> whereLambda, Expression> orderLambda) - { - return db.Set().Where(whereLambda).OrderBy(orderLambda).ToList(); - } - #endregion - - #region 6.0 分页查询 + List GetPagedList - /// - /// 6.0 分页查询 + List GetPagedList - /// - /// 页码 - /// 页容量 - /// 条件 lambda表达式 - /// 排序 lambda表达式 - /// - public List GetPagedList(int pageIndex, int pageSize, Expression> whereLambda, Expression> orderBy) - { - // 分页 一定注意: Skip 之前一定要 OrderBy - return db.Set().Where(whereLambda).OrderBy(orderBy).Skip((pageIndex - 1) * pageSize).Take(pageSize).ToList(); - } - #endregion - - public int GetCount(Expression> whereLambda) - { - return db.Set().Count(whereLambda); - } - - public T Find(params object[] keyValues) - { - return db.Set().Find(keyValues); - } - - public List FindAll() - { - return db.Set().ToList(); - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/BasicDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/BasicDAL.cs deleted file mode 100644 index 658e526..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/BasicDAL.cs +++ /dev/null @@ -1,51 +0,0 @@ -using MESClassLibrary.BLL.Log; -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.DAL -{ - public class BasicDAL - { - public bool Del_Info(string tableName,string id, string userid) - { - try - { - string sql = @"update " + tableName + @" set - IsUseing = @IsUseing, - DisableUserID = @DisableUserID, - DisableTime = @DisableTime - where ID=@ID"; - - SqlParameter[] param = new SqlParameter[4]; - param[0] = new SqlParameter("@IsUseing", SqlDbType.Int); - param[0].Value = 0; - - param[1] = new SqlParameter("@DisableUserID", SqlDbType.VarChar); - param[1].Value = userid; - - param[2] = new SqlParameter("@DisableTime", SqlDbType.DateTime); - param[2].Value = DateTime.Now; - - param[3] = new SqlParameter("@ID", SqlDbType.VarChar); - param[3].Value = id; - - if (SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param) > 0) - { - return true; - } - return false; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/BadInjectionDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/BadInjectionDAL.cs deleted file mode 100644 index c8c2c2e..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/BadInjectionDAL.cs +++ /dev/null @@ -1,92 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Data; -using System.Data.SqlClient; -using System.Reflection; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; - -namespace MESClassLibrary.DAL.BasicInfo -{ - public class BadInjectionDAL - { - public static string TableName = "tb_Bad_Injection"; - - public bool AddInfo(BadInjectionModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO tb_Bad_Injection (ID,OneBarCode,[BarCode],[BadPosition],[BadReason]"; - sql += ") VALUES ("; - sql += "@ID,"; - sql += "@OneBarCode,"; - sql += "@BarCode,"; - sql += "@BadPosition,"; - sql += "@BadReason)"; - - #region 添加参数 - param = new SqlParameter[5]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.ID; - - param[1] = new SqlParameter("@OneBarCode", SqlDbType.VarChar); - param[1].Value = md.OneBarCode; - - param[2] = new SqlParameter("@BarCode", SqlDbType.VarChar); - param[2].Value = md.BarCode; - - param[3] = new SqlParameter("@BadPosition", SqlDbType.VarChar); - param[3].Value = md.BadPosition; - - param[4] = new SqlParameter("@BadReason", SqlDbType.VarChar); - param[4].Value = md.BadReason; - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchByCode(string code) - { - try - { - string sql = ""; - - if (code.Contains(".")) - { - sql = @"select * from " + TableName + " where BarCode=@BarCode"; - } - else - { - sql = @"select * from " + TableName + " where OneBarCode=@BarCode"; - } - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@BarCode", SqlDbType.VarChar); - param[0].Value = code; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/BarCodeDAl.cs b/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/BarCodeDAl.cs deleted file mode 100644 index 10bab02..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/BarCodeDAl.cs +++ /dev/null @@ -1,930 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Data; -using System.Data.SqlClient; -using System.Reflection; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; -using Microsoft.SqlServer.Server; - -namespace MESClassLibrary.DAL.BasicInfo -{ - public class BarCodeDAl - { - public static string TableName = "tb_BarCode"; - public DataTable SearchInfoByPartNo(string PartNo) - { - string sql = ""; - DateTime time; - try - { - time = GetDateTime(); - if (time.Hour>=8 &&time.Hour<=23) - { - sql = @"select top 1 * from v_Code where PartNo=@PartNo and PrintType <>2 and " + - "substring([BarCode],len( [BarCode])-10,6)= right(DATENAME(yy, GETDATE()),2)+ RIGHT('00'+CAST(MONTH(GETDATE()) AS VARCHAR(2)),2)+RIGHT('00'+CAST(Day(GETDATE()) AS VARCHAR(2)),2)" + - " order by [CreateTime] desc"; - } - else - { - sql = @"select top 1 * from v_Code where PartNo=@PartNo and PrintType <>2 and " + - "substring([BarCode],len( [BarCode])-10,6)= right(DATENAME(yy, DATEADD(dd,-1, GETDATE())),2)+ RIGHT('00'+CAST(MONTH(DATEADD(dd,-1, GETDATE())) AS VARCHAR(2)),2)+RIGHT('00'+CAST(Day(DATEADD(dd,-1, GETDATE())) AS VARCHAR(2)),2)" + - " order by [CreateTime] desc"; - } - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[0].Value = PartNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable searchBarCode(string barcode ,int flag) - { - try - { - string sql = ""; - - if (flag == 1) - { - sql = @"select * from v_Code where OneBarCode=@barcode"; - } - - if (flag == 2) - { - sql = @"select * from v_Code where BarCode=@barcode"; - } - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@barcode", SqlDbType.VarChar); - param[0].Value = barcode; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - - public DataTable SearchInfoByStock(string stock) - { - string sql = ""; - DateTime time; - try - { - time = GetDateTime(); - if (time.Hour >= 8 && time.Hour <= 23) - { - sql = @"select top 1 * from " + TableName + " where StockNo=@StockNo and PrintType <>2 and " + - "substring([BarCode],len( [BarCode])-10,6)= right(DATENAME(yy, GETDATE()),2)+ RIGHT('00'+CAST(MONTH(GETDATE()) AS VARCHAR(2)),2)+RIGHT('00'+CAST(Day(GETDATE()) AS VARCHAR(2)),2)" + - " order by [CreateTime] desc"; - } - else - { - sql = @"select top 1 * from " + TableName + " where StockNo=@StockNo and PrintType <>2 and " + - "substring([BarCode],len( [BarCode])-10,6)= right(DATENAME(yy, DATEADD(dd,-1, GETDATE())),2)+ RIGHT('00'+CAST(MONTH(DATEADD(dd,-1, GETDATE())) AS VARCHAR(2)),2)+RIGHT('00'+CAST(Day(DATEADD(dd,-1, GETDATE())) AS VARCHAR(2)),2)" + - " order by [CreateTime] desc"; - } - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@StockNo", SqlDbType.VarChar); - param[0].Value = stock; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool AddInfo(BarCodeModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO " + TableName + " (ID,StationID,OneBarCode,[BarCode],[StockNo],[PrintType],[CreateTime],[IsImport],StationID2,PlanID"; - sql += ") VALUES ("; - sql += "@ID,"; - sql += "@StationID,"; - sql += "@OneBarCode,"; - sql += "@BarCode,"; - sql += "@StockNo,"; - sql += "@PrintType,"; - //sql += "@CreateTime,"; - sql += "(select getdate()),"; - sql += "@IsImport,"; - sql += "@StationID2,"; - sql += "@PlanID)"; - - #region 添加参数 - param = new SqlParameter[9]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.ID; - - param[1] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[1].Value = md.StationID; - - param[2] = new SqlParameter("@OneBarCode", SqlDbType.VarChar); - param[2].Value = md.OneBarCode; - - param[3] = new SqlParameter("@BarCode", SqlDbType.VarChar); - param[3].Value = md.BarCode; - - param[4] = new SqlParameter("@StockNo", SqlDbType.VarChar); - param[4].Value = md.StockNo; - - param[5] = new SqlParameter("@PrintType", SqlDbType.Int); - param[5].Value =md.PrintType; - - //param[6] = new SqlParameter("@CreateTime", SqlDbType.DateTime); - //param[6].Value = md.CreateTime; - - param[6] = new SqlParameter("@IsImport", SqlDbType.Text); - param[6].Value = md.Import; - - param[7] = new SqlParameter("@StationID2", SqlDbType.VarChar); - param[7].Value = md.StationID2; - - param[8] = new SqlParameter("@PlanID", SqlDbType.VarChar); - param[8].Value = md.PlanID; - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool AddInfoNew(BarCodeModel md,string tableName) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO " + tableName + " (ID,StationID,OneBarCode,[BarCode],[StockNo],[PartNo],[PrintType],[CreateTime],[IsImport],StationID2,PlanID,ProductNature"; - sql += ") VALUES ("; - sql += "@ID,"; - sql += "@StationID,"; - sql += "@OneBarCode,"; - sql += "@BarCode,"; - sql += "@StockNo,"; - sql += "@PartNo,"; - sql += "@PrintType,"; - //sql += "@CreateTime,"; - sql += "(select getdate()),"; - sql += "@IsImport,"; - sql += "@StationID2,"; - sql += "@PlanID,"; - sql += "@ProductNature)"; - - #region 添加参数 - param = new SqlParameter[11]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.ID; - - param[1] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[1].Value = md.StationID; - - param[2] = new SqlParameter("@OneBarCode", SqlDbType.VarChar); - param[2].Value = md.OneBarCode; - - param[3] = new SqlParameter("@BarCode", SqlDbType.VarChar); - param[3].Value = md.BarCode; - - param[4] = new SqlParameter("@StockNo", SqlDbType.VarChar); - param[4].Value = md.StockNo; - - param[5] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[5].Value = md.PartNo; - - param[6] = new SqlParameter("@PrintType", SqlDbType.Int); - param[6].Value = md.PrintType; - - param[7] = new SqlParameter("@IsImport", SqlDbType.Text); - param[7].Value = md.Import; - - param[8] = new SqlParameter("@StationID2", SqlDbType.VarChar); - param[8].Value = md.StationID2; - - param[9] = new SqlParameter("@PlanID", SqlDbType.VarChar); - param[9].Value = md.PlanID; - - param[10] = new SqlParameter("@ProductNature", SqlDbType.VarChar); - param[10].Value = md.ProductNature; - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchInfo(string stationNo) - { - try - { - string sql = ""; - - if (stationNo.Substring(2, 2) == "01" || stationNo.Substring(2, 2) == "02" || - stationNo.Substring(2, 2) == "03" || stationNo.Substring(2, 2) == "04") - { - sql = @"SELECT top 100 dbo.tb_BarCode1.BarCode, dbo.tb_Product.ProductName, - CASE dbo.tb_BarCode1.PrintType WHEN 0 THEN '自动打印' when 1 then '手动打印' when 2 then '补打' END AS PrintType, - dbo.tb_BarCode1.CreateTime - FROM dbo.tb_BarCode1 LEFT OUTER JOIN - dbo.tb_Product ON dbo.tb_BarCode1.StockNo = dbo.tb_Product.StockNo LEFT OUTER JOIN - dbo.tb_Station ON dbo.tb_BarCode1.StationID = dbo.tb_Station.StationID - where dbo.tb_Station.StationNo=@stationNo and IsDel=0 " + " order by [CreateTime] desc"; - } - - if (stationNo.Substring(2, 2) == "05" || stationNo.Substring(2, 2) == "06" || - stationNo.Substring(2, 2) == "07" || stationNo.Substring(2, 2) == "08") - { - sql = @"SELECT top 100 dbo.tb_BarCode2.BarCode, dbo.tb_Product.ProductName, - CASE dbo.tb_BarCode2.PrintType WHEN 0 THEN '自动打印' when 1 then '手动打印' when 2 then '补打' END AS PrintType, - dbo.tb_BarCode2.CreateTime - FROM dbo.tb_BarCode2 LEFT OUTER JOIN - dbo.tb_Product ON dbo.tb_BarCode2.StockNo = dbo.tb_Product.StockNo LEFT OUTER JOIN - dbo.tb_Station ON dbo.tb_BarCode2.StationID = dbo.tb_Station.StationID - where dbo.tb_Station.StationNo=@stationNo and IsDel=0 " + " order by [CreateTime] desc"; - } - - if (stationNo.Substring(2, 2) == "09" || stationNo.Substring(2, 2) == "10" || - stationNo.Substring(2, 2) == "11" || stationNo.Substring(2, 2) == "12") - { - sql = @"SELECT top 100 dbo.tb_BarCode3.BarCode, dbo.tb_Product.ProductName, - CASE dbo.tb_BarCode3.PrintType WHEN 0 THEN '自动打印' when 1 then '手动打印' when 2 then '补打' END AS PrintType, - dbo.tb_BarCode3.CreateTime - FROM dbo.tb_BarCode3 LEFT OUTER JOIN - dbo.tb_Product ON dbo.tb_BarCode3.StockNo = dbo.tb_Product.StockNo LEFT OUTER JOIN - dbo.tb_Station ON dbo.tb_BarCode3.StationID = dbo.tb_Station.StationID - where dbo.tb_Station.StationNo=@stationNo and IsDel=0 " + " order by [CreateTime] desc"; - } - - if (stationNo.Substring(2, 2) == "13" || stationNo.Substring(2, 2) == "14" || - stationNo.Substring(2, 2) == "15" || stationNo.Substring(2, 2) == "16") - { - sql = @"SELECT top 100 dbo.tb_BarCode4.BarCode, dbo.tb_Product.ProductName, - CASE dbo.tb_BarCode4.PrintType WHEN 0 THEN '自动打印' when 1 then '手动打印' when 2 then '补打' END AS PrintType, - dbo.tb_BarCode4.CreateTime - FROM dbo.tb_BarCode4 LEFT OUTER JOIN - dbo.tb_Product ON dbo.tb_BarCode4.StockNo = dbo.tb_Product.StockNo LEFT OUTER JOIN - dbo.tb_Station ON dbo.tb_BarCode4.StationID = dbo.tb_Station.StationID - where dbo.tb_Station.StationNo=@stationNo and IsDel=0 " + " order by [CreateTime] desc"; - } - - if (stationNo.Substring(2, 2) == "17" || stationNo.Substring(2, 2) == "18" || - stationNo.Substring(2, 2) == "19" || stationNo.Substring(2, 2) == "20") - { - sql = @"SELECT top 100 dbo.tb_BarCode5.BarCode, dbo.tb_Product.ProductName, - CASE dbo.tb_BarCode5.PrintType WHEN 0 THEN '自动打印' when 1 then '手动打印' when 2 then '补打' END AS PrintType, - dbo.tb_BarCode5.CreateTime - FROM dbo.tb_BarCode5 LEFT OUTER JOIN - dbo.tb_Product ON dbo.tb_BarCode5.StockNo = dbo.tb_Product.StockNo LEFT OUTER JOIN - dbo.tb_Station ON dbo.tb_BarCode5.StationID = dbo.tb_Station.StationID - where dbo.tb_Station.StationNo=@stationNo and IsDel=0 " + " order by [CreateTime] desc"; - } - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@stationNo", SqlDbType.VarChar); - param[0].Value = stationNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoAll() - { - try - { - string sql = @"SELECT dbo.tb_BarCode.BarCode, dbo.tb_Product.ProductName, - CASE dbo.tb_BarCode.PrintType WHEN 0 THEN '自动打印' when 1 then '手动打印' when 2 then '补打' END AS PrintType, - dbo.tb_BarCode.PrintTime - FROM dbo.tb_BarCode LEFT OUTER JOIN - dbo.tb_Product ON dbo.tb_BarCode.StockNo = dbo.tb_Product.StockNo LEFT OUTER JOIN - dbo.tb_Station ON dbo.tb_BarCode.StationID = dbo.tb_Station.StationID - where dbo.tb_Station.StationNo=@stationNo and IsDel=0 " + - //" and substring([BarCode],len( [BarCode])-10,6)= right(DATENAME(yy, GETDATE()),2)+ RIGHT('00'+CAST(MONTH(GETDATE()) AS VARCHAR(2)),2)+RIGHT('00'+CAST(Day(GETDATE()) AS VARCHAR(2)),2)" + - " order by [CreateTime] desc"; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchBarCode() - { - try - { - string sql = @"SELECT TOP (1000) dbo.tb_BarCode.BarCode, dbo.tb_Product.ProductName, - CASE dbo.tb_BarCode.PrintType WHEN 0 THEN '自动打印' WHEN 1 THEN '手动打印' WHEN 2 THEN '补打' END AS PrintType, - dbo.tb_BarCode.PrintTime, dbo.tb_BarCode.OneBarCode, dbo.tb_BarCode.PlanID, - dbo.tb_InjectPlanReport.MaterialName, dbo.tb_InjectPlanReport.BatchNo - FROM dbo.tb_BarCode LEFT OUTER JOIN - dbo.tb_InjectPlanReport ON dbo.tb_BarCode.PlanID = dbo.tb_InjectPlanReport.InjectionPlanID LEFT OUTER JOIN - dbo.tb_Product ON dbo.tb_BarCode.StockNo = dbo.tb_Product.StockNo LEFT OUTER JOIN - dbo.tb_Station ON dbo.tb_BarCode.StationID = dbo.tb_Station.StationID - WHERE (dbo.tb_BarCode.IsDel = 0) - ORDER BY dbo.tb_BarCode.CreateTime DESC"; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchBarCodeByOne(string oneBarCode) - { - try - { - string sql = @"SELECT dbo.tb_BarCode.BarCode, dbo.tb_Product.ProductName, - CASE dbo.tb_BarCode.PrintType WHEN 0 THEN '自动打印' WHEN 1 THEN '手动打印' WHEN 2 THEN '补打' END AS PrintType, - dbo.tb_BarCode.PrintTime, dbo.tb_BarCode.OneBarCode,dbo.tb_BarCode.PlanID, - dbo.tb_InjectPlanReport.MaterialName, dbo.tb_InjectPlanReport.BatchNo - FROM dbo.tb_BarCode LEFT OUTER JOIN - dbo.tb_InjectPlanReport ON dbo.tb_BarCode.PlanID = dbo.tb_InjectPlanReport.InjectionPlanID LEFT OUTER JOIN - dbo.tb_Product ON dbo.tb_BarCode.StockNo = dbo.tb_Product.StockNo LEFT OUTER JOIN - dbo.tb_Station ON dbo.tb_BarCode.StationID = dbo.tb_Station.StationID - WHERE dbo.tb_BarCode.IsDel = 0 and dbo.tb_BarCode.OneBarCode=@OneBarCode - ORDER BY dbo.tb_BarCode.CreateTime DESC"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@OneBarCode", SqlDbType.VarChar); - param[0].Value = oneBarCode; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchBarCodeByTwo(string BarCode) - { - try - { -// string sql = @"SELECT dbo.tb_BarCode.BarCode, dbo.tb_Product.ProductName, -// CASE dbo.tb_BarCode.PrintType WHEN 0 THEN '自动打印' WHEN 1 THEN '手动打印' WHEN 2 THEN '补打' END AS PrintType, -// dbo.tb_BarCode.PrintTime, dbo.tb_BarCode.OneBarCode -// FROM dbo.tb_BarCode LEFT OUTER JOIN -// dbo.tb_Product ON dbo.tb_BarCode.StockNo = dbo.tb_Product.StockNo LEFT OUTER JOIN -// dbo.tb_Station ON dbo.tb_BarCode.StationID = dbo.tb_Station.StationID -// WHERE dbo.tb_BarCode.IsDel = 0 and dbo.tb_BarCode.BarCode=@BarCode -// ORDER BY dbo.tb_BarCode.CreateTime DESC"; - string sql = @"SELECT dbo.tb_BarCode.BarCode, dbo.tb_Product.ProductName, - CASE dbo.tb_BarCode.PrintType WHEN 0 THEN '自动打印' WHEN 1 THEN '手动打印' WHEN 2 THEN '补打' END AS PrintType, - dbo.tb_BarCode.PrintTime, dbo.tb_BarCode.OneBarCode,dbo.tb_BarCode.PlanID, - dbo.tb_InjectPlanReport.MaterialName, dbo.tb_InjectPlanReport.BatchNo - FROM dbo.tb_BarCode LEFT OUTER JOIN - dbo.tb_InjectPlanReport ON dbo.tb_BarCode.PlanID = dbo.tb_InjectPlanReport.InjectionPlanID LEFT OUTER JOIN - dbo.tb_Product ON dbo.tb_BarCode.StockNo = dbo.tb_Product.StockNo LEFT OUTER JOIN - dbo.tb_Station ON dbo.tb_BarCode.StationID = dbo.tb_Station.StationID - WHERE dbo.tb_BarCode.IsDel = 0 and dbo.tb_BarCode.BarCode=@BarCode - ORDER BY dbo.tb_BarCode.CreateTime DESC"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@BarCode", SqlDbType.VarChar); - param[0].Value = BarCode; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 查找流水号 - /// - /// 零件号.批次 - /// - public DataTable SearchSerialNoByBarCode(string Code) - { - try - { - string sql = @"select top 1 * from " + TableName + " where left([BarCode],len([BarCode])-5)=@Code and PrintType <> 2" + - " order by [CreateTime] desc"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@Code", SqlDbType.VarChar); - param[0].Value = Code; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 查找流水号-New - /// - /// 零件号.批次 - /// - public DataTable SearchSerialNoByBarCodeNew(string Code,string tableName) - { - try - { - string sql = @"select top 1 * from " + tableName + " where left([BarCode],len([BarCode])-5)=@Code and PrintType <> 2" + - " order by [CreateTime] desc"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@Code", SqlDbType.VarChar); - param[0].Value = Code; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoByBarCode(string BarCode) - { - try - { - string sql = @"select top 1 * from " + TableName + " where BarCode=@BarCode order by [CreateTime] desc "; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@BarCode", SqlDbType.VarChar); - param[0].Value = BarCode; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoByBarCodeNew(string BarCode,string tableName) - { - try - { - string sql = @"select top 1 * from " + tableName + " where BarCode=@BarCode order by [CreateTime] desc "; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@BarCode", SqlDbType.VarChar); - param[0].Value = BarCode; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 更改打印时间 - /// - /// - /// - public bool UpdateInfo(BarCodeModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = @"update tb_BarCode set PrintTime=(select getdate()) where [StationID]=@StationID and PrintTime is null"; - - #region 添加参数 - param = new SqlParameter[1]; - param[0] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[0].Value = md.StationID; - - //param[1] = new SqlParameter("@PrintTime", SqlDbType.DateTime); - //param[1].Value = md.PrintTime; - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - /// - /// 删除手工打印条码 - /// - /// - /// - public bool DelBarCode(BarCodeModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = @"update tb_BarCode set IsDel=1 where BarCode=@BarCode"; - - #region 添加参数 - param = new SqlParameter[1]; - param[0] = new SqlParameter("@BarCode", SqlDbType.VarChar); - param[0].Value = md.BarCode; - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - /// - /// 删除手工打印条码-New - /// - /// - /// - public bool DelBarCode_New(BarCodeModel md,string tableName) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = @"update " + tableName + " set IsDel=1 where BarCode=@BarCode"; - - #region 添加参数 - param = new SqlParameter[1]; - param[0] = new SqlParameter("@BarCode", SqlDbType.VarChar); - param[0].Value = md.BarCode; - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DateTime GetDateTime() - { - string sql = ""; - DateTime time; - DataTable dt; - try - { - sql = @"select getdate() as time"; - - dt= SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - if (dt != null && dt.Rows.Count > 0) - { - time = Convert.ToDateTime(dt.Rows[0]["time"].ToString()); - - } - else - { - time=DateTime.Now; - } - return time; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return DateTime.Now; - } - } - - - public DataTable SearchBoxIsNull(string partNo, string StationID, string tableName, string ProductNature) - { - try - { - string sql = @"select count(*) as SumCount from " + tableName + " where PartNo=@PartNo and StationID=@StationID and BoxNo is null and PrintType in (0,1) and IsDel=0 and IsBad=0 and ProductNature=@ProductNature"; - - SqlParameter[] param = new SqlParameter[3]; - param[0] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[0].Value = partNo; - - param[1] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[1].Value = StationID; - - param[2] = new SqlParameter("@ProductNature", SqlDbType.VarChar); - param[2].Value = ProductNature; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 是否存在售后件 - /// - /// - /// - /// - /// - public DataTable IsHave(string partNo, string StationID, string tableName) - { - try - { - string sql = @"select * from " + tableName + " where PartNo=@PartNo and StationID=@StationID and BoxNo is null and PrintType in (0,1) and IsDel=0 and IsBad=0 and ProductNature='售后件'"; - - SqlParameter[] param = new SqlParameter[2]; - param[0] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[0].Value = partNo; - - param[1] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[1].Value = StationID; - - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool UpdateBoxNo(string tableName, string boxNo,string partNo) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = @"update " + tableName + " set BoxNo=@BoxNo where PartNo=@PartNo and BoxNo is null"; - - #region 添加参数 - param = new SqlParameter[2]; - param[0] = new SqlParameter("@BoxNo", SqlDbType.VarChar); - param[0].Value = boxNo; - - param[1] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[1].Value = partNo; - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool UpdateIsBad(string tableName, string onebarcode, string barcode) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - - param = new SqlParameter[1]; - - if (onebarcode != "") - { - sql = @"update " + tableName + " set IsBad=1 where OneBarCode=@OneBarCode and BoxNo is null"; - - #region 添加参数 - - param[0] = new SqlParameter("@OneBarCode", SqlDbType.VarChar); - param[0].Value = onebarcode; - - #endregion - } - - if (barcode != "") - { - sql = @"update " + tableName + " set IsBad=1 where BarCode=@BarCode and BoxNo is null"; - - #region 添加参数 - - param[0] = new SqlParameter("@BarCode", SqlDbType.VarChar); - param[0].Value = barcode; - - #endregion - } - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchCountByBox(string boxNo,string tableName) - { - try - { - string sql = @"select Count(*) as SumCount from " + tableName + " where BoxNo=@BoxNo and PrintType in (0,1) and IsDel=0 and IsBad=0"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@BoxNo", SqlDbType.VarChar); - param[0].Value = boxNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoByBox(string boxNo, string tableName) - { - try - { - string sql = @"select * from " + tableName + " where BoxNo=@BoxNo and PrintType in (0,1) and IsDel=0 "; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@BoxNo", SqlDbType.VarChar); - param[0].Value = boxNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 小件,查找箱子里需要报废的条码 - /// - /// - /// - /// - /// - public DataTable SearchBarCode(string boxNo, string tableName, string row) - { - try - { - string sql = @"select top " + row + " * from " + tableName + " where BoxNo=@BoxNo IsDel=0 order by CreateTime desc"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@BoxNo", SqlDbType.VarChar); - param[0].Value = boxNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 将产品转为市场件 - /// - /// - /// - /// - public bool updateProductNature(string tableName, string barcode) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - - param = new SqlParameter[1]; - - sql = @"update " + tableName + " set ProductNature='市场件' where BarCode=@BarCode "; - - #region 添加参数 - - param[0] = new SqlParameter("@BarCode", SqlDbType.VarChar); - param[0].Value = barcode; - - #endregion - - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - - /// - /// 根据一维码或二维码查找所有信息 - /// - /// - /// - /// - public DataTable SeachInfoByOne(string barCode, string tableName,int flag) - { - try - { - string sql = ""; - if (flag==1) - { - sql = @"select * from " + tableName + " where OneBarCode=@BarCode "; - } - else - { - sql = @"select * from " + tableName + " where BarCode=@BarCode "; - } - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@BarCode", SqlDbType.VarChar); - param[0].Value = barCode; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/BomDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/BomDAL.cs deleted file mode 100644 index ee41955..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/BomDAL.cs +++ /dev/null @@ -1,150 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; - -namespace MESClassLibrary.DAL.BasicInfo -{ - public class BomDAL - { - public DataTable SearchBom(string PartNo) - { - try - { - string sql = @"SELECT dbo.tb_Product.ProductName, dbo.tb_ProductType.ProductTypeName, dbo.tb_ProductType.ProductTypeNo, - dbo.tb_Product.PartNo, dbo.tb_Bom.PartNo2, dbo.tb_Product.StockNo - FROM dbo.tb_Bom RIGHT OUTER JOIN - dbo.tb_Product ON dbo.tb_Bom.PartNo1 = dbo.tb_Product.PartNo LEFT OUTER JOIN - dbo.tb_ProductType ON dbo.tb_Product.ProductTypeID = dbo.tb_ProductType.ProductTypeID - WHERE PartNo=@PartNo"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[0].Value = PartNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable Search(string partNo1, string partNo2) - { - try - { - string sql = "select * from tb_Bom where PartNo1=@partNo1,PartNo2=@partNo2"; - - SqlParameter[] param = new SqlParameter[2]; - param[0] = new SqlParameter("@@partNo1", SqlDbType.VarChar); - param[0].Value = partNo1; - - param[1] = new SqlParameter("@@partNo2", SqlDbType.VarChar); - param[1].Value = partNo2; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool AddInfo(BomModel md) - { - string sql = ""; - SqlParameter[] param = null; - - try - { - sql = "insert into tb_Bom(ID,,PartNo1,PartNo2) values(@ID,@partNo1,@partNo2)"; - - param = new SqlParameter[3]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.BomID; - - param[1] = new SqlParameter("@partNo1", SqlDbType.VarChar); - param[1].Value = md.PartNo1; - - param[2] = new SqlParameter("@partNo2", SqlDbType.VarChar); - param[2].Value = md.PartNo2; - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool updateInfo(BomModel md) - { - string sql = ""; - SqlParameter[] param = null; - - try - { - sql = "update tb_Bom set PartNo2=@partNo2 where PartNo1=@partNo1"; - - param = new SqlParameter[2]; - - param[0] = new SqlParameter("@partNo1", SqlDbType.VarChar); - param[0].Value = md.PartNo1; - - param[1] = new SqlParameter("@partNo2", SqlDbType.VarChar); - param[1].Value = md.PartNo2; - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool DelInfo(BomModel md) - { - string sql = ""; - SqlParameter[] param = null; - - try - { - sql = "delete from tb_Bom where PartNo1=@partNo1 and PartNo2=@partNo2 "; - - param = new SqlParameter[2]; - - param[0] = new SqlParameter("@partNo1", SqlDbType.VarChar); - param[0].Value = md.PartNo1; - - param[1] = new SqlParameter("@partNo2", SqlDbType.VarChar); - param[1].Value = md.PartNo2; - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/ColorDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/ColorDAL.cs deleted file mode 100644 index f94989e..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/ColorDAL.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.Model; - -using MESClassLibrary.BLL.Log; - -namespace MESClassLibrary.DAL.BasicInfo -{ - public class ColorDAL - { - public DataTable SearchInfoAll() - { - try - { - string sql = @"select * from [tb_Color]"; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchByName(string color) - { - try - { - string sql = @"select distinct [ColorNo] from [tb_Color] where [Des] like @Des"; - - SqlParameter[] param=new SqlParameter[1]; - - param[0] = new SqlParameter("@Des", SqlDbType.VarChar); - param[0].Value = color; - - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/DefectDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/DefectDAL.cs deleted file mode 100644 index 4c8c162..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/DefectDAL.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Data; -using System.Data.SqlClient; -using System.Reflection; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; -namespace MESClassLibrary.DAL.BasicInfo -{ - public class DefectDAL - { - public DataTable SearchInfoAll(string LineID) - { - try - { - string sql = @"SELECT * from tb_Defect where LineID=@LineID"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@LineID", SqlDbType.VarChar); - param[0].Value = LineID; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/InjectionPlanDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/InjectionPlanDAL.cs deleted file mode 100644 index 0da5ab7..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/InjectionPlanDAL.cs +++ /dev/null @@ -1,200 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Data; -using System.Data.SqlClient; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.EFModel; -using MESClassLibrary.Model; -using System.Reflection; - -namespace MESClassLibrary.DAL.BasicInfo -{ - public class InjectionPlanDAL - { - public static string TableName = "tb_InjectionPlan"; - - - /// - /// 获取当前计划 - /// - /// - /// - public DataTable SearchPlanByStation(string StationID) - { - try - { - string sql = @"SELECT top 1 dbo.tb_InjectionPlan.InjectionPlanID, dbo.tb_InjectionPlan.PartNo, dbo.tb_Station.StationNo, - dbo.tb_InjectionPlan.BeginTime, dbo.tb_InjectionPlan.PlanCount, dbo.tb_InjectionPlan.EndTime, - dbo.tb_InjectionPlan.StockNo, dbo.tb_InjectionPlan.PlanDate, dbo.tb_InjectionPlan.CompleteCount, - dbo.tb_InjectionPlan.ProductNature, dbo.tb_Product.ColorName, dbo.tb_Product.Rows, dbo.tb_Product.Cols, - dbo.tb_Product.Layers, dbo.tb_Product.PicturePath, dbo.tb_Station.StationID - FROM dbo.tb_InjectionPlan LEFT OUTER JOIN - dbo.tb_Station ON dbo.tb_InjectionPlan.StationID = dbo.tb_Station.StationID LEFT OUTER JOIN - dbo.tb_Product ON dbo.tb_InjectionPlan.StockNo = dbo.tb_Product.StockNo - WHERE (dbo.tb_Station.StationNo = @StationID) AND ((dbo.tb_InjectionPlan.IsFinish IS NULL OR dbo.tb_InjectionPlan.IsFinish=0)) - ORDER BY dbo.tb_InjectionPlan.BeginTime"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[0].Value = StationID; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 获取下一计划 - /// - /// - /// - public DataTable NextSearchPlanByStation(string StationID) - { - try - { - string sql = @"SELECT top 2 dbo.tb_Product.ProductName, dbo.tb_Station.StationNo, dbo.tb_InjectionPlan.BeginTime, dbo.tb_InjectionPlan.PlanCount,dbo.tb_Product.ProductID,dbo.tb_InjectionPlan.InjectionPlanID, - dbo.tb_InjectionPlan.EndTime, dbo.tb_InjectionPlan.StockNo, dbo.tb_InjectionPlan.PlanDate, - dbo.tb_InjectionPlan.CompleteCount, dbo.tb_Product.PartNo, dbo.tb_Product.ProductName, dbo.tb_Product.ColorName, - dbo.tb_Product.Rows, dbo.tb_Product.Cols, dbo.tb_Product.Layers, dbo.tb_Product.PicturePath,dbo.tb_Station.StationID - FROM dbo.tb_InjectionPlan LEFT OUTER JOIN - dbo.tb_Station ON dbo.tb_InjectionPlan.StationID = dbo.tb_Station.StationID LEFT OUTER JOIN - dbo.tb_Product ON dbo.tb_InjectionPlan.StockNo = dbo.tb_Product.StockNo - WHERE (dbo.tb_Station.StationNo = @StationID) AND ((dbo.tb_InjectionPlan.IsFinish IS NULL OR dbo.tb_InjectionPlan.IsFinish=0)) - ORDER BY dbo.tb_InjectionPlan.BeginTime"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[0].Value = StationID; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool UpdateFinish(InjectionPlanModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = @"update tb_InjectionPlan set IsFinish=1 ,FinishTime=getdate() - where [InjectionPlanID]=( select top 1 [InjectionPlanID] from [dbo].[tb_InjectionPlan] where (IsFinish is null or IsFinish=0 )and StationID=@StationID order by BeginTime asc)"; - - #region 添加参数 - param = new SqlParameter[1]; - param[0] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[0].Value = md.StationID; - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - - public DataTable SearchByPage(int pageIndex, int pageSize, string stationID, string stockNo) - { - try - { - - string sql = "select * FROM[dbo].[tb_InjectionPlan] "; - sql += " where 1=1 "; - if (!string.IsNullOrEmpty(stationID)) - { - sql += " and StationID = '" + stationID + "' "; - } - if (!string.IsNullOrEmpty(stockNo)) - { - sql += " and StockNo like '%" + stockNo + "%' "; - } - sql += " order by BeginTime "; - sql += " offset " + ((pageIndex - 1) * pageSize) + " rows "; - sql += " fetch next " + pageSize + " rows only "; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - public DataTable SearchByTime(int pageIndex, int pageSize, string stationID, string stockNo, string StartTime, string EndTime) - { - try - { - - string sql = "select * FROM[dbo].[tb_InjectionPlan] where BeginTime>='" + StartTime + "' and BeginTime<='" + EndTime + "' "; - if (!string.IsNullOrEmpty(stationID)) - { - sql += " and StationID = '" + stationID + "' "; - } - if (!string.IsNullOrEmpty(stockNo)) - { - sql += " and StockNo like '%" + stockNo + "%' "; - } - sql += " order by BeginTime "; - sql += " offset " + ((pageIndex - 1) * pageSize) + " rows "; - sql += " fetch next " + pageSize + " rows only "; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - - public int SearchByTimeCount(string stationID, string stockNo, string StartTime, string EndTime) - { - try - { - - string sql = "select * FROM[dbo].[tb_InjectionPlan] where BeginTime>='" + StartTime + "' and EndTime<='" + EndTime + "' "; - if (!string.IsNullOrEmpty(stationID)) - { - sql += " and StationID = '" + stationID + "' "; - } - if (!string.IsNullOrEmpty(stockNo)) - { - sql += " and StockNo like '%" + stockNo + "%' "; - } - - return SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql); - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return 0; - } - } - - - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/ModelInfoDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/ModelInfoDAL.cs deleted file mode 100644 index 229d24b..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/ModelInfoDAL.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Data; -using System.Data.SqlClient; -using System.Reflection; -using MESClassLibrary.BLL.Log; - -namespace MESClassLibrary.DAL.BasicInfo -{ - public class ModelInfoDAL - { - public DataTable SearchInfo(string ModelNo) - { - try - { - string sql = @"select * from tb_ModelInfo where ModelNo=@ModelNo"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@ModelNo", SqlDbType.VarChar); - param[0].Value = ModelNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/ModelProductDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/ModelProductDAL.cs deleted file mode 100644 index b4413bf..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/ModelProductDAL.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Data; -using System.Data.SqlClient; -using System.Reflection; -using MESClassLibrary.BLL.Log; - -namespace MESClassLibrary.DAL.BasicInfo -{ - public class ModelProductDAL - { - public DataTable SearchInfo(string ModelID, string ProuctID) - { - try - { - string sql = @"select * from tb_Model_Product where ModelID=@ModelID and ProuctID=@ProuctID"; - - SqlParameter[] param = new SqlParameter[2]; - param[0] = new SqlParameter("@ModelID", SqlDbType.VarChar); - param[0].Value = ModelID; - - param[1] = new SqlParameter("@ProuctID", SqlDbType.VarChar); - param[1].Value = ProuctID; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/OperatorDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/OperatorDAL.cs deleted file mode 100644 index bc30e15..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/OperatorDAL.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; -using System.Data; -using System.Data.SqlClient; -using System.Reflection; - -namespace MESClassLibrary.DAL.BasicInfo -{ - public class OperatorDAL - { - public static string TableName = "tb_Operator"; - - /// - /// 根据操作员姓名和工位查询 - /// - /// - /// - public DataTable SearchInfoByName(string OperatorName,string StationID) - { - try - { - string sql = @"select * from " + TableName + " where OperatorName=@OperatorName and StationID=@StationID"; - - SqlParameter[] param = new SqlParameter[2]; - param[0] = new SqlParameter("@OperatorName", SqlDbType.VarChar); - param[0].Value = OperatorName; - - param[1] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[1].Value = StationID; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoByNameAndPsw(string OperatorName, string StationID,string OperatorPsw) - { - try - { - string sql = @"select * from " + TableName + " where OperatorName=@OperatorName and StationID=@StationID and OperatorPsw=@OperatorPsw"; - - SqlParameter[] param = new SqlParameter[3]; - param[0] = new SqlParameter("@OperatorName", SqlDbType.VarChar); - param[0].Value = OperatorName; - - - param[1] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[1].Value = StationID; - - param[2] = new SqlParameter("@OperatorPsw", SqlDbType.VarChar); - param[2].Value = OperatorPsw; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/PlasticDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/PlasticDAL.cs deleted file mode 100644 index 3f398c5..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/PlasticDAL.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Runtime.Serialization; -using System.Text; -using System.Data; -using System.Data.SqlClient; -using System.Reflection; -using MESClassLibrary.BLL.Log; - -namespace MESClassLibrary.DAL.BasicInfo -{ - public class PlasticDAL - { - public DataTable SearchInfo(string partNo,string stationID) - { - try - { - string sql = @"select * from [tb_Plastic] where [PartNo]=@partNo and StationID=@StationID"; - - SqlParameter[] param = new SqlParameter[2]; - param[0] = new SqlParameter("@partNo", SqlDbType.VarChar); - param[0].Value = partNo; - - param[1] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[1].Value = stationID; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - - } - } - - public DataTable SearchPartByStation(string stationNo) - { - try - { - string sql = @"SELECT dbo.tb_Station.StationNo, dbo.tb_Product.ProductName, dbo.tb_Plastic.PartNo, dbo.tb_Product.StockNo - FROM dbo.tb_Plastic INNER JOIN - dbo.tb_Product ON dbo.tb_Plastic.PartNo = dbo.tb_Product.PartNo LEFT OUTER JOIN - dbo.tb_Station ON dbo.tb_Plastic.StationID = dbo.tb_Station.StationID - where dbo.tb_Station.StationNo=@StationNo - ORDER BY SUBSTRING(ProductName,0,4)"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@StationNo", SqlDbType.VarChar); - param[0].Value = stationNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/ProductDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/ProductDAL.cs deleted file mode 100644 index 36aba5d..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/ProductDAL.cs +++ /dev/null @@ -1,246 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Data; -using System.Data.SqlClient; -using System.Reflection; -using MESClassLibrary.Model; -using MESClassLibrary.BLL.Log; - -namespace MESClassLibrary.DAL.BasicInfo -{ - public class ProductDAL - { - public static string TableName = "tb_ProductType"; - - public DataTable SearchInfoByType(string type,string stationNo) - { - try - { - string sql = - @"SELECT dbo.tb_Product.PartName, dbo.tb_Product.ProductName, dbo.tb_ProductType.ProductTypeName, - dbo.tb_ProductType.ProductTypeNo, dbo.tb_Product.PartNo, dbo.tb_Station.StationNo, dbo.tb_Plastic.StockNo - FROM dbo.tb_Plastic LEFT OUTER JOIN - dbo.tb_Station ON dbo.tb_Plastic.StationID = dbo.tb_Station.StationID LEFT OUTER JOIN - dbo.tb_Product ON dbo.tb_Plastic.StockNo = dbo.tb_Product.StockNo LEFT OUTER JOIN - dbo.tb_ProductType ON dbo.tb_Product.ProductTypeID = dbo.tb_ProductType.ProductTypeID - WHERE dbo.tb_ProductType.ProductTypeNo=@ProductTypeNo and StationNo=@StationNo"; - - SqlParameter[] param = new SqlParameter[2]; - - param[0] = new SqlParameter("@ProductTypeNo", SqlDbType.VarChar); - param[0].Value = type; - - param[1] = new SqlParameter("@StationNo", SqlDbType.VarChar); - param[1].Value = stationNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoAllByType(string type) - { - try - { - string sql = - @"SELECT DISTINCT dbo.tb_Product.ProductName, dbo.tb_ProductType.ProductTypeName, dbo.tb_ProductType.ProductTypeNo, - dbo.tb_Product.PartNo, dbo.tb_Bom.PartNo2, dbo.tb_Product.StockNo - FROM dbo.tb_Bom RIGHT OUTER JOIN - dbo.tb_Product ON dbo.tb_Bom.PartNo1 = dbo.tb_Product.PartNo LEFT OUTER JOIN - dbo.tb_ProductType ON dbo.tb_Product.ProductTypeID = dbo.tb_ProductType.ProductTypeID - WHERE dbo.tb_ProductType.ProductTypeNo=@ProductTypeNo ORDER BY StockNo"; - - SqlParameter[] param = new SqlParameter[1]; - - param[0] = new SqlParameter("@ProductTypeNo", SqlDbType.VarChar); - param[0].Value = type; - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoByName(string ProductName, string ProductTypeNo) - { - try - { - string sql = - @"SELECT dbo.tb_Product.PartName, dbo.tb_Product.ProductName, dbo.tb_ProductType.ProductTypeName, - dbo.tb_ProductType.ProductTypeNo, dbo.tb_Product.PartNo,dbo.tb_Product.StockNo - FROM dbo.tb_ProductType RIGHT OUTER JOIN - dbo.tb_Product ON dbo.tb_ProductType.ProductTypeID = dbo.tb_Product.ProductTypeID - where dbo.tb_Product.ProductName=@ProductName and dbo.tb_ProductType.ProductTypeNo=@ProductTypeNo - ORDER BY SUBSTRING(ProductName,0,4)"; - - SqlParameter[] param = new SqlParameter[2]; - param[0] = new SqlParameter("@ProductName", SqlDbType.VarChar); - param[0].Value = ProductName; - - param[1] = new SqlParameter("@ProductTypeNo", SqlDbType.VarChar); - param[1].Value = ProductTypeNo; - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoByPartNo(string partNo) - { - try - { - //string sql = @"select * from [tb_Product] where [PartNo]=@partNo"; - string sql = @"SELECT dbo.tb_Product.*, dbo.tb_Manufacturer.ManufacturerName - FROM dbo.tb_Manufacturer RIGHT OUTER JOIN - dbo.tb_CarType ON dbo.tb_Manufacturer.ID = dbo.tb_CarType.ManufacturerID RIGHT OUTER JOIN - dbo.tb_Product ON dbo.tb_CarType.ID = dbo.tb_Product.CarTypeID where [PartNo]=@partNo"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@partNo", SqlDbType.VarChar); - param[0].Value = partNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - - } - } - - public DataTable SearchIsImportByStockNo(string StockNo) - { - try - { - string sql = @"select * from [tb_Product] where [StockNo]=@StockNo"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@StockNo", SqlDbType.VarChar); - param[0].Value = StockNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - - } - } - - public DataTable SearchIsImportByPartNo(string partNo) - { - try - { - string sql = @"select * from [tb_Product] where [PartNo]=@PartNo"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[0].Value = partNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - - } - } - - public DataTable SearchInfoByProductName(string ProductName) - { - try - { - string sql = @"select * from [tb_Product] where [ProductName]=@ProductName"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@ProductName", SqlDbType.VarChar); - param[0].Value = ProductName; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoAll() - { - try - { - string sql = @"select * from [tb_Product] where ProductTypeID='f3bbde11-7188-4910-855d-806d92d142b9'"; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - //public DataTable SearchInfoByType(string list) - //{ - // try - // { - // string sql = @"select StockNo+'-'+ProductName AS aa from [tb_Product] where StockNo+'-'+ProductName like '%' + @list + '%' and [StockNo] like '2%'"; - - // SqlParameter[] param = new SqlParameter[1]; - // param[0] = new SqlParameter("@list", SqlDbType.VarChar); - // param[0].Value = list; - - // return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - // } - // catch (Exception ex) - // { - // LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - // return null; - // } - //} - - public DataTable SearchInfoByStock(string StockNo) - { - try - { - string sql = @"select * from [tb_Product] where [StockNo]=@StockNo"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@StockNo", SqlDbType.VarChar); - param[0].Value = StockNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/ProductOfInjectionDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/ProductOfInjectionDAL.cs deleted file mode 100644 index 3d9d074..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/ProductOfInjectionDAL.cs +++ /dev/null @@ -1,265 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; -using System.Data; -using System.Data.SqlClient; -using System.Reflection; - -namespace MESClassLibrary.DAL.BasicInfo -{ - public class ProductOfInjectionDAL - { - public static string TableName = "tb_Product_Injection"; - public bool AddInfo(ProductOfInjectionModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO " + TableName + " (ID,PlanID,StationID,ProductDate,ClassName,StockNo,PartNo,ProductCount,BadCount)"; - sql += " VALUES ("; - sql += "@ID,"; - sql += "@PlanID,"; - sql += "@StationID,"; - sql += "@ProductDate,"; - sql += "@ClassName,"; - sql += "@StockNo,"; - sql += "@PartNo,"; - sql += "@ProductCount,"; - sql += "@BadCount)"; - - #region 添加参数 - param = new SqlParameter[9]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.ID; - - param[1] = new SqlParameter("@PlanID", SqlDbType.VarChar); - param[1].Value = md.PlanID; - - param[2] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[2].Value = md.StationID; - - param[3] = new SqlParameter("@ProductDate", SqlDbType.VarChar); - param[3].Value = md.ProductDate; - - param[4] = new SqlParameter("@ClassName", SqlDbType.VarChar); - param[4].Value = md.ClassName; - - param[5] = new SqlParameter("@StockNo", SqlDbType.VarChar); - param[5].Value = md.StockNo; - - param[6] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[6].Value = md.PartNo; - - param[7] = new SqlParameter("@ProductCount", SqlDbType.Int); - param[7].Value = md.ProductCount; - - param[8] = new SqlParameter("@BadCount", SqlDbType.Int); - param[8].Value = md.BadCount; - - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - public DataTable SearchCountByInfo(string station,string date,string classname,string StockNo,string PartNo) - { - try - { - string sql = @"select * from " + TableName + " where StationID=@StationID and " + - "ProductDate=@ProductDate and ClassName=@ClassName and StockNo=@StockNo and PartNo=@PartNo"; - - SqlParameter[] param = new SqlParameter[5]; - param[0] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[0].Value = station; - - param[1] = new SqlParameter("@ProductDate", SqlDbType.VarChar); - param[1].Value = date; - - param[2] = new SqlParameter("@ClassName", SqlDbType.VarChar); - param[2].Value = classname; - - param[3] = new SqlParameter("@StockNo", SqlDbType.VarChar); - param[3].Value = StockNo; - - param[4] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[4].Value = PartNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool UpdateInfo(ProductOfInjectionModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = @"update " + TableName + " set ProductCount=ProductCount+@ProductCount,BadCount=BadCount+@BadCount where StationID=@StationID and ProductDate=@ProductDate and ClassName=@ClassName and StockNo=@StockNo and PartNo=@PartNo and PlanID=@PlanID"; - - #region 添加参数 - param = new SqlParameter[8]; - param[0] = new SqlParameter("@ProductCount", SqlDbType.Int); - param[0].Value = md.ProductCount; - - param[1] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[1].Value = md.StationID; - - param[2] = new SqlParameter("@ProductDate", SqlDbType.VarChar); - param[2].Value = md.ProductDate; - - param[3] = new SqlParameter("@ClassName", SqlDbType.VarChar); - param[3].Value = md.ClassName; - - param[4] = new SqlParameter("@StockNo", SqlDbType.VarChar); - param[4].Value = md.StockNo; - - param[5] = new SqlParameter("@BadCount", SqlDbType.Int); - param[5].Value = md.BadCount; - - param[6] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[6].Value = md.PartNo; - - param[7] = new SqlParameter("@PlanID", SqlDbType.VarChar); - param[7].Value = md.PlanID; - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool UpdteBadInfo(ProductOfInjectionModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - if (md.StockNo != "") - { - sql = @"update " + TableName + " set BadCount=BadCount+@BadCount where StationID=@StationID and ProductDate=@ProductDate and ClassName=@ClassName and StockNo=@StockNo "; - } - else - { - sql = @"update " + TableName + " set BadCount=BadCount+@BadCount where StationID=@StationID and ProductDate=@ProductDate and ClassName=@ClassName and PartNo=@PartNo"; - } - - - #region 添加参数 - param = new SqlParameter[6]; - - param[0] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[0].Value = md.StationID; - - param[1] = new SqlParameter("@ProductDate", SqlDbType.VarChar); - param[1].Value = md.ProductDate; - - param[2] = new SqlParameter("@ClassName", SqlDbType.VarChar); - param[2].Value = md.ClassName; - - param[3] = new SqlParameter("@StockNo", SqlDbType.VarChar); - param[3].Value = md.StockNo; - - param[4] = new SqlParameter("@BadCount", SqlDbType.Int); - param[4].Value = md.BadCount; - - param[5] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[5].Value = md.PartNo; - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - /// - /// 开机报废减产量 - /// - /// - /// - public bool updateProductCount(ProductOfInjectionModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - if (md.StockNo != "") - { - sql = @"update " + TableName + " set ProductCount=ProductCount-@ProductCount where StationID=@StationID and ProductDate=@ProductDate and ClassName=@ClassName and StockNo=@StockNo "; - } - else - { - sql = @"update " + TableName + " set ProductCount=ProductCount-@ProductCount where StationID=@StationID and ProductDate=@ProductDate and ClassName=@ClassName and PartNo=@PartNo"; - } - - - #region 添加参数 - param = new SqlParameter[6]; - - param[0] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[0].Value = md.StationID; - - param[1] = new SqlParameter("@ProductDate", SqlDbType.VarChar); - param[1].Value = md.ProductDate; - - param[2] = new SqlParameter("@ClassName", SqlDbType.VarChar); - param[2].Value = md.ClassName; - - param[3] = new SqlParameter("@StockNo", SqlDbType.VarChar); - param[3].Value = md.StockNo; - - param[4] = new SqlParameter("@ProductCount", SqlDbType.Int); - param[4].Value = md.ProductCount; - - param[5] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[5].Value = md.PartNo; - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/ProductTypeDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/ProductTypeDAL.cs deleted file mode 100644 index 7cee704..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/ProductTypeDAL.cs +++ /dev/null @@ -1,210 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.DAL.BasicInfo -{ - public class ProductTypeDAL - { - public static string TableName = "tb_ProductType"; - public string GetTableName() - { - return TableName; - } - /// - /// 获取全部信息 - /// - /// - public DataTable SearchInfo() - { - try - { - string sql = @"select * from "+ TableName; - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 根据id查询信息 - /// - /// - /// - public DataTable SearchInfoByID(string ProductTypeID) - { - try - { - string sql = @"select * from "+ TableName + " where ProductTypeID=@ProductTypeID"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@ProductTypeID", SqlDbType.VarChar); - param[0].Value = ProductTypeID; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 根据ProductTypeNo查询信息 - /// - /// - /// - public DataTable SearchByProductTypeNo(string ProductTypeNo) - { - try - { - string sql = @"select * from " + TableName + " where ProductTypeNo=@ProductTypeNo"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@ProductTypeNo", SqlDbType.VarChar); - param[0].Value = ProductTypeNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 添加信息 - /// - /// 模型 - /// - public bool AddInfo(ProductTypeModel mod) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO " + TableName + " (ProductTypeID,ProductTypeNo,ProductTypeName,Des"; - sql += ") VALUES ("; - sql += "@ProductTypeID,"; - sql += "@ProductTypeNo,"; - sql += "@ProductTypeName,"; - sql += "@Des)"; - - #region 添加参数 - param = new SqlParameter[4]; - param[0] = new SqlParameter("@ProductTypeID", SqlDbType.VarChar); - param[0].Value = mod.ProductTypeID; - - param[1] = new SqlParameter("@ProductTypeNo", SqlDbType.VarChar); - param[1].Value = mod.ProductTypeNo; - - param[2] = new SqlParameter("@ProductTypeName", SqlDbType.VarChar); - param[2].Value = mod.ProductTypeName; - - param[3] = new SqlParameter("@Des", SqlDbType.VarChar); - param[3].Value = mod.Des; - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 更新信息 - /// - /// 模型对象 - /// - public bool UpdateInfo(ProductTypeModel md) - { - try - { - string sql = @"update " + TableName + @" set - ProductTypeNo = @ProductTypeNo, - ProductTypeName = @ProductTypeName, - Des = @Des - where ProductTypeID=@ProductTypeID"; - - SqlParameter[] param = new SqlParameter[4]; - param[0] = new SqlParameter("@ProductTypeNo", SqlDbType.VarChar); - param[0].Value = md.ProductTypeNo; - - param[1] = new SqlParameter("@ProductTypeName", SqlDbType.VarChar); - param[1].Value = md.ProductTypeName; - - param[2] = new SqlParameter("@Des", SqlDbType.VarChar); - param[2].Value = md.Des; - - param[3] = new SqlParameter("@ProductTypeID", SqlDbType.VarChar); - param[3].Value = md.ProductTypeID; - - if (SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param) > 0) - { - return true; - } - return false; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - /// - /// 更新信息 - /// - /// 模型对象 - /// - public bool DeleteInfo(string ProductTypeID) - { - try - { - string sql = @"delete from " + TableName + @" where ProductTypeID=@ProductTypeID"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@ProductTypeID", SqlDbType.VarChar); - param[0].Value = ProductTypeID; - - if (SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param) > 0) - { - return true; - } - return false; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/StationDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/StationDAL.cs deleted file mode 100644 index b2ae940..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/BasicInfo/StationDAL.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; -using System.Data; -using System.Data.SqlClient; -using System.Reflection; - -namespace MESClassLibrary.DAL.BasicInfo -{ - public class StationDAL - { - public static string TableName = "tb_Station"; - - public DataTable SearchInfoByNo(string station) - { - try - { - string sql = @"select * from " + TableName + " where StationNo=@StationNo"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@StationNo", SqlDbType.VarChar); - param[0].Value = station; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/Check/InspectResultDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/Check/InspectResultDAL.cs deleted file mode 100644 index cd98143..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/Check/InspectResultDAL.cs +++ /dev/null @@ -1,249 +0,0 @@ -using MESClassLibrary.BLL.Log; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.DAL.Check -{ - public class InspectResultDAL - { - public DataTable SearchByPage(int pageIndex, int pageSize, string StartTime, string EndTime, string position, string inspectResult) - { - try - { - //string sql = @"select top " + pageSize + " * from (select row_number() over(order by createTime desc) as rownumber,* from tb_InspectResult) temp_row "; - //sql += " where createTime>='"+ StartTime + "' and createTime<='" + EndTime + "'"; - //if (!string.IsNullOrEmpty(position)) - //{ - // sql += " and position = '" + position+"'"; - //} - //if (!string.IsNullOrEmpty(inspectResult)) - //{ - // sql += " and inspectResult like '%" + inspectResult + "%'"; - //} - //sql += " and rownumber > " + ((pageIndex - 1) * pageSize); - - string sql = "select * FROM[dbo].[tb_InspectResult] where barcode in "; - sql += "(select barcode from(select distinct barcode, createTime from [dbo].[tb_InspectResult] "; - sql += " where barcode is not null and createTime>='" + StartTime + "' and createTime<='" + EndTime + "' "; - if (!string.IsNullOrEmpty(position)) - { - sql += " and position = '" + position + "' "; - } - if (!string.IsNullOrEmpty(inspectResult)) - { - sql += " and inspectResult like '%" + inspectResult + "%' "; - } - sql += " order by createTime "; - sql += " offset " + ((pageIndex - 1) * pageSize) + " rows "; - sql += " fetch next " + pageSize + " rows only) temp_row) "; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchRepairByPage(int pageIndex, int pageSize, string StartTime, string EndTime, string inspectResult) - { - try - { - string sql = @" SELECT * FROM dbo.tb_InspectResult "; - - //sql += "(select barcode from(select distinct barcode, createTime from [dbo].[tb_InspectResult] "; - sql += " where barcode is not null and createTime>='" + StartTime + "' and createTime<='" + EndTime + "' and position='下线二检 点修补'"; - - if (!string.IsNullOrEmpty(inspectResult)) - { - sql += " and inspectResult like '%" + inspectResult + "%' "; - } - sql += " order by createTime "; - sql += " offset " + ((pageIndex - 1) * pageSize) + " rows "; - sql += " fetch next " + pageSize + " rows only "; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public int SearchCount(string StartTime, string EndTime, string position, string inspectResult) - { - try - { - string sql = "select count(1) as num from (select barcode as num FROM[dbo].[tb_InspectResult] where barcode in "; - sql += "(select distinct barcode from [dbo].[tb_InspectResult] "; - sql += " where barcode is not null and createTime>='" + StartTime + "' and createTime<='" + EndTime + "' "; - if (!string.IsNullOrEmpty(position)) - { - sql += " and position = '" + position + "' "; - } - if (!string.IsNullOrEmpty(inspectResult)) - { - sql += " and inspectResult like '%" + inspectResult + "%' "; - } - sql += " ) GROUP BY barcode) tem"; - //string sql = "select count(1) as num FROM[dbo].[tb_InspectResult] "; - //sql += " where barcode is not null and createTime>='" + StartTime + "' and createTime<='" + EndTime + "' "; - //if (!string.IsNullOrEmpty(position)) - //{ - // sql += " and position = '" + position + "' "; - //} - //if (!string.IsNullOrEmpty(inspectResult)) - //{ - // sql += " and inspectResult like '%" + inspectResult + "%' "; - //} - - return Convert.ToInt32(SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0].Rows[0]["num"].ToString()); - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return 0; - } - } - - public int SearchCountByRepair(string StartTime, string EndTime, string inspectResult) - { - string sql = @" SELECT COUNT(DISTINCT barcode) as num FROM dbo.tb_InspectResult WHERE barcode IS NOT NULL AND createTime BETWEEN '"+ StartTime + "' AND '"+ EndTime + ".999' AND position='下线二检 点修补'"; - if (!string.IsNullOrEmpty(inspectResult)) - { - sql += " and inspectResult like '%" + inspectResult + "%' "; - } - return Convert.ToInt32(SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0].Rows[0]["num"].ToString()); - } - - public DataTable Search(string StartTime, string EndTime, string position, string inspectResult) - { - try - { - - string sql = "select * FROM[dbo].[tb_InspectResult] where barcode in "; - sql += "(select distinct barcode from [dbo].[tb_InspectResult] "; - sql += " where barcode is not null and createTime<='" + EndTime + "' and createTime>='" + StartTime + "' "; - if (!string.IsNullOrEmpty(position)) - { - sql += " and position = '" + position + "' "; - } - if (!string.IsNullOrEmpty(inspectResult)) - { - sql += " and inspectResult like '%" + inspectResult + "%' "; - } - sql += " ) order by createTime"; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchByRepair(string StartTime, string EndTime, string inspectResult) - { - try - { - - string sql = "select * FROM dbo.tb_InspectResult "; - sql += " where barcode is not null and createTime<='" + EndTime + "' and createTime>='" + StartTime + "' AND position='下线二检 点修补'"; - - if (!string.IsNullOrEmpty(inspectResult)) - { - sql += " and inspectResult like '%" + inspectResult + "%' "; - } - sql += " order by createTime"; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - public DataTable SearchByPosition(string StartTime, string EndTime, string side, string product) - { - try - { - - string sql = "select * FROM[dbo].[tb_InspectResult] "; - sql += " where barcode is not null and productInfo!='' and productInfo is not null and createTime>='" + StartTime + "' and createTime<='" + EndTime + "' and inspectResult in ('[合格]','[抛光]','[报废]') and substring(productInfo,1,1) != ',' "; - if (!string.IsNullOrEmpty(side)) - { - if ("A侧".Equals(side)) - { - sql += " and (side = '" + side + "' or side ='' or side is null) "; - } - if ("B侧".Equals(side)) - { - sql += " and side = '" + side + "' "; - } - - } - if (!string.IsNullOrEmpty(product)) - { - if ("保险杠".Equals(product)) - { - sql += " and (product like '%前保%' or product like '%后保%')"; - } - } - - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchByResult(string StartTime, string EndTime, string side) - { - try - { - - string sql = "select * FROM[dbo].[tb_InspectResult] "; - sql += " where barcode is not null and createTime>='" + StartTime + "' and createTime<='" + EndTime + "' "; - sql += " and remark1 is not null and remark2 is not null"; - if (!string.IsNullOrEmpty(side)) - { - if ("A侧".Equals(side)) - { - sql += " and (side = '" + side + "' or side ='' or side is null) "; - } - if ("B侧".Equals(side)) - { - sql += " and side = '" + side + "' "; - } - - } - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/DataTableExtend.cs b/喷涂上线/Code/MESClassLibrary/DAL/DataTableExtend.cs deleted file mode 100644 index e67ea49..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/DataTableExtend.cs +++ /dev/null @@ -1,80 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Data; - -namespace MESClassLibrary.DAL -{ - public static class DataTableExtend - { - /// - /// 返回执行Select distinct后的DataTable - /// - /// 源数据表 - /// 字段集 - /// - public static DataTable SelectDistinct(DataTable SourceTable, params string[] FieldNames) - { - object[] lastValues; - DataTable newTable; - DataRow[] orderedRows; - - if (FieldNames == null || FieldNames.Length == 0) - throw new ArgumentNullException("FieldNames"); - - lastValues = new object[FieldNames.Length]; - newTable = new DataTable(); - - foreach (string fieldName in FieldNames) - newTable.Columns.Add(fieldName, SourceTable.Columns[fieldName].DataType); - - orderedRows = SourceTable.Select("", string.Join(",", FieldNames)); - - foreach (DataRow row in orderedRows) - { - if (!fieldValuesAreEqual(lastValues, row, FieldNames)) - { - newTable.Rows.Add(createRowClone(row, newTable.NewRow(), FieldNames)); - - setLastValues(lastValues, row, FieldNames); - } - } - - return newTable; - } - - private static bool fieldValuesAreEqual(object[] lastValues, DataRow currentRow, string[] fieldNames) - { - bool areEqual = true; - - for (int i = 0; i < fieldNames.Length; i++) - { - //if (lastValues[i] == null || !lastValues[i].Equals(currentRow[fieldNames[i]])) - //品牌字母有的大写,有的小写 - //if(lastValues[i] == null || lastValues[i].ToString().ToUpper()!= currentRow[fieldNames[i]].ToString().ToUpper()) - if(lastValues[i] == null || lastValues[i].ToString()!= currentRow[fieldNames[i]].ToString()) - { - areEqual = false; - break; - } - } - - return areEqual; - } - - private static DataRow createRowClone(DataRow sourceRow, DataRow newRow, string[] fieldNames) - { - foreach (string field in fieldNames) - newRow[field] = sourceRow[field].ToString();//品牌字母有的大写,有的小写 - - return newRow; - } - - private static void setLastValues(object[] lastValues, DataRow sourceRow, string[] fieldNames) - { - for (int i = 0; i < fieldNames.Length; i++) - lastValues[i] = sourceRow[fieldNames[i]]; - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/ExchangeCenter/GetNewTasksDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/ExchangeCenter/GetNewTasksDAL.cs deleted file mode 100644 index 8b0e8ae..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/ExchangeCenter/GetNewTasksDAL.cs +++ /dev/null @@ -1,123 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; - -namespace MESClassLibrary.DAL.ExchangeCenter -{ - public class GetNewTasksDAL - { - public static string TableName = "tb_GetNewTasks"; - - public bool AddInfo(GetNewTasksModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO " + TableName + " ([TaskState] ,[TaskID] ,[TableName],[TableName2],[TableName3],[Creator],[DataCount],[Subscriber] ,[FailedCount],[FailedInfo],[Domain],[Site],[GUID] ,[UID],[CreateUser],[CreateTime],[Remark],[UpdateUser] ,[UpdateTime],[IsChecked]"; - sql += ") VALUES ("; - sql += "@TaskState,"; - sql += "@TaskID,"; - sql += "@TableName,"; - sql += "@TableName2,"; - sql += "@TableName3,"; - sql += "@Creator,"; - sql += "@DataCount,"; - sql += "@Subscriber,"; - sql += "@FailedCount,"; - sql += "@FailedInfo,"; - sql += "@Domain,"; - sql += "@Site,"; - sql += "@GUID,"; - sql += "@UID,"; - sql += "@CreateUser,"; - sql += "@CreateTime,"; - sql += "@Remark,"; - sql += "@UpdateUser,"; - sql += "@UpdateTime,"; - sql += "@IsChecked)"; - - #region 添加参数 - param = new SqlParameter[20]; - param[0] = new SqlParameter("@TaskState", SqlDbType.VarChar); - param[0].Value = md.TaskState; - - param[1] = new SqlParameter("@TaskID", SqlDbType.VarChar); - param[1].Value = md.TaskID; - - param[2] = new SqlParameter("@TableName", SqlDbType.VarChar); - param[2].Value = md.TableName; - - param[3] = new SqlParameter("@TableName2", SqlDbType.VarChar); - param[3].Value = md.TableName2; - - param[4] = new SqlParameter("@TableName3", SqlDbType.VarChar); - param[4].Value = md.TableName3; - - param[5] = new SqlParameter("@Creator", SqlDbType.VarChar); - param[5].Value = md.Creator; - - param[6] = new SqlParameter("@DataCount", SqlDbType.VarChar); - param[6].Value = md.DataCount; - - param[7] = new SqlParameter("@Subscriber", SqlDbType.VarChar); - param[7].Value = md.Subscriber; - - param[8] = new SqlParameter("@FailedCount", SqlDbType.VarChar); - param[8].Value = md.FailedCount; - - param[9] = new SqlParameter("@FailedInfo", SqlDbType.VarChar); - param[9].Value = md.FailedInfo; - - param[10] = new SqlParameter("@Domain", SqlDbType.VarChar); - param[10].Value = md.Domain; - - param[11] = new SqlParameter("@Site", SqlDbType.VarChar); - param[11].Value = md.Site; - - param[12] = new SqlParameter("@GUID", SqlDbType.VarChar); - param[12].Value = md.GUID; - - param[13] = new SqlParameter("@UID", SqlDbType.VarChar); - param[13].Value = md.UID; - - param[14] = new SqlParameter("@CreateUser", SqlDbType.VarChar); - param[14].Value = md.CreateUser; - - param[15] = new SqlParameter("@CreateTime", SqlDbType.VarChar); - param[15].Value = md.CreateTime; - - param[16] = new SqlParameter("@Remark", SqlDbType.VarChar); - param[16].Value = md.Remark; - - param[17] = new SqlParameter("@UpdateUser", SqlDbType.VarChar); - param[17].Value = md.UpdateUser; - - param[18] = new SqlParameter("@UpdateTime", SqlDbType.VarChar); - param[18].Value = md.UpdateTime; - - param[19] = new SqlParameter("@IsChecked", SqlDbType.VarChar); - param[19].Value = md.IsChecked; - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/ExchangeCenter/PartMstrDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/ExchangeCenter/PartMstrDAL.cs deleted file mode 100644 index 81ae206..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/ExchangeCenter/PartMstrDAL.cs +++ /dev/null @@ -1,110 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; - -namespace MESClassLibrary.DAL.ExchangeCenter -{ - public class PartMstrDAL - { - public static string TableName = "TES_PART_MSTR"; - public bool AddInfo(PartMstrModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO " + TableName + " (GUID,PartCode,Desc1,Desc2,Um,ProdLine,AddDate,PartType,Status,Qgrade,InventoryCode,UID,Remark,TaskID,CommandType,Domain,Site"; - sql += ") VALUES ("; - sql += "@GUID,"; - sql += "@PartCode,"; - sql += "@Desc1,"; - sql += "@Desc2,"; - sql += "@Um,"; - sql += "@ProdLine,"; - sql += "@AddDate,"; - sql += "@PartType,"; - sql += "@Status,"; - sql += "@Qgrade,"; - sql += "@InventoryCode,"; - sql += "@UID,"; - sql += "@Remark,"; - sql += "@TaskID,"; - sql += "@CommandType,"; - sql += "@Domain,"; - sql += "@Site)"; - - #region 添加参数 - param = new SqlParameter[17]; - param[0] = new SqlParameter("@GUID", SqlDbType.VarChar); - param[0].Value = md.GUID; - - param[1] = new SqlParameter("@PartCode", SqlDbType.VarChar); - param[1].Value = md.PartCode; - - param[2] = new SqlParameter("@Desc1", SqlDbType.VarChar); - param[2].Value = md.Desc1; - - param[3] = new SqlParameter("@Desc2", SqlDbType.VarChar); - param[3].Value = md.Desc2; - - param[4] = new SqlParameter("@Um", SqlDbType.VarChar); - param[4].Value = md.Um; - - param[5] = new SqlParameter("@ProdLine", SqlDbType.VarChar); - param[5].Value = md.ProdLine; - - param[6] = new SqlParameter("@AddDate", SqlDbType.VarChar); - param[6].Value = md.AddDate; - - param[7] = new SqlParameter("@PartType", SqlDbType.VarChar); - param[7].Value = md.PartType; - - param[8] = new SqlParameter("@Status", SqlDbType.VarChar); - param[8].Value = md.Status; - - param[9] = new SqlParameter("@Qgrade", SqlDbType.VarChar); - param[9].Value = md.Qgrade; - - param[10] = new SqlParameter("@InventoryCode", SqlDbType.VarChar); - param[10].Value = md.InventoryCode; - - param[11] = new SqlParameter("@UID", SqlDbType.VarChar); - param[11].Value = md.UID; - - param[12] = new SqlParameter("@Remark", SqlDbType.VarChar); - param[12].Value = md.Remark; - - param[13] = new SqlParameter("@TaskID", SqlDbType.VarChar); - param[13].Value = md.TaskID; - - param[14] = new SqlParameter("@CommandType", SqlDbType.VarChar); - param[14].Value = md.CommandType; - - param[15] = new SqlParameter("@Domain", SqlDbType.VarChar); - param[15].Value = md.Domain; - - param[16] = new SqlParameter("@Site", SqlDbType.VarChar); - param[16].Value = md.Site; - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/ExchangeCenter/PartRecordDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/ExchangeCenter/PartRecordDAL.cs deleted file mode 100644 index 299ea2e..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/ExchangeCenter/PartRecordDAL.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; - -namespace MESClassLibrary.DAL.ExchangeCenter -{ - public class PartRecordDAL - { - public bool AddInfo(PartRecordModel md) - { - try - { - string sql =@"insert into tb_PartRecord (ID,PartNo,TaskID,CommandType) values(@ID,@PartNo,@TaskID,@CommandType)"; - - SqlParameter[] param=new SqlParameter[4]; - - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.ID; - - param[1] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[1].Value = md.PartNo; - - param[3] = new SqlParameter("@TaskID", SqlDbType.VarChar); - param[3].Value = md.TaskID; - - param[4] = new SqlParameter("@CommandType", SqlDbType.VarChar); - param[4].Value = md.CommandType; - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/ExchangeCenter/TESBomDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/ExchangeCenter/TESBomDAL.cs deleted file mode 100644 index 04a3075..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/ExchangeCenter/TESBomDAL.cs +++ /dev/null @@ -1,177 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; - -namespace MESClassLibrary.DAL.ExchangeCenter -{ - public class TESBomDAL - { - public static string TableName = "TES_BOM"; - - public bool AddInfo(TESBomModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO " + TableName + " (ParentPart,ComponentPart,Reference,StartEffective,QuantityPer,StructureType,EndEffective,Remarks,Scrap,LeadTimeOffset,Operation,SequenceNumber,FporecastPercent,OptionGroup,Process,GUID,UID,CreateUser,CreateTime,Remark,TaskID,CommandType,DataID,Domain,Site"; - sql += ") VALUES ("; - sql += "@ParentPart,"; - sql += "@ComponentPart,"; - sql += "@Reference,"; - sql += "@StartEffective,"; - sql += "@QuantityPer,"; - sql += "@StructureType,"; - sql += "@EndEffective,"; - sql += "@Remarks,"; - sql += "@Scrap,"; - sql += "@LeadTimeOffset,"; - sql += "@Operation,"; - sql += "@SequenceNumber,"; - sql += "@FporecastPercent,"; - sql += "@OptionGroup,"; - sql += "@Process,"; - sql += "@GUID,"; - sql += "@UID,"; - sql += "@CreateUser,"; - sql += "@CreateTime,"; - sql += "@Remark,"; - sql += "@TaskID,"; - sql += "@CommandType,"; - sql += "@DataID,"; - sql += "@Domain,"; - sql += "@Site)"; - - #region 添加参数 - param = new SqlParameter[25]; - param[0] = new SqlParameter("@ParentPart", SqlDbType.VarChar); - param[0].Value = md.ParentPart; - - param[1] = new SqlParameter("@ComponentPart", SqlDbType.VarChar); - param[1].Value = md.ComponentPart; - - param[2] = new SqlParameter("@Reference", SqlDbType.VarChar); - param[2].Value = md.Reference; - - param[3] = new SqlParameter("@StartEffective", SqlDbType.VarChar); - param[3].Value = md.StartEffective; - - param[4] = new SqlParameter("@QuantityPer", SqlDbType.VarChar); - param[4].Value = md.QuantityPer; - - param[5] = new SqlParameter("@StructureType", SqlDbType.VarChar); - param[5].Value = md.StructureType; - - param[6] = new SqlParameter("@EndEffective", SqlDbType.VarChar); - param[6].Value = md.EndEffective; - - param[7] = new SqlParameter("@Remarks", SqlDbType.VarChar); - param[7].Value = md.Remarks; - - param[8] = new SqlParameter("@Scrap", SqlDbType.VarChar); - param[8].Value = md.Scrap; - - param[9] = new SqlParameter("@LeadTimeOffset", SqlDbType.VarChar); - param[9].Value = md.LeadTimeOffset; - - param[10] = new SqlParameter("@Operation", SqlDbType.VarChar); - param[10].Value = md.Operation; - - param[11] = new SqlParameter("@SequenceNumber", SqlDbType.VarChar); - param[11].Value = md.SequenceNumber; - - param[12] = new SqlParameter("@FporecastPercent", SqlDbType.VarChar); - param[12].Value = md.FporecastPercent; - - param[13] = new SqlParameter("@OptionGroup", SqlDbType.VarChar); - param[13].Value = md.OptionGroup; - - param[14] = new SqlParameter("@Process", SqlDbType.VarChar); - param[14].Value = md.Process; - - param[15] = new SqlParameter("@GUID", SqlDbType.VarChar); - param[15].Value = md.GUID; - - param[16] = new SqlParameter("@UID", SqlDbType.VarChar); - param[16].Value = md.UID; - - param[17] = new SqlParameter("@CreateUser", SqlDbType.VarChar); - param[17].Value = md.CreateUser; - - param[18] = new SqlParameter("@CreateTime", SqlDbType.VarChar); - param[18].Value = md.CreateTime; - - param[19] = new SqlParameter("@Remark", SqlDbType.VarChar); - param[19].Value = md.Remark; - - param[20] = new SqlParameter("@TaskID", SqlDbType.VarChar); - param[20].Value = md.TaskID; - - param[21] = new SqlParameter("@CommandType", SqlDbType.VarChar); - param[21].Value = md.CommandType; - - param[22] = new SqlParameter("@DataID", SqlDbType.VarChar); - param[22].Value = md.DataID; - - param[23] = new SqlParameter("@Domain", SqlDbType.VarChar); - param[23].Value = md.Domain; - - param[24] = new SqlParameter("@Site", SqlDbType.VarChar); - param[24].Value = md.Site; - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable Search() - { - try - { - string sql = "select * from " + TableName + " where ParentPart like '%-P' and ComponentPart like 'ROH%' and Flag=0"; - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool UpdateFlag(string TaskID) - { - try - { - string sql = "update " + TableName + " set Flag=1 where TaskID=@TaskID"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@TaskID", SqlDbType.VarChar); - param[0].Value = TaskID; - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/ExchangeCenter/TESPartDetDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/ExchangeCenter/TESPartDetDAL.cs deleted file mode 100644 index ec7240a..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/ExchangeCenter/TESPartDetDAL.cs +++ /dev/null @@ -1,93 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; - -namespace MESClassLibrary.DAL.ExchangeCenter -{ - public class TESPartDetDAL - { - public static string TableName = "TES_PART_DET"; - - public bool AddInfo(TESPartDetModel md) - { - try - { - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO " + TableName + " ([GUID],[PartCode],[Site],[KeyPart],SetupTime,UID,CreateUser,CreateTime,Remark,TaskID,CommandType,DataID,Domain"; - sql += ") VALUES ("; - sql += "@GUID,"; - sql += "@PartCode,"; - sql += "@Site,"; - sql += "@KeyPart,"; - sql += "@SetupTime,"; - sql += "@UID,"; - sql += "@CreateUser,"; - sql += "@CreateTime,"; - sql += "@Remark,"; - sql += "@TaskID,"; - sql += "@CommandType,"; - sql += "@DataID,"; - sql += "@Domain)"; - - #region 添加参数 - - param = new SqlParameter[13]; - param[0] = new SqlParameter("@GUID", SqlDbType.VarChar); - param[0].Value = md.GUID; - - param[1] = new SqlParameter("@PartCode", SqlDbType.VarChar); - param[1].Value = md.PartCode; - - param[2] = new SqlParameter("@Site", SqlDbType.VarChar); - param[2].Value = md.Site; - - param[3] = new SqlParameter("@KeyPart", SqlDbType.VarChar); - param[3].Value = md.KeyPart; - - param[4] = new SqlParameter("@SetupTime", SqlDbType.VarChar); - param[4].Value = md.SetupTime; - - param[5] = new SqlParameter("@UID", SqlDbType.VarChar); - param[5].Value = md.UID; - - param[6] = new SqlParameter("@CreateUser", SqlDbType.VarChar); - param[6].Value = md.CreateUser; - - param[7] = new SqlParameter("@CreateTime", SqlDbType.VarChar); - param[7].Value = md.CreateTime; - - param[8] = new SqlParameter("@Remark", SqlDbType.VarChar); - param[8].Value = md.Remark; - - param[9] = new SqlParameter("@TaskID", SqlDbType.VarChar); - param[9].Value = md.TaskID; - - param[10] = new SqlParameter("@CommandType", SqlDbType.VarChar); - param[10].Value = md.CommandType; - - param[11] = new SqlParameter("@DataID", SqlDbType.VarChar); - param[11].Value = md.DataID; - - param[12] = new SqlParameter("@Domain", SqlDbType.VarChar); - param[12].Value = md.Domain; - - #endregion - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/Injection/DownReasonDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/Injection/DownReasonDAL.cs deleted file mode 100644 index e4a90f2..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/Injection/DownReasonDAL.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; - -namespace MESClassLibrary.DAL.Injection -{ - public class DownReasonDAL - { - public DataTable SearchReason() - { - try - { - string sql = @"select * from tb_Inhection_DownReason"; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/Injection/InjectionBoxDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/Injection/InjectionBoxDAL.cs deleted file mode 100644 index 35cabb5..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/Injection/InjectionBoxDAL.cs +++ /dev/null @@ -1,104 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Data; -using System.Data.SqlClient; -using System.Reflection; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; - -namespace MESClassLibrary.DAL.Injection -{ - public class InjectionBoxDAL - { - public static string TableName = "tb_Injection_BoxRecord"; - - public bool AddInfo(InjectionBoxModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO " + TableName + " (ID,BoxNo,BoxCount,IsFlag,BoxType"; - sql += ") VALUES ("; - sql += "@ID,"; - sql += "@BoxNo,"; - sql += "@BoxCount,"; - sql += "@IsFlag,"; - sql += "@BoxType)"; - - #region 添加参数 - param = new SqlParameter[5]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.ID; - - param[1] = new SqlParameter("@BoxNo", SqlDbType.VarChar); - param[1].Value = md.BoxNo; - - param[2] = new SqlParameter("@BoxCount", SqlDbType.Int); - param[2].Value = md.BoxCount; - - param[3] = new SqlParameter("@IsFlag", SqlDbType.Int); - param[3].Value = md.IsFlag; - - param[4] = new SqlParameter("@BoxType", SqlDbType.Int); - param[4].Value = md.BoxType; - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SeachInfoByBox(string partNo,string batchNo) - { - try - { - string sql = @"select top 1 * from " + TableName + " where substring(BoxNo,0,CHARINDEX('.',BoxNo))=@partNo and SUBSTRING(SUBSTRING(BoxNo,CHARINDEX('.',BoxNo)+1,LEN(BoxNo)),0,CHARINDEX('.',SUBSTRING(BoxNo,CHARINDEX('.',BoxNo)+1,LEN(BoxNo))))=@batchNo and IsFlag=0 order by [CreateTime] desc"; - - SqlParameter[] param = new SqlParameter[2]; - param[0] = new SqlParameter("@partNo", SqlDbType.VarChar); - param[0].Value = partNo; - - param[1] = new SqlParameter("@batchNo", SqlDbType.VarChar); - param[1].Value = batchNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchBox(string BoxNo) - { - try - { - string sql = @"select * from " + TableName + " where BoxNo=@BoxNo"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@BoxNo", SqlDbType.VarChar); - param[0].Value = BoxNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/Injection/InjectionDownRecordDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/Injection/InjectionDownRecordDAL.cs deleted file mode 100644 index a036688..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/Injection/InjectionDownRecordDAL.cs +++ /dev/null @@ -1,152 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; - -namespace MESClassLibrary.DAL.Injection -{ - public class InjectionDownRecordDAL - { - public static string TableName = "tb_Injection_DownRecord"; - public bool AddInfo(InjectionDownRecordModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = " IF NOT EXISTS (SELECT * FROM tb_Injection_DownRecord WHERE StationID=@StationID AND EndTime IS NULL ) INSERT INTO " + TableName + " ([ID] ,[StationID] ,[DownType],[DownReason],[Des],[StartTime]"; - sql += ") VALUES ("; - sql += "@ID,"; - sql += "@StationID,"; - sql += "@DownType,"; - sql += "@DownReason,"; - sql += "@Des,"; - sql += "@StartTime)"; - - #region 添加参数 - param = new SqlParameter[6]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.ID; - - param[1] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[1].Value = md.StationID; - - param[2] = new SqlParameter("@DownType", SqlDbType.VarChar); - param[2].Value = md.DownType; - - param[3] = new SqlParameter("@DownReason", SqlDbType.VarChar); - param[3].Value = md.DownReason; - - param[4] = new SqlParameter("@Des", SqlDbType.VarChar); - param[4].Value = md.Des; - - param[5] = new SqlParameter("@StartTime", SqlDbType.DateTime); - param[5].Value = md.StartTime; - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool UpdateInfo(InjectionDownRecordModel md) - { - try - { - #region 添加数据 - string sql = @"update " + TableName + " set EndTime=@EndTime WHERE [StationID]=@StationID AND EndTime IS NULL "; - SqlParameter[] param = null; - - #region 添加参数 - param = new SqlParameter[2]; - param[0] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[0].Value = md.StationID; - - param[1] = new SqlParameter("@EndTime", SqlDbType.DateTime); - param[1].Value = md.EndTime; - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - - public DataTable SearchByTime(string StartTime, string EndTime) - { - try - { - string sql = @" SELECT * FROM dbo.tb_Injection_DownRecord "; - sql += " where StationID is not null and StartTime>='" + StartTime + "' and EndTime<='" + EndTime + "'"; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - - public DataTable SearchChangeRecord(string StartTime, string EndTime, string ModelId) - { - try - { - string sql = @" SELECT s.StationNo,m.PrintDate,d.StartTime,d.DownTime,d.EndTime,m.ModelSumCount,m.ModelPrintCount,d.remark1 FROM (SELECT * FROM [dbo].[tb_ModelCount] WHERE "; - sql += "ModelID = '" + ModelId + "' and PrintDate>= '"+ StartTime + "' and PrintDate<= '"+ EndTime + "') as m "; - sql += "left join (SELECT* FROM [dbo].[tb_Injection_DownRecord] where StationID is not null and StartTime>='" + StartTime + "' and EndTime<='" + EndTime + "') as d on m.StationID = d.StationID left join tb_Station s on d.StationID = s.StationID"; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - //故障停机查询 - public DataTable SearchRepaorByTime(string StartTime, string EndTime) - { - try - { - string sql = @" SELECT d.StationID,s.StationNo,d.StartTime,d.EndTime,d.DownTime,d.Des,d.Remark1,d.Remark2,d.Remark3 FROM dbo.tb_Injection_DownRecord d "; - sql += " left join tb_Station s on d.StationID = s.StationID "; - sql += " where d.StationID is not null and d.StartTime>='" + StartTime + "' and d.EndTime<='" + EndTime + "' and d.DownType='F1F851FB-8913-40B7-A992-F28A3FD25054' order by d.StartTime"; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/Injection/InjectionQtyDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/Injection/InjectionQtyDAL.cs deleted file mode 100644 index e5edb2c..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/Injection/InjectionQtyDAL.cs +++ /dev/null @@ -1,184 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; - -namespace MESClassLibrary.DAL.Injection -{ - public class InjectionQtyDAL - { - public static string TableName = "tb_Product_Injection"; - - public bool AddInfo(InjectionQtyModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO " + TableName + " (ID,PlanID,StationID,ProductDate,ClassName,StockNo,PartNo,ProductCount,MarketCount"; - sql += ") VALUES ("; - sql += "@ID,"; - sql += "@PlanID,"; - sql += "@StationID,"; - sql += "@ProductDate,"; - sql += "@ClassName,"; - sql += "@StockNo,"; - sql += "@PartNo,"; - sql += "@ProductCount,"; - sql += "@MarketCount)"; - - #region 添加参数 - - param = new SqlParameter[9]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.ID; - - param[1] = new SqlParameter("@PlanID", SqlDbType.VarChar); - param[1].Value = md.PlanID; - - param[2] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[2].Value = md.StationID; - - param[3] = new SqlParameter("@ProductDate", SqlDbType.VarChar); - param[3].Value = md.ProductDate; - - param[4] = new SqlParameter("@ClassName", SqlDbType.VarChar); - param[4].Value = md.ClassName; - - param[5] = new SqlParameter("@StockNo", SqlDbType.VarChar); - param[5].Value = md.StockNo; - - param[6] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[6].Value = md.PartNo; - - param[7] = new SqlParameter("@ProductCount", SqlDbType.Int); - param[7].Value = md.ProductCount; - - param[8] = new SqlParameter("@MarketCount", SqlDbType.Int); - param[8].Value = md.MarketCount; - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - /// - /// 更新产量数 - /// - /// - /// - public bool UpdateQty(InjectionQtyModel md) - { - try - { - string sql = ""; - SqlParameter[] param = null; - - sql = @"update " + TableName + " set ProductCount=ProductCount+1,MarketCount=MarketCount+@MarketCount where PlanID=@PlanID and PartNo=@PartNo"; - - param = new SqlParameter[3]; - - param[0] = new SqlParameter("@PlanID", SqlDbType.VarChar); - param[0].Value = md.PlanID; - - param[1] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[1].Value = md.PartNo; - - param[2] = new SqlParameter("@MarketCount", SqlDbType.Int); - param[2].Value = md.MarketCount; - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - /// - /// 更新市场件数量 - /// - /// - /// - public bool UpdateMarketQty(InjectionQtyModel md) - { - try - { - string sql = ""; - SqlParameter[] param = null; - - sql = @"update " + TableName + " set MarketCount=@MarketCount where PlanID=@PlanID and PartNo=@PartNo"; - - param = new SqlParameter[3]; - - param[0] = new SqlParameter("@MarketCount", SqlDbType.Int); - param[0].Value = md.MarketCount; - - param[1] = new SqlParameter("@PlanID", SqlDbType.VarChar); - param[1].Value = md.PlanID; - - param[2] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[2].Value = md.PartNo; - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - /// - /// 查找产量信息 - /// - /// - /// - public DataTable SearchInfo(InjectionQtyModel md) - { - try - { - string sql = @"select * from " + TableName + " where PlanID=@PlanID and PartNo=@PartNo and ProductDate=@ProductDate and ClassName=@ClassName"; - - SqlParameter[] param = new SqlParameter[4]; - param[0] = new SqlParameter("@PlanID", SqlDbType.VarChar); - param[0].Value = md.PlanID; - - param[1] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[1].Value = md.PartNo; - - param[2] = new SqlParameter("@ProductDate", SqlDbType.VarChar); - param[2].Value = md.ProductDate; - - param[3] = new SqlParameter("@ClassName", SqlDbType.VarChar); - param[3].Value = md.ClassName; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/Injection/InjectionRecordDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/Injection/InjectionRecordDAL.cs deleted file mode 100644 index fa0119c..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/Injection/InjectionRecordDAL.cs +++ /dev/null @@ -1,115 +0,0 @@ -using MESClassLibrary.BLL.Log; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.DAL.Injection -{ - public class InjectionRecordDAL - { - public DataTable SearchByTime(string StartTime, string EndTime) - { - try - { - - string sql = "select * FROM [dbo].[tb_Product_Injection] "; - sql += " where ProductDate is not null and ProductDate>='" + StartTime + "' and ProductDate<='" + EndTime + "'"; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchProductInjectionRecord(string StartTime, string EndTime) { - - string sql = "SELECT t.PlanID,t.ProductDate,t.ClassName,t.MarketCount,s.StationNo,p.ProductName,p.IsOneMore,p.PartNo,m.ManufacturerName,r.MaterialName,r.BatchNo,pl.OpenDebugTime,pl.CycleTime,i.RealCycle,i.PlanCount,t.ProductCount,t.BadCount,pl.Weight,pl.OneWeight,ir.Waste_Weight,ir.JK_Weight,i.BeginTime,i.EndTime "; - sql += " FROM[dbo].[tb_Product_Injection] t "; - sql += " left join tb_Product p on t.PartNo = p.PartNo "; - sql += " left join tb_Station s on t.StationID = s.StationID "; - sql += " left join tb_InjectPlanReport r on t.PlanID = r.InjectionPlanID "; - sql += " left join tb_Plastic pl on t.StockNo = pl.StockNo and t.StationID = pl.StationID "; - sql += " left join tb_InjectionPlan i on t.PlanID = i.InjectionPlanID "; - sql += " left join tb_Injection_Record ir on t.PlanID = ir.PlanID "; - sql += " left join tb_CarType c on p.CarTypeID = c.id "; - sql += " left join tb_Manufacturer m on c.ManufacturerID = m.id "; - sql += " where t.ProductDate >='" + StartTime + "' and t.ProductDate <='" + EndTime + "' order by t.ProductDate,t.ClassName,t.StationID"; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - } - - public DataTable SearchProductInjectionRecordBadReason(string StartTime, string EndTime) - { - - string sql = "SELECT bc.PlanID,bi.BadReason from tb_Bad_Injection bi "; - sql += " left join v_BarCode bc on bi.OneBarCode = bc.OneBarCode "; - sql += " where bc.PlanID in (SELECT PlanID FROM tb_Product_Injection t where t.ProductDate >='"+ StartTime + "' and t.ProductDate <='"+ EndTime + "')"; - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - } - - - public DataTable SearchProductInjectionRecordDownReason(string StartTime, string EndTime) - { - - string sql = "SELECT PlanID,DownTime,DownTypeName,Reason from tb_Injection_DownRecord r "; - sql += " left join tb_Injection_DownType t on r.DownType = t.ID "; - sql += " left join tb_Inhection_DownReason s on r.DownReason = s.ID "; - sql += " where r.PlanID in (SELECT PlanID FROM tb_Product_Injection t where t.ProductDate >='" + StartTime + "' and t.ProductDate <='" + EndTime + "') and DownTime is not null"; - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - } - - - public DataTable SearchProductInjection(string StartTime, string EndTime,string StationID) - { - - string sql = "SELECT t.ID,t.ProductDate,t.ClassName,s.StationNo,t.StockNo,t.PartNo,t.ProductCount,ir.RealCycle,ir.Waste_Weight,ir.JK_Weight "; - sql += " FROM[dbo].[tb_Product_Injection] t "; - sql += " left join tb_Station s on t.StationID = s.StationID "; - sql += " left join tb_Injection_Record ir on t.ID = ir.PI_ID "; - - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - } - - - public DataTable SearchRecordByPage(int pageIndex, int pageSize, string StartTime, string EndTime, string StationID) - { - try - { - string sql = @"SELECT t.ID,t.ProductDate,t.ClassName,t.StationID,s.StationNo,t.StockNo,t.PartNo,t.ProductCount,ir.RealCycle,ir.Waste_Weight,ir.JK_Weight "; - sql += " FROM[dbo].[tb_Product_Injection] t "; - sql += " left join tb_Station s on t.StationID = s.StationID "; - sql += " left join tb_Product_Injection_w ir on t.ID = ir.ID "; - sql += " where t.ProductDate >='" + StartTime + "' and t.ProductDate <='" + EndTime + "' "; - - if (!string.IsNullOrEmpty(StationID)) - { - sql += " and t.StationID = '" + StationID + "' "; - } - sql += " order by t.ProductDate,t.ClassName,t.StationID "; - sql += " offset " + ((pageIndex - 1) * pageSize) + " rows "; - sql += " fetch next " + pageSize + " rows only "; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - - - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/Injection/PLCBreakDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/Injection/PLCBreakDAL.cs deleted file mode 100644 index 03fb967..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/Injection/PLCBreakDAL.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; - -namespace MESClassLibrary.DAL.Injection -{ - public class PLCBreakDAL - { - public DataTable SearchBreak() - { - try - { - string sql = @"select * from tb_PLC_Break order by ID"; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/Injection/PLCMouldDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/Injection/PLCMouldDAL.cs deleted file mode 100644 index 891dc93..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/Injection/PLCMouldDAL.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Data; -using System.Reflection; -using MESClassLibrary.BLL.Log; - -namespace MESClassLibrary.DAL -{ - public class PLCMouldDAL - { - public DataTable SearchMould() - { - try - { - string sql = @"select * from tb_PLC_Mould order by ID"; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/Keep/KeepRecordDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/Keep/KeepRecordDAL.cs deleted file mode 100644 index 926fb6d..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/Keep/KeepRecordDAL.cs +++ /dev/null @@ -1,41 +0,0 @@ -using MESClassLibrary.BLL.Log; -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.DAL.Keep -{ - public class KeepRecordDAL - { - public DataTable SearhByKeepPlanID(string KeepPlanID) - { - try - { - string sql = @"SELECT l.KeepLevel,d.DeviceName,i.KeepItems,r.result,kv.Version FROM [dbo].[tb_KeepRecord] r - left join tb_KeepPlan p on r.KeepPlanID = p.ID - left join tb_Device d on p.DeviceID =d.DeviceID - left join tb_KeepLevel l on p.KeepLevelID =l.ID - left join tb_KeepItemsVersion v on r.KeepItemsVersionID = v.id - left join tb_KeepItems i on v.KeepItemsID=i.ID - left join tb_KeepVersion kv on v.VersionID = kv.id - where r.KeepPlanID =@KeepPlanID"; - SqlParameter[] param = new SqlParameter[1]; - - param[0] = new SqlParameter("@KeepPlanID", SqlDbType.VarChar); - param[0].Value = KeepPlanID; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/Log/LogErrDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/Log/LogErrDAL.cs deleted file mode 100644 index e4a9d61..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/Log/LogErrDAL.cs +++ /dev/null @@ -1,107 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.DAL.Log -{ - public class LogErrDAL - { - public static string TableName = "LogErr"; - public string GetTableName() - { - return TableName; - } - /// - /// 查询全部错误信息 - /// - /// - public DataTable Search_Info() - { - try - { - string sql = @"select * from " + TableName + " order by ErrTime desc"; - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - public DataTable Search_InfoByTime(DateTime stime, DateTime etime) - { - try - { - string sql = @"select * from " + TableName + @" - where ErrTime>=@stime and ErrTime<=@etime order by ErrTime desc"; - - SqlParameter[] param = new SqlParameter[2]; - param[0] = new SqlParameter("@stime", SqlDbType.DateTime); - param[0].Value = stime; - - param[1] = new SqlParameter("@etime", SqlDbType.DateTime); - param[1].Value = etime; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - - /// - /// 添加错误信息 - /// - /// - /// - public bool Add_Info(LogErrModel mod) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO " + TableName + " (ID,ErrContent,ErrSource"; - sql += ") VALUES ("; - sql += "@ID,"; - sql += "@ErrContent,"; - sql += "@ErrSource)"; - - #region 添加参数 - param = new SqlParameter[3]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = mod.ID; - - param[1] = new SqlParameter("@ErrContent", SqlDbType.VarChar); - param[1].Value = mod.ErrContent; - - param[2] = new SqlParameter("@ErrSource", SqlDbType.VarChar); - param[2].Value = mod.ErrSource; - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - return false; - } - - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/Log/LogSysDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/Log/LogSysDAL.cs deleted file mode 100644 index 6d0595f..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/Log/LogSysDAL.cs +++ /dev/null @@ -1,106 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.DAL.Log -{ - public class LogSysDAL - { - public static string TableName = "LogSys"; - public string GetTableName() - { - return TableName; - } - /// - /// 查询全部错误信息 - /// - /// - public DataTable Search_Info() - { - try - { - string sql = @"select * from " + TableName + " order by CreateTime desc"; - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - public DataTable Search_InfoByTime(DateTime stime, DateTime etime) - { - try - { - string sql = @"select * from " + TableName + @" - where CreateTime>=@stime and CreateTime<=@etime order by CreateTime desc"; - - SqlParameter[] param = new SqlParameter[2]; - param[0] = new SqlParameter("@stime", SqlDbType.DateTime); - param[0].Value = stime; - - param[1] = new SqlParameter("@etime", SqlDbType.DateTime); - param[1].Value = etime; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - /// - /// 添加错误信息 - /// - /// - /// - public bool Add_Info(LogSysModel mod) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO " + TableName + " (ID,SysContent,SysSource"; - sql += ") VALUES ("; - sql += "@ID,"; - sql += "@SysContent,"; - sql += "@SysSource)"; - - #region 添加参数 - param = new SqlParameter[3]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = mod.ID; - - param[1] = new SqlParameter("@SysContent", SqlDbType.VarChar); - param[1].Value = mod.SysContent; - - param[2] = new SqlParameter("@SysSource", SqlDbType.VarChar); - param[2].Value = mod.SysSource; - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/Mistake247/AssemblyDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/Mistake247/AssemblyDAL.cs deleted file mode 100644 index 57b129a..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/Mistake247/AssemblyDAL.cs +++ /dev/null @@ -1,202 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; - -namespace MESClassLibrary.DAL.Mistake247 -{ - public class AssemblyDAL - { - public static string TableName = "tb_Assembly_247"; - public bool AddInfo(AssemblyModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO " + TableName + " (ID,PartNo,PartName,BatchNo,Color,ColorNo,PartType,TapeBatchNo,Validity,ValidityDate,Des,Flag"; - sql += ") VALUES ("; - sql += "@ID,"; - sql += "@PartNo,"; - sql += "@PartName,"; - sql += "@BatchNo,"; - sql += "@Color,"; - sql += "@ColorNo,"; - sql += "@PartType,"; - sql += "@TapeBatchNo,"; - sql += "@Validity,"; - sql += "@ValidityDate,"; - sql += "@Des,"; - sql += "@Flag)"; - - #region 添加参数 - param = new SqlParameter[12]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.ID; - - param[1] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[1].Value = md.PartNo; - - param[2] = new SqlParameter("@PartName", SqlDbType.VarChar); - param[2].Value = md.PartName; - - param[3] = new SqlParameter("@BatchNo", SqlDbType.VarChar); - param[3].Value = md.BatchNo; - - param[4] = new SqlParameter("@Color", SqlDbType.VarChar); - param[4].Value = md.Color; - - param[5] = new SqlParameter("@ColorNo", SqlDbType.VarChar); - param[5].Value = md.ColorNo; - - param[6] = new SqlParameter("@PartType", SqlDbType.VarChar); - param[6].Value = md.PartType; - - param[7] = new SqlParameter("@TapeBatchNo", SqlDbType.VarChar); - param[7].Value = md.TapeBatchNo; - - param[8] = new SqlParameter("@Validity", SqlDbType.VarChar); - param[8].Value = md.Validity; - - param[9] = new SqlParameter("@ValidityDate", SqlDbType.VarChar); - param[9].Value = md.ValidityDate; - - param[10] = new SqlParameter("@Des", SqlDbType.VarChar); - param[10].Value = md.Des; - - param[11] = new SqlParameter("@Flag", SqlDbType.Int); - param[11].Value = md.Flag; - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool UpdateInfo(AssemblyModel md) - { - string sql = ""; - SqlParameter[] param = null; - - try - { - sql = "update " + TableName + " set PrintTime=(select getdate()) where substring (PartNo,1,11)= @PartNo and (PrintTime is null or PrintTime='')"; - - param = new SqlParameter[1]; - param[0] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[0].Value = md.PartNo.Substring(0,11); - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - - public DataTable SearchCount(string PartNo) - { - try - { - string sql = @"SELECT count(*) as sum from tb_Assembly_247 where PartNo=@PartNo and IsPrintBox=0"; - SqlParameter[] param = new SqlParameter[1]; - - param[0] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[0].Value = PartNo; - - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool UpdatePrintFlag(AssemblyModel md) - { - string sql = ""; - SqlParameter[] param = null; - - try - { - sql = "update " + TableName + " set IsPrintBox=1 where PartNo=@PartNo and IsPrintBox =0"; - - param = new SqlParameter[1]; - param[0] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[0].Value = md.PartNo; - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool UpdatePrintFlag1(string partno) - { - string sql = ""; - SqlParameter[] param = null; - - try - { - sql = "update " + TableName + " set IsPrintBox=1 where PartNo=@PartNo and IsPrintBox =0"; - - param = new SqlParameter[1]; - param[0] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[0].Value = partno; - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable searchPartNo(string partNo) - { - try - { - string sql = @"SELECT top 1 * from tb_Assembly_247 where PartNo like '%" + partNo + "%' and Flag=0 order by CreateTime desc"; - //SqlParameter[] param = new SqlParameter[1]; - - //param[0] = new SqlParameter("@PartNo", SqlDbType.VarChar); - //param[0].Value = partNo; - - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/Mistake247/BoxDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/Mistake247/BoxDAL.cs deleted file mode 100644 index 9d0536e..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/Mistake247/BoxDAL.cs +++ /dev/null @@ -1,159 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; - -namespace MESClassLibrary.DAL.Mistake247 -{ - public class BoxDAL - { - public static string TableName = "tb_Box_247"; - public bool AddInfo(BoxModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO " + TableName + " (ID,BoxNo,PartNo,PartName,BatchNo,BoxCount,Des,Flag"; - sql += ") VALUES ("; - sql += "@ID,"; - sql += "@BoxNo,"; - sql += "@PartNo,"; - sql += "@PartName,"; - sql += "@BatchNo,"; - sql += "@BoxCount,"; - sql += "@Des,"; - sql += "@Flag)"; - - #region 添加参数 - param = new SqlParameter[8]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.ID; - - param[1] = new SqlParameter("@BoxNo", SqlDbType.VarChar); - param[1].Value = md.BoxNo; - - param[2] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[2].Value = md.PartNo; - - param[3] = new SqlParameter("@PartName", SqlDbType.VarChar); - param[3].Value = md.PartName; - - param[4] = new SqlParameter("@BatchNo", SqlDbType.VarChar); - param[4].Value = md.BatchNo; - - param[5] = new SqlParameter("@BoxCount", SqlDbType.Int); - param[5].Value = md.BoxCount; - - param[6] = new SqlParameter("@Des", SqlDbType.VarChar); - param[6].Value = md.Des; - - param[7] = new SqlParameter("@Flag", SqlDbType.Int); - param[7].Value = md.Flag; - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchByNo(string PartNo,string BatchNo) - { - try - { - string sql = @"SELECT top 1 * from " + TableName + " where PartNo=@PartNo and SUBSTRING(BoxNo,13,6)=@BatchNo order by CreateTime"; - SqlParameter[] param = new SqlParameter[2]; - - param[0] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[0].Value = PartNo; - - param[1] = new SqlParameter("@BatchNo", SqlDbType.VarChar); - param[1].Value = BatchNo; - - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool UpdateInfo(BoxModel md) - { - try - { - string sql = ""; - SqlParameter[] param = null; - sql = "update " + TableName + " set PrintTime=(select getdate()) where PartNo=@PartNo and PrintTime is null"; - - param = new SqlParameter[1]; - param[0] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[0].Value = md.PartNo; - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchBox(string partno) - { - try - { - string sql = @"SELECT top 1 * from " + TableName + " where PartNo=@PartNo and Flag=0 order by CreateTime"; - SqlParameter[] param = null; - - param = new SqlParameter[1]; - param[0] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[0].Value = partno; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchBoxIsExsit(string box) - { - try - { - string sql = @"SELECT * from " + TableName + " where BoxNo=@BoxNo"; - SqlParameter[] param = null; - - param = new SqlParameter[1]; - param[0] = new SqlParameter("@BoxNo", SqlDbType.VarChar); - param[0].Value = box; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/Mistake247/MistakeDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/Mistake247/MistakeDAL.cs deleted file mode 100644 index 83e56e3..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/Mistake247/MistakeDAL.cs +++ /dev/null @@ -1,104 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; - -namespace MESClassLibrary.DAL.Mistake247 -{ - public class MistakeDAL - { - public DataTable IsMath(string DeviceNo, string PartNo) - { - try - { - string sql = @"SELECT * from tb_Mistake_247 where DeviceNo=@DeviceNo and PartNo1=@PartNo"; - SqlParameter[] param = new SqlParameter[2]; - - param[0] = new SqlParameter("@DeviceNo", SqlDbType.VarChar); - param[0].Value = DeviceNo; - - param[1] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[1].Value = PartNo; - - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchByNo(string PartNo, string deviceNo) - { - try - { - string sql = @"SELECT * from tb_Mistake_247 where PartNo1=@PartNo and DeviceNo=@deviceNo"; - SqlParameter[] param = new SqlParameter[2]; - - param[0] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[0].Value = PartNo; - - param[1] = new SqlParameter("@deviceNo", SqlDbType.VarChar); - param[1].Value = deviceNo; - - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchPartName(string PartNo) - { - try - { - string sql = @"SELECT * from tb_Mistake_247 where [PartNo2]=@PartNo "; - SqlParameter[] param = new SqlParameter[1]; - - param[0] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[0].Value = PartNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchPartNoByDecice(string deviceNo) - { - try - { - string sql = @"SELECT * from tb_Mistake_247 where DeviceNo=@DeviceNo "; - SqlParameter[] param = new SqlParameter[1]; - - param[0] = new SqlParameter("@DeviceNo", SqlDbType.VarChar); - param[0].Value = deviceNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/Mistake247/Plan247DAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/Mistake247/Plan247DAL.cs deleted file mode 100644 index 7038a8b..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/Mistake247/Plan247DAL.cs +++ /dev/null @@ -1,188 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; - -namespace MESClassLibrary.DAL.Mistake247 -{ - public class Plan247DAL - { - public static string TableName = "tb_Plan_247"; - - public DataTable SearhByOrderNo(string OrderNo) - { - try - { - string sql = @"SELECT dbo.tb_Plan_247.OrderNo, dbo.tb_Plan_247.PartNo, dbo.tb_Mistake_247.PartName2, - dbo.tb_Plan_247.OrderCount,dbo.tb_Plan_247.IsFinish,dbo.tb_Plan_247.CompleteCount - FROM dbo.tb_Plan_247 LEFT OUTER JOIN - dbo.tb_Mistake_247 ON dbo.tb_Plan_247.PartNo = dbo.tb_Mistake_247.PartNo2 - where dbo.tb_Plan_247.OrderNo=@OrderNo - ORDER BY dbo.tb_Plan_247.CreateTime"; - SqlParameter[] param = new SqlParameter[1]; - - param[0] = new SqlParameter("@OrderNo", SqlDbType.VarChar); - param[0].Value = OrderNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable DetailOrderNo(string OrderNo) - { - try - { - string sql = @"SELECT dbo.tb_Plan_247.Item, dbo.tb_Plan_247.PartNo, dbo.tb_Mistake_247.PartName2, - dbo.tb_Plan_247.OrderCount - FROM dbo.tb_Plan_247 LEFT OUTER JOIN - dbo.tb_Mistake_247 ON dbo.tb_Plan_247.PartNo = dbo.tb_Mistake_247.PartNo2 - where dbo.tb_Plan_247.OrderNo=@OrderNo - ORDER BY dbo.tb_Plan_247.CreateTime"; - SqlParameter[] param = new SqlParameter[1]; - - param[0] = new SqlParameter("@OrderNo", SqlDbType.VarChar); - param[0].Value = OrderNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 根据半成品零件号查找扫描的订单中是否有此产品的生产计划 - /// - /// - /// - public DataTable IsHavePlan(string partNo1,string orderNo) - { - try - { - string sql = @"SELECT top 1 dbo.tb_Plan_247.OrderNo, dbo.tb_Plan_247.Item, dbo.tb_Plan_247.PartNo, - dbo.tb_Plan_247.OrderCount, dbo.tb_Plan_247.CompleteCount, dbo.tb_Mistake_247.PartNo1 - FROM dbo.tb_Plan_247 LEFT OUTER JOIN - dbo.tb_Mistake_247 ON dbo.tb_Plan_247.PartNo = dbo.tb_Mistake_247.PartNo2 - where PartNo1=@PartNo1 and OrderNo =@orderNo and IsFinish =0 - ORDER BY dbo.tb_Plan_247.CreateTime"; - SqlParameter[] param = new SqlParameter[2]; - - param[0] = new SqlParameter("@PartNo1", SqlDbType.VarChar); - param[0].Value = partNo1; - - param[1] = new SqlParameter("@orderNo", SqlDbType.VarChar); - param[1].Value = orderNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 根据半成品零件号查找订单号 - /// - /// - /// - public DataTable SearchOrderNoByPart1(string partNo1) - { - try - { - string sql = @"SELECT top 1 dbo.tb_Plan_247.OrderNo, dbo.tb_Plan_247.Item, dbo.tb_Plan_247.PartNo, - dbo.tb_Plan_247.OrderCount, dbo.tb_Plan_247.CompleteCount, dbo.tb_Mistake_247.PartNo1 - FROM dbo.tb_Plan_247 LEFT OUTER JOIN - dbo.tb_Mistake_247 ON dbo.tb_Plan_247.PartNo = dbo.tb_Mistake_247.PartNo2 - where PartNo1=@PartNo1 and IsFinish =0 - ORDER BY dbo.tb_Plan_247.CreateTime "; - SqlParameter[] param = new SqlParameter[1]; - - param[0] = new SqlParameter("@PartNo1", SqlDbType.VarChar); - param[0].Value = partNo1; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearhCountByOrderNo(string OrderNo,string partNo) - { - try - { - string sql = @"SELECT dbo.tb_Plan_247.OrderNo, dbo.tb_Plan_247.PartNo, dbo.tb_Mistake_247.PartName2, - dbo.tb_Plan_247.OrderCount,dbo.tb_Plan_247.IsFinish - FROM dbo.tb_Plan_247 LEFT OUTER JOIN - dbo.tb_Mistake_247 ON dbo.tb_Plan_247.PartNo = dbo.tb_Mistake_247.PartNo2 - where dbo.tb_Plan_247.OrderNo=@OrderNo and dbo.tb_Plan_247.PartNo=@PartNo - ORDER BY dbo.tb_Plan_247.CreateTime"; - SqlParameter[] param = new SqlParameter[2]; - - param[0] = new SqlParameter("@OrderNo", SqlDbType.VarChar); - param[0].Value = OrderNo; - - param[1] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[1].Value = partNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 更新订单完成数 - /// - /// - /// - /// - public bool UpdateCount(string partNo, string orderNo) - { - try - { - string sql = "update tb_Plan_247 set [CompleteCount]=[CompleteCount]+1 where OrderNo=@OrderNo and PartNo =@PartNo"; - SqlParameter[] param = null; - - #region 添加参数 - param = new SqlParameter[2]; - param[0] = new SqlParameter("@OrderNo", SqlDbType.VarChar); - param[0].Value = orderNo; - - param[1] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[1].Value = partNo; - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/Mistake247/RecordDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/Mistake247/RecordDAL.cs deleted file mode 100644 index cfa6d57..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/Mistake247/RecordDAL.cs +++ /dev/null @@ -1,311 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; - -namespace MESClassLibrary.DAL.Mistake247 -{ - public class RecordDAL - { - public static string TableName = "tb_Record_247"; - - /// - /// 查找半成品是否已经装配 - /// - /// - /// - public DataTable SearchByPartNo1(string PartNo) - { - try - { - string sql = @"SELECT * from " + TableName + " where PartNo1=@PartNo"; - SqlParameter[] param = new SqlParameter[1]; - - param[0] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[0].Value = PartNo; - - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchCountByBox(string boxNo) - { - try - { - string sql = @"SELECT count(*) as sum from " + TableName + " where BoxNo=@BoxNo and Flag <>2"; - SqlParameter[] param = new SqlParameter[1]; - - param[0] = new SqlParameter("@BoxNo", SqlDbType.VarChar); - param[0].Value = boxNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool AddInfo(RecordModel md) - { - try - { - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO " + TableName + " (ID,PartNo1,PartNo2,OrderNo,Type"; - sql += ") VALUES ("; - sql += "@ID,"; - sql += "@PartNo1,"; - sql += "@PartNo2,"; - sql += "@OrderNo,"; - sql += "@Type)"; - - #region 添加参数 - param = new SqlParameter[5]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.ID; - - param[1] = new SqlParameter("@PartNo1", SqlDbType.VarChar); - param[1].Value = md.PartNo1; - - param[2] = new SqlParameter("@PartNo2", SqlDbType.VarChar); - param[2].Value = md.PartNo2; - - param[3] = new SqlParameter("@OrderNo", SqlDbType.VarChar); - param[3].Value = md.OrderNo; - - param[4] = new SqlParameter("@Type", SqlDbType.Int); - param[4].Value = md.Type; - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool updateBoxInfo(RecordModel md) - { - try - { - string sql = ""; - SqlParameter[] param = null; - - sql = @"update " + TableName + " set BoxNo=@BoxNo,CreateTime2=(select getdate()),Flag=@Flag where PartNo2=@PartNo2"; - - #region 添加参数 - - param = new SqlParameter[3]; - param[0] = new SqlParameter("@BoxNo", SqlDbType.VarChar); - param[0].Value = md.BoxNo; - - param[1] = new SqlParameter("@Flag", SqlDbType.Int); - param[1].Value = md.Flag; - - param[2] = new SqlParameter("@PartNo2", SqlDbType.VarChar); - param[2].Value = md.PartNo2; - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchState(int type1,int type2,int type3) - { - try - { - //string sql = @"SELECT * from " + TableName + " where Type in (@type1,@type2,@type3) and Flag =0 order by CreateTime1"; - - //string sql = @"SELECT * from " + TableName + " where Type in (@type1,@type2,@type3) and Flag =0 order by CreateTime1"; - - //string sql = @"SELECT * from " + TableName + " where Type in (@type1,@type2,@type3) and Flag =0 order by CreateTime1"; - string sql = @" - SELECT * from tb_record_247 where Type in (@type1,@type2,@type3) and Flag =0 AND CreateTime1 >= CONVERT(VARCHAR(10),GETDATE(),120) AND CreateTime1 < (CONVERT(VARCHAR(10),GETDATE(),120)+' 23:59:59') order by CreateTime1 - "; - - SqlParameter[] param = new SqlParameter[3]; - - param[0] = new SqlParameter("@type1", SqlDbType.Int); - param[0].Value = type1; - - param[1] = new SqlParameter("@type2", SqlDbType.Int); - param[1].Value = type2; - - param[2] = new SqlParameter("@type3", SqlDbType.Int); - param[2].Value = type3; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool DelInfo(RecordModel md) - { - try - { - string sql = ""; - SqlParameter[] param = null; - - sql = @"update " + TableName + " set Flag=@Flag where PartNo2=@PartNo2"; - - #region 添加参数 - - param = new SqlParameter[2]; - - param[0] = new SqlParameter("@Flag", SqlDbType.Int); - param[0].Value = md.Flag; - - param[1] = new SqlParameter("@PartNo2", SqlDbType.VarChar); - param[1].Value = md.PartNo2; - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchBoxByPart(string part) - { - try - { - string sql = @"SELECT top 1 * from " + TableName + " where SUBSTRING(PartNo2,1,11)=@PartNo2 order by CreateTime2 desc"; - SqlParameter[] param = new SqlParameter[1]; - - param[0] = new SqlParameter("@PartNo2", SqlDbType.VarChar); - param[0].Value = part; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchByPartNo2(string partno) - { - try - { - string sql = @"SELECT * from " + TableName + " where PartNo2=@PartNo"; - SqlParameter[] param = new SqlParameter[1]; - - param[0] = new SqlParameter("@PartNo", SqlDbType.VarChar); - param[0].Value = partno; - - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable GetCount(string part,string batch) - { - try - { - string sql = @"SELECT count(*) as sum from " + TableName + " where SUBSTRING(PartNo2,1,11)=@PartNo2 and SUBSTRING(PartNo2,13,6)=@batch "; - SqlParameter[] param = new SqlParameter[2]; - - param[0] = new SqlParameter("@PartNo2", SqlDbType.VarChar); - param[0].Value = part; - - param[1] = new SqlParameter("@batch", SqlDbType.VarChar); - param[1].Value = batch; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable GetRecord(string boxNo) - { - try - { - string sql = @" - SELECT PartNo2,CreateTime1 FROM tb_record_247 WHERE boxno = '" + boxNo + @"' ORDER BY createtime1 - "; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - ///根据改订单的生产数量 - /// - /// - /// - public DataTable GetOrderNum(string orderno) - { - try - { - string sql = @"SELECT count(*) as sum from tb_record_247 where OrderNo=@OrderNo"; - SqlParameter[] param = new SqlParameter[1]; - - param[0] = new SqlParameter("@OrderNo", SqlDbType.VarChar); - param[0].Value = orderno; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/Plan247/Plan247DAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/Plan247/Plan247DAL.cs deleted file mode 100644 index 6961706..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/Plan247/Plan247DAL.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.DAL.Plan247 -{ - public class Plan247DAL - { - - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/SqlHelper.cs b/喷涂上线/Code/MESClassLibrary/DAL/SqlHelper.cs deleted file mode 100644 index 58a11c4..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/SqlHelper.cs +++ /dev/null @@ -1,2482 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.Configuration; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Text; -using System.Xml; - -namespace MESClassLibrary.DAL -{ - /// - /// SqlServer数据访问帮助类 - /// - public sealed class SqlHelper - { - #region 私有构造函数和方法 - - private SqlHelper() { } - - /// - /// 将SqlParameter参数数组(参数值)分配给SqlCommand命令. - /// 这个方法将给任何一个参数分配DBNull.Value; - /// 该操作将阻止默认值的使用. - /// - /// 命令名 - /// SqlParameters数组 - private static void AttachParameters(SqlCommand command, SqlParameter[] commandParameters) - { - if (command == null) throw new ArgumentNullException("command"); - if (commandParameters != null) - { - foreach (SqlParameter p in commandParameters) - { - if (p != null) - { - // 检查未分配值的输出参数,将其分配以DBNull.Value. - if ((p.Direction == ParameterDirection.InputOutput || p.Direction == ParameterDirection.Input) && - (p.Value == null)) - { - p.Value = DBNull.Value; - } - command.Parameters.Add(p); - } - } - } - } - - /// - /// 将DataRow类型的列值分配到SqlParameter参数数组. - /// - /// 要分配值的SqlParameter参数数组 - /// 将要分配给存储过程参数的DataRow - private static void AssignParameterValues(SqlParameter[] commandParameters, DataRow dataRow) - { - if ((commandParameters == null) || (dataRow == null)) - { - return; - } - - int i = 0; - // 设置参数值 - foreach (SqlParameter commandParameter in commandParameters) - { - // 创建参数名称,如果不存在,只抛出一个异常. - if (commandParameter.ParameterName == null || - commandParameter.ParameterName.Length <= 1) - throw new Exception( - string.Format("请提供参数{0}一个有效的名称{1}.", i, commandParameter.ParameterName)); - // 从dataRow的表中获取为参数数组中数组名称的列的索引. - // 如果存在和参数名称相同的列,则将列值赋给当前名称的参数. - if (dataRow.Table.Columns.IndexOf(commandParameter.ParameterName.Substring(1)) != -1) - commandParameter.Value = dataRow[commandParameter.ParameterName.Substring(1)]; - i++; - } - } - - /// - /// 将一个对象数组分配给SqlParameter参数数组. - /// - /// 要分配值的SqlParameter参数数组 - /// 将要分配给存储过程参数的对象数组 - private static void AssignParameterValues(SqlParameter[] commandParameters, object[] parameterValues) - { - if ((commandParameters == null) || (parameterValues == null)) - { - return; - } - - // 确保对象数组个数与参数个数匹配,如果不匹配,抛出一个异常. - if (commandParameters.Length != parameterValues.Length) - { - throw new ArgumentException("参数值个数与参数不匹配."); - } - - // 给参数赋值 - for (int i = 0, j = commandParameters.Length; i < j; i++) - { - // If the current array value derives from IDbDataParameter, then assign its Value property - if (parameterValues[i] is IDbDataParameter) - { - IDbDataParameter paramInstance = (IDbDataParameter)parameterValues[i]; - if (paramInstance.Value == null) - { - commandParameters[i].Value = DBNull.Value; - } - else - { - commandParameters[i].Value = paramInstance.Value; - } - } - else if (parameterValues[i] == null) - { - commandParameters[i].Value = DBNull.Value; - } - else - { - commandParameters[i].Value = parameterValues[i]; - } - } - } - - /// - /// 预处理用户提供的命令,数据库连接/事务/命令类型/参数 - /// - /// 要处理的SqlCommand - /// 数据库连接 - /// 一个有效的事务或者是null值 - /// 命令类型 (存储过程,命令文本, 其它.) - /// 存储过程名或都T-SQL命令文本 - /// 和命令相关联的SqlParameter参数数组,如果没有参数为'null' - /// true 如果连接是打开的,则为true,其它情况下为false. - private static void PrepareCommand(SqlCommand command, SqlConnection connection, SqlTransaction transaction, CommandType commandType, string commandText, SqlParameter[] commandParameters, out bool mustCloseConnection) - { - if (command == null) throw new ArgumentNullException("command"); - if (commandText == null || commandText.Length == 0) throw new ArgumentNullException("commandText"); - - // If the provided connection is not open, we will open it - if (connection.State != ConnectionState.Open) - { - mustCloseConnection = true; - connection.Open(); - } - else - { - mustCloseConnection = false; - } - - // 给命令分配一个数据库连接. - command.Connection = connection; - - // 设置命令文本(存储过程名或SQL语句) - command.CommandText = commandText; - - // 分配事务 - if (transaction != null) - { - if (transaction.Connection == null) throw new ArgumentException("The transaction was rollbacked or commited, please provide an open transaction.", "transaction"); - command.Transaction = transaction; - } - - // 设置命令类型. - command.CommandType = commandType; - - // 分配命令参数 - if (commandParameters != null) - { - AttachParameters(command, commandParameters); - } - return; - } - - #endregion 私有构造函数和方法结束 - - #region 数据库连接 - /// - /// 一个有效的数据库连接字符串 - /// - /// - public static string GetConnSting() - { - return ConfigurationManager.ConnectionStrings["SqlConnString"].ConnectionString; - } - /// - /// 一个有效的数据库连接对象 - /// - /// - public static SqlConnection GetConnection() - { - SqlConnection Connection = new SqlConnection(SqlHelper.GetConnSting()); - return Connection; - } - #endregion - - #region ExecuteNonQuery命令 - - /// - /// 执行指定连接字符串,类型的SqlCommand. - /// - /// - /// 示例: - /// int result = ExecuteNonQuery(connString, CommandType.StoredProcedure, "PublishOrders"); - /// - /// 一个有效的数据库连接字符串 - /// 命令类型 (存储过程,命令文本, 其它.) - /// 存储过程名称或SQL语句 - /// 返回命令影响的行数 - public static int ExecuteNonQuery(string connectionString, CommandType commandType, string commandText) - { - return ExecuteNonQuery(connectionString, commandType, commandText, (SqlParameter[])null); - } - - /// - /// 执行指定连接字符串,类型的SqlCommand.如果没有提供参数,不返回结果. - /// - /// - /// 示例: - /// int result = ExecuteNonQuery(connString, CommandType.StoredProcedure, "PublishOrders", new SqlParameter("@prodid", 24)); - /// - /// 一个有效的数据库连接字符串 - /// 命令类型 (存储过程,命令文本, 其它.) - /// 存储过程名称或SQL语句 - /// SqlParameter参数数组 - /// 返回命令影响的行数 - public static int ExecuteNonQuery(string connectionString, CommandType commandType, string commandText, params SqlParameter[] commandParameters) - { - if (connectionString == null || connectionString.Length == 0) throw new ArgumentNullException("connectionString"); - - using (SqlConnection connection = new SqlConnection(connectionString)) - { - connection.Open(); - - return ExecuteNonQuery(connection, commandType, commandText, commandParameters); - } - } - - /// - /// 执行指定连接字符串的存储过程,将对象数组的值赋给存储过程参数, - /// 此方法需要在参数缓存方法中探索参数并生成参数. - /// - /// - /// 这个方法没有提供访问输出参数和返回值. - /// 示例: - /// int result = ExecuteNonQuery(connString, "PublishOrders", 24, 36); - /// - /// 一个有效的数据库连接字符串/param> - /// 存储过程名称 - /// 分配到存储过程输入参数的对象数组 - /// 返回受影响的行数 - public static int ExecuteNonQuery(string connectionString, string spName, params object[] parameterValues) - { - if (connectionString == null || connectionString.Length == 0) throw new ArgumentNullException("connectionString"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果存在参数值 - if ((parameterValues != null) && (parameterValues.Length > 0)) - { - // 从探索存储过程参数(加载到缓存)并分配给存储过程参数数组. - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connectionString, spName); - - // 给存储过程参数赋值 - AssignParameterValues(commandParameters, parameterValues); - - return ExecuteNonQuery(connectionString, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - // 没有参数情况下 - return ExecuteNonQuery(connectionString, CommandType.StoredProcedure, spName); - } - } - - /// - /// 执行指定数据库连接对象的命令 - /// - /// - /// 示例: - /// int result = ExecuteNonQuery(conn, CommandType.StoredProcedure, "PublishOrders"); - /// - /// 一个有效的数据库连接对象 - /// 命令类型(存储过程,命令文本或其它.) - /// 存储过程名称或T-SQL语句 - /// 返回影响的行数 - public static int ExecuteNonQuery(SqlConnection connection, CommandType commandType, string commandText) - { - return ExecuteNonQuery(connection, commandType, commandText, (SqlParameter[])null); - } - - /// - /// 执行指定数据库连接对象的命令 - /// - /// - /// 示例: - /// int result = ExecuteNonQuery(conn, CommandType.StoredProcedure, "PublishOrders", new SqlParameter("@prodid", 24)); - /// - /// 一个有效的数据库连接对象 - /// 命令类型(存储过程,命令文本或其它.) - /// T存储过程名称或T-SQL语句 - /// SqlParamter参数数组 - /// 返回影响的行数 - public static int ExecuteNonQuery(SqlConnection connection, CommandType commandType, string commandText, params SqlParameter[] commandParameters) - { - if (connection == null) throw new ArgumentNullException("connection"); - - // 创建SqlCommand命令,并进行预处理 - SqlCommand cmd = new SqlCommand(); - bool mustCloseConnection = false; - PrepareCommand(cmd, connection, (SqlTransaction)null, commandType, commandText, commandParameters, out mustCloseConnection); - - // Finally, execute the command - int retval = cmd.ExecuteNonQuery(); - - // 清除参数,以便再次使用. - cmd.Parameters.Clear(); - if (mustCloseConnection) - connection.Close(); - return retval; - } - - /// - /// 执行指定数据库连接对象的命令,将对象数组的值赋给存储过程参数. - /// - /// - /// 此方法不提供访问存储过程输出参数和返回值 - /// 示例: - /// int result = ExecuteNonQuery(conn, "PublishOrders", 24, 36); - /// - /// 一个有效的数据库连接对象 - /// 存储过程名 - /// 分配给存储过程输入参数的对象数组 - /// 返回影响的行数 - public static int ExecuteNonQuery(SqlConnection connection, string spName, params object[] parameterValues) - { - if (connection == null) throw new ArgumentNullException("connection"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果有参数值 - if ((parameterValues != null) && (parameterValues.Length > 0)) - { - // 从缓存中加载存储过程参数 - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connection, spName); - - // 给存储过程分配参数值 - AssignParameterValues(commandParameters, parameterValues); - - return ExecuteNonQuery(connection, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return ExecuteNonQuery(connection, CommandType.StoredProcedure, spName); - } - } - - /// - /// 执行带事务的SqlCommand. - /// - /// - /// 示例.: - /// int result = ExecuteNonQuery(trans, CommandType.StoredProcedure, "PublishOrders"); - /// - /// 一个有效的数据库连接对象 - /// 命令类型(存储过程,命令文本或其它.) - /// 存储过程名称或T-SQL语句 - /// 返回影响的行数/returns> - public static int ExecuteNonQuery(SqlTransaction transaction, CommandType commandType, string commandText) - { - return ExecuteNonQuery(transaction, commandType, commandText, (SqlParameter[])null); - } - - /// - /// 执行带事务的SqlCommand(指定参数). - /// - /// - /// 示例: - /// int result = ExecuteNonQuery(trans, CommandType.StoredProcedure, "GetOrders", new SqlParameter("@prodid", 24)); - /// - /// 一个有效的数据库连接对象 - /// 命令类型(存储过程,命令文本或其它.) - /// 存储过程名称或T-SQL语句 - /// SqlParamter参数数组 - /// 返回影响的行数 - public static int ExecuteNonQuery(SqlTransaction transaction, CommandType commandType, string commandText, params SqlParameter[] commandParameters) - { - if (transaction == null) throw new ArgumentNullException("transaction"); - if (transaction != null && transaction.Connection == null) throw new ArgumentException("The transaction was rollbacked or commited, please provide an open transaction.", "transaction"); - - // 预处理 - SqlCommand cmd = new SqlCommand(); - bool mustCloseConnection = false; - PrepareCommand(cmd, transaction.Connection, transaction, commandType, commandText, commandParameters, out mustCloseConnection); - - // 执行 - int retval = cmd.ExecuteNonQuery(); - - // 清除参数集,以便再次使用. - cmd.Parameters.Clear(); - return retval; - } - - /// - /// 执行带事务的SqlCommand(指定参数值). - /// - /// - /// 此方法不提供访问存储过程输出参数和返回值 - /// 示例: - /// int result = ExecuteNonQuery(conn, trans, "PublishOrders", 24, 36); - /// - /// 一个有效的数据库连接对象 - /// 存储过程名 - /// 分配给存储过程输入参数的对象数组 - /// 返回受影响的行数 - public static int ExecuteNonQuery(SqlTransaction transaction, string spName, params object[] parameterValues) - { - if (transaction == null) throw new ArgumentNullException("transaction"); - if (transaction != null && transaction.Connection == null) throw new ArgumentException("The transaction was rollbacked or commited, please provide an open transaction.", "transaction"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果有参数值 - if ((parameterValues != null) && (parameterValues.Length > 0)) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(transaction.Connection, spName); - - // 给存储过程参数赋值 - AssignParameterValues(commandParameters, parameterValues); - - // 调用重载方法 - return ExecuteNonQuery(transaction, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - // 没有参数值 - return ExecuteNonQuery(transaction, CommandType.StoredProcedure, spName); - } - } - - #endregion ExecuteNonQuery方法结束 - - #region ExecuteDataset方法 - - /// - /// 执行指定数据库连接字符串的命令,返回DataSet. - /// - /// - /// 示例: - /// DataSet ds = ExecuteDataset(connString, CommandType.StoredProcedure, "GetOrders"); - /// - /// 一个有效的数据库连接字符串 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 - /// 返回一个包含结果集的DataSet - public static DataSet ExecuteDataset(string connectionString, CommandType commandType, string commandText) - { - return ExecuteDataset(connectionString, commandType, commandText, (SqlParameter[])null); - } - - /// - /// 执行指定数据库连接字符串的命令,返回DataSet. - /// - /// - /// 示例: - /// DataSet ds = ExecuteDataset(connString, CommandType.StoredProcedure, "GetOrders", new SqlParameter("@prodid", 24)); - /// - /// 一个有效的数据库连接字符串 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 - /// SqlParamters参数数组 - /// 返回一个包含结果集的DataSet - public static DataSet ExecuteDataset(string connectionString, CommandType commandType, string commandText, params SqlParameter[] commandParameters) - { - if (connectionString == null || connectionString.Length == 0) throw new ArgumentNullException("connectionString"); - - // 创建并打开数据库连接对象,操作完成释放对象. - using (SqlConnection connection = new SqlConnection(connectionString)) - { - connection.Open(); - - // 调用指定数据库连接字符串重载方法. - return ExecuteDataset(connection, commandType, commandText, commandParameters); - } - } - - /// - /// 执行指定数据库连接字符串的命令,直接提供参数值,返回DataSet. - /// - /// - /// 此方法不提供访问存储过程输出参数和返回值. - /// 示例: - /// DataSet ds = ExecuteDataset(connString, "GetOrders", 24, 36); - /// - /// 一个有效的数据库连接字符串 - /// 存储过程名 - /// 分配给存储过程输入参数的对象数组 - /// 返回一个包含结果集的DataSet - public static DataSet ExecuteDataset(string connectionString, string spName, params object[] parameterValues) - { - if (connectionString == null || connectionString.Length == 0) throw new ArgumentNullException("connectionString"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - if ((parameterValues != null) && (parameterValues.Length > 0)) - { - // 从缓存中检索存储过程参数 - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connectionString, spName); - - // 给存储过程参数分配值 - AssignParameterValues(commandParameters, parameterValues); - - return ExecuteDataset(connectionString, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return ExecuteDataset(connectionString, CommandType.StoredProcedure, spName); - } - } - - /// - /// 执行指定数据库连接对象的命令,返回DataSet. - /// - /// - /// 示例: - /// DataSet ds = ExecuteDataset(conn, CommandType.StoredProcedure, "GetOrders"); - /// - /// 一个有效的数据库连接对象 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名或T-SQL语句 - /// 返回一个包含结果集的DataSet - public static DataSet ExecuteDataset(SqlConnection connection, CommandType commandType, string commandText) - { - return ExecuteDataset(connection, commandType, commandText, (SqlParameter[])null); - } - - /// - /// 执行指定数据库连接对象的命令,指定存储过程参数,返回DataSet. - /// - /// - /// 示例: - /// DataSet ds = ExecuteDataset(conn, CommandType.StoredProcedure, "GetOrders", new SqlParameter("@prodid", 24)); - /// - /// 一个有效的数据库连接对象 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名或T-SQL语句 - /// SqlParamter参数数组 - /// 返回一个包含结果集的DataSet - public static DataSet ExecuteDataset(SqlConnection connection, CommandType commandType, string commandText, params SqlParameter[] commandParameters) - { - if (connection == null) throw new ArgumentNullException("connection"); - - // 预处理 - SqlCommand cmd = new SqlCommand(); - bool mustCloseConnection = false; - PrepareCommand(cmd, connection, (SqlTransaction)null, commandType, commandText, commandParameters, out mustCloseConnection); - - // 创建SqlDataAdapter和DataSet. - using (SqlDataAdapter da = new SqlDataAdapter(cmd)) - { - DataSet ds = new DataSet(); - - // 填充DataSet. - da.Fill(ds); - - cmd.Parameters.Clear(); - - if (mustCloseConnection) - connection.Close(); - - return ds; - } - } - - /// - /// 执行指定数据库连接对象的命令,指定参数值,返回DataSet. - /// - /// - /// 此方法不提供访问存储过程输入参数和返回值. - /// 示例.: - /// DataSet ds = ExecuteDataset(conn, "GetOrders", 24, 36); - /// - /// 一个有效的数据库连接对象 - /// 存储过程名 - /// 分配给存储过程输入参数的对象数组 - /// 返回一个包含结果集的DataSet - public static DataSet ExecuteDataset(SqlConnection connection, string spName, params object[] parameterValues) - { - if (connection == null) throw new ArgumentNullException("connection"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - if ((parameterValues != null) && (parameterValues.Length > 0)) - { - // 比缓存中加载存储过程参数 - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connection, spName); - - // 给存储过程参数分配值 - AssignParameterValues(commandParameters, parameterValues); - - return ExecuteDataset(connection, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return ExecuteDataset(connection, CommandType.StoredProcedure, spName); - } - } - - /// - /// 执行指定事务的命令,返回DataSet. - /// - /// - /// 示例: - /// DataSet ds = ExecuteDataset(trans, CommandType.StoredProcedure, "GetOrders"); - /// - /// 事务 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名或T-SQL语句 - /// 返回一个包含结果集的DataSet - public static DataSet ExecuteDataset(SqlTransaction transaction, CommandType commandType, string commandText) - { - return ExecuteDataset(transaction, commandType, commandText, (SqlParameter[])null); - } - - /// - /// 执行指定事务的命令,指定参数,返回DataSet. - /// - /// - /// 示例: - /// DataSet ds = ExecuteDataset(trans, CommandType.StoredProcedure, "GetOrders", new SqlParameter("@prodid", 24)); - /// - /// 事务 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名或T-SQL语句 - /// SqlParamter参数数组 - /// 返回一个包含结果集的DataSet - public static DataSet ExecuteDataset(SqlTransaction transaction, CommandType commandType, string commandText, params SqlParameter[] commandParameters) - { - if (transaction == null) throw new ArgumentNullException("transaction"); - if (transaction != null && transaction.Connection == null) throw new ArgumentException("The transaction was rollbacked or commited, please provide an open transaction.", "transaction"); - - // 预处理 - SqlCommand cmd = new SqlCommand(); - bool mustCloseConnection = false; - PrepareCommand(cmd, transaction.Connection, transaction, commandType, commandText, commandParameters, out mustCloseConnection); - - // 创建 DataAdapter & DataSet - using (SqlDataAdapter da = new SqlDataAdapter(cmd)) - { - DataSet ds = new DataSet(); - da.Fill(ds); - cmd.Parameters.Clear(); - return ds; - } - } - - /// - /// 执行指定事务的命令,指定参数值,返回DataSet. - /// - /// - /// 此方法不提供访问存储过程输入参数和返回值. - /// 示例.: - /// DataSet ds = ExecuteDataset(trans, "GetOrders", 24, 36); - /// - /// 事务 - /// 存储过程名 - /// 分配给存储过程输入参数的对象数组 - /// 返回一个包含结果集的DataSet - public static DataSet ExecuteDataset(SqlTransaction transaction, string spName, params object[] parameterValues) - { - if (transaction == null) throw new ArgumentNullException("transaction"); - if (transaction != null && transaction.Connection == null) throw new ArgumentException("The transaction was rollbacked or commited, please provide an open transaction.", "transaction"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - if ((parameterValues != null) && (parameterValues.Length > 0)) - { - // 从缓存中加载存储过程参数 - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(transaction.Connection, spName); - - // 给存储过程参数分配值 - AssignParameterValues(commandParameters, parameterValues); - - return ExecuteDataset(transaction, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return ExecuteDataset(transaction, CommandType.StoredProcedure, spName); - } - } - - #endregion ExecuteDataset数据集命令结束 - - #region ExecuteReader 数据阅读器 - - /// - /// 枚举,标识数据库连接是由SqlHelper提供还是由调用者提供 - /// - private enum SqlConnectionOwnership - { - /// 由SqlHelper提供连接 - Internal, - /// 由调用者提供连接 - External - } - - /// - /// 执行指定数据库连接对象的数据阅读器. - /// - /// - /// 如果是SqlHelper打开连接,当连接关闭DataReader也将关闭. - /// 如果是调用都打开连接,DataReader由调用都管理. - /// - /// 一个有效的数据库连接对象 - /// 一个有效的事务,或者为 'null' - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名或T-SQL语句 - /// SqlParameters参数数组,如果没有参数则为'null' - /// 标识数据库连接对象是由调用者提供还是由SqlHelper提供 - /// 返回包含结果集的SqlDataReader - private static SqlDataReader ExecuteReader(SqlConnection connection, SqlTransaction transaction, CommandType commandType, string commandText, SqlParameter[] commandParameters, SqlConnectionOwnership connectionOwnership) - { - if (connection == null) throw new ArgumentNullException("connection"); - - bool mustCloseConnection = false; - // 创建命令 - SqlCommand cmd = new SqlCommand(); - try - { - PrepareCommand(cmd, connection, transaction, commandType, commandText, commandParameters, out mustCloseConnection); - - // 创建数据阅读器 - SqlDataReader dataReader; - - if (connectionOwnership == SqlConnectionOwnership.External) - { - dataReader = cmd.ExecuteReader(); - } - else - { - dataReader = cmd.ExecuteReader(CommandBehavior.CloseConnection); - } - - // 清除参数,以便再次使用.. - // HACK: There is a problem here, the output parameter values are fletched - // when the reader is closed, so if the parameters are detached from the command - // then the SqlReader can磘 set its values. - // When this happen, the parameters can磘 be used again in other command. - bool canClear = true; - foreach (SqlParameter commandParameter in cmd.Parameters) - { - if (commandParameter.Direction != ParameterDirection.Input) - canClear = false; - } - - if (canClear) - { - cmd.Parameters.Clear(); - } - - return dataReader; - } - catch - { - if (mustCloseConnection) - connection.Close(); - throw; - } - } - - /// - /// 执行指定数据库连接字符串的数据阅读器. - /// - /// - /// 示例: - /// SqlDataReader dr = ExecuteReader(connString, CommandType.StoredProcedure, "GetOrders"); - /// - /// 一个有效的数据库连接字符串 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名或T-SQL语句 - /// 返回包含结果集的SqlDataReader - public static SqlDataReader ExecuteReader(string connectionString, CommandType commandType, string commandText) - { - return ExecuteReader(connectionString, commandType, commandText, (SqlParameter[])null); - } - - /// - /// 执行指定数据库连接字符串的数据阅读器,指定参数. - /// - /// - /// 示例: - /// SqlDataReader dr = ExecuteReader(connString, CommandType.StoredProcedure, "GetOrders", new SqlParameter("@prodid", 24)); - /// - /// 一个有效的数据库连接字符串 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名或T-SQL语句 - /// SqlParamter参数数组(new SqlParameter("@prodid", 24)) - /// 返回包含结果集的SqlDataReader - public static SqlDataReader ExecuteReader(string connectionString, CommandType commandType, string commandText, params SqlParameter[] commandParameters) - { - if (connectionString == null || connectionString.Length == 0) throw new ArgumentNullException("connectionString"); - SqlConnection connection = null; - try - { - connection = new SqlConnection(connectionString); - connection.Open(); - - return ExecuteReader(connection, null, commandType, commandText, commandParameters, SqlConnectionOwnership.Internal); - } - catch - { - // If we fail to return the SqlDatReader, we need to close the connection ourselves - if (connection != null) connection.Close(); - throw; - } - - } - - /// - /// 执行指定数据库连接字符串的数据阅读器,指定参数值. - /// - /// - /// 此方法不提供访问存储过程输出参数和返回值参数. - /// 示例: - /// SqlDataReader dr = ExecuteReader(connString, "GetOrders", 24, 36); - /// - /// 一个有效的数据库连接字符串 - /// 存储过程名 - /// 分配给存储过程输入参数的对象数组 - /// 返回包含结果集的SqlDataReader - public static SqlDataReader ExecuteReader(string connectionString, string spName, params object[] parameterValues) - { - if (connectionString == null || connectionString.Length == 0) throw new ArgumentNullException("connectionString"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - if ((parameterValues != null) && (parameterValues.Length > 0)) - { - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connectionString, spName); - - AssignParameterValues(commandParameters, parameterValues); - - return ExecuteReader(connectionString, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return ExecuteReader(connectionString, CommandType.StoredProcedure, spName); - } - } - - /// - /// 执行指定数据库连接对象的数据阅读器. - /// - /// - /// 示例: - /// SqlDataReader dr = ExecuteReader(conn, CommandType.StoredProcedure, "GetOrders"); - /// - /// 一个有效的数据库连接对象 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名或T-SQL语句 - /// 返回包含结果集的SqlDataReader - public static SqlDataReader ExecuteReader(SqlConnection connection, CommandType commandType, string commandText) - { - return ExecuteReader(connection, commandType, commandText, (SqlParameter[])null); - } - - /// - /// [调用者方式]执行指定数据库连接对象的数据阅读器,指定参数. - /// - /// - /// 示例: - /// SqlDataReader dr = ExecuteReader(conn, CommandType.StoredProcedure, "GetOrders", new SqlParameter("@prodid", 24)); - /// - /// 一个有效的数据库连接对象 - /// 命令类型 (存储过程,命令文本或其它) - /// 命令类型 (存储过程,命令文本或其它) - /// SqlParamter参数数组 - /// 返回包含结果集的SqlDataReader - public static SqlDataReader ExecuteReader(SqlConnection connection, CommandType commandType, string commandText, params SqlParameter[] commandParameters) - { - return ExecuteReader(connection, (SqlTransaction)null, commandType, commandText, commandParameters, SqlConnectionOwnership.External); - } - - /// - /// [调用者方式]执行指定数据库连接对象的数据阅读器,指定参数值. - /// - /// - /// 此方法不提供访问存储过程输出参数和返回值参数. - /// 示例: - /// SqlDataReader dr = ExecuteReader(conn, "GetOrders", 24, 36); - /// - /// 一个有效的数据库连接对象 - /// T存储过程名 - /// 分配给存储过程输入参数的对象数组 - /// 返回包含结果集的SqlDataReader - public static SqlDataReader ExecuteReader(SqlConnection connection, string spName, params object[] parameterValues) - { - if (connection == null) throw new ArgumentNullException("connection"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - if ((parameterValues != null) && (parameterValues.Length > 0)) - { - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connection, spName); - - AssignParameterValues(commandParameters, parameterValues); - - return ExecuteReader(connection, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return ExecuteReader(connection, CommandType.StoredProcedure, spName); - } - } - - /// - /// [调用者方式]执行指定数据库事务的数据阅读器,指定参数值. - /// - /// - /// 示例: - /// SqlDataReader dr = ExecuteReader(trans, CommandType.StoredProcedure, "GetOrders"); - /// - /// 一个有效的连接事务 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 - /// 返回包含结果集的SqlDataReader - public static SqlDataReader ExecuteReader(SqlTransaction transaction, CommandType commandType, string commandText) - { - return ExecuteReader(transaction, commandType, commandText, (SqlParameter[])null); - } - - /// - /// [调用者方式]执行指定数据库事务的数据阅读器,指定参数. - /// - /// - /// 示例: - /// SqlDataReader dr = ExecuteReader(trans, CommandType.StoredProcedure, "GetOrders", new SqlParameter("@prodid", 24)); - /// - /// 一个有效的连接事务 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 - /// 分配给命令的SqlParamter参数数组 - /// 返回包含结果集的SqlDataReader - public static SqlDataReader ExecuteReader(SqlTransaction transaction, CommandType commandType, string commandText, params SqlParameter[] commandParameters) - { - if (transaction == null) throw new ArgumentNullException("transaction"); - if (transaction != null && transaction.Connection == null) throw new ArgumentException("The transaction was rollbacked or commited, please provide an open transaction.", "transaction"); - - return ExecuteReader(transaction.Connection, transaction, commandType, commandText, commandParameters, SqlConnectionOwnership.External); - } - - /// - /// [调用者方式]执行指定数据库事务的数据阅读器,指定参数值. - /// - /// - /// 此方法不提供访问存储过程输出参数和返回值参数. - /// - /// 示例: - /// SqlDataReader dr = ExecuteReader(trans, "GetOrders", 24, 36); - /// - /// 一个有效的连接事务 - /// 存储过程名称 - /// 分配给存储过程输入参数的对象数组 - /// 返回包含结果集的SqlDataReader - public static SqlDataReader ExecuteReader(SqlTransaction transaction, string spName, params object[] parameterValues) - { - if (transaction == null) throw new ArgumentNullException("transaction"); - if (transaction != null && transaction.Connection == null) throw new ArgumentException("The transaction was rollbacked or commited, please provide an open transaction.", "transaction"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果有参数值 - if ((parameterValues != null) && (parameterValues.Length > 0)) - { - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(transaction.Connection, spName); - - AssignParameterValues(commandParameters, parameterValues); - - return ExecuteReader(transaction, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - // 没有参数值 - return ExecuteReader(transaction, CommandType.StoredProcedure, spName); - } - } - - #endregion ExecuteReader数据阅读器 - - #region ExecuteScalar 返回结果集中的第一行第一列 - - /// - /// 执行指定数据库连接字符串的命令,返回结果集中的第一行第一列. - /// - /// - /// 示例: - /// int orderCount = (int)ExecuteScalar(connString, CommandType.StoredProcedure, "GetOrderCount"); - /// - /// 一个有效的数据库连接字符串 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 - /// 返回结果集中的第一行第一列 - public static object ExecuteScalar(string connectionString, CommandType commandType, string commandText) - { - // 执行参数为空的方法 - return ExecuteScalar(connectionString, commandType, commandText, (SqlParameter[])null); - } - - /// - /// 执行指定数据库连接字符串的命令,指定参数,返回结果集中的第一行第一列. - /// - /// - /// 示例: - /// int orderCount = (int)ExecuteScalar(connString, CommandType.StoredProcedure, "GetOrderCount", new SqlParameter("@prodid", 24)); - /// - /// 一个有效的数据库连接字符串 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 - /// 分配给命令的SqlParamter参数数组 - /// 返回结果集中的第一行第一列 - public static object ExecuteScalar(string connectionString, CommandType commandType, string commandText, params SqlParameter[] commandParameters) - { - if (connectionString == null || connectionString.Length == 0) throw new ArgumentNullException("connectionString"); - // 创建并打开数据库连接对象,操作完成释放对象. - using (SqlConnection connection = new SqlConnection(connectionString)) - { - connection.Open(); - - // 调用指定数据库连接字符串重载方法. - return ExecuteScalar(connection, commandType, commandText, commandParameters); - } - } - - /// - /// 执行指定数据库连接字符串的命令,指定参数值,返回结果集中的第一行第一列. - /// - /// - /// 此方法不提供访问存储过程输出参数和返回值参数. - /// - /// 示例: - /// int orderCount = (int)ExecuteScalar(connString, "GetOrderCount", 24, 36); - /// - /// 一个有效的数据库连接字符串 - /// 存储过程名称 - /// 分配给存储过程输入参数的对象数组 - /// 返回结果集中的第一行第一列 - public static object ExecuteScalar(string connectionString, string spName, params object[] parameterValues) - { - if (connectionString == null || connectionString.Length == 0) throw new ArgumentNullException("connectionString"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果有参数值 - if ((parameterValues != null) && (parameterValues.Length > 0)) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connectionString, spName); - - // 给存储过程参数赋值 - AssignParameterValues(commandParameters, parameterValues); - - // 调用重载方法 - return ExecuteScalar(connectionString, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - // 没有参数值 - return ExecuteScalar(connectionString, CommandType.StoredProcedure, spName); - } - } - - /// - /// 执行指定数据库连接对象的命令,返回结果集中的第一行第一列. - /// - /// - /// 示例: - /// int orderCount = (int)ExecuteScalar(conn, CommandType.StoredProcedure, "GetOrderCount"); - /// - /// 一个有效的数据库连接对象 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 - /// 返回结果集中的第一行第一列 - public static object ExecuteScalar(SqlConnection connection, CommandType commandType, string commandText) - { - // 执行参数为空的方法 - return ExecuteScalar(connection, commandType, commandText, (SqlParameter[])null); - } - - /// - /// 执行指定数据库连接对象的命令,指定参数,返回结果集中的第一行第一列. - /// - /// - /// 示例: - /// int orderCount = (int)ExecuteScalar(conn, CommandType.StoredProcedure, "GetOrderCount", new SqlParameter("@prodid", 24)); - /// - /// 一个有效的数据库连接对象 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 - /// 分配给命令的SqlParamter参数数组 - /// 返回结果集中的第一行第一列 - public static object ExecuteScalar(SqlConnection connection, CommandType commandType, string commandText, params SqlParameter[] commandParameters) - { - if (connection == null) throw new ArgumentNullException("connection"); - - // 创建SqlCommand命令,并进行预处理 - SqlCommand cmd = new SqlCommand(); - - bool mustCloseConnection = false; - PrepareCommand(cmd, connection, (SqlTransaction)null, commandType, commandText, commandParameters, out mustCloseConnection); - - // 执行SqlCommand命令,并返回结果. - object retval = cmd.ExecuteScalar(); - - // 清除参数,以便再次使用. - cmd.Parameters.Clear(); - - if (mustCloseConnection) - connection.Close(); - - return retval; - } - - /// - /// 执行指定数据库连接对象的命令,指定参数值,返回结果集中的第一行第一列. - /// - /// - /// 此方法不提供访问存储过程输出参数和返回值参数. - /// - /// 示例: - /// int orderCount = (int)ExecuteScalar(conn, "GetOrderCount", 24, 36); - /// - /// 一个有效的数据库连接对象 - /// 存储过程名称 - /// 分配给存储过程输入参数的对象数组 - /// 返回结果集中的第一行第一列 - public static object ExecuteScalar(SqlConnection connection, string spName, params object[] parameterValues) - { - if (connection == null) throw new ArgumentNullException("connection"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果有参数值 - if ((parameterValues != null) && (parameterValues.Length > 0)) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connection, spName); - - // 给存储过程参数赋值 - AssignParameterValues(commandParameters, parameterValues); - - // 调用重载方法 - return ExecuteScalar(connection, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - // 没有参数值 - return ExecuteScalar(connection, CommandType.StoredProcedure, spName); - } - } - - /// - /// 执行指定数据库事务的命令,返回结果集中的第一行第一列. - /// - /// - /// 示例: - /// int orderCount = (int)ExecuteScalar(trans, CommandType.StoredProcedure, "GetOrderCount"); - /// - /// 一个有效的连接事务 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 - /// 返回结果集中的第一行第一列 - public static object ExecuteScalar(SqlTransaction transaction, CommandType commandType, string commandText) - { - // 执行参数为空的方法 - return ExecuteScalar(transaction, commandType, commandText, (SqlParameter[])null); - } - - /// - /// 执行指定数据库事务的命令,指定参数,返回结果集中的第一行第一列. - /// - /// - /// 示例: - /// int orderCount = (int)ExecuteScalar(trans, CommandType.StoredProcedure, "GetOrderCount", new SqlParameter("@prodid", 24)); - /// - /// 一个有效的连接事务 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 - /// 分配给命令的SqlParamter参数数组 - /// 返回结果集中的第一行第一列 - public static object ExecuteScalar(SqlTransaction transaction, CommandType commandType, string commandText, params SqlParameter[] commandParameters) - { - if (transaction == null) throw new ArgumentNullException("transaction"); - if (transaction != null && transaction.Connection == null) throw new ArgumentException("The transaction was rollbacked or commited, please provide an open transaction.", "transaction"); - - // 创建SqlCommand命令,并进行预处理 - SqlCommand cmd = new SqlCommand(); - bool mustCloseConnection = false; - PrepareCommand(cmd, transaction.Connection, transaction, commandType, commandText, commandParameters, out mustCloseConnection); - - // 执行SqlCommand命令,并返回结果. - object retval = cmd.ExecuteScalar(); - - // 清除参数,以便再次使用. - cmd.Parameters.Clear(); - return retval; - } - - /// - /// 执行指定数据库事务的命令,指定参数值,返回结果集中的第一行第一列. - /// - /// - /// 此方法不提供访问存储过程输出参数和返回值参数. - /// - /// 示例: - /// int orderCount = (int)ExecuteScalar(trans, "GetOrderCount", 24, 36); - /// - /// 一个有效的连接事务 - /// 存储过程名称 - /// 分配给存储过程输入参数的对象数组 - /// 返回结果集中的第一行第一列 - public static object ExecuteScalar(SqlTransaction transaction, string spName, params object[] parameterValues) - { - if (transaction == null) throw new ArgumentNullException("transaction"); - if (transaction != null && transaction.Connection == null) throw new ArgumentException("The transaction was rollbacked or commited, please provide an open transaction.", "transaction"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果有参数值 - if ((parameterValues != null) && (parameterValues.Length > 0)) - { - // PPull the parameters for this stored procedure from the parameter cache () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(transaction.Connection, spName); - - // 给存储过程参数赋值 - AssignParameterValues(commandParameters, parameterValues); - - // 调用重载方法 - return ExecuteScalar(transaction, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - // 没有参数值 - return ExecuteScalar(transaction, CommandType.StoredProcedure, spName); - } - } - - #endregion ExecuteScalar - - #region ExecuteXmlReader XML阅读器 - /// - /// 执行指定数据库连接对象的SqlCommand命令,并产生一个XmlReader对象做为结果集返回. - /// - /// - /// 示例: - /// XmlReader r = ExecuteXmlReader(conn, CommandType.StoredProcedure, "GetOrders"); - /// - /// 一个有效的数据库连接对象 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 using "FOR XML AUTO" - /// 返回XmlReader结果集对象. - public static XmlReader ExecuteXmlReader(SqlConnection connection, CommandType commandType, string commandText) - { - // 执行参数为空的方法 - return ExecuteXmlReader(connection, commandType, commandText, (SqlParameter[])null); - } - - /// - /// 执行指定数据库连接对象的SqlCommand命令,并产生一个XmlReader对象做为结果集返回,指定参数. - /// - /// - /// 示例: - /// XmlReader r = ExecuteXmlReader(conn, CommandType.StoredProcedure, "GetOrders", new SqlParameter("@prodid", 24)); - /// - /// 一个有效的数据库连接对象 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 using "FOR XML AUTO" - /// 分配给命令的SqlParamter参数数组 - /// 返回XmlReader结果集对象. - public static XmlReader ExecuteXmlReader(SqlConnection connection, CommandType commandType, string commandText, params SqlParameter[] commandParameters) - { - if (connection == null) throw new ArgumentNullException("connection"); - - bool mustCloseConnection = false; - // 创建SqlCommand命令,并进行预处理 - SqlCommand cmd = new SqlCommand(); - try - { - PrepareCommand(cmd, connection, (SqlTransaction)null, commandType, commandText, commandParameters, out mustCloseConnection); - - // 执行命令 - XmlReader retval = cmd.ExecuteXmlReader(); - - // 清除参数,以便再次使用. - cmd.Parameters.Clear(); - - return retval; - } - catch - { - if (mustCloseConnection) - connection.Close(); - throw; - } - } - - /// - /// 执行指定数据库连接对象的SqlCommand命令,并产生一个XmlReader对象做为结果集返回,指定参数值. - /// - /// - /// 此方法不提供访问存储过程输出参数和返回值参数. - /// - /// 示例: - /// XmlReader r = ExecuteXmlReader(conn, "GetOrders", 24, 36); - /// - /// 一个有效的数据库连接对象 - /// 存储过程名称 using "FOR XML AUTO" - /// 分配给存储过程输入参数的对象数组 - /// 返回XmlReader结果集对象. - public static XmlReader ExecuteXmlReader(SqlConnection connection, string spName, params object[] parameterValues) - { - if (connection == null) throw new ArgumentNullException("connection"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果有参数值 - if ((parameterValues != null) && (parameterValues.Length > 0)) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connection, spName); - - // 给存储过程参数赋值 - AssignParameterValues(commandParameters, parameterValues); - - // 调用重载方法 - return ExecuteXmlReader(connection, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - // 没有参数值 - return ExecuteXmlReader(connection, CommandType.StoredProcedure, spName); - } - } - - /// - /// 执行指定数据库事务的SqlCommand命令,并产生一个XmlReader对象做为结果集返回. - /// - /// - /// 示例: - /// XmlReader r = ExecuteXmlReader(trans, CommandType.StoredProcedure, "GetOrders"); - /// - /// 一个有效的连接事务 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 using "FOR XML AUTO" - /// 返回XmlReader结果集对象. - public static XmlReader ExecuteXmlReader(SqlTransaction transaction, CommandType commandType, string commandText) - { - // 执行参数为空的方法 - return ExecuteXmlReader(transaction, commandType, commandText, (SqlParameter[])null); - } - - /// - /// 执行指定数据库事务的SqlCommand命令,并产生一个XmlReader对象做为结果集返回,指定参数. - /// - /// - /// 示例: - /// XmlReader r = ExecuteXmlReader(trans, CommandType.StoredProcedure, "GetOrders", new SqlParameter("@prodid", 24)); - /// - /// 一个有效的连接事务 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 using "FOR XML AUTO" - /// 分配给命令的SqlParamter参数数组 - /// 返回XmlReader结果集对象. - public static XmlReader ExecuteXmlReader(SqlTransaction transaction, CommandType commandType, string commandText, params SqlParameter[] commandParameters) - { - if (transaction == null) throw new ArgumentNullException("transaction"); - if (transaction != null && transaction.Connection == null) throw new ArgumentException("The transaction was rollbacked or commited, please provide an open transaction.", "transaction"); - - // 创建SqlCommand命令,并进行预处理 - SqlCommand cmd = new SqlCommand(); - bool mustCloseConnection = false; - PrepareCommand(cmd, transaction.Connection, transaction, commandType, commandText, commandParameters, out mustCloseConnection); - - // 执行命令 - XmlReader retval = cmd.ExecuteXmlReader(); - - // 清除参数,以便再次使用. - cmd.Parameters.Clear(); - return retval; - } - - /// - /// 执行指定数据库事务的SqlCommand命令,并产生一个XmlReader对象做为结果集返回,指定参数值. - /// - /// - /// 此方法不提供访问存储过程输出参数和返回值参数. - /// - /// 示例: - /// XmlReader r = ExecuteXmlReader(trans, "GetOrders", 24, 36); - /// - /// 一个有效的连接事务 - /// 存储过程名称 - /// 分配给存储过程输入参数的对象数组 - /// 返回一个包含结果集的DataSet. - public static XmlReader ExecuteXmlReader(SqlTransaction transaction, string spName, params object[] parameterValues) - { - if (transaction == null) throw new ArgumentNullException("transaction"); - if (transaction != null && transaction.Connection == null) throw new ArgumentException("The transaction was rollbacked or commited, please provide an open transaction.", "transaction"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果有参数值 - if ((parameterValues != null) && (parameterValues.Length > 0)) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(transaction.Connection, spName); - - // 给存储过程参数赋值 - AssignParameterValues(commandParameters, parameterValues); - - // 调用重载方法 - return ExecuteXmlReader(transaction, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - // 没有参数值 - return ExecuteXmlReader(transaction, CommandType.StoredProcedure, spName); - } - } - - #endregion ExecuteXmlReader 阅读器结束 - - #region FillDataset 填充数据集 - /// - /// 执行指定数据库连接字符串的命令,映射数据表并填充数据集. - /// - /// - /// 示例: - /// FillDataset(connString, CommandType.StoredProcedure, "GetOrders", ds, new string[] {"orders"}); - /// - /// 一个有效的数据库连接字符串 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 - /// 要填充结果集的DataSet实例 - /// 表映射的数据表数组 - /// 用户定义的表名 (可有是实际的表名.) - public static void FillDataset(string connectionString, CommandType commandType, string commandText, DataSet dataSet, string[] tableNames) - { - if (connectionString == null || connectionString.Length == 0) throw new ArgumentNullException("connectionString"); - if (dataSet == null) throw new ArgumentNullException("dataSet"); - - // 创建并打开数据库连接对象,操作完成释放对象. - using (SqlConnection connection = new SqlConnection(connectionString)) - { - connection.Open(); - - // 调用指定数据库连接字符串重载方法. - FillDataset(connection, commandType, commandText, dataSet, tableNames); - } - } - - /// - /// 执行指定数据库连接字符串的命令,映射数据表并填充数据集.指定命令参数. - /// - /// - /// 示例: - /// FillDataset(connString, CommandType.StoredProcedure, "GetOrders", ds, new string[] {"orders"}, new SqlParameter("@prodid", 24)); - /// - /// 一个有效的数据库连接字符串 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 - /// 分配给命令的SqlParamter参数数组 - /// 要填充结果集的DataSet实例 - /// 表映射的数据表数组 - /// 用户定义的表名 (可有是实际的表名.) - /// - public static void FillDataset(string connectionString, CommandType commandType, - string commandText, DataSet dataSet, string[] tableNames, - params SqlParameter[] commandParameters) - { - if (connectionString == null || connectionString.Length == 0) throw new ArgumentNullException("connectionString"); - if (dataSet == null) throw new ArgumentNullException("dataSet"); - // 创建并打开数据库连接对象,操作完成释放对象. - using (SqlConnection connection = new SqlConnection(connectionString)) - { - connection.Open(); - - // 调用指定数据库连接字符串重载方法. - FillDataset(connection, commandType, commandText, dataSet, tableNames, commandParameters); - } - } - - /// - /// 执行指定数据库连接字符串的命令,映射数据表并填充数据集,指定存储过程参数值. - /// - /// - /// 此方法不提供访问存储过程输出参数和返回值参数. - /// - /// 示例: - /// FillDataset(connString, CommandType.StoredProcedure, "GetOrders", ds, new string[] {"orders"}, 24); - /// - /// 一个有效的数据库连接字符串 - /// 存储过程名称 - /// 要填充结果集的DataSet实例 - /// 表映射的数据表数组 - /// 用户定义的表名 (可有是实际的表名.) - /// - /// 分配给存储过程输入参数的对象数组 - public static void FillDataset(string connectionString, string spName, - DataSet dataSet, string[] tableNames, - params object[] parameterValues) - { - if (connectionString == null || connectionString.Length == 0) throw new ArgumentNullException("connectionString"); - if (dataSet == null) throw new ArgumentNullException("dataSet"); - // 创建并打开数据库连接对象,操作完成释放对象. - using (SqlConnection connection = new SqlConnection(connectionString)) - { - connection.Open(); - - // 调用指定数据库连接字符串重载方法. - FillDataset(connection, spName, dataSet, tableNames, parameterValues); - } - } - - /// - /// 执行指定数据库连接对象的命令,映射数据表并填充数据集. - /// - /// - /// 示例: - /// FillDataset(conn, CommandType.StoredProcedure, "GetOrders", ds, new string[] {"orders"}); - /// - /// 一个有效的数据库连接对象 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 - /// 要填充结果集的DataSet实例 - /// 表映射的数据表数组 - /// 用户定义的表名 (可有是实际的表名.) - /// - public static void FillDataset(SqlConnection connection, CommandType commandType, - string commandText, DataSet dataSet, string[] tableNames) - { - FillDataset(connection, commandType, commandText, dataSet, tableNames, null); - } - - /// - /// 执行指定数据库连接对象的命令,映射数据表并填充数据集,指定参数. - /// - /// - /// 示例: - /// FillDataset(conn, CommandType.StoredProcedure, "GetOrders", ds, new string[] {"orders"}, new SqlParameter("@prodid", 24)); - /// - /// 一个有效的数据库连接对象 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 - /// 要填充结果集的DataSet实例 - /// 表映射的数据表数组 - /// 用户定义的表名 (可有是实际的表名.) - /// - /// 分配给命令的SqlParamter参数数组 - public static void FillDataset(SqlConnection connection, CommandType commandType, - string commandText, DataSet dataSet, string[] tableNames, - params SqlParameter[] commandParameters) - { - FillDataset(connection, null, commandType, commandText, dataSet, tableNames, commandParameters); - } - - /// - /// 执行指定数据库连接对象的命令,映射数据表并填充数据集,指定存储过程参数值. - /// - /// - /// 此方法不提供访问存储过程输出参数和返回值参数. - /// - /// 示例: - /// FillDataset(conn, "GetOrders", ds, new string[] {"orders"}, 24, 36); - /// - /// 一个有效的数据库连接对象 - /// 存储过程名称 - /// 要填充结果集的DataSet实例 - /// 表映射的数据表数组 - /// 用户定义的表名 (可有是实际的表名.) - /// - /// 分配给存储过程输入参数的对象数组 - public static void FillDataset(SqlConnection connection, string spName, - DataSet dataSet, string[] tableNames, - params object[] parameterValues) - { - if (connection == null) throw new ArgumentNullException("connection"); - if (dataSet == null) throw new ArgumentNullException("dataSet"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果有参数值 - if ((parameterValues != null) && (parameterValues.Length > 0)) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connection, spName); - - // 给存储过程参数赋值 - AssignParameterValues(commandParameters, parameterValues); - - // 调用重载方法 - FillDataset(connection, CommandType.StoredProcedure, spName, dataSet, tableNames, commandParameters); - } - else - { - // 没有参数值 - FillDataset(connection, CommandType.StoredProcedure, spName, dataSet, tableNames); - } - } - - /// - /// 执行指定数据库事务的命令,映射数据表并填充数据集. - /// - /// - /// 示例: - /// FillDataset(trans, CommandType.StoredProcedure, "GetOrders", ds, new string[] {"orders"}); - /// - /// 一个有效的连接事务 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 - /// 要填充结果集的DataSet实例 - /// 表映射的数据表数组 - /// 用户定义的表名 (可有是实际的表名.) - /// - public static void FillDataset(SqlTransaction transaction, CommandType commandType, - string commandText, - DataSet dataSet, string[] tableNames) - { - FillDataset(transaction, commandType, commandText, dataSet, tableNames, null); - } - - /// - /// 执行指定数据库事务的命令,映射数据表并填充数据集,指定参数. - /// - /// - /// 示例: - /// FillDataset(trans, CommandType.StoredProcedure, "GetOrders", ds, new string[] {"orders"}, new SqlParameter("@prodid", 24)); - /// - /// 一个有效的连接事务 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 - /// 要填充结果集的DataSet实例 - /// 表映射的数据表数组 - /// 用户定义的表名 (可有是实际的表名.) - /// - /// 分配给命令的SqlParamter参数数组 - public static void FillDataset(SqlTransaction transaction, CommandType commandType, - string commandText, DataSet dataSet, string[] tableNames, - params SqlParameter[] commandParameters) - { - FillDataset(transaction.Connection, transaction, commandType, commandText, dataSet, tableNames, commandParameters); - } - - /// - /// 执行指定数据库事务的命令,映射数据表并填充数据集,指定存储过程参数值. - /// - /// - /// 此方法不提供访问存储过程输出参数和返回值参数. - /// - /// 示例: - /// FillDataset(trans, "GetOrders", ds, new string[]{"orders"}, 24, 36); - /// - /// 一个有效的连接事务 - /// 存储过程名称 - /// 要填充结果集的DataSet实例 - /// 表映射的数据表数组 - /// 用户定义的表名 (可有是实际的表名.) - /// - /// 分配给存储过程输入参数的对象数组 - public static void FillDataset(SqlTransaction transaction, string spName, - DataSet dataSet, string[] tableNames, - params object[] parameterValues) - { - if (transaction == null) throw new ArgumentNullException("transaction"); - if (transaction != null && transaction.Connection == null) throw new ArgumentException("The transaction was rollbacked or commited, please provide an open transaction.", "transaction"); - if (dataSet == null) throw new ArgumentNullException("dataSet"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果有参数值 - if ((parameterValues != null) && (parameterValues.Length > 0)) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(transaction.Connection, spName); - - // 给存储过程参数赋值 - AssignParameterValues(commandParameters, parameterValues); - - // 调用重载方法 - FillDataset(transaction, CommandType.StoredProcedure, spName, dataSet, tableNames, commandParameters); - } - else - { - // 没有参数值 - FillDataset(transaction, CommandType.StoredProcedure, spName, dataSet, tableNames); - } - } - - /// - /// [私有方法][内部调用]执行指定数据库连接对象/事务的命令,映射数据表并填充数据集,DataSet/TableNames/SqlParameters. - /// - /// - /// 示例: - /// FillDataset(conn, trans, CommandType.StoredProcedure, "GetOrders", ds, new string[] {"orders"}, new SqlParameter("@prodid", 24)); - /// - /// 一个有效的数据库连接对象 - /// 一个有效的连接事务 - /// 命令类型 (存储过程,命令文本或其它) - /// 存储过程名称或T-SQL语句 - /// 要填充结果集的DataSet实例 - /// 表映射的数据表数组 - /// 用户定义的表名 (可有是实际的表名.) - /// - /// 分配给命令的SqlParamter参数数组 - private static void FillDataset(SqlConnection connection, SqlTransaction transaction, CommandType commandType, - string commandText, DataSet dataSet, string[] tableNames, - params SqlParameter[] commandParameters) - { - if (connection == null) throw new ArgumentNullException("connection"); - if (dataSet == null) throw new ArgumentNullException("dataSet"); - - // 创建SqlCommand命令,并进行预处理 - SqlCommand command = new SqlCommand(); - bool mustCloseConnection = false; - PrepareCommand(command, connection, transaction, commandType, commandText, commandParameters, out mustCloseConnection); - - // 执行命令 - using (SqlDataAdapter dataAdapter = new SqlDataAdapter(command)) - { - - // 追加表映射 - if (tableNames != null && tableNames.Length > 0) - { - string tableName = "Table"; - for (int index = 0; index < tableNames.Length; index++) - { - if (tableNames[index] == null || tableNames[index].Length == 0) throw new ArgumentException("The tableNames parameter must contain a list of tables, a value was provided as null or empty string.", "tableNames"); - dataAdapter.TableMappings.Add(tableName, tableNames[index]); - tableName += (index + 1).ToString(); - } - } - - // 填充数据集使用默认表名称 - dataAdapter.Fill(dataSet); - - // 清除参数,以便再次使用. - command.Parameters.Clear(); - } - - if (mustCloseConnection) - connection.Close(); - } - #endregion - - #region UpdateDataset 更新数据集 - /// - /// 执行数据集更新到数据库,指定inserted, updated, or deleted命令. - /// - /// - /// 示例: - /// UpdateDataset(conn, insertCommand, deleteCommand, updateCommand, dataSet, "Order"); - /// - /// [追加记录]一个有效的T-SQL语句或存储过程 - /// [删除记录]一个有效的T-SQL语句或存储过程 - /// [更新记录]一个有效的T-SQL语句或存储过程 - /// 要更新到数据库的DataSet - /// 要更新到数据库的DataTable - public static void UpdateDataset(SqlCommand insertCommand, SqlCommand deleteCommand, SqlCommand updateCommand, DataSet dataSet, string tableName) - { - if (insertCommand == null) throw new ArgumentNullException("insertCommand"); - if (deleteCommand == null) throw new ArgumentNullException("deleteCommand"); - if (updateCommand == null) throw new ArgumentNullException("updateCommand"); - if (tableName == null || tableName.Length == 0) throw new ArgumentNullException("tableName"); - - // 创建SqlDataAdapter,当操作完成后释放. - using (SqlDataAdapter dataAdapter = new SqlDataAdapter()) - { - // 设置数据适配器命令 - dataAdapter.UpdateCommand = updateCommand; - dataAdapter.InsertCommand = insertCommand; - dataAdapter.DeleteCommand = deleteCommand; - - // 更新数据集改变到数据库 - dataAdapter.Update(dataSet, tableName); - - // 提交所有改变到数据集. - dataSet.AcceptChanges(); - } - } - #endregion - - #region CreateCommand 创建一条SqlCommand命令 - /// - /// 创建SqlCommand命令,指定数据库连接对象,存储过程名和参数. - /// - /// - /// 示例: - /// SqlCommand command = CreateCommand(conn, "AddCustomer", "CustomerID", "CustomerName"); - /// - /// 一个有效的数据库连接对象 - /// 存储过程名称 - /// 源表的列名称数组 - /// 返回SqlCommand命令 - public static SqlCommand CreateCommand(SqlConnection connection, string spName, params string[] sourceColumns) - { - if (connection == null) throw new ArgumentNullException("connection"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 创建命令 - SqlCommand cmd = new SqlCommand(spName, connection); - cmd.CommandType = CommandType.StoredProcedure; - - // 如果有参数值 - if ((sourceColumns != null) && (sourceColumns.Length > 0)) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connection, spName); - - // 将源表的列到映射到DataSet命令中. - for (int index = 0; index < sourceColumns.Length; index++) - commandParameters[index].SourceColumn = sourceColumns[index]; - - // Attach the discovered parameters to the SqlCommand object - AttachParameters(cmd, commandParameters); - } - - return cmd; - } - #endregion - - #region ExecuteNonQueryTypedParams 类型化参数(DataRow) - /// - /// 执行指定连接数据库连接字符串的存储过程,使用DataRow做为参数值,返回受影响的行数. - /// - /// 一个有效的数据库连接字符串 - /// 存储过程名称 - /// 使用DataRow作为参数值 - /// 返回影响的行数 - public static int ExecuteNonQueryTypedParams(String connectionString, String spName, DataRow dataRow) - { - if (connectionString == null || connectionString.Length == 0) throw new ArgumentNullException("connectionString"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果row有值,存储过程必须初始化. - if (dataRow != null && dataRow.ItemArray.Length > 0) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connectionString, spName); - - // 分配参数值 - AssignParameterValues(commandParameters, dataRow); - - return SqlHelper.ExecuteNonQuery(connectionString, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return SqlHelper.ExecuteNonQuery(connectionString, CommandType.StoredProcedure, spName); - } - } - - /// - /// 执行指定连接数据库连接对象的存储过程,使用DataRow做为参数值,返回受影响的行数. - /// - /// 一个有效的数据库连接对象 - /// 存储过程名称 - /// 使用DataRow作为参数值 - /// 返回影响的行数 - public static int ExecuteNonQueryTypedParams(SqlConnection connection, String spName, DataRow dataRow) - { - if (connection == null) throw new ArgumentNullException("connection"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果row有值,存储过程必须初始化. - if (dataRow != null && dataRow.ItemArray.Length > 0) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connection, spName); - - // 分配参数值 - AssignParameterValues(commandParameters, dataRow); - - return SqlHelper.ExecuteNonQuery(connection, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return SqlHelper.ExecuteNonQuery(connection, CommandType.StoredProcedure, spName); - } - } - - /// - /// 执行指定连接数据库事物的存储过程,使用DataRow做为参数值,返回受影响的行数. - /// - /// 一个有效的连接事务 object - /// 存储过程名称 - /// 使用DataRow作为参数值 - /// 返回影响的行数 - public static int ExecuteNonQueryTypedParams(SqlTransaction transaction, String spName, DataRow dataRow) - { - if (transaction == null) throw new ArgumentNullException("transaction"); - if (transaction != null && transaction.Connection == null) throw new ArgumentException("The transaction was rollbacked or commited, please provide an open transaction.", "transaction"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // Sf the row has values, the store procedure parameters must be initialized - if (dataRow != null && dataRow.ItemArray.Length > 0) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(transaction.Connection, spName); - - // 分配参数值 - AssignParameterValues(commandParameters, dataRow); - - return SqlHelper.ExecuteNonQuery(transaction, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return SqlHelper.ExecuteNonQuery(transaction, CommandType.StoredProcedure, spName); - } - } - #endregion - - #region ExecuteDatasetTypedParams 类型化参数(DataRow) - /// - /// 执行指定连接数据库连接字符串的存储过程,使用DataRow做为参数值,返回DataSet. - /// - /// 一个有效的数据库连接字符串 - /// 存储过程名称 - /// 使用DataRow作为参数值 - /// 返回一个包含结果集的DataSet. - public static DataSet ExecuteDatasetTypedParams(string connectionString, String spName, DataRow dataRow) - { - if (connectionString == null || connectionString.Length == 0) throw new ArgumentNullException("connectionString"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - //如果row有值,存储过程必须初始化. - if (dataRow != null && dataRow.ItemArray.Length > 0) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connectionString, spName); - - // 分配参数值 - AssignParameterValues(commandParameters, dataRow); - - return SqlHelper.ExecuteDataset(connectionString, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return SqlHelper.ExecuteDataset(connectionString, CommandType.StoredProcedure, spName); - } - } - - /// - /// 执行指定连接数据库连接对象的存储过程,使用DataRow做为参数值,返回DataSet. - /// - /// 一个有效的数据库连接对象 - /// 存储过程名称 - /// 使用DataRow作为参数值 - /// 返回一个包含结果集的DataSet. - /// - public static DataSet ExecuteDatasetTypedParams(SqlConnection connection, String spName, DataRow dataRow) - { - if (connection == null) throw new ArgumentNullException("connection"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果row有值,存储过程必须初始化. - if (dataRow != null && dataRow.ItemArray.Length > 0) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connection, spName); - - // 分配参数值 - AssignParameterValues(commandParameters, dataRow); - - return SqlHelper.ExecuteDataset(connection, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return SqlHelper.ExecuteDataset(connection, CommandType.StoredProcedure, spName); - } - } - - /// - /// 执行指定连接数据库事务的存储过程,使用DataRow做为参数值,返回DataSet. - /// - /// 一个有效的连接事务 object - /// 存储过程名称 - /// 使用DataRow作为参数值 - /// 返回一个包含结果集的DataSet. - public static DataSet ExecuteDatasetTypedParams(SqlTransaction transaction, String spName, DataRow dataRow) - { - if (transaction == null) throw new ArgumentNullException("transaction"); - if (transaction != null && transaction.Connection == null) throw new ArgumentException("The transaction was rollbacked or commited, please provide an open transaction.", "transaction"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果row有值,存储过程必须初始化. - if (dataRow != null && dataRow.ItemArray.Length > 0) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(transaction.Connection, spName); - - // 分配参数值 - AssignParameterValues(commandParameters, dataRow); - - return SqlHelper.ExecuteDataset(transaction, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return SqlHelper.ExecuteDataset(transaction, CommandType.StoredProcedure, spName); - } - } - - #endregion - - #region ExecuteReaderTypedParams 类型化参数(DataRow) - /// - /// 执行指定连接数据库连接字符串的存储过程,使用DataRow做为参数值,返回DataReader. - /// - /// 一个有效的数据库连接字符串 - /// 存储过程名称 - /// 使用DataRow作为参数值 - /// 返回包含结果集的SqlDataReader - public static SqlDataReader ExecuteReaderTypedParams(String connectionString, String spName, DataRow dataRow) - { - if (connectionString == null || connectionString.Length == 0) throw new ArgumentNullException("connectionString"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果row有值,存储过程必须初始化. - if (dataRow != null && dataRow.ItemArray.Length > 0) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connectionString, spName); - - // 分配参数值 - AssignParameterValues(commandParameters, dataRow); - - return SqlHelper.ExecuteReader(connectionString, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return SqlHelper.ExecuteReader(connectionString, CommandType.StoredProcedure, spName); - } - } - - - /// - /// 执行指定连接数据库连接对象的存储过程,使用DataRow做为参数值,返回DataReader. - /// - /// 一个有效的数据库连接对象 - /// 存储过程名称 - /// 使用DataRow作为参数值 - /// 返回包含结果集的SqlDataReader - public static SqlDataReader ExecuteReaderTypedParams(SqlConnection connection, String spName, DataRow dataRow) - { - if (connection == null) throw new ArgumentNullException("connection"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果row有值,存储过程必须初始化. - if (dataRow != null && dataRow.ItemArray.Length > 0) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connection, spName); - - // 分配参数值 - AssignParameterValues(commandParameters, dataRow); - - return SqlHelper.ExecuteReader(connection, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return SqlHelper.ExecuteReader(connection, CommandType.StoredProcedure, spName); - } - } - - /// - /// 执行指定连接数据库事物的存储过程,使用DataRow做为参数值,返回DataReader. - /// - /// 一个有效的连接事务 object - /// 存储过程名称 - /// 使用DataRow作为参数值 - /// 返回包含结果集的SqlDataReader - public static SqlDataReader ExecuteReaderTypedParams(SqlTransaction transaction, String spName, DataRow dataRow) - { - if (transaction == null) throw new ArgumentNullException("transaction"); - if (transaction != null && transaction.Connection == null) throw new ArgumentException("The transaction was rollbacked or commited, please provide an open transaction.", "transaction"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果row有值,存储过程必须初始化. - if (dataRow != null && dataRow.ItemArray.Length > 0) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(transaction.Connection, spName); - - // 分配参数值 - AssignParameterValues(commandParameters, dataRow); - - return SqlHelper.ExecuteReader(transaction, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return SqlHelper.ExecuteReader(transaction, CommandType.StoredProcedure, spName); - } - } - #endregion - - #region ExecuteScalarTypedParams 类型化参数(DataRow) - /// - /// 执行指定连接数据库连接字符串的存储过程,使用DataRow做为参数值,返回结果集中的第一行第一列. - /// - /// 一个有效的数据库连接字符串 - /// 存储过程名称 - /// 使用DataRow作为参数值 - /// 返回结果集中的第一行第一列 - public static object ExecuteScalarTypedParams(String connectionString, String spName, DataRow dataRow) - { - if (connectionString == null || connectionString.Length == 0) throw new ArgumentNullException("connectionString"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果row有值,存储过程必须初始化. - if (dataRow != null && dataRow.ItemArray.Length > 0) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connectionString, spName); - - // 分配参数值 - AssignParameterValues(commandParameters, dataRow); - - return SqlHelper.ExecuteScalar(connectionString, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return SqlHelper.ExecuteScalar(connectionString, CommandType.StoredProcedure, spName); - } - } - - /// - /// 执行指定连接数据库连接对象的存储过程,使用DataRow做为参数值,返回结果集中的第一行第一列. - /// - /// 一个有效的数据库连接对象 - /// 存储过程名称 - /// 使用DataRow作为参数值 - /// 返回结果集中的第一行第一列 - public static object ExecuteScalarTypedParams(SqlConnection connection, String spName, DataRow dataRow) - { - if (connection == null) throw new ArgumentNullException("connection"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果row有值,存储过程必须初始化. - if (dataRow != null && dataRow.ItemArray.Length > 0) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connection, spName); - - // 分配参数值 - AssignParameterValues(commandParameters, dataRow); - - return SqlHelper.ExecuteScalar(connection, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return SqlHelper.ExecuteScalar(connection, CommandType.StoredProcedure, spName); - } - } - - /// - /// 执行指定连接数据库事务的存储过程,使用DataRow做为参数值,返回结果集中的第一行第一列. - /// - /// 一个有效的连接事务 object - /// 存储过程名称 - /// 使用DataRow作为参数值 - /// 返回结果集中的第一行第一列 - public static object ExecuteScalarTypedParams(SqlTransaction transaction, String spName, DataRow dataRow) - { - if (transaction == null) throw new ArgumentNullException("transaction"); - if (transaction != null && transaction.Connection == null) throw new ArgumentException("The transaction was rollbacked or commited, please provide an open transaction.", "transaction"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果row有值,存储过程必须初始化. - if (dataRow != null && dataRow.ItemArray.Length > 0) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(transaction.Connection, spName); - - // 分配参数值 - AssignParameterValues(commandParameters, dataRow); - - return SqlHelper.ExecuteScalar(transaction, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return SqlHelper.ExecuteScalar(transaction, CommandType.StoredProcedure, spName); - } - } - #endregion - - #region ExecuteXmlReaderTypedParams 类型化参数(DataRow) - /// - /// 执行指定连接数据库连接对象的存储过程,使用DataRow做为参数值,返回XmlReader类型的结果集. - /// - /// 一个有效的数据库连接对象 - /// 存储过程名称 - /// 使用DataRow作为参数值 - /// 返回XmlReader结果集对象. - public static XmlReader ExecuteXmlReaderTypedParams(SqlConnection connection, String spName, DataRow dataRow) - { - if (connection == null) throw new ArgumentNullException("connection"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果row有值,存储过程必须初始化. - if (dataRow != null && dataRow.ItemArray.Length > 0) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(connection, spName); - - // 分配参数值 - AssignParameterValues(commandParameters, dataRow); - - return SqlHelper.ExecuteXmlReader(connection, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return SqlHelper.ExecuteXmlReader(connection, CommandType.StoredProcedure, spName); - } - } - - /// - /// 执行指定连接数据库事务的存储过程,使用DataRow做为参数值,返回XmlReader类型的结果集. - /// - /// 一个有效的连接事务 object - /// 存储过程名称 - /// 使用DataRow作为参数值 - /// 返回XmlReader结果集对象. - public static XmlReader ExecuteXmlReaderTypedParams(SqlTransaction transaction, String spName, DataRow dataRow) - { - if (transaction == null) throw new ArgumentNullException("transaction"); - if (transaction != null && transaction.Connection == null) throw new ArgumentException("The transaction was rollbacked or commited, please provide an open transaction.", "transaction"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - // 如果row有值,存储过程必须初始化. - if (dataRow != null && dataRow.ItemArray.Length > 0) - { - // 从缓存中加载存储过程参数,如果缓存中不存在则从数据库中检索参数信息并加载到缓存中. () - SqlParameter[] commandParameters = SqlHelperParameterCache.GetSpParameterSet(transaction.Connection, spName); - - // 分配参数值 - AssignParameterValues(commandParameters, dataRow); - - return SqlHelper.ExecuteXmlReader(transaction, CommandType.StoredProcedure, spName, commandParameters); - } - else - { - return SqlHelper.ExecuteXmlReader(transaction, CommandType.StoredProcedure, spName); - } - } - #endregion - - public static SqlTransaction BeginTransaction(string con) - { - SqlConnection connection = new SqlConnection(con); - connection.Open(); - SqlTransaction tran = connection.BeginTransaction(); - return tran; - } - - public static string SerialNo(string type) - { - try - { - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@sCode", SqlDbType.VarChar); - param[0].Value = type; - return ExecuteDataset(SqlHelper.GetConnSting(), CommandType.StoredProcedure, "GetSerialNo", param).Tables[0].Rows[0][0].ToString(); - } - catch (Exception) - { - return ""; - } - - } - - - - } - - /// - /// SqlHelperParameterCache提供缓存存储过程参数,并能够在运行时从存储过程中探索参数. - /// - public sealed class SqlHelperParameterCache - { - #region 私有方法,字段,构造函数 - // 私有构造函数,妨止类被实例化. - private SqlHelperParameterCache() { } - - // 这个方法要注意 - private static Hashtable paramCache = Hashtable.Synchronized(new Hashtable()); - - /// - /// 探索运行时的存储过程,返回SqlParameter参数数组. - /// 初始化参数值为 DBNull.Value. - /// - /// 一个有效的数据库连接 - /// 存储过程名称 - /// 是否包含返回值参数 - /// 返回SqlParameter参数数组 - private static SqlParameter[] DiscoverSpParameterSet(SqlConnection connection, string spName, bool includeReturnValueParameter) - { - if (connection == null) throw new ArgumentNullException("connection"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - SqlCommand cmd = new SqlCommand(spName, connection); - cmd.CommandType = CommandType.StoredProcedure; - - connection.Open(); - // 检索cmd指定的存储过程的参数信息,并填充到cmd的Parameters参数集中. - SqlCommandBuilder.DeriveParameters(cmd); - connection.Close(); - // 如果不包含返回值参数,将参数集中的每一个参数删除. - if (!includeReturnValueParameter) - { - cmd.Parameters.RemoveAt(0); - } - - // 创建参数数组 - SqlParameter[] discoveredParameters = new SqlParameter[cmd.Parameters.Count]; - // 将cmd的Parameters参数集复制到discoveredParameters数组. - cmd.Parameters.CopyTo(discoveredParameters, 0); - - // 初始化参数值为 DBNull.Value. - foreach (SqlParameter discoveredParameter in discoveredParameters) - { - discoveredParameter.Value = DBNull.Value; - } - return discoveredParameters; - } - - /// - /// SqlParameter参数数组的深层拷贝. - /// - /// 原始参数数组 - /// 返回一个同样的参数数组 - private static SqlParameter[] CloneParameters(SqlParameter[] originalParameters) - { - SqlParameter[] clonedParameters = new SqlParameter[originalParameters.Length]; - - for (int i = 0, j = originalParameters.Length; i < j; i++) - { - clonedParameters[i] = (SqlParameter)((ICloneable)originalParameters[i]).Clone(); - } - - return clonedParameters; - } - - #endregion 私有方法,字段,构造函数结束 - - #region 缓存方法 - - /// - /// 追加参数数组到缓存. - /// - /// 一个有效的数据库连接字符串 - /// 存储过程名或SQL语句 - /// 要缓存的参数数组 - public static void CacheParameterSet(string connectionString, string commandText, params SqlParameter[] commandParameters) - { - if (connectionString == null || connectionString.Length == 0) throw new ArgumentNullException("connectionString"); - if (commandText == null || commandText.Length == 0) throw new ArgumentNullException("commandText"); - - string hashKey = connectionString + ":" + commandText; - - paramCache[hashKey] = commandParameters; - } - - /// - /// 从缓存中获取参数数组. - /// - /// 一个有效的数据库连接字符 - /// 存储过程名或SQL语句 - /// 参数数组 - public static SqlParameter[] GetCachedParameterSet(string connectionString, string commandText) - { - if (connectionString == null || connectionString.Length == 0) throw new ArgumentNullException("connectionString"); - if (commandText == null || commandText.Length == 0) throw new ArgumentNullException("commandText"); - - string hashKey = connectionString + ":" + commandText; - - SqlParameter[] cachedParameters = paramCache[hashKey] as SqlParameter[]; - if (cachedParameters == null) - { - return null; - } - else - { - return CloneParameters(cachedParameters); - } - } - - #endregion 缓存方法结束 - - #region 检索指定的存储过程的参数集 - - /// - /// 返回指定的存储过程的参数集 - /// - /// - /// 这个方法将查询数据库,并将信息存储到缓存. - /// - /// 一个有效的数据库连接字符 - /// 存储过程名 - /// 返回SqlParameter参数数组 - public static SqlParameter[] GetSpParameterSet(string connectionString, string spName) - { - return GetSpParameterSet(connectionString, spName, false); - } - - /// - /// 返回指定的存储过程的参数集 - /// - /// - /// 这个方法将查询数据库,并将信息存储到缓存. - /// - /// 一个有效的数据库连接字符. - /// 存储过程名 - /// 是否包含返回值参数 - /// 返回SqlParameter参数数组 - public static SqlParameter[] GetSpParameterSet(string connectionString, string spName, bool includeReturnValueParameter) - { - if (connectionString == null || connectionString.Length == 0) throw new ArgumentNullException("connectionString"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - using (SqlConnection connection = new SqlConnection(connectionString)) - { - return GetSpParameterSetInternal(connection, spName, includeReturnValueParameter); - } - } - - /// - /// [内部]返回指定的存储过程的参数集(使用连接对象). - /// - /// - /// 这个方法将查询数据库,并将信息存储到缓存. - /// - /// 一个有效的数据库连接字符 - /// 存储过程名 - /// 返回SqlParameter参数数组 - internal static SqlParameter[] GetSpParameterSet(SqlConnection connection, string spName) - { - return GetSpParameterSet(connection, spName, false); - } - - /// - /// [内部]返回指定的存储过程的参数集(使用连接对象) - /// - /// - /// 这个方法将查询数据库,并将信息存储到缓存. - /// - /// 一个有效的数据库连接对象 - /// 存储过程名 - /// - /// 是否包含返回值参数 - /// - /// 返回SqlParameter参数数组 - internal static SqlParameter[] GetSpParameterSet(SqlConnection connection, string spName, bool includeReturnValueParameter) - { - if (connection == null) throw new ArgumentNullException("connection"); - using (SqlConnection clonedConnection = (SqlConnection)((ICloneable)connection).Clone()) - { - return GetSpParameterSetInternal(clonedConnection, spName, includeReturnValueParameter); - } - } - - /// - /// [私有]返回指定的存储过程的参数集(使用连接对象) - /// - /// 一个有效的数据库连接对象 - /// 存储过程名 - /// 是否包含返回值参数 - /// 返回SqlParameter参数数组 - private static SqlParameter[] GetSpParameterSetInternal(SqlConnection connection, string spName, bool includeReturnValueParameter) - { - if (connection == null) throw new ArgumentNullException("connection"); - if (spName == null || spName.Length == 0) throw new ArgumentNullException("spName"); - - string hashKey = connection.ConnectionString + ":" + spName + (includeReturnValueParameter ? ":include ReturnValue Parameter" : ""); - - SqlParameter[] cachedParameters; - - cachedParameters = paramCache[hashKey] as SqlParameter[]; - if (cachedParameters == null) - { - SqlParameter[] spParameters = DiscoverSpParameterSet(connection, spName, includeReturnValueParameter); - paramCache[hashKey] = spParameters; - cachedParameters = spParameters; - } - - return CloneParameters(cachedParameters); - } - - #endregion 参数集检索结束 - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/User/Sys_ButtonsData.cs b/喷涂上线/Code/MESClassLibrary/DAL/User/Sys_ButtonsData.cs deleted file mode 100644 index a6003a9..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/User/Sys_ButtonsData.cs +++ /dev/null @@ -1,75 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.DAL.User -{ - /// - /// 用户按钮 - /// lx 2017-06-28 - /// - public class Sys_ButtonsData - { - /// - /// 获取用户有权限的按钮 - /// - /// - /// - /// - public DataTable GetUserButtons(string menuID, string userID) - { - try - { - DataTable dt = new DataTable(); - - string sql = @" - SELECT [BtnID] - ,[BtnName] - ,[ItemPic] - ,[PowerID] - ,[MenuID] - ,[MenuName] - ,[IsEnabled] - ,[BtnCode] - FROM [T_Sys_Buttons] - where PowerID in ( - select e.PowerID - from T_Sys_Users a - join T_Sys_UserRole b - on a.UserID = b.UserID - join T_Sys_Role c - on b.RoleID = c.RoleID - join T_Sys_RoleLinkPower d - on c.RoleID = d.RoleID - join T_Sys_Power e - on d.PowerID = e.PowerID - where a.UserID = @UserID - ) - and MenuID = @MenuID - and IsEnabled = '1' - "; - SqlParameter[] param = new SqlParameter[2]; - param[0] = new SqlParameter("@UserID", SqlDbType.UniqueIdentifier); - param[0].Value = new Guid(userID); - - param[1] = new SqlParameter("@MenuID", SqlDbType.UniqueIdentifier); - param[1].Value = new Guid(menuID); - - dt = SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - return dt; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return new DataTable(); - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/User/Sys_NavMenuData.cs b/喷涂上线/Code/MESClassLibrary/DAL/User/Sys_NavMenuData.cs deleted file mode 100644 index 1d81b34..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/User/Sys_NavMenuData.cs +++ /dev/null @@ -1,107 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.DAL.User -{ - public class Sys_NavMenuData - { - /// - /// 根据userID查询用户菜单 - /// - /// - /// - public DataTable BuilderLeftMenu(string userID) - { - try - { - List list = new List(); - DataTable dt = new DataTable(); -/* - string sql = @" - SELECT [MenuID] - ,[MenuName] - ,[URLStr] - ,[ItemPic] - ,[PowerID] - ,[ParentMenuID] - ,[IsEnabled] - ,[OrderNum] - FROM [T_Sys_NavMenu] - where PowerID in ( - select e.PowerID - from T_Sys_Users a - join T_Sys_UserRole b - on a.UserID = b.UserID - join T_Sys_Role c - on b.RoleID = c.RoleID - join T_Sys_RoleLinkPower d - on c.RoleID = d.RoleID - join T_Sys_Power e - on d.PowerID = e.PowerID - where a.UserID = @userID - ) - and IsEnabled = '1' - order by OrderNum - "; -*/ - string sql = @" -IF EXISTS(SELECT * from T_Sys_Users where UserID=@userID and UserName='admin') -BEGIN - SELECT m.[MenuID], - m.[MenuName], - m.[URLStr], - m.[ItemPic], - m.[PowerID], - m.[ParentMenuID], - m.[IsEnabled], - m.[OrderNum] - FROM [T_Sys_NavMenu] m -END -ELSE -BEGIN -SELECT m.[MenuID], - m.[MenuName], - m.[URLStr], - m.[ItemPic], - m.[PowerID], - m.[ParentMenuID], - m.[IsEnabled], - m.[OrderNum] - FROM [T_Sys_NavMenu] m - WHERE m.ParentMenuID IS NULL -UNION ALL -SELECT m.[MenuID], - m.[MenuName], - m.[URLStr], - m.[ItemPic], - m.[PowerID], - m.[ParentMenuID], - m.[IsEnabled], - m.[OrderNum] - FROM [T_Sys_NavMenu] m - INNER JOIN T_Sys_Users_NavMenu um ON m.MenuID = um.MenuID - WHERE um.UserID = @userID -END"; - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@userID", SqlDbType.UniqueIdentifier); - param[0].Value = new Guid(userID); - - dt = SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - return dt; - } - catch(Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return new DataTable(); - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/User/UserDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/User/UserDAL.cs deleted file mode 100644 index 0e7ccce..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/User/UserDAL.cs +++ /dev/null @@ -1,358 +0,0 @@ -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; - -namespace MESClassLibrary.DAL.User -{ - public class UserDAL : BasicDAL - { - public static string TableName = "tb_User"; - public string GetTableName() - { - return TableName; - } - /// - /// 获取全部用户信息 - /// - /// - public DataTable Search_UserInfo() - { - try - { - string sql = @"select * from T_Sys_Users where IsEnabled='1'"; - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - /// - /// 根据登录名密码查询用户信息 - /// - /// - /// - /// - public DataTable Search_UserInfoByUP(string username, string password) - { - try - { - string sql = @"SELECT [UserID] - ,[UserName] - ,[Password] - ,[IsEnabled] - ,[RealName] - ,[Sex] - ,[Tel] - ,[LastLoginTime] - ,[LastLoginIP] - ,[DepartmentID] - ,[OpName] - ,[OpTime] - FROM [T_Sys_Users] - where UserName = @Username and Password = @Password and IsEnabled = '1'"; - - SqlParameter[] param = new SqlParameter[2]; - param[0] = new SqlParameter("@Username", SqlDbType.VarChar); - param[0].Value = username; - - param[1] = new SqlParameter("@Password", SqlDbType.VarChar); - param[1].Value = password; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 根据id查询用户信息 - /// - /// - /// - public DataTable Search_UserInfoByID(string id) - { - try - { - string sql = @"select c.*,r.RoleName from tb_User c - left join tb_Role r on c.RoleID = r.id where c.IsUseing=1 and c.ID=@ID"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = id; - - - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - /// - /// 根据登录账号查询用户信息 - /// - /// 登录账号 - /// - public DataTable Search_UserInfoByUserName(string username) - { - try - { - string sql = @"SELECT [UserID] - ,[UserName] - ,[Password] - ,[IsEnabled] - ,[RealName] - ,[Sex] - ,[Tel] - ,[LastLoginTime] - ,[LastLoginIP] - ,[DepartmentID] - ,[OpName] - ,[OpTime] - FROM [T_Sys_Users] - where UserName = @Username and IsEnabled = '1'"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@Username", SqlDbType.VarChar); - param[0].Value = username; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 根据角色ID查询该角色的用户信息 - /// - /// 角色主键ID - /// - public DataTable Search_UserInfoByRoleID(string roleID) - { - try - { - string sql = @"select c.*,r.RoleName,r.RoleJurisdiction from tb_User c - left join tb_Role r on c.RoleID = r.id where c.IsUseing=1 and c.RoleID=@RoleID"; - - SqlParameter[] param = new SqlParameter[1]; - param[0] = new SqlParameter("@RoleID", SqlDbType.VarChar); - param[0].Value = roleID; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - - /// - /// 添加用户信息 - /// - /// 用户模型 - /// - public bool Add_UserInfo(UserModel mod) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO tb_User (ID,Username,Password,TrueName,FaceURL,RoleID,CreateUserID"; - sql += ") VALUES ("; - sql += "@ID,"; - sql += "@Username,"; - sql += "@Password,"; - sql += "@TrueName,"; - sql += "@FaceURL,"; - sql += "@RoleID,"; - sql += "@CreateUserID)"; - - #region 添加参数 - param = new SqlParameter[7]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = mod.ID; - - param[1] = new SqlParameter("@Username", SqlDbType.VarChar); - param[1].Value = mod.Username; - - param[2] = new SqlParameter("@Password", SqlDbType.VarChar); - param[2].Value = mod.Password; - - param[3] = new SqlParameter("@TrueName", SqlDbType.VarChar); - param[3].Value = mod.TrueName; - - param[4] = new SqlParameter("@FaceURL", SqlDbType.VarChar); - param[4].Value = mod.FaceURL; - - param[5] = new SqlParameter("@RoleID", SqlDbType.VarChar); - param[5].Value = mod.RoleID; - - param[6] = new SqlParameter("@CreateUserID", SqlDbType.VarChar); - param[6].Value = mod.CreateUserID; - - - - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 更新用户信息 - /// - /// 用户模型对象 - /// - public bool Update_UserInfo(UserModel md) - { - try - { - string sql = @"update tb_User set - Username = @Username, - Password = @Password, - TrueName = @TrueName, - FaceURL = @FaceURL, - RoleID = @RoleID, - UpdateUserID = @UpdateUserID, - UpdateTime = @UpdateTime - where ID=@ID"; - - SqlParameter[] param = new SqlParameter[8]; - param[0] = new SqlParameter("@Username", SqlDbType.VarChar); - param[0].Value = md.Username; - - param[1] = new SqlParameter("@Password", SqlDbType.VarChar); - param[1].Value = md.Password; - - param[2] = new SqlParameter("@TrueName", SqlDbType.VarChar); - param[2].Value = md.TrueName; - - param[3] = new SqlParameter("@FaceURL", SqlDbType.VarChar); - param[3].Value = md.FaceURL; - - param[4] = new SqlParameter("@RoleID", SqlDbType.VarChar); - param[4].Value = md.RoleID; - - param[5] = new SqlParameter("@UpdateUserID", SqlDbType.VarChar); - param[5].Value = md.UpdateUserID; - - param[6] = new SqlParameter("@UpdateTime", SqlDbType.DateTime); - param[6].Value = DateTime.Now; - - param[7] = new SqlParameter("@ID", SqlDbType.VarChar); - param[7].Value = md.ID; - - if (SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param) > 0) - { - return true; - } - return false; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - - } - /// - /// 查询用户登录日志 - /// - /// - public DataTable Search_UserLoginInfo() - { - try - { - string sql = @"select l.*,u.TrueName,r.RoleName from tb_UserLoginLog l - left join tb_User u on l.UserID = u.ID - left join tb_Role r on u.RoleID = r.ID order by l.LoginTime desc"; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - - } - /// - /// 添加用户登录日志 - /// - /// 用户主键ID - /// - public bool Add_UserLoginInfo(string userid) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO tb_UserLoginLog (ID,UserID"; - sql += ") VALUES ("; - sql += "@ID,"; - sql += "@UserID)"; - - - #region 添加参数 - param = new SqlParameter[2]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = Guid.NewGuid().ToString(); - - param[1] = new SqlParameter("@UserID", SqlDbType.VarChar); - param[1].Value = userid; - - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/Weight/WeighDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/Weight/WeighDAL.cs deleted file mode 100644 index cd3f197..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/Weight/WeighDAL.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; - -namespace MESClassLibrary.DAL.Weight -{ - public class WeighDAL - { - /// - /// 查找最新的ID的信息 - /// - /// - public DataTable SearchInfo(string Conn) - { - try - { - string sql = @"select top 1 * from Table1 order by ID desc"; - - return SqlHelper.ExecuteDataset(Conn, CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/Weight/WeightRecordDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/Weight/WeightRecordDAL.cs deleted file mode 100644 index 5f5b4f0..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/Weight/WeightRecordDAL.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Runtime.InteropServices; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; - -namespace MESClassLibrary.DAL.Weight -{ - public class WeightRecordDAL - { - public static string TableName = "tb_weightRecord"; - - /// - /// 查找注塑机的最大ID - /// - /// - /// - public DataTable SearchMaxIDByDevice(string Device) - { - try - { - string sql = @"select top 1 * from "+ TableName +" order by CreateTime desc"; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool AddInfo(WeightRecordModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO " + TableName + " (GID,ID,DeviceNo"; - sql += ") VALUES ("; - sql += "@GID,"; - sql += "@ID,"; - sql += "@DeviceNo)"; - - #region 添加参数 - param = new SqlParameter[3]; - param[0] = new SqlParameter("@GID", SqlDbType.VarChar); - param[0].Value = md.GID; - - param[1] = new SqlParameter("@ID", SqlDbType.Int); - param[1].Value = md.ID; - - param[2] = new SqlParameter("@DeviceNo", SqlDbType.VarChar); - param[2].Value = md.DeviceNo; - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/ZPPlan/ZPBomDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/ZPPlan/ZPBomDAL.cs deleted file mode 100644 index c9bd0dd..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/ZPPlan/ZPBomDAL.cs +++ /dev/null @@ -1,85 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; - -namespace MESClassLibrary.DAL.ZPPlan -{ - public class ZPBomDAL - { - /// - /// 工位总成和半成品是否匹配 - /// - /// - /// - /// - /// - public DataTable IsMath(string stationNo, string partNo1, string partNo2) - { - try - { - string sql = @"SELECT dbo.tb_Station.StationNo, dbo.tb_Product.PartNo AS PartNo1, tb_Product_1.PartNo AS PartNo2, - dbo.tb_ZPBom.IsHigh - FROM dbo.tb_Station RIGHT OUTER JOIN - dbo.tb_Product RIGHT OUTER JOIN - dbo.tb_Product AS tb_Product_1 RIGHT OUTER JOIN - dbo.tb_ZPBom ON tb_Product_1.ProductID = dbo.tb_ZPBom.ProductID2 ON - dbo.tb_Product.ProductID = dbo.tb_ZPBom.ProductID1 ON dbo.tb_Station.StationID = dbo.tb_ZPBom.StationID - where dbo.tb_Station.StationNo=@stationNo and dbo.tb_Product.PartNo=@partNo1 and tb_Product_1.PartNo=@partNo2"; - SqlParameter[] param = new SqlParameter[3]; - - param[0] = new SqlParameter("@stationNo", SqlDbType.VarChar); - param[0].Value = stationNo; - - param[1] = new SqlParameter("@partNo1", SqlDbType.VarChar); - param[1].Value = partNo1; - - param[2] = new SqlParameter("@partNo2", SqlDbType.VarChar); - param[2].Value = partNo2; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchPartAndMould(string stationNo, string partNo1, string mould) - { - try - { - string sql = @"SELECT dbo.tb_Station.StationNo, dbo.tb_Product.PartNo AS PartNo1, tb_Product_1.PartNo AS PartNo2, - dbo.tb_ZPBom.IsHigh, dbo.tb_ZPBom.MouldNo - FROM dbo.tb_Station RIGHT OUTER JOIN - dbo.tb_Product RIGHT OUTER JOIN - dbo.tb_Product AS tb_Product_1 RIGHT OUTER JOIN - dbo.tb_ZPBom ON tb_Product_1.ProductID = dbo.tb_ZPBom.ProductID2 ON - dbo.tb_Product.ProductID = dbo.tb_ZPBom.ProductID1 ON dbo.tb_Station.StationID = dbo.tb_ZPBom.StationID - where dbo.tb_Station.StationNo=@stationNo and dbo.tb_Product.PartNo=@partNo1 and dbo.tb_ZPBom.MouldNo=@mould"; - SqlParameter[] param = new SqlParameter[3]; - - param[0] = new SqlParameter("@stationNo", SqlDbType.VarChar); - param[0].Value = stationNo; - - param[1] = new SqlParameter("@partNo1", SqlDbType.VarChar); - param[1].Value = partNo1; - - param[2] = new SqlParameter("@mould", SqlDbType.VarChar); - param[2].Value = mould; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/ZPPlan/ZPPlanDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/ZPPlan/ZPPlanDAL.cs deleted file mode 100644 index b74f67f..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/ZPPlan/ZPPlanDAL.cs +++ /dev/null @@ -1,173 +0,0 @@ -using MESClassLibrary.BLL.Log; -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.Model; - -namespace MESClassLibrary.DAL.ZPPlan -{ - public class ZPPlanDAL - { - public DataTable PageInfo(int pageIndex, int pageSize, string startTime, string endTime, string partNo) - { - try - { - int skip = (pageIndex - 1) * pageSize; - - string sql = - @"select * FROM[dbo].[tb_ZPPlan] - where CreatTime <= @StartTime and CreateTime >= @EndTime and PartNo = @PartNo - order by CreateTime desc"; - sql += " offset " + skip + " rows "; - sql += " fetch next " + pageSize + " rows only"; - - SqlParameter[] param = new SqlParameter[] { - new SqlParameter("@StartTime", SqlDbType.VarChar) - { - Value = startTime - }, - new SqlParameter("@EndTime", SqlDbType.VarChar) - { - Value = endTime - }, - }; - - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 获取工位正在生产、未生产的计划 - /// - /// - /// - public DataTable GetProductingPlan(string station) - { - try - { - string sql = @"SELECT top 1 dbo.tb_Station.StationNo,dbo.tb_ZPPlan.ID, dbo.tb_ZPPlan.OrderNo, dbo.tb_ZPPlan.PartNo, dbo.tb_Product.ProductName, - dbo.tb_ZPPlan.OrderCount, dbo.tb_ZPPlan.ProductCount, dbo.tb_ZPPlan.IsFinish, dbo.tb_ZPPlan.BadCount,dbo.tb_ZPPlan.CreateTime - FROM dbo.tb_ZPPlan LEFT OUTER JOIN - dbo.tb_Product ON dbo.tb_ZPPlan.PartNo = dbo.tb_Product.PartNo LEFT OUTER JOIN - dbo.tb_Station ON dbo.tb_ZPPlan.StationID = dbo.tb_Station.StationID - where dbo.tb_Station.StationNo =@station and dbo.tb_ZPPlan.IsFinish<>3 - order by dbo.tb_ZPPlan.CreateTime "; - - SqlParameter[] param = new SqlParameter[1]; - - param[0] = new SqlParameter("@station", SqlDbType.VarChar); - param[0].Value = station; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - - /// - /// 获取工位上一计划、下一计划 - /// - /// - /// - public DataTable GetPlan(string station,int flag,string planTime) - { - try - { - string sql = ""; - - if (flag == 1) //上一计划 - { - sql = @"SELECT top 1 dbo.tb_Station.StationNo,dbo.tb_ZPPlan.ID, dbo.tb_ZPPlan.OrderNo, dbo.tb_ZPPlan.PartNo, dbo.tb_Product.ProductName, - dbo.tb_ZPPlan.OrderCount, dbo.tb_ZPPlan.ProductCount, dbo.tb_ZPPlan.IsFinish, dbo.tb_ZPPlan.BadCount,dbo.tb_ZPPlan.CreateTime - FROM dbo.tb_ZPPlan LEFT OUTER JOIN - dbo.tb_Product ON dbo.tb_ZPPlan.PartNo = dbo.tb_Product.PartNo LEFT OUTER JOIN - dbo.tb_Station ON dbo.tb_ZPPlan.StationID = dbo.tb_Station.StationID - where dbo.tb_Station.StationNo =@station and dbo.tb_ZPPlan.IsFinish<>3 and dbo.tb_ZPPlan.CreateTime < DATEADD(SECOND,-1, @planTime) - order by dbo.tb_ZPPlan.CreateTime desc"; - } - - if (flag == 2) //下一计划 - { - sql = @"SELECT top 1 dbo.tb_Station.StationNo,dbo.tb_ZPPlan.ID, dbo.tb_ZPPlan.OrderNo, dbo.tb_ZPPlan.PartNo, dbo.tb_Product.ProductName, - dbo.tb_ZPPlan.OrderCount, dbo.tb_ZPPlan.ProductCount, dbo.tb_ZPPlan.IsFinish, dbo.tb_ZPPlan.BadCount,dbo.tb_ZPPlan.CreateTime - FROM dbo.tb_ZPPlan LEFT OUTER JOIN - dbo.tb_Product ON dbo.tb_ZPPlan.PartNo = dbo.tb_Product.PartNo LEFT OUTER JOIN - dbo.tb_Station ON dbo.tb_ZPPlan.StationID = dbo.tb_Station.StationID - where dbo.tb_Station.StationNo =@station and dbo.tb_ZPPlan.IsFinish<>3 and dbo.tb_ZPPlan.CreateTime > DATEADD(SECOND,1, @planTime) - order by dbo.tb_ZPPlan.CreateTime "; - } - - - SqlParameter[] param = new SqlParameter[2]; - param[0] = new SqlParameter("@station", SqlDbType.VarChar); - param[0].Value = station; - - param[1] = new SqlParameter("@planTime", SqlDbType.VarChar); - param[1].Value = planTime; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool updateQty(ZPPlanModel md) - { - try - { - string sql = @"update tb_ZPPlan set ProductCount=ProductCount+1 where ID=@ID"; - - SqlParameter[] param = new SqlParameter[1]; - - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.ID; - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool updateBad(ZPPlanModel md) - { - try - { - string sql = @"update tb_ZPPlan set ProductCount=ProductCount-1,BadCount=BadCount+1 where ID=@ID"; - - SqlParameter[] param = new SqlParameter[1]; - - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.ID; - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/ZPPlan/ZPRecordDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/ZPPlan/ZPRecordDAL.cs deleted file mode 100644 index f9c8373..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/ZPPlan/ZPRecordDAL.cs +++ /dev/null @@ -1,144 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; - -namespace MESClassLibrary.DAL.ZPPlan -{ - public class ZPRecordDAL - { - public bool AddInfo(ZPRecordModel md) - { - try - { - string sql = @"insert into tb_ZPRecord (ID,OneBarCode,IsOK,PrintType,PlanID)"; - - SqlParameter[] param = new SqlParameter[3]; - - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.ID; - - param[1] = new SqlParameter("@OneBarCode", SqlDbType.VarChar); - param[1].Value = md.OneBarCode; - - param[2] = new SqlParameter("@PlanID", SqlDbType.VarChar); - param[2].Value = md.planID; - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public DataTable SearchInfo(string barCode) - { - try - { - string sql = @"select * from tb_ZPRecord where OneBarCode=@barCode"; - - SqlParameter[] param = new SqlParameter[2]; - - param[0] = new SqlParameter("@barCode", SqlDbType.VarChar); - param[0].Value = barCode; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 查找产品未打印的第一条 - /// - /// - /// - public DataTable SearchPrint(string stockNo) - { - try - { - string sql = @"select top 1 * from tb_ZPRecord where substring(OneBarCode,0,LEN(OneBarCode)-10) like @stockNo and (PrintType is null or PrintType ='' and IsOK is not null) order by CreateTime"; - - SqlParameter[] param = new SqlParameter[1]; - - param[0] = new SqlParameter("@stockNo", SqlDbType.VarChar); - param[0].Value = stockNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchBarCode(string stockNo, string batch) - { - try - { - string sql = @"select top 1 * from tb_ZPRecord where substring(OneBarCode,0,LEN(OneBarCode)-10) like @stockNo and OneBarCode1 is not null and SUBSTRING(OneBarCode1,LEN(OneBarCode1)-9,6) order by CreateTime"; - - SqlParameter[] param = new SqlParameter[1]; - - param[0] = new SqlParameter("@stockNo", SqlDbType.VarChar); - param[0].Value = stockNo; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool UpdatePrint(ZPRecordModel md) - { - try - { - string sql = @"update tb_ZPRecord set IsOK=@IsOK,PrintType=@PrintType,PrintTime=@PrintTime,BarCode=@BarCode,OneBarCode1=@OneBarCode1 where ID=@ID"; - - SqlParameter[] param = new SqlParameter[6]; - - param[0] = new SqlParameter("@IsOK", SqlDbType.Int); - param[0].Value = md.IsOK; - - param[1] = new SqlParameter("@PrintType", SqlDbType.Int); - param[1].Value = md.PrintType; - - param[2] = new SqlParameter("@PrintTime", SqlDbType.DateTime); - param[2].Value = md.PrintTime; - - param[3] = new SqlParameter("@BarCode", SqlDbType.VarChar); - param[3].Value = md.BarCode; - - param[4] = new SqlParameter("@OneBarCode1", SqlDbType.VarChar); - param[4].Value = md.OneBarCode1; - - param[5] = new SqlParameter("@ID", SqlDbType.VarChar); - param[5].Value = md.ID; - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/ZPPlan/ZPTagDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/ZPPlan/ZPTagDAL.cs deleted file mode 100644 index 2e0a2df..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/ZPPlan/ZPTagDAL.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; - -namespace MESClassLibrary.DAL.ZPPlan -{ - public class ZPTagDAL - { - /// - /// 完成信号 - /// - /// - public DataTable SearchRead() - { - try - { - string sql = @"select * from tb_ZPTag where Flag=0 order by ID"; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchWrite() - { - try - { - string sql = @"select * from tb_ZPTag where Flag=1 order by ID"; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/ZPPlan/ZPTagValueDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/ZPPlan/ZPTagValueDAL.cs deleted file mode 100644 index bba657b..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/ZPPlan/ZPTagValueDAL.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; - -namespace MESClassLibrary.DAL.ZPPlan -{ - public class ZPTagValueDAL - { - ZPTagValueDAL da=new ZPTagValueDAL(); - - public bool AddInfo(ZPTagValueModel md) - { - try - { - string sql = @"insert into (ID,TagName,TagValue) values (@ID,@TagName,@TagValue)"; - - SqlParameter[] param=new SqlParameter[3]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.ID; - - param[1] = new SqlParameter("@TagName", SqlDbType.VarChar); - param[1].Value = md.TagName; - - param[2] = new SqlParameter("@TagValue", SqlDbType.VarChar); - param[2].Value = md.TagValue; - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/painting/InspectResultDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/painting/InspectResultDAL.cs deleted file mode 100644 index f714956..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/painting/InspectResultDAL.cs +++ /dev/null @@ -1,83 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.Model; -using MESClassLibrary.BLL.BasicInfo; -using MESClassLibrary.BLL.Log; - -namespace MESClassLibrary.DAL.painting -{ - public class InspectResultDAL - { - public static string TableName = "tb_InspectResult"; - public bool AddInfo(InspectResultModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO " + TableName + " ([ID] ,[barcode] ,[side],[stationNo],[workClass],[inspectResult],[productInfo],[productOption] ,[InspectTimes],[createTime]"; - sql += ") VALUES ("; - sql += "@ID,"; - sql += "@barcode,"; - sql += "@side,"; - sql += "@stationNo,"; - sql += "@workClass,"; - sql += "@inspectResult,"; - sql += "@productInfo,"; - sql += "@productOption,"; - sql += "@InspectTimes,"; - sql += "@createTime)"; - - #region 添加参数 - param = new SqlParameter[10]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.ID; - - param[1] = new SqlParameter("@barcode", SqlDbType.VarChar); - param[1].Value = md.barcode; - - param[2] = new SqlParameter("@side", SqlDbType.VarChar); - param[2].Value = md.side; - - param[3] = new SqlParameter("@stationNo", SqlDbType.VarChar); - param[3].Value = md.stationNo; - - param[4] = new SqlParameter("@workClass", SqlDbType.VarChar); - param[4].Value = md.workClass; - - param[5] = new SqlParameter("@inspectResult", SqlDbType.VarChar); - param[5].Value = md.inspectResult; - - param[6] = new SqlParameter("@productInfo", SqlDbType.VarChar); - param[6].Value = md.productInfo; - - param[7] = new SqlParameter("@productOption", SqlDbType.VarChar); - param[7].Value = md.productOption; - - param[8] = new SqlParameter("@InspectTimes", SqlDbType.VarChar); - param[8].Value = md.InspectTimes; - - param[9] = new SqlParameter("@createTime", SqlDbType.DateTime); - param[9].Value = md.createTime; - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/painting/PaintBarCodeDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/painting/PaintBarCodeDAL.cs deleted file mode 100644 index e4dab16..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/painting/PaintBarCodeDAL.cs +++ /dev/null @@ -1,181 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; -using MESClassLibrary.Model; - -namespace MESClassLibrary.DAL.painting -{ - public class PaintBarCodeDAL - { - public static string TableName = "tb_PaintBarCode"; - - public DataTable SearchInfoAll(string banci,string productdate) - { - try - { - string sql = @"SELECT dbo.tb_PaintBarCode.OneBarCode, dbo.tb_Product.ProductName, dbo.tb_PaintBarCode.ColorDes, - dbo.tb_PaintBarCode.Side, dbo.tb_PaintBarCode.workClass - FROM dbo.tb_PaintBarCode LEFT OUTER JOIN - dbo.tb_Product ON dbo.tb_PaintBarCode.ProductID = dbo.tb_Product.ProductID where workClass=@workClass and ProductDate=@ProductDate"; - SqlParameter[] param = new SqlParameter[2]; - - param[0] = new SqlParameter("@workClass", SqlDbType.VarChar); - param[0].Value = banci; - - param[1] = new SqlParameter("@ProductDate", SqlDbType.VarChar); - param[1].Value = productdate; - - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - /// - /// 查找当前天、当天班次、当前产品的最后一个流水 - /// - /// - /// - /// - public DataTable SearchBarCode(string banci, string productdate,string productID) - { - try - { - string sql = @"SELECT dbo.tb_PaintBarCode.OneBarCode, dbo.tb_Product.ProductName, dbo.tb_PaintBarCode.ColorDes, - dbo.tb_PaintBarCode.Side, dbo.tb_PaintBarCode.workClass - FROM dbo.tb_PaintBarCode LEFT OUTER JOIN - dbo.tb_Product ON dbo.tb_PaintBarCode.ProductID = dbo.tb_Product.ProductID where workClass=@workClass and ProductDate=@ProductDate and dbo.tb_PaintBarCode.ProductID=@ProductID - order by dbo.tb_PaintBarCode.CreateTime desc"; - SqlParameter[] param = new SqlParameter[3]; - - param[0] = new SqlParameter("@workClass", SqlDbType.VarChar); - param[0].Value = banci; - - param[1] = new SqlParameter("@ProductDate", SqlDbType.VarChar); - param[1].Value = productdate; - - param[2] = new SqlParameter("@ProductID", SqlDbType.VarChar); - param[2].Value = productID; - - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, param).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public bool AddInfo(PaintBarCodeModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = "INSERT INTO " + TableName + " ([ID] ,[StationID] ,[ProductID],[OneBarCode],[BarCode],[StockNo],[ColorDes],[workClass],[Side] ,[CreateTime],[ProductDate]"; - sql += ") VALUES ("; - sql += "@ID,"; - sql += "@StationID,"; - sql += "@ProductID,"; - sql += "@OneBarCode,"; - sql += "@BarCode,"; - sql += "@StockNo,"; - sql += "@ColorDes,"; - sql += "@workClass,"; - sql += "@Side,"; - sql += "@CreateTime,"; - sql += "@ProductDate)"; - - #region 添加参数 - param = new SqlParameter[11]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.ID; - - param[1] = new SqlParameter("@StationID", SqlDbType.VarChar); - param[1].Value = md.StationID; - - param[2] = new SqlParameter("@ProductID", SqlDbType.VarChar); - param[2].Value = md.ProductID; - - param[3] = new SqlParameter("@OneBarCode", SqlDbType.VarChar); - param[3].Value = md.OneBarCode; - - param[4] = new SqlParameter("@BarCode", SqlDbType.VarChar); - param[4].Value = md.BarCode; - - param[5] = new SqlParameter("@StockNo", SqlDbType.VarChar); - param[5].Value = md.StockNo; - - param[6] = new SqlParameter("@ColorDes", SqlDbType.VarChar); - param[6].Value = md.ColorDes; - - param[7] = new SqlParameter("@workClass", SqlDbType.VarChar); - param[7].Value = md.workClass; - - param[8] = new SqlParameter("@Side", SqlDbType.VarChar); - param[8].Value = md.Side; - - param[9] = new SqlParameter("@CreateTime", SqlDbType.DateTime); - param[9].Value = md.CreateTime; - - param[10] = new SqlParameter("@ProductDate", SqlDbType.VarChar); - param[10].Value = md.ProductDate; - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - - public bool UpdatePrintTime(PaintBarCodeModel md) - { - try - { - #region 添加数据 - string sql = ""; - SqlParameter[] param = null; - sql = @"update " + TableName + " set PrintTime=@PrintTime where ID=@ID"; - - #region 添加参数 - param = new SqlParameter[2]; - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.ID; - - param[1] = new SqlParameter("@PrintTime", SqlDbType.DateTime); - param[1].Value = md.PrintTime; - - - #endregion - - SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql, param); - #endregion - return true; - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return false; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/DAL/painting/StockInDAL.cs b/喷涂上线/Code/MESClassLibrary/DAL/painting/StockInDAL.cs deleted file mode 100644 index e7586cb..0000000 --- a/喷涂上线/Code/MESClassLibrary/DAL/painting/StockInDAL.cs +++ /dev/null @@ -1,577 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using MESClassLibrary.BLL.Log; - -namespace MESClassLibrary.DAL.painting -{ - public class StockInDAL - { - public DataTable SearchInfoA() - { - try - { - string sql = @"DECLARE @barcode nvarchar(100), - @productInfo nvarchar(100), - @createTime dateTime - - IF OBJECT_ID('TEMPDB..#a') IS NOT NULL - DROP TABLE #a - create table #a (BarCode nvarchar(100),productInfo nvarchar(100),createTime dateTime) - --truncate table #c - DECLARE cursor_name CURSOR FOR --定义游标 - SELECT barcode,CreateTime FROM dbo.tb_StockIn WHERE createTime BETWEEN CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 07:30:01') AND CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:00') AND pass=1 - ORDER BY createTime DESC - OPEN cursor_name --打开游标 - FETCH NEXT FROM cursor_name INTO @barcode ,@createTime --抓取下一行游标数据 - WHILE @@FETCH_STATUS = 0 - BEGIN - SELECT TOP 1 @productInfo=productInfo FROM dbo.tb_InspectResult WHERE barcode=@barcode ORDER BY createTime DESC - - insert into #a(BarCode,ProductInfo,CreateTime) values(@barcode,@productInfo,@createTime) - FETCH NEXT FROM cursor_name INTO @barcode,@createTime - END - CLOSE cursor_name --关闭游标 - DEALLOCATE cursor_name --释放游标 - -SELECT COUNT(*) AS c1 , - (SELECT COUNT(*) FROM #a WHERE productInfo LIKE '%槛%' ) c2 - FROM #a WHERE productInfo LIKE '%保%'"; -// SqlHelper.ExecuteNonQuery(SqlHelper.GetConnSting(), CommandType.Text, sql1, null); -// string sql = @"SELECT COUNT(*) AS c1 , -// (SELECT COUNT(*) FROM #c WHERE productInfo LIKE '%槛%' ) c2 -// FROM #c WHERE productInfo LIKE '%保%' "; -// string sql = @"select count(*) as c1 , -// (select count(*) from view_stockin where ([createtime] between convert(datetime,substring(convert(nvarchar(50),getdate(),120),1,10)+ ' 07:30:01') and convert(datetime,substring(convert(nvarchar(50),getdate(),120),1,10)+ ' 19:30:00')) and productinfo like '%槛%' and pass=1) c2 -// from view_stockin where ([createtime] between convert(datetime,substring(convert(nvarchar(50),getdate(),120),1,10)+ ' 07:30:01') and convert(datetime,substring(convert(nvarchar(50),getdate(),120),1,10)+ ' 19:30:00')) and productinfo like '%保%' and pass=1 "; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoB() - { - try - { - string sql = ""; - - if (DateTime.Now > DateTime.Parse(DateTime.Now.ToShortDateString() + " 19:30:00") && DateTime.Now < DateTime.Parse(DateTime.Now.ToShortDateString() + " 23:59:59")) - { - sql = @"DECLARE @barcode nvarchar(100), - @productInfo nvarchar(100), - @createTime dateTime - - IF OBJECT_ID('TEMPDB..#c') IS NOT NULL - DROP TABLE #c - create table #c (BarCode nvarchar(100),productInfo nvarchar(100),createTime dateTime) - --truncate table #c - DECLARE cursor_name CURSOR FOR --定义游标 - SELECT barcode,CreateTime FROM dbo.tb_StockIn WHERE createTime BETWEEN CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:01') AND CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 23:59:59') AND pass=1 - ORDER BY createTime DESC - OPEN cursor_name --打开游标 - FETCH NEXT FROM cursor_name INTO @barcode ,@createTime --抓取下一行游标数据 - WHILE @@FETCH_STATUS = 0 - BEGIN - SELECT TOP 1 @productInfo=productInfo FROM dbo.tb_InspectResult WHERE barcode=@barcode ORDER BY createTime DESC - - insert into #c(BarCode,ProductInfo,CreateTime) values(@barcode,@productInfo,@createTime) - --PRINT '用户ID:'+@productInfo - FETCH NEXT FROM cursor_name INTO @barcode,@createTime - END - CLOSE cursor_name --关闭游标 - DEALLOCATE cursor_name --释放游标 - - SELECT COUNT(*) AS c1 , - (SELECT COUNT(*) FROM #c WHERE productInfo LIKE '%槛%' ) c2 - FROM #c WHERE productInfo LIKE '%保%'"; -// sql = @"SELECT COUNT(*) AS c1 , -// (SELECT COUNT(*) FROM View_StockIn WHERE ([createTime] BETWEEN CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:01') AND CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 23:59:59')) AND productInfo LIKE '%槛%' and pass=1) c2 -// FROM View_StockIn WHERE ([createTime] BETWEEN CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:01') AND CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 23:59:59')) AND productInfo LIKE '%保%' and pass=1"; - } - - if (DateTime.Now > DateTime.Parse(DateTime.Now.ToShortDateString() + " 00:00:00") && DateTime.Now < DateTime.Parse(DateTime.Now.ToShortDateString() + " 07:30:00")) - { - sql = @"DECLARE @barcode nvarchar(100), - @productInfo nvarchar(100), - @createTime dateTime - - IF OBJECT_ID('TEMPDB..#c') IS NOT NULL - DROP TABLE #c - create table #c (BarCode nvarchar(100),productInfo nvarchar(100),createTime dateTime) - --truncate table #c - DECLARE cursor_name CURSOR FOR --定义游标 - SELECT barcode,CreateTime FROM dbo.tb_StockIn WHERE createTime BETWEEN DATEADD(day,-1, CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:01')) AND CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 07:30:00') AND pass=1 - ORDER BY createTime DESC - OPEN cursor_name --打开游标 - FETCH NEXT FROM cursor_name INTO @barcode ,@createTime --抓取下一行游标数据 - WHILE @@FETCH_STATUS = 0 - BEGIN - SELECT TOP 1 @productInfo=productInfo FROM dbo.tb_InspectResult WHERE barcode=@barcode ORDER BY createTime DESC - - insert into #c(BarCode,ProductInfo,CreateTime) values(@barcode,@productInfo,@createTime) - --PRINT '用户ID:'+@productInfo - FETCH NEXT FROM cursor_name INTO @barcode,@createTime - END - CLOSE cursor_name --关闭游标 - DEALLOCATE cursor_name --释放游标 - - SELECT COUNT(*) AS c1 , - (SELECT COUNT(*) FROM #c WHERE productInfo LIKE '%槛%' ) c2 - FROM #c WHERE productInfo LIKE '%保%'"; - // sql = @"SELECT COUNT(*) AS c1 , -// (SELECT COUNT(*) FROM View_StockIn WHERE ([createTime] BETWEEN DATEADD(day,-1, CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:01')) AND CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 07:30:00')) AND productInfo LIKE '%槛%' and pass=1) c2 -// FROM View_StockIn WHERE ([createTime] BETWEEN DATEADD(day,-1,CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:01')) AND CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 23:59:59')) AND productInfo LIKE '%保%' and pass=1"; - } - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoAByB() - { - try - { - string sql = ""; - - if (DateTime.Now > DateTime.Parse(DateTime.Now.ToShortDateString() + " 19:30:00") && DateTime.Now <= DateTime.Parse(DateTime.Now.ToShortDateString() + " 23:59:59")) - { - sql = @"DECLARE @barcode nvarchar(100), - @productInfo nvarchar(100), - @createTime dateTime - - IF OBJECT_ID('TEMPDB..#d') IS NOT NULL - DROP TABLE #d - create table #d (BarCode nvarchar(100),productInfo nvarchar(100),createTime dateTime) - --truncate table #c - DECLARE cursor_name CURSOR FOR --定义游标 - SELECT barcode,CreateTime FROM dbo.tb_StockIn WHERE createTime BETWEEN CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 07:30:01') AND CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:00') AND pass=1 - ORDER BY createTime DESC - OPEN cursor_name --打开游标 - FETCH NEXT FROM cursor_name INTO @barcode ,@createTime --抓取下一行游标数据 - WHILE @@FETCH_STATUS = 0 - BEGIN - SELECT TOP 1 @productInfo=productInfo FROM dbo.tb_InspectResult WHERE barcode=@barcode ORDER BY createTime DESC - - insert into #d(BarCode,ProductInfo,CreateTime) values(@barcode,@productInfo,@createTime) - --PRINT '用户ID:'+@productInfo - FETCH NEXT FROM cursor_name INTO @barcode,@createTime - END - CLOSE cursor_name --关闭游标 - DEALLOCATE cursor_name --释放游标 - - SELECT COUNT(*) AS c1 , - (SELECT COUNT(*) FROM #d WHERE productInfo LIKE '%槛%' ) c2 - FROM #d WHERE productInfo LIKE '%保%'"; -// sql = @"SELECT COUNT(*) AS c1 , -// (SELECT COUNT(*) FROM View_StockIn WHERE ([createTime] BETWEEN CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 07:30:01') AND CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:00')) AND productInfo LIKE '%槛%' and pass=1) c2 -// FROM View_StockIn WHERE ([createTime] BETWEEN CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 07:30:01') AND CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:00')) AND productInfo LIKE '%保%' and pass=1"; - } - - if (DateTime.Now > DateTime.Parse(DateTime.Now.ToShortDateString() + " 00:00:00") && DateTime.Now < DateTime.Parse(DateTime.Now.ToShortDateString() + " 07:30:00")) - { - sql = @"DECLARE @barcode nvarchar(100), - @productInfo nvarchar(100), - @createTime dateTime - - IF OBJECT_ID('TEMPDB..#d') IS NOT NULL - DROP TABLE #d - create table #d (BarCode nvarchar(100),productInfo nvarchar(100),createTime dateTime) - --truncate table #c - DECLARE cursor_name CURSOR FOR --定义游标 - SELECT barcode,CreateTime FROM dbo.tb_StockIn WHERE createTime BETWEEN DATEADD(day,-1, CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 07:30:01')) AND DATEADD(day,-1,CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:00')) AND pass=1 - ORDER BY createTime DESC - OPEN cursor_name --打开游标 - FETCH NEXT FROM cursor_name INTO @barcode ,@createTime --抓取下一行游标数据 - WHILE @@FETCH_STATUS = 0 - BEGIN - SELECT TOP 1 @productInfo=productInfo FROM dbo.tb_InspectResult WHERE barcode=@barcode ORDER BY createTime DESC - - insert into #d(BarCode,ProductInfo,CreateTime) values(@barcode,@productInfo,@createTime) - --PRINT '用户ID:'+@productInfo - FETCH NEXT FROM cursor_name INTO @barcode,@createTime - END - CLOSE cursor_name --关闭游标 - DEALLOCATE cursor_name --释放游标 - - SELECT COUNT(*) AS c1 , - (SELECT COUNT(*) FROM #d WHERE productInfo LIKE '%槛%' ) c2 - FROM #d WHERE productInfo LIKE '%保%'"; -// sql = @"SELECT COUNT(*) AS c1 , -// (SELECT COUNT(*) FROM View_StockIn WHERE ([createTime] BETWEEN DATEADD(day,-1, CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 07:30:01')) AND DATEADD(day,-1,CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:00'))) AND productInfo LIKE '%槛%' and pass=1) c2 -// FROM View_StockIn WHERE ([createTime] BETWEEN DATEADD(day,-1, CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 07:30:01')) AND DATEADD(day,-1,CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:00'))) AND productInfo LIKE '%保%' and pass=1 "; - } - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchInfoBByA() - { - try - { - string sql = ""; - sql = @"DECLARE @barcode nvarchar(100), - @productInfo nvarchar(100), - @createTime dateTime - - IF OBJECT_ID('TEMPDB..#b') IS NOT NULL - DROP TABLE #b - create table #b (BarCode nvarchar(100),productInfo nvarchar(100),createTime dateTime) - --truncate table #c - DECLARE cursor_name CURSOR FOR --定义游标 - SELECT barcode,CreateTime FROM dbo.tb_StockIn WHERE createTime BETWEEN DATEADD(day,-1, CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:00')) AND CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 07:29:59') AND pass=1 - ORDER BY createTime DESC - OPEN cursor_name --打开游标 - FETCH NEXT FROM cursor_name INTO @barcode ,@createTime --抓取下一行游标数据 - WHILE @@FETCH_STATUS = 0 - BEGIN - SELECT TOP 1 @productInfo=productInfo FROM dbo.tb_InspectResult WHERE barcode=@barcode ORDER BY createTime DESC - - insert into #b(BarCode,ProductInfo,CreateTime) values(@barcode,@productInfo,@createTime) - --PRINT '用户ID:'+@productInfo - FETCH NEXT FROM cursor_name INTO @barcode,@createTime - END - CLOSE cursor_name --关闭游标 - DEALLOCATE cursor_name --释放游标 - - SELECT COUNT(*) AS c1 , - (SELECT COUNT(*) FROM #b WHERE productInfo LIKE '%槛%' ) c2 - FROM #b WHERE productInfo LIKE '%保%'"; -// sql = @"SELECT COUNT(*) AS c1 , -// (SELECT COUNT(*) FROM View_StockIn WHERE ([createTime] BETWEEN DATEADD(day,-1, CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:00')) AND CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 07:29:59')) AND productInfo LIKE '%槛%' and pass=1) c2 -// FROM View_StockIn WHERE([createTime] BETWEEN DATEADD(day,-1, CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:00')) AND CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 07:29:59')) AND productInfo LIKE '%保%' and pass=1"; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchDetailA() - { - try - { - string sql = @"DECLARE @barcode nvarchar(100), - @productInfo nvarchar(100), - @createTime DATETIME, - @totle INT , - @ptype NVARCHAR(100), - @color NVARCHAR(100) - - - IF OBJECT_ID('TEMPDB..#a') IS NOT NULL - DROP TABLE #a - create table #a (BarCode nvarchar(100),productInfo nvarchar(100),createTime dateTime) - --truncate table #c - DECLARE cursor_name CURSOR FOR --定义游标 - SELECT barcode,CreateTime FROM dbo.tb_StockIn WHERE createTime BETWEEN CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 07:30:01') AND CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:00') AND pass=1 - ORDER BY createTime DESC - OPEN cursor_name --打开游标 - FETCH NEXT FROM cursor_name INTO @barcode ,@createTime --抓取下一行游标数据 - WHILE @@FETCH_STATUS = 0 - BEGIN - SELECT TOP 1 @productInfo=productInfo FROM dbo.tb_InspectResult WHERE barcode=@barcode ORDER BY createTime DESC - - insert into #a(BarCode,ProductInfo,CreateTime) values(@barcode,@productInfo,@createTime) - FETCH NEXT FROM cursor_name INTO @barcode,@createTime - END - CLOSE cursor_name --关闭游标 - DEALLOCATE cursor_name --释放游标 - - IF OBJECT_ID('TEMPDB..#temp') IS NOT NULL - DROP TABLE #temp - create table #temp (id INT IDENTITY(1,1)NOT NULL, totle INT,ptype nvarchar(100),color NVARCHAR(100)) - - DECLARE a1 CURSOR FOR --定义游标 - SELECT COUNT(0) totle,SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) AS PType,LEFT(productInfo,CHARINDEX(',',productInfo)-1) AS color - FROM #a WHERE productInfo LIKE '%槛%' - GROUP BY LEFT(productInfo,CHARINDEX(',',productInfo)-1),SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) - ORDER BY SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) - OPEN a1 --打开游标 - FETCH NEXT FROM a1 INTO @totle ,@ptype,@color --抓取下一行游标数据 - WHILE @@FETCH_STATUS = 0 - BEGIN - - insert into #temp(totle,ptype,color) values(@totle,@ptype,@color) - FETCH NEXT FROM a1 INTO @totle ,@ptype,@color - END - CLOSE a1 --关闭游标 - DEALLOCATE a1 --释放游标 - - - DECLARE a2 CURSOR FOR --定义游标 - SELECT COUNT(0) totle,SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) AS PType,LEFT(productInfo,CHARINDEX(',',productInfo)-1) AS color - FROM #a WHERE productInfo LIKE '%保%' - GROUP BY LEFT(productInfo,CHARINDEX(',',productInfo)-1),SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) - ORDER BY SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) - OPEN a2 --打开游标 - FETCH NEXT FROM a2 INTO @totle ,@ptype,@color --抓取下一行游标数据 - WHILE @@FETCH_STATUS = 0 - BEGIN - insert into #temp(totle,ptype,color) values(@totle,@ptype,@color) - FETCH NEXT FROM a2 INTO @totle ,@ptype,@color - END - CLOSE a2 --关闭游标 - DEALLOCATE a2 --释放游标 - - SELECT * FROM #temp ORDER BY id "; - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - - public DataTable SearchDetailB() - { - try - { - string sql = ""; - - if (DateTime.Now > DateTime.Parse(DateTime.Now.ToShortDateString() + " 19:30:00") && DateTime.Now < DateTime.Parse(DateTime.Now.ToShortDateString() + " 23:59:59")) - { - sql = @"DECLARE @barcode nvarchar(100), - @productInfo nvarchar(100), - @createTime DATETIME, - @totle INT , - @ptype NVARCHAR(100), - @color NVARCHAR(100) - - - IF OBJECT_ID('TEMPDB..#a') IS NOT NULL - DROP TABLE #a - create table #a (BarCode nvarchar(100),productInfo nvarchar(100),createTime dateTime) - --truncate table #c - DECLARE cursor_name CURSOR FOR --定义游标 - SELECT barcode,CreateTime FROM dbo.tb_StockIn WHERE createTime BETWEEN CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:01') AND CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 23:59:59') AND pass=1 - ORDER BY createTime DESC - OPEN cursor_name --打开游标 - FETCH NEXT FROM cursor_name INTO @barcode ,@createTime --抓取下一行游标数据 - WHILE @@FETCH_STATUS = 0 - BEGIN - SELECT TOP 1 @productInfo=productInfo FROM dbo.tb_InspectResult WHERE barcode=@barcode ORDER BY createTime DESC - - insert into #a(BarCode,ProductInfo,CreateTime) values(@barcode,@productInfo,@createTime) - FETCH NEXT FROM cursor_name INTO @barcode,@createTime - END - CLOSE cursor_name --关闭游标 - DEALLOCATE cursor_name --释放游标 - - IF OBJECT_ID('TEMPDB..#temp') IS NOT NULL - DROP TABLE #temp - create table #temp (id INT IDENTITY(1,1)NOT NULL, totle INT,ptype nvarchar(100),color NVARCHAR(100)) - - DECLARE a1 CURSOR FOR --定义游标 - SELECT COUNT(0) totle,SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) AS PType,LEFT(productInfo,CHARINDEX(',',productInfo)-1) AS color - FROM #a WHERE productInfo LIKE '%槛%' - GROUP BY LEFT(productInfo,CHARINDEX(',',productInfo)-1),SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) - ORDER BY SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) - OPEN a1 --打开游标 - FETCH NEXT FROM a1 INTO @totle ,@ptype,@color --抓取下一行游标数据 - WHILE @@FETCH_STATUS = 0 - BEGIN - - insert into #temp(totle,ptype,color) values(@totle,@ptype,@color) - FETCH NEXT FROM a1 INTO @totle ,@ptype,@color - END - CLOSE a1 --关闭游标 - DEALLOCATE a1 --释放游标 - - - DECLARE a2 CURSOR FOR --定义游标 - SELECT COUNT(0) totle,SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) AS PType,LEFT(productInfo,CHARINDEX(',',productInfo)-1) AS color - FROM #a WHERE productInfo LIKE '%保%' - GROUP BY LEFT(productInfo,CHARINDEX(',',productInfo)-1),SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) - ORDER BY SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) - OPEN a2 --打开游标 - FETCH NEXT FROM a2 INTO @totle ,@ptype,@color --抓取下一行游标数据 - WHILE @@FETCH_STATUS = 0 - BEGIN - insert into #temp(totle,ptype,color) values(@totle,@ptype,@color) - FETCH NEXT FROM a2 INTO @totle ,@ptype,@color - END - CLOSE a2 --关闭游标 - DEALLOCATE a2 --释放游标 - - SELECT * FROM #temp ORDER BY id "; - } - - if (DateTime.Now > DateTime.Parse(DateTime.Now.ToShortDateString() + " 00:00:00") && DateTime.Now < DateTime.Parse(DateTime.Now.ToShortDateString() + " 07:30:00")) - { - sql = @"DECLARE @barcode nvarchar(100), - @productInfo nvarchar(100), - @createTime DATETIME, - @totle INT , - @ptype NVARCHAR(100), - @color NVARCHAR(100) - - - IF OBJECT_ID('TEMPDB..#a') IS NOT NULL - DROP TABLE #a - create table #a (BarCode nvarchar(100),productInfo nvarchar(100),createTime dateTime) - --truncate table #c - DECLARE cursor_name CURSOR FOR --定义游标 - SELECT barcode,CreateTime FROM dbo.tb_StockIn WHERE createTime BETWEEN DATEADD(day,-1, CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:01')) AND CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 07:30:00') AND pass=1 - ORDER BY createTime DESC - OPEN cursor_name --打开游标 - FETCH NEXT FROM cursor_name INTO @barcode ,@createTime --抓取下一行游标数据 - WHILE @@FETCH_STATUS = 0 - BEGIN - SELECT TOP 1 @productInfo=productInfo FROM dbo.tb_InspectResult WHERE barcode=@barcode ORDER BY createTime DESC - - insert into #a(BarCode,ProductInfo,CreateTime) values(@barcode,@productInfo,@createTime) - FETCH NEXT FROM cursor_name INTO @barcode,@createTime - END - CLOSE cursor_name --关闭游标 - DEALLOCATE cursor_name --释放游标 - - IF OBJECT_ID('TEMPDB..#temp') IS NOT NULL - DROP TABLE #temp - create table #temp (id INT IDENTITY(1,1)NOT NULL, totle INT,ptype nvarchar(100),color NVARCHAR(100)) - - DECLARE a1 CURSOR FOR --定义游标 - SELECT COUNT(0) totle,SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) AS PType,LEFT(productInfo,CHARINDEX(',',productInfo)-1) AS color - FROM #a WHERE productInfo LIKE '%槛%' - GROUP BY LEFT(productInfo,CHARINDEX(',',productInfo)-1),SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) - ORDER BY SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) - OPEN a1 --打开游标 - FETCH NEXT FROM a1 INTO @totle ,@ptype,@color --抓取下一行游标数据 - WHILE @@FETCH_STATUS = 0 - BEGIN - - insert into #temp(totle,ptype,color) values(@totle,@ptype,@color) - FETCH NEXT FROM a1 INTO @totle ,@ptype,@color - END - CLOSE a1 --关闭游标 - DEALLOCATE a1 --释放游标 - - - DECLARE a2 CURSOR FOR --定义游标 - SELECT COUNT(0) totle,SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) AS PType,LEFT(productInfo,CHARINDEX(',',productInfo)-1) AS color - FROM #a WHERE productInfo LIKE '%保%' - GROUP BY LEFT(productInfo,CHARINDEX(',',productInfo)-1),SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) - ORDER BY SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) - OPEN a2 --打开游标 - FETCH NEXT FROM a2 INTO @totle ,@ptype,@color --抓取下一行游标数据 - WHILE @@FETCH_STATUS = 0 - BEGIN - insert into #temp(totle,ptype,color) values(@totle,@ptype,@color) - FETCH NEXT FROM a2 INTO @totle ,@ptype,@color - END - CLOSE a2 --关闭游标 - DEALLOCATE a2 --释放游标 - - SELECT * FROM #temp ORDER BY id "; - } - - if (DateTime.Now > DateTime.Parse(DateTime.Now.ToShortDateString() + " 07:30:00") && DateTime.Now < DateTime.Parse(DateTime.Now.ToShortDateString() + " 19:30:00")) - { - sql = @"DECLARE @barcode nvarchar(100), - @productInfo nvarchar(100), - @createTime DATETIME, - @totle INT , - @ptype NVARCHAR(100), - @color NVARCHAR(100) - - - IF OBJECT_ID('TEMPDB..#a') IS NOT NULL - DROP TABLE #a - create table #a (BarCode nvarchar(100),productInfo nvarchar(100),createTime dateTime) - --truncate table #c - DECLARE cursor_name CURSOR FOR --定义游标 - SELECT barcode,CreateTime FROM dbo.tb_StockIn WHERE [createTime] BETWEEN DATEADD(day,-1, CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 19:30:01')) AND CONVERT(DATETIME,SUBSTRING(CONVERT(NVARCHAR(50),GETDATE(),120),1,10)+ ' 07:30:00') AND pass=1 - ORDER BY createTime DESC - OPEN cursor_name --打开游标 - FETCH NEXT FROM cursor_name INTO @barcode ,@createTime --抓取下一行游标数据 - WHILE @@FETCH_STATUS = 0 - BEGIN - SELECT TOP 1 @productInfo=productInfo FROM dbo.tb_InspectResult WHERE barcode=@barcode ORDER BY createTime DESC - - insert into #a(BarCode,ProductInfo,CreateTime) values(@barcode,@productInfo,@createTime) - FETCH NEXT FROM cursor_name INTO @barcode,@createTime - END - CLOSE cursor_name --关闭游标 - DEALLOCATE cursor_name --释放游标 - - IF OBJECT_ID('TEMPDB..#temp') IS NOT NULL - DROP TABLE #temp - create table #temp (id INT IDENTITY(1,1)NOT NULL, totle INT,ptype nvarchar(100),color NVARCHAR(100)) - - DECLARE a1 CURSOR FOR --定义游标 - SELECT COUNT(0) totle,SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) AS PType,LEFT(productInfo,CHARINDEX(',',productInfo)-1) AS color - FROM #a WHERE productInfo LIKE '%槛%' - GROUP BY LEFT(productInfo,CHARINDEX(',',productInfo)-1),SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) - ORDER BY SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) - OPEN a1 --打开游标 - FETCH NEXT FROM a1 INTO @totle ,@ptype,@color --抓取下一行游标数据 - WHILE @@FETCH_STATUS = 0 - BEGIN - - insert into #temp(totle,ptype,color) values(@totle,@ptype,@color) - FETCH NEXT FROM a1 INTO @totle ,@ptype,@color - END - CLOSE a1 --关闭游标 - DEALLOCATE a1 --释放游标 - - - DECLARE a2 CURSOR FOR --定义游标 - SELECT COUNT(0) totle,SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) AS PType,LEFT(productInfo,CHARINDEX(',',productInfo)-1) AS color - FROM #a WHERE productInfo LIKE '%保%' - GROUP BY LEFT(productInfo,CHARINDEX(',',productInfo)-1),SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) - ORDER BY SUBSTRING(productInfo, dbo.fn_find(',',productInfo,3 )+1,LEN(productInfo)-dbo.fn_find(',',productInfo,3 )) - OPEN a2 --打开游标 - FETCH NEXT FROM a2 INTO @totle ,@ptype,@color --抓取下一行游标数据 - WHILE @@FETCH_STATUS = 0 - BEGIN - insert into #temp(totle,ptype,color) values(@totle,@ptype,@color) - FETCH NEXT FROM a2 INTO @totle ,@ptype,@color - END - CLOSE a2 --关闭游标 - DEALLOCATE a2 --释放游标 - - SELECT * FROM #temp ORDER BY id -"; - } - - return SqlHelper.ExecuteDataset(SqlHelper.GetConnSting(), CommandType.Text, sql, null).Tables[0]; - - } - catch (Exception ex) - { - LogErrBLL.AddInfo(ex.ToString(), MethodBase.GetCurrentMethod()); - return null; - } - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.Context.cs b/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.Context.cs deleted file mode 100644 index 49ae55d..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.Context.cs +++ /dev/null @@ -1,127 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Data.Entity; - using System.Data.Entity.Infrastructure; - - public partial class BBMPTEntities : DbContext - { - public BBMPTEntities() - : base("name=BBMPTEntities") - { - } - - protected override void OnModelCreating(DbModelBuilder modelBuilder) - { - throw new UnintentionalCodeFirstException(); - } - - public virtual DbSet LogErr { get; set; } - public virtual DbSet LogSys { get; set; } - public virtual DbSet T_PaintInfo { get; set; } - public virtual DbSet T_Sys_Buttons { get; set; } - public virtual DbSet T_Sys_NavMenu { get; set; } - public virtual DbSet T_Sys_Power { get; set; } - public virtual DbSet T_Sys_Role { get; set; } - public virtual DbSet T_Sys_UserRole { get; set; } - public virtual DbSet T_Sys_Users { get; set; } - public virtual DbSet T_Sys_Users_NavMenu { get; set; } - public virtual DbSet TA_DEPT { get; set; } - public virtual DbSet tb_Assembly_247 { get; set; } - public virtual DbSet tb_Bad_Injection { get; set; } - public virtual DbSet tb_BarCode1 { get; set; } - public virtual DbSet tb_BarCode2 { get; set; } - public virtual DbSet tb_BarCode3 { get; set; } - public virtual DbSet tb_BarCode4 { get; set; } - public virtual DbSet tb_BarCode5 { get; set; } - public virtual DbSet tb_Bom { get; set; } - public virtual DbSet tb_Box_247 { get; set; } - public virtual DbSet tb_BucketInfo { get; set; } - public virtual DbSet tb_CarType { get; set; } - public virtual DbSet tb_CheckItem { get; set; } - public virtual DbSet tb_Color { get; set; } - public virtual DbSet tb_CommonlyInspection { get; set; } - public virtual DbSet tb_CommonlyInspectionRecord { get; set; } - public virtual DbSet tb_CommonlyInspectionVersion { get; set; } - public virtual DbSet tb_Config { get; set; } - public virtual DbSet tb_Cylinder { get; set; } - public virtual DbSet tb_CylinderAndRaw { get; set; } - public virtual DbSet tb_Defect { get; set; } - public virtual DbSet tb_Device { get; set; } - public virtual DbSet tb_DeviceKeepItems { get; set; } - public virtual DbSet tb_Factory { get; set; } - public virtual DbSet tb_FinishProduct { get; set; } - public virtual DbSet tb_ImgVideo { get; set; } - public virtual DbSet tb_Inhection_DownReason { get; set; } - public virtual DbSet tb_Injection_BoxRecord { get; set; } - public virtual DbSet tb_Injection_DownRecord { get; set; } - public virtual DbSet tb_Injection_DownTime { get; set; } - public virtual DbSet tb_Injection_DownType { get; set; } - public virtual DbSet tb_Injection_Record { get; set; } - public virtual DbSet tb_InjectionPlan { get; set; } - public virtual DbSet tb_InjectPlanReport { get; set; } - public virtual DbSet tb_InspectResult { get; set; } - public virtual DbSet tb_KeepItems { get; set; } - public virtual DbSet tb_KeepItemsVersion { get; set; } - public virtual DbSet tb_KeepLevel { get; set; } - public virtual DbSet tb_KeepPlan { get; set; } - public virtual DbSet tb_KeepRecord { get; set; } - public virtual DbSet tb_KeepVersion { get; set; } - public virtual DbSet tb_LayerAndBC { get; set; } - public virtual DbSet tb_Line { get; set; } - public virtual DbSet tb_Machine { get; set; } - public virtual DbSet tb_Manufacturer { get; set; } - public virtual DbSet tb_Mistake_247 { get; set; } - public virtual DbSet tb_Model_Product { get; set; } - public virtual DbSet tb_Model_Update { get; set; } - public virtual DbSet tb_ModelCount { get; set; } - public virtual DbSet tb_ModelInfo { get; set; } - public virtual DbSet tb_Operator { get; set; } - public virtual DbSet tb_Paint_Bucket { get; set; } - public virtual DbSet tb_PaintBarCode { get; set; } - public virtual DbSet tb_PaintInfo { get; set; } - public virtual DbSet tb_Place { get; set; } - public virtual DbSet tb_Plan_247 { get; set; } - public virtual DbSet tb_PlanScreenConfig { get; set; } - public virtual DbSet tb_Plastic { get; set; } - public virtual DbSet tb_PLC_Break { get; set; } - public virtual DbSet tb_PLC_Mould { get; set; } - public virtual DbSet tb_Product { get; set; } - public virtual DbSet tb_Product_ { get; set; } - public virtual DbSet tb_Product_Color { get; set; } - public virtual DbSet tb_Product_Injection { get; set; } - public virtual DbSet tb_Product_Injection_w { get; set; } - public virtual DbSet tb_ProductSotckIn { get; set; } - public virtual DbSet tb_ProductType { get; set; } - public virtual DbSet tb_Record_247 { get; set; } - public virtual DbSet tb_Report_FiveScreen { get; set; } - public virtual DbSet tb_Report_FiveScreenConfig { get; set; } - public virtual DbSet tb_Report_FiveScreenLast { get; set; } - public virtual DbSet tb_SkidInfo { get; set; } - public virtual DbSet tb_Station { get; set; } - public virtual DbSet tb_StationAndCylinder { get; set; } - public virtual DbSet tb_StockIn { get; set; } - public virtual DbSet tb_StockIn_beif { get; set; } - public virtual DbSet tb_StockInColor { get; set; } - public virtual DbSet tb_test { get; set; } - public virtual DbSet tb_weightRecord { get; set; } - public virtual DbSet tb_ZPPlan { get; set; } - public virtual DbSet TES_BOM { get; set; } - public virtual DbSet TES_PART_MSTR { get; set; } - public virtual DbSet test2 { get; set; } - public virtual DbSet T_Sys_RoleLinkPower { get; set; } - public virtual DbSet tb_Report_FiveScreenStandard { get; set; } - public virtual DbSet tb_ReportPaintingScreen { get; set; } - public virtual DbSet tb_ReportPaintingScreen_pg { get; set; } - public virtual DbSet test1 { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.Context.tt b/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.Context.tt deleted file mode 100644 index eb83c98..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.Context.tt +++ /dev/null @@ -1,636 +0,0 @@ -<#@ template language="C#" debug="false" hostspecific="true"#> -<#@ include file="EF6.Utility.CS.ttinclude"#><#@ - output extension=".cs"#><# - -const string inputFile = @"BBMPT.edmx"; -var textTransform = DynamicTextTransformation.Create(this); -var code = new CodeGenerationTools(this); -var ef = new MetadataTools(this); -var typeMapper = new TypeMapper(code, ef, textTransform.Errors); -var loader = new EdmMetadataLoader(textTransform.Host, textTransform.Errors); -var itemCollection = loader.CreateEdmItemCollection(inputFile); -var modelNamespace = loader.GetModelNamespace(inputFile); -var codeStringGenerator = new CodeStringGenerator(code, typeMapper, ef); - -var container = itemCollection.OfType().FirstOrDefault(); -if (container == null) -{ - return string.Empty; -} -#> -//------------------------------------------------------------------------------ -// -// <#=CodeGenerationTools.GetResourceString("Template_GeneratedCodeCommentLine1")#> -// -// <#=CodeGenerationTools.GetResourceString("Template_GeneratedCodeCommentLine2")#> -// <#=CodeGenerationTools.GetResourceString("Template_GeneratedCodeCommentLine3")#> -// -//------------------------------------------------------------------------------ - -<# - -var codeNamespace = code.VsNamespaceSuggestion(); -if (!String.IsNullOrEmpty(codeNamespace)) -{ -#> -namespace <#=code.EscapeNamespace(codeNamespace)#> -{ -<# - PushIndent(" "); -} - -#> -using System; -using System.Data.Entity; -using System.Data.Entity.Infrastructure; -<# -if (container.FunctionImports.Any()) -{ -#> -using System.Data.Entity.Core.Objects; -using System.Linq; -<# -} -#> - -<#=Accessibility.ForType(container)#> partial class <#=code.Escape(container)#> : DbContext -{ - public <#=code.Escape(container)#>() - : base("name=<#=container.Name#>") - { -<# -if (!loader.IsLazyLoadingEnabled(container)) -{ -#> - this.Configuration.LazyLoadingEnabled = false; -<# -} - -foreach (var entitySet in container.BaseEntitySets.OfType()) -{ - // Note: the DbSet members are defined below such that the getter and - // setter always have the same accessibility as the DbSet definition - if (Accessibility.ForReadOnlyProperty(entitySet) != "public") - { -#> - <#=codeStringGenerator.DbSetInitializer(entitySet)#> -<# - } -} -#> - } - - protected override void OnModelCreating(DbModelBuilder modelBuilder) - { - throw new UnintentionalCodeFirstException(); - } - -<# - foreach (var entitySet in container.BaseEntitySets.OfType()) - { -#> - <#=codeStringGenerator.DbSet(entitySet)#> -<# - } - - foreach (var edmFunction in container.FunctionImports) - { - WriteFunctionImport(typeMapper, codeStringGenerator, edmFunction, modelNamespace, includeMergeOption: false); - } -#> -} -<# - -if (!String.IsNullOrEmpty(codeNamespace)) -{ - PopIndent(); -#> -} -<# -} -#> -<#+ - -private void WriteFunctionImport(TypeMapper typeMapper, CodeStringGenerator codeStringGenerator, EdmFunction edmFunction, string modelNamespace, bool includeMergeOption) -{ - if (typeMapper.IsComposable(edmFunction)) - { -#> - - [DbFunction("<#=edmFunction.NamespaceName#>", "<#=edmFunction.Name#>")] - <#=codeStringGenerator.ComposableFunctionMethod(edmFunction, modelNamespace)#> - { -<#+ - codeStringGenerator.WriteFunctionParameters(edmFunction, WriteFunctionParameter); -#> - <#=codeStringGenerator.ComposableCreateQuery(edmFunction, modelNamespace)#> - } -<#+ - } - else - { -#> - - <#=codeStringGenerator.FunctionMethod(edmFunction, modelNamespace, includeMergeOption)#> - { -<#+ - codeStringGenerator.WriteFunctionParameters(edmFunction, WriteFunctionParameter); -#> - <#=codeStringGenerator.ExecuteFunction(edmFunction, modelNamespace, includeMergeOption)#> - } -<#+ - if (typeMapper.GenerateMergeOptionFunction(edmFunction, includeMergeOption)) - { - WriteFunctionImport(typeMapper, codeStringGenerator, edmFunction, modelNamespace, includeMergeOption: true); - } - } -} - -public void WriteFunctionParameter(string name, string isNotNull, string notNullInit, string nullInit) -{ -#> - var <#=name#> = <#=isNotNull#> ? - <#=notNullInit#> : - <#=nullInit#>; - -<#+ -} - -public const string TemplateId = "CSharp_DbContext_Context_EF6"; - -public class CodeStringGenerator -{ - private readonly CodeGenerationTools _code; - private readonly TypeMapper _typeMapper; - private readonly MetadataTools _ef; - - public CodeStringGenerator(CodeGenerationTools code, TypeMapper typeMapper, MetadataTools ef) - { - ArgumentNotNull(code, "code"); - ArgumentNotNull(typeMapper, "typeMapper"); - ArgumentNotNull(ef, "ef"); - - _code = code; - _typeMapper = typeMapper; - _ef = ef; - } - - public string Property(EdmProperty edmProperty) - { - return string.Format( - CultureInfo.InvariantCulture, - "{0} {1} {2} {{ {3}get; {4}set; }}", - Accessibility.ForProperty(edmProperty), - _typeMapper.GetTypeName(edmProperty.TypeUsage), - _code.Escape(edmProperty), - _code.SpaceAfter(Accessibility.ForGetter(edmProperty)), - _code.SpaceAfter(Accessibility.ForSetter(edmProperty))); - } - - public string NavigationProperty(NavigationProperty navProp) - { - var endType = _typeMapper.GetTypeName(navProp.ToEndMember.GetEntityType()); - return string.Format( - CultureInfo.InvariantCulture, - "{0} {1} {2} {{ {3}get; {4}set; }}", - AccessibilityAndVirtual(Accessibility.ForNavigationProperty(navProp)), - navProp.ToEndMember.RelationshipMultiplicity == RelationshipMultiplicity.Many ? ("ICollection<" + endType + ">") : endType, - _code.Escape(navProp), - _code.SpaceAfter(Accessibility.ForGetter(navProp)), - _code.SpaceAfter(Accessibility.ForSetter(navProp))); - } - - public string AccessibilityAndVirtual(string accessibility) - { - return accessibility + (accessibility != "private" ? " virtual" : ""); - } - - public string EntityClassOpening(EntityType entity) - { - return string.Format( - CultureInfo.InvariantCulture, - "{0} {1}partial class {2}{3}", - Accessibility.ForType(entity), - _code.SpaceAfter(_code.AbstractOption(entity)), - _code.Escape(entity), - _code.StringBefore(" : ", _typeMapper.GetTypeName(entity.BaseType))); - } - - public string EnumOpening(SimpleType enumType) - { - return string.Format( - CultureInfo.InvariantCulture, - "{0} enum {1} : {2}", - Accessibility.ForType(enumType), - _code.Escape(enumType), - _code.Escape(_typeMapper.UnderlyingClrType(enumType))); - } - - public void WriteFunctionParameters(EdmFunction edmFunction, Action writeParameter) - { - var parameters = FunctionImportParameter.Create(edmFunction.Parameters, _code, _ef); - foreach (var parameter in parameters.Where(p => p.NeedsLocalVariable)) - { - var isNotNull = parameter.IsNullableOfT ? parameter.FunctionParameterName + ".HasValue" : parameter.FunctionParameterName + " != null"; - var notNullInit = "new ObjectParameter(\"" + parameter.EsqlParameterName + "\", " + parameter.FunctionParameterName + ")"; - var nullInit = "new ObjectParameter(\"" + parameter.EsqlParameterName + "\", typeof(" + TypeMapper.FixNamespaces(parameter.RawClrTypeName) + "))"; - writeParameter(parameter.LocalVariableName, isNotNull, notNullInit, nullInit); - } - } - - public string ComposableFunctionMethod(EdmFunction edmFunction, string modelNamespace) - { - var parameters = _typeMapper.GetParameters(edmFunction); - - return string.Format( - CultureInfo.InvariantCulture, - "{0} IQueryable<{1}> {2}({3})", - AccessibilityAndVirtual(Accessibility.ForMethod(edmFunction)), - _typeMapper.GetTypeName(_typeMapper.GetReturnType(edmFunction), modelNamespace), - _code.Escape(edmFunction), - string.Join(", ", parameters.Select(p => TypeMapper.FixNamespaces(p.FunctionParameterType) + " " + p.FunctionParameterName).ToArray())); - } - - public string ComposableCreateQuery(EdmFunction edmFunction, string modelNamespace) - { - var parameters = _typeMapper.GetParameters(edmFunction); - - return string.Format( - CultureInfo.InvariantCulture, - "return ((IObjectContextAdapter)this).ObjectContext.CreateQuery<{0}>(\"[{1}].[{2}]({3})\"{4});", - _typeMapper.GetTypeName(_typeMapper.GetReturnType(edmFunction), modelNamespace), - edmFunction.NamespaceName, - edmFunction.Name, - string.Join(", ", parameters.Select(p => "@" + p.EsqlParameterName).ToArray()), - _code.StringBefore(", ", string.Join(", ", parameters.Select(p => p.ExecuteParameterName).ToArray()))); - } - - public string FunctionMethod(EdmFunction edmFunction, string modelNamespace, bool includeMergeOption) - { - var parameters = _typeMapper.GetParameters(edmFunction); - var returnType = _typeMapper.GetReturnType(edmFunction); - - var paramList = String.Join(", ", parameters.Select(p => TypeMapper.FixNamespaces(p.FunctionParameterType) + " " + p.FunctionParameterName).ToArray()); - if (includeMergeOption) - { - paramList = _code.StringAfter(paramList, ", ") + "MergeOption mergeOption"; - } - - return string.Format( - CultureInfo.InvariantCulture, - "{0} {1} {2}({3})", - AccessibilityAndVirtual(Accessibility.ForMethod(edmFunction)), - returnType == null ? "int" : "ObjectResult<" + _typeMapper.GetTypeName(returnType, modelNamespace) + ">", - _code.Escape(edmFunction), - paramList); - } - - public string ExecuteFunction(EdmFunction edmFunction, string modelNamespace, bool includeMergeOption) - { - var parameters = _typeMapper.GetParameters(edmFunction); - var returnType = _typeMapper.GetReturnType(edmFunction); - - var callParams = _code.StringBefore(", ", String.Join(", ", parameters.Select(p => p.ExecuteParameterName).ToArray())); - if (includeMergeOption) - { - callParams = ", mergeOption" + callParams; - } - - return string.Format( - CultureInfo.InvariantCulture, - "return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction{0}(\"{1}\"{2});", - returnType == null ? "" : "<" + _typeMapper.GetTypeName(returnType, modelNamespace) + ">", - edmFunction.Name, - callParams); - } - - public string DbSet(EntitySet entitySet) - { - return string.Format( - CultureInfo.InvariantCulture, - "{0} virtual DbSet<{1}> {2} {{ get; set; }}", - Accessibility.ForReadOnlyProperty(entitySet), - _typeMapper.GetTypeName(entitySet.ElementType), - _code.Escape(entitySet)); - } - - public string DbSetInitializer(EntitySet entitySet) - { - return string.Format( - CultureInfo.InvariantCulture, - "{0} = Set<{1}>();", - _code.Escape(entitySet), - _typeMapper.GetTypeName(entitySet.ElementType)); - } - - public string UsingDirectives(bool inHeader, bool includeCollections = true) - { - return inHeader == string.IsNullOrEmpty(_code.VsNamespaceSuggestion()) - ? string.Format( - CultureInfo.InvariantCulture, - "{0}using System;{1}" + - "{2}", - inHeader ? Environment.NewLine : "", - includeCollections ? (Environment.NewLine + "using System.Collections.Generic;") : "", - inHeader ? "" : Environment.NewLine) - : ""; - } -} - -public class TypeMapper -{ - private const string ExternalTypeNameAttributeName = @"http://schemas.microsoft.com/ado/2006/04/codegeneration:ExternalTypeName"; - - private readonly System.Collections.IList _errors; - private readonly CodeGenerationTools _code; - private readonly MetadataTools _ef; - - public static string FixNamespaces(string typeName) - { - return typeName.Replace("System.Data.Spatial.", "System.Data.Entity.Spatial."); - } - - public TypeMapper(CodeGenerationTools code, MetadataTools ef, System.Collections.IList errors) - { - ArgumentNotNull(code, "code"); - ArgumentNotNull(ef, "ef"); - ArgumentNotNull(errors, "errors"); - - _code = code; - _ef = ef; - _errors = errors; - } - - public string GetTypeName(TypeUsage typeUsage) - { - return typeUsage == null ? null : GetTypeName(typeUsage.EdmType, _ef.IsNullable(typeUsage), modelNamespace: null); - } - - public string GetTypeName(EdmType edmType) - { - return GetTypeName(edmType, isNullable: null, modelNamespace: null); - } - - public string GetTypeName(TypeUsage typeUsage, string modelNamespace) - { - return typeUsage == null ? null : GetTypeName(typeUsage.EdmType, _ef.IsNullable(typeUsage), modelNamespace); - } - - public string GetTypeName(EdmType edmType, string modelNamespace) - { - return GetTypeName(edmType, isNullable: null, modelNamespace: modelNamespace); - } - - public string GetTypeName(EdmType edmType, bool? isNullable, string modelNamespace) - { - if (edmType == null) - { - return null; - } - - var collectionType = edmType as CollectionType; - if (collectionType != null) - { - return String.Format(CultureInfo.InvariantCulture, "ICollection<{0}>", GetTypeName(collectionType.TypeUsage, modelNamespace)); - } - - var typeName = _code.Escape(edmType.MetadataProperties - .Where(p => p.Name == ExternalTypeNameAttributeName) - .Select(p => (string)p.Value) - .FirstOrDefault()) - ?? (modelNamespace != null && edmType.NamespaceName != modelNamespace ? - _code.CreateFullName(_code.EscapeNamespace(edmType.NamespaceName), _code.Escape(edmType)) : - _code.Escape(edmType)); - - if (edmType is StructuralType) - { - return typeName; - } - - if (edmType is SimpleType) - { - var clrType = UnderlyingClrType(edmType); - if (!IsEnumType(edmType)) - { - typeName = _code.Escape(clrType); - } - - typeName = FixNamespaces(typeName); - - return clrType.IsValueType && isNullable == true ? - String.Format(CultureInfo.InvariantCulture, "Nullable<{0}>", typeName) : - typeName; - } - - throw new ArgumentException("edmType"); - } - - public Type UnderlyingClrType(EdmType edmType) - { - ArgumentNotNull(edmType, "edmType"); - - var primitiveType = edmType as PrimitiveType; - if (primitiveType != null) - { - return primitiveType.ClrEquivalentType; - } - - if (IsEnumType(edmType)) - { - return GetEnumUnderlyingType(edmType).ClrEquivalentType; - } - - return typeof(object); - } - - public object GetEnumMemberValue(MetadataItem enumMember) - { - ArgumentNotNull(enumMember, "enumMember"); - - var valueProperty = enumMember.GetType().GetProperty("Value"); - return valueProperty == null ? null : valueProperty.GetValue(enumMember, null); - } - - public string GetEnumMemberName(MetadataItem enumMember) - { - ArgumentNotNull(enumMember, "enumMember"); - - var nameProperty = enumMember.GetType().GetProperty("Name"); - return nameProperty == null ? null : (string)nameProperty.GetValue(enumMember, null); - } - - public System.Collections.IEnumerable GetEnumMembers(EdmType enumType) - { - ArgumentNotNull(enumType, "enumType"); - - var membersProperty = enumType.GetType().GetProperty("Members"); - return membersProperty != null - ? (System.Collections.IEnumerable)membersProperty.GetValue(enumType, null) - : Enumerable.Empty(); - } - - public bool EnumIsFlags(EdmType enumType) - { - ArgumentNotNull(enumType, "enumType"); - - var isFlagsProperty = enumType.GetType().GetProperty("IsFlags"); - return isFlagsProperty != null && (bool)isFlagsProperty.GetValue(enumType, null); - } - - public bool IsEnumType(GlobalItem edmType) - { - ArgumentNotNull(edmType, "edmType"); - - return edmType.GetType().Name == "EnumType"; - } - - public PrimitiveType GetEnumUnderlyingType(EdmType enumType) - { - ArgumentNotNull(enumType, "enumType"); - - return (PrimitiveType)enumType.GetType().GetProperty("UnderlyingType").GetValue(enumType, null); - } - - public string CreateLiteral(object value) - { - if (value == null || value.GetType() != typeof(TimeSpan)) - { - return _code.CreateLiteral(value); - } - - return string.Format(CultureInfo.InvariantCulture, "new TimeSpan({0})", ((TimeSpan)value).Ticks); - } - - public bool VerifyCaseInsensitiveTypeUniqueness(IEnumerable types, string sourceFile) - { - ArgumentNotNull(types, "types"); - ArgumentNotNull(sourceFile, "sourceFile"); - - var hash = new HashSet(StringComparer.InvariantCultureIgnoreCase); - if (types.Any(item => !hash.Add(item))) - { - _errors.Add( - new CompilerError(sourceFile, -1, -1, "6023", - String.Format(CultureInfo.CurrentCulture, CodeGenerationTools.GetResourceString("Template_CaseInsensitiveTypeConflict")))); - return false; - } - return true; - } - - public IEnumerable GetEnumItemsToGenerate(IEnumerable itemCollection) - { - return GetItemsToGenerate(itemCollection) - .Where(e => IsEnumType(e)); - } - - public IEnumerable GetItemsToGenerate(IEnumerable itemCollection) where T: EdmType - { - return itemCollection - .OfType() - .Where(i => !i.MetadataProperties.Any(p => p.Name == ExternalTypeNameAttributeName)) - .OrderBy(i => i.Name); - } - - public IEnumerable GetAllGlobalItems(IEnumerable itemCollection) - { - return itemCollection - .Where(i => i is EntityType || i is ComplexType || i is EntityContainer || IsEnumType(i)) - .Select(g => GetGlobalItemName(g)); - } - - public string GetGlobalItemName(GlobalItem item) - { - if (item is EdmType) - { - return ((EdmType)item).Name; - } - else - { - return ((EntityContainer)item).Name; - } - } - - public IEnumerable GetSimpleProperties(EntityType type) - { - return type.Properties.Where(p => p.TypeUsage.EdmType is SimpleType && p.DeclaringType == type); - } - - public IEnumerable GetSimpleProperties(ComplexType type) - { - return type.Properties.Where(p => p.TypeUsage.EdmType is SimpleType && p.DeclaringType == type); - } - - public IEnumerable GetComplexProperties(EntityType type) - { - return type.Properties.Where(p => p.TypeUsage.EdmType is ComplexType && p.DeclaringType == type); - } - - public IEnumerable GetComplexProperties(ComplexType type) - { - return type.Properties.Where(p => p.TypeUsage.EdmType is ComplexType && p.DeclaringType == type); - } - - public IEnumerable GetPropertiesWithDefaultValues(EntityType type) - { - return type.Properties.Where(p => p.TypeUsage.EdmType is SimpleType && p.DeclaringType == type && p.DefaultValue != null); - } - - public IEnumerable GetPropertiesWithDefaultValues(ComplexType type) - { - return type.Properties.Where(p => p.TypeUsage.EdmType is SimpleType && p.DeclaringType == type && p.DefaultValue != null); - } - - public IEnumerable GetNavigationProperties(EntityType type) - { - return type.NavigationProperties.Where(np => np.DeclaringType == type); - } - - public IEnumerable GetCollectionNavigationProperties(EntityType type) - { - return type.NavigationProperties.Where(np => np.DeclaringType == type && np.ToEndMember.RelationshipMultiplicity == RelationshipMultiplicity.Many); - } - - public FunctionParameter GetReturnParameter(EdmFunction edmFunction) - { - ArgumentNotNull(edmFunction, "edmFunction"); - - var returnParamsProperty = edmFunction.GetType().GetProperty("ReturnParameters"); - return returnParamsProperty == null - ? edmFunction.ReturnParameter - : ((IEnumerable)returnParamsProperty.GetValue(edmFunction, null)).FirstOrDefault(); - } - - public bool IsComposable(EdmFunction edmFunction) - { - ArgumentNotNull(edmFunction, "edmFunction"); - - var isComposableProperty = edmFunction.GetType().GetProperty("IsComposableAttribute"); - return isComposableProperty != null && (bool)isComposableProperty.GetValue(edmFunction, null); - } - - public IEnumerable GetParameters(EdmFunction edmFunction) - { - return FunctionImportParameter.Create(edmFunction.Parameters, _code, _ef); - } - - public TypeUsage GetReturnType(EdmFunction edmFunction) - { - var returnParam = GetReturnParameter(edmFunction); - return returnParam == null ? null : _ef.GetElementType(returnParam.TypeUsage); - } - - public bool GenerateMergeOptionFunction(EdmFunction edmFunction, bool includeMergeOption) - { - var returnType = GetReturnType(edmFunction); - return !includeMergeOption && returnType != null && returnType.EdmType.BuiltInTypeKind == BuiltInTypeKind.EntityType; - } -} - -public static void ArgumentNotNull(T arg, string name) where T : class -{ - if (arg == null) - { - throw new ArgumentNullException(name); - } -} -#> \ No newline at end of file diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.Designer.cs b/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.Designer.cs deleted file mode 100644 index fc3d32d..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.Designer.cs +++ /dev/null @@ -1,10 +0,0 @@ -// 为模型“D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\MESClassLibrary\EFModel\BBMPT.edmx”启用了 T4 代码生成。 -// 要启用旧代码生成功能,请将“代码生成策略”设计器属性的值 -// 更改为“旧的 ObjectContext”。当在设计器中打开该模型时,此属性会出现在 -// “属性”窗口中。 - -// 如果没有生成任何上下文和实体类,可能是因为您创建了空模型但是 -// 尚未选择要使用的实体框架版本。要为您的模型生成一个上下文类和实体 -// 类,请在设计器中打开该模型,右键单击设计器图面,然后 -// 选择“从数据库更新模型...”、“从模型生成数据库...”或“添加代码生成 -// 项...”。 \ No newline at end of file diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.Designer.cs.mine b/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.Designer.cs.mine deleted file mode 100644 index 5495967..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.Designer.cs.mine +++ /dev/null @@ -1,10 +0,0 @@ -// 为模型“D:\项目\北汽模塑一厂\SVN\Code\MESClassLibrary\EFModel\BBMPT.edmx”启用了 T4 代码生成。 -// 要启用旧代码生成功能,请将“代码生成策略”设计器属性的值 -// 更改为“旧的 ObjectContext”。当在设计器中打开该模型时,此属性会出现在 -// “属性”窗口中。 - -// 如果没有生成任何上下文和实体类,可能是因为您创建了空模型但是 -// 尚未选择要使用的实体框架版本。要为您的模型生成一个上下文类和实体 -// 类,请在设计器中打开该模型,右键单击设计器图面,然后 -// 选择“从数据库更新模型...”、“从模型生成数据库...”或“添加代码生成 -// 项...”。 \ No newline at end of file diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.Designer.cs.r57 b/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.Designer.cs.r57 deleted file mode 100644 index fa8607f..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.Designer.cs.r57 +++ /dev/null @@ -1,10 +0,0 @@ -// 为模型“E:\work\BBMPT1\Code\MESClassLibrary\EFModel\BBMPT.edmx”启用了 T4 代码生成。 -// 要启用旧代码生成功能,请将“代码生成策略”设计器属性的值 -// 更改为“旧的 ObjectContext”。当在设计器中打开该模型时,此属性会出现在 -// “属性”窗口中。 - -// 如果没有生成任何上下文和实体类,可能是因为您创建了空模型但是 -// 尚未选择要使用的实体框架版本。要为您的模型生成一个上下文类和实体 -// 类,请在设计器中打开该模型,右键单击设计器图面,然后 -// 选择“从数据库更新模型...”、“从模型生成数据库...”或“添加代码生成 -// 项...”。 \ No newline at end of file diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.Designer.cs.r60 b/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.Designer.cs.r60 deleted file mode 100644 index 740350d..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.Designer.cs.r60 +++ /dev/null @@ -1,10 +0,0 @@ -// 为模型“E:\project\BBMPT1\MESClassLibrary\EFModel\BBMPT.edmx”启用了 T4 代码生成。 -// 要启用旧代码生成功能,请将“代码生成策略”设计器属性的值 -// 更改为“旧的 ObjectContext”。当在设计器中打开该模型时,此属性会出现在 -// “属性”窗口中。 - -// 如果没有生成任何上下文和实体类,可能是因为您创建了空模型但是 -// 尚未选择要使用的实体框架版本。要为您的模型生成一个上下文类和实体 -// 类,请在设计器中打开该模型,右键单击设计器图面,然后 -// 选择“从数据库更新模型...”、“从模型生成数据库...”或“添加代码生成 -// 项...”。 \ No newline at end of file diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.cs b/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.cs deleted file mode 100644 index 69c6b92..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.cs +++ /dev/null @@ -1,9 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx b/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx deleted file mode 100644 index d845262..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx +++ /dev/null @@ -1,4708 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SELECT - [T_Sys_RoleLinkPower].[RoleID] AS [RoleID], - [T_Sys_RoleLinkPower].[PowerID] AS [PowerID], - [T_Sys_RoleLinkPower].[OpTime] AS [OpTime], - [T_Sys_RoleLinkPower].[OpName] AS [OpName] - FROM [dbo].[T_Sys_RoleLinkPower] AS [T_Sys_RoleLinkPower] - - - SELECT - [tb_Report_FiveScreenStandard].[ID] AS [ID], - [tb_Report_FiveScreenStandard].[Name] AS [Name], - [tb_Report_FiveScreenStandard].[LastYear] AS [LastYear], - [tb_Report_FiveScreenStandard].[Jan] AS [Jan], - [tb_Report_FiveScreenStandard].[Feb] AS [Feb], - [tb_Report_FiveScreenStandard].[Mar] AS [Mar], - [tb_Report_FiveScreenStandard].[Apr] AS [Apr], - [tb_Report_FiveScreenStandard].[May] AS [May], - [tb_Report_FiveScreenStandard].[Jun] AS [Jun], - [tb_Report_FiveScreenStandard].[Jul] AS [Jul], - [tb_Report_FiveScreenStandard].[Aug] AS [Aug], - [tb_Report_FiveScreenStandard].[Sept] AS [Sept], - [tb_Report_FiveScreenStandard].[Oct] AS [Oct], - [tb_Report_FiveScreenStandard].[Nov] AS [Nov], - [tb_Report_FiveScreenStandard].[Dec] AS [Dec], - [tb_Report_FiveScreenStandard].[CreateTime] AS [CreateTime] - FROM [dbo].[tb_Report_FiveScreenStandard] AS [tb_Report_FiveScreenStandard] - - - SELECT - [tb_ReportPaintingScreen].[color] AS [color], - [tb_ReportPaintingScreen].[productInfo] AS [productInfo], - [tb_ReportPaintingScreen].[sumNum] AS [sumNum], - [tb_ReportPaintingScreen].[oncePassNum] AS [oncePassNum], - [tb_ReportPaintingScreen].[oncePassRate] AS [oncePassRate], - [tb_ReportPaintingScreen].[sumPassNum] AS [sumPassNum], - [tb_ReportPaintingScreen].[sumPassRate] AS [sumPassRate] - FROM [dbo].[tb_ReportPaintingScreen] AS [tb_ReportPaintingScreen] - - - SELECT - [tb_ReportPaintingScreen_pg].[color] AS [color], - [tb_ReportPaintingScreen_pg].[productInfo] AS [productInfo], - [tb_ReportPaintingScreen_pg].[sumNum] AS [sumNum], - [tb_ReportPaintingScreen_pg].[hgNum] AS [hgNum], - [tb_ReportPaintingScreen_pg].[DefectName1] AS [DefectName1], - [tb_ReportPaintingScreen_pg].[defectRate1] AS [defectRate1], - [tb_ReportPaintingScreen_pg].[DefectName2] AS [DefectName2], - [tb_ReportPaintingScreen_pg].[defectRate2] AS [defectRate2], - [tb_ReportPaintingScreen_pg].[DefectName3] AS [DefectName3], - [tb_ReportPaintingScreen_pg].[defectRate3] AS [defectRate3], - [tb_ReportPaintingScreen_pg].[DefectName4] AS [DefectName4], - [tb_ReportPaintingScreen_pg].[defectRate4] AS [defectRate4], - [tb_ReportPaintingScreen_pg].[DefectName5] AS [DefectName5], - [tb_ReportPaintingScreen_pg].[defectRate5] AS [defectRate5] - FROM [dbo].[tb_ReportPaintingScreen_pg] AS [tb_ReportPaintingScreen_pg] - - - SELECT - [test1].[ID] AS [ID], - [test1].[StationID] AS [StationID], - [test1].[StockNo] AS [StockNo], - [test1].[PrintType] AS [PrintType], - [test1].[OneBarCode] AS [OneBarCode], - [test1].[PlanID] AS [PlanID], - [test1].[CreateTime] AS [CreateTime], - [test1].[ProductName] AS [ProductName], - [test1].[PartNo] AS [PartNo], - [test1].[ProductDate] AS [ProductDate], - [test1].[ClassName] AS [ClassName] - FROM [dbo].[test1] AS [test1] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.diagram b/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.diagram deleted file mode 100644 index 501df73..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.diagram +++ /dev/null @@ -1,432 +0,0 @@ - - - - - - - - <<<<<<< .mine - - - - -||||||| .r84 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -======= - - - - ->>>>>>> .r85 - - - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.diagram.mine b/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.diagram.mine deleted file mode 100644 index 6839664..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.diagram.mine +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.diagram.r84 b/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.diagram.r84 deleted file mode 100644 index 1a2f196..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.diagram.r84 +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.diagram.r85 b/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.diagram.r85 deleted file mode 100644 index 595a9db..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.diagram.r85 +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.mine b/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.mine deleted file mode 100644 index f610db5..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.mine +++ /dev/null @@ -1,4576 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SELECT - [T_Sys_RoleLinkPower].[RoleID] AS [RoleID], - [T_Sys_RoleLinkPower].[PowerID] AS [PowerID], - [T_Sys_RoleLinkPower].[OpTime] AS [OpTime], - [T_Sys_RoleLinkPower].[OpName] AS [OpName] - FROM [dbo].[T_Sys_RoleLinkPower] AS [T_Sys_RoleLinkPower] - - - SELECT - [tb_Report_FiveScreenStandard].[ID] AS [ID], - [tb_Report_FiveScreenStandard].[Name] AS [Name], - [tb_Report_FiveScreenStandard].[LastYear] AS [LastYear], - [tb_Report_FiveScreenStandard].[Jan] AS [Jan], - [tb_Report_FiveScreenStandard].[Feb] AS [Feb], - [tb_Report_FiveScreenStandard].[Mar] AS [Mar], - [tb_Report_FiveScreenStandard].[Apr] AS [Apr], - [tb_Report_FiveScreenStandard].[May] AS [May], - [tb_Report_FiveScreenStandard].[Jun] AS [Jun], - [tb_Report_FiveScreenStandard].[Jul] AS [Jul], - [tb_Report_FiveScreenStandard].[Aug] AS [Aug], - [tb_Report_FiveScreenStandard].[Sept] AS [Sept], - [tb_Report_FiveScreenStandard].[Oct] AS [Oct], - [tb_Report_FiveScreenStandard].[Nov] AS [Nov], - [tb_Report_FiveScreenStandard].[Dec] AS [Dec], - [tb_Report_FiveScreenStandard].[CreateTime] AS [CreateTime] - FROM [dbo].[tb_Report_FiveScreenStandard] AS [tb_Report_FiveScreenStandard] - - - SELECT - [tb_ReportPaintingScreen].[color] AS [color], - [tb_ReportPaintingScreen].[productInfo] AS [productInfo], - [tb_ReportPaintingScreen].[sumNum] AS [sumNum], - [tb_ReportPaintingScreen].[oncePassNum] AS [oncePassNum], - [tb_ReportPaintingScreen].[oncePassRate] AS [oncePassRate], - [tb_ReportPaintingScreen].[sumPassNum] AS [sumPassNum], - [tb_ReportPaintingScreen].[sumPassRate] AS [sumPassRate] - FROM [dbo].[tb_ReportPaintingScreen] AS [tb_ReportPaintingScreen] - - - SELECT - [tb_ReportPaintingScreen_pg].[color] AS [color], - [tb_ReportPaintingScreen_pg].[productInfo] AS [productInfo], - [tb_ReportPaintingScreen_pg].[sumNum] AS [sumNum], - [tb_ReportPaintingScreen_pg].[hgNum] AS [hgNum], - [tb_ReportPaintingScreen_pg].[DefectName1] AS [DefectName1], - [tb_ReportPaintingScreen_pg].[defectRate1] AS [defectRate1], - [tb_ReportPaintingScreen_pg].[DefectName2] AS [DefectName2], - [tb_ReportPaintingScreen_pg].[defectRate2] AS [defectRate2], - [tb_ReportPaintingScreen_pg].[DefectName3] AS [DefectName3], - [tb_ReportPaintingScreen_pg].[defectRate3] AS [defectRate3], - [tb_ReportPaintingScreen_pg].[DefectName4] AS [DefectName4], - [tb_ReportPaintingScreen_pg].[defectRate4] AS [defectRate4], - [tb_ReportPaintingScreen_pg].[DefectName5] AS [DefectName5], - [tb_ReportPaintingScreen_pg].[defectRate5] AS [defectRate5] - FROM [dbo].[tb_ReportPaintingScreen_pg] AS [tb_ReportPaintingScreen_pg] - - - SELECT - [test1].[ID] AS [ID], - [test1].[StationID] AS [StationID], - [test1].[StockNo] AS [StockNo], - [test1].[PrintType] AS [PrintType], - [test1].[OneBarCode] AS [OneBarCode], - [test1].[PlanID] AS [PlanID], - [test1].[CreateTime] AS [CreateTime], - [test1].[ProductName] AS [ProductName], - [test1].[PartNo] AS [PartNo], - [test1].[ProductDate] AS [ProductDate], - [test1].[ClassName] AS [ClassName] - FROM [dbo].[test1] AS [test1] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.r84 b/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.r84 deleted file mode 100644 index e11d906..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.r84 +++ /dev/null @@ -1,5104 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SELECT - [LogSys_20191001].[ID] AS [ID], - [LogSys_20191001].[SysContent] AS [SysContent], - [LogSys_20191001].[SysSource] AS [SysSource], - [LogSys_20191001].[CreateTime] AS [CreateTime] - FROM [dbo].[LogSys_20191001] AS [LogSys_20191001] - - - SELECT - [LogSys_20191101].[ID] AS [ID], - [LogSys_20191101].[SysContent] AS [SysContent], - [LogSys_20191101].[SysSource] AS [SysSource], - [LogSys_20191101].[CreateTime] AS [CreateTime] - FROM [dbo].[LogSys_20191101] AS [LogSys_20191101] - - - SELECT - [T_Sys_RoleLinkPower].[RoleID] AS [RoleID], - [T_Sys_RoleLinkPower].[PowerID] AS [PowerID], - [T_Sys_RoleLinkPower].[OpTime] AS [OpTime], - [T_Sys_RoleLinkPower].[OpName] AS [OpName] - FROM [dbo].[T_Sys_RoleLinkPower] AS [T_Sys_RoleLinkPower] - - - SELECT - [tb_Bom_20190726].[BomID] AS [BomID], - [tb_Bom_20190726].[PartNo1] AS [PartNo1], - [tb_Bom_20190726].[PartNo2] AS [PartNo2] - FROM [dbo].[tb_Bom_20190726] AS [tb_Bom_20190726] - - - SELECT - [tb_Color_20191008].[ID] AS [ID], - [tb_Color_20191008].[ColorCode] AS [ColorCode], - [tb_Color_20191008].[ColorNo] AS [ColorNo], - [tb_Color_20191008].[Des] AS [Des], - [tb_Color_20191008].[Circle] AS [Circle], - [tb_Color_20191008].[ColorQQCode] AS [ColorQQCode] - FROM [dbo].[tb_Color_20191008] AS [tb_Color_20191008] - - - SELECT - [tb_InspectResult_20190902].[ID] AS [ID], - [tb_InspectResult_20190902].[barcode] AS [barcode], - [tb_InspectResult_20190902].[side] AS [side], - [tb_InspectResult_20190902].[position] AS [position], - [tb_InspectResult_20190902].[stationNo] AS [stationNo], - [tb_InspectResult_20190902].[workClass] AS [workClass], - [tb_InspectResult_20190902].[inspectResult] AS [inspectResult], - [tb_InspectResult_20190902].[damnPosition] AS [damnPosition], - [tb_InspectResult_20190902].[defectID] AS [defectID], - [tb_InspectResult_20190902].[reason] AS [reason], - [tb_InspectResult_20190902].[productInfo] AS [productInfo], - [tb_InspectResult_20190902].[productOption] AS [productOption], - [tb_InspectResult_20190902].[createTime] AS [createTime], - [tb_InspectResult_20190902].[InspectTimes] AS [InspectTimes], - [tb_InspectResult_20190902].[remark1] AS [remark1], - [tb_InspectResult_20190902].[remark2] AS [remark2], - [tb_InspectResult_20190902].[remark3] AS [remark3] - FROM [dbo].[tb_InspectResult_20190902] AS [tb_InspectResult_20190902] - - - SELECT - [tb_Product_Injection_20190726].[ID] AS [ID], - [tb_Product_Injection_20190726].[StationID] AS [StationID], - [tb_Product_Injection_20190726].[ProductDate] AS [ProductDate], - [tb_Product_Injection_20190726].[ClassName] AS [ClassName], - [tb_Product_Injection_20190726].[StockNo] AS [StockNo], - [tb_Product_Injection_20190726].[PartNo] AS [PartNo], - [tb_Product_Injection_20190726].[ProductCount] AS [ProductCount], - [tb_Product_Injection_20190726].[BadCount] AS [BadCount] - FROM [dbo].[tb_Product_Injection_20190726] AS [tb_Product_Injection_20190726] - - - SELECT - [tb_Report_FiveScreen_20191011].[ID] AS [ID], - [tb_Report_FiveScreen_20191011].[Name] AS [Name], - [tb_Report_FiveScreen_20191011].[LastYear] AS [LastYear], - [tb_Report_FiveScreen_20191011].[Jan] AS [Jan], - [tb_Report_FiveScreen_20191011].[Feb] AS [Feb], - [tb_Report_FiveScreen_20191011].[Mar] AS [Mar], - [tb_Report_FiveScreen_20191011].[Apr] AS [Apr], - [tb_Report_FiveScreen_20191011].[May] AS [May], - [tb_Report_FiveScreen_20191011].[Jun] AS [Jun], - [tb_Report_FiveScreen_20191011].[Jul] AS [Jul], - [tb_Report_FiveScreen_20191011].[Aug] AS [Aug], - [tb_Report_FiveScreen_20191011].[Sept] AS [Sept], - [tb_Report_FiveScreen_20191011].[Oct] AS [Oct], - [tb_Report_FiveScreen_20191011].[Nov] AS [Nov], - [tb_Report_FiveScreen_20191011].[Dec] AS [Dec], - [tb_Report_FiveScreen_20191011].[day1] AS [day1], - [tb_Report_FiveScreen_20191011].[day2] AS [day2], - [tb_Report_FiveScreen_20191011].[day3] AS [day3], - [tb_Report_FiveScreen_20191011].[day4] AS [day4], - [tb_Report_FiveScreen_20191011].[day5] AS [day5], - [tb_Report_FiveScreen_20191011].[day6] AS [day6], - [tb_Report_FiveScreen_20191011].[day7] AS [day7], - [tb_Report_FiveScreen_20191011].[day8] AS [day8], - [tb_Report_FiveScreen_20191011].[day9] AS [day9], - [tb_Report_FiveScreen_20191011].[day10] AS [day10], - [tb_Report_FiveScreen_20191011].[day11] AS [day11], - [tb_Report_FiveScreen_20191011].[day12] AS [day12], - [tb_Report_FiveScreen_20191011].[day13] AS [day13], - [tb_Report_FiveScreen_20191011].[day14] AS [day14], - [tb_Report_FiveScreen_20191011].[day15] AS [day15], - [tb_Report_FiveScreen_20191011].[day16] AS [day16], - [tb_Report_FiveScreen_20191011].[day17] AS [day17], - [tb_Report_FiveScreen_20191011].[day18] AS [day18], - [tb_Report_FiveScreen_20191011].[day19] AS [day19], - [tb_Report_FiveScreen_20191011].[day20] AS [day20], - [tb_Report_FiveScreen_20191011].[day21] AS [day21], - [tb_Report_FiveScreen_20191011].[day22] AS [day22], - [tb_Report_FiveScreen_20191011].[day23] AS [day23], - [tb_Report_FiveScreen_20191011].[day24] AS [day24], - [tb_Report_FiveScreen_20191011].[day25] AS [day25], - [tb_Report_FiveScreen_20191011].[day26] AS [day26], - [tb_Report_FiveScreen_20191011].[day27] AS [day27], - [tb_Report_FiveScreen_20191011].[day28] AS [day28], - [tb_Report_FiveScreen_20191011].[day29] AS [day29], - [tb_Report_FiveScreen_20191011].[day30] AS [day30], - [tb_Report_FiveScreen_20191011].[day31] AS [day31], - [tb_Report_FiveScreen_20191011].[CreateTime] AS [CreateTime] - FROM [dbo].[tb_Report_FiveScreen_20191011] AS [tb_Report_FiveScreen_20191011] - - - SELECT - [tb_Report_FiveScreen_20191014].[ID] AS [ID], - [tb_Report_FiveScreen_20191014].[Name] AS [Name], - [tb_Report_FiveScreen_20191014].[LastYear] AS [LastYear], - [tb_Report_FiveScreen_20191014].[Jan] AS [Jan], - [tb_Report_FiveScreen_20191014].[Feb] AS [Feb], - [tb_Report_FiveScreen_20191014].[Mar] AS [Mar], - [tb_Report_FiveScreen_20191014].[Apr] AS [Apr], - [tb_Report_FiveScreen_20191014].[May] AS [May], - [tb_Report_FiveScreen_20191014].[Jun] AS [Jun], - [tb_Report_FiveScreen_20191014].[Jul] AS [Jul], - [tb_Report_FiveScreen_20191014].[Aug] AS [Aug], - [tb_Report_FiveScreen_20191014].[Sept] AS [Sept], - [tb_Report_FiveScreen_20191014].[Oct] AS [Oct], - [tb_Report_FiveScreen_20191014].[Nov] AS [Nov], - [tb_Report_FiveScreen_20191014].[Dec] AS [Dec], - [tb_Report_FiveScreen_20191014].[day1] AS [day1], - [tb_Report_FiveScreen_20191014].[day2] AS [day2], - [tb_Report_FiveScreen_20191014].[day3] AS [day3], - [tb_Report_FiveScreen_20191014].[day4] AS [day4], - [tb_Report_FiveScreen_20191014].[day5] AS [day5], - [tb_Report_FiveScreen_20191014].[day6] AS [day6], - [tb_Report_FiveScreen_20191014].[day7] AS [day7], - [tb_Report_FiveScreen_20191014].[day8] AS [day8], - [tb_Report_FiveScreen_20191014].[day9] AS [day9], - [tb_Report_FiveScreen_20191014].[day10] AS [day10], - [tb_Report_FiveScreen_20191014].[day11] AS [day11], - [tb_Report_FiveScreen_20191014].[day12] AS [day12], - [tb_Report_FiveScreen_20191014].[day13] AS [day13], - [tb_Report_FiveScreen_20191014].[day14] AS [day14], - [tb_Report_FiveScreen_20191014].[day15] AS [day15], - [tb_Report_FiveScreen_20191014].[day16] AS [day16], - [tb_Report_FiveScreen_20191014].[day17] AS [day17], - [tb_Report_FiveScreen_20191014].[day18] AS [day18], - [tb_Report_FiveScreen_20191014].[day19] AS [day19], - [tb_Report_FiveScreen_20191014].[day20] AS [day20], - [tb_Report_FiveScreen_20191014].[day21] AS [day21], - [tb_Report_FiveScreen_20191014].[day22] AS [day22], - [tb_Report_FiveScreen_20191014].[day23] AS [day23], - [tb_Report_FiveScreen_20191014].[day24] AS [day24], - [tb_Report_FiveScreen_20191014].[day25] AS [day25], - [tb_Report_FiveScreen_20191014].[day26] AS [day26], - [tb_Report_FiveScreen_20191014].[day27] AS [day27], - [tb_Report_FiveScreen_20191014].[day28] AS [day28], - [tb_Report_FiveScreen_20191014].[day29] AS [day29], - [tb_Report_FiveScreen_20191014].[day30] AS [day30], - [tb_Report_FiveScreen_20191014].[day31] AS [day31], - [tb_Report_FiveScreen_20191014].[CreateTime] AS [CreateTime] - FROM [dbo].[tb_Report_FiveScreen_20191014] AS [tb_Report_FiveScreen_20191014] - - - SELECT - [tb_Report_FiveScreenStandard].[ID] AS [ID], - [tb_Report_FiveScreenStandard].[Name] AS [Name], - [tb_Report_FiveScreenStandard].[LastYear] AS [LastYear], - [tb_Report_FiveScreenStandard].[Jan] AS [Jan], - [tb_Report_FiveScreenStandard].[Feb] AS [Feb], - [tb_Report_FiveScreenStandard].[Mar] AS [Mar], - [tb_Report_FiveScreenStandard].[Apr] AS [Apr], - [tb_Report_FiveScreenStandard].[May] AS [May], - [tb_Report_FiveScreenStandard].[Jun] AS [Jun], - [tb_Report_FiveScreenStandard].[Jul] AS [Jul], - [tb_Report_FiveScreenStandard].[Aug] AS [Aug], - [tb_Report_FiveScreenStandard].[Sept] AS [Sept], - [tb_Report_FiveScreenStandard].[Oct] AS [Oct], - [tb_Report_FiveScreenStandard].[Nov] AS [Nov], - [tb_Report_FiveScreenStandard].[Dec] AS [Dec], - [tb_Report_FiveScreenStandard].[CreateTime] AS [CreateTime] - FROM [dbo].[tb_Report_FiveScreenStandard] AS [tb_Report_FiveScreenStandard] - - - SELECT - [tb_ReportPaintingScreen].[color] AS [color], - [tb_ReportPaintingScreen].[productInfo] AS [productInfo], - [tb_ReportPaintingScreen].[sumNum] AS [sumNum], - [tb_ReportPaintingScreen].[oncePassNum] AS [oncePassNum], - [tb_ReportPaintingScreen].[oncePassRate] AS [oncePassRate], - [tb_ReportPaintingScreen].[sumPassNum] AS [sumPassNum], - [tb_ReportPaintingScreen].[sumPassRate] AS [sumPassRate] - FROM [dbo].[tb_ReportPaintingScreen] AS [tb_ReportPaintingScreen] - - - SELECT - [tb_ReportPaintingScreen_pg].[color] AS [color], - [tb_ReportPaintingScreen_pg].[productInfo] AS [productInfo], - [tb_ReportPaintingScreen_pg].[sumNum] AS [sumNum], - [tb_ReportPaintingScreen_pg].[hgNum] AS [hgNum], - [tb_ReportPaintingScreen_pg].[DefectName1] AS [DefectName1], - [tb_ReportPaintingScreen_pg].[defectRate1] AS [defectRate1], - [tb_ReportPaintingScreen_pg].[DefectName2] AS [DefectName2], - [tb_ReportPaintingScreen_pg].[defectRate2] AS [defectRate2], - [tb_ReportPaintingScreen_pg].[DefectName3] AS [DefectName3], - [tb_ReportPaintingScreen_pg].[defectRate3] AS [defectRate3], - [tb_ReportPaintingScreen_pg].[DefectName4] AS [DefectName4], - [tb_ReportPaintingScreen_pg].[defectRate4] AS [defectRate4], - [tb_ReportPaintingScreen_pg].[DefectName5] AS [DefectName5], - [tb_ReportPaintingScreen_pg].[defectRate5] AS [defectRate5] - FROM [dbo].[tb_ReportPaintingScreen_pg] AS [tb_ReportPaintingScreen_pg] - - - SELECT - [test1].[ID] AS [ID], - [test1].[StationID] AS [StationID], - [test1].[StockNo] AS [StockNo], - [test1].[PrintType] AS [PrintType], - [test1].[OneBarCode] AS [OneBarCode], - [test1].[PlanID] AS [PlanID], - [test1].[CreateTime] AS [CreateTime], - [test1].[ProductName] AS [ProductName], - [test1].[PartNo] AS [PartNo], - [test1].[ProductDate] AS [ProductDate], - [test1].[ClassName] AS [ClassName] - FROM [dbo].[test1] AS [test1] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.r85 b/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.r85 deleted file mode 100644 index 08121af..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.edmx.r85 +++ /dev/null @@ -1,4424 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SELECT - [T_Sys_RoleLinkPower].[RoleID] AS [RoleID], - [T_Sys_RoleLinkPower].[PowerID] AS [PowerID], - [T_Sys_RoleLinkPower].[OpTime] AS [OpTime], - [T_Sys_RoleLinkPower].[OpName] AS [OpName] - FROM [dbo].[T_Sys_RoleLinkPower] AS [T_Sys_RoleLinkPower] - - - SELECT - [tb_Report_FiveScreenStandard].[ID] AS [ID], - [tb_Report_FiveScreenStandard].[Name] AS [Name], - [tb_Report_FiveScreenStandard].[LastYear] AS [LastYear], - [tb_Report_FiveScreenStandard].[Jan] AS [Jan], - [tb_Report_FiveScreenStandard].[Feb] AS [Feb], - [tb_Report_FiveScreenStandard].[Mar] AS [Mar], - [tb_Report_FiveScreenStandard].[Apr] AS [Apr], - [tb_Report_FiveScreenStandard].[May] AS [May], - [tb_Report_FiveScreenStandard].[Jun] AS [Jun], - [tb_Report_FiveScreenStandard].[Jul] AS [Jul], - [tb_Report_FiveScreenStandard].[Aug] AS [Aug], - [tb_Report_FiveScreenStandard].[Sept] AS [Sept], - [tb_Report_FiveScreenStandard].[Oct] AS [Oct], - [tb_Report_FiveScreenStandard].[Nov] AS [Nov], - [tb_Report_FiveScreenStandard].[Dec] AS [Dec], - [tb_Report_FiveScreenStandard].[CreateTime] AS [CreateTime] - FROM [dbo].[tb_Report_FiveScreenStandard] AS [tb_Report_FiveScreenStandard] - - - SELECT - [tb_ReportPaintingScreen].[color] AS [color], - [tb_ReportPaintingScreen].[productInfo] AS [productInfo], - [tb_ReportPaintingScreen].[sumNum] AS [sumNum], - [tb_ReportPaintingScreen].[oncePassNum] AS [oncePassNum], - [tb_ReportPaintingScreen].[oncePassRate] AS [oncePassRate], - [tb_ReportPaintingScreen].[sumPassNum] AS [sumPassNum], - [tb_ReportPaintingScreen].[sumPassRate] AS [sumPassRate] - FROM [dbo].[tb_ReportPaintingScreen] AS [tb_ReportPaintingScreen] - - - SELECT - [tb_ReportPaintingScreen_pg].[color] AS [color], - [tb_ReportPaintingScreen_pg].[productInfo] AS [productInfo], - [tb_ReportPaintingScreen_pg].[sumNum] AS [sumNum], - [tb_ReportPaintingScreen_pg].[hgNum] AS [hgNum], - [tb_ReportPaintingScreen_pg].[DefectName1] AS [DefectName1], - [tb_ReportPaintingScreen_pg].[defectRate1] AS [defectRate1], - [tb_ReportPaintingScreen_pg].[DefectName2] AS [DefectName2], - [tb_ReportPaintingScreen_pg].[defectRate2] AS [defectRate2], - [tb_ReportPaintingScreen_pg].[DefectName3] AS [DefectName3], - [tb_ReportPaintingScreen_pg].[defectRate3] AS [defectRate3], - [tb_ReportPaintingScreen_pg].[DefectName4] AS [DefectName4], - [tb_ReportPaintingScreen_pg].[defectRate4] AS [defectRate4], - [tb_ReportPaintingScreen_pg].[DefectName5] AS [DefectName5], - [tb_ReportPaintingScreen_pg].[defectRate5] AS [defectRate5] - FROM [dbo].[tb_ReportPaintingScreen_pg] AS [tb_ReportPaintingScreen_pg] - - - SELECT - [test1].[ID] AS [ID], - [test1].[StationID] AS [StationID], - [test1].[StockNo] AS [StockNo], - [test1].[PrintType] AS [PrintType], - [test1].[OneBarCode] AS [OneBarCode], - [test1].[PlanID] AS [PlanID], - [test1].[CreateTime] AS [CreateTime], - [test1].[ProductName] AS [ProductName], - [test1].[PartNo] AS [PartNo], - [test1].[ProductDate] AS [ProductDate], - [test1].[ClassName] AS [ClassName] - FROM [dbo].[test1] AS [test1] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.tt b/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.tt deleted file mode 100644 index 31b3d53..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/BBMPT.tt +++ /dev/null @@ -1,733 +0,0 @@ -<#@ template language="C#" debug="false" hostspecific="true"#> -<#@ include file="EF6.Utility.CS.ttinclude"#><#@ - output extension=".cs"#><# - -const string inputFile = @"BBMPT.edmx"; -var textTransform = DynamicTextTransformation.Create(this); -var code = new CodeGenerationTools(this); -var ef = new MetadataTools(this); -var typeMapper = new TypeMapper(code, ef, textTransform.Errors); -var fileManager = EntityFrameworkTemplateFileManager.Create(this); -var itemCollection = new EdmMetadataLoader(textTransform.Host, textTransform.Errors).CreateEdmItemCollection(inputFile); -var codeStringGenerator = new CodeStringGenerator(code, typeMapper, ef); - -if (!typeMapper.VerifyCaseInsensitiveTypeUniqueness(typeMapper.GetAllGlobalItems(itemCollection), inputFile)) -{ - return string.Empty; -} - -WriteHeader(codeStringGenerator, fileManager); - -foreach (var entity in typeMapper.GetItemsToGenerate(itemCollection)) -{ - fileManager.StartNewFile(entity.Name + ".cs"); - BeginNamespace(code); -#> -<#=codeStringGenerator.UsingDirectives(inHeader: false)#> -<#=codeStringGenerator.EntityClassOpening(entity)#> -{ -<# - var propertiesWithDefaultValues = typeMapper.GetPropertiesWithDefaultValues(entity); - var collectionNavigationProperties = typeMapper.GetCollectionNavigationProperties(entity); - var complexProperties = typeMapper.GetComplexProperties(entity); - - if (propertiesWithDefaultValues.Any() || collectionNavigationProperties.Any() || complexProperties.Any()) - { -#> - [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] - public <#=code.Escape(entity)#>() - { -<# - foreach (var edmProperty in propertiesWithDefaultValues) - { -#> - this.<#=code.Escape(edmProperty)#> = <#=typeMapper.CreateLiteral(edmProperty.DefaultValue)#>; -<# - } - - foreach (var navigationProperty in collectionNavigationProperties) - { -#> - this.<#=code.Escape(navigationProperty)#> = new HashSet<<#=typeMapper.GetTypeName(navigationProperty.ToEndMember.GetEntityType())#>>(); -<# - } - - foreach (var complexProperty in complexProperties) - { -#> - this.<#=code.Escape(complexProperty)#> = new <#=typeMapper.GetTypeName(complexProperty.TypeUsage)#>(); -<# - } -#> - } - -<# - } - - var simpleProperties = typeMapper.GetSimpleProperties(entity); - if (simpleProperties.Any()) - { - foreach (var edmProperty in simpleProperties) - { -#> - <#=codeStringGenerator.Property(edmProperty)#> -<# - } - } - - if (complexProperties.Any()) - { -#> - -<# - foreach(var complexProperty in complexProperties) - { -#> - <#=codeStringGenerator.Property(complexProperty)#> -<# - } - } - - var navigationProperties = typeMapper.GetNavigationProperties(entity); - if (navigationProperties.Any()) - { -#> - -<# - foreach (var navigationProperty in navigationProperties) - { - if (navigationProperty.ToEndMember.RelationshipMultiplicity == RelationshipMultiplicity.Many) - { -#> - [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] -<# - } -#> - <#=codeStringGenerator.NavigationProperty(navigationProperty)#> -<# - } - } -#> -} -<# - EndNamespace(code); -} - -foreach (var complex in typeMapper.GetItemsToGenerate(itemCollection)) -{ - fileManager.StartNewFile(complex.Name + ".cs"); - BeginNamespace(code); -#> -<#=codeStringGenerator.UsingDirectives(inHeader: false, includeCollections: false)#> -<#=Accessibility.ForType(complex)#> partial class <#=code.Escape(complex)#> -{ -<# - var complexProperties = typeMapper.GetComplexProperties(complex); - var propertiesWithDefaultValues = typeMapper.GetPropertiesWithDefaultValues(complex); - - if (propertiesWithDefaultValues.Any() || complexProperties.Any()) - { -#> - public <#=code.Escape(complex)#>() - { -<# - foreach (var edmProperty in propertiesWithDefaultValues) - { -#> - this.<#=code.Escape(edmProperty)#> = <#=typeMapper.CreateLiteral(edmProperty.DefaultValue)#>; -<# - } - - foreach (var complexProperty in complexProperties) - { -#> - this.<#=code.Escape(complexProperty)#> = new <#=typeMapper.GetTypeName(complexProperty.TypeUsage)#>(); -<# - } -#> - } - -<# - } - - var simpleProperties = typeMapper.GetSimpleProperties(complex); - if (simpleProperties.Any()) - { - foreach(var edmProperty in simpleProperties) - { -#> - <#=codeStringGenerator.Property(edmProperty)#> -<# - } - } - - if (complexProperties.Any()) - { -#> - -<# - foreach(var edmProperty in complexProperties) - { -#> - <#=codeStringGenerator.Property(edmProperty)#> -<# - } - } -#> -} -<# - EndNamespace(code); -} - -foreach (var enumType in typeMapper.GetEnumItemsToGenerate(itemCollection)) -{ - fileManager.StartNewFile(enumType.Name + ".cs"); - BeginNamespace(code); -#> -<#=codeStringGenerator.UsingDirectives(inHeader: false, includeCollections: false)#> -<# - if (typeMapper.EnumIsFlags(enumType)) - { -#> -[Flags] -<# - } -#> -<#=codeStringGenerator.EnumOpening(enumType)#> -{ -<# - var foundOne = false; - - foreach (MetadataItem member in typeMapper.GetEnumMembers(enumType)) - { - foundOne = true; -#> - <#=code.Escape(typeMapper.GetEnumMemberName(member))#> = <#=typeMapper.GetEnumMemberValue(member)#>, -<# - } - - if (foundOne) - { - this.GenerationEnvironment.Remove(this.GenerationEnvironment.Length - 3, 1); - } -#> -} -<# - EndNamespace(code); -} - -fileManager.Process(); - -#> -<#+ - -public void WriteHeader(CodeStringGenerator codeStringGenerator, EntityFrameworkTemplateFileManager fileManager) -{ - fileManager.StartHeader(); -#> -//------------------------------------------------------------------------------ -// -// <#=CodeGenerationTools.GetResourceString("Template_GeneratedCodeCommentLine1")#> -// -// <#=CodeGenerationTools.GetResourceString("Template_GeneratedCodeCommentLine2")#> -// <#=CodeGenerationTools.GetResourceString("Template_GeneratedCodeCommentLine3")#> -// -//------------------------------------------------------------------------------ -<#=codeStringGenerator.UsingDirectives(inHeader: true)#> -<#+ - fileManager.EndBlock(); -} - -public void BeginNamespace(CodeGenerationTools code) -{ - var codeNamespace = code.VsNamespaceSuggestion(); - if (!String.IsNullOrEmpty(codeNamespace)) - { -#> -namespace <#=code.EscapeNamespace(codeNamespace)#> -{ -<#+ - PushIndent(" "); - } -} - -public void EndNamespace(CodeGenerationTools code) -{ - if (!String.IsNullOrEmpty(code.VsNamespaceSuggestion())) - { - PopIndent(); -#> -} -<#+ - } -} - -public const string TemplateId = "CSharp_DbContext_Types_EF6"; - -public class CodeStringGenerator -{ - private readonly CodeGenerationTools _code; - private readonly TypeMapper _typeMapper; - private readonly MetadataTools _ef; - - public CodeStringGenerator(CodeGenerationTools code, TypeMapper typeMapper, MetadataTools ef) - { - ArgumentNotNull(code, "code"); - ArgumentNotNull(typeMapper, "typeMapper"); - ArgumentNotNull(ef, "ef"); - - _code = code; - _typeMapper = typeMapper; - _ef = ef; - } - - public string Property(EdmProperty edmProperty) - { - return string.Format( - CultureInfo.InvariantCulture, - "{0} {1} {2} {{ {3}get; {4}set; }}", - Accessibility.ForProperty(edmProperty), - _typeMapper.GetTypeName(edmProperty.TypeUsage), - _code.Escape(edmProperty), - _code.SpaceAfter(Accessibility.ForGetter(edmProperty)), - _code.SpaceAfter(Accessibility.ForSetter(edmProperty))); - } - - public string NavigationProperty(NavigationProperty navProp) - { - var endType = _typeMapper.GetTypeName(navProp.ToEndMember.GetEntityType()); - return string.Format( - CultureInfo.InvariantCulture, - "{0} {1} {2} {{ {3}get; {4}set; }}", - AccessibilityAndVirtual(Accessibility.ForNavigationProperty(navProp)), - navProp.ToEndMember.RelationshipMultiplicity == RelationshipMultiplicity.Many ? ("ICollection<" + endType + ">") : endType, - _code.Escape(navProp), - _code.SpaceAfter(Accessibility.ForGetter(navProp)), - _code.SpaceAfter(Accessibility.ForSetter(navProp))); - } - - public string AccessibilityAndVirtual(string accessibility) - { - return accessibility + (accessibility != "private" ? " virtual" : ""); - } - - public string EntityClassOpening(EntityType entity) - { - return string.Format( - CultureInfo.InvariantCulture, - "{0} {1}partial class {2}{3}", - Accessibility.ForType(entity), - _code.SpaceAfter(_code.AbstractOption(entity)), - _code.Escape(entity), - _code.StringBefore(" : ", _typeMapper.GetTypeName(entity.BaseType))); - } - - public string EnumOpening(SimpleType enumType) - { - return string.Format( - CultureInfo.InvariantCulture, - "{0} enum {1} : {2}", - Accessibility.ForType(enumType), - _code.Escape(enumType), - _code.Escape(_typeMapper.UnderlyingClrType(enumType))); - } - - public void WriteFunctionParameters(EdmFunction edmFunction, Action writeParameter) - { - var parameters = FunctionImportParameter.Create(edmFunction.Parameters, _code, _ef); - foreach (var parameter in parameters.Where(p => p.NeedsLocalVariable)) - { - var isNotNull = parameter.IsNullableOfT ? parameter.FunctionParameterName + ".HasValue" : parameter.FunctionParameterName + " != null"; - var notNullInit = "new ObjectParameter(\"" + parameter.EsqlParameterName + "\", " + parameter.FunctionParameterName + ")"; - var nullInit = "new ObjectParameter(\"" + parameter.EsqlParameterName + "\", typeof(" + TypeMapper.FixNamespaces(parameter.RawClrTypeName) + "))"; - writeParameter(parameter.LocalVariableName, isNotNull, notNullInit, nullInit); - } - } - - public string ComposableFunctionMethod(EdmFunction edmFunction, string modelNamespace) - { - var parameters = _typeMapper.GetParameters(edmFunction); - - return string.Format( - CultureInfo.InvariantCulture, - "{0} IQueryable<{1}> {2}({3})", - AccessibilityAndVirtual(Accessibility.ForMethod(edmFunction)), - _typeMapper.GetTypeName(_typeMapper.GetReturnType(edmFunction), modelNamespace), - _code.Escape(edmFunction), - string.Join(", ", parameters.Select(p => TypeMapper.FixNamespaces(p.FunctionParameterType) + " " + p.FunctionParameterName).ToArray())); - } - - public string ComposableCreateQuery(EdmFunction edmFunction, string modelNamespace) - { - var parameters = _typeMapper.GetParameters(edmFunction); - - return string.Format( - CultureInfo.InvariantCulture, - "return ((IObjectContextAdapter)this).ObjectContext.CreateQuery<{0}>(\"[{1}].[{2}]({3})\"{4});", - _typeMapper.GetTypeName(_typeMapper.GetReturnType(edmFunction), modelNamespace), - edmFunction.NamespaceName, - edmFunction.Name, - string.Join(", ", parameters.Select(p => "@" + p.EsqlParameterName).ToArray()), - _code.StringBefore(", ", string.Join(", ", parameters.Select(p => p.ExecuteParameterName).ToArray()))); - } - - public string FunctionMethod(EdmFunction edmFunction, string modelNamespace, bool includeMergeOption) - { - var parameters = _typeMapper.GetParameters(edmFunction); - var returnType = _typeMapper.GetReturnType(edmFunction); - - var paramList = String.Join(", ", parameters.Select(p => TypeMapper.FixNamespaces(p.FunctionParameterType) + " " + p.FunctionParameterName).ToArray()); - if (includeMergeOption) - { - paramList = _code.StringAfter(paramList, ", ") + "MergeOption mergeOption"; - } - - return string.Format( - CultureInfo.InvariantCulture, - "{0} {1} {2}({3})", - AccessibilityAndVirtual(Accessibility.ForMethod(edmFunction)), - returnType == null ? "int" : "ObjectResult<" + _typeMapper.GetTypeName(returnType, modelNamespace) + ">", - _code.Escape(edmFunction), - paramList); - } - - public string ExecuteFunction(EdmFunction edmFunction, string modelNamespace, bool includeMergeOption) - { - var parameters = _typeMapper.GetParameters(edmFunction); - var returnType = _typeMapper.GetReturnType(edmFunction); - - var callParams = _code.StringBefore(", ", String.Join(", ", parameters.Select(p => p.ExecuteParameterName).ToArray())); - if (includeMergeOption) - { - callParams = ", mergeOption" + callParams; - } - - return string.Format( - CultureInfo.InvariantCulture, - "return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction{0}(\"{1}\"{2});", - returnType == null ? "" : "<" + _typeMapper.GetTypeName(returnType, modelNamespace) + ">", - edmFunction.Name, - callParams); - } - - public string DbSet(EntitySet entitySet) - { - return string.Format( - CultureInfo.InvariantCulture, - "{0} virtual DbSet<{1}> {2} {{ get; set; }}", - Accessibility.ForReadOnlyProperty(entitySet), - _typeMapper.GetTypeName(entitySet.ElementType), - _code.Escape(entitySet)); - } - - public string UsingDirectives(bool inHeader, bool includeCollections = true) - { - return inHeader == string.IsNullOrEmpty(_code.VsNamespaceSuggestion()) - ? string.Format( - CultureInfo.InvariantCulture, - "{0}using System;{1}" + - "{2}", - inHeader ? Environment.NewLine : "", - includeCollections ? (Environment.NewLine + "using System.Collections.Generic;") : "", - inHeader ? "" : Environment.NewLine) - : ""; - } -} - -public class TypeMapper -{ - private const string ExternalTypeNameAttributeName = @"http://schemas.microsoft.com/ado/2006/04/codegeneration:ExternalTypeName"; - - private readonly System.Collections.IList _errors; - private readonly CodeGenerationTools _code; - private readonly MetadataTools _ef; - - public TypeMapper(CodeGenerationTools code, MetadataTools ef, System.Collections.IList errors) - { - ArgumentNotNull(code, "code"); - ArgumentNotNull(ef, "ef"); - ArgumentNotNull(errors, "errors"); - - _code = code; - _ef = ef; - _errors = errors; - } - - public static string FixNamespaces(string typeName) - { - return typeName.Replace("System.Data.Spatial.", "System.Data.Entity.Spatial."); - } - - public string GetTypeName(TypeUsage typeUsage) - { - return typeUsage == null ? null : GetTypeName(typeUsage.EdmType, _ef.IsNullable(typeUsage), modelNamespace: null); - } - - public string GetTypeName(EdmType edmType) - { - return GetTypeName(edmType, isNullable: null, modelNamespace: null); - } - - public string GetTypeName(TypeUsage typeUsage, string modelNamespace) - { - return typeUsage == null ? null : GetTypeName(typeUsage.EdmType, _ef.IsNullable(typeUsage), modelNamespace); - } - - public string GetTypeName(EdmType edmType, string modelNamespace) - { - return GetTypeName(edmType, isNullable: null, modelNamespace: modelNamespace); - } - - public string GetTypeName(EdmType edmType, bool? isNullable, string modelNamespace) - { - if (edmType == null) - { - return null; - } - - var collectionType = edmType as CollectionType; - if (collectionType != null) - { - return String.Format(CultureInfo.InvariantCulture, "ICollection<{0}>", GetTypeName(collectionType.TypeUsage, modelNamespace)); - } - - var typeName = _code.Escape(edmType.MetadataProperties - .Where(p => p.Name == ExternalTypeNameAttributeName) - .Select(p => (string)p.Value) - .FirstOrDefault()) - ?? (modelNamespace != null && edmType.NamespaceName != modelNamespace ? - _code.CreateFullName(_code.EscapeNamespace(edmType.NamespaceName), _code.Escape(edmType)) : - _code.Escape(edmType)); - - if (edmType is StructuralType) - { - return typeName; - } - - if (edmType is SimpleType) - { - var clrType = UnderlyingClrType(edmType); - if (!IsEnumType(edmType)) - { - typeName = _code.Escape(clrType); - } - - typeName = FixNamespaces(typeName); - - return clrType.IsValueType && isNullable == true ? - String.Format(CultureInfo.InvariantCulture, "Nullable<{0}>", typeName) : - typeName; - } - - throw new ArgumentException("edmType"); - } - - public Type UnderlyingClrType(EdmType edmType) - { - ArgumentNotNull(edmType, "edmType"); - - var primitiveType = edmType as PrimitiveType; - if (primitiveType != null) - { - return primitiveType.ClrEquivalentType; - } - - if (IsEnumType(edmType)) - { - return GetEnumUnderlyingType(edmType).ClrEquivalentType; - } - - return typeof(object); - } - - public object GetEnumMemberValue(MetadataItem enumMember) - { - ArgumentNotNull(enumMember, "enumMember"); - - var valueProperty = enumMember.GetType().GetProperty("Value"); - return valueProperty == null ? null : valueProperty.GetValue(enumMember, null); - } - - public string GetEnumMemberName(MetadataItem enumMember) - { - ArgumentNotNull(enumMember, "enumMember"); - - var nameProperty = enumMember.GetType().GetProperty("Name"); - return nameProperty == null ? null : (string)nameProperty.GetValue(enumMember, null); - } - - public System.Collections.IEnumerable GetEnumMembers(EdmType enumType) - { - ArgumentNotNull(enumType, "enumType"); - - var membersProperty = enumType.GetType().GetProperty("Members"); - return membersProperty != null - ? (System.Collections.IEnumerable)membersProperty.GetValue(enumType, null) - : Enumerable.Empty(); - } - - public bool EnumIsFlags(EdmType enumType) - { - ArgumentNotNull(enumType, "enumType"); - - var isFlagsProperty = enumType.GetType().GetProperty("IsFlags"); - return isFlagsProperty != null && (bool)isFlagsProperty.GetValue(enumType, null); - } - - public bool IsEnumType(GlobalItem edmType) - { - ArgumentNotNull(edmType, "edmType"); - - return edmType.GetType().Name == "EnumType"; - } - - public PrimitiveType GetEnumUnderlyingType(EdmType enumType) - { - ArgumentNotNull(enumType, "enumType"); - - return (PrimitiveType)enumType.GetType().GetProperty("UnderlyingType").GetValue(enumType, null); - } - - public string CreateLiteral(object value) - { - if (value == null || value.GetType() != typeof(TimeSpan)) - { - return _code.CreateLiteral(value); - } - - return string.Format(CultureInfo.InvariantCulture, "new TimeSpan({0})", ((TimeSpan)value).Ticks); - } - - public bool VerifyCaseInsensitiveTypeUniqueness(IEnumerable types, string sourceFile) - { - ArgumentNotNull(types, "types"); - ArgumentNotNull(sourceFile, "sourceFile"); - - var hash = new HashSet(StringComparer.InvariantCultureIgnoreCase); - if (types.Any(item => !hash.Add(item))) - { - _errors.Add( - new CompilerError(sourceFile, -1, -1, "6023", - String.Format(CultureInfo.CurrentCulture, CodeGenerationTools.GetResourceString("Template_CaseInsensitiveTypeConflict")))); - return false; - } - return true; - } - - public IEnumerable GetEnumItemsToGenerate(IEnumerable itemCollection) - { - return GetItemsToGenerate(itemCollection) - .Where(e => IsEnumType(e)); - } - - public IEnumerable GetItemsToGenerate(IEnumerable itemCollection) where T: EdmType - { - return itemCollection - .OfType() - .Where(i => !i.MetadataProperties.Any(p => p.Name == ExternalTypeNameAttributeName)) - .OrderBy(i => i.Name); - } - - public IEnumerable GetAllGlobalItems(IEnumerable itemCollection) - { - return itemCollection - .Where(i => i is EntityType || i is ComplexType || i is EntityContainer || IsEnumType(i)) - .Select(g => GetGlobalItemName(g)); - } - - public string GetGlobalItemName(GlobalItem item) - { - if (item is EdmType) - { - return ((EdmType)item).Name; - } - else - { - return ((EntityContainer)item).Name; - } - } - - public IEnumerable GetSimpleProperties(EntityType type) - { - return type.Properties.Where(p => p.TypeUsage.EdmType is SimpleType && p.DeclaringType == type); - } - - public IEnumerable GetSimpleProperties(ComplexType type) - { - return type.Properties.Where(p => p.TypeUsage.EdmType is SimpleType && p.DeclaringType == type); - } - - public IEnumerable GetComplexProperties(EntityType type) - { - return type.Properties.Where(p => p.TypeUsage.EdmType is ComplexType && p.DeclaringType == type); - } - - public IEnumerable GetComplexProperties(ComplexType type) - { - return type.Properties.Where(p => p.TypeUsage.EdmType is ComplexType && p.DeclaringType == type); - } - - public IEnumerable GetPropertiesWithDefaultValues(EntityType type) - { - return type.Properties.Where(p => p.TypeUsage.EdmType is SimpleType && p.DeclaringType == type && p.DefaultValue != null); - } - - public IEnumerable GetPropertiesWithDefaultValues(ComplexType type) - { - return type.Properties.Where(p => p.TypeUsage.EdmType is SimpleType && p.DeclaringType == type && p.DefaultValue != null); - } - - public IEnumerable GetNavigationProperties(EntityType type) - { - return type.NavigationProperties.Where(np => np.DeclaringType == type); - } - - public IEnumerable GetCollectionNavigationProperties(EntityType type) - { - return type.NavigationProperties.Where(np => np.DeclaringType == type && np.ToEndMember.RelationshipMultiplicity == RelationshipMultiplicity.Many); - } - - public FunctionParameter GetReturnParameter(EdmFunction edmFunction) - { - ArgumentNotNull(edmFunction, "edmFunction"); - - var returnParamsProperty = edmFunction.GetType().GetProperty("ReturnParameters"); - return returnParamsProperty == null - ? edmFunction.ReturnParameter - : ((IEnumerable)returnParamsProperty.GetValue(edmFunction, null)).FirstOrDefault(); - } - - public bool IsComposable(EdmFunction edmFunction) - { - ArgumentNotNull(edmFunction, "edmFunction"); - - var isComposableProperty = edmFunction.GetType().GetProperty("IsComposableAttribute"); - return isComposableProperty != null && (bool)isComposableProperty.GetValue(edmFunction, null); - } - - public IEnumerable GetParameters(EdmFunction edmFunction) - { - return FunctionImportParameter.Create(edmFunction.Parameters, _code, _ef); - } - - public TypeUsage GetReturnType(EdmFunction edmFunction) - { - var returnParam = GetReturnParameter(edmFunction); - return returnParam == null ? null : _ef.GetElementType(returnParam.TypeUsage); - } - - public bool GenerateMergeOptionFunction(EdmFunction edmFunction, bool includeMergeOption) - { - var returnType = GetReturnType(edmFunction); - return !includeMergeOption && returnType != null && returnType.EdmType.BuiltInTypeKind == BuiltInTypeKind.EntityType; - } -} - -public static void ArgumentNotNull(T arg, string name) where T : class -{ - if (arg == null) - { - throw new ArgumentNullException(name); - } -} -#> \ No newline at end of file diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/DbSet.cs b/喷涂上线/Code/MESClassLibrary/EFModel/DbSet.cs deleted file mode 100644 index 858e695..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/DbSet.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.EFModel -{ - class DbSet - { - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/LogErr.cs b/喷涂上线/Code/MESClassLibrary/EFModel/LogErr.cs deleted file mode 100644 index 46390e0..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/LogErr.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class LogErr - { - public string ID { get; set; } - public string ErrContent { get; set; } - public string ErrSource { get; set; } - public Nullable ErrTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/LogSys.cs b/喷涂上线/Code/MESClassLibrary/EFModel/LogSys.cs deleted file mode 100644 index 391df06..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/LogSys.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class LogSys - { - public string ID { get; set; } - public string SysContent { get; set; } - public string SysSource { get; set; } - public Nullable CreateTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/TA_DEPT.cs b/喷涂上线/Code/MESClassLibrary/EFModel/TA_DEPT.cs deleted file mode 100644 index 33c41b7..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/TA_DEPT.cs +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class TA_DEPT - { - public System.Guid GUID { get; set; } - public string DeptCode { get; set; } - public string DeptName { get; set; } - public string CreateUser { get; set; } - public Nullable CreateTime { get; set; } - public string UpdateUser { get; set; } - public Nullable UpdateTime { get; set; } - public string Remark { get; set; } - public Nullable UID { get; set; } - public Nullable Enable { get; set; } - public string Domain { get; set; } - public string Site { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/TES_BOM.cs b/喷涂上线/Code/MESClassLibrary/EFModel/TES_BOM.cs deleted file mode 100644 index 99daa46..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/TES_BOM.cs +++ /dev/null @@ -1,44 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class TES_BOM - { - public string ParentPart { get; set; } - public string ComponentPart { get; set; } - public string Reference { get; set; } - public string StartEffective { get; set; } - public string QuantityPer { get; set; } - public string StructureType { get; set; } - public string EndEffective { get; set; } - public string Remarks { get; set; } - public string Scrap { get; set; } - public string LeadTimeOffset { get; set; } - public string Operation { get; set; } - public string SequenceNumber { get; set; } - public string FporecastPercent { get; set; } - public string OptionGroup { get; set; } - public string Process { get; set; } - public string GUID { get; set; } - public string UID { get; set; } - public string CreateUser { get; set; } - public string CreateTime { get; set; } - public string Remark { get; set; } - public string TaskID { get; set; } - public string CommandType { get; set; } - public string DataID { get; set; } - public string Domain { get; set; } - public string Site { get; set; } - public Nullable InsertTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/TES_PART_MSTR.cs b/喷涂上线/Code/MESClassLibrary/EFModel/TES_PART_MSTR.cs deleted file mode 100644 index e710d64..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/TES_PART_MSTR.cs +++ /dev/null @@ -1,35 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class TES_PART_MSTR - { - public string GUID { get; set; } - public string PartCode { get; set; } - public string Desc1 { get; set; } - public string Desc2 { get; set; } - public string Um { get; set; } - public string ProdLine { get; set; } - public string AddDate { get; set; } - public string PartType { get; set; } - public string Status { get; set; } - public string Qgrade { get; set; } - public string InventoryCode { get; set; } - public string UID { get; set; } - public string Remark { get; set; } - public string TaskID { get; set; } - public string Domain { get; set; } - public string Site { get; set; } - public Nullable CreatTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/T_PaintInfo.cs b/喷涂上线/Code/MESClassLibrary/EFModel/T_PaintInfo.cs deleted file mode 100644 index a7ea1b6..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/T_PaintInfo.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class T_PaintInfo - { - public int ID { get; set; } - public string PaintCode { get; set; } - public string PaintName { get; set; } - public string PaintModel { get; set; } - public string UnitCode { get; set; } - public string CarModelCode { get; set; } - public int IsUsing { get; set; } - public System.DateTime CreateTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_Buttons.cs b/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_Buttons.cs deleted file mode 100644 index ecb9b81..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_Buttons.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class T_Sys_Buttons - { - public System.Guid BtnID { get; set; } - public string BtnName { get; set; } - public string ItemPic { get; set; } - public Nullable PowerID { get; set; } - public Nullable MenuID { get; set; } - public string MenuName { get; set; } - public string IsEnabled { get; set; } - public string BtnCode { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_NavMenu.cs b/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_NavMenu.cs deleted file mode 100644 index 32fcf66..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_NavMenu.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class T_Sys_NavMenu - { - public System.Guid MenuID { get; set; } - public string MenuName { get; set; } - public string URLStr { get; set; } - public string ItemPic { get; set; } - public Nullable PowerID { get; set; } - public Nullable ParentMenuID { get; set; } - public string IsEnabled { get; set; } - public string OrderNum { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_Power.cs b/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_Power.cs deleted file mode 100644 index 40f271d..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_Power.cs +++ /dev/null @@ -1,32 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class T_Sys_Power - { - [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] - public T_Sys_Power() - { - this.T_Sys_RoleLinkPower = new HashSet(); - } - - public System.Guid PowerID { get; set; } - public string PowerCode { get; set; } - public string PowerName { get; set; } - public string OpName { get; set; } - public Nullable OpTime { get; set; } - - [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection T_Sys_RoleLinkPower { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_Role.cs b/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_Role.cs deleted file mode 100644 index c7c5420..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_Role.cs +++ /dev/null @@ -1,23 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class T_Sys_Role - { - public System.Guid RoleID { get; set; } - public string RoleName { get; set; } - public string Description { get; set; } - public string OpName { get; set; } - public Nullable OpTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_RoleLinkPower.cs b/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_RoleLinkPower.cs deleted file mode 100644 index 578e39d..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_RoleLinkPower.cs +++ /dev/null @@ -1,24 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class T_Sys_RoleLinkPower - { - public System.Guid RoleID { get; set; } - public System.Guid PowerID { get; set; } - public Nullable OpTime { get; set; } - public string OpName { get; set; } - - public virtual T_Sys_Power T_Sys_Power { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_UserRole.cs b/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_UserRole.cs deleted file mode 100644 index bc8f4dc..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_UserRole.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class T_Sys_UserRole - { - public System.Guid UserID { get; set; } - public System.Guid RoleID { get; set; } - public Nullable OpTime { get; set; } - public string OpName { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_Users.cs b/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_Users.cs deleted file mode 100644 index f9989dd..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_Users.cs +++ /dev/null @@ -1,31 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class T_Sys_Users - { - public System.Guid UserID { get; set; } - public string UserName { get; set; } - public string Password { get; set; } - public string IsEnabled { get; set; } - public string RealName { get; set; } - public string Sex { get; set; } - public string Tel { get; set; } - public Nullable LastLoginTime { get; set; } - public string LastLoginIP { get; set; } - public Nullable DepartmentID { get; set; } - public string OpName { get; set; } - public Nullable OpTime { get; set; } - public string Department { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_Users_NavMenu.cs b/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_Users_NavMenu.cs deleted file mode 100644 index 8b8b008..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/T_Sys_Users_NavMenu.cs +++ /dev/null @@ -1,21 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class T_Sys_Users_NavMenu - { - public int ID { get; set; } - public Nullable UserID { get; set; } - public Nullable MenuID { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Assembly_247.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Assembly_247.cs deleted file mode 100644 index 12337e6..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Assembly_247.cs +++ /dev/null @@ -1,32 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Assembly_247 - { - public string ID { get; set; } - public string PartNo { get; set; } - public string PartName { get; set; } - public string BatchNo { get; set; } - public string Color { get; set; } - public string ColorNo { get; set; } - public string PartType { get; set; } - public string TapeBatchNo { get; set; } - public string Validity { get; set; } - public string ValidityDate { get; set; } - public Nullable CreateTime { get; set; } - public Nullable PrintTime { get; set; } - public string Des { get; set; } - public Nullable Flag { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Bad_Injection.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Bad_Injection.cs deleted file mode 100644 index a42d774..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Bad_Injection.cs +++ /dev/null @@ -1,24 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Bad_Injection - { - public string ID { get; set; } - public string OneBarCode { get; set; } - public string BarCode { get; set; } - public string BadPosition { get; set; } - public string BadReason { get; set; } - public Nullable CreateTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_BarCode1.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_BarCode1.cs deleted file mode 100644 index 3d7539f..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_BarCode1.cs +++ /dev/null @@ -1,34 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_BarCode1 - { - public string ID { get; set; } - public string StationID { get; set; } - public string OneBarCode { get; set; } - public string BarCode { get; set; } - public string StockNo { get; set; } - public string PartNo { get; set; } - public Nullable PrintType { get; set; } - public Nullable CreateTime { get; set; } - public Nullable PrintTime { get; set; } - public Nullable IsDel { get; set; } - public string IsImport { get; set; } - public string StationID2 { get; set; } - public string PlanID { get; set; } - public string BoxNo { get; set; } - public Nullable IsBad { get; set; } - public string ProductNature { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_BarCode2.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_BarCode2.cs deleted file mode 100644 index 76c05e2..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_BarCode2.cs +++ /dev/null @@ -1,34 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_BarCode2 - { - public string ID { get; set; } - public string StationID { get; set; } - public string OneBarCode { get; set; } - public string BarCode { get; set; } - public string StockNo { get; set; } - public string PartNo { get; set; } - public Nullable PrintType { get; set; } - public Nullable CreateTime { get; set; } - public Nullable PrintTime { get; set; } - public Nullable IsDel { get; set; } - public string IsImport { get; set; } - public string StationID2 { get; set; } - public string PlanID { get; set; } - public string BoxNo { get; set; } - public Nullable IsBad { get; set; } - public string ProductNature { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_BarCode3.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_BarCode3.cs deleted file mode 100644 index d09b4a9..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_BarCode3.cs +++ /dev/null @@ -1,34 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_BarCode3 - { - public string ID { get; set; } - public string StationID { get; set; } - public string OneBarCode { get; set; } - public string BarCode { get; set; } - public string StockNo { get; set; } - public string PartNo { get; set; } - public Nullable PrintType { get; set; } - public Nullable CreateTime { get; set; } - public Nullable PrintTime { get; set; } - public Nullable IsDel { get; set; } - public string IsImport { get; set; } - public string StationID2 { get; set; } - public string PlanID { get; set; } - public string BoxNo { get; set; } - public Nullable IsBad { get; set; } - public string ProductNature { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_BarCode4.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_BarCode4.cs deleted file mode 100644 index 2d982bc..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_BarCode4.cs +++ /dev/null @@ -1,34 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_BarCode4 - { - public string ID { get; set; } - public string StationID { get; set; } - public string OneBarCode { get; set; } - public string BarCode { get; set; } - public string StockNo { get; set; } - public string PartNo { get; set; } - public Nullable PrintType { get; set; } - public Nullable CreateTime { get; set; } - public Nullable PrintTime { get; set; } - public Nullable IsDel { get; set; } - public string IsImport { get; set; } - public string StationID2 { get; set; } - public string PlanID { get; set; } - public string BoxNo { get; set; } - public Nullable IsBad { get; set; } - public string ProductNature { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_BarCode5.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_BarCode5.cs deleted file mode 100644 index 0d66764..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_BarCode5.cs +++ /dev/null @@ -1,34 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_BarCode5 - { - public string ID { get; set; } - public string StationID { get; set; } - public string OneBarCode { get; set; } - public string BarCode { get; set; } - public string StockNo { get; set; } - public string PartNo { get; set; } - public Nullable PrintType { get; set; } - public Nullable CreateTime { get; set; } - public Nullable PrintTime { get; set; } - public Nullable IsDel { get; set; } - public string IsImport { get; set; } - public string StationID2 { get; set; } - public string PlanID { get; set; } - public string BoxNo { get; set; } - public Nullable IsBad { get; set; } - public string ProductNature { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Bom.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Bom.cs deleted file mode 100644 index 176022a..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Bom.cs +++ /dev/null @@ -1,21 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Bom - { - public string BomID { get; set; } - public string PartNo1 { get; set; } - public string PartNo2 { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Box_247.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Box_247.cs deleted file mode 100644 index 426c92e..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Box_247.cs +++ /dev/null @@ -1,28 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Box_247 - { - public string ID { get; set; } - public string BoxNo { get; set; } - public string PartNo { get; set; } - public string PartName { get; set; } - public string BatchNo { get; set; } - public Nullable BoxCount { get; set; } - public Nullable CreateTime { get; set; } - public Nullable PrintTime { get; set; } - public string Des { get; set; } - public Nullable Flag { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_BucketInfo.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_BucketInfo.cs deleted file mode 100644 index 2d125de..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_BucketInfo.cs +++ /dev/null @@ -1,23 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_BucketInfo - { - public string ID { get; set; } - public string BucketCode { get; set; } - public string BucketName { get; set; } - public Nullable IsUsing { get; set; } - public Nullable CreateTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_CarType.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_CarType.cs deleted file mode 100644 index 14138e2..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_CarType.cs +++ /dev/null @@ -1,23 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_CarType - { - public string ID { get; set; } - public string CarTypeName { get; set; } - public string ManufacturerID { get; set; } - public Nullable CreateTime { get; set; } - public Nullable UpdateTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_CheckItem.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_CheckItem.cs deleted file mode 100644 index ccaf9c4..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_CheckItem.cs +++ /dev/null @@ -1,25 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_CheckItem - { - public string ID { get; set; } - public string DeviceID { get; set; } - public string CheckContent { get; set; } - public string CheckVersion { get; set; } - public string Standard { get; set; } - public string Way { get; set; } - public string Cycle { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Color.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Color.cs deleted file mode 100644 index 75426fb..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Color.cs +++ /dev/null @@ -1,25 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Color - { - public string ID { get; set; } - public string ColorCode { get; set; } - public string ColorNo { get; set; } - public string Des { get; set; } - public Nullable Circle { get; set; } - public string ColorQQCode { get; set; } - public string ColorDQCode { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_CommonlyInspection.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_CommonlyInspection.cs deleted file mode 100644 index 34687be..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_CommonlyInspection.cs +++ /dev/null @@ -1,28 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_CommonlyInspection - { - public string ID { get; set; } - public string VersionID { get; set; } - public string InspectionContentID { get; set; } - public System.DateTime CreateTime { get; set; } - public string CreateUserID { get; set; } - public Nullable UpdateTime { get; set; } - public string UpdateUserID { get; set; } - public int IsUseing { get; set; } - public Nullable DisableTime { get; set; } - public string DisableUserID { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_CommonlyInspectionRecord.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_CommonlyInspectionRecord.cs deleted file mode 100644 index 9c531ab..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_CommonlyInspectionRecord.cs +++ /dev/null @@ -1,38 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_CommonlyInspectionRecord - { - public string CommonlyInspectionID { get; set; } - public string CheckResult { get; set; } - public string CheckUser { get; set; } - public System.DateTime CheckDate { get; set; } - public string ConfirmUser { get; set; } - public Nullable ConfirmUserDate { get; set; } - public string GroupLeaderConfirm { get; set; } - public Nullable GroupLeaderConfirmDate { get; set; } - public string DepartmentLeaderConfirm { get; set; } - public Nullable DepartmentLeaderConfirmDate { get; set; } - public System.DateTime CreateTime { get; set; } - public string CreateUserID { get; set; } - public Nullable UpdateTime { get; set; } - public string UpdateUserID { get; set; } - public int IsUseing { get; set; } - public Nullable DisableTime { get; set; } - public string DisableUserID { get; set; } - public string ID { get; set; } - public string CheckType { get; set; } - public string ErrMes { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_CommonlyInspectionVersion.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_CommonlyInspectionVersion.cs deleted file mode 100644 index 77767a8..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_CommonlyInspectionVersion.cs +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_CommonlyInspectionVersion - { - public string DeviceID { get; set; } - public string Version { get; set; } - public System.DateTime CreateTime { get; set; } - public string CreateUserID { get; set; } - public Nullable UpdateTime { get; set; } - public string UpdateUserID { get; set; } - public int IsUseing { get; set; } - public string Operation { get; set; } - public Nullable DisableTime { get; set; } - public string DisableUserID { get; set; } - public string Description { get; set; } - public string ID { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Config.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Config.cs deleted file mode 100644 index de2fbf5..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Config.cs +++ /dev/null @@ -1,25 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Config - { - public string ID { get; set; } - public string name { get; set; } - public string value { get; set; } - public string des { get; set; } - public string remark1 { get; set; } - public string remark2 { get; set; } - public string remark3 { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Cylinder.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Cylinder.cs deleted file mode 100644 index 5a24aa1..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Cylinder.cs +++ /dev/null @@ -1,21 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Cylinder - { - public string CylinderID { get; set; } - public string CylinderNo { get; set; } - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_CylinderAndRaw.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_CylinderAndRaw.cs deleted file mode 100644 index 761da9f..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_CylinderAndRaw.cs +++ /dev/null @@ -1,24 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_CylinderAndRaw - { - public string ID { get; set; } - public string CylinderID { get; set; } - public string DrumBarCode { get; set; } - public string BarCode { get; set; } - public Nullable Time1 { get; set; } - public Nullable Time2 { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Defect.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Defect.cs deleted file mode 100644 index b72c99a..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Defect.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Defect - { - public string ID { get; set; } - public string LineID { get; set; } - public string DefectName { get; set; } - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Device.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Device.cs deleted file mode 100644 index 12c60ac..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Device.cs +++ /dev/null @@ -1,25 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Device - { - public string DeviceID { get; set; } - public string StationID { get; set; } - public string DeviceNo { get; set; } - public string DeviceName { get; set; } - public string FixNo { get; set; } - public string Des { get; set; } - public string DeviceModel { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_DeviceKeepItems.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_DeviceKeepItems.cs deleted file mode 100644 index 3f74989..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_DeviceKeepItems.cs +++ /dev/null @@ -1,23 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_DeviceKeepItems - { - public string ID { get; set; } - public string KeepItemsID { get; set; } - public string DeviceID { get; set; } - public Nullable CreateTime { get; set; } - public Nullable UpdateTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Factory.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Factory.cs deleted file mode 100644 index e942aad..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Factory.cs +++ /dev/null @@ -1,21 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Factory - { - public string FactoryID { get; set; } - public string FactoryName { get; set; } - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_FinishProduct.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_FinishProduct.cs deleted file mode 100644 index 3fb3943..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_FinishProduct.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_FinishProduct - { - public string FinishProductID { get; set; } - public string FinishProductNo { get; set; } - public string FinishProductName { get; set; } - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_ImgVideo.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_ImgVideo.cs deleted file mode 100644 index f2181f8..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_ImgVideo.cs +++ /dev/null @@ -1,24 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_ImgVideo - { - public string ID { get; set; } - public string fileUrl { get; set; } - public string fileName { get; set; } - public string fileType { get; set; } - public Nullable CreateTime { get; set; } - public Nullable UpdateTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Inhection_DownReason.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Inhection_DownReason.cs deleted file mode 100644 index e4daed4..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Inhection_DownReason.cs +++ /dev/null @@ -1,21 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Inhection_DownReason - { - public string ID { get; set; } - public string Reason { get; set; } - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_InjectPlanReport.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_InjectPlanReport.cs deleted file mode 100644 index b2bb4e5..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_InjectPlanReport.cs +++ /dev/null @@ -1,25 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_InjectPlanReport - { - public string ID { get; set; } - public string InjectionPlanID { get; set; } - public string ProductName { get; set; } - public string MaterialName { get; set; } - public string Drum { get; set; } - public string BatchNo { get; set; } - public Nullable Time1 { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_InjectionPlan.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_InjectionPlan.cs deleted file mode 100644 index 411e869..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_InjectionPlan.cs +++ /dev/null @@ -1,34 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_InjectionPlan - { - public string InjectionPlanID { get; set; } - public string StationID { get; set; } - public string BeginTime { get; set; } - public string StockNo { get; set; } - public string PartNo { get; set; } - public Nullable PlanCount { get; set; } - public string EndTime { get; set; } - public Nullable PlanDate { get; set; } - public Nullable CompleteCount { get; set; } - public Nullable IsFinish { get; set; } - public Nullable FinishTime { get; set; } - public Nullable RealCycle { get; set; } - public string workClass { get; set; } - public Nullable JK_Weight { get; set; } - public Nullable Waste_Weight { get; set; } - public string ProductNature { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Injection_BoxRecord.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Injection_BoxRecord.cs deleted file mode 100644 index 7ffeb9b..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Injection_BoxRecord.cs +++ /dev/null @@ -1,24 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Injection_BoxRecord - { - public string ID { get; set; } - public string BoxNo { get; set; } - public Nullable BoxCount { get; set; } - public Nullable IsFlag { get; set; } - public Nullable CreateTime { get; set; } - public Nullable BoxType { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Injection_DownRecord.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Injection_DownRecord.cs deleted file mode 100644 index 5a0b9f6..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Injection_DownRecord.cs +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Injection_DownRecord - { - public string ID { get; set; } - public string StationID { get; set; } - public string DownType { get; set; } - public string DownReason { get; set; } - public string Des { get; set; } - public Nullable StartTime { get; set; } - public Nullable EndTime { get; set; } - public Nullable DownTime { get; set; } - public string Remark1 { get; set; } - public string Remark2 { get; set; } - public string Remark3 { get; set; } - public string PlanID { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Injection_DownTime.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Injection_DownTime.cs deleted file mode 100644 index 4013ce2..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Injection_DownTime.cs +++ /dev/null @@ -1,27 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Injection_DownTime - { - public string ID { get; set; } - public string StationID { get; set; } - public Nullable StartTime { get; set; } - public Nullable EndTime { get; set; } - public Nullable InterVal { get; set; } - public string DownTypeID { get; set; } - public string Remark1 { get; set; } - public string Remark2 { get; set; } - public string Remark3 { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Injection_DownType.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Injection_DownType.cs deleted file mode 100644 index 10f69e7..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Injection_DownType.cs +++ /dev/null @@ -1,21 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Injection_DownType - { - public string ID { get; set; } - public string DownTypeName { get; set; } - public string Remark { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Injection_Record.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Injection_Record.cs deleted file mode 100644 index 4129ad8..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Injection_Record.cs +++ /dev/null @@ -1,27 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Injection_Record - { - public string ID { get; set; } - public string workClass { get; set; } - public string StationID { get; set; } - public Nullable JK_Weight { get; set; } - public Nullable Waste_Weight { get; set; } - public Nullable RecordDate { get; set; } - public string StockNo { get; set; } - public string PartNo { get; set; } - public string PlanID { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_InspectResult.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_InspectResult.cs deleted file mode 100644 index c04dd78..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_InspectResult.cs +++ /dev/null @@ -1,35 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_InspectResult - { - public string ID { get; set; } - public string barcode { get; set; } - public string side { get; set; } - public string position { get; set; } - public string stationNo { get; set; } - public string workClass { get; set; } - public string inspectResult { get; set; } - public string damnPosition { get; set; } - public string defectID { get; set; } - public string reason { get; set; } - public string productInfo { get; set; } - public string productOption { get; set; } - public Nullable createTime { get; set; } - public string InspectTimes { get; set; } - public string remark1 { get; set; } - public string remark2 { get; set; } - public string remark3 { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_KeepItems.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_KeepItems.cs deleted file mode 100644 index 6ee383f..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_KeepItems.cs +++ /dev/null @@ -1,24 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_KeepItems - { - public string ID { get; set; } - public string KeepLevelID { get; set; } - public string Des { get; set; } - public Nullable CreateTime { get; set; } - public Nullable UpdateTime { get; set; } - public string KeepItems { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_KeepItemsVersion.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_KeepItemsVersion.cs deleted file mode 100644 index 9ee8c7e..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_KeepItemsVersion.cs +++ /dev/null @@ -1,28 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_KeepItemsVersion - { - public string ID { get; set; } - public string VersionID { get; set; } - public string KeepItemsID { get; set; } - public System.DateTime CreateTime { get; set; } - public string CreateUserID { get; set; } - public Nullable UpdateTime { get; set; } - public string UpdateUserID { get; set; } - public int IsUseing { get; set; } - public Nullable DisableTime { get; set; } - public string DisableUserID { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_KeepLevel.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_KeepLevel.cs deleted file mode 100644 index 581102e..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_KeepLevel.cs +++ /dev/null @@ -1,23 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_KeepLevel - { - public string ID { get; set; } - public string KeepLevel { get; set; } - public string Des { get; set; } - public Nullable CreateTime { get; set; } - public Nullable UpdateTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_KeepPlan.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_KeepPlan.cs deleted file mode 100644 index 94428cd..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_KeepPlan.cs +++ /dev/null @@ -1,25 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_KeepPlan - { - public string ID { get; set; } - public string DeviceID { get; set; } - public string KeepLevelID { get; set; } - public Nullable CreateTime { get; set; } - public Nullable UpdateTime { get; set; } - public Nullable KeepDay { get; set; } - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_KeepRecord.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_KeepRecord.cs deleted file mode 100644 index 4afd00f..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_KeepRecord.cs +++ /dev/null @@ -1,33 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_KeepRecord - { - public string ID { get; set; } - public string KeepPlanID { get; set; } - public string KeepItemsVersionID { get; set; } - public string Result { get; set; } - public string Des { get; set; } - public Nullable CreateTime { get; set; } - public Nullable UpdateTime { get; set; } - public string CheckUser { get; set; } - public System.DateTime CheckDate { get; set; } - public string ConfirmUser { get; set; } - public Nullable ConfirmUserDate { get; set; } - public string GroupLeaderConfirm { get; set; } - public Nullable GroupLeaderConfirmDate { get; set; } - public string DepartmentLeaderConfirm { get; set; } - public Nullable DepartmentLeaderConfirmDate { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_KeepVersion.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_KeepVersion.cs deleted file mode 100644 index c9d7c7b..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_KeepVersion.cs +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_KeepVersion - { - public string ID { get; set; } - public string DeviceID { get; set; } - public string Version { get; set; } - public System.DateTime CreateTime { get; set; } - public string CreateUserID { get; set; } - public Nullable UpdateTime { get; set; } - public string UpdateUserID { get; set; } - public int IsUseing { get; set; } - public string Operation { get; set; } - public Nullable DisableTime { get; set; } - public string DisableUserID { get; set; } - public string Description { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_LayerAndBC.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_LayerAndBC.cs deleted file mode 100644 index b515f2e..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_LayerAndBC.cs +++ /dev/null @@ -1,23 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_LayerAndBC - { - public string ID { get; set; } - public Nullable layer { get; set; } - public string floor { get; set; } - public string side { get; set; } - public string des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Line.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Line.cs deleted file mode 100644 index d529848..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Line.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Line - { - public string LineID { get; set; } - public string PlaceID { get; set; } - public string LineName { get; set; } - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Machine.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Machine.cs deleted file mode 100644 index 01c11f8..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Machine.cs +++ /dev/null @@ -1,21 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Machine - { - public string MachineID { get; set; } - public string MachineNo { get; set; } - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Manufacturer.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Manufacturer.cs deleted file mode 100644 index a51ed60..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Manufacturer.cs +++ /dev/null @@ -1,23 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Manufacturer - { - public string ID { get; set; } - public string ManufacturerName { get; set; } - public string Des { get; set; } - public Nullable CreateTime { get; set; } - public Nullable UpdateTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Mistake_247.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Mistake_247.cs deleted file mode 100644 index f460bb4..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Mistake_247.cs +++ /dev/null @@ -1,25 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Mistake_247 - { - public string ID { get; set; } - public string PartNo1 { get; set; } - public string PartName1 { get; set; } - public string PartNo2 { get; set; } - public string PartName2 { get; set; } - public Nullable PackCount { get; set; } - public string DeviceNo { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_ModelCount.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_ModelCount.cs deleted file mode 100644 index aea5b47..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_ModelCount.cs +++ /dev/null @@ -1,24 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_ModelCount - { - public string ID { get; set; } - public string ModelID { get; set; } - public string StationID { get; set; } - public decimal ModelPrintCount { get; set; } - public Nullable PrintDate { get; set; } - public decimal ModelSumCount { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_ModelInfo.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_ModelInfo.cs deleted file mode 100644 index 0fd9888..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_ModelInfo.cs +++ /dev/null @@ -1,33 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_ModelInfo - { - public string ID { get; set; } - public string ModelName { get; set; } - public string ModelNo { get; set; } - public string PermanentAssetsNo { get; set; } - public string Tonnage { get; set; } - public string ServiceLife { get; set; } - public string Supplier { get; set; } - public string PartWeight { get; set; } - public string InjectionPeriod { get; set; } - public string LocatingRingSize { get; set; } - public string OutForm { get; set; } - public string ModelWeight { get; set; } - public string RunnerForm { get; set; } - public string ModelCavityNo { get; set; } - public string ModelSize { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Model_Product.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Model_Product.cs deleted file mode 100644 index 14497e5..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Model_Product.cs +++ /dev/null @@ -1,21 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Model_Product - { - public string ID { get; set; } - public string ModelID { get; set; } - public string ProuctID { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Model_Update.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Model_Update.cs deleted file mode 100644 index 2908cf8..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Model_Update.cs +++ /dev/null @@ -1,25 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Model_Update - { - public string ID { get; set; } - public string Purpose { get; set; } - public string State { get; set; } - public string Supplier { get; set; } - public string Remarks { get; set; } - public Nullable AddTime { get; set; } - public string ModelID { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Operator.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Operator.cs deleted file mode 100644 index a6d6b3a..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Operator.cs +++ /dev/null @@ -1,24 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Operator - { - public string OperatorID { get; set; } - public string StationID { get; set; } - public string OperatorNo { get; set; } - public string OperatorName { get; set; } - public string OperatorPsw { get; set; } - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_PLC_Break.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_PLC_Break.cs deleted file mode 100644 index 002a94f..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_PLC_Break.cs +++ /dev/null @@ -1,21 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_PLC_Break - { - public int ID { get; set; } - public string Address { get; set; } - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_PLC_Mould.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_PLC_Mould.cs deleted file mode 100644 index cb15dab..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_PLC_Mould.cs +++ /dev/null @@ -1,21 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_PLC_Mould - { - public int ID { get; set; } - public string Address { get; set; } - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_PaintBarCode.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_PaintBarCode.cs deleted file mode 100644 index 361505e..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_PaintBarCode.cs +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_PaintBarCode - { - public string ID { get; set; } - public string StationID { get; set; } - public string ProductID { get; set; } - public string OneBarCode { get; set; } - public string BarCode { get; set; } - public string StockNo { get; set; } - public string ColorDes { get; set; } - public string workClass { get; set; } - public string Side { get; set; } - public Nullable CreateTime { get; set; } - public Nullable PrintTime { get; set; } - public string ProductDate { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_PaintInfo.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_PaintInfo.cs deleted file mode 100644 index f1faa61..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_PaintInfo.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_PaintInfo - { - public string ID { get; set; } - public string PaintCode { get; set; } - public string PaintName { get; set; } - public string PaintModel { get; set; } - public string UnitCode { get; set; } - public string CarModelCode { get; set; } - public Nullable IsUsing { get; set; } - public Nullable CreateTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Paint_Bucket.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Paint_Bucket.cs deleted file mode 100644 index 8897a74..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Paint_Bucket.cs +++ /dev/null @@ -1,21 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Paint_Bucket - { - public string PaintID { get; set; } - public string BucketID { get; set; } - public string ID { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Place.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Place.cs deleted file mode 100644 index 42ccde5..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Place.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Place - { - public string PlaceID { get; set; } - public string FactoryID { get; set; } - public string PlaceName { get; set; } - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_PlanScreenConfig.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_PlanScreenConfig.cs deleted file mode 100644 index 4d77370..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_PlanScreenConfig.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_PlanScreenConfig - { - public string ID { get; set; } - public string IP { get; set; } - public string StationNo { get; set; } - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Plan_247.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Plan_247.cs deleted file mode 100644 index adb988b..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Plan_247.cs +++ /dev/null @@ -1,31 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Plan_247 - { - public string ID { get; set; } - public string OrderNo { get; set; } - public Nullable Item { get; set; } - public string PartNo { get; set; } - public Nullable OrderCount { get; set; } - public Nullable LyCount { get; set; } - public Nullable CompleteCount { get; set; } - public Nullable RepairCount { get; set; } - public Nullable ScrapCount1 { get; set; } - public Nullable ScrapCount2 { get; set; } - public string Des { get; set; } - public Nullable CreateTime { get; set; } - public Nullable IsFinish { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Plastic.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Plastic.cs deleted file mode 100644 index fff7dfa..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Plastic.cs +++ /dev/null @@ -1,27 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Plastic - { - public string ID { get; set; } - public string StockNo { get; set; } - public Nullable CycleTime { get; set; } - public string StationID { get; set; } - public Nullable IsBackup { get; set; } - public Nullable Weight { get; set; } - public Nullable OpenDebugTime { get; set; } - public Nullable PrinterNo { get; set; } - public string PartNo { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Product.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Product.cs deleted file mode 100644 index 6cfa5e3..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Product.cs +++ /dev/null @@ -1,42 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Product - { - public string ProductID { get; set; } - public string ProductTypeID { get; set; } - public string StockNo { get; set; } - public string PartName { get; set; } - public string ProductName { get; set; } - public string ColorName { get; set; } - public string PartNo { get; set; } - public Nullable Rows { get; set; } - public Nullable Cols { get; set; } - public Nullable Layers { get; set; } - public string PicturePath { get; set; } - public string Des { get; set; } - public Nullable isImport { get; set; } - public Nullable PackCount { get; set; } - public Nullable OpenFailNum { get; set; } - public string QLevel { get; set; } - public string IsPrintOneTag { get; set; } - public string IsPrintPackList { get; set; } - public string IsSupply { get; set; } - public string IsOneMore { get; set; } - public Nullable BackPlatingNum { get; set; } - public string IsPlating { get; set; } - public string CarTypeID { get; set; } - public Nullable IsSame { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_ProductSotckIn.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_ProductSotckIn.cs deleted file mode 100644 index 08fe2f3..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_ProductSotckIn.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_ProductSotckIn - { - public string ID { get; set; } - public string BarCode { get; set; } - public string ProductName { get; set; } - public Nullable CreateTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_ProductType.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_ProductType.cs deleted file mode 100644 index 3fb2293..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_ProductType.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_ProductType - { - public string ProductTypeID { get; set; } - public string ProductTypeNo { get; set; } - public string ProductTypeName { get; set; } - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Product_.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Product_.cs deleted file mode 100644 index 36d6fea..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Product_.cs +++ /dev/null @@ -1,41 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Product_ - { - public string ProductID { get; set; } - public string ProductTypeID { get; set; } - public string StockNo { get; set; } - public string PartName { get; set; } - public string ProductName { get; set; } - public string ColorName { get; set; } - public string PartNo { get; set; } - public Nullable Rows { get; set; } - public Nullable Cols { get; set; } - public Nullable Layers { get; set; } - public string PicturePath { get; set; } - public string Des { get; set; } - public Nullable isImport { get; set; } - public Nullable PackCount { get; set; } - public Nullable OpenFailNum { get; set; } - public string QLevel { get; set; } - public string IsPrintOneTag { get; set; } - public string IsPrintPackList { get; set; } - public string IsSupply { get; set; } - public string IsOneMore { get; set; } - public Nullable BackPlatingNum { get; set; } - public string IsPlating { get; set; } - public string CarTypeID { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Product_Color.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Product_Color.cs deleted file mode 100644 index 2f884f3..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Product_Color.cs +++ /dev/null @@ -1,21 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Product_Color - { - public string ID { get; set; } - public string ProductID { get; set; } - public string ColorID { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Product_Injection.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Product_Injection.cs deleted file mode 100644 index 1be1237..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Product_Injection.cs +++ /dev/null @@ -1,28 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Product_Injection - { - public string ID { get; set; } - public string PlanID { get; set; } - public string StationID { get; set; } - public string ProductDate { get; set; } - public string ClassName { get; set; } - public string StockNo { get; set; } - public string PartNo { get; set; } - public Nullable ProductCount { get; set; } - public Nullable BadCount { get; set; } - public Nullable MarketCount { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Product_Injection_w.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Product_Injection_w.cs deleted file mode 100644 index ffa60be..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Product_Injection_w.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Product_Injection_w - { - public string ID { get; set; } - public Nullable RealCycle { get; set; } - public Nullable Waste_Weight { get; set; } - public Nullable JK_Weight { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Record_247.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Record_247.cs deleted file mode 100644 index 777fc3f..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Record_247.cs +++ /dev/null @@ -1,27 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Record_247 - { - public string ID { get; set; } - public string PartNo1 { get; set; } - public string PartNo2 { get; set; } - public string BoxNo { get; set; } - public string OrderNo { get; set; } - public Nullable CreateTime1 { get; set; } - public Nullable CreateTime2 { get; set; } - public Nullable Flag { get; set; } - public Nullable Type { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_ReportPaintingScreen.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_ReportPaintingScreen.cs deleted file mode 100644 index 1718801..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_ReportPaintingScreen.cs +++ /dev/null @@ -1,25 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_ReportPaintingScreen - { - public string color { get; set; } - public string productInfo { get; set; } - public int sumNum { get; set; } - public int oncePassNum { get; set; } - public string oncePassRate { get; set; } - public int sumPassNum { get; set; } - public string sumPassRate { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_ReportPaintingScreen_pg.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_ReportPaintingScreen_pg.cs deleted file mode 100644 index 2785b9c..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_ReportPaintingScreen_pg.cs +++ /dev/null @@ -1,32 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_ReportPaintingScreen_pg - { - public string color { get; set; } - public string productInfo { get; set; } - public int sumNum { get; set; } - public int hgNum { get; set; } - public string DefectName1 { get; set; } - public decimal defectRate1 { get; set; } - public string DefectName2 { get; set; } - public Nullable defectRate2 { get; set; } - public string DefectName3 { get; set; } - public Nullable defectRate3 { get; set; } - public string DefectName4 { get; set; } - public Nullable defectRate4 { get; set; } - public string DefectName5 { get; set; } - public Nullable defectRate5 { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Report_FiveScreen.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Report_FiveScreen.cs deleted file mode 100644 index bd3d4a5..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Report_FiveScreen.cs +++ /dev/null @@ -1,65 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Report_FiveScreen - { - public string ID { get; set; } - public string Name { get; set; } - public Nullable LastYear { get; set; } - public Nullable Jan { get; set; } - public Nullable Feb { get; set; } - public Nullable Mar { get; set; } - public Nullable Apr { get; set; } - public Nullable May { get; set; } - public Nullable Jun { get; set; } - public Nullable Jul { get; set; } - public Nullable Aug { get; set; } - public Nullable Sept { get; set; } - public Nullable Oct { get; set; } - public Nullable Nov { get; set; } - public Nullable Dec { get; set; } - public Nullable day1 { get; set; } - public Nullable day2 { get; set; } - public Nullable day3 { get; set; } - public Nullable day4 { get; set; } - public Nullable day5 { get; set; } - public Nullable day6 { get; set; } - public Nullable day7 { get; set; } - public Nullable day8 { get; set; } - public Nullable day9 { get; set; } - public Nullable day10 { get; set; } - public Nullable day11 { get; set; } - public Nullable day12 { get; set; } - public Nullable day13 { get; set; } - public Nullable day14 { get; set; } - public Nullable day15 { get; set; } - public Nullable day16 { get; set; } - public Nullable day17 { get; set; } - public Nullable day18 { get; set; } - public Nullable day19 { get; set; } - public Nullable day20 { get; set; } - public Nullable day21 { get; set; } - public Nullable day22 { get; set; } - public Nullable day23 { get; set; } - public Nullable day24 { get; set; } - public Nullable day25 { get; set; } - public Nullable day26 { get; set; } - public Nullable day27 { get; set; } - public Nullable day28 { get; set; } - public Nullable day29 { get; set; } - public Nullable day30 { get; set; } - public Nullable day31 { get; set; } - public Nullable CreateTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Report_FiveScreenConfig.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Report_FiveScreenConfig.cs deleted file mode 100644 index 9e76b9f..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Report_FiveScreenConfig.cs +++ /dev/null @@ -1,24 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Report_FiveScreenConfig - { - public string ID { get; set; } - public string Name { get; set; } - public Nullable Min { get; set; } - public Nullable Max { get; set; } - public Nullable Scale { get; set; } - public Nullable CreateTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Report_FiveScreenLast.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Report_FiveScreenLast.cs deleted file mode 100644 index 23bb6d0..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Report_FiveScreenLast.cs +++ /dev/null @@ -1,25 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Report_FiveScreenLast - { - public string ID { get; set; } - public string StationID { get; set; } - public string StationNo { get; set; } - public string UseRate { get; set; } - public string PassRate { get; set; } - public string Remark1 { get; set; } - public Nullable CreateTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Report_FiveScreenStandard.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Report_FiveScreenStandard.cs deleted file mode 100644 index 0ddeb70..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Report_FiveScreenStandard.cs +++ /dev/null @@ -1,34 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Report_FiveScreenStandard - { - public string ID { get; set; } - public string Name { get; set; } - public Nullable LastYear { get; set; } - public Nullable Jan { get; set; } - public Nullable Feb { get; set; } - public Nullable Mar { get; set; } - public Nullable Apr { get; set; } - public Nullable May { get; set; } - public Nullable Jun { get; set; } - public Nullable Jul { get; set; } - public Nullable Aug { get; set; } - public Nullable Sept { get; set; } - public Nullable Oct { get; set; } - public Nullable Nov { get; set; } - public Nullable Dec { get; set; } - public Nullable CreateTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_SkidInfo.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_SkidInfo.cs deleted file mode 100644 index 7c7a8ec..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_SkidInfo.cs +++ /dev/null @@ -1,49 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_SkidInfo - { - public string ID { get; set; } - public string SkidNo { get; set; } - public string BarcodeLeft { get; set; } - public string BarcodeRight { get; set; } - public string Layer { get; set; } - public string ColorInfo { get; set; } - public Nullable CreateTime { get; set; } - public string Side_1_BC01 { get; set; } - public string Side_1_BC02 { get; set; } - public string Side_1_BC03 { get; set; } - public string Side_1_BC04 { get; set; } - public string Side_1_BC05 { get; set; } - public string Side_1_BC06 { get; set; } - public string Side_1_BC07 { get; set; } - public string Side_1_BC08 { get; set; } - public string Side_1_BC09 { get; set; } - public string Side_1_BC10 { get; set; } - public string Side_1_BC11 { get; set; } - public string Side_1_BC12 { get; set; } - public string Side_2_BC01 { get; set; } - public string Side_2_BC02 { get; set; } - public string Side_2_BC03 { get; set; } - public string Side_2_BC04 { get; set; } - public string Side_2_BC05 { get; set; } - public string Side_2_BC06 { get; set; } - public string Side_2_BC07 { get; set; } - public string Side_2_BC08 { get; set; } - public string Side_2_BC09 { get; set; } - public string Side_2_BC10 { get; set; } - public string Side_2_BC11 { get; set; } - public string Side_2_BC12 { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Station.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_Station.cs deleted file mode 100644 index 0188ba6..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_Station.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_Station - { - public string StationID { get; set; } - public string LineID { get; set; } - public string StationNo { get; set; } - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_StationAndCylinder.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_StationAndCylinder.cs deleted file mode 100644 index 1ec8efb..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_StationAndCylinder.cs +++ /dev/null @@ -1,23 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_StationAndCylinder - { - public string ID { get; set; } - public string StationID { get; set; } - public string CylinderID { get; set; } - public Nullable Time1 { get; set; } - public Nullable Time2 { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_StockIn.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_StockIn.cs deleted file mode 100644 index 68700fb..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_StockIn.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_StockIn - { - public string ID { get; set; } - public string barcode { get; set; } - public string pass { get; set; } - public Nullable createTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_StockInColor.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_StockInColor.cs deleted file mode 100644 index 6e3e9d2..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_StockInColor.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_StockInColor - { - public string ID { get; set; } - public string Barcode { get; set; } - public string ColorInfo { get; set; } - public Nullable CreateTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_StockIn_beif.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_StockIn_beif.cs deleted file mode 100644 index 7d5d609..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_StockIn_beif.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_StockIn_beif - { - public string ID { get; set; } - public string barcode { get; set; } - public string pass { get; set; } - public Nullable createTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_ZPPlan.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_ZPPlan.cs deleted file mode 100644 index 9407134..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_ZPPlan.cs +++ /dev/null @@ -1,30 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_ZPPlan - { - public string ID { get; set; } - public string OrderNo { get; set; } - public Nullable OrderDate { get; set; } - public Nullable Item { get; set; } - public string StationID { get; set; } - public string PartNo { get; set; } - public Nullable OrderCount { get; set; } - public Nullable ProductCount { get; set; } - public Nullable IsFinish { get; set; } - public Nullable BadCount { get; set; } - public Nullable CreateTime { get; set; } - public string IsOneMore { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_test.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_test.cs deleted file mode 100644 index 1fa5d67..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_test.cs +++ /dev/null @@ -1,21 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_test - { - public string ID { get; set; } - public string Reason { get; set; } - public Nullable createTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/tb_weightRecord.cs b/喷涂上线/Code/MESClassLibrary/EFModel/tb_weightRecord.cs deleted file mode 100644 index c7c05ff..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/tb_weightRecord.cs +++ /dev/null @@ -1,22 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class tb_weightRecord - { - public string GID { get; set; } - public Nullable ID { get; set; } - public string DeviceNo { get; set; } - public Nullable CreateTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/test1.cs b/喷涂上线/Code/MESClassLibrary/EFModel/test1.cs deleted file mode 100644 index 4149670..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/test1.cs +++ /dev/null @@ -1,29 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class test1 - { - public string ID { get; set; } - public string StationID { get; set; } - public string StockNo { get; set; } - public Nullable PrintType { get; set; } - public string OneBarCode { get; set; } - public string PlanID { get; set; } - public Nullable CreateTime { get; set; } - public string ProductName { get; set; } - public string PartNo { get; set; } - public string ProductDate { get; set; } - public string ClassName { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/EFModel/test2.cs b/喷涂上线/Code/MESClassLibrary/EFModel/test2.cs deleted file mode 100644 index c92b0ef..0000000 --- a/喷涂上线/Code/MESClassLibrary/EFModel/test2.cs +++ /dev/null @@ -1,24 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码已从模板生成。 -// -// 手动更改此文件可能导致应用程序出现意外的行为。 -// 如果重新生成代码,将覆盖对此文件的手动更改。 -// -//------------------------------------------------------------------------------ - -namespace MESClassLibrary.EFModel -{ - using System; - using System.Collections.Generic; - - public partial class test2 - { - public int ID { get; set; } - public string PlanID { get; set; } - public string StationID { get; set; } - public string ProductDate { get; set; } - public string ClassName { get; set; } - public Nullable ProductCount { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/JSONTools.cs b/喷涂上线/Code/MESClassLibrary/JSONTools.cs deleted file mode 100644 index 55d0e46..0000000 --- a/喷涂上线/Code/MESClassLibrary/JSONTools.cs +++ /dev/null @@ -1,85 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Web.Script.Serialization; - -namespace MESClassLibrary -{ - public class JSONTools - { - public static List JSONStringToList(string JsonStr) - { - JavaScriptSerializer serializer = new JavaScriptSerializer(); - serializer.MaxJsonLength = 0x7fffffff; - return serializer.Deserialize>(JsonStr); - } - - public static DataSet JsonToDataSet(string Json) - { - try - { - DataSet set = new DataSet(); - JavaScriptSerializer serializer = new JavaScriptSerializer(); - serializer.MaxJsonLength = 0x7fffffff; - Dictionary dictionary = (Dictionary)serializer.DeserializeObject(Json); - foreach (KeyValuePair pair in dictionary) - { - DataTable table = new DataTable(pair.Key); - object[] objArray = (object[])pair.Value; - foreach (object obj3 in objArray) - { - Dictionary dictionary2 = (Dictionary)obj3; - DataRow row = table.NewRow(); - foreach (KeyValuePair pair2 in dictionary2) - { - if (!table.Columns.Contains(pair2.Key)) - { - table.Columns.Add(pair2.Key.ToString()); - row[pair2.Key] = pair2.Value; - } - else - { - row[pair2.Key] = pair2.Value; - } - } - table.Rows.Add(row); - } - set.Tables.Add(table); - } - return set; - } - catch - { - return null; - } - } - - public static string ModifyInfoJSON(string people, string date) - { - return ("{\"People\":\"" + people + "\",\"Date\":\"" + date + "\"}"); - } - - public static T ScriptDeserialize(string json) where T : new() - { - T local = new T(); - JavaScriptSerializer serializer = new JavaScriptSerializer(); - serializer.MaxJsonLength = 0x7fffffff; - return serializer.Deserialize(json); - } - - public static string ScriptSerialize(T input) - { - JavaScriptSerializer serializer = new JavaScriptSerializer(); - serializer.MaxJsonLength = 0x7fffffff; - return serializer.Serialize(input); - } - - public static string ScriptSerialize(object input) - { - return Newtonsoft.Json.JsonConvert.SerializeObject(input); - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/LambdaHelper.cs b/喷涂上线/Code/MESClassLibrary/LambdaHelper.cs deleted file mode 100644 index 41cc23b..0000000 --- a/喷涂上线/Code/MESClassLibrary/LambdaHelper.cs +++ /dev/null @@ -1,220 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Linq.Expressions; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary -{ - public static class LambdaHelper - { - /// - /// 创建lambda表达式:p=>true - /// - /// - /// - public static Expression> True() - { - return p => true; - } - - /// - /// 创建lambda表达式:p=>false - /// - /// - /// - public static Expression> False() - { - return p => false; - } - - /// - /// 创建lambda表达式:p=>p.propertyName - /// - /// - /// - /// - /// - public static Expression> GetOrderExpression(string propertyName) - { - ParameterExpression parameter = Expression.Parameter(typeof(T), "p"); - return Expression.Lambda>(Expression.Property(parameter, propertyName), parameter); - } - - /// - /// 创建lambda表达式:p=>p.propertyName == propertyValue - /// - /// - /// - /// - /// - public static Expression> CreateEqual(string propertyName, object propertyValue) - { - ParameterExpression parameter = Expression.Parameter(typeof(T), "p");//创建参数p - MemberExpression member = Expression.PropertyOrField(parameter, propertyName); - ConstantExpression constant = Expression.Constant(propertyValue);//创建常数 - return Expression.Lambda>(Expression.Equal(member, constant), parameter); - } - - /// - /// 创建lambda表达式:p=>p.propertyName != propertyValue - /// - /// - /// - /// - /// - public static Expression> CreateNotEqual(string propertyName, string propertyValue) - { - ParameterExpression parameter = Expression.Parameter(typeof(T), "p");//创建参数p - MemberExpression member = Expression.PropertyOrField(parameter, propertyName); - ConstantExpression constant = Expression.Constant(propertyValue);//创建常数 - return Expression.Lambda>(Expression.NotEqual(member, constant), parameter); - } - - /// - /// 创建lambda表达式:p=>p.propertyName > propertyValue - /// - /// - /// - /// - /// - public static Expression> CreateGreaterThan(string propertyName, string propertyValue) - { - ParameterExpression parameter = Expression.Parameter(typeof(T), "p");//创建参数p - MemberExpression member = Expression.PropertyOrField(parameter, propertyName); - ConstantExpression constant = Expression.Constant(propertyValue);//创建常数 - return Expression.Lambda>(Expression.GreaterThan(member, constant), parameter); - } - - /// - /// 创建lambda表达式:p=>p.propertyName < propertyValue - /// - /// - /// - /// - /// - public static Expression> CreateLessThan(string propertyName, string propertyValue) - { - ParameterExpression parameter = Expression.Parameter(typeof(T), "p");//创建参数p - MemberExpression member = Expression.PropertyOrField(parameter, propertyName); - ConstantExpression constant = Expression.Constant(propertyValue);//创建常数 - return Expression.Lambda>(Expression.LessThan(member, constant), parameter); - } - - /// - /// 创建lambda表达式:p=>p.propertyName >= propertyValue - /// - /// - /// - /// - /// - public static Expression> CreateGreaterThanOrEqual(string propertyName, string propertyValue) - { - ParameterExpression parameter = Expression.Parameter(typeof(T), "p");//创建参数p - MemberExpression member = Expression.PropertyOrField(parameter, propertyName); - ConstantExpression constant = Expression.Constant(propertyValue);//创建常数 - return Expression.Lambda>(Expression.GreaterThanOrEqual(member, constant), parameter); - } - - /// - /// 创建lambda表达式:p=>p.propertyName <= propertyValue - /// - /// - /// - /// - /// - public static Expression> CreateLessThanOrEqual(string propertyName, string propertyValue) - { - ParameterExpression parameter = Expression.Parameter(typeof(T), "p");//创建参数p - MemberExpression member = Expression.PropertyOrField(parameter, propertyName); - ConstantExpression constant = Expression.Constant(propertyValue);//创建常数 - return Expression.Lambda>(Expression.LessThanOrEqual(member, constant), parameter); - } - //时间比较>= - public static Expression> CreateCompareToLater(string propertyName, object propertyValue) - { - ParameterExpression parameter = Expression.Parameter(typeof(T), "p");//创建参数p - MemberExpression member = Expression.PropertyOrField(parameter, propertyName); - var methodInfo = typeof(DateTime).GetMethod("CompareTo", new Type[] { typeof(DateTime) });// - ConstantExpression constant = Expression.Constant(Convert.ToDateTime(propertyValue), typeof(DateTime));//创建常数 - BinaryExpression siteNoExpression = - Expression.GreaterThanOrEqual( - Expression.Call( - member, - methodInfo, - constant - ), - Expression.Constant(0, typeof(Int32)) //比较String.CompareTo的返回结果和0,来实现>=的效果 - ); - return Expression.Lambda>(siteNoExpression, parameter); - } - //时间比较<= - public static Expression> CreateCompareToEarlier(string propertyName, object propertyValue) - { - ParameterExpression parameter = Expression.Parameter(typeof(T), "p");//创建参数p - MemberExpression member = Expression.PropertyOrField(parameter, propertyName); - var methodInfo = typeof(DateTime).GetMethod("CompareTo", new Type[] { typeof(DateTime) });// - ConstantExpression constant = Expression.Constant(Convert.ToDateTime(propertyValue), typeof(DateTime));//创建常数 - BinaryExpression siteNoExpression = - Expression.LessThanOrEqual( - Expression.Call( - member, - methodInfo, - constant - ), - Expression.Constant(0, typeof(Int32)) //比较String.CompareTo的返回结果和0,来实现>=的效果 - ); - return Expression.Lambda>(siteNoExpression, parameter); - } - - - - /// - /// 创建lambda表达式:p=>p.propertyName.Contains(propertyValue) - /// - /// - /// - /// - /// - public static Expression> GetContains(string propertyName, string propertyValue) - { - ParameterExpression parameter = Expression.Parameter(typeof(T), "p"); - MemberExpression member = Expression.PropertyOrField(parameter, propertyName); - MethodInfo method = typeof(string).GetMethod("Contains", new[] { typeof(string) }); - ConstantExpression constant = Expression.Constant(propertyValue, typeof(string)); - return Expression.Lambda>(Expression.Call(member, method, constant), parameter); - } - - /// - /// 创建lambda表达式:!(p=>p.propertyName.Contains(propertyValue)) - /// - /// - /// - /// - /// - public static Expression> GetNotContains(string propertyName, string propertyValue) - { - ParameterExpression parameter = Expression.Parameter(typeof(T), "p"); - MemberExpression member = Expression.PropertyOrField(parameter, propertyName); - MethodInfo method = typeof(string).GetMethod("Contains", new[] { typeof(string) }); - ConstantExpression constant = Expression.Constant(propertyValue, typeof(string)); - return Expression.Lambda>(Expression.Not(Expression.Call(member, method, constant)), parameter); - } - - public static Expression> Or(this Expression> expr1,Expression> expr2) - { - var invokedExpr = Expression.Invoke(expr2, expr1.Parameters.Cast()); - return Expression.Lambda> - (Expression.Or(expr1.Body, invokedExpr), expr1.Parameters); - } - - public static Expression> And(this Expression> expr1,Expression> expr2) - { - var invokedExpr = Expression.Invoke(expr2, expr1.Parameters.Cast()); - return Expression.Lambda> - (Expression.And(expr1.Body, invokedExpr), expr1.Parameters); - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/MESClassLibrary.csproj b/喷涂上线/Code/MESClassLibrary/MESClassLibrary.csproj deleted file mode 100644 index 102e91d..0000000 --- a/喷涂上线/Code/MESClassLibrary/MESClassLibrary.csproj +++ /dev/null @@ -1,613 +0,0 @@ - - - - - Debug - AnyCPU - {867989D8-6837-41DC-9BF1-4658F5D6CFEF} - Library - Properties - MESClassLibrary - MESClassLibrary - v4.0 - 512 - true - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false - - - - ..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll - - - False - ..\MESWebSite\DLL\Newtonsoft.Json.dll - - - - - - - - - - - - - - - ..\..\BBMPT\packages\System.Net.Http.4.3.4\lib\net46\System.Net.Http.dll - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Code - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - True - True - BBMPT.Context.tt - - - True - True - BBMPT.tt - - - True - True - BBMPT.edmx - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - BBMPT.tt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Designer - - - EntityModelCodeGenerator - BBMPT.Designer.cs - - - BBMPT.edmx - - - - - - TextTemplatingFileGenerator - BBMPT.edmx - BBMPT.Context.cs - - - TextTemplatingFileGenerator - BBMPT.edmx - BBMPT.cs - - - - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/MESClassLibrary/Model/AnalysisBarModel.cs b/喷涂上线/Code/MESClassLibrary/Model/AnalysisBarModel.cs deleted file mode 100644 index 425439d..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/AnalysisBarModel.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class AnalysisBarModel - { - public string text { get; set; } - public string subtext { get; set; } - public List categories { get; set; } - public List data { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/AnalysisPieModel.cs b/喷涂上线/Code/MESClassLibrary/Model/AnalysisPieModel.cs deleted file mode 100644 index 32f655f..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/AnalysisPieModel.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class AnalysisPieModel - { - public string text { get; set; } - public List data { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/AssemblyModel.cs b/喷涂上线/Code/MESClassLibrary/Model/AssemblyModel.cs deleted file mode 100644 index e6db387..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/AssemblyModel.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class AssemblyModel - { - public string ID { get; set; } - - public string PartNo { get; set; } - - public string PartName { get; set; } - - public string BatchNo { get; set; } - - public string Color { get; set; } - - public string ColorNo { get; set; } - - public string PartType { get; set; } - - public string TapeBatchNo { get; set; } - - public string Validity { get; set; } - - public string ValidityDate { get; set; } - - public DateTime CreateTime { get; set; } - - public DateTime PrintTime { get; set; } - public string Des { get; set; } - - public int Flag { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/BadInjectionModel.cs b/喷涂上线/Code/MESClassLibrary/Model/BadInjectionModel.cs deleted file mode 100644 index 5cea76d..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/BadInjectionModel.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class BadInjectionModel - { - public string ID { get; set; } - public string OneBarCode { get; set; } - public string BarCode { get; set; } - public string BadPosition { get; set; } - public string BadReason { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/BarCodeModel.cs b/喷涂上线/Code/MESClassLibrary/Model/BarCodeModel.cs deleted file mode 100644 index 0e0e674..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/BarCodeModel.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class BarCodeModel - { - public string ID { get; set; } - public string OneBarCode { get; set; } - public string BarCode { get; set; } - public string StockNo { get; set; } - - public string PartNo { get; set; } - public int PrintType { get; set; } - - public string StationID { get; set; } - - public DateTime PrintTime { get; set; } - public DateTime CreateTime { get; set; } - - public string Import { get; set; } - - public string StationID2 { get; set; } - - public string PlanID { get; set; } - - public string BoxNo { get; set; } - - public int IsBad { get; set; } - - public string ProductNature { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/BasicModel.cs b/喷涂上线/Code/MESClassLibrary/Model/BasicModel.cs deleted file mode 100644 index 4e42096..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/BasicModel.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class BasicModel - { - public string ID { get; set; } - public string CreateUserID { get; set; } - public DateTime CreateTime { get; set; } - public string UpdateUserID { get; set; } - public DateTime UpdateTime { get; set; } - public string DisableUserID { get; set; } - public DateTime DisableTime { get; set; } - public int IsUseing { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/BomModel.cs b/喷涂上线/Code/MESClassLibrary/Model/BomModel.cs deleted file mode 100644 index af3262f..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/BomModel.cs +++ /dev/null @@ -1,16 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class BomModel : tb_Bom - { - public string ProductName1 { get; set; } - - public string ProductName2 { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/BoxModel.cs b/喷涂上线/Code/MESClassLibrary/Model/BoxModel.cs deleted file mode 100644 index 9288bd3..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/BoxModel.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class BoxModel - { - public string ID { get; set; } - - public string BoxNo { get; set; } - - public string PartNo { get; set; } - - public string PartName { get; set; } - - public string BatchNo { get; set; } - - public int BoxCount { get; set; } - - public DateTime CreateTime { get; set; } - - public DateTime PrintTime { get; set; } - - public string Des { get; set; } - - public int Flag { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/CarTypeModel.cs b/喷涂上线/Code/MESClassLibrary/Model/CarTypeModel.cs deleted file mode 100644 index a172c38..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/CarTypeModel.cs +++ /dev/null @@ -1,13 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class CarTypeModel : tb_CarType - { - public string ManufacturerName { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/CheckItemModel.cs b/喷涂上线/Code/MESClassLibrary/Model/CheckItemModel.cs deleted file mode 100644 index e6e243e..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/CheckItemModel.cs +++ /dev/null @@ -1,14 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class CheckItemModel : tb_CheckItem - { - public string DeviceName { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/ChildTreeModel.cs b/喷涂上线/Code/MESClassLibrary/Model/ChildTreeModel.cs deleted file mode 100644 index fd93625..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/ChildTreeModel.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class ChildTreeModel - { - public string id { get; set; } - public string text { get; set; } - - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/ColorModel.cs b/喷涂上线/Code/MESClassLibrary/Model/ColorModel.cs deleted file mode 100644 index 4520a39..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/ColorModel.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class ColorModel - { - public string Color{ get; set; } - - public string ColorNo { get; set; } - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/CommonlyInspectionModel.cs b/喷涂上线/Code/MESClassLibrary/Model/CommonlyInspectionModel.cs deleted file mode 100644 index 207f6b4..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/CommonlyInspectionModel.cs +++ /dev/null @@ -1,21 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class CommonlyInspectionModel : tb_CommonlyInspection - { - public string InspectionContent { get; set; } - - public string Standard { get; set; } - - public string Way { get; set; } - - public string Cycle { get; set; } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/CommonlyInspectionVersionModel.cs b/喷涂上线/Code/MESClassLibrary/Model/CommonlyInspectionVersionModel.cs deleted file mode 100644 index 0014327..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/CommonlyInspectionVersionModel.cs +++ /dev/null @@ -1,17 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class CommonlyInspectionVersionModel : tb_CommonlyInspectionVersion - { - public string LineID { get; set; } - public string LineName { get; set; } - public string DeviceName { get; set; } - public string IsUseingName { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/DefectModel.cs b/喷涂上线/Code/MESClassLibrary/Model/DefectModel.cs deleted file mode 100644 index a363259..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/DefectModel.cs +++ /dev/null @@ -1,14 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class DefectModel : tb_Defect - { - public string LineName { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/DeviceModel.cs b/喷涂上线/Code/MESClassLibrary/Model/DeviceModel.cs deleted file mode 100644 index 34e7dc8..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/DeviceModel.cs +++ /dev/null @@ -1,14 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class DeviceModel : tb_Device - { - public string StationNo { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/DownRecordVO.cs b/喷涂上线/Code/MESClassLibrary/Model/DownRecordVO.cs deleted file mode 100644 index 6301641..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/DownRecordVO.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class DownRecordVO - { - public string ID { get; set; } - - public string StationID { get; set; } - - public string PlanID { get; set; } - - public string DownType { get; set; } - - public string DownReason { get; set; } - - public string StartTime { get; set; } - - public string EndTime { get; set; } - - public string Remark1 { get; set; } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/EcharBarModel.cs b/喷涂上线/Code/MESClassLibrary/Model/EcharBarModel.cs deleted file mode 100644 index de5b23c..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/EcharBarModel.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class EcharBarModel - { - public List categories { get; set; } - public List QualifiedData { get; set; } - public List TargetData { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/GetNewTasksModel.cs b/喷涂上线/Code/MESClassLibrary/Model/GetNewTasksModel.cs deleted file mode 100644 index a861f26..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/GetNewTasksModel.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class GetNewTasksModel - { - public string TaskState { get; set; } - - public string TaskID { get; set; } - - public string TableName { get; set; } - - public string TableName2 { get; set; } - - public string TableName3 { get; set; } - - public string Creator { get; set; } - - public string DataCount { get; set; } - - public string Subscriber { get; set; } - - public string FailedCount { get; set; } - - public string FailedInfo { get; set; } - - public string Domain { get; set; } - - public string Site { get; set; } - - public string GUID { get; set; } - - public string UID { get; set; } - - public string CreateUser { get; set; } - - public string CreateTime { get; set; } - - public string Remark { get; set; } - - public string UpdateUser { get; set; } - - public string UpdateTime { get; set; } - - public string IsChecked { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/INJECTION_MOLDINGModel.cs b/喷涂上线/Code/MESClassLibrary/Model/INJECTION_MOLDINGModel.cs deleted file mode 100644 index 60a4358..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/INJECTION_MOLDINGModel.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class INJECTION_MOLDINGModel - { - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/InjectionBadReasonModel.cs b/喷涂上线/Code/MESClassLibrary/Model/InjectionBadReasonModel.cs deleted file mode 100644 index 251d91f..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/InjectionBadReasonModel.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class InjectionBadReasonModel - { - public string PlanID { get; set; } - public string BadReason { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/InjectionBoxModel.cs b/喷涂上线/Code/MESClassLibrary/Model/InjectionBoxModel.cs deleted file mode 100644 index e01ce86..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/InjectionBoxModel.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class InjectionBoxModel - { - public string ID { get; set; } - - public string BoxNo { get; set; } - - public int BoxCount { get; set; } - - public int IsFlag { get; set; } - - public int BoxType { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/InjectionDownReason.cs b/喷涂上线/Code/MESClassLibrary/Model/InjectionDownReason.cs deleted file mode 100644 index 6932cfe..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/InjectionDownReason.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class InjectionDownReason - { - public string ID { get; set; } - public string Reason { get; set; } - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/InjectionDownRecordModel.cs b/喷涂上线/Code/MESClassLibrary/Model/InjectionDownRecordModel.cs deleted file mode 100644 index c513af5..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/InjectionDownRecordModel.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class InjectionDownRecordModel - { - public string ID { get; set; } - public string StationID { get; set; } - public string DownType { get; set; } - public string DownReason { get; set; } - public string Des { get; set; } - public DateTime StartTime { get; set; } - public DateTime EndTime { get; set; } - public int DownTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/InjectionPlanModel.cs b/喷涂上线/Code/MESClassLibrary/Model/InjectionPlanModel.cs deleted file mode 100644 index 8b4d521..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/InjectionPlanModel.cs +++ /dev/null @@ -1,18 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class InjectionPlanModel : tb_InjectionPlan - { - public string StationNo { get; set; } - - public string ProductName { get; set; } - - public int IsFinishi { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/InjectionQtyModel.cs b/喷涂上线/Code/MESClassLibrary/Model/InjectionQtyModel.cs deleted file mode 100644 index c6c18a6..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/InjectionQtyModel.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class InjectionQtyModel - { - public string ID { get; set; } - - public string PlanID { get; set; } - - public string StationID { get; set; } - - public string ProductDate { get; set; } - - public string ClassName { get; set; } - - public string StockNo { get; set; } - - public string PartNo { get; set; } - - public int ProductCount { get; set; } - - public int BadCount { get; set; } - - public int MarketCount { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/InjectionRecordDownReasonModel.cs b/喷涂上线/Code/MESClassLibrary/Model/InjectionRecordDownReasonModel.cs deleted file mode 100644 index ed53775..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/InjectionRecordDownReasonModel.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class InjectionRecordDownReasonModel - { - public string PlanID { get; set; } - public long DownTime { get; set; } - public string DownTypeName { get; set; } - public string Reason { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/Injection_DownRecordModel.cs b/喷涂上线/Code/MESClassLibrary/Model/Injection_DownRecordModel.cs deleted file mode 100644 index 5b1c326..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/Injection_DownRecordModel.cs +++ /dev/null @@ -1,18 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class Injection_DownRecordModel : tb_Injection_DownRecord - { - public string StationNo { get; set; } - - public string DownReasonName { get; set; } - - public string DownTypeName { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/Injection_RecordModel.cs b/喷涂上线/Code/MESClassLibrary/Model/Injection_RecordModel.cs deleted file mode 100644 index 88711d9..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/Injection_RecordModel.cs +++ /dev/null @@ -1,14 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class Injection_RecordModel: tb_Injection_Record - { - public string StationNo { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/InspectResultGroup.cs b/喷涂上线/Code/MESClassLibrary/Model/InspectResultGroup.cs deleted file mode 100644 index 989fb08..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/InspectResultGroup.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class InspectResultGroup - { - public string barcode { get; set; } - public string side { get; set; } - public string position { get; set; } - public string stationNo { get; set; } - public string workClass { get; set; } - public string productInfo { get; set; } - public string productOption { get; set; } - public string inspectResult_1 { get; set; } - public string damnPosition_1 { get; set; } - public string reason_1 { get; set; } - public string createTime_1 { get; set; } - - public string inspectResult_2 { get; set; } - public string damnPosition_2 { get; set; } - public string reason_2 { get; set; } - public string createTime_2 { get; set; } - - public string inspectResult_3 { get; set; } - public string damnPosition_3 { get; set; } - public string reason_3 { get; set; } - public string createTime_3 { get; set; } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/InspectResultModel.cs b/喷涂上线/Code/MESClassLibrary/Model/InspectResultModel.cs deleted file mode 100644 index 68bc3f1..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/InspectResultModel.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class InspectResultModel - { - public string ID { get; set; } - - public string barcode { get; set; } - public string side { get; set; } - - public string stationNo { get; set; } - - public string workClass { get; set; } - public string inspectResult { get; set; } - - public string productInfo { get; set; } - public string productOption { get; set; } - public string InspectTimes { get; set; } - - public DateTime createTime { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/JsonDataModel.cs b/喷涂上线/Code/MESClassLibrary/Model/JsonDataModel.cs deleted file mode 100644 index 0a62b67..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/JsonDataModel.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class JsonDataModel where T : class, new() - { - public string total; - public List rows; - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/KeepItemsModel.cs b/喷涂上线/Code/MESClassLibrary/Model/KeepItemsModel.cs deleted file mode 100644 index 37e97be..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/KeepItemsModel.cs +++ /dev/null @@ -1,13 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class KeepItemsModel:tb_KeepItems - { - public string KeepLevel { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/KeepItemsVersionModel.cs b/喷涂上线/Code/MESClassLibrary/Model/KeepItemsVersionModel.cs deleted file mode 100644 index 7002933..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/KeepItemsVersionModel.cs +++ /dev/null @@ -1,14 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class KeepItemsVersionModel : tb_KeepItemsVersion - { - public string VersionName { get; set; } - public string KeepItems { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/KeepPlanModel.cs b/喷涂上线/Code/MESClassLibrary/Model/KeepPlanModel.cs deleted file mode 100644 index fdf91d3..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/KeepPlanModel.cs +++ /dev/null @@ -1,14 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class KeepPlanModel: tb_KeepPlan - { - public string KeepLevelName { get; set; } - public string DeviceName { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/KeepRecordModel.cs b/喷涂上线/Code/MESClassLibrary/Model/KeepRecordModel.cs deleted file mode 100644 index 026774c..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/KeepRecordModel.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class KeepRecordModel - { - public string KeepLevel { get; set; } - public string DeviceName { get; set; } - public string KeepItems { get; set; } - public string result { get; set; } - public string Version { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/KeepVersionModel.cs b/喷涂上线/Code/MESClassLibrary/Model/KeepVersionModel.cs deleted file mode 100644 index da86da6..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/KeepVersionModel.cs +++ /dev/null @@ -1,16 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class KeepVersionModel : tb_KeepVersion - { - public string LineID { get; set; } - public string LineName { get; set; } - public string DeviceName { get; set; } - public string IsUseingName { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/LineModel.cs b/喷涂上线/Code/MESClassLibrary/Model/LineModel.cs deleted file mode 100644 index 6fe0544..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/LineModel.cs +++ /dev/null @@ -1,14 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class LineModel : tb_Line - { - public string PlaceName { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/LogErrModel.cs b/喷涂上线/Code/MESClassLibrary/Model/LogErrModel.cs deleted file mode 100644 index 65f70ef..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/LogErrModel.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class LogErrModel - { - //主键 - public string ID { get; set; } - //错误内容 - public string ErrContent { get; set; } - //错误时间 - public DateTime ErrTime { get; set; } - //错误来源 - public string ErrSource { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/LogSysModel.cs b/喷涂上线/Code/MESClassLibrary/Model/LogSysModel.cs deleted file mode 100644 index 58b567c..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/LogSysModel.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class LogSysModel - { //主键 - public string ID { get; set; } - //内容 - public string SysContent { get; set; } - //时间 - public DateTime CreateTime { get; set; } - //来源 - public string SysSource { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/ModelProductModel.cs b/喷涂上线/Code/MESClassLibrary/Model/ModelProductModel.cs deleted file mode 100644 index c102fa4..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/ModelProductModel.cs +++ /dev/null @@ -1,16 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class ModelProductModel : tb_Model_Product - { - public string ModelName { get; set; } - public string ModelNo { get; set; } - public string ProductName { get; set; } - public string PartNo { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/OperationModel.cs b/喷涂上线/Code/MESClassLibrary/Model/OperationModel.cs deleted file mode 100644 index 17f5f0a..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/OperationModel.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class OperationModel - { - /// - /// ID - /// - public string OperatorID { get; set; } - - /// - /// 工位ID - /// - public string StationID { get; set; } - - - /// - /// 操作员编号 - /// - public string OperatorNo { get; set; } - - /// - /// 操作员姓名 - /// - public string OperatorName { get; set; } - - /// - /// 操作员密码 - /// - public string OperatorPsw { get; set; } - - /// - /// 描述 - /// - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/OperatorModel.cs b/喷涂上线/Code/MESClassLibrary/Model/OperatorModel.cs deleted file mode 100644 index d9653e2..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/OperatorModel.cs +++ /dev/null @@ -1,14 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class OperatorModel : tb_Operator - { - public string StationNo { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/PLCBreakModel.cs b/喷涂上线/Code/MESClassLibrary/Model/PLCBreakModel.cs deleted file mode 100644 index 4817c52..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/PLCBreakModel.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class PLCBreakModel - { - public int ID { get; set; } - - public string Address { get; set; } - - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/PLCMouldModel.cs b/喷涂上线/Code/MESClassLibrary/Model/PLCMouldModel.cs deleted file mode 100644 index 8234ac5..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/PLCMouldModel.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class PLCMouldModel - { - public int ID { get; set; } - - public string Address { get; set; } - - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/PaintBarCodeModel.cs b/喷涂上线/Code/MESClassLibrary/Model/PaintBarCodeModel.cs deleted file mode 100644 index 8f84bf7..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/PaintBarCodeModel.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class PaintBarCodeModel - { - public string ID { get; set; } - public string StationID { get; set; } - public string ProductID { get; set; } - public string OneBarCode { get; set; } - public string BarCode { get; set; } - public string StockNo { get; set; } - public string ColorDes { get; set; } - public string Side { get; set; } - public DateTime CreateTime { get; set; } - public DateTime PrintTime { get; set; } - - public string workClass { get; set; } - - public string ProductDate { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/Paint_BucketModel.cs b/喷涂上线/Code/MESClassLibrary/Model/Paint_BucketModel.cs deleted file mode 100644 index 132fb36..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/Paint_BucketModel.cs +++ /dev/null @@ -1,17 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class Paint_BucketModel : tb_Paint_Bucket - { - public string PaintCode { get; set; } - public string PaintName { get; set; } - public string BucketCode { get; set; } - public string BucketName { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/PartMstrModel.cs b/喷涂上线/Code/MESClassLibrary/Model/PartMstrModel.cs deleted file mode 100644 index 16daf5b..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/PartMstrModel.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class PartMstrModel - { - public string GUID { set; get; } - - /// - /// 零件号 - /// - public string PartCode { set; get; } - public string Desc1 { set; get; } - public string Desc2 { set; get; } - public string Um { set; get; } - - /// - /// 产品类 1101:原材料;2000:塑件 - /// - public string ProdLine { set; get; } - - public string AddDate { set; get; } - - /// - /// 物料类型 - /// - public string PartType { set; get; } - - /// - /// 物料状态 AC:Active;New:New Item;PH:虚零件;SP:停用零件;HD:Hold 停用 - /// - public string Status { set; get; } - - /// - /// Q等级 - /// - public string Qgrade { set; get; } - - /// - /// 存货代码 - /// - public string InventoryCode { set; get; } - - public string UID { set; get; } - - public string Remark { set; get; } - - public string TaskID { set; get; } - - public string CommandType { get; set; } - - public string Domain { set; get; } - - public string Site { set; get; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/PartRecordModel.cs b/喷涂上线/Code/MESClassLibrary/Model/PartRecordModel.cs deleted file mode 100644 index 91ff5b4..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/PartRecordModel.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class PartRecordModel - { - public string ID { get; set; } - - public string PartNo { get; set; } - public string TaskID { get; set; } - public string CommandType { get; set; } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/PieDataModel.cs b/喷涂上线/Code/MESClassLibrary/Model/PieDataModel.cs deleted file mode 100644 index 2c4a695..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/PieDataModel.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class PieDataModel - { - public int value { get; set; } - public string name { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/PlaceModel.cs b/喷涂上线/Code/MESClassLibrary/Model/PlaceModel.cs deleted file mode 100644 index 5596ccb..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/PlaceModel.cs +++ /dev/null @@ -1,14 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class PlaceModel : tb_Place - { - public string FactoryName { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/PlasticModel.cs b/喷涂上线/Code/MESClassLibrary/Model/PlasticModel.cs deleted file mode 100644 index a375028..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/PlasticModel.cs +++ /dev/null @@ -1,16 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class PlasticModel : tb_Plastic - { - public string PartNo { get; set; } - - public string StationNo { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/ProductColorModel.cs b/喷涂上线/Code/MESClassLibrary/Model/ProductColorModel.cs deleted file mode 100644 index b159516..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/ProductColorModel.cs +++ /dev/null @@ -1,16 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class ProductColorModel : tb_Product_Color - { - public string ProductName { get; set; } - public string PartNo { get; set; } - public string ColorNo { get; set; } - public string ColorName { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/ProductInjectionModel.cs b/喷涂上线/Code/MESClassLibrary/Model/ProductInjectionModel.cs deleted file mode 100644 index fb7f745..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/ProductInjectionModel.cs +++ /dev/null @@ -1,16 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class ProductInjectionModel: tb_Product_Injection - { - public string StationNo { get; set; } - public decimal RealCycle { get; set; } - public double JK_Weight { get; set; } - public double Waste_Weight { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/ProductModel.cs b/喷涂上线/Code/MESClassLibrary/Model/ProductModel.cs deleted file mode 100644 index 5514814..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/ProductModel.cs +++ /dev/null @@ -1,15 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class ProductModel : tb_Product - { - public string ProductTypeName { get; set; } - public string CarTypeName { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/ProductOfInjectionModel.cs b/喷涂上线/Code/MESClassLibrary/Model/ProductOfInjectionModel.cs deleted file mode 100644 index 4828006..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/ProductOfInjectionModel.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class ProductOfInjectionModel - { - public string ID { get; set; } - - public string PlanID { get; set; } - public string StationID { get; set; } - - public string ProductDate { get; set; } - public string ClassName { get; set; } - public string StockNo { get; set; } - - public string PartNo { get; set; } - - public int ProductCount { get; set; } - public int BadCount { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/ProductTypeModel.cs b/喷涂上线/Code/MESClassLibrary/Model/ProductTypeModel.cs deleted file mode 100644 index 1f6c68f..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/ProductTypeModel.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - //产品类型 - public class ProductTypeModel - { - //产品类型id - public string ProductTypeID { get; set; } - //产品类型编号 - public string ProductTypeNo { get; set; } - //产品类型名称 - public string ProductTypeName { get; set; } - //产品类型描述 - public string Des { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/QualifiedDayModel.cs b/喷涂上线/Code/MESClassLibrary/Model/QualifiedDayModel.cs deleted file mode 100644 index b55869d..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/QualifiedDayModel.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class QualifiedDayModel - { - public List categories { get; set; } - public List QualifiedData { get; set; } - public List TargetData { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/QualifiedMonthModel.cs b/喷涂上线/Code/MESClassLibrary/Model/QualifiedMonthModel.cs deleted file mode 100644 index 953d7ac..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/QualifiedMonthModel.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class QualifiedMonthModel - { - public List categories { get; set; } - public List QualifiedData { get; set; } - public List TargetData { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/RecordModel.cs b/喷涂上线/Code/MESClassLibrary/Model/RecordModel.cs deleted file mode 100644 index 9da13de..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/RecordModel.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class RecordModel - { - public string ID { get; set; } - - public string PartNo1 { get; set; } - - public string PartNo2 { get; set; } - - public string BoxNo { get; set; } - - public DateTime CreateTime1 { get; set; } - - public DateTime CreateTime2 { get; set; } - - public int Flag { get; set; } - - public int Type { get; set; } - - public string OrderNo { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/SelectModel.cs b/喷涂上线/Code/MESClassLibrary/Model/SelectModel.cs deleted file mode 100644 index 7138371..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/SelectModel.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class SelectModel - { - public string valueField { get; set; } - public string textField { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/StationModel.cs b/喷涂上线/Code/MESClassLibrary/Model/StationModel.cs deleted file mode 100644 index e025e9a..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/StationModel.cs +++ /dev/null @@ -1,14 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class StationModel : tb_Station - { - public string LineName { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/StockInModel.cs b/喷涂上线/Code/MESClassLibrary/Model/StockInModel.cs deleted file mode 100644 index e02f57b..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/StockInModel.cs +++ /dev/null @@ -1,15 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class StockInModel : tb_StockIn - { - public string workClass { get; set; } - public string productInfo { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/Sys_Buttons.cs b/喷涂上线/Code/MESClassLibrary/Model/Sys_Buttons.cs deleted file mode 100644 index c086a14..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/Sys_Buttons.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class Sys_Buttons - { - /// - /// - /// - public Guid BtnID { get; set; } - - /// - /// - /// - public string BtnName { get; set; } - - /// - /// - /// - public string ItemPic { get; set; } - - /// - /// - /// - public Guid PowerID { get; set; } - - /// - /// - /// - public Guid MenuID { get; set; } - - /// - /// - /// - public string MenuName { get; set; } - - /// - /// - /// - public string IsEnabled { get; set; } - - /// - /// - /// - public string BtnCode { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/Sys_NavMenuInfo.cs b/喷涂上线/Code/MESClassLibrary/Model/Sys_NavMenuInfo.cs deleted file mode 100644 index 2f1e584..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/Sys_NavMenuInfo.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class Sys_NavMenuInfo - { - /// - /// 子菜单 - /// - private List _sys_navMenu; - public List SubNavMenuList - { - get - { - if (_sys_navMenu == null) - _sys_navMenu = new List(); - return _sys_navMenu; - } - set - { - _sys_navMenu = value; - } - } - - /// - /// 菜单编号 - /// - public Guid MenuID { get; set; } - - /// - /// 菜单名称 - /// - public string MenuName { get; set; } - - /// - /// 连接地址 - /// - public string URLStr { get; set; } - - /// - /// 项目图标 - /// - public string ItemPic { get; set; } - - /// - /// 权限点名称 - /// - public Guid PowerID { get; set; } - - /// - /// 父结点编号 - /// - public Guid ParentMenuID { get; set; } - - /// - /// - /// - public string IsEnabled { get; set; } - - /// - /// 排序 - /// - public string OrderNum { get; set; } - - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/TESBomModel.cs b/喷涂上线/Code/MESClassLibrary/Model/TESBomModel.cs deleted file mode 100644 index 0b07626..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/TESBomModel.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class TESBomModel - { - public string ParentPart { get; set; } - - public string ComponentPart { get; set; } - - public string Reference { get; set; } - - public string StartEffective { get; set; } - - public string QuantityPer { get; set; } - - public string StructureType { get; set; } - - public string EndEffective { get; set; } - - public string Remarks { get; set; } - - public string Scrap { get; set; } - - public string LeadTimeOffset { get; set; } - - public string Operation { get; set; } - - public string SequenceNumber { get; set; } - - public string FporecastPercent { get; set; } - - public string OptionGroup { get; set; } - - public string Process { get; set; } - - public string GUID { get; set; } - - public string UID { get; set; } - - public string CreateUser { get; set; } - - public string CreateTime { get; set; } - - public string Remark { get; set; } - - public string TaskID { get; set; } - - public string CommandType { get; set; } - - public string DataID { get; set; } - - public string Domain { get; set; } - - public string Site { get; set; } - - public int Flag { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/TESPartDetModel.cs b/喷涂上线/Code/MESClassLibrary/Model/TESPartDetModel.cs deleted file mode 100644 index 05cd1f3..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/TESPartDetModel.cs +++ /dev/null @@ -1,143 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class TESPartDetModel - { - public string GUID { get; set; } - - public string PartCode { get; set; } - - public string Site { get; set; } - - public string AbcClass { get; set; } - - public string LotControl { get; set; } - - public string Location { get; set; } - - public string LocationType { get; set; } - - public string AutoMaticLotNumbers { get; set; } - - public int AverageInterval { get; set; } - - public int CycleCountInterval { get; set; } - - public int ShelfLife { get; set; } - - public string KeyPart { get; set; } - - public string PoReceiptStatus { get; set; } - - public string RctPoActive { get; set; } - - public string WoReceiptStatus { get; set; } - - public string RctWoActive { get; set; } - - public string MemoOrderType { get; set; } - - public string MasterSchedule { get; set; } - - public string PlanOrders { get; set; } - - public int TimeFence { get; set; } - - public string OrderPolicy { get; set; } - - public decimal OrderQuantity { get; set; } - - public int OrderPeriod { get; set; } - - public decimal SafetyStock { get; set; } - - public decimal SafetyTime { get; set; } - - public decimal ReorderPoint { get; set; } - - public string PlanningRev { get; set; } - - public string IssuePolicy { get; set; } - - public string BuyerPlanner { get; set; } - - public string Supplier { get; set; } - - public string PoSite { get; set; } - - public string PurMfg { get; set; } - - public string ConfigurationType { get; set; } - - public string InspectionLocation { get; set; } - - public string InspectionRequired { get; set; } - - public string InspectionLeadTime { get; set; } - - public int CumulativeLeadTime { get; set; } - - public int ManufacturingLedaTime { get; set; } - - public int PurchaseLeadTime { get; set; } - - public string AtpEnforcementLevel { get; set; } - - public string FamilyATP { get; set; } - - public int AtpHorizon { get; set; } - - public string RunSeq1 { get; set; } - - public string RunSeq2 { get; set; } - - public string Phantom { get; set; } - - public decimal MinimumOrder { get; set; } - - public decimal MaximumOrder { get; set; } - - public decimal OrderMultiple { get; set; } - - public string OperationBasedYield { get; set; } - - public decimal YieldPercent { get; set; } - - public string RunTime { get; set; } - - public decimal SetupTime { get; set; } - - public string EmtType { get; set; } - - public string AutomaticEmtProcessing { get; set; } - - public string NetWorkCode { get; set; } - - public string RoutingCode { get; set; } - - public string BomFormulaCode { get; set; } - - public string ReplenishmentMethod { get; set; } - - public int UID { get; set; } - - public string CreateUser { get; set; } - - public DateTime CreateTime { get; set; } - - public string Remark { get; set; } - - public string TaskID { get; set; } - - public string CommandType { get; set; } - - public string DataID { get; set; } - - public string Domain { get; set; } - - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/TreeModel.cs b/喷涂上线/Code/MESClassLibrary/Model/TreeModel.cs deleted file mode 100644 index 6139a13..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/TreeModel.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class TreeModel - { - public string id { get; set; } - public string text { get; set; } - public string state { get; set; } - public List children { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/UserModel.cs b/喷涂上线/Code/MESClassLibrary/Model/UserModel.cs deleted file mode 100644 index ab2b52a..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/UserModel.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary.Model -{ - public class UserModel : BasicModel - { - public string Username { get; set; } - public string Password { get; set; } - public string TrueName { get; set; } - public string FaceURL { get; set; } - public string RoleID { get; set; } - public string CompanyPost { get; set; } - public string ContactWay { get; set; } - public string RoleName { get; set; } - public string RoleJurisdiction { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/WMS_InjectionModel.cs b/喷涂上线/Code/MESClassLibrary/Model/WMS_InjectionModel.cs deleted file mode 100644 index a29c7a1..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/WMS_InjectionModel.cs +++ /dev/null @@ -1,70 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class WMS_InjectionModel - { - /// - /// 箱码 - /// - public string BarCode { get; set; } - - /// - /// 物料号 - /// - public string PartCode { get; set; } - - /// - /// 项目ID - /// - public string ProjectId { get; set; } - - /// - /// 批次 - /// - public string Batch { get; set; } - - /// - /// 来源库位 - /// - public string FromLocCode { get; set; } - - /// - /// 目标库位 - /// - public string ToLocCode { get; set; } - - /// - /// 总数量 - /// - public decimal Qty { get; set; } - - /// - /// 合格数 - /// - public decimal GoodQty { get; set; } - - /// - /// 生产线ID - /// - public string LineId { get; set; } - - /// - /// 生产日期 - /// - public DateTime? ProduceDate { get; set; } - - /// - /// 状态 合格=2,其他报废=-2 - /// - public decimal State { get; set; } - - /// - /// 备注 - /// - public string Remark { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/WeightRecordModel.cs b/喷涂上线/Code/MESClassLibrary/Model/WeightRecordModel.cs deleted file mode 100644 index ae6dc01..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/WeightRecordModel.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class WeightRecordModel - { - public string GID { get; set; } - public int ID { get; set; } - public string DeviceNo { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/ZPPlanModel.cs b/喷涂上线/Code/MESClassLibrary/Model/ZPPlanModel.cs deleted file mode 100644 index 873bf0c..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/ZPPlanModel.cs +++ /dev/null @@ -1,20 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class ZPPlanModel : tb_ZPPlan - { - /// - /// 工位名称 - /// - public string StationNo { get; set; } - /// - /// 存货名称 - /// - public string ProductName { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/ZPRecordModel.cs b/喷涂上线/Code/MESClassLibrary/Model/ZPRecordModel.cs deleted file mode 100644 index 6f47d73..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/ZPRecordModel.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class ZPRecordModel - { - public string ID { get; set; } - - public string OneBarCode { get; set; } - - public int IsOK { get; set; } - - public int PrintType { get; set; } - - public DateTime PrintTime { get; set; } - - public string planID { get; set; } - - public string BarCode { get; set; } - - public string OneBarCode1 { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/ZPTagValueModel.cs b/喷涂上线/Code/MESClassLibrary/Model/ZPTagValueModel.cs deleted file mode 100644 index 5735085..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/ZPTagValueModel.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class ZPTagValueModel - { - public string ID { get; set; } - - public string TagName { get; set; } - - public string TagValue { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Model/tb_Plan_247Model.cs b/喷涂上线/Code/MESClassLibrary/Model/tb_Plan_247Model.cs deleted file mode 100644 index 71be151..0000000 --- a/喷涂上线/Code/MESClassLibrary/Model/tb_Plan_247Model.cs +++ /dev/null @@ -1,13 +0,0 @@ -using MESClassLibrary.EFModel; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace MESClassLibrary.Model -{ - public class tb_Plan_247Model: tb_Plan_247 - { - public string PartName { get; set; } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/Properties/AssemblyInfo.cs b/喷涂上线/Code/MESClassLibrary/Properties/AssemblyInfo.cs deleted file mode 100644 index 9025a30..0000000 --- a/喷涂上线/Code/MESClassLibrary/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// 有关程序集的一般信息由以下 -// 控制。更改这些特性值可修改 -// 与程序集关联的信息。 -[assembly: AssemblyTitle("MESClassLibrary")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("MESClassLibrary")] -[assembly: AssemblyCopyright("Copyright © 2019")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// 将 ComVisible 设置为 false 会使此程序集中的类型 -//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 -//请将此类型的 ComVisible 特性设置为 true。 -[assembly: ComVisible(false)] - -// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID -[assembly: Guid("867989d8-6837-41dc-9bf1-4658f5d6cfef")] - -// 程序集的版本信息由下列四个值组成: -// -// 主版本 -// 次版本 -// 生成号 -// 修订号 -// -//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值 -//通过使用 "*",如下所示: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/喷涂上线/Code/MESClassLibrary/Tool.cs b/喷涂上线/Code/MESClassLibrary/Tool.cs deleted file mode 100644 index eb720d1..0000000 --- a/喷涂上线/Code/MESClassLibrary/Tool.cs +++ /dev/null @@ -1,269 +0,0 @@ -using MESClassLibrary.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.IO; -using System.Linq; -using System.Reflection; -using System.Security.Cryptography; -using System.Text; -using System.Threading.Tasks; - -namespace MESClassLibrary -{ - public class Tool - { - public static string MD5encryption(string password) - { - try - { - if (!string.IsNullOrWhiteSpace(password)) - { - byte[] result = Encoding.Default.GetBytes(password); //tbPass为输入密码的文本框 - MD5 md5 = new MD5CryptoServiceProvider(); - byte[] output = md5.ComputeHash(result); - return BitConverter.ToString(output).Replace("-", ""); - } - else - { - return null; - } - - } - catch (Exception) - { - return null; - } - - - } - - /// - /// 算法偏移量 - /// - const string m_IV = "12345678"; - - /// - /// 功能描述:根据输入的密钥生成8位密钥 - /// 作  者: 爱给模板网 2gei.cn - /// 创建日期:2015-07-20 17:25:26 - /// - /// strkey - /// 8位密钥 - private static string GetKey(string strkey) - { - if (string.IsNullOrEmpty(strkey)) - { - strkey = "InfoColl"; - } - if (strkey.Length % 8 == 0) - { - return strkey; - } - else - { - return GetKey(strkey + "0"); - } - } - - /// - /// 功能描述:加密字符串 - /// 作  者: 爱给模板网 2gei.cn - /// 创建日期:2015-07-20 17:18:31 - /// 任务编号: - /// - /// 原字符串 - /// 密钥 - /// 加密后的字符串 - public static string Encrypt(string strSourceString, string strKey) - { - strKey = GetKey(strKey); - byte[] btKey = Encoding.UTF8.GetBytes(strKey); - - byte[] btIV = Encoding.UTF8.GetBytes(m_IV); - - DESCryptoServiceProvider des = new DESCryptoServiceProvider(); - - using (MemoryStream ms = new MemoryStream()) - { - try - { - byte[] inData = Encoding.UTF8.GetBytes(strSourceString); - using (CryptoStream cs = new CryptoStream(ms, des.CreateEncryptor(btKey, btIV), CryptoStreamMode.Write)) - { - cs.Write(inData, 0, inData.Length); - - cs.FlushFinalBlock(); - } - - return Convert.ToBase64String(ms.ToArray()); - } - catch - { - return strSourceString; - } - } - } - - /// - /// 功能描述:解密字符串 - /// 作  者: 爱给模板网 2gei.cn - /// 创建日期:2015-07-20 17:18:49 - /// 任务编号: - /// - /// 原字符串 - /// 密钥 - /// 解密后的字符串 - public static string Decrypt(string strEncryptedString, string strKey) - { - strKey = GetKey(strKey); - byte[] btKey = Encoding.UTF8.GetBytes(strKey); - - byte[] btIV = Encoding.UTF8.GetBytes(m_IV); - - DESCryptoServiceProvider des = new DESCryptoServiceProvider(); - - using (MemoryStream ms = new MemoryStream()) - { - try - { - byte[] inData = Convert.FromBase64String(strEncryptedString); - using (CryptoStream cs = new CryptoStream(ms, des.CreateDecryptor(btKey, btIV), CryptoStreamMode.Write)) - { - cs.Write(inData, 0, inData.Length); - - cs.FlushFinalBlock(); - } - - return Encoding.UTF8.GetString(ms.ToArray()); - } - catch - { - return strEncryptedString; - } - } - } - - /// - /// DataTable转List - /// lx 2017-06-27 - /// - /// - /// - /// - public static IList ConvertTo(DataTable table) - { - if (table == null) - { - return null; - } - - List rows = new List(); - - foreach (DataRow row in table.Rows) - { - rows.Add(row); - } - - return ConvertTo(rows); - } - - public static IList ConvertTo(IList rows) - { - IList list = null; - - if (rows != null) - { - list = new List(); - - foreach (DataRow row in rows) - { - T item = CreateItem(row); - list.Add(item); - } - } - - return list; - } - - public static T CreateItem(DataRow row) - { - T obj = default(T); - if (row != null) - { - obj = Activator.CreateInstance(); - - foreach (DataColumn column in row.Table.Columns) - { - PropertyInfo prop = obj.GetType().GetProperty(column.ColumnName); - try - { - object value = row[column.ColumnName]; - prop.SetValue(obj, value, null); - } - catch - { //You can log something here - //throw; - } - } - } - - return obj; - } - public static D Mapper(S s) - { - D d = Activator.CreateInstance(); - try - { - var Types = s.GetType();//获得类型 - var Typed = typeof(D); - foreach (PropertyInfo sp in Types.GetProperties())//获得类型的属性字段 - { - foreach (PropertyInfo dp in Typed.GetProperties()) - { - if (dp.Name == sp.Name)//判断属性名是否相同 - { - dp.SetValue(d, sp.GetValue(s, null), null);//获得s对象属性的值复制给d对象的属性 - } - } - } - } - catch (Exception ex) - { - throw ex; - } - return d; - } - - - - } - - /// - /// 序列化扩展帮助类 - /// - public static class SerializerHelper - { - /// - /// List 类型序列化扩展 - /// - /// - /// - /// - public static string ToSerializer(this List ls) - { - return JSONTools.ScriptSerialize(ls); - } - - /// - /// JsonDataModel 类型序列化扩展 - /// - /// - /// - /// - public static string ToSerializer(this JsonDataModel v) where T : class, new() - { - return JSONTools.ScriptSerialize(v); - } - } -} diff --git a/喷涂上线/Code/MESClassLibrary/bin/Debug/EntityFramework.dll b/喷涂上线/Code/MESClassLibrary/bin/Debug/EntityFramework.dll deleted file mode 100644 index 2618485..0000000 Binary files a/喷涂上线/Code/MESClassLibrary/bin/Debug/EntityFramework.dll and /dev/null differ diff --git a/喷涂上线/Code/MESClassLibrary/bin/Debug/EntityFramework.xml b/喷涂上线/Code/MESClassLibrary/bin/Debug/EntityFramework.xml deleted file mode 100644 index aa84a9e..0000000 --- a/喷涂上线/Code/MESClassLibrary/bin/Debug/EntityFramework.xml +++ /dev/null @@ -1,17968 +0,0 @@ - - - - EntityFramework - - - - - The base for all all Entity Data Model (EDM) types that represent a type from the EDM type system. - - - - - Represents an item in an Entity Data Model (EDM) . - - - - - The base for all all Entity Data Model (EDM) item types that with a Name property that represents a qualified (can be dotted) name. - - - - - The base for all all Entity Data Model (EDM) item types that with a property. - - - - - The base for all all Entity Data Model (EDM) types that support annotation using . - - - - - EdmDataModelItem is the base for all types in the Entity Data Model (EDM) metadata construction and modification API. - - - - - DataModelItem is the base for all types in the EDM metadata reflection, construction and modification API. - - - - - Gets an value indicating which Entity Data Model (EDM) concept is represented by this item. - - - - - IAnnotatedDataModelItem is implemented by model-specific base types for all types with an property. - - - - - Gets or sets the currently assigned annotations. - - - - - Gets or sets the currently assigned annotations. - - - - - Returns all EdmItem children directly contained by this EdmItem. - - - - - INamedDataModelItem is implemented by model-specific base types for all types with a property. - - - - - Gets or sets the currently assigned name. - - - - - Gets or sets the currently assigned name. - - - - - Gets a value indicating whether this type is abstract. - - - - - Gets the optional base type of this type. - - - - - EdmStructuralMember is the base for all types that represent members of structural items in the Entity Data Model (EDM) metadata construction and modification API. - - - - - Represents information about a database connection. - - - - - Creates a new instance of DbConnectionInfo representing a connection that is specified in the application configuration file. - - The name of the connection string in the application configuration. - - - - Creates a new instance of DbConnectionInfo based on a connection string. - - The connection string to use for the connection. - The name of the provider to use for the connection. Use 'System.Data.SqlClient' for SQL Server. - - - - Gets the connection information represented by this instance. - - Configuration to use if connection comes from the configuration file. - - - - Instances of this class are used to create DbConnection objects for - SQL Server LocalDb based on a given database name or connection string. - - - An instance of this class can be set on the class or in the - app.config/web.config for the application to cause all DbContexts created with no - connection information or just a database name to use SQL Server LocalDb by default. - This class is immutable since multiple threads may access instances simultaneously - when creating connections. - - - - - Implementations of this interface are used to create DbConnection objects for - a type of database server based on a given database name. - An Instance is set on the class to - cause all DbContexts created with no connection information or just a database - name or connection string to use a certain type of database server by default. - Two implementations of this interface are provided: - is used to create connections to Microsoft SQL Server, including EXPRESS editions. - is used to create connections to Microsoft SQL - Server Compact Editions. - Other implementations for other database servers can be added as needed. - Note that implementations should be thread safe or immutable since they may - be accessed by multiple threads at the same time. - - - - - Creates a connection based on the given database name or connection string. - - The database name or connection string. - An initialized DbConnection. - - - - Creates a new instance of the connection factory for the given version of LocalDb. - For SQL Server 2012 LocalDb use "v11.0". - - The LocalDb version to use. - - - - Creates a new instance of the connection factory for the given version of LocalDb. - For SQL Server 2012 LocalDb use "v11.0". - - - The LocalDb version to use. - - The connection string to use for options to the database other than the 'Initial Catalog', - 'Data Source', and 'AttachDbFilename'. - The 'Initial Catalog' and 'AttachDbFilename' will be prepended to this string based on the - database name when CreateConnection is called. - The 'Data Source' will be set based on the LocalDbVersion argument. - - - - - Creates a connection for SQL Server LocalDb based on the given database name or connection string. - If the given string contains an '=' character then it is treated as a full connection string, - otherwise it is treated as a database name only. - - The database name or connection string. - An initialized DbConnection. - - - - The connection string to use for options to the database other than the 'Initial Catalog', - 'Data Source', and 'AttachDbFilename'. - The 'Initial Catalog' and 'AttachDbFilename' will be prepended to this string based on the - database name when CreateConnection is called. - The 'Data Source' will be set based on the LocalDbVersion argument. - The default is 'Integrated Security=True; MultipleActiveResultSets=True;'. - - - - - Encapsulates a cloned and store . Note that these - objects are disposable and should be used in a using block to ensure both the cloned context and the - cloned connection are disposed. - - - - - For mocking. - - - - - Creates a clone of the given . The underlying of - the context is also cloned and the given connection string is used for the connection string of - the cloned connection. - - - - - Finds the assemblies that were used for loading o-space types in the source context - and loads those assemblies in the cloned context. - - - - - Disposes both the underlying ObjectContext and its store connection. - - - - - The cloned context. - - - - - This is always the store connection of the underlying ObjectContext. - - - - - Represents setting the database initializer for a specific context type - - - - - Represents a parameter to be passed to a method - - - - - Represents a series of parameters to pass to a method - - - - - Adds a new parameter to the collection - Used for unit testing - - - - - Represents the configuration for a series of contexts - - - - - Adds a new context to the collection - Used for unit testing - - - - - Represents the configuration for a specific context type - - - - - Represents setting the default connection factory - - - - - Represents all Entity Framework related configuration - - - - - Handles creating databases either using the core provider or the Migrations pipeline. - - - - - Creates a database using the core provider (i.e. ObjectContext.CreateDatabase) or - by using Code First Migrations to create an empty database - and the perform an automatic migration to the current model. - Migrations is used if Code First is being used and the EF provider is for SQL Server - or SQL Compact. The core is used for non-Code First models and for other providers even - when using Code First. - - - - - A DbContext instance represents a combination of the Unit Of Work and Repository patterns such that - it can be used to query from a database and group together changes that will then be written - back to the store as a unit. - DbContext is conceptually similar to ObjectContext. - - - DbContext is usually used with a derived type that contains properties for - the root entities of the model. These sets are automatically initialized when the - instance of the derived class is created. This behavior can be modified by applying the - attribute to either the entire derived context - class, or to individual properties on the class. - - The Entity Data Model backing the context can be specified in several ways. When using the Code First - approach, the properties on the derived context are used to build a model - by convention. The protected OnModelCreating method can be overridden to tweak this model. More - control over the model used for the Model First approach can be obtained by creating a - explicitly from a and passing this model to one of the DbContext constructors. - - When using the Database First or Model First approach the Entity Data Model can be created using the - Entity Designer (or manually through creation of an EDMX file) and then this model can be specified using - entity connection string or an object. - - The connection to the database (including the name of the database) can be specified in several ways. - If the parameterless DbContext constructor is called from a derived context, then the name of the derived context - is used to find a connection string in the app.config or web.config file. If no connection string is found, then - the name is passed to the DefaultConnectionFactory registered on the class. The connection - factory then uses the context name as the database name in a default connection string. (This default connection - string points to .\SQLEXPRESS on the local machine unless a different DefaultConnectionFactory is registered.) - - Instead of using the derived context name, the connection/database name can also be specified explicitly by - passing the name to one of the DbContext constructors that takes a string. The name can also be passed in - the form "name=myname", in which case the name must be found in the config file or an exception will be thrown. - - Note that the connection found in the app.config or web.config file can be a normal database connection - string (not a special Entity Framework connection string) in which case the DbContext will use Code First. - However, if the connection found in the config file is a special Entity Framework connection string, then the - DbContext will use Database/Model First and the model specified in the connection string will be used. - - An existing or explicitly created DbConnection can also be used instead of the database/connection name. - - A can be applied to a class derived from DbContext to set the - version of conventions used by the context when it creates a model. If no attribute is applied then the - latest version of conventions will be used. - - - - - Interface implemented by objects that can provide an instance. - The class implements this interface to provide access to the underlying - ObjectContext. - - - - - Gets the object context. - - The object context. - - - - Constructs a new context instance using conventions to create the name of the database to - which a connection will be made. The by-convention name is the full name (namespace + class name) - of the derived context class. - See the class remarks for how this is used to create a connection. - - - - - Constructs a new context instance using conventions to create the name of the database to - which a connection will be made, and initializes it from the given model. - The by-convention name is the full name (namespace + class name) of the derived context class. - See the class remarks for how this is used to create a connection. - - The model that will back this context. - - - - Constructs a new context instance using the given string as the name or connection string for the - database to which a connection will be made. - See the class remarks for how this is used to create a connection. - - Either the database name or a connection string. - - - - Constructs a new context instance using the given string as the name or connection string for the - database to which a connection will be made, and initializes it from the given model. - See the class remarks for how this is used to create a connection. - - Either the database name or a connection string. - The model that will back this context. - - - - Constructs a new context instance using the existing connection to connect to a database. - The connection will not be disposed when the context is disposed. - - An existing connection to use for the new context. - If set to true the connection is disposed when - the context is disposed, otherwise the caller must dispose the connection. - - - - Constructs a new context instance using the existing connection to connect to a database, - and initializes it from the given model. - The connection will not be disposed when the context is disposed. - An existing connection to use for the new context. - The model that will back this context. - If set to true the connection is disposed when - the context is disposed, otherwise the caller must dispose the connection. - - - - - Constructs a new context instance around an existing ObjectContext. - An existing ObjectContext to wrap with the new context. - If set to true the ObjectContext is disposed when - the DbContext is disposed, otherwise the caller must dispose the connection. - - - - - Initializes the internal context, discovers and initializes sets, and initializes from a model if one is provided. - - - - - Discovers DbSets and initializes them. - - - - - This method is called when the model for a derived context has been initialized, but - before the model has been locked down and used to initialize the context. The default - implementation of this method does nothing, but it can be overridden in a derived class - such that the model can be further configured before it is locked down. - - - Typically, this method is called only once when the first instance of a derived context - is created. The model for that context is then cached and is for all further instances of - the context in the app domain. This caching can be disabled by setting the ModelCaching - property on the given ModelBuidler, but note that this can seriously degrade performance. - More control over caching is provided through use of the DbModelBuilder and DbContextFactory - classes directly. - - The builder that defines the model for the context being created. - - - - Internal method used to make the call to the real OnModelCreating method. - - The model builder. - - - - Returns a DbSet instance for access to entities of the given type in the context, - the ObjectStateManager, and the underlying store. - - - See the DbSet class for more details. - - The type entity for which a set should be returned. - A set for the given entity type. - - - - Returns a non-generic DbSet instance for access to entities of the given type in the context, - the ObjectStateManager, and the underlying store. - - The type of entity for which a set should be returned. - A set for the given entity type. - - See the DbSet class for more details. - - - - - Saves all changes made in this context to the underlying database. - - The number of objects written to the underlying database. - Thrown if the context has been disposed. - - - - Validates tracked entities and returns a Collection of containing validation results. - - - Collection of validation results for invalid entities. The collection is never null and must not contain null - values or results for valid entities. - - - 1. This method calls DetectChanges() to determine states of the tracked entities unless - DbContextConfiguration.AutoDetectChangesEnabled is set to false. - 2. By default only Added on Modified entities are validated. The user is able to change this behavior - by overriding ShouldValidateEntity method. - - - - - Extension point allowing the user to override the default behavior of validating only - added and modified entities. - - DbEntityEntry instance that is supposed to be validated. - true to proceed with validation. false otherwise. - - - - Extension point allowing the user to customize validation of an entity or filter out validation results. - Called by . - - DbEntityEntry instance to be validated. - User defined dictionary containing additional info for custom validation. - It will be passed to - and will be exposed as . - This parameter is optional and can be null. - Entity validation result. Possibly null when overridden. - - - - Internal method that calls the protected ValidateEntity method. - - DbEntityEntry instance to be validated. - User defined dictionary containing additional info for custom validation. - It will be passed to - and will be exposed as . - This parameter is optional and can be null. - Entity validation result. Possibly null when ValidateEntity is overridden. - - - - Gets a object for the given entity providing access to - information about the entity and the ability to perform actions on the entity. - - The type of the entity. - The entity. - An entry for the entity. - - - - Gets a object for the given entity providing access to - information about the entity and the ability to perform actions on the entity. - - The entity. - An entry for the entity. - - - - Calls the protected Dispose method. - - - - - Disposes the context. The underlying is also disposed if it was created - is by this context or ownership was passed to this context when this context was created. - The connection to the database ( object) is also disposed if it was created - is by this context or ownership was passed to this context when this context was created. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Creates a Database instance for this context that allows for creation/deletion/existence checks - for the underlying database. - - - - - Returns the Entity Framework ObjectContext that is underlying this context. - - Thrown if the context has been disposed. - - - - Provides access to features of the context that deal with change tracking of entities. - - An object used to access features that deal with change tracking. - - - - Provides access to configuration options for the context. - - An object used to access configuration options. - - - - Provides access to the underlying InternalContext for other parts of the internal design. - - - - - A simple representation of an app.config or web.config file. - - - - - Initializes a new instance of AppConfig based on supplied configuration - - Configuration to load settings from - - - - Initializes a new instance of AppConfig based on supplied connection strings - The default configuration for database initializers and default connection factory will be used - - Connection strings to be used - - - - Initializes a new instance of AppConfig based on the for the AppDomain - - - Use AppConfig.DefaultInstance instead of this constructor - - - - - Appies any database intializers specified in the configuration - - - - - Appies any database intializers specified in the configuration - - - Value indicating if initializers should be re-applied if they have already been applied in this AppDomain - - - - - Gets the specified connection string from the configuration - - Name of the connection string to get - The connection string, or null if there is no connection string with the specified name - - - - Gets the default connection factory based on the configuration - - - - - Gets a singleton instance of configuration based on the for the AppDomain - - - - - Acts as a proxy for that for the most part just passes calls - through to the real object but uses virtual methods/properties such that uses of the object - can be mocked. - - - - - Encapsulates information read from the application config file that specifies a database initializer - and allows that initializer to be dynamically applied. - - - - - Initializes a new instance of the class. - - The key from the entry in the config file. - The value from the enrty in the config file. - - - - Uses the context type and initializer type specified in the config to create an initializer instance - and set it with the DbDbatabase.SetInitializer method. - - - - - Reads all initializers from the application config file and sets them using the Database class. - - - - - Calculates the model hash values used the EdmMetadata table from EF 4.1/4.2. - - - - - Calculates an SHA256 hash of the EDMX from the given code first model. This is the hash stored in - the database in the EdmMetadata table in EF 4.1/4.2. The hash is always calculated using a v2 schema - as was generated by EF 4.1/4.2 and with the entity included in the model. - - - - - Acts as a proxy for that for the most part just passes calls - through to the real object but uses virtual methods/properties such that uses of the object - can be mocked. - - - - - An implementation of that will use Code First Migrations - to update the database to the latest version. - - - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class. - - - - - Initializes a new instance of the MigrateDatabaseToLatestVersion class that will - use a specific connection string from the configuration file to connect to - the database to perform the migration. - - The name of the connection string to use for migration. - - - - - - - Helper class that is used to configure a column. - - - - - Creates a new column definition to store Binary data. - - Value indicating whether or not the column allows null values. - The maximum allowable length of the array data. - Value indicating whether or not all data should be padded to the maximum length. - Value indicating whether or not the maximum length supported by the database provider should be used. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - Value indicating whether or not this column should be configured as a timestamp. - The name of the column. - Provider specific data type to use for this column. - The newly constructed column definition. - - - - Creates a new column definition to store Boolean data. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - The newly constructed column definition. - - - - Creates a new column definition to store Byte data. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - The newly constructed column definition. - - - - Creates a new column definition to store DateTime data. - - Value indicating whether or not the column allows null values. - The precision of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - The newly constructed column definition. - - - - Creates a new column definition to store Decimal data. - - Value indicating whether or not the column allows null values. - The numeric precision of the column. - The numeric scale of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - Value indicating whether or not the database will generate values for this column during insert. - The newly constructed column definition. - - - - Creates a new column definition to store Double data. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - The newly constructed column definition. - - - - Creates a new column definition to store GUID data. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - The newly constructed column definition. - - - - Creates a new column definition to store Single data. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - The newly constructed column definition. - - - - Creates a new column definition to store Short data. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - The newly constructed column definition. - - - - Creates a new column definition to store Integer data. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - The newly constructed column definition. - - - - Creates a new column definition to store Long data. - - Value indicating whether or not the column allows null values. - Value indicating whether or not the database will generate values for this column during insert. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - The newly constructed column definition. - - - - Creates a new column definition to store String data. - - Value indicating whether or not the column allows null values. - The maximum allowable length of the string data. - Value indicating whether or not all data should be padded to the maximum length. - Value indicating whether or not the maximum length supported by the database provider should be used. - Value indicating whether or not the column supports Unicode content. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - The newly constructed column definition. - - - - Creates a new column definition to store Time data. - - Value indicating whether or not the column allows null values. - The precision of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - The newly constructed column definition. - - - - Creates a new column definition to store DateTimeOffset data. - - Value indicating whether or not the column allows null values. - The precision of the column. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - The newly constructed column definition. - - - - Creates a new column definition to store geography data. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - The newly constructed column definition. - - - - Creates a new column definition to store geometry data. - - Value indicating whether or not the column allows null values. - Constant value to use as the default value for this column. - SQL expression used as the default value for this column. - The name of the column. - Provider specific data type to use for this column. - The newly constructed column definition. - - - - Helper class that is used to further configure a table being created from a CreateTable call on . - - - - - Initializes a new instance of the TableBuilder class. - - The table creation operation to be further configured. - The migration the table is created in. - - - - Specifies a primary key for the table. - - - A lambda expression representing the property to be used as the primary key. - C#: t => t.Id - VB.Net: Function(t) t.Id - - If the primary key is made up of multiple properties then specify an anonymous type including the properties. - C#: t => new { t.Id1, t.Id2 } - VB.Net: Function(t) New With { t.Id1, t.Id2 } - - - The name of the primary key. - If null is supplied, a default name will be generated. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - Itself, so that multiple calls can be chained. - - - - Specifies an index to be created on the table. - - - A lambda expression representing the property to be indexed. - C#: t => t.PropertyOne - VB.Net: Function(t) t.PropertyOne - - If multiple properties are to be indexed then specify an anonymous type including the properties. - C#: t => new { t.PropertyOne, t.PropertyTwo } - VB.Net: Function(t) New With { t.PropertyOne, t.PropertyTwo } - - A value indicating whether or not this is a unique index. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - Itself, so that multiple calls can be chained. - - - - Specifies a foreign key constraint to be created on the table. - - Name of the table that the foreign key constraint targets. - - A lambda expression representing the properties of the foreign key. - C#: t => t.PropertyOne - VB.Net: Function(t) t.PropertyOne - - If multiple properties make up the foreign key then specify an anonymous type including the properties. - C#: t => new { t.PropertyOne, t.PropertyTwo } - VB.Net: Function(t) New With { t.PropertyOne, t.PropertyTwo } - - A value indicating whether or not cascade delete should be configured on the foreign key constraint. - - - The name of this foreign key constraint. - If no name is supplied, a default name will be calculated. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - Itself, so that multiple calls can be chained. - - - - Base class for code-based migrations. - - - - - Operations to be performed during the upgrade process. - - - - - Operations to be performed during the downgrade process. - - - - - Adds an operation to create a new table. - - - The columns in this create table operation. - You do not need to specify this type, it will be inferred from the columnsAction parameter you supply. - - The name of the table. Schema name is optional, if no schema is specified then dbo is assumed. - - An action that specifies the columns to be included in the table. - i.e. t => new { Id = t.Int(identity: true), Name = t.String() } - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - An object that allows further configuration of the table creation operation. - - - - Adds an operation to create a new foreign key constraint. - - - The table that contains the foreign key column. - Schema name is optional, if no schema is specified then dbo is assumed. - - The foreign key column. - - The table that contains the column this foreign key references. - Schema name is optional, if no schema is specified then dbo is assumed. - - - The column this foreign key references. - If no value is supplied the primary key of the principal table will be referenced. - - - A value indicating if cascade delete should be configured for the foreign key relationship. - If no value is supplied, cascade delete will be off. - - - The name of the foreign key constraint in the database. - If no value is supplied a unique name will be generated. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new foreign key constraint. - - - The table that contains the foreign key columns. - Schema name is optional, if no schema is specified then dbo is assumed. - - The foreign key columns. - - The table that contains the columns this foreign key references. - Schema name is optional, if no schema is specified then dbo is assumed. - - - The columns this foreign key references. - If no value is supplied the primary key of the principal table will be referenced. - - - A value indicating if cascade delete should be configured for the foreign key relationship. - If no value is supplied, cascade delete will be off. - - - The name of the foreign key constraint in the database. - If no value is supplied a unique name will be generated. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on its name. - - - The table that contains the foreign key column. - Schema name is optional, if no schema is specified then dbo is assumed. - - The name of the foreign key constraint in the database. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on the column it targets. - - - The table that contains the foreign key column. - Schema name is optional, if no schema is specified then dbo is assumed. - - The foreign key column. - - The table that contains the column this foreign key references. - Schema name is optional, if no schema is specified then dbo is assumed. - - The columns this foreign key references. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a foreign key constraint based on the columns it targets. - - - The table that contains the foreign key columns. - Schema name is optional, if no schema is specified then dbo is assumed. - - The foreign key columns. - - The table that contains the columns this foreign key references. - Schema name is optional, if no schema is specified then dbo is assumed. - - The columns this foreign key references. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop a table. - - - The name of the table to be dropped. - Schema name is optional, if no schema is specified then dbo is assumed. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to move a table to a new schema. - - - The name of the table to be moved. - Schema name is optional, if no schema is specified then dbo is assumed. - - The schema the table is to be moved to. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename a table. To change the schema of a table use MoveTable - - - The name of the table to be renamed. - Schema name is optional, if no schema is specified then dbo is assumed. - - - The new name for the table. - Schema name is optional, if no schema is specified then dbo is assumed. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to rename a column. - - - The name of the table that contains the column to be renamed. - Schema name is optional, if no schema is specified then dbo is assumed. - - The name of the column to be renamed. - The new name for the column. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to add a column to an existing table. - - - The name of the table to add the column to. - Schema name is optional, if no schema is specified then dbo is assumed. - - - The name of the column to be added. - - - An action that specifies the column to be added. - i.e. c => c.Int(nullable: false, defaultValue: 3) - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing column. - - - The name of the table to drop the column from. - Schema name is optional, if no schema is specified then dbo is assumed. - - The name of the column to be dropped. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to alter the definition of an existing column. - - - The name of the table the column exists in. - Schema name is optional, if no schema is specified then dbo is assumed. - - The name of the column to be changed. - - An action that specifies the new definition for the column. - i.e. c => c.String(nullable: false, defaultValue: "none") - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new primary key. - - - The table that contains the primary key column. - Schema name is optional, if no schema is specified then dbo is assumed. - - The primary key column. - - The name of the primary key in the database. - If no value is supplied a unique name will be generated. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create a new primary key based on multiple columns. - - - The table that contains the primary key columns. - Schema name is optional, if no schema is specified then dbo is assumed. - - The primary key columns. - - The name of the primary key in the database. - If no value is supplied a unique name will be generated. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing primary key that does not have the default name. - - - The table that contains the primary key column. - Schema name is optional, if no schema is specified then dbo is assumed. - - The name of the primary key to be dropped. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an existing primary key that was created with the default name. - - - The table that contains the primary key column. - Schema name is optional, if no schema is specified then dbo is assumed. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create an index on a single column. - - - The name of the table to create the index on. - Schema name is optional, if no schema is specified then dbo is assumed. - - The name of the column to create the index on. - - A value indicating if this is a unique index. - If no value is supplied a non-unique index will be created. - - - The name to use for the index in the database. - If no value is supplied a unique name will be generated. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to create an index on multiple columns. - - - The name of the table to create the index on. - Schema name is optional, if no schema is specified then dbo is assumed. - - The name of the columns to create the index on. - - A value indicating if this is a unique index. - If no value is supplied a non-unique index will be created. - - - The name to use for the index in the database. - If no value is supplied a unique name will be generated. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an index based on its name. - - - The name of the table to drop the index from. - Schema name is optional, if no schema is specified then dbo is assumed. - - The name of the index to be dropped. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to drop an index based on the columns it targets. - - - The name of the table to drop the index from. - Schema name is optional, if no schema is specified then dbo is assumed. - - The name of the column(s) the index targets. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Adds an operation to execute a SQL command. - - The SQL to be executed. - - A value indicating if the SQL should be executed outside of the - transaction being used for the migration process. - If no value is supplied the SQL will be executed within the transaction. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Configuration relating to the use of migrations for a given model. - You will typically create a configuration class that derives - from rather than - using this class. - - - - - Initializes a new instance of the DbMigrationsConfiguration class. - - - - - Adds a new SQL generator to be used for a given database provider. - - Name of the database provider to set the SQL generator for. - The SQL generator to be used. - - - - Gets the SQL generator that is set to be used with a given database provider. - - Name of the database provider to get the SQL generator for. - The SQL generator that is set for the database provider. - - - - Gets or sets a value indicating if automatic migrations can be used when migration the database. - - - - - Gets or sets a value indicating if data loss is acceptable during automatic migration. - If set to false an exception will be thrown if data loss may occur as part of an automatic migration. - - - - - Gets or sets the derived DbContext representing the model to be migrated. - - - - - Gets or sets the namespace used for code-based migrations. - - - - - Gets or sets the sub-directory that code-based migrations are stored in. - - - - - Gets or sets the code generator to be used when scaffolding migrations. - - - - - Gets or sets the assembly containing code-based migrations. - - - - - Gets or sets a value to override the connection of the database to be migrated. - - - - - Gets or sets the timeout value used for the individual commands within a - migration. A null value indicates that the default value of the underlying - provider will be used. - - - - - Configuration relating to the use of migrations for a given model. - - The context representing the model that this configuration applies to. - - - - Initializes a new instance of the DbMigrationsConfiguration class. - - - - - Runs after upgrading to the latest migration to allow seed data to be updated. - - Context to be used for updating seed data. - - - - DbMigrator is used to apply existing migrations to a database. - DbMigrator can be used to upgrade and downgrade to any given migration. - To scaffold migrations based on changes to your model use - - - - - Base class for decorators that wrap the core - - - - - Initializes a new instance of the MigratorBase class. - - The migrator that this decorator is wrapping. - - - - Gets a list of the pending migrations that have not been applied to the database. - - List of migration Ids - - - - Updates the target database to the latest migration. - - - - - Updates the target database to a given migration. - - The migration to upgrade/downgrade to. - - - - Gets a list of the migrations that are defined in the assembly. - - List of migration Ids - - - - Gets a list of the migrations that have been applied to the database. - - List of migration Ids - - - - Gets the configuration being used for the migrations process. - - - - - Migration Id representing the state of the database before any migrations are applied. - - - - - Initializes a new instance of the DbMigrator class. - - Configuration to be used for the migration process. - - - - Gets all migrations that are defined in the configured migrations assembly. - - - - - Gets all migrations that have been applied to the target database. - - - - - Gets all migrations that are defined in the assembly but haven't been applied to the target database. - - - - - Updates the target database to a given migration. - - The migration to upgrade/downgrade to. - - - - Gets the configuration that is being used for the migration process. - - - - - A set of extension methods for - - - - - Adds or updates entities by key when SaveChanges is called. Equivalent to an "upsert" operation - from database terminology. - This method can useful when seeding data using Migrations. - - The entities to add or update. - - When the parameter is a custom or fake IDbSet implementation, this method will - attempt to locate and invoke a public, instance method with the same signature as this extension method. - - - - - Adds or updates entities by a custom identification expression when SaveChanges is called. - Equivalent to an "upsert" operation from database terminology. - This method can useful when seeding data using Migrations. - - - An expression specifying the properties that should be used when determining - whether an Add or Update operation should be performed. - - The entities to add or update. - - When the parameter is a custom or fake IDbSet implementation, this method will - attempt to locate and invoke a public, instance method with the same signature as this extension method. - - - - - Generates C# code for a code-based migration. - - - - - Base class for providers that generate code for code-based migrations. - - - - - Generates the code that should be added to the users project. - - Unique identifier of the migration. - Operations to be performed by the migration. - Source model to be stored in the migration metadata. - Target model to be stored in the migration metadata. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Gets the namespaces that must be output as "using" or "Imports" directives to handle - the code generated by the given operations. - - The operations for which code is going to be generated. - An ordered list of namespace names. - - - - Gets the default namespaces that must be output as "using" or "Imports" directives for - any code generated. - - A value indicating if this class is being generated for a code-behind file. - An ordered list of namespace names. - - - - - - - Generates the primary code file that the user can view and edit. - - Operations to be performed by the migration. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates the code behind file with migration metadata. - - Unique identifier of the migration. - Source model to be stored in the migration metadata. - Target model to be stored in the migration metadata. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates a property to return the source or target model in the code behind file. - - Name of the property. - Value to be returned. - Text writer to add the generated code to. - - - - Generates a namespace, using statements and class definition. - - Namespace that code should be generated in. - Name of the class that should be generated. - Text writer to add the generated code to. - Base class for the generated class. - A value indicating if this class is being generated for a code-behind file. - Namespaces for which using directives will be added. If null, then the namespaces returned from GetDefaultNamespaces will be used. - - - - Generates the closing code for a class that was started with WriteClassStart. - - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify a set of column names using a lambda expression. - - The columns to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify the definition for a . - - The column definition to generate code for. - Text writer to add the generated code to. - A value indicating whether to include the column name in the definition. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column of unknown data type. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Removes any invalid characters from the name of an database artifact. - - The name to be scrubbed. - The scrubbed name. - - - - Gets the type name to use for a column of the given data type. - - The data type to translate. - The type name to use in the generated migration. - - - - Quotes an identifier using appropriate escaping to allow it to be stored in a string. - - The identifier to be quoted. - The quoted identifier. - - - - Scaffolds code-based migrations to apply pending model changes to the database. - - - - - Initializes a new instance of the MigrationScaffolder class. - - Configuration to be used for scaffolding. - - - - Scaffolds a code based migration to apply any pending model changes to the database. - - The name to use for the scaffolded migration. - The scaffolded migration. - - - - Scaffolds a code based migration to apply any pending model changes to the database. - - The name to use for the scaffolded migration. - Whether or not to include model changes. - The scaffolded migration. - - - - Scaffolds the initial code-based migration corresponding to a previously run database initializer. - - The scaffolded migration. - - - - Gets or sets the namespace used in the migration's generated code. - - By default, this is the same as MigrationsNamespace on the migrations - configuration object passed into the constructor. For VB.NET projects, this - will need to be updated to take into account the project's root namespace. - - - - - Represents a code-based migration that has been scaffolded and is ready to be written to a file. - - - - - Gets or sets the unique identifier for this migration. - Typically used for the file name of the generated code. - - - - - Gets or sets the scaffolded migration code that the user can edit. - - - - - Gets or sets the scaffolded migration code that should be stored in a code behind file. - - - - - Gets or sets the programming language used for this migration. - Typically used for the file extension of the generated code. - - - - - Gets or sets the subdirectory in the user's project that this migration should be saved in. - - - - - Gets a dictionary of string resources to add to the migration resource file. - - - - - Represents an exception that occurred while running an operation in another AppDomain in the . - - - - - Initializes a new instance of the ToolingException class. - - Error that explains the reason for the exception. - The type of the exception that was thrown. - The stack trace of the exception that was thrown. - - - - - - - - - - Gets the type of the exception that was thrown. - - - - - Gets the stack trace of the exception that was thrown. - - - - - Helper class that is used by design time tools to run migrations related - commands that need to interact with an application that is being edited - in Visual Studio. - - Because the application is being edited the assemblies need to - be loaded in a separate AppDomain to ensure the latest version - is always loaded. - - The App/Web.config file from the startup project is also copied - to ensure that any configuration is applied. - - - - - Initializes a new instance of the ToolingFacade class. - - - The name of the assembly that contains the migrations configuration to be used. - - - The namespace qualified name of migrations configuration to be used. - - - The working directory containing the compiled assemblies. - - - The path of the config file from the startup project. - - - The path of the application data directory from the startup project. - Typically the App_Data directory for web applications or the working directory for executables. - - - The connection to the database to be migrated. - If null is supplied, the default connection for the context will be used. - - - - - Releases all unmanaged resources used by the facade. - - - - - Gets the fully qualified name of all types deriving from . - - All context types found. - - - - Gets the fully qualified name of a type deriving from . - - The name of the context type. If null, the single context type found in the assembly will be returned. - The context type found. - - - - Gets a list of all migrations that have been applied to the database. - - Ids of applied migrations. - - - - Gets a list of all migrations that have not been applied to the database. - - Ids of pending migrations. - - - - Updates the database to the specified migration. - - - The Id of the migration to migrate to. - If null is supplied, the database will be updated to the latest migration. - - Value indicating if data loss during automatic migration is acceptable. - - - - Generates a SQL script to migrate between two migrations. - - - The migration to update from. - If null is supplied, a script to update the current database will be produced. - - - The migration to update to. - If null is supplied, a script to update to the latest migration will be produced. - - Value indicating if data loss during automatic migration is acceptable. - The generated SQL script. - - - - Scaffolds a code-based migration to apply any pending model changes. - - The name for the generated migration. - The programming language of the generated migration. - The root namespace of the project the migration will be added to. - Whether or not to include model changes. - The scaffolded migration. - - - - Scaffolds the initial code-based migration corresponding to a previously run database initializer. - - The programming language of the generated migration. - The root namespace of the project the migration will be added to. - The scaffolded migration. - - - - - - - Releases all resources used by the facade. - - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - - Gets or sets an action to be run to log information. - - - - - Gets or sets an action to be run to log warnings. - - - - - Gets or sets an action to be run to log verbose information. - - - - - Base class for loggers that can be used for the migrations process. - - - - - Logs an informational message. - - The message to be logged. - - - - Logs a warning that the user should be made aware of. - - The message to be logged. - - - - Logs some additional information that should only be presented to the user if they request verbose output. - - The message to be logged. - - - - Generates VB.Net code for a code-based migration. - - - - - - - - Generates the primary code file that the user can view and edit. - - Operations to be performed by the migration. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates the code behind file with migration metadata. - - Unique identifier of the migration. - Source model to be stored in the migration metadata. - Target model to be stored in the migration metadata. - Namespace that code should be generated in. - Name of the class that should be generated. - The generated code. - - - - Generates a property to return the source or target model in the code behind file. - - Name of the property. - Value to be returned. - Text writer to add the generated code to. - - - - Generates a namespace, using statements and class definition. - - Namespace that code should be generated in. - Name of the class that should be generated. - Text writer to add the generated code to. - Base class for the generated class. - A value indicating if this class is being generated for a code-behind file. - Namespaces for which Imports directives will be added. If null, then the namespaces returned from GetDefaultNamespaces will be used. - - - - Generates the closing code for a class that was started with WriteClassStart. - - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a as part of a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify a set of column names using a lambda expression. - - The columns to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform an . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to specify the definition for a . - - The column definition to generate code for. - Text writer to add the generated code to. - A value indicating whether to include the column name in the definition. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to specify the default value for a column of unknown data type. - - The value to be used as the default. - Code representing the default value. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Generates code to perform a . - - The operation to generate code for. - Text writer to add the generated code to. - - - - Removes any invalid characters from the name of an database artifact. - - The name to be scrubbed. - The scrubbed name. - - - - Gets the type name to use for a column of the given data type. - - The data type to translate. - The type name to use in the generated migration. - - - - Quotes an identifier using appropriate escaping to allow it to be stored in a string. - - The identifier to be quoted. - The quoted identifier. - - - - This class is used by Code First Migrations to read and write migration history - from the database. It is not intended to be used by other code and is only public - so that it can be accessed by EF when running under partial trust. It may be - changed or removed in the future. - - - - - Gets or sets the Id of the migration this row represents. - - - - - Gets or sets the date and time that this migrations history entry was created. - - - - - Gets or sets the state of the model after this migration was applied. - - - - - Gets or sets the version of Entity Framework that created this entry. - - - - - This is a version of the HistoryContext that still includes CreatedOn in its model. - It is used when figuring out whether or not the CreatedOn column exists and so should - be dropped. - - - - - Represents an error that occurs when an automatic migration would result in data loss. - - - - - Represents errors that occur inside the Code First Migrations pipeline. - - - - - Initializes a new instance of the MigrationsException class. - - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - - - - Initializes a new instance of the MigrationsException class. - - The message that describes the error. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the MigrationsException class with serialized data. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - - - Initializes a new instance of the AutomaticDataLossException class. - - The message that describes the error. - - - - Represents an error that occurs when there are pending model changes after applying the last migration and automatic migration is disabled. - - - - - Initializes a new instance of the AutomaticMigrationsDisabledException class. - - The message that describes the error. - - - - Provides additional metadata about a code-based migration. - - - - - Gets the unique identifier for the migration. - - - - - Gets the state of the model before this migration is run. - - - - - Gets the state of the model after this migration is run. - - - - - Decorator to provide logging during migrations operations.. - - - - - Initializes a new instance of the MigratorLoggingDecorator class. - - The migrator that this decorator is wrapping. - The logger to write messages to. - - - - Decorator to produce a SQL script instead of applying changes to the database. - Using this decorator to wrap will prevent - from applying any changes to the target database. - - - - - Initializes a new instance of the MigratorScriptingDecorator class. - - The migrator that this decorator is wrapping. - - - - - Represents a column being added to a table. - - - - - Represents an operation to modify a database schema. - - - - - Initializes a new instance of the MigrationOperation class. - - - - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets additional arguments that may be processed by providers. - - - - - Gets an operation that will revert this operation. - - - - - Gets a value indicating if this operation may result in data loss. - - - - - Initializes a new instance of the AddColumnOperation class. - - The name of the table the column should be added to. - Details of the column being added. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets the name of the table the column should be added to. - - - - - Gets the details of the column being added. - - - - - Gets an operation that represents dropping the added column. - - - - - - - - Represents a foreign key constraint being added to a table. - - - - - Base class for changes that affect foreign key constraints. - - - - - Initializes a new instance of the ForeignKeyOperation class. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets or sets the name of the table that the foreign key constraint targets. - - - - - Gets or sets the name of the table that the foreign key columns exist in. - - - - - The names of the foreign key column(s). - - - - - Gets a value indicating if a specific name has been supplied for this foreign key constraint. - - - - - Gets or sets the name of this foreign key constraint. - If no name is supplied, a default name will be calculated. - - - - - Initializes a new instance of the AddForeignKeyOperation class. - The PrincipalTable, PrincipalColumns, DependentTable and DependentColumns properties should also be populated. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets an operation to create an index on the foreign key column(s). - - An operation to add the index. - - - - The names of the column(s) that the foreign key constraint should target. - - - - - Gets or sets a value indicating if cascade delete should be configured on the foreign key constraint. - - - - - Gets an operation to drop the foreign key constraint. - - - - - - - - Represents adding a primary key to a table. - - - - - Common base class to represent operations affecting primary keys. - - - - - Initializes a new instance of the PrimaryKeyOperation class. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets or sets the name of the table that contains the primary key. - - - - - Gets the column(s) that make up the primary key. - - - - - Gets a value indicating if a specific name has been supplied for this primary key. - - - - - Gets or sets the name of this primary key. - If no name is supplied, a default name will be calculated. - - - - - - - - Initializes a new instance of the AddPrimaryKeyOperation class. - The Table and Columns properties should also be populated. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets an operation to drop the primary key. - - - - - Represents altering an existing column. - - - - - Initializes a new instance of the AlterColumnOperation class. - - The name of the table that the column belongs to. - Details of what the column should be altered to. - Value indicating if this change will result in data loss. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Initializes a new instance of the AlterColumnOperation class. - - The name of the table that the column belongs to. - Details of what the column should be altered to. - Value indicating if this change will result in data loss. - An operation to revert this alteration of the column. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets the name of the table that the column belongs to. - - - - - Gets the new definition for the column. - - - - - Gets an operation that represents reverting the alteration. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents information about a column. - - - - - Initializes a new instance of the class. - - The data type for this column. - - - - Initializes a new instance of the class. - - The data type for this column. - - Additional details about the data type. - This includes details such as maximum length, nullability etc. - - - - - Determines if this column is a narrower data type than another column. - Used to determine if altering the supplied column definition to this definition will result in data loss. - - The column to compare to. - Details of the database provider being used. - True if this column is of a narrower data type. - - - - Gets the data type for this column. - - - - - Gets the CLR type corresponding to the database type of this column. - - - - - Gets the default value for the CLR type corresponding to the database type of this column. - - - - - Gets additional details about the data type of this column. - This includes details such as maximum length, nullability etc. - - - - - Gets or sets the name of the column. - - - - - Gets or sets a provider specific data type to use for this column. - - - - - Gets or sets a value indicating if this column can store null values. - - - - - Gets or sets a value indicating if values for this column will be generated by the database using the identity pattern. - - - - - Gets or sets the maximum length for this column. - Only valid for array data types. - - - - - Gets or sets the precision for this column. - Only valid for decimal data types. - - - - - Gets or sets the scale for this column. - Only valid for decimal data types. - - - - - Gets or sets a constant value to use as the default value for this column. - - - - - Gets or sets a SQL expression used as the default value for this column. - - - - - Gets or sets a value indicating if this column is fixed length. - Only valid for array data types. - - - - - Gets or sets a value indicating if this column supports Unicode characters. - Only valid for textual data types. - - - - - Gets or sets a value indicating if this column should be configured as a timestamp. - - - - - Represents creating a database index. - - - - - Common base class for operations affecting indexes. - - - - - Initializes a new instance of the IndexOperation class. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets or sets the table the index belongs to. - - - - - Gets or sets the columns that are indexed. - - - - - Gets a value indicating if a specific name has been supplied for this index. - - - - - Gets or sets the name of this index. - If no name is supplied, a default name will be calculated. - - - - - Initializes a new instance of the CreateIndexOperation class. - The Table and Columns properties should also be populated. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets or sets a value indicating if this is a unique index. - - - - - Gets an operation to drop this index. - - - - - - - - Represents creating a table. - - - - - Initializes a new instance of the CreateTableOperation class. - - Name of the table to be created. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets the name of the table to be created. - - - - - Gets the columns to be included in the new table. - - - - - Gets or sets the primary key for the new table. - - - - - Gets an operation to drop the table. - - - - - - - - Represents deleting a new record from the migrations history table. - The migrations history table is used to store a log of the migrations that have been applied to the database. - - - - - Common base class for operations that affect the migrations history table. - The migrations history table is used to store a log of the migrations that have been applied to the database. - - - - - Initializes a new instance of the HistoryOperation class. - - Name of the migrations history table. - Name of the migration being affected. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets the name of the migrations history table. - - - - - Gets the name of the migration being affected. - - - - - - - - Initializes a new instance of the DeleteHistoryOperation class. - - Name of the migrations history table. - Id of the migration record to be deleted. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Represents a column being dropped from a table. - - - - - Initializes a new instance of the DropColumnOperation class. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Initializes a new instance of the DropColumnOperation class. - - The name of the table the column should be dropped from. - The name of the column to be dropped. - The operation that represents reverting the drop operation. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets the name of the table the column should be dropped from. - - - - - Gets the name of the column to be dropped. - - - - - Gets an operation that represents reverting dropping the column. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents a foreign key constraint being dropped from a table. - - - - - Initializes a new instance of the DropForeignKeyOperation class. - The PrincipalTable, DependentTable and DependentColumns properties should also be populated. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Initializes a new instance of the DropForeignKeyOperation class. - - The operation that represents reverting dropping the foreign key constraint. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets an operation to drop the associated index on the foreign key column(s). - - An operation to drop the index. - - - - Gets an operation that represents reverting dropping the foreign key constraint. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents dropping an existing index. - - - - - Initializes a new instance of the DropIndexOperation class. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Initializes a new instance of the DropIndexOperation class. - - The operation that represents reverting dropping the index. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets an operation that represents reverting dropping the index. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents dropping a primary key from a table. - - - - - Initializes a new instance of the DropPrimaryKeyOperation class. - The Table and Columns properties should also be populated. - - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets an operation to add the primary key. - - - - - Represents dropping an existing table. - - - - - Initializes a new instance of the DropTableOperation class. - - The name of the table to be dropped. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Initializes a new instance of the DropTableOperation class. - - The name of the table to be dropped. - An operation that represents reverting dropping the table. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets the name of the table to be dropped. - - - - - Gets an operation that represents reverting dropping the table. - The inverse cannot be automatically calculated, - if it was not supplied to the constructor this property will return null. - - - - - - - - Represents inserting a new record into the migrations history table. - The migrations history table is used to store a log of the migrations that have been applied to the database. - - - - - Initializes a new instance of the InsertHistoryOperation class. - - Name of the migrations history table. - Id of the migration record to be inserted. - Value to be stored in the model column. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets the value to store in the history table representing the target model of the migration. - - - - - Gets the value to store in the history table indicating the version of Entity Framework used to produce this migration. - - - - - - - - Represents moving a table from one schema to another. - - - - - Initializes a new instance of the MoveTableOperation class. - - Name of the table to be moved. - Name of the schema to move the table to. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets the name of the table to be moved. - - - - - Gets the name of the schema to move the table to. - - - - - Gets an operation that moves the table back to its original schema. - - - - - - - - Represents renaming an existing column. - - - - - Initializes a new instance of the RenameColumnOperation class. - - Name of the table the column belongs to. - Name of the column to be renamed. - New name for the column. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets the name of the table the column belongs to. - - - - - Gets the name of the column to be renamed. - - - - - Gets the new name for the column. - - - - - Gets an operation that reverts the rename. - - - - - - - - Represents renaming an existing table. - - - - - Initializes a new instance of the RenameTableOperation class. - - Name of the table to be renamed. - New name for the table. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets the name of the table to be renamed. - - - - - Gets the new name for the table. - - - - - Gets an operation that reverts the rename. - - - - - - - - Represents a provider specific SQL statement to be executed directly against the target database. - - - - - Initializes a new instance of the SqlOperation class. - - The SQL to be executed. - - Additional arguments that may be processed by providers. - Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'. - - - - - Gets the SQL to be executed. - - - - - Gets or sets a value indicating whether this statement should be performed outside of - the transaction scope that is used to make the migration process transactional. - If set to true, this operation will not be rolled back if the migration process fails. - - - - - - - - Common base class for providers that convert provider agnostic migration - operations into database provider specific SQL commands. - - - - - Converts a set of migration operations into database provider specific SQL. - - The operations to be converted. - Token representing the version of the database being targeted. - A list of SQL statements to be executed to perform the migration operations. - - - - Represents a migration operation that has been translated into a SQL statement. - - - - - Gets or sets the SQL to be executed to perform this migration operation. - - - - - Gets or sets a value indicating whether this statement should be performed outside of - the transaction scope that is used to make the migration process transactional. - If set to true, this operation will not be rolled back if the migration process fails. - - - - - Provider to convert provider agnostic migration operations into SQL commands - that can be run against Microsoft SQL Server Compact Edition. - - - - - Provider to convert provider agnostic migration operations into SQL commands - that can be run against a Microsoft SQL Server database. - - - - - Converts a set of migration operations into Microsoft SQL Server specific SQL. - - The operations to be converted. - Token representing the version of SQL Server being targeted (i.e. "2005", "2008"). - A list of SQL statements to be executed to perform the migration operations. - - - - Creates an empty connection for the current provider. - Allows derived providers to use connection other than . - - - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL to mark a table as a system table. - Generated SQL should be added using the Statement method. - - The table to mark as a system table. - - - - Generates SQL to create a database schema. - Generated SQL should be added using the Statement method. - - The name of the schema to create. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL for a . - Generated SQL should be added using the Statement method. - - The operation to produce SQL for. - - - - Generates SQL to specify a constant byte[] default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant bool default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant DateTime default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant DateTimeOffset default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant Guid default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant string default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant TimeSpan default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant geogrpahy default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant geometry default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify a constant default value being set on a column. - This method just generates the actual value, not the SQL to set the default value. - - The value to be set. - SQL representing the default value. - - - - Generates SQL to specify the data type of a column. - This method just generates the actual type, not the SQL to create the column. - - The definition of the column. - SQL representing the data type. - - - - Generates a quoted name. The supplied name may or may not contain the schema. - - The name to be quoted. - The quoted name. - - - - Quotes an identifier for SQL Server. - - The identifier to be quoted. - The quoted identifier. - - - - Adds a new Statement to be executed against the database. - - The statement to be executed. - - Gets or sets a value indicating whether this statement should be performed outside of - the transaction scope that is used to make the migration process transactional. - If set to true, this operation will not be rolled back if the migration process fails. - - - - - Gets a new that can be used to build SQL. - - This is just a helper method to create a writer. Writing to the writer will - not cause SQL to be registered for execution. You must pass the generated - SQL to the Statement method. - - An empty text writer to use for SQL generation. - - - - Adds a new Statement to be executed against the database. - - The writer containing the SQL to be executed. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Utility class to prep the user's config file to run in an AppDomain - - - - - Updates a config file by adding binding redirects for EntityFramework.dll. - This ensures that the user's code can be ran in an AppDomain and the exact - same version of the assembly will be used for both domains. - - That path of the user's config file. Can also be null or a path to an non-existent file. - The path of the updated config file. It is the caller's responsibility to delete this. - - - - The same as but works in partial trust. - - - - - Specifies the default tab string. This field is constant. - - - - - Initializes a new instance of the IndentedTextWriter class using the specified text writer and default tab string. - - The to use for output. - - - - Initializes a new instance of the IndentedTextWriter class using the specified text writer and tab string. - - The to use for output. - The tab string to use for indentation. - - - - Closes the document being written to. - - - - - Flushes the stream. - - - - - Outputs the tab string once for each level of indentation according to the property. - - - - - Writes the specified string to the text stream. - - The string to write. - - - - Writes the text representation of a Boolean value to the text stream. - - The Boolean value to write. - - - - Writes a character to the text stream. - - The character to write. - - - - Writes a character array to the text stream. - - The character array to write. - - - - Writes a subarray of characters to the text stream. - - The character array to write data from. - Starting index in the buffer. - The number of characters to write. - - - - Writes the text representation of a Double to the text stream. - - The double to write. - - - - Writes the text representation of a Single to the text stream. - - The single to write. - - - - Writes the text representation of an integer to the text stream. - - The integer to write. - - - - Writes the text representation of an 8-byte integer to the text stream. - - The 8-byte integer to write. - - - - Writes the text representation of an object to the text stream. - - The object to write. - - - - Writes out a formatted string, using the same semantics as specified. - - The formatting string. - The object to write into the formatted string. - - - - Writes out a formatted string, using the same semantics as specified. - - The formatting string to use. - The first object to write into the formatted string. - The second object to write into the formatted string. - - - - Writes out a formatted string, using the same semantics as specified. - - The formatting string to use. - The argument array to output. - - - - Writes the specified string to a line without tabs. - - The string to write. - - - - Writes the specified string, followed by a line terminator, to the text stream. - - The string to write. - - - - Writes a line terminator. - - - - - Writes the text representation of a Boolean, followed by a line terminator, to the text stream. - - The Boolean to write. - - - - Writes a character, followed by a line terminator, to the text stream. - - The character to write. - - - - Writes a character array, followed by a line terminator, to the text stream. - - The character array to write. - - - - Writes a subarray of characters, followed by a line terminator, to the text stream. - - The character array to write data from. - Starting index in the buffer. - The number of characters to write. - - - - Writes the text representation of a Double, followed by a line terminator, to the text stream. - - The double to write. - - - - Writes the text representation of a Single, followed by a line terminator, to the text stream. - - The single to write. - - - - Writes the text representation of an integer, followed by a line terminator, to the text stream. - - The integer to write. - - - - Writes the text representation of an 8-byte integer, followed by a line terminator, to the text stream. - - The 8-byte integer to write. - - - - Writes the text representation of an object, followed by a line terminator, to the text stream. - - The object to write. - - - - Writes out a formatted string, followed by a line terminator, using the same semantics as specified. - - The formatting string. - The object to write into the formatted string. - - - - Writes out a formatted string, followed by a line terminator, using the same semantics as specified. - - The formatting string to use. - The first object to write into the formatted string. - The second object to write into the formatted string. - - - - Writes out a formatted string, followed by a line terminator, using the same semantics as specified. - - The formatting string to use. - The argument array to output. - - - - Writes the text representation of a UInt32, followed by a line terminator, to the text stream. - - A UInt32 to output. - - - - Gets the encoding for the text writer to use. - - - An that indicates the encoding for the text writer to use. - - - - - Gets or sets the new line character to use. - - - The new line character to use. - - - - - Gets or sets the number of spaces to indent. - - - The number of spaces to indent. - - - - - Gets the to use. - - - The to use. - - - - - Used for generating values that are always in sequential - order for the calling thread. - - - - - Returns the value of unless this value would be the same as the - last value returned by this thread calling this method, in which case the thread pushes the value - a little bit into the future. The comparison is in terms of the form used to store migration ID - in the database--i.e. to the 1/10 second. - - - There should never be any pushing to the future involved for normal use of migrations, but when - this method is called in rapid succession while testing or otherwise calling the DbMigrator APIs - there may be occasional sleeping. - - - - - Same as UtcNow method bur returns the time in the timestamp format used in migration IDs. - - - - - Convention to apply column ordering specified via - or the API. This convention throws if a duplicate configured column order - is detected. - - - - - Convention to apply column ordering specified via - or the API. - - - - - Identifies conventions that can be removed from a instance. - - /// - Note that implementations of this interface must be immutable. - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "Applying automatic migration: {0}." - - - - - A string like "Reverting automatic migration: {0}." - - - - - A string like "Applying code-based migration: {0}." - - - - - A string like "Reverting code-based migration: {0}." - - - - - A string like "Applying code-based migrations: [{1}]." - - - - - A string like "Reverting migrations: [{1}]." - - - - - A string like "Target database is already at version {0}." - - - - - A string like "Target database is: {0}." - - - - - A string like "'{1}' (DataSource: {0}, Provider: {2}, Origin: {3})" - - - - - A string like "The specified target migration '{0}' does not exist. Ensure that target migration refers to an existing migration id." - - - - - A string like "The Foreign Key on table '{0}' with columns '{1}' could not be created because the principal key columns could not be determined. Use the AddForeignKey fluent API to fully specify the Foreign Key." - - - - - A string like "'{0}' is not a valid target migration. When targeting a previously applied automatic migration, use the full migration id including timestamp." - - - - - A string like "'{0}' is not a valid migration. Code-based migrations must be used for both source and target when scripting the upgrade between them." - - - - - A string like "The target context '{0}' is not constructible. Add a default constructor or provide an implementation of IDbContextFactory." - - - - - A string like "The specified migration name '{0}' is ambiguous. Specify the full migration id including timestamp instead." - - - - - A string like "The migrations configuration type '{0}' was not be found in the assembly '{1}'." - - - - - A string like "More than one migrations configuration type '{0}' was found in the assembly '{1}'. Specify the fully qualified name of the one to use." - - - - - A string like "No migrations configuration type was found in the assembly '{0}'. (In Visual Studio you can use the Enable-Migrations command from Package Manager Console to add a migrations configuration)." - - - - - A string like "More than one migrations configuration type was found in the assembly '{0}'. Specify the name of the one to use." - - - - - A string like "The type '{0}' is not a migrations configuration type." - - - - - A string like "The migrations configuration type '{0}' must have a public default constructor." - - - - - A string like "The migrations configuration type '{0}' must not be abstract." - - - - - A string like "The migrations configuration type '{0}' must not be generic." - - - - - A string like "In VB.NET projects, the migrations namespace '{0}' must be under the root namespace '{1}'. Update the migrations project's root namespace to allow classes under the migrations namespace to be added." - - - - - - A string like "No MigrationSqlGenerator found for provider '{0}'. Use the SetSqlGenerator method in the target migrations configuration class to register additional SQL generators." - - - - - A string like "Could not load assembly '{0}'. (If you are using Code First Migrations inside Visual Studio this can happen if the startUp project for your solution does not reference the project that contains your migrations. You can either change the startUp project for your solution or use the -StartUpProjectName parameter.)" - - - - - A string like "No context type was found in the assembly '{0}'." - - - - - A string like "More than one context type was found in the assembly '{0}'." - - - - - A string like "To enable migrations for {0}, use Enable-Migrations -ContextTypeName {0}." - - - - - A string like "The context type '{0}' was not found in the assembly '{1}'." - - - - - A string like "More than one context type '{0}' was found in the assembly '{1}'. Specify the fully qualified name of the context." - - - - - A string like "The argument '{0}' cannot be null, empty or contain only white space." - - - - - A string like "The argument property '{0}' cannot be null." - - - - - A string like "The precondition '{0}' failed. {1}" - - - - - A string like "The type '{0}' has already been configured as a complex type. It cannot be reconfigured as an entity type." - - - - - A string like "The type '{0}' has already been configured as an entity type. It cannot be reconfigured as a complex type." - - - - - A string like "The key component '{0}' is not a declared property on type '{1}'. Verify that it has not been explicitly excluded from the model and that it is a valid primitive property." - - - - - A string like "The foreign key component '{0}' is not a declared property on type '{1}'. Verify that it has not been explicitly excluded from the model and that it is a valid primitive property." - - - - - A string like "The property '{0}' is not a declared property on type '{1}'. Verify that the property has not been explicitly excluded from the model by using the Ignore method or NotMappedAttribute data annotation. Make sure that it is a valid primitive property." - - - - - A string like "The navigation property '{0}' is not a declared property on type '{1}'. Verify that it has not been explicitly excluded from the model and that it is a valid navigation property." - - - - - A string like "The expression '{0}' is not a valid property expression. The expression should represent a property: C#: 't => t.MyProperty' VB.Net: 'Function(t) t.MyProperty'." - - - - - A string like "The expression '{0}' is not a valid property expression. The expression should represent a property: C#: 't => t.MyProperty' VB.Net: 'Function(t) t.MyProperty'. Use dotted paths for nested properties: C#: 't => t.MyProperty.MyProperty' VB.Net: 'Function(t) t.MyProperty.MyProperty'." - - - - - A string like "The properties expression '{0}' is not valid. The expression should represent a property: C#: 't => t.MyProperty' VB.Net: 'Function(t) t.MyProperty'. When specifying multiple properties use an anonymous type: C#: 't => new {{ t.MyProperty1, t.MyProperty2 }}' VB.Net: 'Function(t) New With {{ t.MyProperty1, t.MyProperty2 }}'." - - - - - A string like "The properties expression '{0}' is not valid. The expression should represent a property: C#: 't => t.MyProperty' VB.Net: 'Function(t) t.MyProperty'. When specifying multiple properties use an anonymous type: C#: 't => new {{ t.MyProperty1, t.MyProperty2 }}' VB.Net: 'Function(t) New With {{ t.MyProperty1, t.MyProperty2 }}'." - - - - - - A string like "Conflicting configuration settings were specified for property '{0}' on type '{1}': {2}" - - - - - A string like "Conflicting configuration settings were specified for column '{0}' on table '{1}': {2}" - - - - - A string like "{0} = {1} conflicts with {2} = {3}" - - - - - A string like "The type '{0}' was not mapped. Check that the type has not been explicitly excluded by using the Ignore method or NotMappedAttribute data annotation. Verify that the type was defined as a class, is not primitive, nested or generic, and does not inherit from ComplexObject." - - - - - A string like "The type '{0}' was not mapped. Check that the type has not been explicitly excluded by using the Ignore method or NotMappedAttribute data annotation. Verify that the type was defined as a class, is not primitive, nested or generic, and does not inherit from EntityObject." - - - - - A string like "The navigation property '{0}' declared on type '{1}' cannot be the inverse of itself." - - - - - A string like "The navigation property '{0}' declared on type '{1}' has been configured with conflicting foreign keys." - - - - - A string like "Values of incompatible types ('{1}' and '{2}') were assigned to the '{0}' discriminator column. Values of the same type must be specified. To explicitly specify the type of the discriminator column use the HasColumnType method." - - - - - A string like "The navigation property '{0}' declared on type '{1}' has been configured with conflicting mapping information." - - - - - A string like "The navigation property '{0}' declared on type '{1}' has been configured with conflicting cascade delete operations using 'WillCascadeOnDelete'." - - - - - A string like "The navigation property '{0}' declared on type '{1}' has been configured with conflicting multiplicities." - - - - - A string like "The MaxLengthAttribute on property '{0}' on type '{1} is not valid. The Length value must be greater than zero. Use MaxLength() without parameters to indicate that the string or array can have the maximum allowable length." - - - - - A string like "The StringLengthAttribute on property '{0}' on type '{1}' is not valid. The maximum length must be greater than zero. Use MaxLength() without parameters to indicate that the string or array can have the maximum allowable length." - - - - - A string like "Unable to determine composite primary key ordering for type '{0}'. Use the ColumnAttribute or the HasKey method to specify an order for composite primary keys." - - - - - A string like "The ForeignKeyAttribute on property '{0}' on type '{1}' is not valid. Name must not be empty." - - - - - A string like "The ForeignKeyAttribute on property '{0}' on type '{1}' is not valid. The foreign key name '{2}' was not found on the dependent type '{3}'. The Name value should be a comma separated list of foreign key property names." - - - - - A string like "The ForeignKeyAttribute on property '{0}' on type '{1}' is not valid. The navigation property '{2}' was not found on the dependent type '{1}'. The Name value should be a valid navigation property name." - - - - - A string like "Unable to determine a composite foreign key ordering for foreign key on type {0}. When using the ForeignKey data annotation on composite foreign key properties ensure order is specified by using the Column data annotation or the fluent API." - - - - - A string like "The InversePropertyAttribute on property '{2}' on type '{3}' is not valid. The property '{0}' is not a valid navigation property on the related type '{1}'. Ensure that the property exists and is a valid reference or collection navigation property." - - - - - A string like "A relationship cannot be established from property '{0}' on type '{1}' to property '{0}' on type '{1}'. Check the values in the InversePropertyAttribute to ensure relationship definitions are unique and reference from one navigation property to its corresponding inverse navigation property." - - - - - A string like "\t{0}: {1}: {2}" - - - - - A string like "A key is registered for the derived type '{0}'. Keys can only be registered for the root type '{1}'." - - - - - A string like "The {0} value '{1}' already exists in the user-defined dictionary." - - - - - A string like "The type '{0}' has already been mapped to table '{1}'. Specify all mapping aspects of a table in a single Map call." - - - - - A string like "Map was called more than once for type '{0}' and at least one of the calls didn't specify the target table name." - - - - - A string like "The derived type '{0}' has already been mapped using the chaining syntax. A derived type can only be mapped once using the chaining syntax." - - - - - A string like "An "is not null" condition cannot be specified on property '{0}' on type '{1}' because this property is not included in the model. Check that the property has not been explicitly excluded from the model by using the Ignore method or NotMappedAttribute data annotation." - - - - - A string like "Values of type '{0}' cannot be used as type discriminator values. Supported types include byte, signed byte, bool, int16, int32, int64, and string." - - - - - A string like "Unable to add the convention '{0}'. Could not find an existing convention of type '{1}' in the current convention set." - - - - - A string like "Not all properties for type '{0}' have been mapped. Either map those properties or explicitly excluded them from the model." - - - - - A string like "Unable to determine the provider name for connection of type '{0}'." - - - - - A string like "The qualified table name '{0}' contains an invalid schema name. Schema names must have a non-zero length." - - - - - A string like "The qualified table name '{0}' contains an invalid table name. Table names must have a non-zero length." - - - - - A string like "Properties for type '{0}' can only be mapped once. Ensure the MapInheritedProperties method is only used during one call to the Map method." - - - - - A string like "Properties for type '{0}' can only be mapped once. Ensure the Properties method is used and that repeated calls specify each non-key property only once." - - - - - A string like "Properties for type '{0}' can only be mapped once. The non-key property '{1}' is mapped more than once. Ensure the Properties method specifies each non-key property only once." - - - - - A string like "The property '{1}' on type '{0}' cannot be mapped because it has been explicitly excluded from the model or it is of a type not supported by the DbModelBuilderVersion being used." - - - - - A string like "The entity types '{0}' and '{1}' cannot share table '{2}' because they are not in the same type hierarchy or do not have a valid one to one foreign key relationship with matching primary keys between them." - - - - - A string like "You cannot use Ignore method on the property '{0}' on type '{1}' because this type inherits from the type '{2}' where this property is mapped. To exclude this property from your model, use NotMappedAttribute or Ignore method on the base type." - - - - - A string like "The property '{0}' cannot be used as a key property on the entity '{1}' because the property type is not a valid key type. Only scalar types, string and byte[] are supported key types." - - - - - A string like "The specified table '{0}' was not found in the model. Ensure that the table name has been correctly specified." - - - - - A string like "The specified association foreign key columns '{0}' are invalid. The number of columns specified must match the number of primary key columns." - - - - - A string like "Unable to determine the principal end of an association between the types '{0}' and '{1}'. The principal end of this association must be explicitly configured using either the relationship fluent API or data annotations." - - - - - A string like "The abstract type '{0}' has no mapped descendents and so cannot be mapped. Either remove '{0}' from the model or add one or more types deriving from '{0}' to the model. " - - - - - A string like "The type '{0}' cannot be mapped as defined because it maps inherited properties from types that use entity splitting or another form of inheritance. Either choose a different inheritance mapping strategy so as to not map inherited properties, or change all types in the hierarchy to map inherited properties and to not use splitting. " - - - - - A string like "The table '{0}' was configured but is not used in any mappings. Verify the mapping configuration for '{0}' is correct." - - - - - A string like "The configured column orders for the table '{0}' contains duplicates. Ensure the specified column order values are distinct." - - - - - A string like "The enum or spatial property '{1}' on type '{0}' cannot be mapped. Use DbModelBuilderVersion 'V5_0' or later to map enum or spatial properties." - - - - - A string like "Multiple potential primary key properties named '{0}' but differing only by case were found on entity type '{1}'. Configure the primary key explicitly using the HasKey fluent API or the KeyAttribute data annotation." - - - - - A string like "Cannot get value for property '{0}' from entity of type '{1}' because the property has no get accessor." - - - - - A string like "Cannot set value for property '{0}' on entity of type '{1}' because the property has no set accessor." - - - - - - A string like "Cannot set value for property '{0}' on entity of type '{1}' because the property has no set accessor and is in the '{2}' state." - - - - - A string like "Member '{0}' cannot be called for property '{1}' on entity of type '{2}' because the property is not part of the Entity Data Model." - - - - - - A string like "Cannot call the {0} method for an entity of type '{1}' on a DbSet for entities of type '{2}'. Only entities of type '{2}' or derived from type '{2}' can be added, attached, or removed." - - - - - A string like "Cannot call the Create method for the type '{0}' on a DbSet for entities of type '{1}'. Only entities of type '{1}' or derived from type '{1}' can be created." - - - - - - - A string like "The property '{0}' on type '{1}' is a collection navigation property. The Collection method should be used instead of the Reference method." - - - - - A string like "The property '{0}' on type '{1}' is a reference navigation property. The Reference method should be used instead of the Collection method." - - - - - A string like "The property '{0}' on type '{1}' is not a navigation property. The Reference and Collection methods can only be used with navigation properties. Use the Property or ComplexProperty method." - - - - - A string like "The property '{0}' on type '{1}' is not a primitive or complex property. The Property method can only be used with primitive or complex properties. Use the Reference or Collection method." - - - - - A string like "The property '{0}' on type '{1}' is not a complex property. The ComplexProperty method can only be used with complex properties. Use the Property, Reference or Collection method." - - - - - A string like "The property '{0}' on type '{1}' is not a primitive property, complex property, collection navigation property, or reference navigation property." - - - - - A string like ""The property '{0}' from the property path '{1}' is not a complex property on type '{2}'. Property paths must be composed of complex properties for all except the final property."" - - - - - A string like ""The property path '{0}' cannot be used for navigation properties. Property paths can only be used to access primitive or complex properties."" - - - - - A string like "The navigation property '{0}' on entity type '{1}' cannot be used for entities of type '{2}' because it refers to entities of type '{3}'." - - - - - A string like "The generic type argument '{0}' cannot be used with the Member method when accessing the collection navigation property '{1}' on entity type '{2}'. The generic type argument '{3}' must be used instead." - - - - - A string like "The property '{0}' on entity type '{1}' cannot be used for objects of type '{2}' because it is a property for objects of type '{3}'." - - - - - A string like "The expression passed to method {0} must represent a property defined on the type '{1}'." - - - - - A string like "{0} cannot be used for entities in the {1} state." - - - - - A string like "Cannot set non-nullable property '{0}' of type '{1}' to null on object of type '{2}'." - - - - - A string like "The property '{0}' in the entity of type '{1}' is null. Store values cannot be obtained for an entity with a null complex property." - - - - - A string like "Cannot assign value of type '{0}' to property '{1}' of type '{2}' in property values for type '{3}'." - - - - - A string like "The '{0}' property does not exist or is not mapped for the type '{1}'." - - - - - A string like "Cannot copy values from DbPropertyValues for type '{0}' into DbPropertyValues for type '{1}'." - - - - - A string like "Cannot copy from property values for object of type '{0}' into property values for object of type '{1}'." - - - - - A string like "The value of the complex property '{0}' on entity of type '{1}' is null. Complex properties cannot be set to null and values cannot be set for null complex properties." - - - - - A string like "The value of the nested property values property '{0}' on the values for entity of type '{1}' is null. Nested property values cannot be set to null and values cannot be set for null complex properties." - - - - - A string like "Cannot set the value of the nested property '{0}' because value of the complex property '{1}' to which it belongs is null." - - - - - A string like "Cannot set the original value of the nested property '{0}' because the original value of the complex property '{1}' to which it belongs is null." - - - - - A string like "The model backing the '{0}' context has changed since the database was created. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=238269)." - - - - - A string like "Database '{0}' cannot be created because it already exists." - - - - - - - A string like "Failed to set database initializer of type '{0}' for DbContext type '{1}' specified in the application configuration. See inner exception for details." - - - - - A string like "Configuration for DbContext type '{0}' is specified multiple times in the application configuration. Each context can only be configured once." - - - - - A string like "Failed to set Database.DefaultConnectionFactory to an instance of the '{0}' type as specified in the application configuration. See inner exception for details." - - - - - A string like "The type '{0}' could not be found. The type name must be an assembly-qualified name." - - - - - A string like "The connection string '{0}' in the application's configuration file does not contain the required providerName attribute."" - - - - - A string like "The entity found was of type {0} when an entity of type {1} was requested." - - - - - A string like "The type '{0}' is mapped as a complex type. The Set method, DbSet objects, and DbEntityEntry objects can only be used with entity types, not complex types." - - - - - A string like "The type '{0}' is not attributed with EdmEntityTypeAttribute but is contained in an assembly attributed with EdmSchemaAttribute. POCO entities that do not use EdmEntityTypeAttribute cannot be contained in the same assembly as non-POCO entities that use EdmEntityTypeAttribute." - - - - - A string like "The entity type {0} is not part of the model for the current context." - - - - - A string like "No connection string named '{0}' could be found in the application config file." - - - - - A string like "The collection navigation property '{0}' on the entity of type '{1}' cannot be set because the entity type does not define a navigation property with a set accessor." - - - - - A string like "Multiple object sets per type are not supported. The object sets '{0}' and '{1}' can both contain instances of type '{2}'." - - - - - A string like "The context type '{0}' must have a public constructor taking an EntityConnection." - - - - - A string like "An unexpected exception was thrown during validation of '{0}' when invoking {1}.IsValid. See the inner exception for details." - - - - - A string like "An unexpected exception was thrown during validation of '{0}' when invoking {1}.Validate. See the inner exception for details." - - - - - A string like "The database name '{0}' is not supported because it is an MDF file name. A full connection string must be provided to attach an MDF file." - - - - - A string like "The context factory type '{0}' must have a public default constructor." - - - - - A string like "The '{0}' property of EdmPrimitiveType is fixed and cannot be set." - - - - - A string like "The namespace '{0}' is a system namespace and cannot be used by other schemas. Choose another namespace name." - - - - - A string like "Role '{0}' in AssociationSets '{1}' and '{2}' refers to the same EntitySet '{3}' in EntityContainer '{4}'. Make sure that if two or more AssociationSets refer to the same AssociationType, the ends do not refer to the same EntitySet." - - - - - A string like "The referenced EntitySet '{0}' for End '{1}' could not be found in the containing EntityContainer." - - - - - A string like "Type '{0}' is derived from type '{1}' that is the type for EntitySet '{2}'. Type '{0}' defines new concurrency requirements that are not allowed for subtypes of base EntitySet types." - - - - - A string like "EntitySet '{0}' is based on type '{1}' that has no keys defined." - - - - - A string like "The end name '{0}' is already defined." - - - - - A string like "The key specified in EntityType '{0}' is not valid. Property '{1}' is referenced more than once in the Key element." - - - - - A string like "Property '{0}' has a CollectionKind specified but is not a collection property." - - - - - A string like "Property '{0}' has a CollectionKind specified. CollectionKind is only supported in version 1.1 EDM models." - - - - - A string like "ComplexType '{0}' is marked as abstract. Abstract ComplexTypes are only supported in version 1.1 EDM models." - - - - - A string like "ComplexType '{0}' has a BaseType specified. ComplexType inheritance is only supported in version 1.1 EDM models." - - - - - A string like "Key part '{0}' for type '{1}' is not valid. All parts of the key must be non-nullable." - - - - - A string like "The property '{0}' in EntityType '{1}' is not valid. All properties that are part of the EntityKey must be of PrimitiveType." - - - - - A string like "Key usage is not valid. The {0} class cannot define keys because one of its base classes ('{1}') defines keys." - - - - - A string like "EntityType '{0}' has no key defined. Define the key for this EntityType." - - - - - A string like "NavigationProperty is not valid. Role '{0}' or Role '{1}' is not defined in Relationship '{2}'." - - - - - A string like "End '{0}' on relationship '{1}' cannot have an operation specified because its multiplicity is '*'. Operations cannot be specified on ends with multiplicity '*'." - - - - - A string like "Each Name and PluralName in a relationship must be unique. '{0}' is already defined." - - - - - A string like "In relationship '{0}', the Principal and Dependent Role of the referential constraint refer to the same Role in the relationship type." - - - - - A string like "Multiplicity is not valid in Role '{0}' in relationship '{1}'. Valid values for multiplicity for the Principal Role are '0..1' or '1'." - - - - - A string like "Multiplicity is not valid in Role '{0}' in relationship '{1}'. Because all the properties in the Dependent Role are nullable, multiplicity of the Principal Role must be '0..1'." - - - - - A string like "Multiplicity conflicts with the referential constraint in Role '{0}' in relationship '{1}'. Because at least one of the properties in the Dependent Role is non-nullable, multiplicity of the Principal Role must be '1'." - - - - - A string like "Multiplicity conflicts with the referential constraint in Role '{0}' in relationship '{1}'. Because all of the properties in the Dependent Role are non-nullable, multiplicity of the Principal Role must be '1'." - - - - - A string like "Properties referred by the Dependent Role '{0}' must be a subset of the key of the EntityType '{1}' referred to by the Dependent Role in the referential constraint for relationship '{2}'." - - - - - A string like "Multiplicity is not valid in Role '{0}' in relationship '{1}'. Because the Dependent Role refers to the key properties, the upper bound of the multiplicity of the Dependent Role must be '1'." - - - - - A string like "Multiplicity is not valid in Role '{0}' in relationship '{1}'. Because the Dependent Role properties are not the key properties, the upper bound of the multiplicity of the Dependent Role must be '*'." - - - - - A string like "The types of all properties in the Dependent Role of a referential constraint must be the same as the corresponding property types in the Principal Role. The type of property '{0}' on entity '{1}' does not match the type of property '{2}' on entity '{3}' in the referential constraint '{4}'." - - - - - A string like "There is no property with name '{0}' defined in the type referred to by Role '{1}'." - - - - - A string like "A nullable ComplexType is not supported. Property '{0}' must not allow nulls." - - - - - A string like "A property cannot be of type '{0}'. The property type must be a ComplexType or a PrimitiveType." - - - - - A string like "Each member name in an EntityContainer must be unique. A member with name '{0}' is already defined." - - - - - A string like "Each type name in a schema must be unique. Type name '{0}' is already defined." - - - - - A string like "Name '{0}' cannot be used in type '{1}'. Member names cannot be the same as their enclosing type." - - - - - A string like "Each property name in a type must be unique. Property name '{0}' is already defined." - - - - - A string like "A cycle was detected in the type hierarchy of '{0}'." - - - - - A string like "A property cannot be of type '{0}'. The property type must be a ComplexType, a PrimitiveType, or a CollectionType." - - - - - A string like "A property cannot be of type {0}. The property type must be a ComplexType, a PrimitiveType or an EnumType." - - - - - A string like "The specified name must not be longer than 480 characters: '{0}'." - - - - - A string like "The specified name is not allowed: '{0}'." - - - - - A string like "The field {0} must be a string or array type with a maximum length of '{1}'." - - - - - A string like "The field {0} must be a string or array type with a minimum length of '{1}'." - - - - - A string like "No connection string named '{0}' could be found in the application config file." - - - - - A string like "AutomaticMigration" - - - - - A string like "BootstrapMigration" - - - - - A string like "InitialCreate" - - - - - A string like "Automatic migration was not applied because it would result in data loss." - - - - - A string like "[Inserting migration history record]" - - - - - A string like "[Deleting migration history record]" - - - - - A string like "[Updating EdmMetadata model hash]" - - - - - A string like "Running Seed method." - - - - - A string like "No pending code-based migrations." - - - - - A string like "Explicit" - - - - - A string like "Upgrading history table." - - - - - A string like "Cannot scaffold the next migration because the target database was created with a version of Code First earlier than EF 4.3 and does not contain the migrations history table. To start using migrations against this database, ensure the current model is compatible with the target database and execute the migrations Update process. (In Visual Studio you can use the Update-Database command from Package Manager Console to execute the migrations Update process)." - - - - - A string like "Unable to update database to match the current model because there are pending changes and automatic migration is disabled. Either write the pending model changes to a code-based migration or enable automatic migration. Set DbMigrationsConfiguration.AutomaticMigrationsEnabled to true to enable automatic migration." - - - - - A string like "Scripting the downgrade between two specified migrations is not supported." - - - - - A string like "Direct column renaming is not supported by SQL Server Compact. To rename a column in SQL Server Compact, you will need to recreate it." - - - - - A string like "One or more validation errors were detected during model generation:" - - - - - A string like "A circular ComplexType hierarchy was detected. Self-referencing ComplexTypes are not supported." - - - - - A string like "Connection to the database failed. The connection string is configured with an invalid LocalDB server name. This may have been set in 'global.asax' by a pre-release version of MVC4. The default connection factory is now set in web.config so the line in 'global.asax' starting with 'Database.DefaultConnectionFactory = ' should be removed. See http://go.microsoft.com/fwlink/?LinkId=243166 for details." - - - - - A string like "An error occurred while getting provider information from the database. This can be caused by Entity Framework using an incorrect connection string. Check the inner exceptions for details and ensure that the connection string is correct." - - - - - A string like "Setting IsModified to false for a modified property is not supported." - - - - - A string like "An error occurred while saving entities that do not expose foreign key properties for their relationships. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. See the InnerException for details." - - - - - A string like "The set of property value names is read-only." - - - - - A string like "A property of a complex type must be set to an instance of the generic or non-generic DbPropertyValues class for that type." - - - - - A string like "Model compatibility cannot be checked because the DbContext instance was not created using Code First patterns. DbContext instances created from an ObjectContext or using an EDMX file cannot be checked for compatibility." - - - - - A string like "Model compatibility cannot be checked because the EdmMetadata type was not included in the model. Ensure that IncludeMetadataConvention has been added to the DbModelBuilder conventions." - - - - - A string like "Model compatibility cannot be checked because the database does not contain model metadata. Model compatibility can only be checked for databases created using Code First or Code First Migrations." - - - - - A string like "The context cannot be used while the model is being created." - - - - - A string like "The DbContext class cannot be used with models that have multiple entity sets per type (MEST)." - - - - - A string like "The operation cannot be completed because the DbContext has been disposed." - - - - - A string like "The provider factory returned a null connection." - - - - - A string like "The DbConnectionFactory instance returned a null connection." - - - - - A string like "The number of primary key values passed must match number of primary key values defined on the entity." - - - - - A string like "The type of one of the primary key values did not match the type defined in the entity. See inner exception for details." - - - - - A string like "Multiple entities were found in the Added state that match the given primary key values." - - - - - A string like "Data binding directly to a store query (DbSet, DbQuery, DbSqlQuery) is not supported. Instead populate a DbSet with data, for example by calling Load on the DbSet, and then bind to local data. For WPF bind to DbSet.Local. For WinForms bind to DbSet.Local.ToBindingList()." - - - - - A string like "The Include path expression must refer to a navigation property defined on the type. Use dotted paths for reference navigation properties and the Select operator for collection navigation properties." - - - - - A string like "Cannot initialize a DbContext from an entity connection string or an EntityConnection instance together with a DbCompiledModel. If an entity connection string or EntityConnection instance is used, then the model will be created from the metadata in the connection. If a DbCompiledModel is used, then the connection supplied should be a standard database connection (for example, a SqlConnection instance) rather than an entity connection." - - - - - A string like "Using the same DbCompiledModel to create contexts against different types of database servers is not supported. Instead, create a separate DbCompiledModel for each type of server being used." - - - - - A string like "Validation failed for one or more entities. See 'EntityValidationErrors' property for more details." - - - - - A string like "An exception occurred while initializing the database. See the InnerException for details." - - - - - A string like "Creating a DbModelBuilder or writing the EDMX from a DbContext created using an existing ObjectContext is not supported. EDMX can only be obtained from a Code First DbContext created without using an existing DbCompiledModel." - - - - - A string like "Creating a DbModelBuilder or writing the EDMX from a DbContext created using an existing DbCompiledModel is not supported. EDMX can only be obtained from a Code First DbContext created without using an existing DbCompiledModel." - - - - - A string like "Creating a DbModelBuilder or writing the EDMX from a DbContext created using Database First or Model First is not supported. EDMX can only be obtained from a Code First DbContext created without using an existing DbCompiledModel." - - - - - A string like "Code generated using the T4 templates for Database First and Model First development may not work correctly if used in Code First mode. To continue using Database First or Model First ensure that the Entity Framework connection string is specified in the config file of executing application. To use these classes, that were generated from Database First or Model First, with Code First add any additional configuration using attributes or the DbModelBuilder API and then remove the code that throws this exception." - - - - - A string like "The generic 'Set' method cannot be called with a proxy type. Either use the actual entity type or call the non-generic 'Set' method." - - - - - A string like "NavigationProperty is not valid. The FromRole and ToRole are the same." - - - - - A string like "OnDelete can be specified on only one End of an EdmAssociation." - - - - - A string like "The number of properties in the Dependent and Principal Roles in a relationship constraint must be identical." - - - - - A string like "The name is missing or not valid." - - - - - A string like "AssociationEnd must not be null." - - - - - A string like "DependentEnd must not be null." - - - - - A string like "DependentProperties must not be empty." - - - - - A string like "Association must not be null." - - - - - A string like "ResultEnd must not be null." - - - - - A string like "EntityType must not be null." - - - - - A string like "ElementType must not be null." - - - - - A string like "ElementType must not be null." - - - - - A string like "SourceSet must not be null." - - - - - A string like "TargetSet must not be null." - - - - - A string like "The type is not a valid EdmTypeReference." - - - - - A string like "Serializer can only serialize an EdmModel that has one EdmNamespace and one EdmEntityContainer." - - - - - A string like "MaxLengthAttribute must have a Length value that is greater than zero. Use MaxLength() without parameters to indicate that the string or array can have the maximum allowable length." - - - - - A string like "MinLengthAttribute must have a Length value that is zero or greater." - - - - - A string like "The connection can not be overridden because this context was created from an existing ObjectContext." - - - - - A string like "Can not override the connection for this context with a standard DbConnection because the original connection was an EntityConnection." - - - - - A string like "Can not override the connection for this context with an EntityConnection because the original connection was a standard DbConnection." - - - - - Strongly-typed and parameterized exception factory. - - - - - Migrations.Infrastructure.AutomaticDataLossException with message like "Automatic migration was not applied because it would result in data loss." - - - - - Migrations.Infrastructure.MigrationsException with message like "Cannot scaffold the next migration because the target database was created with a version of Code First earlier than EF 4.3 and does not contain the migrations history table. To start using migrations against this database, ensure the current model is compatible with the target database and execute the migrations Update process. (In Visual Studio you can use the Update-Database command from Package Manager Console to execute the migrations Update process)." - - - - - Migrations.Infrastructure.MigrationsException with message like "The specified target migration '{0}' does not exist. Ensure that target migration refers to an existing migration id." - - - - - Migrations.Infrastructure.MigrationsException with message like "The Foreign Key on table '{0}' with columns '{1}' could not be created because the principal key columns could not be determined. Use the AddForeignKey fluent API to fully specify the Foreign Key." - - - - - Migrations.Infrastructure.MigrationsException with message like "'{0}' is not a valid target migration. When targeting a previously applied automatic migration, use the full migration id including timestamp." - - - - - Migrations.Infrastructure.MigrationsException with message like "'{0}' is not a valid migration. Code-based migrations must be used for both source and target when scripting the upgrade between them." - - - - - Migrations.Infrastructure.MigrationsException with message like "The target context '{0}' is not constructible. Add a default constructor or provide an implementation of IDbContextFactory." - - - - - Migrations.Infrastructure.MigrationsException with message like "The specified migration name '{0}' is ambiguous. Specify the full migration id including timestamp instead." - - - - - Migrations.Infrastructure.AutomaticMigrationsDisabledException with message like "Unable to update database to match the current model because there are pending changes and automatic migration is disabled. Either write the pending model changes to a code-based migration or enable automatic migration. Set DbMigrationsConfiguration.AutomaticMigrationsEnabled to true to enable automatic migration." - - - - - Migrations.Infrastructure.MigrationsException with message like "Scripting the downgrade between two specified migrations is not supported." - - - - - Migrations.Infrastructure.MigrationsException with message like "The migrations configuration type '{0}' was not be found in the assembly '{1}'." - - - - - Migrations.Infrastructure.MigrationsException with message like "More than one migrations configuration type '{0}' was found in the assembly '{1}'. Specify the fully qualified name of the one to use." - - - - - Migrations.Infrastructure.MigrationsException with message like "No migrations configuration type was found in the assembly '{0}'. (In Visual Studio you can use the Enable-Migrations command from Package Manager Console to add a migrations configuration)." - - - - - Migrations.Infrastructure.MigrationsException with message like "More than one migrations configuration type was found in the assembly '{0}'. Specify the name of the one to use." - - - - - Migrations.Infrastructure.MigrationsException with message like "The type '{0}' is not a migrations configuration type." - - - - - Migrations.Infrastructure.MigrationsException with message like "The migrations configuration type '{0}' must have a public default constructor." - - - - - Migrations.Infrastructure.MigrationsException with message like "The migrations configuration type '{0}' must not be abstract." - - - - - Migrations.Infrastructure.MigrationsException with message like "The migrations configuration type '{0}' must not be generic." - - - - - Migrations.Infrastructure.MigrationsException with message like "Direct column renaming is not supported by SQL Server Compact. To rename a column in SQL Server Compact, you will need to recreate it." - - - - - Migrations.Infrastructure.MigrationsException with message like "In VB.NET projects, the migrations namespace '{0}' must be under the root namespace '{1}'. Update the migrations project's root namespace to allow classes under the migrations namespace to be added." - - - - - - Migrations.Infrastructure.MigrationsException with message like "No MigrationSqlGenerator found for provider '{0}'. Use the SetSqlGenerator method in the target migrations configuration class to register additional SQL generators." - - - - - Migrations.Infrastructure.MigrationsException with message like "No context type was found in the assembly '{0}'." - - - - - Migrations.Infrastructure.MigrationsException with message like "The context type '{0}' was not found in the assembly '{1}'." - - - - - Migrations.Infrastructure.MigrationsException with message like "More than one context type '{0}' was found in the assembly '{1}'. Specify the fully qualified name of the context." - - - - - ArgumentException with message like "The argument '{0}' cannot be null, empty or contain only white space." - - - - - ArgumentException with message like "The argument property '{0}' cannot be null." - - - - - ArgumentException with message like "The precondition '{0}' failed. {1}" - - - - - InvalidOperationException with message like "The type '{0}' has already been configured as a complex type. It cannot be reconfigured as an entity type." - - - - - InvalidOperationException with message like "The type '{0}' has already been configured as an entity type. It cannot be reconfigured as a complex type." - - - - - InvalidOperationException with message like "The key component '{0}' is not a declared property on type '{1}'. Verify that it has not been explicitly excluded from the model and that it is a valid primitive property." - - - - - InvalidOperationException with message like "The foreign key component '{0}' is not a declared property on type '{1}'. Verify that it has not been explicitly excluded from the model and that it is a valid primitive property." - - - - - InvalidOperationException with message like "The property '{0}' is not a declared property on type '{1}'. Verify that the property has not been explicitly excluded from the model by using the Ignore method or NotMappedAttribute data annotation. Make sure that it is a valid primitive property." - - - - - InvalidOperationException with message like "The navigation property '{0}' is not a declared property on type '{1}'. Verify that it has not been explicitly excluded from the model and that it is a valid navigation property." - - - - - InvalidOperationException with message like "The expression '{0}' is not a valid property expression. The expression should represent a property: C#: 't => t.MyProperty' VB.Net: 'Function(t) t.MyProperty'." - - - - - InvalidOperationException with message like "The expression '{0}' is not a valid property expression. The expression should represent a property: C#: 't => t.MyProperty' VB.Net: 'Function(t) t.MyProperty'. Use dotted paths for nested properties: C#: 't => t.MyProperty.MyProperty' VB.Net: 'Function(t) t.MyProperty.MyProperty'." - - - - - InvalidOperationException with message like "The properties expression '{0}' is not valid. The expression should represent a property: C#: 't => t.MyProperty' VB.Net: 'Function(t) t.MyProperty'. When specifying multiple properties use an anonymous type: C#: 't => new {{ t.MyProperty1, t.MyProperty2 }}' VB.Net: 'Function(t) New With {{ t.MyProperty1, t.MyProperty2 }}'." - - - - - InvalidOperationException with message like "The properties expression '{0}' is not valid. The expression should represent a property: C#: 't => t.MyProperty' VB.Net: 'Function(t) t.MyProperty'. When specifying multiple properties use an anonymous type: C#: 't => new {{ t.MyProperty1, t.MyProperty2 }}' VB.Net: 'Function(t) New With {{ t.MyProperty1, t.MyProperty2 }}'." - - - - - - InvalidOperationException with message like "Conflicting configuration settings were specified for property '{0}' on type '{1}': {2}" - - - - - InvalidOperationException with message like "Conflicting configuration settings were specified for column '{0}' on table '{1}': {2}" - - - - - InvalidOperationException with message like "The type '{0}' was not mapped. Check that the type has not been explicitly excluded by using the Ignore method or NotMappedAttribute data annotation. Verify that the type was defined as a class, is not primitive, nested or generic, and does not inherit from ComplexObject." - - - - - InvalidOperationException with message like "The type '{0}' was not mapped. Check that the type has not been explicitly excluded by using the Ignore method or NotMappedAttribute data annotation. Verify that the type was defined as a class, is not primitive, nested or generic, and does not inherit from EntityObject." - - - - - InvalidOperationException with message like "The navigation property '{0}' declared on type '{1}' cannot be the inverse of itself." - - - - - InvalidOperationException with message like "The navigation property '{0}' declared on type '{1}' has been configured with conflicting foreign keys." - - - - - MappingException with message like "Values of incompatible types ('{1}' and '{2}') were assigned to the '{0}' discriminator column. Values of the same type must be specified. To explicitly specify the type of the discriminator column use the HasColumnType method." - - - - - InvalidOperationException with message like "The navigation property '{0}' declared on type '{1}' has been configured with conflicting mapping information." - - - - - InvalidOperationException with message like "The navigation property '{0}' declared on type '{1}' has been configured with conflicting cascade delete operations using 'WillCascadeOnDelete'." - - - - - InvalidOperationException with message like "The navigation property '{0}' declared on type '{1}' has been configured with conflicting multiplicities." - - - - - InvalidOperationException with message like "The MaxLengthAttribute on property '{0}' on type '{1} is not valid. The Length value must be greater than zero. Use MaxLength() without parameters to indicate that the string or array can have the maximum allowable length." - - - - - InvalidOperationException with message like "The StringLengthAttribute on property '{0}' on type '{1}' is not valid. The maximum length must be greater than zero. Use MaxLength() without parameters to indicate that the string or array can have the maximum allowable length." - - - - - InvalidOperationException with message like "Unable to determine composite primary key ordering for type '{0}'. Use the ColumnAttribute or the HasKey method to specify an order for composite primary keys." - - - - - InvalidOperationException with message like "The ForeignKeyAttribute on property '{0}' on type '{1}' is not valid. Name must not be empty." - - - - - InvalidOperationException with message like "The ForeignKeyAttribute on property '{0}' on type '{1}' is not valid. The foreign key name '{2}' was not found on the dependent type '{3}'. The Name value should be a comma separated list of foreign key property names." - - - - - InvalidOperationException with message like "The ForeignKeyAttribute on property '{0}' on type '{1}' is not valid. The navigation property '{2}' was not found on the dependent type '{1}'. The Name value should be a valid navigation property name." - - - - - InvalidOperationException with message like "Unable to determine a composite foreign key ordering for foreign key on type {0}. When using the ForeignKey data annotation on composite foreign key properties ensure order is specified by using the Column data annotation or the fluent API." - - - - - InvalidOperationException with message like "The InversePropertyAttribute on property '{2}' on type '{3}' is not valid. The property '{0}' is not a valid navigation property on the related type '{1}'. Ensure that the property exists and is a valid reference or collection navigation property." - - - - - InvalidOperationException with message like "A relationship cannot be established from property '{0}' on type '{1}' to property '{0}' on type '{1}'. Check the values in the InversePropertyAttribute to ensure relationship definitions are unique and reference from one navigation property to its corresponding inverse navigation property." - - - - - InvalidOperationException with message like "A key is registered for the derived type '{0}'. Keys can only be registered for the root type '{1}'." - - - - - InvalidOperationException with message like "The type '{0}' has already been mapped to table '{1}'. Specify all mapping aspects of a table in a single Map call." - - - - - InvalidOperationException with message like "Map was called more than once for type '{0}' and at least one of the calls didn't specify the target table name." - - - - - InvalidOperationException with message like "The derived type '{0}' has already been mapped using the chaining syntax. A derived type can only be mapped once using the chaining syntax." - - - - - InvalidOperationException with message like "An "is not null" condition cannot be specified on property '{0}' on type '{1}' because this property is not included in the model. Check that the property has not been explicitly excluded from the model by using the Ignore method or NotMappedAttribute data annotation." - - - - - ArgumentException with message like "Values of type '{0}' cannot be used as type discriminator values. Supported types include byte, signed byte, bool, int16, int32, int64, and string." - - - - - InvalidOperationException with message like "Unable to add the convention '{0}'. Could not find an existing convention of type '{1}' in the current convention set." - - - - - InvalidOperationException with message like "Not all properties for type '{0}' have been mapped. Either map those properties or explicitly excluded them from the model." - - - - - NotSupportedException with message like "Unable to determine the provider name for connection of type '{0}'." - - - - - ArgumentException with message like "The qualified table name '{0}' contains an invalid schema name. Schema names must have a non-zero length." - - - - - ArgumentException with message like "The qualified table name '{0}' contains an invalid table name. Table names must have a non-zero length." - - - - - InvalidOperationException with message like "Properties for type '{0}' can only be mapped once. Ensure the MapInheritedProperties method is only used during one call to the Map method." - - - - - InvalidOperationException with message like "Properties for type '{0}' can only be mapped once. Ensure the Properties method is used and that repeated calls specify each non-key property only once." - - - - - InvalidOperationException with message like "Properties for type '{0}' can only be mapped once. The non-key property '{1}' is mapped more than once. Ensure the Properties method specifies each non-key property only once." - - - - - InvalidOperationException with message like "The property '{1}' on type '{0}' cannot be mapped because it has been explicitly excluded from the model or it is of a type not supported by the DbModelBuilderVersion being used." - - - - - InvalidOperationException with message like "The entity types '{0}' and '{1}' cannot share table '{2}' because they are not in the same type hierarchy or do not have a valid one to one foreign key relationship with matching primary keys between them." - - - - - InvalidOperationException with message like "You cannot use Ignore method on the property '{0}' on type '{1}' because this type inherits from the type '{2}' where this property is mapped. To exclude this property from your model, use NotMappedAttribute or Ignore method on the base type." - - - - - InvalidOperationException with message like "The property '{0}' cannot be used as a key property on the entity '{1}' because the property type is not a valid key type. Only scalar types, string and byte[] are supported key types." - - - - - InvalidOperationException with message like "The specified table '{0}' was not found in the model. Ensure that the table name has been correctly specified." - - - - - InvalidOperationException with message like "The specified association foreign key columns '{0}' are invalid. The number of columns specified must match the number of primary key columns." - - - - - InvalidOperationException with message like "A circular ComplexType hierarchy was detected. Self-referencing ComplexTypes are not supported." - - - - - InvalidOperationException with message like "Unable to determine the principal end of an association between the types '{0}' and '{1}'. The principal end of this association must be explicitly configured using either the relationship fluent API or data annotations." - - - - - InvalidOperationException with message like "The abstract type '{0}' has no mapped descendents and so cannot be mapped. Either remove '{0}' from the model or add one or more types deriving from '{0}' to the model. " - - - - - NotSupportedException with message like "The type '{0}' cannot be mapped as defined because it maps inherited properties from types that use entity splitting or another form of inheritance. Either choose a different inheritance mapping strategy so as to not map inherited properties, or change all types in the hierarchy to map inherited properties and to not use splitting. " - - - - - InvalidOperationException with message like "The table '{0}' was configured but is not used in any mappings. Verify the mapping configuration for '{0}' is correct." - - - - - InvalidOperationException with message like "The configured column orders for the table '{0}' contains duplicates. Ensure the specified column order values are distinct." - - - - - NotSupportedException with message like "The enum or spatial property '{1}' on type '{0}' cannot be mapped. Use DbModelBuilderVersion 'V5_0' or later to map enum or spatial properties." - - - - - InvalidOperationException with message like "Multiple potential primary key properties named '{0}' but differing only by case were found on entity type '{1}'. Configure the primary key explicitly using the HasKey fluent API or the KeyAttribute data annotation." - - - - - InvalidOperationException with message like "Cannot get value for property '{0}' from entity of type '{1}' because the property has no get accessor." - - - - - InvalidOperationException with message like "Cannot set value for property '{0}' on entity of type '{1}' because the property has no set accessor." - - - - - - NotSupportedException with message like "Cannot set value for property '{0}' on entity of type '{1}' because the property has no set accessor and is in the '{2}' state." - - - - - InvalidOperationException with message like "Member '{0}' cannot be called for property '{1}' on entity of type '{2}' because the property is not part of the Entity Data Model." - - - - - - ArgumentException with message like "Cannot call the {0} method for an entity of type '{1}' on a DbSet for entities of type '{2}'. Only entities of type '{2}' or derived from type '{2}' can be added, attached, or removed." - - - - - ArgumentException with message like "Cannot call the Create method for the type '{0}' on a DbSet for entities of type '{1}'. Only entities of type '{1}' or derived from type '{1}' can be created." - - - - - - - ArgumentException with message like "The property '{0}' on type '{1}' is a collection navigation property. The Collection method should be used instead of the Reference method." - - - - - ArgumentException with message like "The property '{0}' on type '{1}' is a reference navigation property. The Reference method should be used instead of the Collection method." - - - - - ArgumentException with message like "The property '{0}' on type '{1}' is not a navigation property. The Reference and Collection methods can only be used with navigation properties. Use the Property or ComplexProperty method." - - - - - ArgumentException with message like "The property '{0}' on type '{1}' is not a primitive or complex property. The Property method can only be used with primitive or complex properties. Use the Reference or Collection method." - - - - - ArgumentException with message like "The property '{0}' on type '{1}' is not a complex property. The ComplexProperty method can only be used with complex properties. Use the Property, Reference or Collection method." - - - - - ArgumentException with message like "The property '{0}' on type '{1}' is not a primitive property, complex property, collection navigation property, or reference navigation property." - - - - - ArgumentException with message like ""The property '{0}' from the property path '{1}' is not a complex property on type '{2}'. Property paths must be composed of complex properties for all except the final property."" - - - - - NotSupportedException with message like "Setting IsModified to false for a modified property is not supported." - - - - - ArgumentException with message like ""The property path '{0}' cannot be used for navigation properties. Property paths can only be used to access primitive or complex properties."" - - - - - ArgumentException with message like "The navigation property '{0}' on entity type '{1}' cannot be used for entities of type '{2}' because it refers to entities of type '{3}'." - - - - - ArgumentException with message like "The generic type argument '{0}' cannot be used with the Member method when accessing the collection navigation property '{1}' on entity type '{2}'. The generic type argument '{3}' must be used instead." - - - - - ArgumentException with message like "The property '{0}' on entity type '{1}' cannot be used for objects of type '{2}' because it is a property for objects of type '{3}'." - - - - - ArgumentException with message like "The expression passed to method {0} must represent a property defined on the type '{1}'." - - - - - InvalidOperationException with message like "{0} cannot be used for entities in the {1} state." - - - - - InvalidOperationException with message like "Cannot set non-nullable property '{0}' of type '{1}' to null on object of type '{2}'." - - - - - InvalidOperationException with message like "The property '{0}' in the entity of type '{1}' is null. Store values cannot be obtained for an entity with a null complex property." - - - - - InvalidOperationException with message like "Cannot assign value of type '{0}' to property '{1}' of type '{2}' in property values for type '{3}'." - - - - - NotSupportedException with message like "The set of property value names is read-only." - - - - - ArgumentException with message like "The '{0}' property does not exist or is not mapped for the type '{1}'." - - - - - ArgumentException with message like "Cannot copy values from DbPropertyValues for type '{0}' into DbPropertyValues for type '{1}'." - - - - - ArgumentException with message like "Cannot copy from property values for object of type '{0}' into property values for object of type '{1}'." - - - - - ArgumentException with message like "A property of a complex type must be set to an instance of the generic or non-generic DbPropertyValues class for that type." - - - - - InvalidOperationException with message like "The value of the complex property '{0}' on entity of type '{1}' is null. Complex properties cannot be set to null and values cannot be set for null complex properties." - - - - - InvalidOperationException with message like "The value of the nested property values property '{0}' on the values for entity of type '{1}' is null. Nested property values cannot be set to null and values cannot be set for null complex properties." - - - - - InvalidOperationException with message like "Cannot set the value of the nested property '{0}' because value of the complex property '{1}' to which it belongs is null." - - - - - InvalidOperationException with message like "Cannot set the original value of the nested property '{0}' because the original value of the complex property '{1}' to which it belongs is null." - - - - - InvalidOperationException with message like "The model backing the '{0}' context has changed since the database was created. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=238269)." - - - - - InvalidOperationException with message like "Database '{0}' cannot be created because it already exists." - - - - - NotSupportedException with message like "Model compatibility cannot be checked because the DbContext instance was not created using Code First patterns. DbContext instances created from an ObjectContext or using an EDMX file cannot be checked for compatibility." - - - - - NotSupportedException with message like "Model compatibility cannot be checked because the EdmMetadata type was not included in the model. Ensure that IncludeMetadataConvention has been added to the DbModelBuilder conventions." - - - - - NotSupportedException with message like "Model compatibility cannot be checked because the database does not contain model metadata. Model compatibility can only be checked for databases created using Code First or Code First Migrations." - - - - - - - InvalidOperationException with message like "Failed to set database initializer of type '{0}' for DbContext type '{1}' specified in the application configuration. See inner exception for details." - - - - - InvalidOperationException with message like "Configuration for DbContext type '{0}' is specified multiple times in the application configuration. Each context can only be configured once." - - - - - InvalidOperationException with message like "Failed to set Database.DefaultConnectionFactory to an instance of the '{0}' type as specified in the application configuration. See inner exception for details." - - - - - InvalidOperationException with message like "The type '{0}' could not be found. The type name must be an assembly-qualified name." - - - - - InvalidOperationException with message like "The context cannot be used while the model is being created." - - - - - InvalidOperationException with message like "The DbContext class cannot be used with models that have multiple entity sets per type (MEST)." - - - - - InvalidOperationException with message like "The operation cannot be completed because the DbContext has been disposed." - - - - - InvalidOperationException with message like "The provider factory returned a null connection." - - - - - InvalidOperationException with message like "The connection string '{0}' in the application's configuration file does not contain the required providerName attribute."" - - - - - InvalidOperationException with message like "The DbConnectionFactory instance returned a null connection." - - - - - ArgumentException with message like "The number of primary key values passed must match number of primary key values defined on the entity." - - - - - ArgumentException with message like "The type of one of the primary key values did not match the type defined in the entity. See inner exception for details." - - - - - InvalidOperationException with message like "The entity found was of type {0} when an entity of type {1} was requested." - - - - - InvalidOperationException with message like "Multiple entities were found in the Added state that match the given primary key values." - - - - - InvalidOperationException with message like "The type '{0}' is mapped as a complex type. The Set method, DbSet objects, and DbEntityEntry objects can only be used with entity types, not complex types." - - - - - InvalidOperationException with message like "The type '{0}' is not attributed with EdmEntityTypeAttribute but is contained in an assembly attributed with EdmSchemaAttribute. POCO entities that do not use EdmEntityTypeAttribute cannot be contained in the same assembly as non-POCO entities that use EdmEntityTypeAttribute." - - - - - InvalidOperationException with message like "The entity type {0} is not part of the model for the current context." - - - - - NotSupportedException with message like "Data binding directly to a store query (DbSet, DbQuery, DbSqlQuery) is not supported. Instead populate a DbSet with data, for example by calling Load on the DbSet, and then bind to local data. For WPF bind to DbSet.Local. For WinForms bind to DbSet.Local.ToBindingList()." - - - - - ArgumentException with message like "The Include path expression must refer to a navigation property defined on the type. Use dotted paths for reference navigation properties and the Select operator for collection navigation properties." - - - - - InvalidOperationException with message like "No connection string named '{0}' could be found in the application config file." - - - - - InvalidOperationException with message like "Cannot initialize a DbContext from an entity connection string or an EntityConnection instance together with a DbCompiledModel. If an entity connection string or EntityConnection instance is used, then the model will be created from the metadata in the connection. If a DbCompiledModel is used, then the connection supplied should be a standard database connection (for example, a SqlConnection instance) rather than an entity connection." - - - - - NotSupportedException with message like "The collection navigation property '{0}' on the entity of type '{1}' cannot be set because the entity type does not define a navigation property with a set accessor." - - - - - NotSupportedException with message like "Using the same DbCompiledModel to create contexts against different types of database servers is not supported. Instead, create a separate DbCompiledModel for each type of server being used." - - - - - InvalidOperationException with message like "Multiple object sets per type are not supported. The object sets '{0}' and '{1}' can both contain instances of type '{2}'." - - - - - InvalidOperationException with message like "The context type '{0}' must have a public constructor taking an EntityConnection." - - - - - NotSupportedException with message like "The database name '{0}' is not supported because it is an MDF file name. A full connection string must be provided to attach an MDF file." - - - - - DataException with message like "An exception occurred while initializing the database. See the InnerException for details." - - - - - NotSupportedException with message like "Creating a DbModelBuilder or writing the EDMX from a DbContext created using an existing ObjectContext is not supported. EDMX can only be obtained from a Code First DbContext created without using an existing DbCompiledModel." - - - - - NotSupportedException with message like "Creating a DbModelBuilder or writing the EDMX from a DbContext created using an existing DbCompiledModel is not supported. EDMX can only be obtained from a Code First DbContext created without using an existing DbCompiledModel." - - - - - NotSupportedException with message like "Creating a DbModelBuilder or writing the EDMX from a DbContext created using Database First or Model First is not supported. EDMX can only be obtained from a Code First DbContext created without using an existing DbCompiledModel." - - - - - InvalidOperationException with message like "The context factory type '{0}' must have a public default constructor." - - - - - InvalidOperationException with message like "The generic 'Set' method cannot be called with a proxy type. Either use the actual entity type or call the non-generic 'Set' method." - - - - - InvalidOperationException with message like "MaxLengthAttribute must have a Length value that is greater than zero. Use MaxLength() without parameters to indicate that the string or array can have the maximum allowable length." - - - - - InvalidOperationException with message like "MinLengthAttribute must have a Length value that is zero or greater." - - - - - InvalidOperationException with message like "No connection string named '{0}' could be found in the application config file." - - - - - InvalidOperationException with message like "The connection can not be overridden because this context was created from an existing ObjectContext." - - - - - InvalidOperationException with message like "Can not override the connection for this context with a standard DbConnection because the original connection was an EntityConnection." - - - - - InvalidOperationException with message like "Can not override the connection for this context with an EntityConnection because the original connection was a standard DbConnection." - - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - - AutoGenerated resource class. Usage: - - string s = EntityRes.GetString(EntityRes.MyIdenfitier); - - - - - Allows the construction and modification of a user-specified annotation (name-value pair) on a instance. - - - - - Gets or sets an optional namespace that can be used to distinguish the annotation from others with the same value. - - - - - Gets or sets the name of the annotation. - - - - - Gets or sets the value of the annotation. - - - - - - - - - DataModelEventArgs is the base argument type for all events raised by consumers of Entity Data Model (EDM) models. - - - - - Gets a value indicating the that caused the event to be raised. - - - - - Gets an optional value indicating which property of the source item caused the event to be raised. - - - - - Gets a value that identifies the specific error that is being raised. - - - - - Gets an optional descriptive message the describes the error that is being raised. - - - - - DbAliasedMetadataItem provides the base type for all Database Metadata types that can have an optional that should be used instead of the item's when referring to the item in the database. - - - - - NamedDbItem is the base for all types in the Database Metadata construction and modification API with a property. - - - - - The base for all all Database Metadata types that support annotation using . - - - - - DbDataModelItem is the base for all types in the Database Metadata construction and modification API. - - - - - Gets or sets the currently assigned annotations. - - - - - Gets or sets the currently assigned name. - - - - - Gets an optional alternative identifier that should be used when referring to this item in the database. - - - - - When implemented in derived types, allows the construction and modification of a column in a Database Metadata table or row. - - - - - Gets or sets a string indicating the database-specific type of the column. - - - - - Gets or sets a value indicating whether the column is nullable. - - - - - Gets or sets an optional instance that applies additional constraints to the referenced database-specific type of the column. - - - - - Allows the construction and modification of a database in a Database Metadata model. - - - - - Gets or sets an optional value that indicates the database model version. - - - - - Gets or sets the collection of instances that specifies the schemas within the database. - - - - - Allows the construction and modification of a foreign key constraint sourced by a instance. - - - - - Gets or sets the to take when a delete operation is attempted. - - - - - Indicates which Database Metadata concept is represented by a given item. - - - - - Database Kind - - - - - Schema Kind - - - - - Foreign Key Constraint Kind - - - - - Function Kind - - - - - Function Parameter Kind - - - - - Function Return or Parameter Type Kind - - - - - Row Column Kind - - - - - Table Kind - - - - - Table Column Kind - - - - - Primitive Facets Kind - - - - - Specifies the action to take on a given operation. - - - - - Default behavior - - - - - Restrict the operation - - - - - Cascade the operation - - - - - Allows the construction and modification of additional constraints that can be applied to a specific use of a primitive type in a Database Metadata item. - - - - - Returns true if any facet value property currently has a non-null value; otherwise returns false . - - - - - Gets or sets an optional value indicating whether the referenced type should be considered to have a fixed or variable length. - - - - - Gets or sets an optional value indicating whether the referenced type should be considered to have its intrinsic maximum length, rather than a specific value. - - - - - Gets or sets an optional value indicating whether the referenced type should be considered to be Unicode or non-Unicode. - - - - - Gets or sets an optional value indicating the current constraint on the type's maximum length. - - - - - Gets or sets an optional value indicating the current constraint on the type's precision. - - - - - Gets or sets an optional value indicating the current constraint on the type's scale. - - - - - Gets or sets an optional value indicating the current spatial type's SRID. - - - - - Gets or sets an optional value indicating the current spatial type's SRID. - - - - - Gets or sets an optional value indicating whether the spatial type is to be type checked strictly. - - - - - Allows the construction and modification of a database schema in a database model. - - - - - Gets or sets the collection of instances that specifies the tables declared within the schema. - - - - - DbSchemaMetadataItem is the base for all types that can be contained in a schema. - - - - - Allows the construction and modification of a column in a table. - - - - - Gets or sets a value indicating whether the column is part of the table's primary key. - - - - - Gets or sets a value indicating if and how the value of the column is automatically generated. - - - - - Gets or sets an optional value indicating the collation specific to this table column. - - - - - Gets or sets an optional value that specifies the default value for the column. - - - - - Allows the construction and modification a table in a database schema. - - - - - Gets or sets the collection of instances that specifies the columns present within the table. - - - - - Gets or sets the collection of instances from the collection of the table that are part of the primary key. - - - - - Gets or sets the collection of instances that defines the foreign key constraints sourced from the table. - - - - - Represents a specific use of a type in a Database Metadata item. - - - - - Gets or sets an optional instance that applies additional constraints to a referenced primitive type. - - - Accessing this property forces the creation of a DbPrimitiveTypeFacets value if no value has previously been set. Use to determine whether or not this property currently has a value. - - - - - Gets or sets a value indicating whether the represented type is a collection type. - - - - - Gets or sets an optional value indicating whether the referenced type should be considered nullable. - - - - - Gets a value indicating whether the type has been configured as a row type by the addition of one or more RowColumns. - - - - - Represents the mapping of an EDM association end ( ) as a collection of property mappings ( ). - - - - - DbMappingMetadataItem is the base for all types in the EDM-to-Database Mapping construction and modification API that support annotation using . - - - - - DbMappingModelItem is the base for all types in the EDM-to-Database Mapping construction and modification API. - - - - - Gets or sets the currently assigned annotations. - - - - - Gets an value representing the association end that is being mapped. - - - - - Gets the collection of s that specifies how the association end key properties are mapped to the table. - - - - - Gets an value representing the association set that is being mapped. - - - - - Gets a value representing the table to which the entity type's properties are being mapped. - - - - - Gets the collection of s that specifies the constant or null values that columns in must have for this type mapping to apply. - - - - - Allows the construction and modification of a condition for a column in a database table. - - - - - Gets or sets a value representing the table column which must contain for this condition to hold. - - - - - Gets or sets the value that must contain for this condition to hold. - - - - - Gets or sets an value representing the model that is being mapped. - - - - - Gets or sets a value representing the database that is the target of the mapping. - - - - - Gets or sets the collection of s that specifies how the model's entity containers are mapped to the database. - - - - - Represents the mapping of an entity property to a column in a database table. - - - - - Gets or sets the collection of instances that defines the mapped property, beginning from a property declared by the mapped entity type and optionally proceeding through properties of complex property result types. - - - - - Gets or sets a value representing the table column to which the entity property is being mapped. - - - - - Allows the construction and modification of the mapping of an EDM entity container ( ) to a database ( ). - - - - - Gets or sets an value representing the entity container that is being mapped. - - - - - Gets or sets the collection of s that specifies how the container's entity sets are mapped to the database. - - - - - Gets the collection of s that specifies how the container's association sets are mapped to the database. - - - - - Allows the construction and modification of the mapping of an EDM entity set ( ) to a database ( ). - - - - - Gets or sets an value representing the entity set that is being mapped. - - - - - Gets or sets the collection of s that specifies how the set's entity types are mapped to the database. - - - - - Allows the construction and modification of a complete or partial mapping of an EDM entity type ( ) or type hierarchy to a specific database table ( ). - - - - - Gets or sets an value representing the entity type or hierarchy that is being mapped. - - - - - Gets or sets a value indicating whether this type mapping applies to and all its direct or indirect subtypes ( true ), or only to ( false ). - - - - - Gets a value representing the table to which the entity type's properties are being mapped. - - - - - Gets the collection of s that specifies how the type's properties are mapped to the table. - - - - - Gets the collection of s that specifies the constant or null values that columns in must have for this type mapping fragment to apply. - - - - - Indicates which EDM-to-Database Mapping concept is represented by a given item. - - - - - Database Mapping Kind - - - - - Entity Container Mapping Kind - - - - - Entity Set Mapping Kind - - - - - Association Set Mapping Kind - - - - - Entity Type Mapping Kind - - - - - Query View Mapping Kind - - - - - Entity Type Mapping Fragment Kind - - - - - Edm Property Mapping Kind - - - - - Association End Mapping Kind - - - - - Column Condition Kind - - - - - Property Condition Kind - - - - - Allows the construction and modification of a constraint applied to an Entity Data Model (EDM) association. - - - - - Gets or sets the that represents the 'dependent' end of the constraint; properties from this association end's entity type contribute to the collection. - - - - - Gets or sets the collection of instances from the of the constraint. The values of these properties are constrained against the primary key values of the remaining, 'principal' association end's entity type. - - - - - Allows the construction and modification of one end of an Entity Data Model (EDM) association. - - - - - Gets or sets the entity type referenced by this association end. - - - - - Gets or sets the of this association end, which indicates the multiplicity of the end and whether or not it is required. - - - - - Gets or sets the to take when a delete operation is attempted. - - - - - Indicates the multiplicity of an and whether or not it is required. - - - - - Allows the construction and modification of an association set in an Entity Data Model (EDM) ). - - - - - Represents an item in an Entity Data Model (EDM) . - - - - - Gets or sets the that specifies the association type for the set. - - - - - Gets or sets the that specifies the entity set corresponding to the association end for this association set. - - - - - Gets or sets the that specifies the entity set corresponding to the association end for this association set. - - - - - - The base for all all Entity Data Model (EDM) types that represent a structured type from the EDM type system. - - - - - Gets or sets the that defines the source end of the association. - - - - - Gets or sets the that defines the target end of the association. - - - - - Gets or sets the optional constraint that indicates whether the relationship is an independent association (no constraint present) or a foreign key relationship ( specified). - - - - - Collection semantics for properties. - - - - - The property does not have a collection type or does not specify explicit collection semantics. - - - - - The property is an unordered collection that may contain duplicates. - - - - - The property is an ordered collection that may contain duplicates. - - - - - Allows the construction and modification of a complex type in an Entity Data Model (EDM) . - - - - - Gets or sets the optional that indicates the base complex type of the complex type. - - - - - Gets or sets a value indicating whether the complex type is abstract. - - - - - Gets or sets the collection of instances that describe the (scalar or complex) properties of the complex type. - - - - - Concurrency mode for properties. - - - - - Default concurrency mode: the property is never validated at write time - - - - - Fixed concurrency mode: the property is always validated at write time - - - - - Allows the construction and modification of an entity container in an Entity Data Model (EDM) . - - - - - Gets all s declared within the namspace. Includes s and s. - - - - - Gets or sets the collection of s that specifies the association sets within the container. - - - - - Gets or sets the collection of s that specifies the entity sets within the container. - - - - - Allows the construction and modification of an entity set in an Entity Data Model (EDM) . - - - - - Gets or sets the that specifies the entity type for the set. - - - - - Allows the construction and modification of an entity type in an Entity Data Model (EDM) . - - - - - Gets or sets the optional that indicates the base entity type of the entity type. - - - - - Gets or sets a value indicating whether the entity type is abstract. - - - - - Gets or sets the collection of s that specifies the properties declared by the entity type. - - - - - Gets or sets the collection of s that indicates which properties from the collection are part of the entity key. - - - - - Gets or sets the optional collection of s that specifies the navigation properties declared by the entity type. - - - - - Indicates which Entity Data Model (EDM) concept is represented by a given item. - - - - - Association End Kind - - - - - Association Set Kind - - - - - Association Type Kind - - - - - Collection Type Kind - - - - - Complex Type Kind - - - - - Entity Container Kind - - - - - Entity Set Kind - - - - - Entity Type Kind - - - - - Function Group Kind - - - - - Function Overload Kind - - - - - Function Import Kind - - - - - Function Parameter Kind - - - - - Navigation Property Kind - - - - - EdmProperty Type Kind - - - - - Association Constraint Type Kind - - - - - Ref Type Kind - - - - - Row Column Kind - - - - - Row Type Kind - - - - - Type Reference Kind - - - - - Model Kind - - - - - Namespace Kind - - - - - Primitive Facets Kind - - - - - Primitive Type Kind - - - - - Enum Type Kind - - - - - Enum Type Member Kind - - - - - EdmModel is the top-level container for namespaces and entity containers belonging to the same logical Entity Data Model (EDM) model. - - - - - Gets or sets an optional value that indicates the entity model version. - - - - - Gets or sets the containers declared within the model. - - - - - Gets or sets the namespaces declared within the model. - - - - - Allows the construction and modification of a namespace in an . - - - - - Gets all s declared within the namspace. Includes s, s, s. - - - - - Gets or sets the s declared within the namespace. - - - - - Gets or sets the s declared within the namespace. - - - - - Gets or sets the s declared within the namespace. - - - - - Allows the construction and modification of an Entity Data Model (EDM) navigation property. - - - - - Gets or sets the that specifies the association over which navigation takes place. - - - - - Gets or sets the that specifies which association end is the 'destination' end of the navigation and produces the navigation property result. - - - - - Specifies the action to take on a given operation. - - - - - Default behavior - - - - - Restrict the operation - - - - - Cascade the operation - - - - - Represents one of the fixed set of Entity Data Model (EDM) primitive types. - - - - - The base for all all Entity Data Model (EDM) types that represent a scalar type from the EDM type system. - - - - - Retrieves the EdmPrimitiveType instance with the corresponding to the specified value, if any. - - The name of the primitive type instance to retrieve - The EdmPrimitiveType with the specified name, if successful; otherwise null . - true if the given name corresponds to an EDM primitive type name; otherwise false . - - - - Gets the EdmPrimitiveType instance that represents the primitive type. - - - - - Gets the EdmPrimitiveType instance that represents the primitive type. - - - - - Gets the EdmPrimitiveType instance that represents the primitive type. - - - - - Gets the EdmPrimitiveType instance that represents the primitive type. - - - - - Gets the EdmPrimitiveType instance that represents the primitive type. - - - - - Gets the EdmPrimitiveType instance that represents the primitive type. - - - - - Gets the EdmPrimitiveType instance that represents the primitive type. - - - - - Gets the EdmPrimitiveType instance that represents the primitive type. - - - - - Gets the EdmPrimitiveType instance that represents the primitive type. - - - - - Gets the EdmPrimitiveType instance that represents the primitive type. - - - - - Gets the EdmPrimitiveType instance that represents the primitive type. - - - - - Gets the EdmPrimitiveType instance that represents the primitive type. - - - - - Gets the EdmPrimitiveType instance that represents the primitive type. - - - - - Gets the EdmPrimitiveType instance that represents the primitive type. - - - - - Gets the EdmPrimitiveType instance that represents the primitive type. - - - - - Gets an value that indicates which Entity Data Model (EDM) primitive type this type represents. - - - - - Allows the construction and modification of additional constraints that can be applied to a specific use of a primitive type in an Entity Data Model (EDM) item. See . - - - - - Returns true if any facet value property currently has a non-null value; otherwise returns false . - - - - - Gets or sets an optional value indicating the current constraint on the type's maximum length. - - - - - Gets or sets an optional value indicating whether the referenced type should be considered to have its intrinsic maximum length, rather than a specific value. - - - - - Gets or sets an optional value indicating whether the referenced type should be considered to have a fixed or variable length. - - - - - Gets or sets an optional value indicating whether the referenced type should be considered to be Unicode or non-Unicode. - - - - - Gets or sets an optional value indicating the current constraint on the type's precision. - - - - - Gets or sets an optional value indicating the current constraint on the type's scale. - - - - - Gets or sets an optional value indicating that the current spatial type's SRID is unconstrained. - - - - - Gets or sets an optional value indicating the current spatial type's SRID. - - - - - Gets or sets an optional value indicating whether the spatial type is to be type checked strictly. - - - - - Primitive Types as defined by the Entity Data Model (EDM). - - - - - Binary Type Kind - - - - - Boolean Type Kind - - - - - Byte Type Kind - - - - - DateTime Type Kind - - - - - Decimal Type Kind - - - - - Double Type Kind - - - - - Guid Type Kind - - - - - Single Type Kind - - - - - SByte Type Kind - - - - - Int16 Type Kind - - - - - Int32 Type Kind - - - - - Int64 Type Kind - - - - - String Type Kind - - - - - Time Type Kind - - - - - DateTimeOffset Type Kind - - - - - Geometry Type Kind - - - - - Geography Type Kind - - - - - Geometric point type kind - - - - - Geometric linestring type kind - - - - - Geometric polygon type kind - - - - - Geometric multi-point type kind - - - - - Geometric multi-linestring type kind - - - - - Geometric multi-polygon type kind - - - - - Geometric collection type kind - - - - - Geographic point type kind - - - - - Geographic linestring type kind - - - - - Geographic polygon type kind - - - - - Geographic multi-point type kind - - - - - Geographic multi-linestring type kind - - - - - Geographic multi-polygon type kind - - - - - Geographic collection type kind - - - - - Allows the construction and modification of a primitive- or complex-valued property of an Entity Data Model (EDM) entity or complex type. - - - - - Gets or sets an value that indicates which collection semantics - if any - apply to the property. - - - - - Gets or sets a value that indicates whether the property is used for concurrency validation. - - - - - Gets or sets on optional value that indicates an initial default value for the property. - - - - - Gets or sets an that specifies the result type of the property. - - - - - Enumerates all s declared or inherited by an . - - - - - Allows the construction and modification of a specific use of a type in an Entity Data Model (EDM) item. See for examples. - - - - - Gets or sets a value indicating the collection rank of the type reference. A collection rank greater than zero indicates that the type reference represents a collection of its referenced . - - - - - Gets or sets a value indicating the referenced by this type reference. - - - - - Gets or sets an optional value indicating whether the referenced type should be considered nullable. - - - - - Gets or sets an optional instance that applies additional constraints to a referenced primitive type. - - - Accessing this property forces the creation of an EdmPrimitiveTypeFacets value if no value has previously been set. Use to determine whether or not this property currently has a value. - - - - - Gets a value indicating whether the property of this type reference has been assigned an value with at least one facet value specified. - - - - - Indicates whether this type reference represents a collection of its referenced (when is greater than zero) or not. - - - - - Indicates whether the property of this type reference currently refers to an , is not a collection type, and does not have primitive facet values specified. - - - - - Gets the currently referred to by this type reference, or null if the type reference is a collection type or does not refer to a complex type. - - - - - Indicates whether the property of this type reference currently refers to an and is not a collection type. - - - - - Gets the currently referred to by this type reference, or null if the type reference is a collection type or does not refer to a primitive type. - - - - - Contains constant values that apply to the EDM model, regardless of source (for CSDL specific constants see ). - - - - - Parsing code taken from System.dll's System.CodeDom.Compiler.CodeGenerator.IsValidLanguageIndependentIdentifier(string) method to avoid LinkDemand needed to call this method - - - - - - - - - - - Constants for CSDL XML. - - - - - Constants for C-S MSL XML. - - - - - Constants for SSDL XML. - - - - - The acceptable range for this enum is 0000 - 0999; the range 10,000-15,000 is reserved for tools. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Precision out of range - - - - - Scale out of range - - - - - - - - - - - - - One of the required facets is missing - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The facet isn't allow by the property type. - - - - - This facet value is constant and is specified in the schema - - - - - - - - - - - - - Multiplicity value was malformed - - - - - The value for the Action attribute is invalid or not allowed in the current context - - - - - An error occurred processing the On<Operation> elements - - - - - Ends were given for the Property element of a EntityContainer that is not a RelationshipSet - - - - - The extent name used in the EntittyContainerType End does not match the name of any of the EntityContainerProperties in the containing EntityContainer - - - - - An end element was not given, and cannot be inferred because too many EntityContainerEntitySet elements that are good possibilities. - - - - - An end element was not given, and cannot be inferred because there is no EntityContainerEntitySets that are the correct type to be used as an EntitySet. - - - - - Not a valid parameter direction for the parameter in a function - - - - - Unable to infer an optional schema part, to resolve this; be more explicit - - - - - Invalid facet attribute(s) specified in provider manifest - - - - - Invalid role value in the relationship constraint - - - - - Invalid Property in relationship constraint - - - - - Type mismatch between ToProperty and FromProperty in the relationship constraint - - - - - Invalid multiplicity in FromRole in the relationship constraint - - - - - The number of properties in the FromProperty and ToProperty in the relationship constraint must be identical - - - - - No Properties defined in either FromProperty or ToProperty in the relationship constraint - - - - - Missing constraint in relationship type in ssdl - - - - - Same role referred in the ToRole and FromRole of a referential constraint - - - - - Invalid value for attribute ParameterTypeSemantics - - - - - Invalid type used for a Relationship End Type - - - - - Invalid PrimitiveTypeKind - - - - - Invalid TypeConversion DestinationType - - - - - Expected a integer value between 0 - 255 - - - - - Invalid Type specified in function - - - - - Precision must not be greater than 28 - - - - - Properties that are part of entity key must be of scalar type - - - - - Binary type properties which are part of entity key are currently not supported - - - - - The primitive type kind does not have a preferred mapping - - - - - More than one PreferredMapping for a PrimitiveTypeKind - - - - - End with * multiplicity cannot have operations specified - - - - - EntitySet type has no keys - - - - - InvalidNumberOfParametersForAggregateFunction - - - - - InvalidParameterTypeForAggregateFunction - - - - - Composable functions must declare a return type. - - - - - Non-composable functions must not declare a return type. - - - - - Non-composable functions do not permit the aggregate; niladic; or built-in attributes. - - - - - Composable functions can not include command text attribute. - - - - - Functions should not declare both a store name and command text (only one or the other can be used). - - - - - SystemNamespace - - - - - Empty DefiningQuery text - - - - - Schema, Table and DefiningQuery are all specified, and are mutually exclusive - - - - - ConcurrencyMode value was malformed - - - - - Concurrency can't change for any sub types of an EntitySet type. - - - - - Function import return type must be either empty, a collection of entities, or a singleton scalar. - - - - - Function import specifies a non-existent entity set. - - - - - Function import specifies entity type return but no entity set. - - - - - Function import specifies entity type that does not derive from element type of entity set. - - - - - Function import specifies a binding to an entity set but does not return entities. - - - - - InternalError - - - - - Same Entity Set Taking part in the same role of the relationship set in two different relationship sets - - - - - Entity key refers to the same property twice - - - - - Function declares a ReturnType attribute and element - - - - - Nullable Complex Type not supported in Edm V1 - - - - - Only Complex Collections supported in Edm V1.1 - - - - - No Key defined on Entity Type - - - - - Invalid namespace specified in using element - - - - - Need not specify system namespace in using - - - - - Cannot use a reserved/system namespace as alias - - - - - Invalid qualification specified for type - - - - - Invalid Entity Container Name in extends attribute - - - - - Invalid CollectionKind value in property CollectionKind attribute - - - - - Must specify namespace or alias of the schema in which this type is defined - - - - - Entity Container cannot extend itself - - - - - Failed to retrieve provider manifest - - - - - Mismatched Provider Manifest token values in SSDL artifacts - - - - - Missing Provider Manifest token value in SSDL artifact(s) - - - - - Empty CommandText element - - - - - Inconsistent Provider values in SSDL artifacts - - - - - Inconsistent Provider Manifest token values in SSDL artifacts - - - - - Duplicated Function overloads - - - - - InvalidProvider - - - - - FunctionWithNonEdmTypeNotSupported - - - - - ComplexTypeAsReturnTypeAndDefinedEntitySet - - - - - ComplexTypeAsReturnTypeAndDefinedEntitySet - - - - unused 179, - unused 180, - unused 181, - - In model functions facet attribute is allowed only on ScalarTypes - - - - - Captures several conditions where facets are placed on element where it should not exist. - - - - - Return type has not been declared - - - - - Invalid value in the EnumTypeOption - - - - - The structural annotation cannot use codegen namespaces - - - - - Function and type cannot have the same fully qualified name - - - - - Cannot load different version of schema in the same ItemCollection - - - - - Expected bool value - - - - - End without Multiplicity specified - - - - - In SSDL, if composable function returns a collection of rows (TVF), all row properties must be of scalar types. - - - - - The name of NamedEdmItem must not be empty or white space only - - - - - EdmTypeReference is empty - - Unused 199; - - - - Serializes an that conforms to the restrictions of a single CSDL schema file to an XML writer. The model to be serialized must contain a single and a single . - - - - - Serialize the to the XmlWriter. - - The EdmModel to serialize, mut have only one and one - The XmlWriter to serialize to - - - - Serialize the to the XmlWriter - - The DbModel to serialize - The XmlWriter to serialize to - - - - Serialize the to the - - The DbDatabaseMetadata to serialize - Provider information on the Schema element - ProviderManifestToken information on the Schema element - The XmlWriter to serialize to - - - - - author/email - - - - - author/name - - - - - author/uri - - - - - published - - - - - rights - - - - - summary - - - - - title - - - - - contributor/email - - - - - contributor/name - - - - - contributor/uri - - - - - category/@label - - - - - Plaintext - - - - - HTML - - - - - XHTML - - - - - updated - - - - - link/@href - - - - - link/@rel - - - - - link/@type - - - - - link/@hreflang - - - - - link/@title - - - - - link/@length - - - - - category/@term - - - - - category/@scheme - - - - - Return role name pair - - - - - - - - The context for DataModel Validation - - - - - Returns true if the given two ends are similar - the relationship type that this ends belongs to is the same and the entity set refered by the ends are same and they are from the same role - - - - - - - - Return true if the Referential Constraint on the association is ready for further validation, otherwise return false. - - - - - - - Resolves the given property names to the property in the item Also checks whether the properties form the key for the given type and whether all the properties are nullable or not - - - - - - - - - - - Return true if the namespaceName is a Edm System Namespace - - - - - - - Return true if the entityType is a subtype of any entity type in the dictionary keys, and return the corresponding entry EntitySet value. Otherwise return false. - - - - - - - - - Return true if any of the properties in the EdmEntityType defines ConcurrencyMode. Otherwise return false. - - - - - - - Add member name to the Hash set, raise an error if the name exists already. - - - - - - - - - If the string is null, empty, or only whitespace, return false, otherwise return true - - - - - - - Determine if a cycle exists in the type hierarchy: use two pointers to walk the chain, if one catches up with the other, we have a cycle. - - true if a cycle exists in the type hierarchy, false otherwise - - - - RuleSet for DataModel Validation - - - - - Get the related rules given certain DataModelItem - - The to validate - A collection of - - - - Data Model Validator - - - - - Validate the and all of its properties given certain version. - - The root of the model to be validated - True to validate the syntax, otherwise false - - - - The RuleSet for EdmModel - - - - - Get based on version - - a double value of version - - - - - The context for EdmModel Validation - - - - - Visitor for EdmModel Validation - - - - - Edm Model Validator - - - - - validate the from the root with the context - - The root to validate from - The validation context - - - - An implementation of IDatabaseInitializer that will recreate and optionally re-seed the - database only if the database does not exist. - To seed the database, create a derived class and override the Seed method. - - The type of the context. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - - A that should be overridden to actually add data to the context for seeding. - The default implementation does nothing. - - The context to seed. - - - - An instances of this class is obtained from an object and can be used - to manage the actual database backing a DbContext or connection. - This includes creating, deleting, and checking for the existence of a database. - Note that deletion and checking for existence of a database can be performed using just a - connection (i.e. without a full context) by using the static methods of this class. - - - - - Creates a Database backed by the given context. This object can be used to create a database, - check for database existence, and delete a database. - - The context that defines the database connection and model. - - - - Gets or sets the database initialization strategy. The database initialization strategy is called when instance - is initialized from a . The strategy can optionally check for database existence, create a new database, and - seed the database with data. - The default strategy is an instance of . - - The type of the context. - The strategy. - The database creation strategy. - - - - Internal version of SetInitializer that allows the strategy to be locked such that it cannot be replaced - by another call to SetInitializer. This allows strategies set in the app.config to win over strategies set - in code. - - The type of the context. - The strategy. - if set to true then the strategy is locked. - - - - Runs the the registered on this context. - - If "force" is set to true, then the initializer is run regardless of whether or not it - has been run before. This can be useful if a database is deleted while an app is running - and needs to be reinitialized. - - If "force" is set to false, then the initializer is only run if it has not already been - run for this context, model, and connection in this app domain. This method is typically - used when it is necessary to ensure that the database has been created and seeded - before starting some operation where doing so lazily will cause issues, such as when the - operation is part of a transaction. - - if set to true the initializer is run even if it has already been run. - - - - Checks whether or not the database is compatible with the the current Code First model. - - - Model compatibility currently uses the following rules. - - If the context was created using either the Model First or Database First approach then the - model is assumed to be compatible with the database and this method returns true. - - For Code First the model is considered compatible if the model is stored in the database - in the Migrations history table and that model has no differences from the current model as - determined by Migrations model differ. - - If the model is not stored in the database but an EF 4.1/4.2 model hash is found instead, - then this is used to check for compatibility. - - - If set to true then an exception will be thrown if no model metadata is found in - the database. If set to false then this method will return true if metadata - is not found. - - True if the model hash in the context and the database match; false otherwise. - - - - - Creates a new database on the database server for the model defined in the backing context. - Note that calling this method before the database initialization strategy has run will disable - executing that strategy. - - - - - Creates a new database on the database server for the model defined in the backing context, but only - if a database with the same name does not already exist on the server. - - True if the database did not exist and was created; false otherwise. - - - - Checks whether or not the database exists on the server. - - True if the database exists; false otherwise. - - - - Deletes the database on the database server if it exists, otherwise does nothing. - Calling this method from outside of an initializer will mark the database as having - not been initialized. This means that if an attempt is made to use the database again - after it has been deleted, then any initializer set will run again and, usually, will - try to create the database again automatically. - - True if the database did exist and was deleted; false otherwise. - - - - Checks whether or not the database exists on the server. - The connection to the database is created using the given database name or connection string - in the same way as is described in the documentation for the class. - - The database name or a connection string to the database. - True if the database exists; false otherwise. - - - - Deletes the database on the database server if it exists, otherwise does nothing. - The connection to the database is created using the given database name or connection string - in the same way as is described in the documentation for the class. - - The database name or a connection string to the database. - True if the database did exist and was deleted; false otherwise. - - - - Checks whether or not the database exists on the server. - - An existing connection to the database. - True if the database exists; false otherwise. - - - - Deletes the database on the database server if it exists, otherwise does nothing. - - An existing connection to the database. - True if the database did exist and was deleted; false otherwise. - - - - Resets the DefaultConnectionFactory to its initial value. - Currently, this method is only used by test code. - - - - - Performs the operation defined by the given delegate using the given lazy connection, ensuring - that the lazy connection is disposed after use. - - Information used to create a DbConnection. - The operation to perform. - The return value of the operation. - - - - Performs the operation defined by the given delegate against a connection. The connection - is either the connection accessed from the context backing this object, or is obtained from - the connection information passed to one of the static methods. - - The connection to use. - The operation to perform. - The return value of the operation. - - - - Returns an empty ObjectContext that can be used to perform delete/exists operations. - - The connection for which to create an ObjectContext - The empty context. - - - - Creates a raw SQL query that will return elements of the given generic type. - The type can be any type that has properties that match the names of the columns returned - from the query, or can be a simple primitive type. The type does not have to be an - entity type. The results of this query are never tracked by the context even if the - type of object returned is an entity type. Use the - method to return entities that are tracked by the context. - - The type of object returned by the query. - The SQL query string. - The parameters to apply to the SQL query string. - A object that will execute the query when it is enumerated. - - - - Creates a raw SQL query that will return elements of the given type. - The type can be any type that has properties that match the names of the columns returned - from the query, or can be a simple primitive type. The type does not have to be an - entity type. The results of this query are never tracked by the context even if the - type of object returned is an entity type. Use the - method to return entities that are tracked by the context. - - The type of object returned by the query. - The SQL query string. - The parameters to apply to the SQL query string. - A object that will execute the query when it is enumerated. - - - - Executes the given DDL/DML command against the database. - - The command string. - The parameters to apply to the command string. - The result returned by the database after executing the command. - - - - Returns the connection being used by this context. This may cause the - connection to be created if it does not already exist. - - Thrown if the context has been disposed. - - - - Returns the as a delegate that can be called with - an instance of the that owns this Database object, or returns null if - there is no initializer set for this context type. - - The initializer delegate or null. - - - - The connection factory to use when creating a from just - a database name or a connection string. - - - This is used when just a database name or connection string is given to or when - the no database name or connection is given to DbContext in which case the name of - the context class is passed to this factory in order to generate a DbConnection. - By default, the instance to use is read from the applications .config - file from the "EntityFramework DefaultConnectionFactory" entry in appSettings. If no entry is found in - the config file then is used. Setting this property in code - always overrides whatever value is found in the config file. - - - - - Checks wether or not the DefaultConnectionFactory has been set to something other than its default value. - - - - - - - Common code for generic and non-generic string Include. - - - - - - Returns a new query where the entities returned will not be cached in the - or . This method works by calling the AsNoTracking method of the - underlying query object. If the underlying query object does not have a AsNoTracking method, - then calling this method will have no affect. - - The element type. - The source query. - A new query with NoTracking applied, or the source query if NoTracking is not supported. - - - - Returns a new query where the entities returned will not be cached in the - or . This method works by calling the AsNoTracking method of the - underlying query object. If the underlying query object does not have a AsNoTracking method, - then calling this method will have no affect. - - The source query. - A new query with NoTracking applied, or the source query if NoTracking is not supported. - - - - Common code for generic and non-generic AsNoTracking. - - - - - Enumerates the query such that for server queries such as those of , , - , and others the results of the query will be loaded into the associated , - or other cache on the client. - This is equivalent to calling ToList and then throwing away the list without the overhead of actually creating the list. - - The source query. - - - - Returns an implementation that stays in sync with the given . - - The element type. - The collection that the binding list will stay in sync with. - The binding list. - - - - DbModelBuilder is used to map CLR classes to a database schema. - This code centric approach to building an Entity Data Model (EDM) model is known as 'Code First'. - - - DbModelBuilder is typically used to configure a model by overriding . - You can also use DbModelBuilder independently of DbContext to build a model and then construct a - or . - The recommended approach, however, is to use OnModelCreating in as - the workflow is more intuitive and takes care of common tasks, such as caching the created model. - - Types that form your model are registered with DbModelBuilder and optional configuration can be - performed by applying data annotations to your classes and/or using the fluent style DbModelBuilder - API. - - When the Build method is called a set of conventions are run to discover the initial model. - These conventions will automatically discover aspects of the model, such as primary keys, and - will also process any data annotations that were specified on your classes. Finally - any configuration that was performed using the DbModelBuilder API is applied. - - Configuration done via the DbModelBuilder API takes precedence over data annotations which - in turn take precedence over the default conventions. - - - - - Initializes a new instance of the class. - - The process of discovering the initial model will use the set of conventions included - in the most recent version of the Entity Framework installed on your machine. - - - Upgrading to newer versions of the Entity Framework may cause breaking changes - in your application because new conventions may cause the initial model to be - configured differently. There is an alternate constructor that allows a specific - version of conventions to be specified. - - - - - Initializes a new instance of the class that will use - a specific set of conventions to discover the initial model. - - The version of conventions to be used. - - - - Excludes a type from the model. This is used to remove types from the model that were added - by convention during initial model discovery. - - The type to be excluded. - The same DbModelBuilder instance so that multiple calls can be chained. - - - - Excludes a type(s) from the model. This is used to remove types from the model that were added - by convention during initial model discovery. - - The types to be excluded from the model. - The same DbModelBuilder instance so that multiple calls can be chained. - - - - Registers an entity type as part of the model and returns an object that can be used to - configure the entity. This method can be called multiple times for the same entity to - perform multiple lines of configuration. - - The type to be registered or configured. - The configuration object for the specified entity type. - - - - Registers a type as an entity in the model and returns an object that can be used to - configure the entity. This method can be called multiple times for the same type to - perform multiple lines of configuration. - - The type to be registered or configured. - The configuration object for the specified entity type. - - - - Registers a type as a complex type in the model and returns an object that can be used to - configure the complex type. This method can be called multiple times for the same type to - perform multiple lines of configuration. - - The type to be registered or configured. - The configuration object for the specified complex type. - - - - Creates a based on the configuration performed using this builder. - The connection is used to determine the database provider being used as this - affects the database layer of the generated model. - - Connection to use to determine provider information. - The model that was built. - - - - Creates a based on the configuration performed using this builder. - Provider information must be specified because this affects the database layer of the generated model. - For SqlClient the invariant name is 'System.Data.SqlClient' and the manifest token is the version year (i.e. '2005', '2008' etc.) - - The database provider that the model will be used with. - The model that was built. - - - - Provides access to the settings of this DbModelBuilder that deal with conventions. - - - - - Gets the for this DbModelBuilder. - The registrar allows derived entity and complex type configurations to be registered with this builder. - - - - - A value from this enumeration can be provided directly to the - class or can be used in the applied to - a class derived from . The value used defines which version of - the DbContext and DbModelBuilder conventions should be used when building a model from - code--also know as "Code First". - - - Using DbModelBuilderVersion.Latest ensures that all the latest functionality is available - when upgrading to a new release of the Entity Framework. However, it may result in an - application behaving differently with the new release than it did with a previous release. - This can be avoided by using a specific version of the conventions, but if a version - other than the latest is set then not all the latest functionality will be available. - - - - - Indicates that the latest version of the and - conventions should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework 4.1 - through 4.3 should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework 5.0 - when targeting .NET 4 should be used. - - - - - Indicates that the version of the and - conventions shipped with Entity Framework 5.0 - when targeting .NET 4.5 should be used. - - - - - This attribute can be applied to a class derived from to set which - version of the DbContext and conventions should be used when building - a model from code--also know as "Code First". See the - enumeration for details about DbModelBuilder versions. - - - If the attribute is missing from DbContextthen DbContext will always use the latest - version of the conventions. This is equivalent to using DbModelBuilderVersion.Latest. - - - - - Initializes a new instance of the class. - - The conventions version to use. - - - - Gets the conventions version. - - The conventions version. - - - - A non-generic version of which can be used when the type of entity - is not known at build time. - - - - - Represents a non-generic LINQ to Entities query against a DbContext. - - - - - An internal interface implemented by and that allows access to - the internal query without using reflection. - - - - - The underlying internal set. - - - - - Internal constructor prevents external classes deriving from DbQuery. - - - - - Throws an exception indicating that binding directly to a store query is not supported. - Instead populate a DbSet with data, for example by using the Load extension method, and - then bind to local data. For WPF bind to DbSet.Local. For Windows Forms bind to - DbSet.Local.ToBindingList(). - - - Never returns; always throws. - - - - - Gets the enumeration of this query causing it to be executed against the store. - - An enumerator for the query - - - - - Returns a new query where the entities returned will not be cached in the . - - A new query with NoTracking applied. - - - - Returns the equivalent generic object. - - The type of element for which the query was created. - The generic set object. - - - - Returns a representation of the underlying query. - - - The query string. - - - - - Returns false. - - false. - - - - The IQueryable element type. - - - - - The IQueryable LINQ Expression. - - - - - The IQueryable provider. - - - - - Gets the underlying internal query object. - - The internal query. - - - - The internal query object that is backing this DbQuery - - - - - An internal interface implemented by and that allows access to - the internal set without using reflection. - - - - - The underlying internal set. - - - - - Internal constructor prevents external classes deriving from DbSet. - - - - - Finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - - The values of the primary key for the entity to be found. - The entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Attaches the given entity to the context underlying the set. That is, the entity is placed - into the context in the Unchanged state, just as if it had been read from the database. - - The entity to attach. - The entity. - - Attach is used to repopulate a context with an entity that is known to already exist in the database. - SaveChanges will therefore not attempt to insert an attached entity into the database because - it is assumed to already be there. - Note that entities that are already in the context in some other state will have their state set - to Unchanged. Attach is a no-op if the entity is already in the context in the Unchanged state. - - - - - Adds the given entity to the context underlying the set in the Added state such that it will - be inserted into the database when SaveChanges is called. - - The entity to add. - The entity. - - Note that entities that are already in the context in some other state will have their state set - to Added. Add is a no-op if the entity is already in the context in the Added state. - - - - - Marks the given entity as Deleted such that it will be deleted from the database when SaveChanges - is called. Note that the entity must exist in the context in some other state before this method - is called. - - The entity to remove. - The entity. - - Note that if the entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - Creates a new instance of an entity for the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The entity instance, which may be a proxy. - - - - Creates a new instance of an entity for the type of this set or for a type derived - from the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The entity instance, which may be a proxy. - - - - Returns the equivalent generic object. - - The type of entity for which the set was created. - The generic set object. - - - - Creates a raw SQL query that will return entities in this set. By default, the - entities returned are tracked by the context; this can be changed by calling - AsNoTracking on the returned. - Note that the entities returned are always of the type for this set and never of - a derived type. If the table or tables queried may contain data for other entity - types, then the SQL query must be written appropriately to ensure that only entities of - the correct type are returned. - - The SQL query string. - The parameters to apply to the SQL query string. - A object that will execute the query when it is enumerated. - - - - Gets an that represents a local view of all Added, Unchanged, - and Modified entities in this set. This local view will stay in sync as entities are added or - removed from the context. Likewise, entities added to or removed from the local view will automatically - be added to or removed from the context. - - - This property can be used for data binding by populating the set with data, for example by using the Load - extension method, and then binding to the local data through this property. For WPF bind to this property - directly. For Windows Forms bind to the result of calling ToBindingList on this property - - The local view. - - - - The internal IQueryable that is backing this DbQuery - - - - - Gets the underlying internal set. - - The internal set. - - - - A DbSet represents the collection of all entities in the context, or that can be queried from the - database, of a given type. DbSet objects are created from a DbContext using the DbContext.Set method. - - - Note that DbSet does not support MEST (Multiple Entity Sets per Type) meaning that there is always a - one-to-one correlation between a type and a set. - - The type that defines the set. - - - - Represents a LINQ to Entities query against a DbContext. - - The type of entity to query for. - - - - Creates a new query that will be backed by the given internal query object. - - The backing query. - - - - - Returns a new query where the entities returned will not be cached in the . - - A new query with NoTracking applied. - - - - Throws an exception indicating that binding directly to a store query is not supported. - Instead populate a DbSet with data, for example by using the Load extension method, and - then bind to local data. For WPF bind to DbSet.Local. For Windows Forms bind to - DbSet.Local.ToBindingList(). - - - Never returns; always throws. - - - - - Gets the enumeration of this query causing it to be executed against the store. - - An enumerator for the query - - - - Gets the enumeration of this query causing it to be executed against the store. - - An enumerator for the query - - - - Returns a representation of the underlying query. - - - The query string. - - - - - Returns a new instance of the non-generic class for this query. - - A non-generic version. - - - - Returns false. - - false. - - - - The IQueryable element type. - - - - - The IQueryable LINQ Expression. - - - - - The IQueryable provider. - - - - - The internal query object that is backing this DbQuery - - - - - The internal query object that is backing this DbQuery - - - - - An IDbSet represents the collection of all entities in the context, or that can be queried from the - database, of a given type. DbSet is a concrete implementation of IDbSet. - - The type that defines the set. - - - - Finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - - The values of the primary key for the entity to be found. - The entity found, or null. - - - - Adds the given entity to the context underlying the set in the Added state such that it will - be inserted into the database when SaveChanges is called. - - The entity to add. - The entity. - - Note that entities that are already in the context in some other state will have their state set - to Added. Add is a no-op if the entity is already in the context in the Added state. - - - - - Marks the given entity as Deleted such that it will be deleted from the database when SaveChanges - is called. Note that the entity must exist in the context in some other state before this method - is called. - - The entity to remove. - The entity. - - Note that if the entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - Attaches the given entity to the context underlying the set. That is, the entity is placed - into the context in the Unchanged state, just as if it had been read from the database. - - The entity to attach. - The entity. - - Attach is used to repopulate a context with an entity that is known to already exist in the database. - SaveChanges will therefore not attempt to insert an attached entity into the database because - it is assumed to already be there. - Note that entities that are already in the context in some other state will have their state set - to Unchanged. Attach is a no-op if the entity is already in the context in the Unchanged state. - - - - - Creates a new instance of an entity for the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The entity instance, which may be a proxy. - - - - Creates a new instance of an entity for the type of this set or for a type derived - from the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The type of entity to create. - The entity instance, which may be a proxy. - - - - Gets an that represents a local view of all Added, Unchanged, - and Modified entities in this set. This local view will stay in sync as entities are added or - removed from the context. Likewise, entities added to or removed from the local view will automatically - be added to or removed from the context. - - - This property can be used for data binding by populating the set with data, for example by using the Load - extension method, and then binding to the local data through this property. For WPF bind to this property - directly. For Windows Forms bind to the result of calling ToBindingList on this property - - The local view. - - - - Creates a new set that will be backed by the given . - - The internal set. - - - - Finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - - The values of the primary key for the entity to be found. - The entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Attaches the given entity to the context underlying the set. That is, the entity is placed - into the context in the Unchanged state, just as if it had been read from the database. - - The entity to attach. - The entity. - - Attach is used to repopulate a context with an entity that is known to already exist in the database. - SaveChanges will therefore not attempt to insert an attached entity into the database because - it is assumed to already be there. - Note that entities that are already in the context in some other state will have their state set - to Unchanged. Attach is a no-op if the entity is already in the context in the Unchanged state. - - - - - Adds the given entity to the context underlying the set in the Added state such that it will - be inserted into the database when SaveChanges is called. - - The entity to add. - The entity. - - Note that entities that are already in the context in some other state will have their state set - to Added. Add is a no-op if the entity is already in the context in the Added state. - - - - - Marks the given entity as Deleted such that it will be deleted from the database when SaveChanges - is called. Note that the entity must exist in the context in some other state before this method - is called. - - The entity to remove. - The entity. - - Note that if the entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - - - - - Creates a new instance of an entity for the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The entity instance, which may be a proxy. - - - - Creates a new instance of an entity for the type of this set or for a type derived - from the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The type of entity to create. - The entity instance, which may be a proxy. - - - - Returns the equivalent non-generic object. - - The non-generic set object. - - - - Creates a raw SQL query that will return entities in this set. By default, the - entities returned are tracked by the context; this can be changed by calling - AsNoTracking on the returned. - Note that the entities returned are always of the type for this set and never of - a derived type. If the table or tables queried may contain data for other entity - types, then the SQL query must be written appropriately to ensure that only entities of - the correct type are returned. - - The SQL query string. - The parameters to apply to the SQL query string. - A object that will execute the query when it is enumerated. - - - - Gets an that represents a local view of all Added, Unchanged, - and Modified entities in this set. This local view will stay in sync as entities are added or - removed from the context. Likewise, entities added to or removed from the local view will automatically - be added to or removed from the context. - - - This property can be used for data binding by populating the set with data, for example by using the Load - extension method, and then binding to the local data through this property. For WPF bind to this property - directly. For Windows Forms bind to the result of calling ToBindingList on this property - - The local view. - - - - The internal IQueryable that is backing this DbQuery - - - - - An implementation of IDatabaseInitializer that will always recreate and optionally re-seed the - database the first time that a context is used in the app domain. - To seed the database, create a derived class and override the Seed method. - - The type of the context. - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - - A that should be overridden to actually add data to the context for seeding. - The default implementation does nothing. - - The context to seed. - - - - An implementation of IDatabaseInitializer that will DELETE, recreate, and optionally re-seed the - database only if the model has changed since the database was created. - - - Whether or not the model has changed is determined by the - method. - To seed the database create a derived class and override the Seed method. - - - - - Executes the strategy to initialize the database for the given context. - - The context. - - - - A that should be overridden to actually add data to the context for seeding. - The default implementation does nothing. - - The context to seed. - - - - Returned by the ChangeTracker method of to provide access to features of - the context that are related to change tracking of entities. - - - - - Initializes a new instance of the class. - - The internal context. - - - - Gets objects for all the entities tracked by this context. - - The entries. - - - - Gets objects for all the entities of the given type - tracked by this context. - - The type of the entity. - The entries. - - - - Detects changes made to the properties and relationships of POCO entities. Note that some types of - entity (such as change tracking proxies and entities that derive from ) - report changes automatically and a call to DetectChanges is not normally needed for these types of entities. - Also note that normally DetectChanges is called automatically by many of the methods of - and its related classes such that it is rare that this method will need to be called explicitly. - However, it may be desirable, usually for performance reasons, to turn off this automatic calling of - DetectChanges using the AutoDetectChangesEnabled flag from . - - - - - A non-generic version of the class. - - - - - This is an abstract base class use to represent a scalar or complex property, or a navigation property - of an entity. Scalar and complex properties use the derived class , - reference navigation properties use the derived class , and collection - navigation properties use the derived class . - - - - - Creates a from information in the given . - This method will create an instance of the appropriate subclass depending on the metadata contained - in the InternalMemberEntry instance. - - The internal member entry. - The new entry. - - - - Validates this property. - - - Collection of objects. Never null. If the entity is valid the collection will be empty. - - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the property. - The equivalent generic object. - - - - Gets the name of the property. - - The property name. - - - - Gets or sets the current value of this property. - - The current value. - - - - The to which this member belongs. - - An entry for the entity that owns this member. - - - - Gets the backing this object. - - The internal member entry. - - - - Creates a from information in the given . - Use this method in preference to the constructor since it may potentially create a subclass depending on - the type of member represented by the InternalCollectionEntry instance. - - The internal collection entry. - The new entry. - - - - Initializes a new instance of the class. - - The internal entry. - - - - Loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - - - Returns the query that would be used to load this collection from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database, such - as counting the number of entities in the collection in the database without actually loading them. - - A query for the collection. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the collection element. - The equivalent generic object. - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Gets a value indicating whether the collection of entities has been loaded from the database. - - true if the collection is loaded; otherwise, false. - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - Gets the backing this object as an . - - The internal member entry. - - - - Instances of this class are returned from the Collection method of - and allow operations such as loading to - be performed on the an entity's collection navigation properties. - - The type of the entity to which this property belongs. - The type of the element in the collection of entities. - - - - This is an abstract base class use to represent a scalar or complex property, or a navigation property - of an entity. Scalar and complex properties use the derived class , - reference navigation properties use the derived class , and collection - navigation properties use the derived class . - - The type of the entity to which this property belongs. - The type of the property. - - - - Creates a from information in the given . - This method will create an instance of the appropriate subclass depending on the metadata contained - in the InternalMemberEntry instance. - - The internal member entry. - The new entry. - - - - Returns a new instance of the non-generic class for - the property represented by this object. - - A non-generic version. - - - - Validates this property. - - - Collection of objects. Never null. If the entity is valid the collection will be empty. - - - - - Gets or sets the current value of this property. - - The current value. - - - - Gets the underlying . - - The internal member entry. - - - - The to which this member belongs. - - An entry for the entity that owns this member. - - - - Creates a from information in the given . - Use this method in preference to the constructor since it may potentially create a subclass depending on - the type of member represented by the InternalCollectionEntry instance. - - The internal collection entry. - The new entry. - - - - Initializes a new instance of the class. - - The internal entry. - - - - Loads the collection of entities from the database. - Note that entities that already exist in the context are not overwritten with values from the database. - - - - - Returns the query that would be used to load this collection from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database, such - as counting the number of entities in the collection in the database without actually loading them. - - A query for the collection. - - - - Returns a new instance of the non-generic class for - the navigation property represented by this object. - - A non-generic version. - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Gets a value indicating whether the collection of entities has been loaded from the database. - - true if the collection is loaded; otherwise, false. - - - - Gets the underlying as an . - - The internal member entry. - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - An immutable representation of an Entity Data Model (EDM) model that can be used to create an - or can be passed to the constructor of a . - For increased performance, instances of this type should be cached and re-used to construct contexts. - - - - - For mocking. - - - - - Creates a model for the given EDM metadata model. - - The EDM metadata model. - - - - Creates an instance of ObjectContext or class derived from ObjectContext. Note that an instance - of DbContext can be created instead by using the appropriate DbContext constructor. - If a derived ObjectContext is used, then it must have a public constructor with a single - EntityConnection parameter. - The connection passed is used by the ObjectContext created, but is not owned by the context. The caller - must dispose of the connection once the context has been disposed. - - The type of context to create. - An existing connection to a database for use by the context. - - - - - Gets a cached delegate (or creates a new one) used to call the constructor for the given derived ObjectContext type. - - - - - A snapshot of the that was used to create this compiled model. - - - - - The provider info (provider name and manifest token) that was used to create this model. - - - - - A non-generic version of the class. - - - - - A non-generic version of the class. - - - - - Creates a from information in the given . - Use this method in preference to the constructor since it may potentially create a subclass depending on - the type of member represented by the InternalCollectionEntry instance. - - The internal property entry. - The new entry. - - - - Initializes a new instance of the class. - - The internal entry. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the property. - The equivalent generic object. - - - - Gets the property name. - - The property name. - - - - Gets or sets the original value of this property. - - The original value. - - - - Gets or sets the current value of this property. - - The current value. - - - - Gets or sets a value indicating whether the value of this property has been modified since - it was loaded from the database. - - - Setting this value to false for a modified property will revert the change by setting the - current value to the original value. If the result is that no properties of the entity are - marked as modified, then the entity will be marked as Unchanged. - Setting this value to false for properties of Added, Unchanged, or Deleted entities - is a no-op. - - - true if this instance is modified; otherwise, false. - - - - - The to which this property belongs. - - An entry for the entity that owns this property. - - - - The of the property for which this is a nested property. - This method will only return a non-null entry for properties of complex objects; it will - return null for properties of the entity itself. - - An entry for the parent complex property, or null if this is an entity property. - - - - Gets the backing this object. - - The internal member entry. - - - - Creates a from information in the given . - Use this method in preference to the constructor since it may potentially create a subclass depending on - the type of member represented by the InternalCollectionEntry instance. - - The internal property entry. - The new entry. - - - - Initializes a new instance of the class. - - The internal entry. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The name of the nested property. - An object representing the nested property. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the complex property. - The equivalent generic object. - - - - Instances of this class are returned from the ComplexProperty method of - and allow access to the state of a complex property. - - The type of the entity to which this property belongs. - The type of the property. - - - - Instances of this class are returned from the Property method of - and allow access to the state of the scalar - or complex property. - - The type of the entity to which this property belongs. - The type of the property. - - - - Creates a from information in the given . - Use this method in preference to the constructor since it may potentially create a subclass depending on - the type of member represented by the InternalCollectionEntry instance. - - The internal property entry. - The new entry. - - - - Initializes a new instance of the class. - - The internal entry. - - - - Returns a new instance of the non-generic class for - the property represented by this object. - - A non-generic version. - - - - Gets the property name. - - The property name. - - - - Gets or sets the original value of this property. - - The original value. - - - - Gets or sets the current value of this property. - - The current value. - - - - Gets or sets a value indicating whether the value of this property has been modified since - it was loaded from the database. - - - true if this instance is modified; otherwise, false. - - - - - The to which this property belongs. - - An entry for the entity that owns this property. - - - - The of the property for which this is a nested property. - This method will only return a non-null entry for properties of complex objects; it will - return null for properties of the entity itself. - - An entry for the parent complex property, or null if this is an entity property. - - - - Gets the underlying as an . - - The internal member entry. - - - - Creates a from information in the given . - Use this method in preference to the constructor since it may potentially create a subclass depending on - the type of member represented by the InternalCollectionEntry instance. - - The internal property entry. - The new entry. - - - - Initializes a new instance of the class. - - The internal entry. - - - - Returns a new instance of the non-generic class for - the property represented by this object. - - A non-generic version. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The type of the nested property. - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested property of this property. - This method can be used for both scalar or complex properties. - - The type of the nested property. - An expression representing the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The type of the nested property. - The name of the nested property. - An object representing the nested property. - - - - Gets an object that represents a nested complex property of this property. - - The type of the nested property. - An expression representing the nested property. - An object representing the nested property. - - - - Describes the origin of the database connection string associated with a . - - - - - The connection string was created by convention. - - - - - The connection string was read from external configuration. - - - - - The connection string was explicitly specified at runtime. - - - - - The connection string was overriden by connection information supplied to DbContextInfo. - - - - - Returned by the Configuration method of to provide access to configuration - options for the context. - - - - - Initializes a new instance of the class. - - The internal context. - - - - Gets or sets a value indicating whether lazy loading of relationships exposed as - navigation properties is enabled. Lazy loading is enabled by default. - - true if lazy loading is enabled; otherwise, false. - - - - Gets or sets a value indicating whether or not the framework will create instances of - dynamically generated proxy classes whenever it creates an instance of an entity type. - Note that even if proxy creation is enabled with this flag, proxy instances will only - be created for entity types that meet the requirements for being proxied. - Proxy creation is enabled by default. - - true if proxy creation is enabled; otherwise, false. - - - - - Gets or sets a value indicating whether tracked entities should be validated automatically when - is invoked. - The default value is true. - - - - - Provides runtime information about a given type. - - - - - Creates a new instance representing a given type. - - The type deriving from . - - - - Creates a new instance representing a given targeting a specific database. - - The type deriving from . - Connection information for the database to be used. - - - - Creates a new instance representing a given type. An external list of - connection strings can be supplied and will be used during connection string resolution in place - of any connection strings specified in external configuration files. - - - It is preferable to use the constructor that accepts the entire config document instead of using this - constructor. Providing the entire config document allows DefaultConnectionFactroy entries in the config - to be found in addition to explicitly specified connection strings. - - The type deriving from . - A collection of connection strings. - - - - Creates a new instance representing a given type. An external config - object (e.g. app.config or web.config) can be supplied and will be used during connection string - resolution. This includes looking for connection strings and DefaultConnectionFactory entries. - - The type deriving from . - An object representing the config file. - - - - Creates a new instance representing a given , targeting a specific database. - An external config object (e.g. app.config or web.config) can be supplied and will be used during connection string - resolution. This includes looking for connection strings and DefaultConnectionFactory entries. - - The type deriving from . - An object representing the config file. - Connection information for the database to be used. - - - - Creates a new instance representing a given type. A - can be supplied in order to override the default determined provider used when constructing - the underlying EDM model. - - The type deriving from . - A specifying the underlying ADO.NET provider to target. - - - - Creates a new instance representing a given type. An external config - object (e.g. app.config or web.config) can be supplied and will be used during connection string - resolution. This includes looking for connection strings and DefaultConnectionFactory entries. - A can be supplied in order to override the default determined - provider used when constructing the underlying EDM model. This can be useful to prevent EF from - connecting to discover a manifest token. - - The type deriving from . - An object representing the config file. - A specifying the underlying ADO.NET provider to target. - - - - Called internally when a context info is needed for an existing context, which may not be constructable. - - The context instance to get info from. - - - - If instances of the underlying type can be created, returns - a new instance; otherwise returns null. - - A instance. - - - - The concrete type. - - - - - Whether or not instances of the underlying type can be created. - - - - - The connection string used by the underlying type. - - - - - The connection string name used by the underlying type. - - - - - The ADO.NET provider name of the connection used by the underlying type. - - - - - The origin of the connection string used by the underlying type. - - - - - An action to be run on the DbModelBuilder after OnModelCreating has been run on the context. - - - - - A non-generic version of the class. - - - - - Initializes a new instance of the class. - - The internal entry. - - - - Queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - The store values. - - - - Reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The name of the property. - An object representing the property. - - - - Gets an object that represents a complex property of this entity. - - The name of the complex property. - An object representing the complex property. - - - - Gets an object that represents a member of the entity. The runtime type of the returned object will - vary depending on what kind of member is asked for. The currently supported member types and their return - types are: - Reference navigation property: . - Collection navigation property: . - Primitive/scalar property: . - Complex property: . - - The name of the member. - An object representing the member. - - - - Returns a new instance of the generic class for the given - generic type for the tracked entity represented by this object. - Note that the type of the tracked entity must be compatible with the generic type or - an exception will be thrown. - - The type of the entity. - A generic version. - - - - Validates this instance and returns validation result. - - - Entity validation result. Possibly null if - method is overridden. - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Gets the entity. - - The entity. - - - - Gets or sets the state of the entity. - - The state. - - - - Gets the current property values for the tracked entity represented by this object. - - The current values. - - - - Gets the original property values for the tracked entity represented by this object. - The original values are usually the entity's property values as they were when last queried from - the database. - - The original values. - - - - Gets InternalEntityEntry object for this DbEntityEntry instance. - - - - - Instances of this class provide access to information about and control of entities that - are being tracked by the . Use the Entity or Entities methods of - the context to obtain objects of this type. - - The type of the entity. - - - - Initializes a new instance of the class. - - The internal entry. - - - - Queries the database for copies of the values of the tracked entity as they currently exist in the database. - Note that changing the values in the returned dictionary will not update the values in the database. - If the entity is not found in the database then null is returned. - - The store values. - - - - Reloads the entity from the database overwriting any property values with values from the database. - The entity will be in the Unchanged state after calling this method. - - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The type of the property. - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the reference (i.e. non-collection) navigation property from this - entity to another entity. - - The type of the property. - An expression representing the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The type of elements in the collection. - The name of the navigation property. - An object representing the navigation property. - - - - Gets an object that represents the collection navigation property from this - entity to a collection of related entities. - - The type of elements in the collection. - An expression representing the navigation property. - An object representing the navigation property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The name of the property. - An object representing the property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The type of the property. - The name of the property. - An object representing the property. - - - - Gets an object that represents a scalar or complex property of this entity. - - The type of the property. - An expression representing the property. - An object representing the property. - - - - Gets an object that represents a complex property of this entity. - - The name of the complex property. - An object representing the complex property. - - - - Gets an object that represents a complex property of this entity. - - The type of the complex property. - The name of the complex property. - An object representing the complex property. - - - - Gets an object that represents a complex property of this entity. - - The type of the complex property. - An expression representing the complex property. - An object representing the complex property. - - - - Gets an object that represents a member of the entity. The runtime type of the returned object will - vary depending on what kind of member is asked for. The currently supported member types and their return - types are: - Reference navigation property: . - Collection navigation property: . - Primitive/scalar property: . - Complex property: . - - The name of the member. - An object representing the member. - - - - Gets an object that represents a member of the entity. The runtime type of the returned object will - vary depending on what kind of member is asked for. The currently supported member types and their return - types are: - Reference navigation property: . - Collection navigation property: . - Primitive/scalar property: . - Complex property: . - - The type of the member. - The name of the member. - An object representing the member. - - - - Returns a new instance of the non-generic class for - the tracked entity represented by this object. - - A non-generic version. - - - - Validates this instance and returns validation result. - - - Entity validation result. Possibly null if - method is overridden. - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Gets the entity. - - The entity. - - - - Gets or sets the state of the entity. - - The state. - - - - Gets the current property values for the tracked entity represented by this object. - - The current values. - - - - Gets the original property values for the tracked entity represented by this object. - The original values are usually the entity's property values as they were when last queried from - the database. - - The original values. - - - - Represents an Entity Data Model (EDM) created by the . - The Compile method can be used to go from this EDM representation to a - which is a compiled snapshot of the model suitable for caching and creation of - or instances. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Creates a for this mode which is a compiled snapshot - suitable for caching and creation of instances. - - The compiled model. - - - - A snapshot of the that was used to create this compiled model. - - - - - A collection of all the properties for an underlying entity or complex object. - - - An instance of this class can be converted to an instance of the generic class - using the Cast method. - Complex properties in the underlying entity or complex object are represented in - the property values as nested instances of this class. - - - - - Initializes a new instance of the class. - - The internal dictionary. - - - - Creates an object of the underlying type for this dictionary and hydrates it with property - values from this dictionary. - - The properties of this dictionary copied into a new object. - - - - Sets the values of this dictionary by reading values out of the given object. - The given object can be of any type. Any property on the object with a name that - matches a property name in the dictionary and can be read will be read. Other - properties will be ignored. This allows, for example, copying of properties from - simple Data Transfer Objects (DTOs). - - The object to read values from. - - - - Creates a new dictionary containing copies of all the properties in this dictionary. - Changes made to the new dictionary will not be reflected in this dictionary and vice versa. - - A clone of this dictionary. - - - - Sets the values of this dictionary by reading values from another dictionary. - The other dictionary must be based on the same type as this dictionary, or a type derived - from the type for this dictionary. - - The dictionary to read values from. - - - - Gets the value of the property just like using the indexed property getter but - typed to the type of the generic parameter. This is useful especially with - nested dictionaries to avoid writing expressions with lots of casts. - - The type of the property. - Name of the property. - The value of the property. - - - - Gets the set of names of all properties in this dictionary as a read-only set. - - The property names. - - - - Gets or sets the value of the property with the specified property name. - The value may be a nested instance of this class. - - The property name. - The value of the property. - - - - Gets the internal dictionary. - - The internal dictionary. - - - - A non-generic version of the class. - - - - - Creates a from information in the given . - Use this method in preference to the constructor since it may potentially create a subclass depending on - the type of member represented by the InternalCollectionEntry instance. - - The internal reference entry. - The new entry. - - - - Initializes a new instance of the class. - - The internal entry. - - - - Loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - - - Returns the query that would be used to load this entity from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database. - - A query for the entity. - - - - Returns the equivalent generic object. - - The type of entity on which the member is declared. - The type of the property. - The equivalent generic object. - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Gets a value indicating whether the entity has been loaded from the database. - - true if the entity is loaded; otherwise, false. - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - Gets the backing this object as an . - - The internal member entry. - - - - Instances of this class are returned from the Reference method of - and allow operations such as loading to - be performed on the an entity's reference navigation properties. - - The type of the entity to which this property belongs. - The type of the property. - - - - Creates a from information in the given . - Use this method in preference to the constructor since it may potentially create a subclass depending on - the type of member represented by the InternalCollectionEntry instance. - - The internal reference entry. - The new entry. - - - - Initializes a new instance of the class. - - The internal entry. - - - - Loads the entity from the database. - Note that if the entity already exists in the context, then it will not overwritten with values from the database. - - - - - Returns the query that would be used to load this entity from the database. - The returned query can be modified using LINQ to perform filtering or operations in the database. - - A query for the entity. - - - - Returns a new instance of the non-generic class for - the navigation property represented by this object. - - A non-generic version. - - - - Gets the property name. - - The property name. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references. - - The current value. - - - - Gets a value indicating whether the entity has been loaded from the database. - - true if the entity is loaded; otherwise, false. - - - - Gets the underlying as an . - - The internal member entry. - - - - The to which this navigation property belongs. - - An entry for the entity that owns this navigation property. - - - - Represents a SQL query for entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance for the - entity type. The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for non-entities are created using the . - See for a generic version of this class. - - - - - Initializes a new instance of the class. - - The internal query. - - - - Executes the query and returns an enumerator for the elements. - - - An object that can be used to iterate through the elements. - - - - - Returns a new query where the results of the query will not be tracked by the associated - . - - A new query with no-tracking applied. - - - - Returns a that contains the SQL string that was set - when the query was created. The parameters are not included. - - - A that represents this instance. - - - - - Throws an exception indicating that binding directly to a store query is not supported. - - - Never returns; always throws. - - - - - Gets the internal query. - - The internal query. - - - - Returns false. - - false. - - - - Represents a SQL query for entities that is created from a - and is executed using the connection from that context. - Instances of this class are obtained from the instance for the - entity type. The query is not executed when this object is created; it is executed - each time it is enumerated, for example by using foreach. - SQL queries for non-entities are created using the . - See for a non-generic version of this class. - - - - - Executes the query and returns an enumerator for the elements. - - An - - object that can be used to iterate through the elements. - - - - Executes the query and returns an enumerator for the elements. - - - An object that can be used to iterate through the elements. - - - - - Returns a new query where the results of the query will not be tracked by the associated - . - - A new query with no-tracking applied. - - - - Returns a that contains the SQL string that was set - when the query was created. The parameters are not included. - - - A that represents this instance. - - - - - Throws an exception indicating that binding directly to a store query is not supported. - - - Never returns; always throws. - - - - - Gets the internal query. - - The internal query. - - - - Returns false. - - false. - - - - Exception thrown by when it was expected that SaveChanges for an entity would - result in a database update but in fact no rows in the database were affected. This usually indicates - that the database has been concurrently updated such that a concurrency token that was expected to match - did not actually match. - Note that state entries referenced by this exception are not serialized due to security and accesses to - the state entries after serialization will return null. - - - - - - Initializes a new instance of the class. - - The internal context. - The inner exception. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Subscribes the SerializeObjectState event. - - - - - Gets objects that represents the entities that could not - be saved to the database. - - The entries representing the entities that could not be saved. - - - - Holds exception state that will be serialized when the exception is serialized. - - - - - Completes the deserialization. - - The deserialized object. - - - - Gets or sets a value indicating whether the exception involved independent associations. - - - - - Initializes a new instance of the class. - - The context. - The inner exception. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Represents an entity used to store metadata about an EDM in the database. - - - - - Attempts to get the model hash calculated by Code First for the given context. - This method will return null if the context is not being used in Code First mode. - - The context. - The hash string. - - - - Gets or sets the ID of the metadata entity, which is currently always 1. - - The id. - - - - Gets or sets the model hash which is used to check whether the model has - changed since the database was created from it. - - The model hash. - - - - Contains methods used to access the Entity Data Model created by Code First in the EDMX form. - These methods are typically used for debugging when there is a need to look at the model that - Code First creates internally. - - - - - Uses Code First with the given context and writes the resulting Entity Data Model to the given - writer in EDMX form. This method can only be used with context instances that use Code First - and create the model internally. The method cannot be used for contexts created using Database - First or Model First, for contexts created using a pre-existing , or - for contexts created using a pre-existing . - - The context. - The writer. - - - - Writes the Entity Data Model represented by the given to the - given writer in EDMX form. - - An object representing the EDM. - The writer. - - - - A factory for creating derived instances. Implement this - interface to enable design-time services for context types that do not have a - public default constructor. - - At design-time, derived instances can be created in order to enable specific - design-time experiences such as model rendering, DDL generation etc. To enable design-time instantiation - for derived types that do not have a public, default constructor, implement - this interface. Design-time services will auto-discover implementations of this interface that are in the - same assembly as the derived type. - - - - - - Creates a new instance of a derived type. - - An instance of TContext - - - - This convention causes DbModelBuilder to include metadata about the model - when it builds the model. When creates a model by convention it will - add this convention to the list of those used by the DbModelBuilder. This will then result in - model metadata being written to the database if the DbContext is used to create the database. - This can then be used as a quick check to see if the model has changed since the last time it was - used against the database. - This convention can be removed from the conventions by overriding - the OnModelCreating method on a derived DbContext class. - - - - - Adds metadata to the given model configuration. - - The model configuration. - - - - This convention uses the name of the derived - class as the container for the conceptual model built by - Code First. - - - - - Initializes a new instance of the class. - - The model container name. - - - - Applies the convention to the given model. - - The model. - - - - This convention uses the namespace of the derived - class as the namespace of the conceptual model built by - Code First. - - - - - Initializes a new instance of the class. - - The model namespace. - - - - Applies the convention to the given model. - - The model. - - - - Instances of this class are used internally to create constant expressions for - that are inserted into the expression tree to replace references to - and . - - The type of the element. - - - - Private constructor called by the Create factory method. - - The query. - - - - Factory method called by CreateDelegate to create an instance of this class. - - The query, which must be a generic object of the expected type. - A new instance. - - - - The public property expected in the LINQ expression tree. - - The query. - - - - Instances of this class are used to create DbConnection objects for - SQL Server Compact Edition based on a given database name or connection string. - - - It is necessary to provide the provider invariant name of the SQL Server Compact - Edition to use when creating an instance of this class. This is because different - versions of SQL Server Compact Editions use different invariant names. - An instance of this class can be set on the class to - cause all DbContexts created with no connection information or just a database - name or connection string to use SQL Server Compact Edition by default. - This class is immutable since multiple threads may access instances simultaneously - when creating connections. - - - - - Creates a new connection factory with empty (default) DatabaseDirectory and BaseConnectionString - properties. - - The provider invariant name that specifies the version of SQL Server Compact Edition that should be used. - - - - Creates a new connection factory with the given DatabaseDirectory and BaseConnectionString properties. - - - The provider invariant name that specifies the version of SQL Server Compact Edition that should be used. - - - The path to prepend to the database name that will form the file name used by SQL Server Compact Edition - when it creates or reads the database file. An empty string means that SQL Server Compact Edition will use - its default for the database file location. - - - The connection string to use for options to the database other than the 'Data Source'. The Data Source will - be prepended to this string based on the database name when CreateConnection is called. - - - - - Creates a connection for SQL Server Compact Edition based on the given database name or connection string. - If the given string contains an '=' character then it is treated as a full connection string, - otherwise it is treated as a database name only. - - The database name or connection string. - An initialized DbConnection. - - - - The path to prepend to the database name that will form the file name used by - SQL Server Compact Edition when it creates or reads the database file. - The default value is "|DataDirectory|", which means the file will be placed - in the designated data directory. - - - - - The connection string to use for options to the database other than the 'Data Source'. - The Data Source will be prepended to this string based on the database name when - CreateConnection is called. - The default is the empty string, which means no other options will be used. - - - - - The provider invariant name that specifies the version of SQL Server Compact Edition - that should be used. - - - - - Instances of this class are used to create DbConnection objects for - SQL Server based on a given database name or connection string. By default, the connection is - made to '.\SQLEXPRESS'. This can be changed by changing the base connection - string when constructing a factory instance. - - - An instance of this class can be set on the class to - cause all DbContexts created with no connection information or just a database - name or connection string to use SQL Server by default. - This class is immutable since multiple threads may access instances simultaneously - when creating connections. - - - - - Creates a new connection factory with a default BaseConnectionString property of - 'Data Source=.\SQLEXPRESS; Integrated Security=True; MultipleActiveResultSets=True'. - - - - - Creates a new connection factory with the given BaseConnectionString property. - - - The connection string to use for options to the database other than the 'Initial Catalog'. The 'Initial Catalog' will - be prepended to this string based on the database name when CreateConnection is called. - - - - - Creates a connection for SQL Server based on the given database name or connection string. - If the given string contains an '=' character then it is treated as a full connection string, - otherwise it is treated as a database name only. - - The database name or connection string. - An initialized DbConnection. - - - - Remove hard dependency on DbProviderFactories. - - - - - The connection string to use for options to the database other than the 'Initial Catalog'. - The 'Initial Catalog' will be prepended to this string based on the database name when - CreateConnection is called. - The default is 'Data Source=.\SQLEXPRESS; Integrated Security=True; MultipleActiveResultSets=True'. - - - - - This attribute can be applied to either an entire derived class or to - individual or properties on that class. When applied - any discovered or properties will still be included - in the model but will not be automatically initialized. - - - - - Thrown when a context is generated from the templates in Database First or Model - First mode and is then used in Code First mode. - - - Code generated using the T4 templates provided for Database First and Model First use may not work - correctly if used in Code First mode. To use these classes with Code First please add any additional - configuration using attributes or the DbModelBuilder API and then remove the code that throws this - exception. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The object that holds the serialized object data. - The contextual information about the source or destination. - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Implements ICachedMetadataWorkspace for a Code First model. - - - - - Represents an object that holds a cached copy of a MetadataWorkspace and optionally the - assemblies containing entity types to use with that workspace. - - - - - Gets the MetadataWorkspace, potentially lazily creating it if it does not already exist. - If the workspace is not compatible with the provider manifest obtained from the given - connection then an exception is thrown. - - The connection to use to create or check SSDL provider info. - The workspace. - - - - The list of assemblies that contain entity types for this workspace, which may be empty, but - will never be null. - - - - - The default container name for code first is the container name that is set from the DbModelBuilder - - - - - The provider info used to construct the workspace. - - - - - Builds and stores the workspace based on the given code first configuration. - - The code first EDM model. - - - - Gets the . - If the workspace is not compatible with the provider manifest obtained from the given - connection then an exception is thrown. - - The connection to use to create or check SSDL provider info. - The workspace. - - - - The default container name for code first is the container name that is set from the DbModelBuilder - - - - - The list of assemblies that contain entity types for this workspace, which may be empty, but - will never be null. - - - - - The provider info used to construct the workspace. - - - - - The methods here are called from multiple places with an ObjectContext that may have - been created in a variety of ways and ensure that the same code is run regardless of - how the context was created. - - - - - Used a delegate to do the actual creation once an ObjectContext has been obtained. - This is factored in this way so that we do the same thing regardless of how we get to - having an ObjectContext. - Note however that a context obtained from only a connection will have no model and so - will result in an empty database. - - - - - Used a delegate to do the actual existence check once an ObjectContext has been obtained. - This is factored in this way so that we do the same thing regardless of how we get to - having an ObjectContext. - - - - - Used a delegate to do the actual check/delete once an ObjectContext has been obtained. - This is factored in this way so that we do the same thing regardless of how we get to - having an ObjectContext. - - - - - Helper class that extends Tuple to give the Item1 and Item2 properties more meaningful names. - - - - - Creates a new pair of the given set of entity types and DbSet initializer delegate. - - - - - The entity types part of the pair. - - - - - The DbSet properties initializer part of the pair. - - - - - Static helper methods only. - - - - - Checks whether the given value is null and throws ArgumentNullException if it is. - This method should only be used in places where Code Contracts are compiled out in the - release build but we still need public surface null-checking, such as where a public - abstract class is implemented by an internal concrete class. - - - - - Checks whether the given string is null, empty, or just whitespace, and throws appropriately - if the check fails. - This method should only be used in places where Code Contracts are compiled out in the - release build but we still need public surface checking, such as where a public - abstract class is implemented by an internal concrete class. - - - - - Given two key values that may or may not be byte arrays, this method determines - whether or not they are equal. For non-binary key values, this is equivalent - to Object.Equals. For binary keys, it is by comparison of every byte in the - arrays. - - - - - Provides a standard helper method for quoting identifiers - - Identifier to be quoted. Does not validate that this identifier is valid. - Quoted string - - - - Checks the given string which might be a database name or a connection string and determines - whether it should be treated as a name or connection string. Currently, the test is simply - whether or not the string contains an '=' character--if it does, then it should be treated - as a connection string. - - The name or connection string. - true if the string should be treated as a connection string; false if it should be treated as a name. - - - - Determines whether the given string should be treated as a database name directly (it contains no '='), - is in the form name=foo, or is some other connection string. If it is a direct name or has name=, then - the name is extracted and the method returns true. - - The name or connection string. - The name. - True if a name is found; false otherwise. - - - - Determines whether the given string is a full EF connection string with provider, provider connection string, - and metadata parts, or is is instead some other form of connection string. - - The name or connection string. - true if the given string is an EF connection string; otherwise, false. - - - - - Parses a property selector expression used for the expression-based versions of the Property, Collection, Reference, - etc methods on and - classes. - - The type of the entity. - The type of the property. - The property. - Name of the method. - Name of the param. - The property name. - - - - Called recursively to parse an expression tree representing a property path such - as can be passed to Include or the Reference/Collection/Property methods of . - This involves parsing simple property accesses like o => o.Products as well as calls to Select like - o => o.Products.Select(p => p.OrderLines). - - The expression to parse. - The expression parsed into an include path, or null if the expression did not match. - True if matching succeeded; false if the expression could not be parsed. - - - - Gets a cached dictionary mapping property names to property types for all the properties - in the given type. - - - - - Gets a dictionary of compiled property setter delegates for the underlying types. - The dictionary is cached for the type in the app domain. - - - - - Used by the property setter delegates to throw for attempts to set null onto - non-nullable properties or otherwise go ahead and set the property. - - - - - Gets a dictionary of compiled property getter delegates for the underlying types. - The dictionary is cached for the type in the app domain. - - - - - Creates a new with the NoTracking merge option applied. - The query object passed in is not changed. - - The query. - A new query with NoTracking applied. - - - - Converts to - - - Name of the property being validated with ValidationAttributes. Null for type-level validation. - - - ValidationResults instances to be converted to instances. - - - An created based on the - . - - - class contains a property with names of properties the error applies to. - On the other hand each applies at most to a single property. As a result for - each name in ValidationResult.MemberNames one will be created (with some - exceptions for special cases like null or empty .MemberNames or null names in the .MemberNames). - - - - - Calculates a "path" to a property. For primitive properties on an entity type it is just the - name of the property. Otherwise it is a dot separated list of names of the property and all - its ancestor properties starting from the entity. - - Property for which to calculate the path. - Dot separated path to the property. - - - - Gets names of the property and its ancestor properties as enumerable walking "bottom-up". - - Property for which to get the segments. - Names of the property and its ancestor properties. - - - - Gets an type for the given element type. - - Type of the element. - The collection type. - - - - Creates a database name given a type derived from DbContext. This handles nested and - generic classes. No attempt is made to ensure that the name is not too long since this - is provider specific. If a too long name is generated then the provider will throw and - the user must correct by specifying their own name in the DbContext constructor. - - Type of the context. - The database name to use. - - - - A local (in-memory) view of the entities in a DbSet. - This view contains Added entities and does not contain Deleted entities. The view extends - from and hooks up events between the collection and the - state manager to keep the view in sync. - - The type of the entity. - - - - Initializes a new instance of the class for entities - of the given generic type in the given internal context. - - The internal context. - - - - Called by the base class when the collection changes. - This method looks at the change made to the collection and reflects those changes in the - state manager. - - The instance containing the event data. - - - - Handles events from the state manager for entities entering, leaving, or being marked as deleted. - The local view is kept in sync with these changes. - - The sender. - The instance containing the event data. - - - - Clears the items by calling remove on each item such that we get Remove events that - can be tracked back to the state manager, rather than a single Reset event that we - cannot deal with. - - - - - Adds a contains check to the base implementation of InsertItem since we can't support - duplicate entities in the set. - - The index at which to insert. - The item to insert. - - - - Returns a cached binding list implementation backed by this ObservableCollection. - - The binding list. - - - - Service used to search for instance properties on a DbContext class that can - be assigned a DbSet instance. Also, if the the property has a public setter, - then a delegate is compiled to set the property to a new instance of DbSet. - All of this information is cached per app domain. - - - - - Creates a set discovery service for the given derived context. - - - - - Processes the given context type to determine the DbSet or IDbSet - properties and collect root entity types from those properties. Also, delegates are - created to initialize any of these properties that have public setters. - If the type has been processed previously in the app domain, then all this information - is returned from a cache. - - A dictionary of potential entity type to the list of the names of the properties that used the type. - - - - Calls the public setter on any property found to initialize it to a new instance of DbSet. - - - - - Registers the entities and their entity set name hints with the given . - - The model builder. - - - - Returns false if SuppressDbSetInitializationAttribute is found on the property or the class, otherwise - returns true. - - - - - Determines whether or not an instance of DbSet/ObjectSet can be assigned to a property of the given type. - - The type to check. - The entity type of the DbSet/ObjectSet that can be assigned, or null if no set type can be assigned. - - - - - A EagerInternalConnection object wraps an already existing DbConnection object. - - - - - InternalConnection objects manage DbConnections. - Two concrete base classes of this abstract interface exist: - and . - - - - - IInternalConnection objects manage DbConnections. - Two concrete implementations of this interface exist--LazyInternalConnection and EagerInternalConnection. - - - - - Creates an from metadata in the connection. This method must - only be called if ConnectionHasModel returns true. - - The newly created context. - - - - Returns the underlying DbConnection. - - - - - Returns a key consisting of the connection type and connection string. - If this is an EntityConnection then the metadata path is included in the key returned. - - - - - Gets a value indicating whether the connection is an EF connection which therefore contains - metadata specifying the model, or instead is a store connection, in which case it contains no - model info. - - true if the connection contains model info; otherwise, false. - - - - Returns the origin of the underlying connection string. - - - - - Gets or sets an object representing a config file used for looking for DefaultConnectionFactory entries - and connection strins. - - - - - Gets or sets the provider to be used when creating the underlying connection. - - - - - Gets the name of the underlying connection string. - - - - - Gets the original connection string. - - - - - Creates an from metadata in the connection. This method must - only be called if ConnectionHasModel returns true. - - The newly created context. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Called after the connection is initialized for the first time. - - - - - Adds a tracking cookie to the connection string for SqlConnections. Returns the - possibly modified store connection string. - - - - - Returns the underlying DbConnection. - - - - - Returns a key consisting of the connection type and connection string. - If this is an EntityConnection then the metadata path is included in the key returned. - - - - - - Gets a value indicating whether the connection is an EF connection which therefore contains - metadata specifying the model, or instead is a store connection, in which case it contains no - model info. - - true if the connection contains model info; otherwise, false. - - - - Returns the origin of the underlying connection string. - - - - - Gets or sets an object representing a config file used for looking for DefaultConnectionFactory entries - and connection strins. - - - - - Gets or sets the provider to be used when creating the underlying connection. - - - - - Gets the name of the underlying connection string. - - - - - Gets the original connection string. - - - - - Gets or sets the underlying object. No initialization is done when the - connection is obtained, and it can also be set to null. - - The underlying connection. - - - - Creates a new EagerInternalConnection that wraps an existing DbConnection. - - An existing connection. - If set to true then the underlying connection should be disposed when this object is disposed. - - - - Dispose the existing connection is the original caller has specified that it should be disposed - by the framework. - - - - - Returns the origin of the underlying connection string. - - - - - An is an where the - instance that it wraps is set immediately at construction time rather than being created lazily. In this case - the internal context may or may not own the instance but will only dispose it - if it does own it. - - - - - An underlies every instance of and wraps an - instance. - The also acts to expose necessary information to other parts of the design in a - controlled manner without adding a lot of internal methods and properties to the - class itself. - Two concrete classes derive from this abstract class - and - . - - - - - Initializes the object with its owner. - - The owner . - - - - Returns the underlying without causing the underlying database to be created - or the database initialization strategy to be executed. - This is used to get a context that can then be used for database creation/initialization. - - - - - Returns the underlying without causing the underlying database to be created - or the database initialization strategy to be executed. - This is used to get a context that can then be used for database creation/initialization. - - - - - Creates a new temporary based on the same metadata and connection as the real - and sets it as the context to use DisposeTempObjectContext is called. - This allows this internal context and its DbContext to be used for transient operations - such as initializing and seeding the database, after which it can be thrown away. - This isolates the real from any changes made and and saves performed. - - - - - If a temporary ObjectContext was set with UseTempObjectContext, then this method disposes that context - and returns this internal context and its DbContext to using the real ObjectContext. - - - - - Called by methods of to create a database either using the Migrations pipeline - if possible and the core provider otherwise. - - The context to use for core provider calls. - - - - Internal implementation of . - - True if the model hash in the context and the database match; false otherwise. - - - - Checks whether the given model (an EDMX document) matches the current model. - - - - - Queries the database for a model hash and returns it if found or returns null if the table - or the row doesn't exist in the database. - - The model hash, or null if not found. - - - - Queries the database for a model stored in the MigrationHistory table and returns it as an EDMX, or returns - null if the database does not contain a model. - - - - - Saves the model hash from the context to the database. - - - - - Performs the initialization action that may result in a and - handle the exception to provide more meaning to the user. - - The action. - - - - Registers for the ObjectStateManagerChanged event on the underlying ObjectStateManager. - This is a virtual method on this class so that it can be mocked. - - The event handler. - - - - Checks whether or not the given object is in the context in any state other than Deleted. - This is a virtual method on this class so that it can be mocked. - - The entity. - true if the entity is in the context and not deleted; otherwise false. - - - - Saves all changes made in this context to the underlying database. - - The number of objects written to the underlying database. - - - - Initializes this instance, which means both the context is initialized and the underlying - database is initialized. - - - - - Initializes the underlying ObjectContext but does not cause the database to be initialized. - - - - - Marks the database as having not been initialized. This is called when the app calls Database.Delete so - that the database if the app attempts to then use the database again it will be re-initialized automatically. - - - - - Runs the unless it has already been run or there - is no initializer for this context type in which case this method does nothing. - - - - - Marks the database as having been initialized without actually running the . - - - - - Runs the if one has been set for this context type. - Calling this method will always cause the initializer to run even if the database is marked - as initialized. - - - - - Disposes the context. Override the DisposeContext method to perform - additional work when disposing. - - - - - Performs additional work to dispose a context. - - - - - Calls DetectChanges on the underlying if AutoDetectChangesEnabled is - true or if force is set to true. - - if set to true then DetectChanges is called regardless of the value of AutoDetectChangesEnabled. - - - - Returns the DbSet instance for the given entity type. - This property is virtual and returns to that it can be mocked. - - The entity type for which a set should be returned. - A set for the given entity type. - - - - Returns the non-generic instance for the given entity type. - This property is virtual and returns to that it can be mocked. - - The entity type for which a set should be returned. - A set for the given entity type. - - - - Creates an internal set using an app domain cached delegate. - - Type of the entity. - The set. - - - - Returns the entity set and the base type for that entity set for the given type. - This method does o-space loading if required and throws if the type is not in the model. - - The entity type to lookup. - The entity set and base type pair. - - - - Returns the entity set and the base type for that entity set for the given type if that - type is mapped in the model, otherwise returns null. - This method does o-space loading if required. - - The entity type to lookup. - The entity set and base type pair, or null if not found. - - - - Checks whether or not the given entity type is mapped in the model. - - The entity type to lookup. - True if the type is mapped as an entity; false otherwise. - - - - Gets the local entities of the type specified from the state manager. That is, all - Added, Modified, and Unchanged entities of the given type. - - The type of entity to get. - The entities. - - - - Executes the given SQL query against the database backing this context. The results are not materialized as - entities or tracked. - - The type of the element. - The SQL. - The parameters. - The query results. - - - - Executes the given SQL query against the database backing this context. The results are not materialized as - entities or tracked. - - Type of the element. - The SQL. - The parameters. - The query results. - - - - Calls the generic ExecuteSqlQuery but with a non-generic return type so that it - has the correct signature to be used with CreateDelegate above. - - - - - Executes the given SQL command against the database backing this context. - - The SQL. - The parameters. - The return value from the database. - - - - Gets the underlying for the given entity, or returns null if the entity isn't tracked by this context. - This method is virtual so that it can be mocked. - - The entity. - The state entry or null. - - - - Gets the underlying objects for all entities tracked by - this context. - This method is virtual so that it can be mocked. - - State entries for all tracked entities. - - - - Gets the underlying objects for all entities of the given - type tracked by this context. - This method is virtual so that it can be mocked. - - The type of the entity. - State entries for all tracked entities of the given type. - - - - Helper method that gets the underlying objects for all entities that - match the given predicate. - - - - - Wraps the given in either a or - a depending on the actual exception type and the state - entries involved. - - The update exception. - A new exception wrapping the given exception. - - - - Uses the underlying context to create an entity such that if the context is configured - to create proxies and the entity is suitable then a proxy instance will be returned. - This method is virtual so that it can be mocked. - - The type of the entity. - The new entity instance. - - - - Uses the underlying context to create an entity such that if the context is configured - to create proxies and the entity is suitable then a proxy instance will be returned. - This method is virtual so that it can be mocked. - - The type of entity to create. - The new entity instance. - - - - This method is used by CreateDelegate to transform the CreateObject method with return type TEntity - into a method with return type object which matches the required type of the delegate. - - - - - Replaces the connection that will be used by this context. - The connection can only be changed before the context is initialized. - - The new connection. - - - - Throws if the context has been disposed. - - - - - Checks whether or not the internal cache of types to entity sets has been initialized, - and initializes it if necessary. - - - - - Forces all DbSets to be initialized, which in turn causes o-space loading to happen - for any entity type for which we have a DbSet. This includes all DbSets that were - discovered on the user's DbContext type. - - - - - Performs o-space loading for the type and returns false if the type is not in the model. - - - - - Performs o-space loading for the type and throws if the type is not in the model. - - Type of the entity. - - - - Returns true if the given entity type does not have EdmEntityTypeAttribute but is in - an assembly that has EdmSchemaAttribute. This indicates mixing of POCO and EOCO in the - same assembly, which is something that we don't support. - - - - - Determines whether or not the given clrType is mapped to a complex type. Assumes o-space loading has happened. - - - - - Updates the cache of types to entity sets either for the first time or after potentially - doing some o-space loading. - - - - - The public context instance that owns this internal context. - - - - - Returns the underlying . - - - - - Gets the temp object context, or null if none has been set. - - The temp object context. - - - - The compiled model created from the Code First pipeline, or null if Code First was - not used to create this context. - Causes the Code First pipeline to be run to create the model if it has not already been - created. - - - - - Set to true when a database initializer is performing some actions, such as creating or deleting - a database, or seeding the database. - - - - - Gets the default database initializer to use for this context if no other has been registered. - For code first this property returns a instance. - For database/model first, this property returns null. - - The default initializer. - - - - Gets or sets a value indicating whether lazy loading is enabled. - - - - - Gets or sets a value indicating whether proxy creation is enabled. - - - - - Gets or sets a value indicating whether DetectChanges is called automatically in the API. - - - - - Gets or sets a value indicating whether to validate entities when is called. - - - - - True if the context has been disposed. - - - - - The connection underlying this context. Accessing this property does not cause the context - to be initialized, only its connection. - - - - - The connection string as originally applied to the context. This is used to perform operations - that need the connection string in a non-mutated form, such as with security info still intact. - - - - - Returns the origin of the underlying connection string. - - - - - Gets or sets an object representing a config file used for looking for DefaultConnectionFactory entries, - database intializers and connection strings. - - - - - Gets or sets the provider details to be used when building the EDM model. - - - - - Gets the name of the underlying connection string. - - - - - Gets the provider name bsing used either using a cached value or getting it from - the DbConnection in use. - - - - - Gets or sets a custom OnModelCreating action. - - - - - Gets the DatabaseOperations instance to use to perform Create/Delete/Exists operations - against the database. - Note that this virtual property can be mocked to help with unit testing. - - - - - Gets instance used to create validators and validation contexts. - This property is virtual to allow mocking. - - - - - For mocking. - - - - - Constructs an for an already existing . - - The owner . - The existing . - - - - Returns the underlying without causing the underlying database to be created - or the database initialization strategy to be executed. - This is used to get a context that can then be used for database creation/initialization. - - - - - Does nothing, since the already exists. - - - - - Does nothing since the database is always considered initialized if the was created - from an existing . - - - - - Does nothing since the database is always considered initialized if the was created - from an existing . - - - - - Does nothing since the database is always considered initialized if the was created - from an existing . - - - - - Disposes the context. The underlying is also disposed if it is owned. - - - - - - - - Returns the underlying . - - - - - Gets the default database initializer to use for this context if no other has been registered. - For code first this property returns a instance. - For database/model first, this property returns null. - - The default initializer. - - - - The connection underlying this context. - - - - - The connection string as originally applied to the context. This is used to perform operations - that need the connection string in a non-mutated form, such as with security info still intact. - - - - - Returns the origin of the underlying connection string. - - - - - Gets or sets a value indicating whether lazy loading is enabled. This is just a wrapper - over the same flag in the underlying . - - - - - Gets or sets a value indicating whether proxy creation is enabled. This is just a wrapper - over the same flag in the underlying ObjectContext. - - - - - An implementation of that represents a clone of another - dictionary. That is, all the property values have been been copied into this dictionary. - - - - - The internal class used to implement . - This internal class allows for a clean internal factoring without compromising the public API. - - - - - Initializes a new instance of the class. - - The internal context with which the entity of complex object is associated. - The type of the entity or complex object. - If set to true this is a dictionary for an entity, otherwise it is a dictionary for a complex object. - - - - Implemented by subclasses to get the dictionary item for a given property name. - Checking that the name is valid should happen before this method is called such - that subclasses do not need to perform the check. - - Name of the property. - An item for the given name. - - - - Creates an object of the underlying type for this dictionary and hydrates it with property - values from this dictionary. - - The properties of this dictionary copied into a new object. - - - - Creates an instance of the underlying type for this dictionary, which may either be an entity type (in which - case CreateObject on the context is used) or a non-entity type (in which case the empty constructor is used.) - In either case, app domain cached compiled delegates are used to do the creation. - - - - - Sets the values of this dictionary by reading values out of the given object. - The given object must be of the type that this dictionary is based on. - - The object to read values from. - - - - Creates a new dictionary containing copies of all the properties in this dictionary. - Changes made to the new dictionary will not be reflected in this dictionary and vice versa. - - A clone of this dictionary. - - - - Sets the values of this dictionary by reading values from another dictionary. - The other dictionary must be based on the same type as this dictionary, or a type derived - from the type for this dictionary. - - The dictionary to read values from. - - - - Gets the dictionary item for the property with the given name. - This method checks that the given name is valid. - - The property name. - The item. - - - - Sets the value of the property only if it is different from the current value and is not - an invalid attempt to set a complex property. - - - - - Gets the set of names of all properties in this dictionary as a read-only set. - - The property names. - - - - Gets or sets the value of the property with the specified property name. - The value may be a nested instance of this class. - - The property name. - The value of the property. - - - - Gets the entity type of complex type that this dictionary is based on. - - The type of the object underlying this dictionary. - - - - Gets the internal context with which the underlying entity or complex type is associated. - - The internal context. - - - - Gets a value indicating whether the object for this dictionary is an entity or a complex object. - - true if this this is a dictionary for an entity; false if it is a dictionary for a complex object. - - - - Initializes a new instance of the class by copying - values from the given dictionary. - - The dictionary to clone. - If non-null, then the values for the new dictionary are taken from this record rather than from the original dictionary. - - - - Gets the dictionary item for a given property name. - - Name of the property. - An item for the given name. - - - - Gets the set of names of all properties in this dictionary as a read-only set. - - The property names. - - - - An implementation of for an item in a . - - - - - Represents an item in an representing a property name/value. - - - - - Gets or sets the value of the property represented by this item. - - The value. - - - - Gets the name of the property. - - The name. - - - - Gets a value indicating whether this item represents a complex property. - - true If this instance represents a complex property; otherwise, false. - - - - Gets the type of the underlying property. - - The property type. - - - - Initializes a new instance of the class. - - The name. - The value. - The type. - If set to true this item represents a complex property. - - - - Gets or sets the value of the property represented by this item. - - The value. - - - - Gets the name of the property. - - The name. - - - - Gets a value indicating whether this item represents a complex property. - - - true If this instance represents a complex property; otherwise, false. - - - - - Gets the type of the underlying property. - - The property type. - - - - An implementation of that is based on an existing - instance. - - - - - Initializes a new instance of the class. - - The internal context. - The type. - The data record. - If set to true this is a dictionary for an entity, otherwise it is a dictionary for a complex object. - - - - Gets the dictionary item for a given property name. - - Name of the property. - An item for the given name. - - - - Gets the set of names of all properties in this dictionary as a read-only set. - - The property names. - - - - An implementation of for an item in a . - - - - - Initializes a new instance of the class. - - The data record. - The ordinal. - The value. - - - - Gets or sets the value of the property represented by this item. - - The value. - - - - Gets the name of the property. - - The name. - - - - Gets a value indicating whether this item represents a complex property. - - - true If this instance represents a complex property; otherwise, false. - - - - - Gets the type of the underlying property. - - The property type. - - - - This is version of an internal interface that already exists in System.Data.Entity that - is implemented by . Using this interface allows state - entries to be mocked for unit testing. The plan is to remove this version of the - interface and use the one in System.Data.Entity once we roll into the framework. - Note that some members may need to be added to the interface in the framework when - we combine the two. - - - - - The internal class used to implement and - . - This internal class contains all the common implementation between the generic and non-generic - entry classes and also allows for a clean internal factoring without compromising the public API. - - - - - Base class for and - containing common code for collection and reference navigation property entries. - - - - - Base class for all internal entries that represent different kinds of properties. - - - - - Initializes a new instance of the class. - - The internal entity entry. - The member metadata. - - - - Validates this property. - - A sequence of validation errors for this property. Empty if no errors. Never null. - - - - Creates a new non-generic backed by this internal entry. - The actual subtype of the DbMemberEntry created depends on the metadata of this internal entry. - - The new entry. - - - - Creates a new generic backed by this internal entry. - The actual subtype of the DbMemberEntry created depends on the metadata of this internal entry. - - The type of the entity. - The type of the property. - The new entry. - - - - Gets the property name. - The property is virtual to allow mocking. - - The property name. - - - - Gets or sets the current value of the navigation property. - - The current value. - - - - Gets the internal entity entry property belongs to. - This property is virtual to allow mocking. - - The internal entity entry. - - - - Gets the entry metadata. - - The entry metadata. - - - - Initializes a new instance of the class. - - The internal entity entry. - The navigation metadata. - - - - Calls Load on the underlying . - - - - - Uses CreateSourceQuery on the underlying to create a query for this - navigation property. - - - - - Gets the navigation property value from the object. - - The entity. - The navigation property value. - - - - Validates that the owning entity entry is associated with an underlying and - is not just wrapping a non-attached entity. - If the entity is not detached, then the RelatedEnd for this navigation property is obtained. - - - - - Calls IsLoaded on the underlying . - - - - - Gets the related end, which will be null if the entity is not being tracked. - - The related end. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references or the collection of references - for a collection property. - This property is virtual so that it can be mocked. - - The current value. - - - - Gets a delegate that can be used to get the value of the property directly from the entity. - Returns null if the property does not have an accessible getter. - - The getter delegate, or null. - - - - Gets a delegate that can be used to set the value of the property directly on the entity. - Returns null if the property does not have an accessible setter. - - The setter delegate, or null. - - - - Initializes a new instance of the class. - - The internal entity entry. - The navigation metadata. - - - - Gets the navigation property value from the object. - Since for a collection the related end is an , it means - that the internal representation of the navigation property is just the related end. - - The entity. - The navigation property value. - - - - Creates a new non-generic backed by this internal entry. - The runtime type of the DbMemberEntry created will be or a subtype of it. - - The new entry. - - - - Creates a new generic backed by this internal entry. - The runtime type of the DbMemberEntry created will be or a subtype of it. - - The type of the entity. - The type of the property. - The new entry. - - - - Creates a new generic backed by this internal entry. - The actual subtype of the DbCollectionEntry created depends on the metadata of this internal entry. - - The type of the entity. - The type of the element. - The new entry. - - - - Creates a object for the given entity type - and collection element type. - - The type of the entity. - The type of the property. - Type of the element. - The set. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references or the collection of references - for a collection property. - - The current value. - - - - The internal class used to implement - and . - This internal class contains all the common implementation between the generic and non-generic - entry classes and also allows for a clean internal factoring without compromising the public API. - - - - - Initializes a new instance of the class. - - The internal context. - The state entry. - - - - Initializes a new instance of the class for an - entity which may or may not be attached to the context. - - The internal context. - The entity. - - - - Queries the database for copies of the values of the tracked entity as they currently exist in the database. - - The store values. - - - - Appends a query for the properties in the entity to the given string builder that is being used to - build the eSQL query. This method may be called recursively to query for all the sub-properties of - a complex property. - - The query builder. - The qualifier with which to prefix each property name. - The dictionary that acts as a template for the properties to query. - - - - Validates that a dictionary can be obtained for the state of the entity represented by this entry. - - The method name being used to request a dictionary. - The state that is invalid for the request being processed. - - - - Calls Refresh with StoreWins on the underlying state entry. - - - - - Gets an internal object representing a reference navigation property. - This method is virtual to allow mocking. - - The navigation property. - The type of entity requested, which may be 'object' or null if any type can be accepted. - The entry. - - - - Gets an internal object representing a collection navigation property. - This method is virtual to allow mocking. - - The navigation property. - The type of entity requested, which may be 'object' or null f any type can be accepted. - The entry. - - - - Gets an internal object representing a navigation, scalar, or complex property. - This method is virtual to allow mocking. - - Name of the property. - The type of entity requested, which may be 'object' if any type can be accepted. - The entry. - - - - Gets an internal object representing a scalar or complex property. - This method is virtual to allow mocking. - - The property. - The type of object requested, which may be null or 'object' if any type can be accepted. - if set to true then the found property must be a complex property. - The entry. - - - - Gets an internal object representing a scalar or complex property. - The property may be a nested property on the given . - - The parent property entry, or null if this is a property directly on the entity. - Name of the property. - The type of object requested, which may be null or 'object' if any type can be accepted. - if set to true then the found property must be a complex property. - The entry. - - - - Gets an internal object representing a scalar or complex property. - The property may be a nested property on the given . - - The parent property entry, or null if this is a property directly on the entity. - Name of the property. - The property split out into its parts. - The type of object requested, which may be null or 'object' if any type can be accepted. - if set to true then the found property must be a complex property. - The entry. - - - - Checks that the given property name is a navigation property and is either a reference property or - collection property according to the value of requireCollection. - - - - - Gets metadata for the given property if that property is a navigation property or returns null - if it is not a navigation property. - - Name of the property. - Navigation property metadata or null. - - - - Gets the type of entity or entities at the target end of the given navigation property. - - The navigation property. - The CLR type of the entity or entities at the other end. - - - - Gets the related end for the navigation property with the given name. - - The navigation property. - - - - - Uses EDM metadata to validate that the property name exists in the model and represents a scalar or - complex property or exists in the CLR type. - This method is public and virtual so that it can be mocked. - - The property name. - The type on which the property is declared. - The type of object requested, which may be 'object' if any type can be accepted. - Metadata for the property. - - - - Splits the given property name into parts delimited by dots. - - Name of the property. - The parts of the name. - - - - Validates that this entry is associated with an underlying and - is not just wrapping a non-attached entity. - - - - - Validates entity represented by this entity entry. - This method is virtual to allow mocking. - - User defined dictionary containing additional info for custom validation. This parameter is optional and can be null. - containing validation result. Never null. - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - Two instances are considered equal if they are both entries for - the same entity on the same . - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Gets the tracked entity. - This property is virtual to allow mocking. - - The entity. - - - - Gets or sets the state of the entity. - - The state. - - - - Gets the current property values for the tracked entity represented by this object. - This property is virtual to allow mocking. - - The current values. - - - - Gets the original property values for the tracked entity represented by this object. - The original values are usually the entity's property values as they were when last queried from - the database. - This property is virtual to allow mocking. - - The original values. - - - - Checks whether or not this entry is associated with an underlying or - is just wrapping a non-attached entity. - - - - - Gets the type of the entity being tracked. - - The type of the entity. - - - - Gets the c-space entity type for this entity from the EDM. - - - - - Gets the underlying object state entry. - - - - - Gets the internal context. - - The internal context. - - - - A concrete implementation of used for properties of entities. - - - - - The internal class used to implement and - . - This internal class contains all the common implementation between the generic and non-generic - entry classes and also allows for a clean internal factoring without compromising the public API. - - - - - Initializes a new instance of the class. - - The internal entry. - The property info. - - - - Creates a delegate that will get the value of this property. - - The delegate. - - - - Creates a delegate that will set the value of this property. - - The delegate. - - - - Returns true if the property of the entity that this property is ultimately part - of is set as modified. If this is a property of an entity, then this method returns - true if the property is modified. If this is a property of a complex object, then - this method returns true if the top-level complex property on the entity is modified. - - True if the entity property is modified. - - - - Sets the property of the entity that this property is ultimately part of to modified. - If this is a property of an entity, then this method marks it as modified. - If this is a property of a complex object, then this method marks the top-level - complex property as modified. - - - - - Rejects changes to this property. - If this is a property of a complex object, then this method rejects changes to the top-level - complex property. - - - - - Walks the tree from a property of a complex property back up to the top-level - complex property and then checks whether or not DetectChanges still considers - the complex property to be modified. If it does not, then the complex property - is marked as Unchanged. - - - - - Throws if the user attempts to set a complex property to null. - - The value. - - - - Sets the given value directly onto the underlying entity object. - - The value. - True if the property had a setter that we could attempt to call; false if no setter was available. - - - - Sets the property value, potentially by setting individual nested values for a complex - property. - - The value. - - - - Gets an internal object representing a scalar or complex property of this property, - which must be a mapped complex property. - This method is virtual to allow mocking. - - The property. - The type of object requested, which may be null or 'object' if any type can be accepted. - if set to true then the found property must be a complex property. - The entry. - - - - Validates that the owning entity entry is associated with an underlying and - is not just wrapping a non-attached entity. - - - - - Creates a new non-generic backed by this internal entry. - The runtime type of the DbMemberEntry created will be or a subtype of it. - - The new entry. - - - - Creates a new generic backed by this internal entry. - The runtime type of the DbMemberEntry created will be or a subtype of it. - - The type of the entity. - The type of the property. - The new entry. - - - - Returns parent property, or null if this is a property on the top-level entity. - - - - - Gets the current values of the parent entity or complex property. - That is, the current values that contains the value for this property. - - The parent current values. - - - - Gets the original values of the parent entity or complex property. - That is, the original values that contains the value for this property. - - The parent original values. - - - - A delegate that reads the value of this property. - May be null if there is no way to set the value due to missing accessors on the type. - - - - - A delegate that sets the value of this property. - May be null if there is no way to set the value due to missing accessors on the type. - - - - - Gets or sets the original value. - Note that complex properties are returned as objects, not property values. - - - - - Gets or sets the current value. - Note that complex properties are returned as objects, not property values. - Also, for complex properties, the object returned is the actual complex object from the entity - and setting the complex object causes the actual object passed to be set onto the entity. - - The current value. - - - - Gets or sets a value indicating whether this property is modified. - - - - - Gets the property metadata. - - The property metadata. - - - - Initializes a new instance of the class. - - The internal entry. - The property info. - - - - Creates a delegate that will get the value of this property. - - The delegate. - - - - Creates a delegate that will set the value of this property. - - The delegate. - - - - Returns true if the property of the entity that this property is ultimately part - of is set as modified. Since this is a property of an entity this method returns - true if the property is modified. - - True if the entity property is modified. - - - - Sets the property of the entity that this property is ultimately part of to modified. - Since this is a property of an entity this method marks it as modified. - - - - - Rejects changes to this property. - - - - - Walks the tree from a property of a complex property back up to the top-level - complex property and then checks whether or not DetectChanges still considers - the complex property to be modified. If it does not, then the complex property - is marked as Unchanged. - - - - - Returns parent property, or null if this is a property on the top-level entity. - - - - - Gets the current values of the parent entity. - That is, the current values that contains the value for this property. - - The parent current values. - - - - Gets the original values of the parent entity. - That is, the original values that contains the value for this property. - - The parent original values. - - - - A concrete implementation of used for properties of complex objects. - - - - - Initializes a new instance of the class. - - The parent property entry. - The property metadata. - - - - Creates a delegate that will get the value of this property. - - The delegate. - - - - Creates a delegate that will set the value of this property. - - The delegate. - - - - Returns true if the property of the entity that this property is ultimately part - of is set as modified. Since this is a property of a complex object - this method returns true if the top-level complex property on the entity is modified. - - True if the entity property is modified. - - - - Sets the property of the entity that this property is ultimately part of to modified. - Since this is a property of a complex object this method marks the top-level - complex property as modified. - - - - - Rejects changes to this property. - Since this is a property of a complex object this method rejects changes to the top-level - complex property. - - - - - Walks the tree from a property of a complex property back up to the top-level - complex property and then checks whether or not DetectChanges still considers - the complex property to be modified. If it does not, then the complex property - is marked as Unchanged. - - - - - Returns parent property, or null if this is a property on the top-level entity. - - - - - Gets the current values of the parent complex property. - That is, the current values that contains the value for this property. - - The parent current values. - - - - Gets the original values of the parent complex property. - That is, the original values that contains the value for this property. - - The parent original values. - - - - The internal class used to implement , - and . - This internal class contains all the common implementation between the generic and non-generic - entry classes and also allows for a clean internal factoring without compromising the public API. - - - - - Initializes a new instance of the class. - - The internal entity entry. - The navigation metadata. - - - - Gets the navigation property value from the object. - For reference navigation properties, this means getting the value from the - object. - - The entity. - The navigation property value. - - - - Sets the navigation property value onto the object. - For reference navigation properties, this means setting the value onto the - object. - - The entity. - The value. - - - - Sets the given value on the given which must be an - . - This method is setup in such a way that it can easily be used by CreateDelegate without any - dynamic code generation needed. - - The type of the related entity. - The entity reference. - The value. - - - - Creates a new non-generic backed by this internal entry. - The runtime type of the DbMemberEntry created will be or a subtype of it. - - The new entry. - - - - Creates a new generic backed by this internal entry. - The runtime type of the DbMemberEntry created will be or a subtype of it. - - The type of the entity. - The type of the property. - The new entry. - - - - Gets or sets the current value of the navigation property. The current value is - the entity that the navigation property references or the collection of references - for a collection property. - - The current value. - - - - Contains metadata about a member of an entity type or complex type. - - - - - Initializes a new instance of the class. - - The type that the property is declared on. - Type of the property. - The property name. - - - - Creates a new the runtime type of which will be - determined by the metadata. - - The entity entry to which the member belongs. - The parent property entry if the new entry is nested, otherwise null. - The new entry. - - - - Gets the type of the member for which this is metadata. - - The type of the member entry. - - - - Gets the name of the property. - - The name. - - - - Gets the type of the entity or complex object that on which the member is declared. - - The type that the member is declared on. - - - - Gets the type of element for the property, which for non-collection properties - is the same as the MemberType and which for collection properties is the type - of element contained in the collection. - - The type of the element. - - - - Gets the type of the member, which for collection properties is the type - of the collection rather than the type in the collection. - - The type of the member. - - - - The types of member entries supported. - - - - - Initializes a new instance of the class. - - The type that the property is declared on. - Type of the property. - The property name. - if set to true this is a collection nav prop. - - - - Creates a new the runtime type of which will be - determined by the metadata. - - The entity entry to which the member belongs. - The parent property entry which will always be null for navigation entries. - The new entry. - - - - Gets the type of the member for which this is metadata. - - The type of the member entry. - - - - Gets the type of the member, which for collection properties is the type - of the collection rather than the type in the collection. - - The type of the member. - - - - Contains metadata for a property of a complex object or entity. - - - - - Initializes a new instance of the class. - - The type that the property is declared on. - Type of the property. - The property name. - if set to true the property is mapped in the EDM. - if set to true the property is a complex property. - - - - Validates that the given name is a property of the declaring type (either on the CLR type or in the EDM) - and that it is a complex or scalar property rather than a nav property and then returns metadata about - the property. - - The internal context. - The type that the property is declared on. - The type of property requested, which may be 'object' if any type can be accepted. - Name of the property. - Metadata about the property, or null if the property does not exist or is a navigation property. - - - - Creates a new the runtime type of which will be - determined by the metadata. - - The entity entry to which the member belongs. - The parent property entry if the new entry is nested, otherwise null. - The new entry. - - - - Gets a value indicating whether this is a complex property. - That is, not whether or not this is a property on a complex object, but rather if the - property itself is a complex property. - - - true if this instance is complex; otherwise, false. - - - - - Gets the type of the member for which this is metadata. - - The type of the member entry. - - - - Gets a value indicating whether this instance is mapped in the EDM. - - true if this instance is mapped; otherwise, false. - - - - Gets the type of the member, which for collection properties is the type - of the collection rather than the type in the collection. - - The type of the member. - - - - An implementation of that wraps an existing set but makes - it read-only. - - - - - - Initializes a new instance of the class wrapped around - another existing set. - - The existing set. - - - - This is a temporary adapter class that wraps an and - presents it as an . This class will be removed once - we roll into the System.Data.Entity assembly. See - for more details. - - - - - Helper class that extends Tuple to give the Item1 and Item2 properties more meaningful names. - - - - - Creates a new pair of the given EntitySet and BaseType. - - - - - The EntitySet part of the pair. - - - - - The BaseType part of the pair. - - - - - Helper class that extends Tuple to give the Item1 and Item2 properties more meaningful names. - - - - - Creates a new pair of the given database initializer delegate and a flag - indicating whether or not it is locked. - - - - - The initializer delegate. - - - - - A flag indicating whether or not the initializer is locked and should not be changed. - - - - - Represents a raw SQL query against the context for any type where the results are never - associated with an entity set and are never tracked. - - - - - Represents a raw SQL query against the context that may be for entities in an entity set - or for some other non-entity element type. - - - - - Initializes a new instance of the class. - - The SQL. - The parameters. - - - - If the query is would track entities, then this method returns a new query that will - not track entities. - - A no-tracking query. - - - - Executes the query and returns an enumerator for the results. - - The query results. - - - - Throws an exception indicating that binding directly to a store query is not supported. - - - Never returns; always throws. - - - - - Returns a that contains the SQL string that was set - when the query was created. The parameters are not included. - - - A that represents this instance. - - - - - Gets the SQL query string, - - The SQL query. - - - - Gets the parameters. - - The parameters. - - - - Returns false. - - false. - - - - Initializes a new instance of the class. - - The internal context. - Type of the element. - The SQL. - The parameters. - - - - Returns this query since it can never be a tracking query. - - This instance. - - - - Executes the query and returns an enumerator for the results. - - The query results. - - - - Generic wrapper around to allow results to be - returned as generic - - The type of the element. - - - - Executes the query and returns an enumerator for the elements. - - An - - object that can be used to iterate through the elements. - - - - Executes the query and returns an enumerator for the elements. - - - An object that can be used to iterate through the elements. - - - - - Returns a that contains the SQL string that was set - when the query was created. The parameters are not included. - - - A that represents this instance. - - - - - Throws an exception indicating that binding directly to a store query is not supported. - - - Never returns; always throws. - - - - - Returns false. - - false. - - - - Represents a raw SQL query against the context for entities in an entity set. - - - - - Initializes a new instance of the class. - - The set. - The SQL. - if set to true then the entities will not be tracked. - The parameters. - - - - If the query is would track entities, then this method returns a new query that will - not track entities. - - A no-tracking query. - - - - Executes the query and returns an enumerator for the results. - - The query results. - - - - Gets a value indicating whether this instance is set to track entities or not. - - - true if this instance is no-tracking; otherwise, false. - - - - - A LazyInternalConnection object manages information that can be used to create a DbConnection object and - is responsible for creating that object and disposing it. - - - - - Creates a new LazyInternalConnection using convention to calculate the connection. - The DbConnection object will be created lazily on demand and will be disposed when the LazyInternalConnection is disposed. - - Either the database name or a connection string. - - - - Creates a new LazyInternalConnection targeting a specific database. - The DbConnection object will be created lazily on demand and will be disposed when the LazyInternalConnection is disposed. - - The connection to target. - - - - Creates an from metadata in the connection. This method must - only be called if ConnectionHasModel returns true. - - The newly created context. - - - - Disposes the underlying DbConnection. - Note that dispose actually puts the LazyInternalConnection back to its initial state such that - it can be used again. - - - - - - Searches the app.config/web.config file for a connection that matches the given name. - The connection might be a store connection or an EF connection. - - The connection name. - - True if a connection from the app.config file was found and used. - - - - Attempts to locate a connection entry in the configuration based on the supplied context name. - - The name to search for. - The configuration to search in. - Connection string if found, otherwise null. - - - - Initializes the connection based on a connection string. - - The settings to initialize from. - - - - Returns the underlying DbConnection, creating it first if it does not already exist. - - - - - Returns the origin of the underlying connection string. - - - - - Gets the name of the underlying connection string. - - - - - Returns a key consisting of the connection type and connection string. - If this is an EntityConnection then the metadata path is included in the key returned. - - - - - - - - - Gets a value indicating whether the connection is an EF connection which therefore contains - metadata specifying the model, or instead is a store connection, in which case it contains no - model info. - - true if connection contain model info; otherwise, false. - - - - Gets a value indicating if the lazy connection has been initialized. - - - - - A is a concrete type that will lazily create the - underlying when needed. The created is owned by the - internal context and will be disposed when the internal context is disposed. - - - - - Constructs a for the given owner that will be initialized - on first use. - - The owner . - Responsible for creating a connection lazily when the context is used for the first time. - The model, or null if it will be created by convention - - - - Returns the underlying without causing the underlying database to be created - or the database initialization strategy to be executed. - This is used to get a context that can then be used for database creation/initialization. - - - - - Saves all changes made in this context to the underlying database, but only if the - context has been initialized. If the context has not been initialized, then this - method does nothing because there is nothing to do; in particular, it does not - cause the context to be initialized. - - The number of objects written to the underlying database. - - - - Disposes the context. The underlying is also disposed. - The connection to the database ( object) is also disposed if it was created by - the context, otherwise it is not disposed. - - - - - - - - Initializes the underlying . - - - - - Creates an immutable, cacheable representation of the model defined by this builder. - This model can be used to create an or can be passed to a - constructor to create a for this model. - - - - - - Creates and configures the instance that will be used to build the - . - - The builder. - - - - Marks the database as having not been initialized. This is called when the app calls Database.Delete so - that the database if the app attempts to then use the database again it will be re-initialized automatically. - - - - - Marks the database as having been initialized without actually running the . - - - - - Runs the unless it has already been run or there - is no initializer for this context type in which case this method does nothing. - - - - - Performs some action (which may do nothing) in such a way that it is guaranteed only to be run - once for the model and connection in this app domain, unless it fails by throwing an exception, - in which case it will be re-tried next time the context is initialized. - - The action. - - - - Returns the underlying . - - - - - The compiled model created from the Code First pipeline, or null if Code First was - not used to create this context. - Causes the Code First pipeline to be run to create the model if it has not already been - created. - - - - - The actually being used, which may be the - temp context for initialization or the real context. - - - - - The connection underlying this context. Accessing this property does not cause the context - to be initialized, only its connection. - - - - - The connection string as originally applied to the context. This is used to perform operations - that need the connection string in a non-mutated form, such as with security info still intact. - - - - - Returns the origin of the underlying connection string. - - - - - Gets or sets an object representing a config file used for looking for DefaultConnectionFactory entries - and connection strings. - - - - - Gets the name of the underlying connection string. - - - - - Gets or sets the provider details to be used when building the EDM model. - - - - - - - - Gets or sets a custom OnModelCreating action. - - - - - Gets the default database initializer to use for this context if no other has been registered. - For code first this property returns a instance. - For database/model first, this property returns null. - - The default initializer. - - - - Gets or sets a value indicating whether lazy loading is enabled. - If the exists, then this property acts as a wrapper over the flag stored there. - If the has not been created yet, then we store the value given so we can later - use it when we create the . This allows the flag to be changed, for example in - a DbContext constructor, without it causing the to be created. - - - - - Gets or sets a value indicating whether proxy creation is enabled. - If the ObjectContext exists, then this property acts as a wrapper over the flag stored there. - If the ObjectContext has not been created yet, then we store the value given so we can later - use it when we create the ObjectContext. This allows the flag to be changed, for example in - a DbContext constructor, without it causing the ObjectContext to be created. - - - - - A wrapping query provider that performs expression transformation and then delegates - to the provider. The objects returned are always instances - of . This provider is associated with generic objects. - - - - - Creates a provider that wraps the given provider. - - The provider to wrap. - - - - Performs expression replacement and then delegates to the wrapped provider before wrapping - the returned as a . - - - - - Performs expression replacement and then delegates to the wrapped provider before wrapping - the returned as a where T is determined - from the element type of the ObjectQuery. - - - - - By default, calls the same method on the wrapped provider. - - - - - By default, calls the same method on the wrapped provider. - - - - - Creates an appropriate generic IQueryable using Reflection and the underlying ElementType of - the given ObjectQuery. - - - - - Performs expression replacement and then delegates to the wrapped provider to create an - . - - - - - Wraps the given as a where T is determined - from the element type of the ObjectQuery. - - - - - Gets the internal context. - - The internal context. - - - - A LINQ expression visitor that finds uses with equivalent - instances. - - - - - Replaces calls to DbContext.Set() with an expression for the equivalent . - - The node to replace. - A new node, which may have had the replacement made. - - - - Replaces a or property with a constant expression - for the underlying . - - The node to replace. - A new node, which may have had the replacement made. - - - - Processes the fields in each constant expression and replaces instances with - the underlying ObjectQuery instance. This handles cases where the query has a closure - containing values. - - - - - Gets a value from the given member, or returns null - if the member doesn't contain a DbContext instance. - - The expression for the object for the member, which may be null for a static member. - The member. - The context or null. - - - - Gets the instance from the given instance or static member, returning null - if the member does not contain a DbContext instance. - - The member. - The value of the object to get the instance from, or null if the member is static. - The context instance or null. - - - - Takes a or and creates an expression - for the underlying . - - - - - Takes a or and extracts the underlying . - - - - - A non-generic interface implemented by that allows operations on - any query object without knowing the type to which it applies. - - - - - An interface implemented by . - - The type of the element. - - - - A non-generic interface implemented by that allows operations on - any set object without knowing the type to which it applies. - - - - - An interface implemented by . - - - - - An instance of this internal class is created whenever an instance of the public - class is needed. This allows the public surface to be non-generic, while the runtime type created - still implements . - - The type of the element. - - - - Creates a new query that will be backed by the given internal query object. - - The backing query. - - - - See comments in . - - - - - See comments in . - - - - - Gets the enumeration of this query causing it to be executed against the store. - - An enumerator for the query - - - - Gets the underlying internal query object. - - The internal query. - - - - An instance of this internal class is created whenever an instance of the public - class is needed. This allows the public surface to be non-generic, while the runtime type created - still implements . - - The type of the entity. - - - - Creates a new set that will be backed by the given internal set. - - The internal set. - - - - Creates an instance of this class. This method is used with CreateDelegate to cache a delegate - that can create a generic instance without calling MakeGenericType every time. - - - The internal set to wrap, or null if a new internal set should be created. - The set. - - - - See comments in . - - - - - See comments in . - - - - - See comments in . - - - - - See comments in . - - - - - See comments in . - - - - - Gets the enumeration of this query causing it to be executed against the store. - - An enumerator for the query - - - - Gets the underlying internal query object. - - The internal query. - - - - Gets the underlying internal set. - - The internal set. - - - - See comments in . - - - - - An InternalQuery underlies every instance of DbSet and DbQuery. It acts to lazily initialize a InternalContext as well - as an ObjectQuery and EntitySet the first time that it is used. The InternalQuery also acts to expose necessary - information to other parts of the design in a controlled manner without adding a lot of internal methods and - properties to the DbSet and DbQuery classes themselves. - - The type of entity to query for. - - - - Creates a new query that will be backed by the given InternalContext. - - The backing context. - - - - Creates a new internal query based on the information in an existing query together with - a new underlying ObjectQuery. - - - - - Resets the query to its uninitialized state so that it will be re-lazy initialized the next - time it is used. This allows the ObjectContext backing a DbContext to be switched out. - - - - - Updates the underlying ObjectQuery with the given include path. - - The include path. - A new query containing the defined include path. - - - - Returns a new query where the entities returned will not be cached in the . - - A new query with NoTracking applied. - - - - Performs lazy initialization of the underlying ObjectContext, ObjectQuery, and EntitySet objects - so that the query can be used. - - - - - Returns a representation of the underlying query, equivalent - to ToTraceString on ObjectQuery. - - - The query string. - - - - - Gets the enumeration of this query causing it to be executed against the store. - - An enumerator for the query - - - - Gets the enumeration of this query causing it to be executed against the store. - - An enumerator for the query - - - - The underlying InternalContext. - - - - - The underlying ObjectQuery. - - - - - The underlying ObjectQuery. - - - - - The LINQ query expression. - - - - - The LINQ query provider for the underlying . - - - - - The IQueryable element type. - - - - - Creates a new query that will be backed by the given InternalContext. - - The backing context. - - - - Resets the set to its uninitialized state so that it will be re-lazy initialized the next - time it is used. This allows the ObjectContext backing a DbContext to be switched out. - - - - - Finds an entity with the given primary key values. - If an entity with the given primary key values exists in the context, then it is - returned immediately without making a request to the store. Otherwise, a request - is made to the store for an entity with the given primary key values and this entity, - if found, is attached to the context and returned. If no entity is found in the - context or the store, then null is returned. - - - The ordering of composite key values is as defined in the EDM, which is in turn as defined in - the designer, by the Code First fluent API, or by the DataMember attribute. - - The values of the primary key for the entity to be found. - The entity found, or null. - Thrown if multiple entities exist in the context with the primary key values given. - Thrown if the type of entity is not part of the data model for this context. - Thrown if the types of the key values do not match the types of the key values for the entity type to be found. - Thrown if the context has been disposed. - - - - Finds an entity in the state manager with the given primary key values, or returns null - if no such entity can be found. This includes looking for Added entities with the given - key values. - - - - - Finds an entity in the store with the given primary key values, or returns null - if no such entity can be found. This code is adapted from TryGetObjectByKey to - include type checking in the query. - - - - - Attaches the given entity to the context underlying the set. That is, the entity is placed - into the context in the Unchanged state, just as if it had been read from the database. - - - Attach is used to repopulate a context with an entity that is known to already exist in the database. - SaveChanges will therefore not attempt to insert an attached entity into the database because - it is assumed to already be there. - Note that entities that are already in the context in some other state will have their state set - to Unchanged. Attach is a no-op if the entity is already in the context in the Unchanged state. - This method is virtual so that it can be mocked. - - The entity to attach. - - - - Adds the given entity to the context underlying the set in the Added state such that it will - be inserted into the database when SaveChanges is called. - - - Note that entities that are already in the context in some other state will have their state set - to Added. Add is a no-op if the entity is already in the context in the Added state. - This method is virtual so that it can be mocked. - - The entity to add. - - - - Marks the given entity as Deleted such that it will be deleted from the database when SaveChanges - is called. Note that the entity must exist in the context in some other state before this method - is called. - - - Note that if the entity exists in the context in the Added state, then this method - will cause it to be detached from the context. This is because an Added entity is assumed not to - exist in the database such that trying to delete it does not make sense. - This method is virtual so that it can be mocked. - - The entity to remove. - - - - This method checks whether an entity is already in the context. If it is, then the state - is changed to the new state given. If it isn't, then the action delegate is executed to - either Add or Attach the entity. - - A delegate to Add or Attach the entity. - The new state to give the entity if it is already in the context. - The entity. - Name of the method. - - - - Creates a new instance of an entity for the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The entity instance, which may be a proxy. - - - - Creates a new instance of an entity for the type of this set or for a type derived - from the type of this set. - Note that this instance is NOT added or attached to the set. - The instance returned will be a proxy if the underlying context is configured to create - proxies and the entity type meets the requirements for creating a proxy. - - The type of entity to create. - The entity instance, which may be a proxy. - - - - Performs lazy initialization of the underlying ObjectContext, ObjectQuery, and EntitySet objects - so that the query can be used. - This method is virtual so that it can be mocked. - - - - - Attempts to perform lazy initialization of the underlying ObjectContext, ObjectQuery, and EntitySet objects - so that o-space loading has happened and the query can be used. This method doesn't throw if the type - for the set is not mapped. - - - - - Creates an underlying for this set. - - if set to true then the query is set to be no-tracking. - The query. - - - - Returns a representation of the underlying query, equivalent - to ToTraceString on ObjectQuery. - - - The query string. - - - - - Updates the underlying ObjectQuery with the given include path. - - The include path. - A new query containing the defined include path. - - - - Returns a new query where the entities returned will not be cached in the . - - A new query with NoTracking applied. - - - - Executes the given SQL query against the database materializing entities into the entity set that - backs this set. - - The SQL quey. - if true then the entities are not tracked, otherwise they are. - The parameters. - The query results. - - - - Gets the enumeration of this query causing it to be executed against the store. - - An enumerator for the query - - - - Gets the ObservableCollection representing the local view for the set based on this query. - - - - - The underlying ObjectQuery. Accessing this property will trigger lazy initialization of the query. - - - - - The underlying EntitySet name. Accessing this property will trigger lazy initialization of the query. - - - - - The underlying EntitySet name, quoted for ESQL. Accessing this property will trigger lazy initialization of the query. - - - - - The underlying EntitySet. Accessing this property will trigger lazy initialization of the query. - - - - - The base type for the underlying entity set. Accessing this property will trigger lazy initialization of the query. - - - - - The underlying InternalContext. Accessing this property will trigger lazy initialization of the query. - - - - - The LINQ query expression. - - - - - The LINQ query provider for the underlying . - - - - - A wrapping query provider that performs expression transformation and then delegates - to the provider. The objects returned - are always instances of when the generic CreateQuery method is - used and are instances of when the non-generic CreateQuery method - is used. This provider is associated with non-generic objects. - - - - - Creates a provider that wraps the given provider. - - The provider to wrap. - - - - Performs expression replacement and then delegates to the wrapped provider before wrapping - the returned as a . - - - - - Delegates to the wrapped provider except returns instances of . - - - - - Creates an appropriate generic IQueryable using Reflection and the underlying ElementType of - the given ObjectQuery. - - - - - Extends to create a sortable binding list that stays in - sync with an underlying . That is, when items are added - or removed from the binding list, they are added or removed from the ObservableCollecion, and - vice-versa. - - The list element type. - - - - An extended BindingList implementation that implements sorting. - This class was adapted from the LINQ to SQL class of the same name. - - The element type. - - - - Initializes a new instance of the class with the - the given underlying list. Note that sorting is dependent on having an actual - rather than some other ICollection implementation. - - The list. - - - - Applies sorting to the list. - - The property to sort by. - The sort direction. - - - - Stops sorting. - - - - - Gets a value indicating whether this list is sorted. - - - true if this instance is sorted; otherwise, false. - - - - - Gets the sort direction. - - The sort direction. - - - - Gets the sort property being used to sort. - - The sort property. - - - - Returns true indicating that this list supports sorting. - - true. - - - - Implements comparing for the implementation. - - - - - Initializes a new instance of the class - for sorting the list. - - The property to sort by. - The sort direction. - - - - Compares two instances of items in the list. - - The left item to compare. - The right item to compare. - - - - - Determines whether this instance can sort for the specified type. - - The type. - - true if this instance can sort for the specified type; otherwise, false. - - - - - Determines whether this instance can sort for the specified type using IComparable. - - The type. - - true if this instance can sort for the specified type; otherwise, false. - - - - - Determines whether this instance can sort for the specified type using ToString. - - The type. - - true if this instance can sort for the specified type; otherwise, false. - - - - - Initializes a new instance of a binding list backed by the given - - The obervable collection. - - - - Creates a new item to be added to the binding list. - - The new item. - - - - Cancels adding of a new item that was started with AddNew. - - Index of the item. - - - - Removes all items from the binding list and underlying ObservableCollection. - - - - - Ends the process of adding a new item that was started with AddNew. - - Index of the item. - - - - Inserts the item into the binding list at the given index. - - The index. - The item. - - - - Removes the item at the specified index. - - The index. - - - - Sets the item into the list at the given position. - - The index to insert at. - The item. - - - - Event handler to update the binding list when the underlying observable collection changes. - - The sender. - Data indicating how the collection has changed. - - - - Adds the item to the underlying observable collection. - - The item. - - - - Removes the item from the underlying from observable collection. - - The item. - - - - Adapted from to allow the initializer to take an input object and - to do one-time initialization that only has side-effects and doesn't return a value. - - The type of the input. - - - - Initializes a new instance of the class. - - The action. - - - - Performs the action unless it has already been successfully performed before. - - The input to the action; ignored if the action has already succeeded. - - - - Adapted from to allow the initializer to take an input object and - to retry initialization if it has previously failed. - - - This class can only be used to initialize reference types that will not be null when - initialized. - - The type of the input. - The type of the result. - - - - Initializes a new instance of the class. - - The value factory. - - - - Gets the value, possibly by running the initializer if it has not been run before or - if all previous times it ran resulted in exceptions. - - The input to the initializer; ignored if initialization has already succeeded. - The initialized object. - - - - Validates a property of a given EDM complex type. - - - This is a composite validator for a complex property of an entity. - - - - - Validates a property of a given EDM property type. - - - This is a composite validator for a property of an entity or a complex type. - - - - - Simple validators for the corresponding property. - - - - - Name of the property the validator was created for. - - - - - Creates an instance of for a given EDM property. - - The EDM property name. - Validators used to validate the given property. - - - - Validates a property. - - Validation context. Never null. - Property to validate. Never null. - Validation errors as . Empty if no errors. Never null. - - - - - Simple validators for the corresponding property. - - - - - Gets the name of the property the validator was created for. - - - - - The complex type validator. - - - - - Creates an instance of for a given complex property. - - The complex property name. - Validators used to validate the given property. - Complex type validator. - - - - Validates a complex property. - - Validation context. Never null. - Property to validate. Never null. - Validation errors as . Empty if no errors. Never null. - - - - - Validator used to validate a property of a given EDM ComplexType. - - - This is a composite validator. - - - - - Validator used to validate an entity of a given EDM Type. - - - This is a composite validator for an EDM Type. - - - - - Creates an instance for a given EDM type. - - Property validators. - Type level validators. - - - - Validates an instance. - - Entity validation context. Must not be null. - The entry for the complex property. Null if validating an entity. - instance. Never null. - - Protected so it doesn't appear on EntityValidator. - - - - - Validates type properties. Any validation errors will be added to - collection. - - - Validation context. Must not be null. - - - Collection of validation errors. Any validation errors will be added to it. - - The entry for the complex property. Null if validating an entity. - - Note that will be modified by this method. Errors should be only added, - never removed or changed. Taking a collection as a modifiable parameter saves a couple of memory allocations - and a merge of validation error lists per entity. - - - - - Returns a validator for a child property. - - Name of the child property for which to return a validator. - - Validator for a child property. Possibly null if there are no validators for requested property. - - - - - Creates an instance for a given EDM complex type. - - Property validators. - Type level validators. - - - - Validates an instance. - - Entity validation context. Must not be null. - The entry for the complex property. Null if validating an entity. - instance. Never null. - - - - Validates type properties. Any validation errors will be added to - collection. - - - Validation context. Must not be null. - - - Collection of validation errors. Any validation errors will be added to it. - - The entry for the complex property. Null if validating an entity. - - Note that will be modified by this method. Errors should be only added, - never removed or changed. Taking a collection as a modifiable parameter saves a couple of memory allocations - and a merge of validation error lists per entity. - - - - - Contains information needed to validate an entity or its properties. - - - - - The entity being validated or the entity that owns the property being validated. - - - - - Initializes a new instance of EntityValidationContext class. - - - The entity being validated or the entity that owns the property being validated. - - - External contexts needed for validation. - - - - - External context needed for validation. - - - - - Gets the entity being validated or the entity that owns the property being validated. - - - - - Validator used to validate an entity of a given EDM EntityType. - - - This is a top level, composite validator. This is also an entry point to getting an entity - validated as validation of an entity is always started by calling Validate method on this type. - - - - - Creates an instance for a given EDM entity type. - - Property validators. - Entity type level validators. - - - - Validates an entity. - - Entity validation context. Must not be null. - instance. Never null. - - - - Validates type properties. Any validation errors will be added to - collection. - - - Validation context. Must not be null. - - - Collection of validation errors. Any validation errors will be added to it. - - The entry for the complex property. Null if validating an entity. - - Note that will be modified by this method. Errors should be only added, - never removed or changed. Taking a collection as a modifiable parameter saves a couple of memory allocations - and a merge of validation error lists per entity. - - - - - Builds validators based on s specified on entity CLR types and properties - as well as based on presence of implementation on entity and complex - type CLR types. It's not sealed and not static for mocking purposes. - - - - - Builds an for the given . - - The entity entry to build the validator for. - Whether the currently processed type is the target type or one of the ancestor types. - - - for the given . Possibly null - if no validation has been specified for this entity type. - - - - - Builds the validator for a given and the corresponding - . - - The CLR type that corresponds to the EDM complex type. - The EDM complex type that type level validation is built for. - A for the given complex type. May be null if no validation specified. - - - - Extracted method from BuildEntityValidator and BuildComplexTypeValidator - - - - - Build validators for the and the corresponding - or . - - Properties to build validators for. - Non-navigation EDM properties. - Navigation EDM properties. - A list of validators. Possibly empty, never null. - - - - Builds a for the given and the corresponding - . If the property is a complex type, type level validators will be built here as - well. - - The CLR property to build the validator for. - The EDM property to build the validator for. - - for the given . Possibly null - if no validation has been specified for this property. - - - - - Builds a for the given transient . - - The CLR property to build the validator for. - - for the given . Possibly null - if no validation has been specified for this property. - - - - - Builds s for given that derive from - . - - Attributes used to build validators. - - A list of s built from . - Possibly empty, never null. - - - - - Returns all non-static non-indexed CLR properties from the . - - The CLR to get the properties from. - - A collection of CLR properties. Possibly empty, never null. - - - - - Builds validators based on the facets of : - * If .Nullable facet set to false adds a validator equivalent to the RequiredAttribute - * If the .MaxLength facet is specified adds a validator equivalent to the MaxLengthAttribute. - However the validator isn't added if .IsMaxLength has been set to true. - - The CLR property to build the facet validators for. - The property for which facet validators will be created - A collection of validators. - - - - Abstracts simple validators used to validate entities and properties. - - - - - Validates an entity or a property. - - Validation context. Never null. - Property to validate. Can be null for type level validation. - Validation error as. Empty if no errors. Never null. - - - - - Contract for IValidator.Validate method. - - Validation context. - Property. - Nothing - always throws. - - - - Validates entities or complex types implementing IValidatableObject interface. - - - - - Display attribute used to specify the display name for an entity or complex property. - - - - - Validates an entity or a complex type implementing IValidatableObject interface. - This method is virtual to allow mocking. - - Validation context. Never null. - - Property to validate. Null if this is the entity that will be validated. Never null if this - is the complex type that will be validated. - - Validation error as . Empty if no errors. Never null. - - - Note that is used to figure out what needs to be validated. If it not null the complex - type will be validated otherwise the entity will be validated. - Also if this is an IValidatableObject complex type but the instance (.CurrentValue) is null we won't validate - anything and will not return any errors. The reason for this is that Validation is supposed to validate using - information the user provided and not some additional implicit rules. (ObjectContext will throw for operations - that involve null complex properties). - - - - - Validates a property, complex property or an entity using validation attributes the property - or the complex/entity type is decorated with. - - - Note that this class is used for validating primitive properties using attributes declared on the property - (property level validation) and complex properties and entities using attributes declared on the type - (type level validation). - - - - - Display attribute used to specify the display name for a property or entity. - - - - - Validation attribute used to validate a property or an entity. - - - - - Creates an instance of class. - - - Validation attribute used to validate a property or an entity. - - - - - Validates a property or an entity. - - Validation context. Never null. - Property to validate. Null for entity validation. Not null for property validation. - - - Validation errors as . Empty if no errors, never null. - - - - - Used to cache and retrieve generated validators and to create context for validating entities or properties. - - - - - Collection of validators keyed by the entity CLR type. Note that if there's no validation for a given type - it will be associated with a null validator. - - - - - Initializes a new instance of class. - - - - - Returns a validator to validate . - - Entity the validator is requested for. - - to validate . Possibly null if no validation - has been specified for the entity. - - - - - Returns a validator to validate . - - Navigation property the validator is requested for. - - Validator to validate . Possibly null if no validation - has been specified for the requested property. - - - - - Gets a validator for the . - - Entity validator. - Property to get a validator for. - - Validator to validate . Possibly null if there is no validation for the - . - - - For complex properties this method walks up the type hierarchy to get to the entity level and then goes down - and gets a validator for the child property that is an ancestor of the property to validate. If a validator - returned for an ancestor is null it means that there is no validation defined beneath and the method just - propagates (and eventually returns) null. - - - - - Creates for . - - Entity entry for which a validation context needs to be created. - User defined dictionary containing additional info for custom validation. This parameter is optional and can be null. - An instance of class. - - - - - A wrapper around EntityKey that allows key/values pairs that have null values to - be used. This allows Added entities with null key values to be searched for in - the ObjectStateManager. - - - - The key name/key value pairs, where some key values may be null - - - - Creates a new WrappedEntityKey instance. - - The entity set that the key belongs to. - The fully qualified name of the given entity set. - The key values, which may be null or contain null values. - The name of the parameter passed for keyValue by the user, which is used when throwing exceptions. - - - - True if any of the key values are null, which means that the EntityKey will also be null. - - - - - An actual EntityKey, or null if any of the key values are null. - - - - - The key name/key value pairs of the key, in which some of the key values may be null. - - - - - Allows configuration to be performed for an complex type in a model. - - A ComplexTypeConfiguration can be obtained via the ComplexType method on - or a custom type derived from ComplexTypeConfiguration - can be registered via the Configurations property on . - - The complex type to be configured. - - - - Allows configuration to be performed for a type in a model. - - The type to be configured. - - - - Configures a property that is defined on this type. - - The type of the property being configured. - - A lambda expression representing the property to be configured. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - The type of the property being configured. - - A lambda expression representing the property to be configured. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - - A lambda expression representing the property to be configured. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - - A lambda expression representing the property to be configured. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - - A lambda expression representing the property to be configured. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - - A lambda expression representing the property to be configured. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - - A lambda expression representing the property to be configured. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - - A lambda expression representing the property to be configured. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - - A lambda expression representing the property to be configured. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - - A lambda expression representing the property to be configured. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - - A lambda expression representing the property to be configured. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - - A lambda expression representing the property to be configured. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - - A lambda expression representing the property to be configured. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to configure the property. - - - - Configures a property that is defined on this type. - - - A lambda expression representing the property to be configured. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to configure the property. - - - - Excludes a property from the model so that it will not be mapped to the database. - - The type of the property to be ignored. - - A lambda expression representing the property to be configured. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - - - - Initializes a new instance of ComplexTypeConfiguration - - - - - Allows derived configuration classes for entities and complex types to be registered with a . - - - Derived configuration classes are created by deriving from - or and using a type to be included in the model as the generic - parameter. - - Configuration can be performed without creating derived configuration classes via the Entity and ComplexType - methods on . - - - - - Adds an to the . - Only one can be added for each type in a model. - - The entity type being configured. - The entity type configuration to be added. - The same ConfigurationRegistrar instance so that multiple calls can be chained. - - - - Adds an to the . - Only one can be added for each type in a model. - - The complex type being configured. - The complex type configuration to be added - The same ConfigurationRegistrar instance so that multiple calls can be chained. - - - - Allows the conventions used by a instance to be customized. - Currently removal of one or more default conventions is the only supported operation. - The default conventions can be found in the System.Data.Entity.ModelConfiguration.Conventions namespace. - - - - - Disables a convention for the . - The default conventions that are available for removal can be found in the System.Data.Entity.ModelConfiguration.Conventions namespace. - - The type of the convention to be disabled. - - - - Configures the table and column mapping for an entity type or a sub-set of properties from an entity type. - This configuration functionality is available via the Code First Fluent API, see . - - The entity type to be mapped. - - - - Configures the properties that will be included in this mapping fragment. - If this method is not called then all properties that have not yet been - included in a mapping fragment will be configured. - - An anonymous type including the properties to be mapped. - - A lambda expression to an anonymous type that contains the properties to be mapped. - C#: t => new { t.Id, t.Property1, t.Property2 } - VB.Net: Function(t) New With { p.Id, t.Property1, t.Property2 } - - - - - Re-maps all properties inherited from base types. - - When configuring a derived type to be mapped to a separate table this will cause all properties to - be included in the table rather than just the non-inherited properties. This is known as - Table per Concrete Type (TPC) mapping. - - - - - Configures the table name to be mapped to. - - Name of the table. - - - - Configures the table name and schema to be mapped to. - - Name of the table. - Schema of the table. - - - - Configures the discriminator column used to differentiate between types in an inheritance hierarchy. - - The name of the discriminator column. - A configuration object to further configure the discriminator column and values. - - - - Configures the discriminator condition used to differentiate between types in an inheritance hierarchy. - - The type of the property being used to discriminate between types. - - A lambda expression representing the property being used to discriminate between types. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object to further configure the discriminator condition. - - - - Moves a foreign key constraint from oldTable to newTable and updates column references - - - - - Move any FK constraints that are now completely in newTable and used to refer to oldColumn - - - - - Configures a condition used to discriminate between types in an inheritance hierarchy based on the values assigned to a property. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the condition to require a value in the property. - - Rows that do not have a value assigned to column that this property is stored in are - assumed to be of the base type of this entity type. - - - - - Populate the table mapping structure - - - - - Sets nullability for association set mappings' foreign keys for 1:* and 1:0..1 associations - when no base types share the the association set mapping's table - - - - - Makes sure only the required property mappings are present - - - - - Determines if the table and entity type need mapping, and if not, removes the existing entity type mapping - - - - - Configures a database column used to store a string values. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the column to allow the maximum length supported by the database provider. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - - Configures the column to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be variable length. - Columns are variable length by default. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be optional. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to be required. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column. - - Name of the database provider specific data type. - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column. - - The order that this column should appear in the database table. - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures the column to support Unicode string content. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the column supports Unicode string content. - - - Value indicating if the column supports Unicode string content or not. - Specifying 'null' will remove the Unicode facet from the column. - Specifying 'null' will cause the same runtime behavior as specifying 'false'. - - The same StringColumnConfiguration instance so that multiple calls can be chained. - - - - Configures a discriminator column used to differentiate between types in an inheritance hierarchy. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the discriminator value used to identify the entity type being - configured from other types in the inheritance hierarchy. - - Type of the discriminator value. - The value to be used to identify the entity type. - A configuration object to configure the column used to store discriminator values. - - - - Configures the discriminator value used to identify the entity type being - configured from other types in the inheritance hierarchy. - - Type of the discriminator value. - The value to be used to identify the entity type. - A configuration object to configure the column used to store discriminator values. - - - - Configures the discriminator value used to identify the entity type being - configured from other types in the inheritance hierarchy. - - The value to be used to identify the entity type. - A configuration object to configure the column used to store discriminator values. - - - - Initializes configurations in the ModelConfiguration so that configuration data - is in a single place - - - - - Configures a many relationship from an entity type. - - The entity type that the relationship originates from. - The entity type that the relationship targets. - - - - Configures the relationship to be many:many with a navigation property on the other side of the relationship. - - - An lambda expression representing the navigation property on the other end of the relationship. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:many without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:required with a navigation property on the other side of the relationship. - - - An lambda expression representing the navigation property on the other end of the relationship. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:required without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:optional with a navigation property on the other side of the relationship. - - - An lambda expression representing the navigation property on the other end of the relationship. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be many:optional without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures an optional relationship from an entity type. - - The entity type that the relationship originates from. - The entity type that the relationship targets. - - - - Configures the relationship to be optional:many with a navigation property on the other side of the relationship. - - - An lambda expression representing the navigation property on the other end of the relationship. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:many without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:required with a navigation property on the other side of the relationship. - - - An lambda expression representing the navigation property on the other end of the relationship. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:required without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional with a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - - An lambda expression representing the navigation property on the other end of the relationship. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional without a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional with a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - - A lambda expression representing the navigation property on the other end of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be optional:optional without a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - A configuration object that can be used to further configure the relationship. - - - - Configures an required relationship from an entity type. - - The entity type that the relationship originates from. - The entity type that the relationship targets. - - - - Configures the relationship to be required:many with a navigation property on the other side of the relationship. - - - An lambda expression representing the navigation property on the other end of the relationship. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:many without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:optional with a navigation property on the other side of the relationship. - - - An lambda expression representing the navigation property on the other end of the relationship. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:optional without a navigation property on the other side of the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required with a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - - An lambda expression representing the navigation property on the other end of the relationship. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required without a navigation property on the other side of the relationship. - The entity type being configured will be the dependent and contain a foreign key to the principal. - The entity type that the relationship targets will be the principal in the relationship. - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required with a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - - An lambda expression representing the navigation property on the other end of the relationship. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to further configure the relationship. - - - - Configures the relationship to be required:required without a navigation property on the other side of the relationship. - The entity type being configured will be the principal in the relationship. - The entity type that the relationship targets will be the dependent and contain a foreign key to the principal. - - A configuration object that can be used to further configure the relationship. - - - - Base class for configuring a property on an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - True if the NavigationProperty's declaring type is the principal end, false if it is not, null if it is not known - - - - - Base class for performing configuration of a relationship. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures a relationship that can support cascade on delete functionality. - - - - - Configures cascade delete to be on for the relationship. - - - - - Configures whether or not cascade delete is on for the relationship. - - Value indicating if cascade delete is on or not. - - - - Configures a relationship that can support foreign key properties that are exposed in the object model. - This configuration functionality is available via the Code First Fluent API, see . - - The dependent entity type. - - - - Configures a relationship that can only support foreign key properties that are not exposed in the object model. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the relationship to use foreign key property(s) that are not exposed in the object model. - The column(s) and table can be customized by specifying a configuration action. - If an empty configuration action is specified then column name(s) will be generated by convention. - If foreign key properties are exposed in the object model then use the HasForeignKey method. - Not all relationships support exposing foreign key properties in the object model. - - Action that configures the foreign key column(s) and table. - - A configuration object that can be used to further configure the relationship. - - - - - Configures the relationship to use foreign key property(s) that are exposed in the object model. - If the foreign key property(s) are not exposed in the object model then use the Map method. - - The type of the key. - - A lambda expression representing the property to be used as the foreign key. - If the foreign key is made up of multiple properties then specify an anonymous type including the properties. - When using multiple foreign key properties, the properties must be specified in the same order that the - the primary key properties were configured for the principal entity type. - - A configuration object that can be used to further configure the relationship. - - - - Configures the table and column mapping of a relationship that does not expose foreign key properties in the object model. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the name of the column(s) for the foreign key. - - - The foreign key column names. - When using multiple foreign key properties, the properties must be specified in the same order that the - the primary key properties were configured for the target entity type. - - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the table name that the foreign key column(s) reside in. - The table that is specified must already be mapped for the entity type. - - If you want the foreign key(s) to reside in their own table then use the Map method - on to perform - entity splitting to create the table with just the primary key property. Foreign keys can - then be added to the table via this method. - - Name of the table. - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the table name and schema that the foreign key column(s) reside in. - The table that is specified must already be mapped for the entity type. - - If you want the foreign key(s) to reside in their own table then use the Map method - on to perform - entity splitting to create the table with just the primary key property. Foreign keys can - then be added to the table via this method. - - Name of the table. - Schema of the table. - The same ForeignKeyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the table and column mapping of a many:many relationship. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the join table name for the relationship. - - Name of the table. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the join table name and schema for the relationship. - - Name of the table. - Schema of the table. - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the column(s) for the left foreign key. - The left foreign key represents the navigation property specified in the HasMany call. - - - The foreign key column names. - When using multiple foreign key properties, the properties must be specified in the same order that the - the primary key properties were configured for the target entity type. - - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the column(s) for the right foreign key. - The right foreign key represents the navigation property specified in the WithMany call. - - - The foreign key column names. - When using multiple foreign key properties, the properties must be specified in the same order that the - the primary key properties were configured for the target entity type. - - The same ManyToManyAssociationMappingConfiguration instance so that multiple calls can be chained. - - - - Configures a many:many relationship. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the foreign key column(s) and table used to store the relationship. - - Action that configures the foreign key column(s) and table. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Used to configure a property with length facets for an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Used to configure a primitive property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will remove the database generated pattern facet from the property. - Setting 'null' will cause the same runtime behavior as specifying 'None'. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - - Value indicating if the property is a concurrency token or not. - Specifying 'null' will remove the concurrency token facet from the property. - Specifying 'null' will cause the same runtime behavior as specifying 'false'. - - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same PrimitivePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to allow the maximum length supported by the database provider. - - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - - The maximum length for the property. - Setting 'null' will remove any maximum length restriction from the property and a default length will be used for the database column. - - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be variable length. - Properties are variable length by default. - - The same LengthPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to allow the maximum length supported by the database provider. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - - The maximum length for the property. - Setting 'null' will remove any maximum length restriction from the property. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be variable length. - properties are variable length by default. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - properties are optional by default. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will remove the database generated pattern facet from the property. - Setting 'null' will cause the same runtime behavior as specifying 'None'. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - - Value indicating if the property is a concurrency token or not. - Specifying 'null' will remove the concurrency token facet from the property. - Specifying 'null' will cause the same runtime behavior as specifying 'false'. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be a row version in the database. - The actual data type will vary depending on the database provider being used. - Setting the property to be a row version will automatically configure it to be an - optimistic concurrency token. - - The same BinaryPropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - properties are required by default. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will remove the database generated pattern facet from the property. - Setting 'null' will cause the same runtime behavior as specifying 'None'. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - - Value indicating if the property is a concurrency token or not. - Specifying 'null' will remove the concurrency token facet from the property. - Specifying 'null' will cause the same runtime behavior as specifying 'false'. - - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the precision of the property. - If the database provider does not support precision for the data type of the column then the value is ignored. - - Precision of the property. - The same DateTimePropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - properties are required by default. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will remove the database generated pattern facet from the property. - Setting 'null' will cause the same runtime behavior as specifying 'None'. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - - Value indicating if the property is a concurrency token or not. - Specifying 'null' will remove the concurrency token facet from the property. - Specifying 'null' will cause the same runtime behavior as specifying 'false'. - - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the precision and scale of the property. - - The precision of the property. - The scale of the property. - The same DecimalPropertyConfiguration instance so that multiple calls can be chained. - - - - Used to configure a property of an entity type or complex type. - This configuration functionality is available via the Code First Fluent API, see . - - - - - Configures the property to allow the maximum length supported by the database provider. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to have the specified maximum length. - - - The maximum length for the property. - Setting 'null' will remove any maximum length restriction from the property and a default length will be used for the database column.. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be fixed length. - Use HasMaxLength to set the length that the property is fixed to. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be variable length. - properties are variable length by default. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be optional. - The database column used to store this property will be nullable. - properties are optional by default. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be required. - The database column used to store this property will be non-nullable. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures how values for the property are generated by the database. - - - The pattern used to generate values for the property in the database. - Setting 'null' will remove the database generated pattern facet from the property. - Setting 'null' will cause the same runtime behavior as specifying 'None'. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to be used as an optimistic concurrency token. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property is to be used as an optimistic concurrency token. - - - Value indicating if the property is a concurrency token or not. - Specifying 'null' will remove the concurrency token facet from the property. - Specifying 'null' will cause the same runtime behavior as specifying 'false'. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the name of the database column used to store the property. - - The name of the column. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the data type of the database column used to store the property. - - Name of the database provider specific data type. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the order of the database column used to store the property. - This method is also used to specify key ordering when an entity type has a composite key. - - The order that this column should appear in the database table. - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures the property to support Unicode string content. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Configures whether or not the property supports Unicode string content. - - - Value indicating if the property supports Unicode string content or not. - Specifying 'null' will remove the Unicode facet from the property. - Specifying 'null' will cause the same runtime behavior as specifying 'false'. - - The same StringPropertyConfiguration instance so that multiple calls can be chained. - - - - Indicates what parts of a configuration are overridable. - - - - - Nothing in the configuration is overridable. - - - - - The configuration values related to C-Space are overridable. - - - - - The configuration values only related to S-Space are overridable. - - - - - True if this configuration can be replaced in the model configuration, false otherwise - This is only set to true for configurations that are registered automatically via the DbContext - - - - - Base class for conventions that process CLR attributes found in the model. - - The type of member to look for. - The type of the configuration to look for. - The type of the attribute to look for. - - - - Convention to process instances of found on properties in the model - - - - - Convention to process instances of found on properties in the model. - - - - - Convention to process instances of found on properties in the model. - - - - - Convention to process instances of found on foreign key properties in the model. - - - - - Convention to process instances of found on properties in the model. - - - - - Convention to process instances of found on properties in the model. - - - - - Convention to process instances of found on properties in the model. - - - - - Convention to process instances of found on properties in the model. - - - - - Convention to process instances of found on navigation properties in the model. - - - - - Convention to process instances of found on primitive properties in the model. - - - - - Convention to process instances of found on properties in the model. - - - - - Convention to process instances of found on properties in the model. - - - - - Convention to process instances of found on types in the model. - - - - - Convention to process instances of found on types in the model. - - - - - Convention to process instances of found on types in the model. - - - - - Convention to detect navigation properties to be inverses of each other when only one pair - of navigation properties exists between the related types. - - - - - Convention to configure a type as a complex type if it has no primary key, no mapped base type and no navigation properties. - - - - - Convention to convert any data types that were explicitly specified, via data annotations or API, - to be lower case. The default SqlClient provider is case sensitive and requires data types to be lower case. This convention - allows the and API to be case insensitive. - - - - - Convention to add a cascade delete to the join table from both tables involved in a many to many relationship. - - - - - Convention to ensure an invalid/unsupported mapping is not created when mapping inherited properties - - - - - Convention to set the table name to be a pluralized version of the entity type name. - - - - - Convention to set precision to 18 and scale to 2 for decimal properties. - - - - - Convention to move primary key properties to appear first. - - - - - Convention to distinguish between optional and required relationships based on CLR nullability of the foreign key property. - - - - - Convention to process instances of found on navigation properties in the model. - - - - - Convention to detect primary key properties. - Recognized naming patterns in order of precedence are: - 1. 'Id' - 2. [type name]Id - Primary key detection is case insensitive. - - - - - Convention to discover foreign key properties whose names are a combination - of the dependent navigation property name and the principal type primary key property name(s). - - - - - Convention to enable cascade delete for any required relationships. - - - - - Convention to configure the primary key(s) of the dependent entity type as foreign key(s) in a one:one relationship. - - - - - Convention to set the entity set name to be a pluralized version of the entity type name. - - - - - Convention to discover foreign key properties whose names match the principal type primary key property name(s). - - - - - Convention to set a default maximum length of 128 for properties whose type supports length facets. - - - - - Convention to set a default maximum length of 4000 for properties whose type supports length facets when SqlCe is the provider. - - - - - Convention to configure integer primary keys to be identity. - - - - - Checks for the PK property being an FK in a different table. A PK which is also an FK but - in the same table is used for table splitting and can still be an identity column because - the update pipeline is only inserting into one column of one table. - - - - - Convention to discover foreign key properties whose names are a combination - of the principal type name and the principal type primary key property name(s). - - - - - This class provide service for both the singularization and pluralization, it takes the word pairs - in the ctor following the rules that the first one is singular and the second one is plural. - - - - - Factory method for PluralizationService. Only support english pluralization. - Please set the PluralizationService on the System.Data.Entity.Design.EntityModelSchemaGenerator - to extend the service to other locales. - - CultureInfo - PluralizationService - - - - captalize the return word if the parameter is capitalized - if word is "Table", then return "Tables" - - - - - - - - separate one combine word in to two parts, prefix word and the last word(suffix word) - - - - - - - - return true when the word is "[\s]*" or leading or tailing with spaces - or contains non alphabetical characters - - - - - - - This method allow you to add word to internal PluralizationService of English. - If the singluar or the plural value was already added by this method, then an ArgumentException will be thrown. - - - - - - - Attempt to determine the principal and dependent ends of this association. - - The following table illustrates the solution space. - - Source | Target || Prin | Dep | - -------|--------||-------|-------| - 1 | 1 || - | - | - 1 | 0..1 || Sr | Ta | - 1 | * || Sr | Ta | - 0..1 | 1 || Ta | Sr | - 0..1 | 0..1 || - | - | - 0..1 | * || Sr | Ta | - * | 1 || Ta | Sr | - * | 0..1 || Ta | Sr | - * | * || - | - | - - - - - Allows configuration to be performed for an entity type in a model. - - An EntityTypeConfiguration can be obtained via the Entity method on - or a custom type derived from EntityTypeConfiguration - can be registered via the Configurations property on . - - - - - Initializes a new instance of EntityTypeConfiguration - - - - - Configures the primary key property(s) for this entity type. - - The type of the key. - - A lambda expression representing the property to be used as the primary key. - C#: t => t.Id - VB.Net: Function(t) t.Id - - If the primary key is made up of multiple properties then specify an anonymous type including the properties. - C#: t => new { t.Id1, t.Id2 } - VB.Net: Function(t) New With { t.Id1, t.Id2 } - - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures the entity set name to be used for this entity type. - The entity set name can only be configured for the base type in each set. - - The name of the entity set. - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - - - - Configures the table name that this entity type is mapped to. - - The name of the table. - The database schema of the table. - - - - Allows advanced configuration related to how this entity type is mapped to the database schema. - By default, any configuration will also apply to any type derived from this entity type. - - Derived types can be configured via the overload of Map that configures a derived type or - by using an EntityTypeConfiguration for the derived type. - - The properties of an entity can be split between multiple tables using multiple Map calls. - - Calls to Map are additive, subsequent calls will not override configuration already preformed via Map. - - An action that performs configuration against an . - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Allows advanced configuration related to how a derived entity type is mapped to the database schema. - Calls to Map are additive, subsequent calls will not override configuration already preformed via Map. - - The derived entity type to be configured. - An action that performs configuration against an . - The same EntityTypeConfiguration instance so that multiple calls can be chained. - - - - Configures an optional relationship from this entity type. - Instances of the entity type will be able to be saved to the database without this relationship being specified. - The foreign key in the database will be nullable. - - The type of the entity at the other end of the relationship. - - A lambda expression representing the navigation property for the relationship. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to further configure the relationship. - - - - Configures a required relationship from this entity type. - Instances of the entity type will not be able to be saved to the database unless this relationship is specified. - The foreign key in the database will be non-nullable. - - The type of the entity at the other end of the relationship. - - A lambda expression representing the navigation property for the relationship. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to further configure the relationship. - - - - Configures a many relationship from this entity type. - - The type of the entity at the other end of the relationship. - - A lambda expression representing the navigation property for the relationship. - C#: t => t.MyProperty - VB.Net: Function(t) t.MyProperty - - A configuration object that can be used to further configure the relationship. - - - - Handles mapping from a CLR property to an EDM assocation and nav. prop. - - - - - Exception thrown by during model creation when an invalid model is generated. - - - - - Initializes a new instance of ModelValidationException - - - - - Initializes a new instance of ModelValidationException - - The exception message. - - - - Initializes a new instance of ModelValidationException - - The exception message. - The inner exception. - - - - Code Contracts hook methods - Called when contracts fail. Here we detect the most common preconditions - so we can throw the correct exceptions. It also means that we can write preconditions using the - simplest Contract.Requires() form. - - - - - Returns true if a variable of this type can be assigned a null value - - - - True if a reference type or a nullable value type, - false otherwise - - - - - Exception thrown from when validating entities fails. - - - - - Initializes a new instance of DbEntityValidationException - - - - - Initializes a new instance of DbEntityValidationException - - The exception message. - - - - Initializes a new instance of DbEntityValidationException - - The exception message. - Validation results. - - - - Initializes a new instance of DbEntityValidationException - - The exception message. - The inner exception. - - - - Initializes a new instance of DbEntityValidationException - - The exception message. - Validation results. - The inner exception. - - - - Subscribes the SerializeObjectState event. - - - - - Validation results. - - - - - Holds exception state that will be serialized when the exception is serialized. - - - - - Validation results. - - - - - Completes the deserialization. - - The deserialized object. - - - - Validation results. - - - - - Represents validation results for single entity. - - - - - Entity entry the results applies to. Never null. - - - - - List of instances. Never null. Can be empty meaning the entity is valid. - - - - - Creates an instance of class. - - - Entity entry the results applies to. Never null. - - - List of instances. Never null. Can be empty meaning the entity is valid. - - - - - Creates an instance of class. - - - Entity entry the results applies to. Never null. - - - List of instances. Never null. Can be empty meaning the entity is valid. - - - - - Gets an instance of the results applies to. - - - - - Gets validation errors. Never null. - - - - - Gets an indicator if the entity is valid. - - - - - Exception thrown from when an exception is thrown from the validation - code. - - - - - Initializes a new instance of DbUnexpectedValidationException - - The exception message. - - - - Initializes a new instance of DbUnexpectedValidationException - - The exception message. - - - - Initializes a new instance of DbUnexpectedValidationException - - The exception message. - The inner exception. - - - - Initializes a new instance of DbUnexpectedValidationException with the specified serialization info and - context. - - The serialization info. - The streaming context. - - - - Validation error. Can be either entity or property level validation error. - - - - - Name of the invalid property. Can be null (e.g. for entity level validations) - - - - - Validation error message. - - - - - Creates an instance of . - - Name of the invalid property. Can be null. - Validation error message. Can be null. - - - - Gets name of the invalid property. - - - - - Gets validation error message. - - - - diff --git a/喷涂上线/Code/MESClassLibrary/bin/Debug/MESClassLibrary.dll b/喷涂上线/Code/MESClassLibrary/bin/Debug/MESClassLibrary.dll deleted file mode 100644 index bc08097..0000000 Binary files a/喷涂上线/Code/MESClassLibrary/bin/Debug/MESClassLibrary.dll and /dev/null differ diff --git a/喷涂上线/Code/MESClassLibrary/bin/Debug/MESClassLibrary.dll.config b/喷涂上线/Code/MESClassLibrary/bin/Debug/MESClassLibrary.dll.config deleted file mode 100644 index 72f6a27..0000000 --- a/喷涂上线/Code/MESClassLibrary/bin/Debug/MESClassLibrary.dll.config +++ /dev/null @@ -1,30 +0,0 @@ - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/喷涂上线/Code/MESClassLibrary/bin/Debug/MESClassLibrary.pdb b/喷涂上线/Code/MESClassLibrary/bin/Debug/MESClassLibrary.pdb deleted file mode 100644 index 388d428..0000000 Binary files a/喷涂上线/Code/MESClassLibrary/bin/Debug/MESClassLibrary.pdb and /dev/null differ diff --git a/喷涂上线/Code/MESClassLibrary/bin/Debug/Newtonsoft.Json.dll b/喷涂上线/Code/MESClassLibrary/bin/Debug/Newtonsoft.Json.dll deleted file mode 100644 index e7ae07b..0000000 Binary files a/喷涂上线/Code/MESClassLibrary/bin/Debug/Newtonsoft.Json.dll and /dev/null differ diff --git a/喷涂上线/Code/MESClassLibrary/bin/Debug/System.Net.Http.dll b/喷涂上线/Code/MESClassLibrary/bin/Debug/System.Net.Http.dll deleted file mode 100644 index 48ad5c0..0000000 Binary files a/喷涂上线/Code/MESClassLibrary/bin/Debug/System.Net.Http.dll and /dev/null differ diff --git a/喷涂上线/Code/MESClassLibrary/bin/Debug/System.Net.Http.xml b/喷涂上线/Code/MESClassLibrary/bin/Debug/System.Net.Http.xml deleted file mode 100644 index 63b2454..0000000 --- a/喷涂上线/Code/MESClassLibrary/bin/Debug/System.Net.Http.xml +++ /dev/null @@ -1,2023 +0,0 @@ - - - - System.Net.Http - - - - 基于字节数组提供 HTTP 内容。 - - - 初始化 类的新实例。 - 用于初始化 的内容。 - - 参数为 null。 - - - 初始化 类的新实例。 - 用于初始化 的内容。 - 以字节为单位,在 参数中用于初始化 的偏移量。 - - 中从用于初始化 参数开始的字节数。 - - 参数为 null。 - - 参数小于零。 - 或 - 参数大于 参数指定的内容的长度。 - 或 - 参数小于零。 - 或 - 参数大于由 参数减去 参数所指定的内容长度。 - - - 创建 HTTP 内容流,它是其后备储存区是 的内存的读取的异步操作。 - 返回 。 表示异步操作的任务对象。 - - - 序列化并写入在构造函数中提供的字节数组到作为异步操作的 HTTP 内容流。 - 返回 。 表示异步操作的任务对象。 - 目标流。 - 有关传输的信息,例如,通道绑定。 此参数可以为 null。 - - - 确定字节数组是否具有合法的字节长度。 - 返回 。 如果 为有效长度,则为 true;否则,为 false。 - 以字节为单位的字节数组的长度。 - - - 指定如何提供客户端证书。 - - - 该应用程序向 手动提供客户端证书。 这值是默认值。 - - - - 将尝试自动提供所有的可利用的客户端证书。 - - - 被称为内部处理程序的并将 HTTP 响应消息委托给另一处理程序的 HTTP 处理程序的基类型。 - - - 创建 类的新实例。 - - - 创建特定内部处理程序的 类的新实例。 - 负责处理 HTTP 响应消息的内部处理程序。 - - - 释放由 使用的非托管资源,并可根据需要释放托管资源。 - 如果为 true,则释放托管资源和非托管资源;如果为 false,则仅释放非托管资源。 - - - 获取或设置处理 HTTP 响应消息的内部处理程序。 - 返回 。 HTTP 响应消息的内部处理程序。 - - - 以异步操作发送 HTTP 请求到内部管理器以发送到服务器。 - 返回 。 表示异步操作的任务对象。 - 要发送到服务器的 HTTP 请求消息。 - 取消操作的取消标记。 - - 为 null。 - - - 使用应用程序/x-www-form-urlencoded MIME 类型编码的名称/值元组的容器。 - - - 使用指定的名称/值对集合初始化 类的新实例。 - 名称/值对的集合。 - - - 提供基本类,用于发送 HTTP 请求和接收来自通过 URI 确认的资源的 HTTP 响应。 - - - 初始化 类的新实例。 - - - 用特定的处理程序初始化 类的新实例。 - 用于发送请求的使用的 HTTP 处理程序堆栈。 - - - - - 获取或设置发送请求时使用的 Internet 资源的统一资源标识符 (URI) 的基地址。 - 返回 。 发送请求时使用的 Internet 资源的统一资源标识符 (URI) 的基址。 - - - 取消该实例所有挂起的请求。 - - - 获取与每个请求一起发送的标题。 - 返回 。 应与每一个请求一起发送的标题。 - - - 以异步操作将 DELETE 请求发送给指定 URI。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - - 为 null。 - - - 用以异步操作的取消标记发送 DELETE 请求到指定的 URI。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - 可由其他对象或线程用以接收取消通知的取消标记。 - - 为 null。 - - - 以异步操作将 DELETE 请求发送给指定 URI。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - - 为 null。 - - - 用以异步操作的取消标记发送 DELETE 请求到指定的 URI。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - 可由其他对象或线程用以接收取消通知的取消标记。 - - 为 null。 - - - 释放由 使用的非托管资源,并可根据需要释放托管资源。 - 如果为 true,则释放托管资源和非托管资源;如果为 false,则仅释放非托管资源。 - - - 以异步操作将 GET 请求发送给指定 URI。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - - 为 null。 - - - 用以异步操作的 HTTP 完成选项发送 GET 请求到指定的 URI。 - 返回 - 请求发送到的 URI。 - 指示操作应视为已完成的时间的 HTTP 完成选项值。 - - 为 null。 - - - 用以异步操作的 HTTP 完成选项和取消标记发送 DELETE 请求到指定的 URI。 - 返回 - 请求发送到的 URI。 - 指示操作应视为已完成的时间的 HTTP 完成选项值。 - 可由其他对象或线程用以接收取消通知的取消标记。 - - 为 null。 - - - 用以异步操作的取消标记发送 GET 请求到指定的 URI。 - 返回 - 请求发送到的 URI。 - 可由其他对象或线程用以接收取消通知的取消标记。 - - 为 null。 - - - 以异步操作将 GET 请求发送给指定 URI。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - - 为 null。 - - - 用以异步操作的 HTTP 完成选项发送 GET 请求到指定的 URI。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - 指示操作应视为已完成的时间的 HTTP 完成选项值。 - - 为 null。 - - - 用以异步操作的 HTTP 完成选项和取消标记发送 DELETE 请求到指定的 URI。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - 指示操作应视为已完成的时间的 HTTP 完成选项值。 - 可由其他对象或线程用以接收取消通知的取消标记。 - - 为 null。 - - - 用以异步操作的取消标记发送 GET 请求到指定的 URI。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - 可由其他对象或线程用以接收取消通知的取消标记。 - - 为 null。 - - - 将 GET 请求发送到指定 URI 并在异步操作中以字节数组的形式返回响应正文。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - - 为 null。 - - - 将 GET 请求发送到指定 URI 并在异步操作中以字节数组的形式返回响应正文。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - - 为 null。 - - - 将 GET 请求发送到指定 URI 并在异步操作中以流的形式返回响应正文。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - - 为 null。 - - - 将 GET 请求发送到指定 URI 并在异步操作中以流的形式返回响应正文。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - - 为 null。 - - - 将 GET 请求发送到指定 URI 并在异步操作中以字符串的形式返回响应正文。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - - 为 null。 - - - 将 GET 请求发送到指定 URI 并在异步操作中以字符串的形式返回响应正文。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - - 为 null。 - - - 获取或设置读取响应内容时要缓冲的最大字节数。 - 返回 。 当读取响应内容时缓冲区的最大字节数。 此属性的默认值为 64K。 - 指定小于或等于零。 - 在当前实例中已启动操作。 - 已释放当前的实例。 - - - 以异步操作将 POST 请求发送给指定 URI。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - 发送到服务器的 HTTP 请求内容。 - - 为 null。 - - - 用以异步操作的取消标记发送 POST 请求。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - 发送到服务器的 HTTP 请求内容。 - 可由其他对象或线程用以接收取消通知的取消标记。 - - 为 null。 - - - 以异步操作将 POST 请求发送给指定 URI。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - 发送到服务器的 HTTP 请求内容。 - - 为 null。 - - - 用以异步操作的取消标记发送 POST 请求。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - 发送到服务器的 HTTP 请求内容。 - 可由其他对象或线程用以接收取消通知的取消标记。 - - 为 null。 - - - 以异步操作将 PUT 请求发送给指定 URI。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - 发送到服务器的 HTTP 请求内容。 - - 为 null。 - - - 用以异步操作的取消标记发送 PUT 请求。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - 发送到服务器的 HTTP 请求内容。 - 可由其他对象或线程用以接收取消通知的取消标记。 - - 为 null。 - - - 以异步操作将 PUT 请求发送给指定 URI。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - 发送到服务器的 HTTP 请求内容。 - - 为 null。 - - - 用以异步操作的取消标记发送 PUT 请求。 - 返回 。 表示异步操作的任务对象。 - 请求发送到的 URI。 - 发送到服务器的 HTTP 请求内容。 - 可由其他对象或线程用以接收取消通知的取消标记。 - - 为 null。 - - - 以异步操作发送 HTTP 请求。 - 返回 。 表示异步操作的任务对象。 - 要发送的 HTTP 请求消息。 - - 为 null。 - 请求消息已由 实例发送。 - - - 以异步操作发送 HTTP 请求。 - 返回 。 表示异步操作的任务对象。 - 要发送的 HTTP 请求消息。 - 操作应完成时(在响应可利用或在读取整个响应内容之后)。 - - 为 null。 - 请求消息已由 实例发送。 - - - 以异步操作发送 HTTP 请求。 - 返回 。 表示异步操作的任务对象。 - 要发送的 HTTP 请求消息。 - 操作应完成时(在响应可利用或在读取整个响应内容之后)。 - 取消操作的取消标记。 - - 为 null。 - 请求消息已由 实例发送。 - - - 以异步操作发送 HTTP 请求。 - 返回 。 表示异步操作的任务对象。 - 要发送的 HTTP 请求消息。 - 取消操作的取消标记。 - - 为 null。 - 请求消息已由 实例发送。 - - - 获取或设置请求超时前等待的毫秒数。 - 返回 。 请求超时前等待的毫秒数。 - 指定的超时值小于或等于零,并且不为 - 在当前实例中已启动操作。 - 已释放当前的实例。 - - - - 所用的默认消息版本。 - - - 创建 类的实例。 - - - 获取或设置一个值,该值指示处理程序是否应跟随重定向响应。 - 返回 。 如果处理器应按照重定向响应,则为 true;否则为 false。 默认值为 true。 - - - 获取或设置处理程序用于实现 HTTP 内容响应的自动解压缩的解压缩方法。 - 返回 。 由处理程序使用的自动解压缩。 默认值为 - - - 获取或设置与此处理程序关联的安全证书集合。 - 返回 。 与此提供程序关联的安全证书的集合。 - - - 获取或设置用于存储处理程序产生的服务器 Cookie 的 Cookie 容器。 - 返回 。 用于通过处理程序存储服务器 cookie 的 cookie 容器。 - - - 获取或设置此处理程序使用的身份验证信息。 - 返回 。 与处理程序相关联的身份验证凭证。 默认值为 null。 - - - 释放由 使用的非托管资源,并可根据需要释放托管资源。 - 如果为 true,则释放托管资源和非托管资源;如果为 false,则仅释放非托管资源。 - - - 获取或设置将跟随的处理程序的重定向的最大数目。 - 返回 。 处理程序跟随的最大重定向响应数。 默认值为 50。 - - - 获取或设置处理程序的使用的请求内容的最大缓冲区大小。 - 返回 。 最大请求内容缓冲区大小(以字节为单位)。 默认值为 65,536 个字节。 - - - 获取或设置一个值,该值指示处理程序是否随请求发送一个“身份验证”标头。 - 返回 。 处理程序的 true 在发生身份验证之后随请求一起发送 HTTP 授权标头;否则为 false。 默认值为 false。 - - - 获取或设置处理程序使用的代理信息。 - 返回 。 被处理程序使用的代理信息。 默认值为 null。 - - - 创建基于用作不会阻塞的操作的 的提供信息的 实例。 - 返回 。 表示异步操作的任务对象。 - HTTP 请求消息。 - 取消操作的取消标记。 - - 为 null。 - - - 获取指示处理程序是否支持自动响应内容解压的值。 - 返回 。 如果处理器支持自动响应内容解压缩,则为 true;否则 false。 默认值为 true。 - - - 获取指示处理程序是否支持代理设置的值。 - 返回 。 如果处理器支持代理设置,则为 true;否则为 false。 默认值为 true。 - - - 获取指示处理程序是否支持 属性配置设置的值。 - 返回 。 如果处理器支持 属性的配置设置,则为 true;否则为 false。 默认值为 true。 - - - 获取或设置指示发送请求时,处理程序是否使用 属性存储服务器 Cookie 并使用这些 Cookie 的值。 - 返回 。 如果处理器支持使用 属性来存放服务器 cookies 并在发送请求时使用这些 cookies,则为 true;否则为 false。 默认值为 true。 - - - 获取或设置一个值,该值控制默认凭据是否被处理程序随请求一起发送。 - 返回 。 如果使用默认凭据,则为 true;否则为 false。 默认值为 false。 - - - 获取或设置一个值,该值指示处理程序是否为请求使用代理。 - 返回 。 如果该管理器应为请求使用代理项,则为 true;否则为 false。 默认值为 true。 - - - 指示 操作是在响应可利用时立即视为已完成,还是在读取包含上下文的整个答案信息之后才视为已完成。 - - - 操作应在阅读包括该内容的整个响应之后完成。 - - - 响应一可用且标题可读时即应完成的操作。 尚未读取的内容。 - - - 表示 HTTP 实体正文和内容标头的基类。 - - - 初始化 类的新实例。 - - - 以异步操作将 HTTP 内容写入流。 - 返回 。 表示异步操作的任务对象。 - 目标流。 - - - 以异步操作将 HTTP 内容写入流。 - 返回 。 表示异步操作的任务对象。 - 目标流。 - 有关传输的信息(例如,通道绑定)。 此参数可以为 null。 - - - 以异步操作将 HTTP 内容写入内存流。 - 返回 。 表示异步操作的任务对象。 - - - 释放由 使用的非托管资源和托管资源。 - - - 释放由 使用的非托管资源,并可根据需要释放托管资源。 - 如果为 true,则释放托管资源和非托管资源;如果为 false,则仅释放非托管资源。 - - - 根据 RFC 2616 中的定义,获取内容标头。 - 返回 。 如 RFC 2616 中定义的内容标头。 - - - 以异步操作将 HTTP 内容序列化到内存缓冲区。 - 返回 。 表示异步操作的任务对象。 - - - - - 以异步操作将 HTTP 内容写入字节数组。 - 返回 。 表示异步操作的任务对象。 - - - 以异步操作将 HTTP 内容写入流。 - 返回 。 表示异步操作的任务对象。 - - - 以异步操作将 HTTP 内容写入流。 - 返回 。 表示异步操作的任务对象。 - - - 以异步操作将 HTTP 内容序列化到流。 - 返回 。 表示异步操作的任务对象。 - 目标流。 - 有关传输的信息(例如,通道绑定)。 此参数可以为 null。 - - - 确定 HTTP 内容是否具备有效的字节长度。 - 返回 。 如果 为有效长度,则为 true;否则,为 false。 - 以字节为单位的 HHTP 对象的长度。 - - - HTTP 消息处理程序的基类型。 - - - 初始化 类的新实例。 - - - 释放由 使用的非托管资源和托管资源。 - - - 释放由 使用的非托管资源,并可根据需要释放托管资源。 - 如果为 true,则释放托管资源和非托管资源;如果为 false,则仅释放非托管资源。 - - - 以异步操作发送 HTTP 请求。 - 返回 。 表示异步操作的任务对象。 - 要发送的 HTTP 请求消息。 - 取消操作的取消标记。 - - 为 null。 - - - - - - - - - - - - - - - 标准的检索和比较 HTTP 方法帮助器类。 - - - 使用指定的 HTTP 方法初始化 类的新实例。 - HTTP 方法。 - - - 表示一个 HTTP DELETE 协议方法。 - 返回 - - - 确定指定的 是否等于当前的 - 返回 。 如果指定的对象等于当前对象,则为 true;否则为 false。 - 要与当前目标进行比较的 HTTP 方法。 - - - 确定指定的 是否等于当前的 - 返回 。 如果指定的对象等于当前对象,则为 true;否则为 false。 - 要与当前对象进行比较的对象。 - - - 表示一个 HTTP GET 协议方法。 - 返回 - - - 用作此类型的哈希函数。 - 返回 。 当前 的哈希代码。 - - - 表示一个 HTTP HEAD 协议方法。 除了服务器在响应中只返回消息头不返回消息体以外,HEAD 方法和 GET 是一样的。 - 返回 - - - HTTP 方法。 - 返回 。 表示作为 的 HTTP 方法。 - - - 用于比较两个 对象的相等运算符。 - 返回 。 如果指定的 参数相等,则为 true;否则为 false。 - 相等运算符左侧的 。 - 相等运算符右侧的 。 - - - 用于比较两个 对象的不相等运算符。 - 返回 。 如果指定的 参数不相等,则为 true;否则为 false。 - 不相等运算符左侧的 。 - 不相等运算符右侧的 。 - - - 表示一个 HTTP OPTIONS 协议方法。 - 返回 - - - 表示一个 HTTP POST 协议方法,该方法用于将新实体作为补充发送到某个 URI。 - 返回 - - - 表示一个 HTTP PUT 协议方法,该方法用于替换 URI 标识的实体。 - 返回 - - - 返回表示当前对象的字符串。 - 返回 。 一个表示当前对象的字符串。 - - - 表示一个 HTTP TRACE 协议方法。 - 返回 - - - - 所引发的异常的基类。 - - - 初始化 类的新实例。 - - - 使用由特定的用来描述当前异常的消息初始化 类的新实例。 - 描述当前异常的消息。 - - - 使用指定消息以及描述当前异常的内部异常来初始化 类的新实例。 - 描述当前异常的消息。 - 内部异常。 - - - 表示 HTTP 请求消息。 - - - 初始化 类的新实例。 - - - 初始化 HTTP 方法和请求 类的新实例。 - HTTP 方法。 - 表示请求 的字符串。 - - - 初始化 HTTP 方法和请求 类的新实例。 - HTTP 方法。 - 要请求的 。 - - - 获取或设置 HTTP 消息的内容。 - 返回 。 消息的内容 - - - 释放由 使用的非托管资源和托管资源。 - - - 释放由 使用的非托管资源,并可根据需要释放托管资源。 - 如果为 true,则释放托管资源和非托管资源;如果为 false,则仅释放非托管资源。 - - - 获取 HTTP 请求标头的集合。 - 返回 。 HTTP 请求标头的集合。 - - - 获取或设置 HTTP 请求信息使用的 HTTP 方法。 - 返回 。 被请求消息使用的HTTP 方法。 GET 是默认方法。 - - - 获取 HTTP 请求的属性集。 - 返回 - - - 获取或设置 HTTP 请求的 - 返回 。 用于 HTTP 请求的 - - - 返回表示当前对象的字符串。 - 返回 。 当前对象的字符串表示形式。 - - - 获取或设置 HTTP 消息版本。 - 返回 。 HTTP 消息版本。 默认值为 1.1。 - - - 表示 HTTP 响应消息。 - - - 初始化 类的新实例。 - - - 初始化指定的 类的新实例。 - HTTP 响应的状态代码。 - - - 获取或设置 HTTP 响应消息的内容。 - 返回 。 HTTP 响应消息的内容。 - - - 释放由 使用的非托管资源。 - - - 释放由 使用的非托管资源,并可根据需要释放托管资源。 - 如果为 true,则释放托管资源和非托管资源;如果为 false,则仅释放非托管资源。 - - - 如果 HTTP 响应的 属性为 false, 将引发异常。 - 返回 。 如果调用成功则 HTTP 响应消息。 - - - 获取 HTTP 响应标头的集合。 - 返回 。 HTTP 响应标头的集合。 - - - 获取一个值,该值指示 HTTP 响应是否成功。 - 返回 。 指示 HTTP 响应是否成功的值。 如果 在 200-299 范围中,则为 true;否则为 false。 - - - 获取或设置服务器与状态代码通常一起发送的原因短语。 - 返回 。 服务器发送的原因词组。 - - - 获取或设置导致此响应消息的请求消息。 - 返回 。 导致此响应信息的请求消息。 - - - 获取或设置 HTTP 响应的状态代码。 - 返回 。 HTTP 响应的状态代码。 - - - 返回表示当前对象的字符串。 - 返回 。 当前对象的字符串表示形式。 - - - 获取或设置 HTTP 消息版本。 - 返回 。 HTTP 消息版本。 默认值为 1.1。 - - - 仅执行请求和/或响应消息的的某些小处理操作的处理程序的基类型。 - - - 创建 类的实例。 - - - 创建特定内部处理程序的 类的实例。 - 负责处理 HTTP 响应消息的内部处理程序。 - - - 处理 HTTP 请求消息。 - 返回 。 被处理的 HTTP 请求消息。 - 要处理的 HTTP 请求消息。 - 可由其他对象或线程用以接收取消通知的取消标记。 - - - 处理 HTTP 响应消息。 - 返回 。 已处理的 HTTP 响应消息。 - 要处理的 HTTP 响应消息。 - 可由其他对象或线程用以接收取消通知的取消标记。 - - - 以异步操作发送 HTTP 请求到内部管理器以发送到服务器。 - 返回 。 表示异步操作的任务对象。 - 要发送到服务器的 HTTP 请求消息。 - 可由其他对象或线程用以接收取消通知的取消标记。 - - 为 null。 - - - 提供 对象的集合,其可通过使用多部分/* 内容类型规范序列化。 - - - 创建 类的新实例。 - - - 创建 类的新实例。 - 多部分内容的子类型。 - - 为 null 或只包含空白字符。 - - - 创建 类的新实例。 - 多部分内容的子类型。 - 多部分内容的边界字符串。 - 为 null 或空字符串。 为 null 或只包含空白字符。 - 或 - 以空白字符结尾。 - - 的长度大于 70。 - - - 添加多部分 HTTP 内容到 对象的集合,其可通过使用多部分/* 内容类型规范获取序列化。 - 要添加到集合中的 HTTP 内容。 - - 为 null。 - - - 释放由 使用的非托管资源,并可根据需要释放托管资源。 - 如果为 true,则释放托管资源和非托管资源;如果为 false,则仅释放非托管资源。 - - - 返回循环访问 对象的集合的枚举器,其可通过使用多部分/* 内容类型规范序列化。 - 返回 。 一个可用于循环访问集合的对象。 - - - 以异步操作将多部分 HTTP 内容序列化到流。 - 返回 。 表示异步操作的任务对象。 - 目标流。 - 有关传输的信息(例如,通道绑定)。 此参数可以为 null。 - - - - 方法的显式实现。 - 返回 。 一个可用于循环访问集合的对象。 - - - 确定 HTTP 多部分内容是否具备有效的字节长度。 - 返回 。 如果 为有效长度,则为 true;否则,为 false。 - 以字节为单位的 HHTP 对象的长度。 - - - 提供容器,用于使用多部分/表格数据 MIME 类型编码的内容。 - - - 创建 类的新实例。 - - - 创建 类的新实例。 - 多部分窗体数据内容的边界字符串。 - - 为 null 或只包含空白字符。 - 或 - 以空白字符结尾。 - - 的长度大于 70。 - - - 向序列化到多部/窗体数据 MIME 类型的 对象集合添加 HTTP 内容。 - 要添加到集合中的 HTTP 内容。 - - 为 null。 - - - 向序列化到多部/窗体数据 MIME 类型的 对象集合添加 HTTP 内容。 - 要添加到集合中的 HTTP 内容。 - 要添加的 HTTP 内容的名称。 - - 为 null 或只包含空白字符。 - - 为 null。 - - - 向序列化到多部/窗体数据 MIME 类型的 对象集合添加 HTTP 内容。 - 要添加到集合中的 HTTP 内容。 - 要添加的 HTTP 内容的名称。 - 要添加到集合中的 HTTP 内容的文件名。 - - 为 null 或只包含空白字符。 - 或 - 为 null 或只包含空白字符。 - - 为 null。 - - - 基于流提供 HTTP 内容。 - - - 创建 类的新实例。 - 用于初始化 的内容。 - - - 创建 类的新实例。 - 用于初始化 的内容。 - - 的缓冲区的大小(以字节为单位)。 - - 为 null。 - - 小于或等于零。 - - - 以异步操作将 HTTP 流内容写入内存流。 - 返回 。 表示异步操作的任务对象。 - - - 释放由 使用的非托管资源,并可根据需要释放托管资源。 - 如果为 true,则释放托管资源和非托管资源;如果为 false,则仅释放非托管资源。 - - - 以异步操作将 HTTP 内容序列化到流。 - 返回 。 表示异步操作的任务对象。 - 目标流。 - 有关传输的信息(例如,通道绑定)。 此参数可以为 null。 - - - 确定流内容是否具备有效的字节长度。 - 返回 。 如果 为有效长度,则为 true;否则,为 false。 - 以字节为单位的流内容的长度。 - - - 基于字符串提供 HTTP 内容。 - - - 创建 类的新实例。 - 用于初始化 的内容。 - - - 创建 类的新实例。 - 用于初始化 的内容。 - 用于内容的编码。 - - - 创建 类的新实例。 - 用于初始化 的内容。 - 用于内容的编码。 - 要用于该内容的媒体。 - - - 表示 Authorization、ProxyAuthorization、WWW-Authneticate 和 Proxy-Authenticate 标头值中的验证信息。 - - - 初始化 类的新实例。 - 用于授权的架构。 - - - 初始化 类的新实例。 - 用于授权的架构。 - 包含请求资源的用户代理的身份验证消息的凭证。 - - - 确定指定的 是否等于当前的 对象。 - 返回 。 如果指定的 等于当前的对象,则为 true;否则为 false。 - 要与当前对象进行比较的对象。 - - - 作为 对象的哈希函数。 - 返回 。 当前对象的哈希代码。 - - - 获取包含所请求资源的用户代理的身份验证信息的凭据。 - 返回 。 凭证包含身份验证信息。 - - - 将字符串转换为 实例。 - 返回 。 一个 实例。 - 一个字符串,表示认证标头值信息。 - - 为 null 引用。 - - 是无效的身份验证标头值信息。 - - - 获取用于身份验证的方案。 - 返回 。 用于授权的架构。 - - - 创建作为当前 实例副本的新对象。 - 返回 。 当前实例的副本。 - - - 返回表示当前 对象的字符串。 - 返回 。 表示当前对象的字符串。 - - - 确定字符串是否是有效的 信息。 - 返回 。 如果 为有效 信息,则为 true;否则为 false。 - 要验证的字符串。 - 字符串的 版本。 - - - 表示 Cache-Control 标头的值。 - - - 初始化 类的新实例。 - - - 确定指定的 是否等于当前的 对象。 - 返回 。 如果指定的 等于当前的对象,则为 true;否则为 false。 - 要与当前对象进行比较的对象。 - - - 缓存扩展符,每个缓存扩展符都赋有可选值。 - 返回 。 缓存扩展符的集合,每个缓存扩展符都赋有可选值。 - - - 作为 对象的哈希函数。 - 返回 。 当前对象的哈希代码。 - - - HTTP 客户端愿意接受以秒为指定单位的最大生存期。 - 返回 。 以秒为单位的时间。 - - - HTTP 客户是否愿意接受已超过其过期时间的响应。 - 返回 。 如果HTTP 客户愿意接受已超过过期时间的响应,则为 true;否则为 false。 - - - HTTP 客户端愿意接受的已超过其过期时间的响应的最长时间(以秒为单位)。 - 返回 。 以秒为单位的时间。 - - - HTTP 客户端愿意接受以秒为单位响应的新鲜生命期。 - 返回 。 以秒为单位的时间。 - - - 缓存项过时时,源服务器是否需要对任何后续使用的缓存项进行验证。 - 返回 。 如果缓存项过时时源服务器需要对任何后续使用的缓存项进行验证,则为 true;否则为 false。 - - - HTTP 客户是否愿意接受缓存响应。 - 返回 。 如果 HTTP 客户愿意接受缓存响应,则为 true,否则为 false。 - - - HTTP 响应时缓存控制标头字段中“no-cache”指令中的 fieldnames 的集合。 - 返回 。 fieldnames 的集合。 - - - 缓存是否不能存储 HTTP 请求 mressage 或任何响应的任何部件。 - 返回 。 如果缓存不能存储 HTTP 请求 mressage 或任何响应的任何部件,则 true;否则,为 false。 - - - 缓存或代理项是否无法更改该个体主体的任何方面。 - 返回 。 如果缓存或代理项无法更改该个体主体的任何方面,则 true;否则,为 false。 - - - 缓存是否应使用与其他 HTTP 请求一致的缓存项进行响应或响应 504(网关超时)状态。 - 返回 。 如果缓存应使用与其他 HTTP 请求一致的缓存项进行响应或响应 504(网关超时)状态,则 true;否则,为 false。 - - - 将字符串转换为 实例。 - 返回 。 一个 实例。 - 一个字符串,表示缓存控制标头值信息。 - - 为 null 引用。 - - 是无效的缓存控制标头值信息。 - - - HTTP 响应消息的全部或部分是否适用于单个用户且不得由共享缓存进行缓存。 - 返回 。 如果 HTTP 响应消息的全部或部分适用于单个用户和是否必须由共享缓存进行缓存,则为 true;否则为 false。 - - - HTTP 响应时缓存控制标头字段中“私有”指令的集合 fieldnames。 - 返回 。 fieldnames 的集合。 - - - 缓存项对共享的用户代理缓存过时时,源服务器是否需要对任何后续使用的缓存项进行验证。 - 返回 。 如果缓存项对共享的用户代理缓存过时时源服务器需要对任何后续使用的缓存项进行验证,则为 true;否则为 false。 - - - HTTP 响应是否可由任何缓存进行缓存,即使它通常在非共享缓存中仅不可缓存或可缓存。 - 返回 。 如果 HTTP 响应可由任何缓存进行缓存,即使它通常在非共享缓存中仅不可缓存或可缓存,则为 true;否则为 false。 - - - 在一个 HTTP 响应中共享的最大年龄,指定每秒,该响应直接在用于缓存-控件标题或一个用于缓存的过期标题中重载了“最大年龄”。 - 返回 。 以秒为单位的时间。 - - - 创建作为当前 实例副本的新对象。 - 返回 。 当前实例的副本。 - - - 返回表示当前 对象的字符串。 - 返回 。 表示当前对象的字符串。 - - - 确定字符串是否是有效的 信息。 - 返回 。 如果 为有效 信息,则为 true;否则为 false。 - 要验证的字符串。 - 字符串的 版本。 - - - 表示 Content-Disposition 标头的值。 - - - 初始化 类的新实例。 - - - 初始化 类的新实例。 - - - 文件的创建日期。 - 返回 。 文件生成日期。 - - - 内容正文部分的处置类型。 - 返回 。 处置类型。 - - - 确定指定的 是否等于当前的 对象。 - 返回 。 如果指定的 等于当前的对象,则为 true;否则为 false。 - 要与当前对象进行比较的对象。 - - - 如果主体分离和储存在一个单独的文件中,如何为储存要使用的消息负载构造一个文件名的建议。 - 返回 。 建议的文件名。 - - - 如果主体分离和储存在单独的文件中,如何为储存要使用的消息负载构造文件名的建议。 - 返回 。 窗体 filename* 的建议文件名。 - - - 作为 对象的哈希函数。 - 返回 。 当前对象的哈希代码。 - - - 上次修改文件的日期。 - 返回 。 文件修改日期。 - - - 一个内容主体部分的名称。 - 返回 。 该内容主体部分的名称。 - - - 参数集包含 Content-Disposition 标头。 - 返回 。 参数的集合。 - - - 将字符串转换为 实例。 - 返回 。 一个 实例。 - 字符串表示内容处置标头值信息。 - - 为 null 引用。 - - 是无效的内容处置标头值信息。 - - - 上次读取文件的日期。 - 返回 。 上次读取日期。 - - - 文件的近似大小(字节)。 - 返回 。 近似大小,以字节为单位。 - - - 创建作为当前 实例副本的新对象。 - 返回 。 当前实例的副本。 - - - 返回表示当前 对象的字符串。 - 返回 。 表示当前对象的字符串。 - - - 确定字符串是否是有效的 信息。 - 返回 。 如果 为有效 信息,则为 true;否则为 false。 - 要验证的字符串。 - 字符串的 版本。 - - - 表示 Content-Range 标头的值。 - - - - - - - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 表示实体标记标头值。 - - - - - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 表示在 RFC 2616 中定义的“内容标题”的集合。 - - - 获取 HTTP 响应的 Allow 内容标题的值。 - 返回 。 请求 HTTP 的 Allow 标题的值。 - - - 返回 - - - 获取 HTTP 响应的 Content-Encoding 内容标题的值。 - 返回 。 请求 HTTP 的 Content-Encoding 内容标题的值。 - - - 获取 HTTP 响应的 Content-Language 内容标题的值。 - 返回 。 请求 HTTP 的 Content-Language 内容标题的值。 - - - 获取或设置 HTTP 响应上的 Content-Length 内容标头值。 - 返回 。 请求 HTTP 的 Content-Length 内容标题的值。 - - - 获取或设置 HTTP 响应上的 Content-Location 内容标头值。 - 返回 。 请求 HTTP 的 Content-Location 内容标题的值。 - - - 获取或设置 HTTP 响应上的 Content-MD5 内容标头值。 - 返回 。 请求 HTTP 的 Content-MD5 内容标题的值。 - - - 获取或设置 HTTP 响应上的 Content-Range 内容标头值。 - 返回 。 请求 HTTP 的 Content-Range 内容标题的值。 - - - 获取或设置 HTTP 响应上的 Content-Type 内容标头值。 - 返回 。 请求 HTTP 的 Content-Type 内容标题的值。 - - - 获取或设置 HTTP 响应上的 Expires 内容标头值。 - 返回 。 请求 HTTP 的 Expires 内容标题的值。 - - - 获取或设置 HTTP 响应上的 Last-Modified 内容标头值。 - 返回 。 请求 HTTP 的 Last-Modified 内容标题的值。 - - - 标头及其在 RFC 2616 中定义的值的集合。 - - - 初始化 类的新实例。 - - - 添加指定的标头及其值到 集合中。 - 要添加到集合中的标头。 - 要向集合中添加的标头值的列表。 - - - 添加指定的标头及其值到 集合中。 - 要添加到集合中的标头。 - 标头的内容。 - - - 集合中移除所有标头。 - - - 如果指定标头存在于 集合则返回。 - 返回 。 如果集合中存在指定标头,则为 true;否则为 false。 - 指定的读取器。 - - - 返回可循环访问 实例的枚举数。 - 返回 的一个枚举数。 - - - 返回存储在 集合中所有指定标头的标头值。 - 返回 。 标头字符串数组。 - 返回值所应用的指定读取器。 - - - 集合中移除指定的标头。 - 返回 - 要从集合中移除的标头名称。 - - - 返回 - - - 返回 - - - - - - - 如果指定的标头和指定的值存储在 集合中则返回。 - 返回 。 true 是指定的标头 ,并且 values 已存储在集合中;否则 false。 - 指定标头。 - 指定的标头值。 - - - 表示标头值的集合。 - - - - - - - - - 返回 - - - - - 返回 - - - 返回 - - - 返回 - - - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 表示在 RFC 2616 中定义的“请求标题”的集合。 - - - 获取 HTTP 请求的 Accept 标头的值。 - 返回 。 请求 HTTP 的 Accept 标题的值。 - - - 获取 HTTP 请求的 Accept-Charset 标头的值。 - 返回 。 请求 HTTP 的 Accept-Charset 标题的值。 - - - 获取 HTTP 请求的 Accept-Encoding 标头的值。 - 返回 。 请求 HTTP 的 Accept-Encoding 标题的值。 - - - 获取 HTTP 请求的 Accept-Language 标头的值。 - 返回 。 请求 HTTP 的 Accept-Language 标题的值。 - - - 获取或设置 HTTP 请求的 Authorization 标头值。 - 返回 。 请求 HTTP 的 Authorization 标题的值。 - - - 获取或设置 HTTP 请求的 Cache-Control 标头值。 - 返回 。 请求 HTTP 的 Cache-Control 标题的值。 - - - 获取 HTTP 请求的 Connection 标头的值。 - 返回 。 请求 HTTP 的 Connection 标题的值。 - - - 获取或设置指示 HTTP 请求的 Connection 标头是否应包含 Close 的值。 - 返回 。 如果 Connection 标头包含关闭,则为 true;否则 false。 - - - 获取或设置 HTTP 请求的 Date 标头值。 - 返回 。 请求 HTTP 的 Date 标题的值。 - - - 获取 HTTP 请求的 Expect 标头的值。 - 返回 。 请求 HTTP 的 Expect 标题的值。 - - - 获取或设置指示 HTTP 请求的 Expect 标头是否应包含 Continue 的值。 - 返回 。 如果 Expect 标头包含继续,则为 true;否则 false。 - - - 获取或设置 HTTP 请求的 From 标头值。 - 返回 。 请求 HTTP 的 From 标题的值。 - - - 获取或设置 HTTP 请求的 Host 标头值。 - 返回 。 请求 HTTP 的 Host 标题的值。 - - - 获取 HTTP 请求的 If-Match 标头的值。 - 返回 。 请求 HTTP 的 If-Match 标题的值。 - - - 获取或设置 HTTP 请求的 If-Modified-Since 标头值。 - 返回 。 请求 HTTP 的 If-Modified-Since 标题的值。 - - - 获取 HTTP 请求的 If-None-Match 标头的值。 - 返回 。 获取 HTTP 请求的 If-None-Match 标头的值。 - - - 获取或设置 HTTP 请求的 If-Range 标头值。 - 返回 。 请求 HTTP 的 If-Range 标题的值。 - - - 获取或设置 HTTP 请求的 If-Unmodified-Since 标头值。 - 返回 。 请求 HTTP 的 If-Unmodified-Since 标题的值。 - - - 获取或设置 HTTP 请求的 Max-Forwards 标头值。 - 返回 。 请求 HTTP 的 Max-Forwards 标题的值。 - - - 获取 HTTP 请求的 Pragma 标头的值。 - 返回 。 请求 HTTP 的 Pragma 标题的值。 - - - 获取或设置 HTTP 请求的 Proxy-Authorization 标头值。 - 返回 。 请求 HTTP 的 Proxy-Authorization 标题的值。 - - - 获取或设置 HTTP 请求的 Range 标头值。 - 返回 。 请求 HTTP 的 Range 标题的值。 - - - 获取或设置 HTTP 请求的 Referer 标头值。 - 返回 。 请求 HTTP 的 Referer 标题的值。 - - - 获取 HTTP 请求的 TE 标头的值。 - 返回 。 请求 HTTP 的 TE 标题的值。 - - - 获取 HTTP 请求的 Trailer 标头的值。 - 返回 。 请求 HTTP 的 Trailer 标题的值。 - - - 获取 HTTP 请求的 Transfer-Encoding 标头的值。 - 返回 。 请求 HTTP 的 Transfer-Encoding 标题的值。 - - - 获取或设置指示 HTTP 请求的 Transfer-Encoding 标头是否应包含 chunked 的值。 - 返回 。 如果 Transfer-Encoding 标头包含分块,则为 true;否则 false。 - - - 获取 HTTP 请求的 Upgrade 标头的值。 - 返回 。 请求 HTTP 的 Upgrade 标题的值。 - - - 获取 HTTP 请求的 User-Agent 标头的值。 - 返回 。 请求 HTTP 的 User-Agent 标题的值。 - - - 获取 HTTP 请求的 Via 标头的值。 - 返回 。 请求 HTTP 的 Via 标题的值。 - - - 获取 HTTP 请求的 Warning 标头的值。 - 返回 。 请求 HTTP 的 Warning 标题的值。 - - - 表示在 RFC 2616 中定义的“内容标题”的集合。 - - - 获取 HTTP 请求的 Accept-Ranges 标头的值。 - 返回 。 请求 HTTP 的 Accept-Ranges 标题的值。 - - - 获取或设置 HTTP 响应的 Age 标头值。 - 返回 。 请求 HTTP 的 Age 标题的值。 - - - 获取或设置 HTTP 响应的 Cache-Control 标头值。 - 返回 。 请求 HTTP 的 Cache-Control 标题的值。 - - - 获取 HTTP 请求的 Connection 标头的值。 - 返回 。 请求 HTTP 的 Connection 标题的值。 - - - 获取或设置指示 HTTP 响应的 Connection 标头是否应包含 Close 的值。 - 返回 。 如果 Connection 标头包含关闭,则为 true;否则 false。 - - - 获取或设置 HTTP 响应的 Date 标头值。 - 返回 。 请求 HTTP 的 Date 标题的值。 - - - 获取或设置 HTTP 响应的 ETag 标头值。 - 返回 。 请求 HTTP 的 ETag 标题的值。 - - - 获取或设置 HTTP 响应的 Location 标头值。 - 返回 。 请求 HTTP 的 Location 标题的值。 - - - 获取 HTTP 请求的 Pragma 标头的值。 - 返回 。 请求 HTTP 的 Pragma 标题的值。 - - - 获取 HTTP 请求的 Proxy-Authenticate 标头的值。 - 返回 。 请求 HTTP 的 Proxy-Authenticate 标题的值。 - - - 获取或设置 HTTP 响应的 Retry-After 标头值。 - 返回 。 请求 HTTP 的 Retry-After 标题的值。 - - - 获取 HTTP 请求的 Server 标头的值。 - 返回 。 请求 HTTP 的 Server 标题的值。 - - - 获取 HTTP 请求的 Trailer 标头的值。 - 返回 。 请求 HTTP 的 Trailer 标题的值。 - - - 获取 HTTP 请求的 Transfer-Encoding 标头的值。 - 返回 。 请求 HTTP 的 Transfer-Encoding 标题的值。 - - - 获取或设置指示 HTTP 响应的 Transfer-Encoding 标头是否应包含 chunked 的值。 - 返回 。 如果 Transfer-Encoding 标头包含分块,则为 true;否则 false。 - - - 获取 HTTP 请求的 Upgrade 标头的值。 - 返回 。 请求 HTTP 的 Upgrade 标题的值。 - - - 获取 HTTP 请求的 Vary 标头的值。 - 返回 。 请求 HTTP 的 Vary 标题的值。 - - - 获取 HTTP 请求的 Via 标头的值。 - 返回 。 请求 HTTP 的 Via 标题的值。 - - - 获取 HTTP 请求的 Warning 标头的值。 - 返回 。 请求 HTTP 的 Warning 标题的值。 - - - 获取 HTTP 请求的 WWW-Authenticate 标头的值。 - 返回 。 请求 HTTP 的 WWW-Authenticate 标题的值。 - - - 表示媒体类型,如中 RFC 2616 定义。 - - - - - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 表示具有额外质量的内容型标题值。 - - - - - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 表示一个名称/值对。 - - - - - - - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 表示具有参数的名称/值对。 - - - - - - - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 表示产品标头值。 - - - - - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 表示值,其可为产品或注释。 - - - - - - - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 表示标题值,其可为日期/事件或实体标记值。 - - - - - - - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 表示 Range 标头的值。 - - - - - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 表示字节范围标头值。 - - - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 表示标题值,其可为日期/事件或时间跨度值。 - - - - - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 表示具有可选外质量的字符串标题值。 - - - - - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 表示传输编码标头值。 - - - - - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 表示具有可选额外质量的传输编码标头值。 - - - - - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 表示 Via 标头的值。 - - - - - - - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 表示警告标题使用的警告值。 - - - - - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - 返回 - - - \ No newline at end of file diff --git a/喷涂上线/Code/MESClassLibrary/bin/Debug/zh-Hans/EntityFramework.resources.dll b/喷涂上线/Code/MESClassLibrary/bin/Debug/zh-Hans/EntityFramework.resources.dll deleted file mode 100644 index 4973d10..0000000 Binary files a/喷涂上线/Code/MESClassLibrary/bin/Debug/zh-Hans/EntityFramework.resources.dll and /dev/null differ diff --git a/喷涂上线/Code/MESClassLibrary/bin/Debug/zh-Hans/System.Net.Http.resources.dll b/喷涂上线/Code/MESClassLibrary/bin/Debug/zh-Hans/System.Net.Http.resources.dll deleted file mode 100644 index a4fb513..0000000 Binary files a/喷涂上线/Code/MESClassLibrary/bin/Debug/zh-Hans/System.Net.Http.resources.dll and /dev/null differ diff --git a/喷涂上线/Code/MESClassLibrary/obj/Debug/.NETFramework,Version=v4.0.AssemblyAttributes.cs b/喷涂上线/Code/MESClassLibrary/obj/Debug/.NETFramework,Version=v4.0.AssemblyAttributes.cs deleted file mode 100644 index 5d01041..0000000 --- a/喷涂上线/Code/MESClassLibrary/obj/Debug/.NETFramework,Version=v4.0.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0", FrameworkDisplayName = ".NET Framework 4")] diff --git a/喷涂上线/Code/MESClassLibrary/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/喷涂上线/Code/MESClassLibrary/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index fb432c6..0000000 Binary files a/喷涂上线/Code/MESClassLibrary/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/喷涂上线/Code/MESClassLibrary/obj/Debug/MESClassLibrary.csproj.AssemblyReference.cache b/喷涂上线/Code/MESClassLibrary/obj/Debug/MESClassLibrary.csproj.AssemblyReference.cache deleted file mode 100644 index c066d93..0000000 Binary files a/喷涂上线/Code/MESClassLibrary/obj/Debug/MESClassLibrary.csproj.AssemblyReference.cache and /dev/null differ diff --git a/喷涂上线/Code/MESClassLibrary/obj/Debug/MESClassLibrary.csproj.FileListAbsolute.txt b/喷涂上线/Code/MESClassLibrary/obj/Debug/MESClassLibrary.csproj.FileListAbsolute.txt deleted file mode 100644 index 5618dba..0000000 --- a/喷涂上线/Code/MESClassLibrary/obj/Debug/MESClassLibrary.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,12 +0,0 @@ -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\MESClassLibrary\bin\Debug\MESClassLibrary.dll.config -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\MESClassLibrary\bin\Debug\MESClassLibrary.dll -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\MESClassLibrary\bin\Debug\MESClassLibrary.pdb -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\MESClassLibrary\bin\Debug\EntityFramework.dll -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\MESClassLibrary\bin\Debug\Newtonsoft.Json.dll -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\MESClassLibrary\bin\Debug\System.Net.Http.dll -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\MESClassLibrary\bin\Debug\EntityFramework.xml -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\MESClassLibrary\bin\Debug\System.Net.Http.xml -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\MESClassLibrary\bin\Debug\zh-Hans\EntityFramework.resources.dll -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\MESClassLibrary\bin\Debug\zh-Hans\System.Net.Http.resources.dll -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\MESClassLibrary\obj\Debug\MESClassLibrary.dll -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\MESClassLibrary\obj\Debug\MESClassLibrary.pdb diff --git a/喷涂上线/Code/MESClassLibrary/obj/Debug/MESClassLibrary.csprojResolveAssemblyReference.cache b/喷涂上线/Code/MESClassLibrary/obj/Debug/MESClassLibrary.csprojResolveAssemblyReference.cache deleted file mode 100644 index 2404dcf..0000000 Binary files a/喷涂上线/Code/MESClassLibrary/obj/Debug/MESClassLibrary.csprojResolveAssemblyReference.cache and /dev/null differ diff --git a/喷涂上线/Code/MESClassLibrary/obj/Debug/MESClassLibrary.dll b/喷涂上线/Code/MESClassLibrary/obj/Debug/MESClassLibrary.dll deleted file mode 100644 index bc08097..0000000 Binary files a/喷涂上线/Code/MESClassLibrary/obj/Debug/MESClassLibrary.dll and /dev/null differ diff --git a/喷涂上线/Code/MESClassLibrary/obj/Debug/MESClassLibrary.pdb b/喷涂上线/Code/MESClassLibrary/obj/Debug/MESClassLibrary.pdb deleted file mode 100644 index 388d428..0000000 Binary files a/喷涂上线/Code/MESClassLibrary/obj/Debug/MESClassLibrary.pdb and /dev/null differ diff --git a/喷涂上线/Code/MESClassLibrary/obj/Debug/TempPE/EFModel.BBMPT.Designer.cs.dll b/喷涂上线/Code/MESClassLibrary/obj/Debug/TempPE/EFModel.BBMPT.Designer.cs.dll deleted file mode 100644 index 0d8ac30..0000000 Binary files a/喷涂上线/Code/MESClassLibrary/obj/Debug/TempPE/EFModel.BBMPT.Designer.cs.dll and /dev/null differ diff --git a/喷涂上线/Code/MESClassLibrary/obj/Debug/TempPE/EFModel.BBMPT.cs.dll b/喷涂上线/Code/MESClassLibrary/obj/Debug/TempPE/EFModel.BBMPT.cs.dll deleted file mode 100644 index 4964064..0000000 Binary files a/喷涂上线/Code/MESClassLibrary/obj/Debug/TempPE/EFModel.BBMPT.cs.dll and /dev/null differ diff --git a/喷涂上线/Code/MESClassLibrary/obj/Debug/edmxResourcesToEmbed/EFModel/BBMPT.csdl b/喷涂上线/Code/MESClassLibrary/obj/Debug/edmxResourcesToEmbed/EFModel/BBMPT.csdl deleted file mode 100644 index 26ebfba..0000000 --- a/喷涂上线/Code/MESClassLibrary/obj/Debug/edmxResourcesToEmbed/EFModel/BBMPT.csdl +++ /dev/null @@ -1,1488 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/MESClassLibrary/obj/Debug/edmxResourcesToEmbed/EFModel/BBMPT.msl b/喷涂上线/Code/MESClassLibrary/obj/Debug/edmxResourcesToEmbed/EFModel/BBMPT.msl deleted file mode 100644 index 47060fc..0000000 --- a/喷涂上线/Code/MESClassLibrary/obj/Debug/edmxResourcesToEmbed/EFModel/BBMPT.msl +++ /dev/null @@ -1,1461 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/MESClassLibrary/obj/Debug/edmxResourcesToEmbed/EFModel/BBMPT.ssdl b/喷涂上线/Code/MESClassLibrary/obj/Debug/edmxResourcesToEmbed/EFModel/BBMPT.ssdl deleted file mode 100644 index 34877e1..0000000 --- a/喷涂上线/Code/MESClassLibrary/obj/Debug/edmxResourcesToEmbed/EFModel/BBMPT.ssdl +++ /dev/null @@ -1,1729 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - SELECT - [T_Sys_RoleLinkPower].[RoleID] AS [RoleID], - [T_Sys_RoleLinkPower].[PowerID] AS [PowerID], - [T_Sys_RoleLinkPower].[OpTime] AS [OpTime], - [T_Sys_RoleLinkPower].[OpName] AS [OpName] - FROM [dbo].[T_Sys_RoleLinkPower] AS [T_Sys_RoleLinkPower] - - - SELECT - [tb_Report_FiveScreenStandard].[ID] AS [ID], - [tb_Report_FiveScreenStandard].[Name] AS [Name], - [tb_Report_FiveScreenStandard].[LastYear] AS [LastYear], - [tb_Report_FiveScreenStandard].[Jan] AS [Jan], - [tb_Report_FiveScreenStandard].[Feb] AS [Feb], - [tb_Report_FiveScreenStandard].[Mar] AS [Mar], - [tb_Report_FiveScreenStandard].[Apr] AS [Apr], - [tb_Report_FiveScreenStandard].[May] AS [May], - [tb_Report_FiveScreenStandard].[Jun] AS [Jun], - [tb_Report_FiveScreenStandard].[Jul] AS [Jul], - [tb_Report_FiveScreenStandard].[Aug] AS [Aug], - [tb_Report_FiveScreenStandard].[Sept] AS [Sept], - [tb_Report_FiveScreenStandard].[Oct] AS [Oct], - [tb_Report_FiveScreenStandard].[Nov] AS [Nov], - [tb_Report_FiveScreenStandard].[Dec] AS [Dec], - [tb_Report_FiveScreenStandard].[CreateTime] AS [CreateTime] - FROM [dbo].[tb_Report_FiveScreenStandard] AS [tb_Report_FiveScreenStandard] - - - SELECT - [tb_ReportPaintingScreen].[color] AS [color], - [tb_ReportPaintingScreen].[productInfo] AS [productInfo], - [tb_ReportPaintingScreen].[sumNum] AS [sumNum], - [tb_ReportPaintingScreen].[oncePassNum] AS [oncePassNum], - [tb_ReportPaintingScreen].[oncePassRate] AS [oncePassRate], - [tb_ReportPaintingScreen].[sumPassNum] AS [sumPassNum], - [tb_ReportPaintingScreen].[sumPassRate] AS [sumPassRate] - FROM [dbo].[tb_ReportPaintingScreen] AS [tb_ReportPaintingScreen] - - - SELECT - [tb_ReportPaintingScreen_pg].[color] AS [color], - [tb_ReportPaintingScreen_pg].[productInfo] AS [productInfo], - [tb_ReportPaintingScreen_pg].[sumNum] AS [sumNum], - [tb_ReportPaintingScreen_pg].[hgNum] AS [hgNum], - [tb_ReportPaintingScreen_pg].[DefectName1] AS [DefectName1], - [tb_ReportPaintingScreen_pg].[defectRate1] AS [defectRate1], - [tb_ReportPaintingScreen_pg].[DefectName2] AS [DefectName2], - [tb_ReportPaintingScreen_pg].[defectRate2] AS [defectRate2], - [tb_ReportPaintingScreen_pg].[DefectName3] AS [DefectName3], - [tb_ReportPaintingScreen_pg].[defectRate3] AS [defectRate3], - [tb_ReportPaintingScreen_pg].[DefectName4] AS [DefectName4], - [tb_ReportPaintingScreen_pg].[defectRate4] AS [defectRate4], - [tb_ReportPaintingScreen_pg].[DefectName5] AS [DefectName5], - [tb_ReportPaintingScreen_pg].[defectRate5] AS [defectRate5] - FROM [dbo].[tb_ReportPaintingScreen_pg] AS [tb_ReportPaintingScreen_pg] - - - SELECT - [test1].[ID] AS [ID], - [test1].[StationID] AS [StationID], - [test1].[StockNo] AS [StockNo], - [test1].[PrintType] AS [PrintType], - [test1].[OneBarCode] AS [OneBarCode], - [test1].[PlanID] AS [PlanID], - [test1].[CreateTime] AS [CreateTime], - [test1].[ProductName] AS [ProductName], - [test1].[PartNo] AS [PartNo], - [test1].[ProductDate] AS [ProductDate], - [test1].[ClassName] AS [ClassName] - FROM [dbo].[test1] AS [test1] - - - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/MESClassLibrary/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/喷涂上线/Code/MESClassLibrary/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 580ef96..0000000 Binary files a/喷涂上线/Code/MESClassLibrary/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/喷涂上线/Code/MESClassLibrary/obj/Release/TempPE/EFModel.BBMPT.Designer.cs.dll b/喷涂上线/Code/MESClassLibrary/obj/Release/TempPE/EFModel.BBMPT.Designer.cs.dll deleted file mode 100644 index 97ee333..0000000 Binary files a/喷涂上线/Code/MESClassLibrary/obj/Release/TempPE/EFModel.BBMPT.Designer.cs.dll and /dev/null differ diff --git a/喷涂上线/Code/MESClassLibrary/obj/Release/TempPE/EFModel.BBMPT.cs.dll b/喷涂上线/Code/MESClassLibrary/obj/Release/TempPE/EFModel.BBMPT.cs.dll deleted file mode 100644 index cef097b..0000000 Binary files a/喷涂上线/Code/MESClassLibrary/obj/Release/TempPE/EFModel.BBMPT.cs.dll and /dev/null differ diff --git a/喷涂上线/Code/MESClassLibrary/packages.config b/喷涂上线/Code/MESClassLibrary/packages.config deleted file mode 100644 index e0f3c53..0000000 --- a/喷涂上线/Code/MESClassLibrary/packages.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/01.png b/喷涂上线/Code/PaintingPC/01.png deleted file mode 100644 index ada418f..0000000 Binary files a/喷涂上线/Code/PaintingPC/01.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/2.ico b/喷涂上线/Code/PaintingPC/2.ico deleted file mode 100644 index eb28783..0000000 Binary files a/喷涂上线/Code/PaintingPC/2.ico and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/App.config b/喷涂上线/Code/PaintingPC/App.config deleted file mode 100644 index 528d810..0000000 --- a/喷涂上线/Code/PaintingPC/App.config +++ /dev/null @@ -1,59 +0,0 @@ - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - http://10.60.101.59:8013/WMSWebService.asmx - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/AutoUpdater.cs b/喷涂上线/Code/PaintingPC/AutoUpdater.cs deleted file mode 100644 index 3afd561..0000000 --- a/喷涂上线/Code/PaintingPC/AutoUpdater.cs +++ /dev/null @@ -1,136 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Net; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; -using System.Xml; - -namespace PaintingPC -{ - public class AutoUpdater - { - private string _serverUrl; - private string _softwareName; - private string _newVersion; - private string _filePath; - private string _fileName; - private string _lastUpdateTime; - private string _desc; - - public bool CheckUpdateLoad(string serverUrl, string updateXmlFileName) - { - bool result = false; - _serverUrl = serverUrl; - try - { - if (CheckUpdate(serverUrl,updateXmlFileName)) - { - var sb = new StringBuilder(); - sb.AppendLine("当前版本:" + Assembly.LoadFrom(_softwareName).GetName().Version); - sb.AppendLine("检查到新版本:" + _newVersion); - sb.AppendLine("更新时间:" + _lastUpdateTime); - sb.AppendLine("更新说明:" + _desc); - sb.AppendLine(); - sb.AppendLine("是否更新?"); - //var form = new FormFoundUpdate(sb.ToString()); - DialogResult result1 = MessageBox.Show("是否更新程序!", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Warning); - if (result1 == DialogResult.Yes) - { - var path = Application.StartupPath; - var args = new StringBuilder(); - args.Append("\'"+_serverUrl+"\',"); - args.Append("\'" + _softwareName + "\',"); - args.Append("\'" + _newVersion + "\',"); - args.Append("\'" + _filePath + "\',"); - args.Append("\'" + _fileName + "\',"); - args.Append("\'" + _lastUpdateTime + "\',"); - args.Append("\'" + _desc + "\',"); - //args.Append("\'{_softwareName}\',"); - //args.Append("\'{_newVersion}\',"); - //args.Append("\'{_filePath}\',"); - //args.Append("\'{_fileName}\',"); - //args.Append("\'{_lastUpdateTime}\',"); - //args.Append("\'{_desc}\'"); - - var process = new System.Diagnostics.Process - { - StartInfo = - { - FileName = "Updater.exe", - WorkingDirectory = path, - CreateNoWindow = true, - Arguments = args.ToString(), - } - }; -// MessageBox.Show(process.StartInfo.FileName+" "+process.StartInfo.Arguments); - process.Start(); - result = true; - } - } - - } - catch (Exception ex) - { - MessageBox.Show(ex.Message); - result = false; - } - return result; - } - - private bool CheckUpdate(string serverUrl, string updateXmlFileName) - { - - var fullFileName = serverUrl + updateXmlFileName; - try - { - var wc = new WebClient(); - var stream = wc.OpenRead(fullFileName); - //http://127.0.0.1/PcUpdate.xml - var xmlDoc = new XmlDocument(); - if (stream != null) xmlDoc.Load(stream); - XmlNode rootNode = xmlDoc.SelectSingleNode("AutoUpdate"); - if (rootNode != null) - foreach (XmlNode node in rootNode.ChildNodes.Cast().Where(node => node.Name == "SoftWare")) - { - if (node.Attributes != null) _softwareName = node.Attributes["Name"].Value; - foreach (XmlNode n in node.ChildNodes) - { - switch (n.Name) - { - case "Version": - _newVersion = n.InnerText; - break; - case "FilePath": - _filePath = n.InnerText; - break; - case "FileName": - _fileName = n.InnerText; - break; - case "LastUpdateTime": - _lastUpdateTime = n.InnerText; - break; - case "Desc": - _desc = n.InnerText; - break; - } - } - } - - - Version newVersion = new Version(_newVersion); - Version oldVersion = Assembly.LoadFrom(_softwareName).GetName().Version; - var tm = oldVersion.CompareTo(newVersion); - - var hasUpdate = tm < 0; - return hasUpdate; - } - catch (Exception ex) - { - throw new Exception("更新出现错误,请确认网络连接无误后重试!\n{fullFileName}\n{ex.Message}"); - } - } - } -} diff --git a/喷涂上线/Code/PaintingPC/DLL/SchTaskExtAPI.dll b/喷涂上线/Code/PaintingPC/DLL/SchTaskExtAPI.dll deleted file mode 100644 index a055a5a..0000000 Binary files a/喷涂上线/Code/PaintingPC/DLL/SchTaskExtAPI.dll and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/DLL/Tools.dll b/喷涂上线/Code/PaintingPC/DLL/Tools.dll deleted file mode 100644 index 684e01b..0000000 Binary files a/喷涂上线/Code/PaintingPC/DLL/Tools.dll and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/FrmChainDown.Designer.cs b/喷涂上线/Code/PaintingPC/FrmChainDown.Designer.cs deleted file mode 100644 index 23b11d6..0000000 --- a/喷涂上线/Code/PaintingPC/FrmChainDown.Designer.cs +++ /dev/null @@ -1,350 +0,0 @@ -namespace PaintingPC -{ - partial class FrmChainDown - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmChainDown)); - this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.panel1 = new System.Windows.Forms.Panel(); - this.label1 = new System.Windows.Forms.Label(); - this.panel2 = new System.Windows.Forms.Panel(); - this.label2 = new System.Windows.Forms.Label(); - this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); - this.panel3 = new System.Windows.Forms.Panel(); - this.txtBarCode = new System.Windows.Forms.TextBox(); - this.label3 = new System.Windows.Forms.Label(); - this.panel4 = new System.Windows.Forms.Panel(); - this.lbPartName = new System.Windows.Forms.Label(); - this.panel5 = new System.Windows.Forms.Panel(); - this.lbupCount = new System.Windows.Forms.Label(); - this.panel6 = new System.Windows.Forms.Panel(); - this.lbdownCount = new System.Windows.Forms.Label(); - this.panel7 = new System.Windows.Forms.Panel(); - this.timer1 = new System.Windows.Forms.Timer(this.components); - this.panel8 = new System.Windows.Forms.Panel(); - this.tableLayoutPanel1.SuspendLayout(); - this.tableLayoutPanel2.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - this.panel1.SuspendLayout(); - this.panel2.SuspendLayout(); - this.tableLayoutPanel3.SuspendLayout(); - this.panel3.SuspendLayout(); - this.panel4.SuspendLayout(); - this.panel5.SuspendLayout(); - this.panel6.SuspendLayout(); - this.SuspendLayout(); - // - // tableLayoutPanel1 - // - this.tableLayoutPanel1.ColumnCount = 1; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 0); - this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel3, 0, 1); - this.tableLayoutPanel1.Controls.Add(this.panel7, 0, 2); - this.tableLayoutPanel1.Controls.Add(this.panel8, 0, 3); - this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - this.tableLayoutPanel1.RowCount = 4; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 17F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 83F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 77F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 316F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(1024, 768); - this.tableLayoutPanel1.TabIndex = 0; - // - // tableLayoutPanel2 - // - this.tableLayoutPanel2.ColumnCount = 3; - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 14.3982F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 85.6018F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 126F)); - this.tableLayoutPanel2.Controls.Add(this.pictureBox1, 0, 0); - this.tableLayoutPanel2.Controls.Add(this.panel1, 1, 0); - this.tableLayoutPanel2.Controls.Add(this.panel2, 2, 0); - this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Top; - this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 3); - this.tableLayoutPanel2.Name = "tableLayoutPanel2"; - this.tableLayoutPanel2.RowCount = 1; - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel2.Size = new System.Drawing.Size(1018, 57); - this.tableLayoutPanel2.TabIndex = 1; - // - // pictureBox1 - // - this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill; - this.pictureBox1.ErrorImage = null; - this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); - this.pictureBox1.InitialImage = null; - this.pictureBox1.Location = new System.Drawing.Point(3, 3); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(122, 51); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox1.TabIndex = 0; - this.pictureBox1.TabStop = false; - // - // panel1 - // - this.panel1.Controls.Add(this.label1); - this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel1.Location = new System.Drawing.Point(131, 3); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(757, 51); - this.panel1.TabIndex = 1; - // - // label1 - // - this.label1.Dock = System.Windows.Forms.DockStyle.Fill; - this.label1.Font = new System.Drawing.Font("微软雅黑", 24F); - this.label1.ForeColor = System.Drawing.Color.White; - this.label1.Location = new System.Drawing.Point(0, 0); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(757, 51); - this.label1.TabIndex = 0; - this.label1.Text = "北汽模塑悬挂链下件扫描看板"; - this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // panel2 - // - this.panel2.Controls.Add(this.label2); - this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel2.Location = new System.Drawing.Point(894, 3); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(121, 51); - this.panel2.TabIndex = 2; - // - // label2 - // - this.label2.Dock = System.Windows.Forms.DockStyle.Fill; - this.label2.Font = new System.Drawing.Font("微软雅黑", 24F); - this.label2.ForeColor = System.Drawing.Color.White; - this.label2.Location = new System.Drawing.Point(0, 0); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(121, 51); - this.label2.TabIndex = 0; - this.label2.Text = "退出"; - this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.label2.Click += new System.EventHandler(this.label2_Click); - // - // tableLayoutPanel3 - // - this.tableLayoutPanel3.ColumnCount = 2; - this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel3.Controls.Add(this.panel3, 0, 0); - this.tableLayoutPanel3.Controls.Add(this.panel4, 1, 0); - this.tableLayoutPanel3.Controls.Add(this.panel5, 0, 1); - this.tableLayoutPanel3.Controls.Add(this.panel6, 1, 1); - this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel3.Location = new System.Drawing.Point(3, 66); - this.tableLayoutPanel3.Name = "tableLayoutPanel3"; - this.tableLayoutPanel3.RowCount = 2; - this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 17.17791F)); - this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 82.82208F)); - this.tableLayoutPanel3.Size = new System.Drawing.Size(1018, 305); - this.tableLayoutPanel3.TabIndex = 2; - // - // panel3 - // - this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel3.Controls.Add(this.txtBarCode); - this.panel3.Controls.Add(this.label3); - this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel3.Location = new System.Drawing.Point(3, 3); - this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(503, 46); - this.panel3.TabIndex = 0; - // - // txtBarCode - // - this.txtBarCode.Font = new System.Drawing.Font("微软雅黑", 14.25F); - this.txtBarCode.Location = new System.Drawing.Point(61, 10); - this.txtBarCode.Name = "txtBarCode"; - this.txtBarCode.Size = new System.Drawing.Size(428, 33); - this.txtBarCode.TabIndex = 1; - this.txtBarCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBarCode_KeyDown); - // - // label3 - // - this.label3.AutoSize = true; - this.label3.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label3.ForeColor = System.Drawing.Color.White; - this.label3.Location = new System.Drawing.Point(4, 14); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(50, 25); - this.label3.TabIndex = 0; - this.label3.Text = "条码"; - // - // panel4 - // - this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel4.Controls.Add(this.lbPartName); - this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel4.Location = new System.Drawing.Point(512, 3); - this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(503, 46); - this.panel4.TabIndex = 1; - // - // lbPartName - // - this.lbPartName.BackColor = System.Drawing.Color.Black; - this.lbPartName.Font = new System.Drawing.Font("微软雅黑", 14.25F); - this.lbPartName.ForeColor = System.Drawing.Color.White; - this.lbPartName.Location = new System.Drawing.Point(9, 6); - this.lbPartName.Name = "lbPartName"; - this.lbPartName.Size = new System.Drawing.Size(487, 37); - this.lbPartName.TabIndex = 0; - this.lbPartName.Text = "label4"; - this.lbPartName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // panel5 - // - this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel5.Controls.Add(this.lbupCount); - this.panel5.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel5.Location = new System.Drawing.Point(3, 55); - this.panel5.Name = "panel5"; - this.panel5.Size = new System.Drawing.Size(503, 247); - this.panel5.TabIndex = 2; - // - // lbupCount - // - this.lbupCount.BackColor = System.Drawing.Color.Green; - this.lbupCount.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbupCount.Font = new System.Drawing.Font("微软雅黑", 108F, System.Drawing.FontStyle.Bold); - this.lbupCount.ForeColor = System.Drawing.Color.White; - this.lbupCount.Location = new System.Drawing.Point(0, 0); - this.lbupCount.Name = "lbupCount"; - this.lbupCount.Size = new System.Drawing.Size(501, 245); - this.lbupCount.TabIndex = 0; - this.lbupCount.Text = "567"; - this.lbupCount.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // panel6 - // - this.panel6.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel6.Controls.Add(this.lbdownCount); - this.panel6.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel6.Location = new System.Drawing.Point(512, 55); - this.panel6.Name = "panel6"; - this.panel6.Size = new System.Drawing.Size(503, 247); - this.panel6.TabIndex = 3; - // - // lbdownCount - // - this.lbdownCount.BackColor = System.Drawing.Color.Green; - this.lbdownCount.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbdownCount.Font = new System.Drawing.Font("微软雅黑", 108F, System.Drawing.FontStyle.Bold); - this.lbdownCount.ForeColor = System.Drawing.Color.Yellow; - this.lbdownCount.Location = new System.Drawing.Point(0, 0); - this.lbdownCount.Name = "lbdownCount"; - this.lbdownCount.Size = new System.Drawing.Size(501, 245); - this.lbdownCount.TabIndex = 0; - this.lbdownCount.Text = "561"; - this.lbdownCount.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // panel7 - // - this.panel7.AutoScroll = true; - this.panel7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel7.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel7.Location = new System.Drawing.Point(3, 377); - this.panel7.Name = "panel7"; - this.panel7.Size = new System.Drawing.Size(1018, 71); - this.panel7.TabIndex = 3; - // - // timer1 - // - this.timer1.Interval = 5000; - // - // panel8 - // - this.panel8.AutoScroll = true; - this.panel8.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel8.Location = new System.Drawing.Point(3, 454); - this.panel8.Name = "panel8"; - this.panel8.Size = new System.Drawing.Size(1018, 311); - this.panel8.TabIndex = 4; - // - // FrmChainDown - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.BackColor = System.Drawing.Color.Black; - this.ClientSize = new System.Drawing.Size(1024, 768); - this.Controls.Add(this.tableLayoutPanel1); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Name = "FrmChainDown"; - this.Text = "FrmChainDown"; - this.Load += new System.EventHandler(this.FrmChainDown_Load); - this.tableLayoutPanel1.ResumeLayout(false); - this.tableLayoutPanel2.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - this.panel1.ResumeLayout(false); - this.panel2.ResumeLayout(false); - this.tableLayoutPanel3.ResumeLayout(false); - this.panel3.ResumeLayout(false); - this.panel3.PerformLayout(); - this.panel4.ResumeLayout(false); - this.panel5.ResumeLayout(false); - this.panel6.ResumeLayout(false); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; - private System.Windows.Forms.PictureBox pictureBox1; - private System.Windows.Forms.Panel panel1; - private System.Windows.Forms.Label label1; - private System.Windows.Forms.Panel panel2; - private System.Windows.Forms.Label label2; - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3; - private System.Windows.Forms.Panel panel3; - private System.Windows.Forms.TextBox txtBarCode; - private System.Windows.Forms.Label label3; - private System.Windows.Forms.Panel panel4; - private System.Windows.Forms.Label lbPartName; - private System.Windows.Forms.Panel panel5; - private System.Windows.Forms.Label lbupCount; - private System.Windows.Forms.Panel panel6; - private System.Windows.Forms.Label lbdownCount; - private System.Windows.Forms.Panel panel7; - private System.Windows.Forms.Timer timer1; - private System.Windows.Forms.Panel panel8; - - - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmChainDown.cs b/喷涂上线/Code/PaintingPC/FrmChainDown.cs deleted file mode 100644 index 3729e4e..0000000 --- a/喷涂上线/Code/PaintingPC/FrmChainDown.cs +++ /dev/null @@ -1,498 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Configuration; -using System.Data; -using System.Data.SqlClient; -using System.Drawing; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; -using DBUtility; -using grproLib; -using PaintingPC.Model; - -namespace PaintingPC -{ - public partial class FrmChainDown : Form - { - public FrmChainDown() - { - InitializeComponent(); - } - - private void tableLayoutPanel1_Paint(object sender, PaintEventArgs e) - { - - } - - private void label2_Click(object sender, EventArgs e) - { - Environment.Exit(0); - } - - private void FrmChainDown_Load(object sender, EventArgs e) - { - Control.CheckForIllegalCrossThreadCalls = false; - //this.WindowState = FormWindowState.Maximized; - - txtBarCode.Text = ""; - lbPartName.Text = ""; - lbupCount.BackColor = Color.FromArgb(27,66,39); - lbdownCount.BackColor = Color.FromArgb(27, 66, 39); - lbdownCount.ForeColor = Color.FromArgb(255, 234, 45); - InitCount(); - initBarCode(Color.Gray); - initPack("",""); - } - - private void InitCount() - { - try - { - lbupCount.Text = Function.GetChainCountAll(); - lbdownCount.Text = Function.GetChainCountDown(); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(),MethodBase.GetCurrentMethod().Name); - } - } - - /// - /// 在悬挂链的条码信息 - /// - private void initBarCode(Color c) - { - try - { - panel7.Controls.Clear(); - - DataTable dt = Function1.GetOnChainBarCode(); - if (dt != null && dt.Rows.Count > 0) - { - Label[] label = new Label[dt.Rows.Count]; - string[] type = new string[dt.Rows.Count]; - string[] color = new string[dt.Rows.Count]; - string[] barcode=new string[dt.Rows.Count]; - - for (int i = 0; i < dt.Rows.Count; i++) - { - type[i] = dt.Rows[i]["carType"].ToString(); - color[i] = dt.Rows[i]["color"].ToString(); - barcode[i] = dt.Rows[i]["barcode"].ToString(); - - label[i] = new Label(); - label[i].Font = new Font("微软雅黑", 10, FontStyle.Bold); - label[i].ForeColor = System.Drawing.Color.White; - label[i].Size = new Size(200, panel7.Height-2); - label[i].Location = new Point(panel7.Size.Width- ((i+1) * label[i].Size.Width)-2, 0); - Point p = new Point(label[i].Location.X, label[i].Location.Y); - - label[i].BorderStyle = BorderStyle.FixedSingle; - //label[i].BackColor = Color.Gray; - label[i].BackColor = c; - label[i].TextAlign = ContentAlignment.MiddleCenter; - label[i].Text = type[i] + "\n\r" + color[i] + "\n\r" + barcode[i]; - panel7.Controls.Add(label[i]); - } - } - - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - - private void initPack(string typename,string color1) - { - try - { - int drow = 0, dcol = 5; - - panel8.Controls.Clear(); - - DataTable dt = Function1.GetDownInfo(); - if (dt != null && dt.Rows.Count > 0) - { - UC[] uc=new UC[6]; - int[] sum = new int[dt.Rows.Count]; - string[] type = new string[dt.Rows.Count]; - string[] color = new string[dt.Rows.Count]; - int[] packCount=new int[dt.Rows.Count]; - - for (int i = 0; i < dt.Rows.Count; i++) - { - drow = Convert.ToInt32(Math.Ceiling((double)dt.Rows.Count / dcol)); - - sum[i] = Convert.ToInt32(dt.Rows[i]["sum"].ToString()); - type[i] = dt.Rows[i]["carType"].ToString(); - color[i] = dt.Rows[i]["color"].ToString(); - - DataTable packdt = Function1.PackCount(type[i], color[i]); - if (packdt != null && packdt.Rows.Count > 0) - { - packCount[i] = Convert.ToInt32(packdt.Rows[0]["PackCount"].ToString()); - } - else - { - packCount[i] = 0; - } - } - - for (int i = 0; i < dcol; i++) //列 - { - for (int j = 0; j < drow; j++) //行 - { - uc[i] = new UC(); - - if ((i + dcol * j) < type.Length) - { - uc[i].typeInfo = type[i]; - uc[i].colorInfo = color[i]; - uc[i].countInfo = sum[i].ToString() + "/" + packCount[i].ToString(); - uc[i].Size = new Size(119, 76); - uc[i].Font=new Font("微软雅黑",12f); - uc[i].ForeColor = Color.White; - uc[i].Location=new Point(5+i*(uc[i].Size.Width+3),5+j*(uc[i].Size.Height+3)); - uc[i].BackColor =Color.FromArgb(1,6,152); - panel8.Controls.Add(uc[i]); - } - } - } - - if (typename != "") - { - foreach (var aa in panel8.Controls) - { - UC bb = (UC)aa; - if (bb.typeInfo == typename && bb.colorInfo == color1) - { - bb.BackColor = Color.Green; - } - } - } - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - - private void txtBarCode_KeyDown(object sender, KeyEventArgs e) - { - try - { - if (e.KeyCode == Keys.Enter) - { - int a = 0; - string cartype = "", color = "",filename=""; - string barcode = "", partNo = "", packNo = "", partDes = "", batch = "", qLevel = "", type = "", date = ""; - int packCount = 0; - - if (txtBarCode.Text.Trim() == "") - { - MessageBox.Show("条码不能为空!", "提示", MessageBoxButtons.OK); - txtBarCode.SelectAll(); - return; - } - - #region 产品条码 - - if (txtBarCode.Text.Trim() != "#####" && txtBarCode.Text.Trim() != "DEL") - { - #region 判断条码是不是在悬挂链上 - - DataTable dt = Function1.GetOnChainBarCode(); - if (dt != null && dt.Rows.Count > 0) - { - string[] barCode = new string[dt.Rows.Count]; - for (int i = 0; i < dt.Rows.Count; i++) - { - barCode[i] = dt.Rows[i]["barcode"].ToString(); - } - - if (barCode.Contains(txtBarCode.Text.Trim()) == false) - { - MessageBox.Show("条码不在悬挂链上!", "提示", MessageBoxButtons.OK); - txtBarCode.SelectAll(); - return; - } - else - { - #region 判断条码顺序是否一致 - - if (txtBarCode.Text.Trim() != barCode[0]) - { - //todo 不一致将所有条码信息标记红色 - a = 0; - initBarCode(Color.FromArgb(212,39,37)); - } - else - { - //todo 一致将所有条码信息标记灰色 - a = 1; - initBarCode(Color.Gray); - } - - #endregion - - #region 根据条码信息查询对应信息 - - DataTable barDt = Function1.GetBarCodeInfo(txtBarCode.Text.Trim()); - if (barDt != null && barDt.Rows.Count > 0) - { - cartype = barDt.Rows[0]["carType"].ToString(); - color = barDt.Rows[0]["color"].ToString(); - } - - #endregion - - #region 执行存储过程操作 1、将上线表Flag改为1;2、插入到下线表中;3、判断是否需要打箱单;4、将pannel8对应标签选中并标记颜色 - - SqlParameter[] param=new SqlParameter[11]; - param[0] = new SqlParameter("@barCode", SqlDbType.NVarChar, 50); - param[0].Value = txtBarCode.Text.Trim(); - - param[1] = new SqlParameter("@carType", SqlDbType.NVarChar, 50); - param[1].Value = cartype; - - param[2] = new SqlParameter("@color", SqlDbType.NVarChar, 50); - param[2].Value = color; - - param[3] = new SqlParameter("@flag", SqlDbType.Int); - param[3].Value = a; - - param[4] = new SqlParameter("@packNo", SqlDbType.NVarChar, 100); - param[4].Direction = ParameterDirection.Output; - - param[5] = new SqlParameter("@packCount", SqlDbType.Int); - param[5].Direction = ParameterDirection.Output; - - param[6] = new SqlParameter("@partDes", SqlDbType.NVarChar, 200); - param[6].Direction = ParameterDirection.Output; - - param[7] = new SqlParameter("@partNo", SqlDbType.NVarChar, 200); - param[7].Direction = ParameterDirection.Output; - - param[8] = new SqlParameter("@batch", SqlDbType.NVarChar, 200); - param[8].Direction = ParameterDirection.Output; - - param[9] = new SqlParameter("@qLevel", SqlDbType.NVarChar, 200); - param[9].Direction = ParameterDirection.Output; - - param[10] = new SqlParameter("@result", SqlDbType.Int); - param[10].Direction = ParameterDirection.Output; - - #endregion - - int res = SqlHelper.ExecuteNonQuery(SqlHelper.SqlConnString, CommandType.StoredProcedure, "ChaimDown", param); - - if (Convert.ToInt32(param[10].Value) == 1) - { - #region 打印箱单 - - filename = System.AppDomain.CurrentDomain.BaseDirectory + "装箱单.grf"; - DataTable headTable = new DataTable(); - headTable.Columns.Add("BoxNo"); - headTable.Columns.Add("PartName"); - headTable.Columns.Add("PartNo"); - headTable.Columns.Add("BatchNo"); - headTable.Columns.Add("PackCount"); - headTable.Columns.Add("QLevel"); - DataRow row = headTable.NewRow(); - - row["BoxNo"] = param[4].Value; - row["PartNo"] = param[7].Value; - - row["QLevel"] = param[9].Value; - row["PartName"] = param[6].Value; - - row["BatchNo"] = param[8].Value; - row["PackCount"] = param[5].Value +" EA"; - - string reportName = ConfigurationManager.AppSettings["PrinterName"].ToString(); - headTable.Rows.Add(row); - - ReportHelper rp = new ReportHelper(filename, headTable, null, (int)GRPaperOrientation.grpoDefault, 1, reportName); - - rp.Report.Print(false); - - #endregion - } - - #region 刷新页面 - - InitCount(); - - if (a == 0) - { - initBarCode(Color.FromArgb(212, 39, 37)); - } - else - { - initBarCode(Color.Gray); - } - - initPack(param[1].Value.ToString() ,param[2].Value.ToString()); - - #endregion - - txtBarCode.SelectAll(); - } - } - else - { - MessageBox.Show("悬挂链上已无产品!", "提示", MessageBoxButtons.OK); - txtBarCode.SelectAll(); - return; - } - - #endregion - } - else if (txtBarCode.Text.Trim() == "#####") //未满器具打包 - { - FrmPack frm=new FrmPack(); - - - frm.OkBtnClick += (arg1) => - { - #region 查找产品信息 - - DataTable dt2 = Function1.GetBarCodeInfo(arg1); - if (dt2 != null && dt2.Rows.Count > 0) - { - type = dt2.Rows[0]["carType"].ToString(); - color = dt2.Rows[0]["color"].ToString(); - partDes = type + color; - DataTable dt3 = Function1.GetProductInfo(type, color); - if (dt3 != null && dt3.Rows.Count > 0) - { - partNo = dt3.Rows[0]["PartNo"].ToString(); - qLevel = dt3.Rows[0]["QLevel"].ToString(); - } - else - { - MessageBox.Show("此产品零件号不存在!", "提示", MessageBoxButtons.OK); - //textBox1.Focus(); - //textBox1.SelectAll(); - return; - } - } - - #endregion - - #region 查找未打印产品 - - DataTable dt4 = Function1.GetNotPack(barcode); - if (dt4 != null && dt4.Rows.Count > 0) - { - packCount = Convert.ToInt32(dt4.Rows[0]["aa"].ToString()); - } - else - { - packCount = 0; - } - - #endregion - - #region MyRegion - - date = DateTime.Now.ToString("yyyy-MM-dd"); - batch = date.Substring(2, 2) + date.Substring(5, 2) + date.Substring(8, 2); - - DataTable dt5 = Function1.GetPackNo(partNo + "." + batch); - if (dt5 != null && dt5.Rows.Count > 0) - { - packNo = - dt5.Rows[0]["boxNum"].ToString().Substring(0, dt5.Rows[0]["boxNum"].ToString().Length - 6) + - (Convert.ToInt32(dt5.Rows[0]["boxNum"].ToString() - .Substring(dt5.Rows[0]["boxNum"].ToString().Length - 7, 6)) + 1).ToString() - .PadLeft(6, '0'); - } - else - { - packNo = partNo + "." + batch + ".000001"; - } - - #endregion - - #region 打印箱单 - - filename = System.AppDomain.CurrentDomain.BaseDirectory + "装箱单.grf"; - DataTable headTable = new DataTable(); - headTable.Columns.Add("BoxNo"); - headTable.Columns.Add("PartName"); - headTable.Columns.Add("PartNo"); - headTable.Columns.Add("BatchNo"); - headTable.Columns.Add("PackCount"); - headTable.Columns.Add("QLevel"); - DataRow row = headTable.NewRow(); - - row["BoxNo"] = packNo; - row["PartNo"] = partNo; - - row["QLevel"] = qLevel; - row["PartName"] = partDes; - - row["BatchNo"] = batch; - row["PackCount"] = packCount.ToString() + "EA"; - - string reportName = ConfigurationManager.AppSettings["PrinterName"].ToString(); - headTable.Rows.Add(row); - - ReportHelper rp = new ReportHelper(filename, headTable, null, (int)GRPaperOrientation.grpoDefault, 1, reportName); - - rp.Report.Print(false); - - #endregion - - #region 存箱单记录 - - PaintBoxModel md = new PaintBoxModel(); - - md.ID = Guid.NewGuid().ToString(); - md.boxNum = packNo; - md.partNo = partNo; - md.PackCount = packCount; - md.flag = 0; - - Function1.InsertPaintInfo(md); - - #endregion - frm.Close(); - }; - } - - else if (txtBarCode.Text.Trim() == "DEL") //删除条码 - { - FrmDelChaimUp frm=new FrmDelChaimUp(); - - frm.OkBtnClick += (arg1) => - { - frm.Close(); - - #region 删除条码 - - Function1.delChaimUp(arg1); - - #endregion - }; - frm.ShowDialog(); - txtBarCode.SelectAll(); - } - - #endregion - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - } -} diff --git a/喷涂上线/Code/PaintingPC/FrmChainDown.resx b/喷涂上线/Code/PaintingPC/FrmChainDown.resx deleted file mode 100644 index c585ac0..0000000 --- a/喷涂上线/Code/PaintingPC/FrmChainDown.resx +++ /dev/null @@ -1,293 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - - /9j/4AAQSkZJRgABAQEAkACQAAD/4QBmRXhpZgAATU0AKgAAAAgABgESAAMAAAABAAEAAAMBAAUAAAAB - AAAAVgMDAAEAAAABAAAAAFEQAAEAAAABAQAAAFERAAQAAAABAAAWJVESAAQAAAABAAAWJQAAAAAAAYag - AACxj//bAEMAAgEBAgEBAgICAgICAgIDBQMDAwMDBgQEAwUHBgcHBwYHBwgJCwkICAoIBwcKDQoKCwwM - DAwHCQ4PDQwOCwwMDP/bAEMBAgICAwMDBgMDBgwIBwgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM - DAwMDAwMDAwMDAwMDAwMDAwMDAwMDP/AABEIAIUBAQMBIgACEQEDEQH/xAAfAAABBQEBAQEBAQAAAAAA - AAAAAQIDBAUGBwgJCgv/xAC1EAACAQMDAgQDBQUEBAAAAX0BAgMABBEFEiExQQYTUWEHInEUMoGRoQgj - QrHBFVLR8CQzYnKCCQoWFxgZGiUmJygpKjQ1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2 - d3h5eoOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4eLj - 5OXm5+jp6vHy8/T19vf4+fr/xAAfAQADAQEBAQEBAQEBAAAAAAAAAQIDBAUGBwgJCgv/xAC1EQACAQIE - BAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIygQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYn - KCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqCg4SFhoeIiYqSk5SVlpeYmZqi - o6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2dri4+Tl5ufo6ery8/T19vf4+fr/2gAMAwEA - AhEDEQA/AP2w/wCGbvD+fvT/AJ//AF6cP2b9A2/em/P/AOvXoXlsew/KnfPj+H8qlAedj9nHQQud03+f - xp0v7OmgxnO6b8//AK9ehKG6NjH0pF2lSBz9a0TsB57c/s5aDJ8xabjpyf8AGi3/AGfdJ2/Mz4HTmvQ4 - 1VR1+XvmsXUvEun6LvZ7hTg8jfmiSc1ykym4q6OUb9mzQpTukab8z/jVe8+Afh1U8tvtHpxmtC++Omk2 - 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 - - - - 17, 17 - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmChainUp.Designer.cs b/喷涂上线/Code/PaintingPC/FrmChainUp.Designer.cs deleted file mode 100644 index 6b54d55..0000000 --- a/喷涂上线/Code/PaintingPC/FrmChainUp.Designer.cs +++ /dev/null @@ -1,221 +0,0 @@ -namespace PaintingPC -{ - partial class FrmChainUp - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmChainUp)); - this.panel4 = new System.Windows.Forms.Panel(); - this.panel5 = new System.Windows.Forms.Panel(); - this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); - this.panel1 = new System.Windows.Forms.Panel(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.panel2 = new System.Windows.Forms.Panel(); - this.label1 = new System.Windows.Forms.Label(); - this.panel3 = new System.Windows.Forms.Panel(); - this.button1 = new System.Windows.Forms.Button(); - this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.panel4.SuspendLayout(); - this.tableLayoutPanel2.SuspendLayout(); - this.panel1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - this.panel2.SuspendLayout(); - this.panel3.SuspendLayout(); - this.tableLayoutPanel1.SuspendLayout(); - this.SuspendLayout(); - // - // panel4 - // - this.panel4.BackColor = System.Drawing.SystemColors.Control; - this.panel4.Controls.Add(this.panel5); - this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel4.Location = new System.Drawing.Point(0, 72); - this.panel4.Margin = new System.Windows.Forms.Padding(0); - this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(1350, 657); - this.panel4.TabIndex = 1; - // - // panel5 - // - this.panel5.AutoScroll = true; - this.panel5.BackColor = System.Drawing.Color.Black; - this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel5.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel5.ForeColor = System.Drawing.Color.White; - this.panel5.Location = new System.Drawing.Point(0, 0); - this.panel5.Margin = new System.Windows.Forms.Padding(0); - this.panel5.Name = "panel5"; - this.panel5.Size = new System.Drawing.Size(1350, 657); - this.panel5.TabIndex = 0; - // - // tableLayoutPanel2 - // - this.tableLayoutPanel2.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single; - this.tableLayoutPanel2.ColumnCount = 3; - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 80F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10F)); - this.tableLayoutPanel2.Controls.Add(this.panel1, 0, 0); - this.tableLayoutPanel2.Controls.Add(this.panel2, 1, 0); - this.tableLayoutPanel2.Controls.Add(this.panel3, 2, 0); - this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0); - this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(0); - this.tableLayoutPanel2.Name = "tableLayoutPanel2"; - this.tableLayoutPanel2.RowCount = 1; - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 71F)); - this.tableLayoutPanel2.Size = new System.Drawing.Size(1350, 72); - this.tableLayoutPanel2.TabIndex = 0; - // - // panel1 - // - this.panel1.Controls.Add(this.pictureBox1); - this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel1.Location = new System.Drawing.Point(1, 1); - this.panel1.Margin = new System.Windows.Forms.Padding(0); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(134, 70); - this.panel1.TabIndex = 0; - // - // pictureBox1 - // - this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill; - this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); - this.pictureBox1.Location = new System.Drawing.Point(0, 0); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(134, 70); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox1.TabIndex = 0; - this.pictureBox1.TabStop = false; - // - // panel2 - // - this.panel2.BackColor = System.Drawing.SystemColors.Control; - this.panel2.Controls.Add(this.label1); - this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel2.Location = new System.Drawing.Point(136, 1); - this.panel2.Margin = new System.Windows.Forms.Padding(0); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(1076, 70); - this.panel2.TabIndex = 1; - // - // label1 - // - this.label1.BackColor = System.Drawing.Color.Black; - this.label1.Dock = System.Windows.Forms.DockStyle.Fill; - this.label1.Font = new System.Drawing.Font("微软雅黑", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label1.ForeColor = System.Drawing.Color.White; - this.label1.Location = new System.Drawing.Point(0, 0); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(1076, 70); - this.label1.TabIndex = 0; - this.label1.Text = "悬挂链上件看板"; - this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // panel3 - // - this.panel3.Controls.Add(this.button1); - this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel3.Location = new System.Drawing.Point(1213, 1); - this.panel3.Margin = new System.Windows.Forms.Padding(0); - this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(136, 70); - this.panel3.TabIndex = 2; - // - // button1 - // - this.button1.BackColor = System.Drawing.Color.Black; - this.button1.Dock = System.Windows.Forms.DockStyle.Fill; - this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.button1.Font = new System.Drawing.Font("微软雅黑", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button1.ForeColor = System.Drawing.Color.White; - this.button1.Location = new System.Drawing.Point(0, 0); - this.button1.Margin = new System.Windows.Forms.Padding(0); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(136, 70); - this.button1.TabIndex = 0; - this.button1.Text = "退出"; - this.button1.UseVisualStyleBackColor = false; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // tableLayoutPanel1 - // - this.tableLayoutPanel1.ColumnCount = 1; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 0); - this.tableLayoutPanel1.Controls.Add(this.panel4, 0, 1); - this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); - this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - this.tableLayoutPanel1.RowCount = 2; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 90F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(1350, 729); - this.tableLayoutPanel1.TabIndex = 0; - // - // FrmChainUp - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1350, 729); - this.Controls.Add(this.tableLayoutPanel1); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Name = "FrmChainUp"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "FrmChainUp"; - this.WindowState = System.Windows.Forms.FormWindowState.Maximized; - this.Load += new System.EventHandler(this.FrmChainUp_Load); - this.panel4.ResumeLayout(false); - this.tableLayoutPanel2.ResumeLayout(false); - this.panel1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - this.panel2.ResumeLayout(false); - this.panel3.ResumeLayout(false); - this.tableLayoutPanel1.ResumeLayout(false); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.Panel panel4; - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; - private System.Windows.Forms.Panel panel1; - private System.Windows.Forms.PictureBox pictureBox1; - private System.Windows.Forms.Panel panel2; - private System.Windows.Forms.Label label1; - private System.Windows.Forms.Panel panel3; - private System.Windows.Forms.Button button1; - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; - private System.Windows.Forms.Panel panel5; - - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmChainUp.cs b/喷涂上线/Code/PaintingPC/FrmChainUp.cs deleted file mode 100644 index 97894a8..0000000 --- a/喷涂上线/Code/PaintingPC/FrmChainUp.cs +++ /dev/null @@ -1,89 +0,0 @@ -using PaintingPC; -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Windows.Forms; - -namespace PaintingPC -{ - public delegate Panel InitPanel(Panel BackgroundPanel, int LabelSizeW, int LabelSizeH, DataTable dataSouce, string LabelTextCol, string LabelTagCol, EventHandler LabelClick); - - public partial class FrmChainUp : Form - { - string CartypeID = ""; - string CartypeName = ""; - string ColorID = ""; - string ColorName = ""; - - InitPanel ip; - Interface1 ii = new Function(); - - public FrmChainUp() - { - InitializeComponent(); - } - - private void button1_Click(object sender, EventArgs e) - { - Environment.Exit(0); - } - - private void FrmChainUp_Load(object sender, EventArgs e) - { - //ip = ii.IInitPanel; - - InitPage(); - } - - public void InitPage() - { - try - { - InitButton(200, 150); - } - catch (Exception ex) - { } - } - - private void InitButton(int sizeW, int sizeH) - { - DataTable dt = Function.GetCarTypeAll(); - - ip(panel5, 200, 150, dt, "Type", "Type", dLbLable_Click); - } - - void dLbLable_Click(object sender, EventArgs e) - { - Label label = (Label)sender; - CartypeID = label.Tag.ToString(); - CartypeName = label.Text.Trim(); - - //根据车型ID查询颜色,生成按钮于panel5 - DataTable dt = Function.GetColorByType(CartypeID); - - ip(panel5, 200, 150, dt, "Color", "Color", dLbColor_Click); - } - - void dLbColor_Click(object sender, EventArgs e) - { - Label label = (Label)sender; - ColorID = label.Tag.ToString(); - ColorName = label.Text.Trim(); - - this.Hide(); - - //FrmChainUp1 frm = new FrmChainUp1(CartypeID, CartypeName, ColorID, ColorName, ReturnClick); - //frm.ShowDialog(); - } - - void ReturnClick(object sender, EventArgs e) - { - this.Show(); - InitPage(); - } - } -} diff --git a/喷涂上线/Code/PaintingPC/FrmChainUp.resx b/喷涂上线/Code/PaintingPC/FrmChainUp.resx deleted file mode 100644 index ec5c9ef..0000000 --- a/喷涂上线/Code/PaintingPC/FrmChainUp.resx +++ /dev/null @@ -1,290 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - - /9j/4AAQSkZJRgABAQEAkACQAAD/4QBmRXhpZgAATU0AKgAAAAgABgESAAMAAAABAAEAAAMBAAUAAAAB - AAAAVgMDAAEAAAABAAAAAFEQAAEAAAABAQAAAFERAAQAAAABAAAWJVESAAQAAAABAAAWJQAAAAAAAYag - AACxj//bAEMAAgEBAgEBAgICAgICAgIDBQMDAwMDBgQEAwUHBgcHBwYHBwgJCwkICAoIBwcKDQoKCwwM - DAwHCQ4PDQwOCwwMDP/bAEMBAgICAwMDBgMDBgwIBwgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM - DAwMDAwMDAwMDAwMDAwMDAwMDAwMDP/AABEIAIUBAQMBIgACEQEDEQH/xAAfAAABBQEBAQEBAQAAAAAA - AAAAAQIDBAUGBwgJCgv/xAC1EAACAQMDAgQDBQUEBAAAAX0BAgMABBEFEiExQQYTUWEHInEUMoGRoQgj - QrHBFVLR8CQzYnKCCQoWFxgZGiUmJygpKjQ1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2 - d3h5eoOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4eLj - 5OXm5+jp6vHy8/T19vf4+fr/xAAfAQADAQEBAQEBAQEBAAAAAAAAAQIDBAUGBwgJCgv/xAC1EQACAQIE - BAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIygQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYn - KCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqCg4SFhoeIiYqSk5SVlpeYmZqi - o6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2dri4+Tl5ufo6ery8/T19vf4+fr/2gAMAwEA - AhEDEQA/AP2w/wCGbvD+fvT/AJ//AF6cP2b9A2/em/P/AOvXoXlsew/KnfPj+H8qlAedj9nHQQud03+f - xp0v7OmgxnO6b8//AK9ehKG6NjH0pF2lSBz9a0TsB57c/s5aDJ8xabjpyf8AGi3/AGfdJ2/Mz4HTmvQ4 - 1VR1+XvmsXUvEun6LvZ7hTg8jfmiSc1ykym4q6OUb9mzQpTukab8z/jVe8+Afh1U8tvtHpxmtC++Omk2 - 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 - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmChainUp1.Designer.cs b/喷涂上线/Code/PaintingPC/FrmChainUp1.Designer.cs deleted file mode 100644 index 8663239..0000000 --- a/喷涂上线/Code/PaintingPC/FrmChainUp1.Designer.cs +++ /dev/null @@ -1,411 +0,0 @@ -namespace PaintingPC -{ - partial class FrmChainUp1 - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmChainUp1)); - this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); - this.panel1 = new System.Windows.Forms.Panel(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.panel2 = new System.Windows.Forms.Panel(); - this.label1 = new System.Windows.Forms.Label(); - this.panel3 = new System.Windows.Forms.Panel(); - this.button1 = new System.Windows.Forms.Button(); - this.panel4 = new System.Windows.Forms.Panel(); - this.comboBox1 = new System.Windows.Forms.ComboBox(); - this.panel5 = new System.Windows.Forms.Panel(); - this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); - this.panel6 = new System.Windows.Forms.Panel(); - this.textBox1 = new System.Windows.Forms.TextBox(); - this.label3 = new System.Windows.Forms.Label(); - this.label4 = new System.Windows.Forms.Label(); - this.label5 = new System.Windows.Forms.Label(); - this.label6 = new System.Windows.Forms.Label(); - this.panel7 = new System.Windows.Forms.Panel(); - this.btOK = new System.Windows.Forms.Button(); - this.timer1 = new System.Windows.Forms.Timer(this.components); - this.tableLayoutPanel1.SuspendLayout(); - this.tableLayoutPanel2.SuspendLayout(); - this.panel1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - this.panel2.SuspendLayout(); - this.panel3.SuspendLayout(); - this.panel4.SuspendLayout(); - this.panel5.SuspendLayout(); - this.tableLayoutPanel3.SuspendLayout(); - this.panel6.SuspendLayout(); - this.panel7.SuspendLayout(); - this.SuspendLayout(); - // - // tableLayoutPanel1 - // - this.tableLayoutPanel1.ColumnCount = 1; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 0); - this.tableLayoutPanel1.Controls.Add(this.panel4, 0, 1); - this.tableLayoutPanel1.Controls.Add(this.panel5, 0, 2); - this.tableLayoutPanel1.Controls.Add(this.panel7, 0, 3); - this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); - this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - this.tableLayoutPanel1.RowCount = 4; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 8F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 6.25F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 35.64453F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(2347, 1601); - this.tableLayoutPanel1.TabIndex = 0; - // - // tableLayoutPanel2 - // - this.tableLayoutPanel2.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single; - this.tableLayoutPanel2.ColumnCount = 3; - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 80F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10F)); - this.tableLayoutPanel2.Controls.Add(this.panel1, 0, 0); - this.tableLayoutPanel2.Controls.Add(this.panel2, 1, 0); - this.tableLayoutPanel2.Controls.Add(this.panel3, 2, 0); - this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0); - this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(0); - this.tableLayoutPanel2.Name = "tableLayoutPanel2"; - this.tableLayoutPanel2.RowCount = 1; - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 127F)); - this.tableLayoutPanel2.Size = new System.Drawing.Size(2347, 128); - this.tableLayoutPanel2.TabIndex = 0; - // - // panel1 - // - this.panel1.Controls.Add(this.pictureBox1); - this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel1.Location = new System.Drawing.Point(1, 1); - this.panel1.Margin = new System.Windows.Forms.Padding(0); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(234, 126); - this.panel1.TabIndex = 0; - // - // pictureBox1 - // - this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill; - this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); - this.pictureBox1.Location = new System.Drawing.Point(0, 0); - this.pictureBox1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(234, 126); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox1.TabIndex = 0; - this.pictureBox1.TabStop = false; - // - // panel2 - // - this.panel2.BackColor = System.Drawing.SystemColors.Control; - this.panel2.Controls.Add(this.label1); - this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel2.Location = new System.Drawing.Point(236, 1); - this.panel2.Margin = new System.Windows.Forms.Padding(0); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(1874, 126); - this.panel2.TabIndex = 1; - // - // label1 - // - this.label1.BackColor = System.Drawing.Color.Black; - this.label1.Dock = System.Windows.Forms.DockStyle.Fill; - this.label1.Font = new System.Drawing.Font("微软雅黑", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label1.ForeColor = System.Drawing.Color.White; - this.label1.Location = new System.Drawing.Point(0, 0); - this.label1.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(1874, 126); - this.label1.TabIndex = 0; - this.label1.Text = "悬挂链上件看板"; - this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // panel3 - // - this.panel3.Controls.Add(this.button1); - this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel3.Location = new System.Drawing.Point(2111, 1); - this.panel3.Margin = new System.Windows.Forms.Padding(0); - this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(235, 126); - this.panel3.TabIndex = 2; - // - // button1 - // - this.button1.BackColor = System.Drawing.Color.Black; - this.button1.Dock = System.Windows.Forms.DockStyle.Fill; - this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.button1.Font = new System.Drawing.Font("微软雅黑", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button1.ForeColor = System.Drawing.Color.White; - this.button1.Location = new System.Drawing.Point(0, 0); - this.button1.Margin = new System.Windows.Forms.Padding(0); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(235, 126); - this.button1.TabIndex = 0; - this.button1.Text = "退出"; - this.button1.UseVisualStyleBackColor = false; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // panel4 - // - this.panel4.BackColor = System.Drawing.SystemColors.Control; - this.panel4.Controls.Add(this.comboBox1); - this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel4.Location = new System.Drawing.Point(0, 128); - this.panel4.Margin = new System.Windows.Forms.Padding(0); - this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(2347, 100); - this.panel4.TabIndex = 1; - // - // comboBox1 - // - this.comboBox1.BackColor = System.Drawing.SystemColors.Control; - this.comboBox1.Dock = System.Windows.Forms.DockStyle.Fill; - this.comboBox1.Font = new System.Drawing.Font("微软雅黑", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.comboBox1.FormattingEnabled = true; - this.comboBox1.IntegralHeight = false; - this.comboBox1.ItemHeight = 90; - this.comboBox1.Items.AddRange(new object[] { - "B01", - "B02", - "B03", - "B04", - "B05", - "B06", - "B07", - "B08", - "B09", - "B10", - "A01", - "A02", - "A03", - "A04", - "A05", - "A06", - "A07", - "A08", - "A09", - "A10"}); - this.comboBox1.Location = new System.Drawing.Point(0, 0); - this.comboBox1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); - this.comboBox1.MaxDropDownItems = 20; - this.comboBox1.Name = "comboBox1"; - this.comboBox1.Size = new System.Drawing.Size(2347, 98); - this.comboBox1.TabIndex = 1; - // - // panel5 - // - this.panel5.BackColor = System.Drawing.Color.Black; - this.panel5.Controls.Add(this.tableLayoutPanel3); - this.panel5.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel5.Location = new System.Drawing.Point(0, 228); - this.panel5.Margin = new System.Windows.Forms.Padding(0); - this.panel5.Name = "panel5"; - this.panel5.Size = new System.Drawing.Size(2347, 571); - this.panel5.TabIndex = 2; - // - // tableLayoutPanel3 - // - this.tableLayoutPanel3.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single; - this.tableLayoutPanel3.ColumnCount = 2; - this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel3.Controls.Add(this.panel6, 0, 0); - this.tableLayoutPanel3.Controls.Add(this.label4, 0, 1); - this.tableLayoutPanel3.Controls.Add(this.label5, 1, 1); - this.tableLayoutPanel3.Controls.Add(this.label6, 1, 0); - this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel3.Location = new System.Drawing.Point(0, 0); - this.tableLayoutPanel3.Margin = new System.Windows.Forms.Padding(0); - this.tableLayoutPanel3.Name = "tableLayoutPanel3"; - this.tableLayoutPanel3.RowCount = 2; - this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F)); - this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 80F)); - this.tableLayoutPanel3.Size = new System.Drawing.Size(2347, 571); - this.tableLayoutPanel3.TabIndex = 0; - // - // panel6 - // - this.panel6.Controls.Add(this.textBox1); - this.panel6.Controls.Add(this.label3); - this.panel6.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel6.Location = new System.Drawing.Point(1, 1); - this.panel6.Margin = new System.Windows.Forms.Padding(0); - this.panel6.Name = "panel6"; - this.panel6.Size = new System.Drawing.Size(1172, 113); - this.panel6.TabIndex = 0; - // - // textBox1 - // - this.textBox1.Font = new System.Drawing.Font("微软雅黑", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.textBox1.Location = new System.Drawing.Point(255, 19); - this.textBox1.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); - this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(884, 81); - this.textBox1.TabIndex = 1; - this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown); - // - // label3 - // - this.label3.BackColor = System.Drawing.SystemColors.Control; - this.label3.Font = new System.Drawing.Font("微软雅黑", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label3.Location = new System.Drawing.Point(31, 19); - this.label3.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(198, 82); - this.label3.TabIndex = 0; - this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label4 - // - this.label4.Dock = System.Windows.Forms.DockStyle.Fill; - this.label4.Font = new System.Drawing.Font("微软雅黑", 150F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label4.ForeColor = System.Drawing.Color.Yellow; - this.label4.Location = new System.Drawing.Point(1, 115); - this.label4.Margin = new System.Windows.Forms.Padding(0); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(1172, 455); - this.label4.TabIndex = 1; - this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label5 - // - this.label5.Dock = System.Windows.Forms.DockStyle.Fill; - this.label5.Font = new System.Drawing.Font("微软雅黑", 150F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label5.ForeColor = System.Drawing.Color.White; - this.label5.Location = new System.Drawing.Point(1174, 115); - this.label5.Margin = new System.Windows.Forms.Padding(0); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(1172, 455); - this.label5.TabIndex = 2; - this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label6 - // - this.label6.Dock = System.Windows.Forms.DockStyle.Fill; - this.label6.Font = new System.Drawing.Font("微软雅黑", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label6.ForeColor = System.Drawing.Color.White; - this.label6.Location = new System.Drawing.Point(1180, 1); - this.label6.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(1160, 113); - this.label6.TabIndex = 3; - this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // panel7 - // - this.panel7.AutoScroll = true; - this.panel7.BackColor = System.Drawing.Color.Black; - this.panel7.Controls.Add(this.btOK); - this.panel7.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel7.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.panel7.ForeColor = System.Drawing.Color.White; - this.panel7.Location = new System.Drawing.Point(0, 799); - this.panel7.Margin = new System.Windows.Forms.Padding(0); - this.panel7.Name = "panel7"; - this.panel7.Size = new System.Drawing.Size(2347, 802); - this.panel7.TabIndex = 3; - // - // btOK - // - this.btOK.BackColor = System.Drawing.Color.LimeGreen; - this.btOK.Font = new System.Drawing.Font("宋体", 26.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btOK.Location = new System.Drawing.Point(2189, 466); - this.btOK.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); - this.btOK.Name = "btOK"; - this.btOK.Size = new System.Drawing.Size(150, 322); - this.btOK.TabIndex = 0; - this.btOK.Text = "合格"; - this.btOK.UseVisualStyleBackColor = false; - this.btOK.Click += new System.EventHandler(this.btOK_Click); - // - // timer1 - // - this.timer1.Interval = 3000; - this.timer1.Tick += new System.EventHandler(this.timer1_Tick); - // - // FrmChainUp1 - // - this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 21F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(2347, 1601); - this.Controls.Add(this.tableLayoutPanel1); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Margin = new System.Windows.Forms.Padding(6, 5, 6, 5); - this.Name = "FrmChainUp1"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "FrmChainUp"; - this.WindowState = System.Windows.Forms.FormWindowState.Maximized; - this.Load += new System.EventHandler(this.FrmChainUp1_Load); - this.tableLayoutPanel1.ResumeLayout(false); - this.tableLayoutPanel2.ResumeLayout(false); - this.panel1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - this.panel2.ResumeLayout(false); - this.panel3.ResumeLayout(false); - this.panel4.ResumeLayout(false); - this.panel5.ResumeLayout(false); - this.tableLayoutPanel3.ResumeLayout(false); - this.panel6.ResumeLayout(false); - this.panel6.PerformLayout(); - this.panel7.ResumeLayout(false); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; - private System.Windows.Forms.Panel panel1; - private System.Windows.Forms.PictureBox pictureBox1; - private System.Windows.Forms.Panel panel2; - private System.Windows.Forms.Label label1; - private System.Windows.Forms.Panel panel3; - private System.Windows.Forms.Button button1; - private System.Windows.Forms.Panel panel4; - private System.Windows.Forms.Panel panel5; - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3; - private System.Windows.Forms.Panel panel6; - private System.Windows.Forms.Label label3; - private System.Windows.Forms.Label label4; - private System.Windows.Forms.Label label5; - private System.Windows.Forms.Panel panel7; - private System.Windows.Forms.Label label6; - private System.Windows.Forms.ComboBox comboBox1; - private System.Windows.Forms.Timer timer1; - private System.Windows.Forms.Button btOK; - public System.Windows.Forms.TextBox textBox1; - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmChainUp1.cs b/喷涂上线/Code/PaintingPC/FrmChainUp1.cs deleted file mode 100644 index 7f6f06d..0000000 --- a/喷涂上线/Code/PaintingPC/FrmChainUp1.cs +++ /dev/null @@ -1,503 +0,0 @@ -using System; -using System.Configuration; -using System.Data; -using System.Data.SqlClient; -using System.Reflection; -using System.Threading.Tasks; -using System.Windows.Forms; -using grproLib; -using PaintingPC.Model; -using PaintingPC.WebReference; - -namespace PaintingPC -{ - public delegate void buttonClick(object sender, EventArgs e); - - public partial class FrmChainUp1 : Form - { - Interface1 ii = new Function(); - //buttonClick bck; - - //string CartypeID = ""; - //string CartypeName = ""; - //string ColorID = ""; - //string ColorName = ""; - - public FrmChainUp1() - { - InitializeComponent(); - } - - public FrmChainUp1(string cartypeID, string cartypeName, string colorID, string colorName, buttonClick click,string productName,string color) - { - //CartypeID = cartypeID; - //CartypeName = cartypeName; - //ColorID = colorID; - //ColorName = colorName; - //bck = click; - - InitializeComponent(); - } - - private void button1_Click(object sender, EventArgs e) - { - //this.Close(); - //bck(sender, e); - - Environment.Exit(0); - } - - private void FrmChainUp1_Load(object sender, EventArgs e) - { - //SqlParameter[] param = new SqlParameter[1]; - //param[0] = new SqlParameter("@value", SqlDbType.VarChar); - //param[0].Value = "60000000582202060104"; - //DataTable dtC = SqH.QueryDataSet(CommandType.StoredProcedure, "P_SYSTEM_FindData", param).Tables[0]; - //if (dtC != null && dtC.Rows.Count > 0) - //{ - // string aa = dtC.Rows[0]["columnname"].ToString(); - //} - UpdateSoftware(); - - comboBox1.SelectedIndex = 0; - - Control.CheckForIllegalCrossThreadCalls = false; - - //if (!string.IsNullOrWhiteSpace(CartypeName) && !string.IsNullOrWhiteSpace(ColorName)) - //{ - // //label2.Text = CartypeName + " - " + ColorName; - //} - - btOK.Visible = ConfigurationManager.AppSettings["IsShowOK"] == "1" ? true : false; - - label3.Text = Function.GetWorkClass(); - - Task task1 = Task.Run(() => - { - SetPageNum(); - }); - - DataTable dt = Function.GetChainCountLabel(); - if (dt != null && dt.Rows.Count > 0) - { - ii.IInitPanel(panel7, 200, 170, dt, "colDes", "num", dLbLable_Click,"",""); - } - - textBox1.Focus(); - - timer1.Enabled = true; - timer1.Start(); - } - - private void textBox1_KeyDown(object sender, KeyEventArgs e) - { - try - { - if (ConfigurationManager.AppSettings["IsShowOK"] != "1") - { - if (e.KeyCode == Keys.Enter) - { - TextBox txt = (TextBox) textBox1; - string barcode = txt.Text.Trim(); - string carTypeName = ""; - - //label6.Text = Function.GetProductInfo(barcode); - string[] str = Function.GetProductInfo(barcode).Split(','); - label6.Text = str[0] + ',' + str[1]; - - if (!string.IsNullOrWhiteSpace(label6.Text)) - { - string[] ss = label6.Text.Split(','); - if (ss.Length >= 1) - { - if (string.IsNullOrWhiteSpace(ss[0])) - { - FrmMessage message = new FrmMessage("无颜色信息,请重新扫描", System.Drawing.Color.Yellow); - message.Owner = this; // 设置Form2的所有者为Form1 - message.ShowDialog(); - textBox1.SelectAll(); - return; - //MessageBox.Show("无颜色信息,请重新扫描"); - //textBox1.SelectAll(); - //return; - } - } - else - { - MessageBox.Show("条码有误,请重新扫描"); - textBox1.SelectAll(); - return; - } - } - - if (Function.ChainHaveScan(barcode)) - { - FrmMessage message = new FrmMessage("已经扫描过,不允许再次扫描",System.Drawing.Color.White); - - message.ShowDialog(); - textBox1.SelectAll(); - return; - //MessageBox.Show("已经扫描过,不允许再次扫描"); - //textBox1.SelectAll(); - //return; - } - - #region 获取最后一次判定结果并存储质检结果 - - string InspectResult = ""; - InspectModel model1 = new InspectModel(); - model1.barcode = Function.UniteBarCodeToOne(barcode); - //model1.position = ConfigurationManager.AppSettings["Position"]; - model1.stationNo = ConfigurationManager.AppSettings["Station"]; - model1.workClass = label3.Text; - model1.InspectTimes = (Function.GetInspectTimes(barcode) + 1).ToString(); - - //string []weizhi= Function.GetSide(barcode).Split(';'); - DataTable dt = Function.GetLastResult(barcode); - if (dt != null && dt.Rows.Count > 0) - { - string a = dt.Rows[0]["inspectResult"].ToString(); - - InspectResult = "[" + a.Substring(1, a.Length - 2) + "合格" + "]"; - model1.productOption = dt.Rows[0]["productOption"].ToString(); - model1.position = dt.Rows[0]["position"].ToString(); - model1.side = dt.Rows[0]["side"].ToString(); - } - else - { - InspectResult = "[合格]"; - model1.productOption = "1"; - string[] info = Function.GetProductInfo(barcode).Split(','); - string[] side = Function.GetSide(model1.barcode, info[2]).Split(';'); - - model1.position = "下线一检 " + side[0] + " " + side[1]; - model1.side = side[0]; - } - - model1.inspectResult = InspectResult; - model1.productInfo = label6.Text; - - - Function.InsertInspect(model1); - - #endregion - - string color = str[0]; - - carTypeName = Function.carTypeName(barcode.Substring(0, 10), str[2]); - - #region 判断是否为北京现代产品 - - //if (Function.IsHyundai(Function.UniteBarCodeToOne(barcode))) - //{ - // #region 打印合格签 - - // string filename = Application.StartupPath + @"\barcode.grf"; - // string productName = "", - // customerNo = "", - // carModelCode = "", - // colorCodeB = "", - // templateName = "", - // fr = "", - // seq = "", - // reportName = "", partNo="",tempCode=""; - // Function.GetHyundyPrintInfo(barcode.Substring(0, 10), str[2], out productName, out customerNo, - // out carModelCode, out colorCodeB, out templateName, out fr,out partNo); - // seq = Function.GetSequence(); - - // DataTable headTable = new DataTable(); - // headTable.Columns.Add("P"); - // headTable.Columns.Add("Color"); - // headTable.Columns.Add("StockNo"); - // headTable.Columns.Add("PartNo"); - // headTable.Columns.Add("ProductName"); - // headTable.Columns.Add("BarCode"); - // headTable.Columns.Add("carModelCode"); - // headTable.Columns.Add("templateName"); - - // DataRow row = headTable.NewRow(); - // row["P"] = "P" + comboBox1.Text.Trim(); - // row["Color"] = color; - // row["StockNo"] = barcode.Substring(0, 10); - // row["PartNo"] = partNo; - // row["ProductName"] = productName; - // if (partNo== "86612-BU510PSB") - // { - // tempCode = "C3PS" + DateTime.Now.ToString("yyMMdd") + seq.PadLeft(4, '0'); - - // } - // else if (partNo == "86612-BU700EB") - // { - // tempCode = "C2EB" + DateTime.Now.ToString("yyMMdd") + seq.PadLeft(4, '0'); - // } - // else - // { - // tempCode = "P" + DateTime.Now.ToString("yyMMdd") + seq.PadLeft(4, '0') + customerNo + fr + colorCodeB; - // } - // row["BarCode"] = tempCode; - // row["carModelCode"] = carModelCode; - // row["templateName"] = templateName; - - // headTable.Rows.Add(row); - // reportName = ConfigurationManager.AppSettings["PrinterName"]; - // ReportHelper rp = new ReportHelper(filename, headTable, null, - // (int) GRPaperOrientation.grpoDefault, 1, reportName); - // rp.Report.Print(false); - - // #endregion - - // Function.SaveSeq(barcode, "",tempCode, seq.PadLeft(4, '0')); - //} - - #endregion - - Function.SaveChainUp(barcode, "", carTypeName, "", color, "0", str[1]); - SetPageNum(); - DataTable dt1 = Function.GetChainCountLabel(); - if (dt1 != null && dt1.Rows.Count > 0) - { - ii.IInitPanel(panel7, 200, 170, dt1, "colDes", "num", dLbLable_Click, str[1], color); - } - - - #region 调用WMS合格入库接口 - - try - { - //WMSWebService webService = new WMSWebService(); - //webService.Url = ConfigurationManager.AppSettings["WMSWebServiceURL"]; - //webService.WMSSprayingForApp(textBox1.Text.Trim()); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase("喷涂入库调用WMS接口:" + ex, MethodBase.GetCurrentMethod().Name); - } - - #endregion - - textBox1.SelectAll(); - } - } - } - catch (Exception ex) - { - textBox1.SelectAll(); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - - } - - private void SetPageNum() - { - label4.Text = Function.GetChainCountAll(); - label5.Text = Function.GetChainCountDown(); - } - - void dLbLable_Click(object sender, EventArgs e) - { } - - private void timer1_Tick(object sender, EventArgs e) - { - SetPageNum(); - } - - private void UpdateSoftware() - { - var serverUrl = "http://10.60.101.59:8013/"; - var updateXmlFileName = "PaintingUpdateXGL.xml"; - var updater = new AutoUpdater(); - if (updater.CheckUpdateLoad(serverUrl, updateXmlFileName)) - { - Environment.Exit(0); - } - } - - private void btOK_Click(object sender, EventArgs e) - { - try - { - TextBox txt = (TextBox)textBox1; - string barcode = txt.Text.Trim(); - string carTypeName = ""; - string[] str = Function.GetProductInfo(barcode).Split(','); - label6.Text = str[0] + ',' + str[1]; - //label6.Text = Function.GetProductInfo(barcode); - - if (!string.IsNullOrWhiteSpace(label6.Text)) - { - string[] ss = label6.Text.Split(','); - if (ss.Length >= 1) - { - if (string.IsNullOrWhiteSpace(ss[0])) - { - //MessageBox.Show("无颜色信息,不允许扫描"); - //textBox1.SelectAll(); - //return; - FrmMessage message = new FrmMessage("无颜色信息,请重新扫描", System.Drawing.Color.Yellow); - message.Owner = this; // 设置Form2的所有者为Form1 - message.ShowDialog(); - textBox1.SelectAll(); - return; - } - } - } - - if (Function.ChainHaveScan(barcode)) - { - //MessageBox.Show("已经扫描过,不允许再次扫描"); - //textBox1.SelectAll(); - //return; - FrmMessage message = new FrmMessage("已经扫描过,不允许再次扫描", System.Drawing.Color.White); - message.Owner = this; // 设置Form2的所有者为Form1 - message.ShowDialog(); - textBox1.SelectAll(); - return; - } - - #region 获取最后一次判定结果并存储质检结果 - - string InspectResult = ""; - InspectModel model1 = new InspectModel(); - model1.barcode = Function.UniteBarCodeToOne(barcode); - model1.position = ConfigurationManager.AppSettings["Position"]; - model1.stationNo = ConfigurationManager.AppSettings["Station"]; - model1.workClass = label3.Text; - model1.InspectTimes = (Function.GetInspectTimes(barcode) + 1).ToString(); - - DataTable dt = Function.GetLastResult(barcode); - if (dt != null && dt.Rows.Count > 0) - { - string a = dt.Rows[0]["inspectResult"].ToString(); - - InspectResult = "[" + a.Substring(1, a.Length - 2) + "合格" + "]"; - model1.productOption = dt.Rows[0]["productOption"].ToString(); - model1.side = dt.Rows[0]["side"].ToString(); - } - else - { - InspectResult = "[合格]"; - model1.productOption = "1"; - - string[] info = Function.GetProductInfo(barcode).Split(','); - model1.side = Function.GetSide(barcode, info[2]); - } - - model1.inspectResult = InspectResult; - model1.productInfo = label6.Text; - - Function.InsertInspect(model1); - - #endregion - - - string[] cols = label6.Text.Split(','); - string color = cols[0]; - carTypeName = Function.carTypeName(barcode.Substring(0,10), str[2]); - - #region 判断是否为北京现代产品 - - if (Function.IsHyundai(Function.UniteBarCodeToOne(barcode))) - { - //#region 打印合格签 - - //string filename = Application.StartupPath + @"\barcode.grf"; - //string productName = "", - // customerNo = "", - // carModelCode = "", - // colorCodeB = "", - // templateName = "", - // fr = "", - // seq = "", - // reportName = "", partNo = "", tempCode = ""; - //Function.GetHyundyPrintInfo(barcode.Substring(0, 10), str[2], out productName, out customerNo, - // out carModelCode, out colorCodeB, out templateName, out fr, out partNo); - //seq = Function.GetSequence(); - - //DataTable headTable = new DataTable(); - //headTable.Columns.Add("P"); - //headTable.Columns.Add("Color"); - //headTable.Columns.Add("StockNo"); - //headTable.Columns.Add("PartNo"); - //headTable.Columns.Add("ProductName"); - //headTable.Columns.Add("BarCode"); - //headTable.Columns.Add("carModelCode"); - //headTable.Columns.Add("templateName"); - - //DataRow row = headTable.NewRow(); - //row["P"] = "P" + comboBox1.Text.Trim(); - //row["Color"] = color; - //row["StockNo"] = barcode.Substring(0, 10); - //row["PartNo"] = partNo; - //row["ProductName"] = productName; - //if (partNo == "86612-BU510PSB") - //{ - // tempCode = "C3PS" + DateTime.Now.ToString("yyMMdd") + seq.PadLeft(4, '0'); - - //} - //else if (partNo == "86612-BU700EB") - //{ - // tempCode = "C2EB" + DateTime.Now.ToString("yyMMdd") + seq.PadLeft(4, '0'); - //} - //else - //{ - // tempCode = "P" + DateTime.Now.ToString("yyMMdd") + seq.PadLeft(4, '0') + customerNo + fr + colorCodeB; - //} - //row["BarCode"] = tempCode; - //row["carModelCode"] = carModelCode; - //row["templateName"] = templateName; - - //headTable.Rows.Add(row); - //reportName = ConfigurationManager.AppSettings["PrinterName"]; - //ReportHelper rp = new ReportHelper(filename, headTable, null, - // (int)GRPaperOrientation.grpoDefault, 1, reportName); - //rp.Report.Print(false); - - //#endregion - - //Function.SaveSeq(barcode, "", tempCode, seq.PadLeft(4, '0')); - } - - #endregion - - string[] xx = label6.Text.Split(','); - Function.SaveChainUp(barcode, "", carTypeName, "", color, "0", xx[1]); - SetPageNum(); - DataTable dt1 = Function.GetChainCountLabel(); - if (dt1 != null && dt1.Rows.Count > 0) - { - ii.IInitPanel(panel7, 200, 170, dt1, "colDes", "num", dLbLable_Click, xx[1],color); - } - - #region 调用WMS合格入库接口 - - try - { - //WMSWebService webService = new WMSWebService(); - //webService.Url = ConfigurationManager.AppSettings["WMSWebServiceURL"]; - //webService.WMSSprayingForApp(textBox1.Text.Trim()); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase("喷涂入库调用WMS接口:" + ex, MethodBase.GetCurrentMethod().Name); - } - - #endregion - - textBox1.SelectAll(); - - } - catch (Exception ex) - { - textBox1.SelectAll(); - LogHelper.WriteErrLogBase(ex.ToString(),MethodBase.GetCurrentMethod().Name); - } - } - - public void UpdateTextState() - { - // 这里可以安全地访问Form1上的控件 - textBox1.SelectAll(); - textBox1.Focus(); - } - } -} diff --git a/喷涂上线/Code/PaintingPC/FrmChainUp1.resx b/喷涂上线/Code/PaintingPC/FrmChainUp1.resx deleted file mode 100644 index c585ac0..0000000 --- a/喷涂上线/Code/PaintingPC/FrmChainUp1.resx +++ /dev/null @@ -1,293 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - - /9j/4AAQSkZJRgABAQEAkACQAAD/4QBmRXhpZgAATU0AKgAAAAgABgESAAMAAAABAAEAAAMBAAUAAAAB - AAAAVgMDAAEAAAABAAAAAFEQAAEAAAABAQAAAFERAAQAAAABAAAWJVESAAQAAAABAAAWJQAAAAAAAYag - AACxj//bAEMAAgEBAgEBAgICAgICAgIDBQMDAwMDBgQEAwUHBgcHBwYHBwgJCwkICAoIBwcKDQoKCwwM - DAwHCQ4PDQwOCwwMDP/bAEMBAgICAwMDBgMDBgwIBwgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM - DAwMDAwMDAwMDAwMDAwMDAwMDAwMDP/AABEIAIUBAQMBIgACEQEDEQH/xAAfAAABBQEBAQEBAQAAAAAA - AAAAAQIDBAUGBwgJCgv/xAC1EAACAQMDAgQDBQUEBAAAAX0BAgMABBEFEiExQQYTUWEHInEUMoGRoQgj - QrHBFVLR8CQzYnKCCQoWFxgZGiUmJygpKjQ1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2RlZmdoaWpzdHV2 - d3h5eoOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4eLj - 5OXm5+jp6vHy8/T19vf4+fr/xAAfAQADAQEBAQEBAQEBAAAAAAAAAQIDBAUGBwgJCgv/xAC1EQACAQIE - BAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIygQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYn - KCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqCg4SFhoeIiYqSk5SVlpeYmZqi - o6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2dri4+Tl5ufo6ery8/T19vf4+fr/2gAMAwEA - AhEDEQA/AP2w/wCGbvD+fvT/AJ//AF6cP2b9A2/em/P/AOvXoXlsew/KnfPj+H8qlAedj9nHQQud03+f - xp0v7OmgxnO6b8//AK9ehKG6NjH0pF2lSBz9a0TsB57c/s5aDJ8xabjpyf8AGi3/AGfdJ2/Mz4HTmvQ4 - 1VR1+XvmsXUvEun6LvZ7hTg8jfmiSc1ykym4q6OUb9mzQpTukab8z/jVe8+Afh1U8tvtHpxmtC++Omk2 - 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 - - - - 17, 17 - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmChangeColor.Designer.cs b/喷涂上线/Code/PaintingPC/FrmChangeColor.Designer.cs deleted file mode 100644 index e3f687e..0000000 --- a/喷涂上线/Code/PaintingPC/FrmChangeColor.Designer.cs +++ /dev/null @@ -1,116 +0,0 @@ -namespace PaintingPC -{ - partial class FrmChangeColor - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.panel2 = new System.Windows.Forms.Panel(); - this.btnBack = new System.Windows.Forms.Button(); - this.btnSave = new System.Windows.Forms.Button(); - this.labTitle = new System.Windows.Forms.Label(); - this.label1 = new System.Windows.Forms.Label(); - this.SuspendLayout(); - // - // panel2 - // - this.panel2.Location = new System.Drawing.Point(12, 165); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(1256, 688); - this.panel2.TabIndex = 49; - // - // btnBack - // - this.btnBack.BackColor = System.Drawing.Color.SpringGreen; - this.btnBack.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnBack.Location = new System.Drawing.Point(675, 904); - this.btnBack.Name = "btnBack"; - this.btnBack.Size = new System.Drawing.Size(262, 73); - this.btnBack.TabIndex = 51; - this.btnBack.Text = "返回"; - this.btnBack.UseVisualStyleBackColor = false; - this.btnBack.Click += new System.EventHandler(this.btnBack_Click); - // - // btnSave - // - this.btnSave.BackColor = System.Drawing.Color.DarkGray; - this.btnSave.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSave.Location = new System.Drawing.Point(329, 904); - this.btnSave.Name = "btnSave"; - this.btnSave.Size = new System.Drawing.Size(262, 73); - this.btnSave.TabIndex = 50; - this.btnSave.Text = "确定"; - this.btnSave.UseVisualStyleBackColor = false; - this.btnSave.Click += new System.EventHandler(this.btnSave_Click); - // - // labTitle - // - this.labTitle.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; - this.labTitle.Font = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labTitle.Location = new System.Drawing.Point(200, 41); - this.labTitle.Name = "labTitle"; - this.labTitle.Size = new System.Drawing.Size(861, 84); - this.labTitle.TabIndex = 52; - this.labTitle.Text = "选择颜色"; - this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label1 - // - this.label1.Font = new System.Drawing.Font("宋体", 16F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); - this.label1.Location = new System.Drawing.Point(765, 88); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(296, 29); - this.label1.TabIndex = 53; - // - // FrmChangeColor - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1280, 1024); - this.Controls.Add(this.label1); - this.Controls.Add(this.labTitle); - this.Controls.Add(this.btnSave); - this.Controls.Add(this.btnBack); - this.Controls.Add(this.panel2); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Name = "FrmChangeColor"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "FrmChangeColor"; - this.Load += new System.EventHandler(this.FrmChangeColor_Load); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.Panel panel2; - private System.Windows.Forms.Button btnBack; - private System.Windows.Forms.Button btnSave; - private System.Windows.Forms.Label labTitle; - private System.Windows.Forms.Label label1; - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmChangeColor.cs b/喷涂上线/Code/PaintingPC/FrmChangeColor.cs deleted file mode 100644 index 4ff5402..0000000 --- a/喷涂上线/Code/PaintingPC/FrmChangeColor.cs +++ /dev/null @@ -1,95 +0,0 @@ -using System; -using System.Data; -using System.Drawing; -using System.Windows.Forms; - -namespace PaintingPC -{ - public partial class FrmChangeColor : Form - { - public FrmChangeColor() - { - InitializeComponent(); - } - - private void FrmChangeColor_Load(object sender, EventArgs e) - { - #region 加载颜色 - - int drow = 0, dcol = 4; //行,列 - - DataTable dt = Function.GetAllColor(); - if (dt != null && dt.Rows.Count > 0) - { - drow = Convert.ToInt32(Math.Ceiling((double)dt.Rows.Count / dcol)); - RadioButton[] rbs = new RadioButton[dcol]; - string[] dstr = new string[dt.Rows.Count]; - - for (int i = 0; i < dt.Rows.Count; i++) - { - //dstr[i] = dt.Rows[i]["Des"].ToString() + "," + dt.Rows[i]["ColorCode"].ToString() + "," + dt.Rows[i]["ColorNo"].ToString(); - dstr[i] = dt.Rows[i]["Des"].ToString(); - } - - for (int i = 0; i < dcol; i++) //列 - { - for (int j = 0; j < drow; j++) //行 - { - rbs[i] = new RadioButton(); - if ((i + dcol * j) < dstr.Length) - { - rbs[i].Text = dstr[i + dcol * j].ToString(); - rbs[i].Font = new Font(rbs[i].Font.FontFamily, 20, FontStyle.Bold); - rbs[i].Size = new Size(300, 40); - rbs[i].Location = new Point(20 + i * (rbs[i].Size.Width + 15), 5 + j * (rbs[i].Size.Height + 10)); - rbs[i].BackColor = Color.Transparent; - rbs[i].TextAlign = ContentAlignment.MiddleCenter; - panel2.Controls.Add(rbs[i]); - rbs[i].Click += new EventHandler(radioButton_Click); - } - } - } - } - - #endregion - } - - private void radioButton_Click(object sender, EventArgs e) - { - RadioButton rb = sender as RadioButton; - //rb.Select(); - rb.Checked = true; - } - - /// - /// 返回按钮 - /// - /// - /// - private void btnBack_Click(object sender, EventArgs e) - { - this.Close(); - } - - /// - /// 确定按钮 - /// - /// - /// - private void btnSave_Click(object sender, EventArgs e) - { - foreach (Control c in panel2.Controls) - { - RadioButton rbn = c as RadioButton; - if (rbn.Checked) - { - //FrmFirstCheck.ColorName = rbn.Text; - FrmSecondCheck.ColorName = rbn.Text; - } - } - - this.Close(); - } - - } -} diff --git a/喷涂上线/Code/PaintingPC/FrmChangeColor.resx b/喷涂上线/Code/PaintingPC/FrmChangeColor.resx deleted file mode 100644 index 1af7de1..0000000 --- a/喷涂上线/Code/PaintingPC/FrmChangeColor.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmChangeColorResize.Designer.cs b/喷涂上线/Code/PaintingPC/FrmChangeColorResize.Designer.cs deleted file mode 100644 index a4afe2f..0000000 --- a/喷涂上线/Code/PaintingPC/FrmChangeColorResize.Designer.cs +++ /dev/null @@ -1,123 +0,0 @@ -namespace PaintingPC -{ - partial class FrmChangeColorResize - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.panel2 = new System.Windows.Forms.Panel(); - this.btnBack = new System.Windows.Forms.Button(); - this.btnSave = new System.Windows.Forms.Button(); - this.labTitle = new System.Windows.Forms.Label(); - this.label1 = new System.Windows.Forms.Label(); - this.SuspendLayout(); - // - // panel2 - // - this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.panel2.Location = new System.Drawing.Point(12, 77); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(1000, 638); - this.panel2.TabIndex = 49; - // - // btnBack - // - this.btnBack.BackColor = System.Drawing.Color.SpringGreen; - this.btnBack.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnBack.Location = new System.Drawing.Point(741, 721); - this.btnBack.Name = "btnBack"; - this.btnBack.Size = new System.Drawing.Size(227, 38); - this.btnBack.TabIndex = 51; - this.btnBack.Text = "返回"; - this.btnBack.UseVisualStyleBackColor = false; - this.btnBack.Click += new System.EventHandler(this.btnBack_Click); - // - // btnSave - // - this.btnSave.BackColor = System.Drawing.Color.DarkGray; - this.btnSave.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSave.Location = new System.Drawing.Point(436, 721); - this.btnSave.Name = "btnSave"; - this.btnSave.Size = new System.Drawing.Size(186, 38); - this.btnSave.TabIndex = 50; - this.btnSave.Text = "确定"; - this.btnSave.UseVisualStyleBackColor = false; - this.btnSave.Click += new System.EventHandler(this.btnSave_Click); - // - // labTitle - // - this.labTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.labTitle.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; - this.labTitle.Font = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labTitle.Location = new System.Drawing.Point(211, 2); - this.labTitle.Name = "labTitle"; - this.labTitle.Size = new System.Drawing.Size(319, 72); - this.labTitle.TabIndex = 52; - this.labTitle.Text = "选择颜色"; - this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label1 - // - this.label1.Font = new System.Drawing.Font("宋体", 16F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); - this.label1.Location = new System.Drawing.Point(525, 45); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(296, 29); - this.label1.TabIndex = 53; - this.label1.Text = "(面漆号,颜色代码,颜色)"; - // - // FrmChangeColorResize - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1024, 768); - this.Controls.Add(this.labTitle); - this.Controls.Add(this.label1); - this.Controls.Add(this.btnSave); - this.Controls.Add(this.btnBack); - this.Controls.Add(this.panel2); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Name = "FrmChangeColorResize"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "FrmChangeColor"; - this.Load += new System.EventHandler(this.FrmChangeColor_Load); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.Panel panel2; - private System.Windows.Forms.Button btnBack; - private System.Windows.Forms.Button btnSave; - private System.Windows.Forms.Label labTitle; - private System.Windows.Forms.Label label1; - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmChangeColorResize.cs b/喷涂上线/Code/PaintingPC/FrmChangeColorResize.cs deleted file mode 100644 index 08ed716..0000000 --- a/喷涂上线/Code/PaintingPC/FrmChangeColorResize.cs +++ /dev/null @@ -1,95 +0,0 @@ -using System; -using System.Data; -using System.Drawing; -using System.Windows.Forms; - -namespace PaintingPC -{ - public partial class FrmChangeColorResize : Form - { - public FrmChangeColorResize() - { - InitializeComponent(); - } - - private void FrmChangeColor_Load(object sender, EventArgs e) - { - #region 加载颜色 - - int drow = 0, dcol = 4; //行,列 - - DataTable dt = Function.GetAllColor(); - if (dt != null && dt.Rows.Count > 0) - { - drow = Convert.ToInt32(Math.Ceiling((double)dt.Rows.Count / dcol)); - RadioButton[] rbs = new RadioButton[dcol]; - string[] dstr = new string[dt.Rows.Count]; - - for (int i = 0; i < dt.Rows.Count; i++) - { - dstr[i] = dt.Rows[i]["Des"].ToString() + "," + dt.Rows[i]["ColorCode"].ToString() + "," + dt.Rows[i]["ColorNo"].ToString(); - } - - for (int i = 0; i < dcol; i++) //列 - { - for (int j = 0; j < drow; j++) //行 - { - rbs[i] = new RadioButton(); - if ((i + dcol * j) < dstr.Length) - { - rbs[i].Text = dstr[i + dcol * j].ToString(); - rbs[i].Font = new Font(rbs[i].Font.FontFamily, 12, FontStyle.Bold); - rbs[i].Size = new Size(230, 36); - rbs[i].Location = new Point(20 + i * (rbs[i].Size.Width + 15), 5 + j * (rbs[i].Size.Height + 10)); - rbs[i].BackColor = Color.Transparent; - rbs[i].TextAlign = ContentAlignment.MiddleCenter; - panel2.Controls.Add(rbs[i]); - rbs[i].Click += new EventHandler(radioButton_Click); - } - } - } - } - - #endregion - } - - private void radioButton_Click(object sender, EventArgs e) - { - RadioButton rb = sender as RadioButton; - //rb.Select(); - rb.Checked = true; - } - - /// - /// 返回按钮 - /// - /// - /// - private void btnBack_Click(object sender, EventArgs e) - { - this.Close(); - } - - /// - /// 确定按钮 - /// - /// - /// - private void btnSave_Click(object sender, EventArgs e) - { - foreach (Control c in panel2.Controls) - { - RadioButton rbn = c as RadioButton; - if (rbn.Checked) - { - //FrmFirstCheck.ColorName = rbn.Text; - //FrmSecondCheck.ColorName = rbn.Text; - //FrmSecondCheckResize.ColorName = rbn.Text; - } - } - - this.Close(); - } - - } -} diff --git a/喷涂上线/Code/PaintingPC/FrmChangeColorResize.resx b/喷涂上线/Code/PaintingPC/FrmChangeColorResize.resx deleted file mode 100644 index 1af7de1..0000000 --- a/喷涂上线/Code/PaintingPC/FrmChangeColorResize.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmChooseDamnPosition.Designer.cs b/喷涂上线/Code/PaintingPC/FrmChooseDamnPosition.Designer.cs deleted file mode 100644 index 836577e..0000000 --- a/喷涂上线/Code/PaintingPC/FrmChooseDamnPosition.Designer.cs +++ /dev/null @@ -1,137 +0,0 @@ -namespace PaintingPC -{ - partial class FrmChooseDamnPosition - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.panel2 = new System.Windows.Forms.Panel(); - this.btnBack = new System.Windows.Forms.Button(); - this.btnSave = new System.Windows.Forms.Button(); - this.pictureBox2 = new System.Windows.Forms.PictureBox(); - this.label11 = new System.Windows.Forms.Label(); - this.label10 = new System.Windows.Forms.Label(); - this.panel2.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); - this.SuspendLayout(); - // - // panel2 - // - this.panel2.Controls.Add(this.btnBack); - this.panel2.Controls.Add(this.btnSave); - this.panel2.Location = new System.Drawing.Point(153, 483); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(1116, 398); - this.panel2.TabIndex = 46; - // - // btnBack - // - this.btnBack.BackColor = System.Drawing.Color.SpringGreen; - this.btnBack.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnBack.Location = new System.Drawing.Point(1034, 192); - this.btnBack.Name = "btnBack"; - this.btnBack.Size = new System.Drawing.Size(73, 183); - this.btnBack.TabIndex = 1; - this.btnBack.Text = "返回"; - this.btnBack.UseVisualStyleBackColor = false; - this.btnBack.Click += new System.EventHandler(this.btnBack_Click); - // - // btnSave - // - this.btnSave.BackColor = System.Drawing.Color.DarkGray; - this.btnSave.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSave.Location = new System.Drawing.Point(1034, 3); - this.btnSave.Name = "btnSave"; - this.btnSave.Size = new System.Drawing.Size(73, 195); - this.btnSave.TabIndex = 0; - this.btnSave.Text = "确定"; - this.btnSave.UseVisualStyleBackColor = false; - this.btnSave.Click += new System.EventHandler(this.btnSave_Click); - // - // pictureBox2 - // - this.pictureBox2.Location = new System.Drawing.Point(153, 134); - this.pictureBox2.Name = "pictureBox2"; - this.pictureBox2.Size = new System.Drawing.Size(1116, 350); - this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox2.TabIndex = 45; - this.pictureBox2.TabStop = false; - // - // label11 - // - this.label11.BackColor = System.Drawing.Color.DeepSkyBlue; - this.label11.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.label11.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label11.Location = new System.Drawing.Point(4, 483); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(150, 398); - this.label11.TabIndex = 44; - this.label11.Text = "缺陷原因:"; - this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // label10 - // - this.label10.BackColor = System.Drawing.Color.DeepSkyBlue; - this.label10.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.label10.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label10.Location = new System.Drawing.Point(4, 134); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(150, 350); - this.label10.TabIndex = 43; - this.label10.Text = "产品展示:"; - this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // FrmChooseDamnPosition - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1280, 1024); - this.Controls.Add(this.panel2); - this.Controls.Add(this.pictureBox2); - this.Controls.Add(this.label11); - this.Controls.Add(this.label10); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Name = "FrmChooseDamnPosition"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "FrmChooseDamnPosition"; - this.Load += new System.EventHandler(this.FrmChooseDamnPosition_Load); - this.panel2.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.Panel panel2; - private System.Windows.Forms.Button btnBack; - private System.Windows.Forms.Button btnSave; - private System.Windows.Forms.PictureBox pictureBox2; - private System.Windows.Forms.Label label11; - private System.Windows.Forms.Label label10; - - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmChooseDamnPosition.cs b/喷涂上线/Code/PaintingPC/FrmChooseDamnPosition.cs deleted file mode 100644 index 37fa299..0000000 --- a/喷涂上线/Code/PaintingPC/FrmChooseDamnPosition.cs +++ /dev/null @@ -1,248 +0,0 @@ -using System; -using System.Configuration; -using System.Data; -using System.Drawing; -using System.IO; -using System.Net.NetworkInformation; -using System.Reflection; -using System.Windows.Forms; - -namespace PaintingPC -{ - public partial class FrmChooseDamnPosition : Form - { - public string BarCode = ""; - public static string DamnPosition = ""; //抛光位置 - public static string Reason = ""; //原因 - private int count = 0; //缺陷图选中个数 - public FrmChooseDamnPosition(string barcode) - { - BarCode = barcode; - InitializeComponent(); - } - - private void FrmChooseDamnPosition_Load(object sender, EventArgs e) - { - DamnPosition = ""; - Reason = ""; - - int row = 0, col = 0; - string picture = ""; - try - { - #region 缺陷原因 - - int drow = 0, dcol = 6; //行,列 - - DataTable dt3 = Function.SearchDefectInfo(ConfigurationManager.AppSettings["Station"].Trim()); - if (dt3 != null && dt3.Rows.Count > 0) - { - drow = Convert.ToInt32(Math.Ceiling((double)dt3.Rows.Count / dcol)); - Label[] dLb = new Label[7]; - string[] dstr = new string[dt3.Rows.Count]; - - - for (int i = 0; i < dt3.Rows.Count; i++) - { - dstr[i] = dt3.Rows[i]["DefectName"].ToString(); - } - - for (int i = 0; i < dcol; i++) //列 - { - for (int j = 0; j < drow; j++) //行 - { - dLb[i] = new Label(); - if ((i + dcol * j) < dstr.Length) - { - dLb[i].Text = dstr[i + dcol * j].ToString(); - dLb[i].Font = new Font(dLb[i].Font.FontFamily, 24, FontStyle.Bold); - dLb[i].Size = new Size(150, 50); - dLb[i].Location = new Point(20 + i * (dLb[i].Size.Width + 15), 5 + j * (dLb[i].Size.Height + 20)); - dLb[i].BorderStyle = BorderStyle.FixedSingle; - dLb[i].BackColor = Color.Transparent; - dLb[i].TextAlign = ContentAlignment.MiddleCenter; - panel2.Controls.Add(dLb[i]); - dLb[i].Click += new EventHandler(dLbRoom_Click); - } - } - } - } - - #endregion - - #region 加载图片 - DataTable dt = Function.SearchInfoByBarCode(BarCode); - - if (dt != null && dt.Rows.Count > 0) - { - row = Convert.ToInt32(dt.Rows[0]["Rows"].ToString()); - col = Convert.ToInt32(dt.Rows[0]["Cols"].ToString()); - picture = dt.Rows[0]["PicturePath"].ToString(); - } - dt.Dispose(); - - //if (!File.Exists(Program.PicturePath + @"\" + "picture")) - if (!File.Exists(System.IO.Directory.GetCurrentDirectory() + @"\" + picture)) - { - Ping p1 = new Ping(); - bool status = false; - - PingReply reply = p1.Send(Program.IP); //发送主机名或Ip地址 - if (reply.Status == IPStatus.Success) - { - string PictureFolder = ConfigurationManager.AppSettings["PictureFolder"].ToString(); - string User = ConfigurationManager.AppSettings["User"].ToString(); - string UserPwd = ConfigurationManager.AppSettings["UserPwd"].ToString(); - status = Upload.DoConnComputer(Program.IP, PictureFolder, User, UserPwd); - if (status == true) - { - //共享文件夹的目录 - string path = ConfigurationManager.AppSettings["RemotePictureFolder"].ToString() + picture; - DirectoryInfo theFolder = new DirectoryInfo(path); - string filename = theFolder.ToString(); - - //执行方法 - Function.TransportRemoteToLocal(filename, System.Environment.CurrentDirectory + "\\", picture); //实现将远程服务器文件写入到本地 - - } - } - } - FileStream fs = new FileStream(System.Environment.CurrentDirectory + "\\" + picture, FileMode.Open, - FileAccess.Read);//获取图片文件流 - Image img = Image.FromStream(fs); // 文件流转换成Image格式 - pictureBox2.Image = img; //给 图片框设置要显示的图片 - fs.Close(); // 关闭流,释放图片资源 - #endregion - - #region 缺陷图划分区域 - - Label[] lb = new Label[5]; - string[] str = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" }; - - for (int i = 0; i < col; i++) - { - for (int j = 0; j < row; j++) - { - lb[i] = new Label(); - lb[i].Text = str[i + col * j].ToString(); - lb[i].Font = new Font(lb[i].Font.FontFamily, 32, FontStyle.Bold); - - lb[i].Size = new Size(pictureBox2.Width / col, pictureBox2.Height / row); - lb[i].Location = new Point(0 + i * lb[i].Size.Width, 0 + j * lb[i].Size.Height); - lb[i].BorderStyle = BorderStyle.FixedSingle; - lb[i].BackColor = Color.Transparent; - lb[i].TextAlign = ContentAlignment.MiddleCenter; - pictureBox2.Controls.Add(lb[i]); - - lb[i].Click += new EventHandler(lblRoom_Click); - } - } - - #endregion - - - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - - } - - /// - /// 缺陷图点击 - /// - /// - /// - void lblRoom_Click(object sender, EventArgs e) - { - Label a = (Label)sender; - string aa = a.Text; - if (a.BackColor == Color.Transparent) - { - a.BackColor = Color.FromArgb(150, System.Drawing.Color.Chartreuse); - count++; - } - else - { - a.BackColor = Color.Transparent; - count--; - } - } - - /// - /// 缺陷原因点击 - /// - /// - /// - void dLbRoom_Click(object sender, EventArgs e) - { - if (count == 0) - { - MessageBox.Show("请选择缺陷区域!"); - return; - } - Label a = (Label)sender; - string aa = a.Text; - if (a.BackColor == Color.Transparent) - { - a.BackColor = Color.Chartreuse; - } - else - { - a.BackColor = Color.Transparent; - } - } - - /// - /// 返回按钮 - /// - /// - /// - private void btnBack_Click(object sender, EventArgs e) - { - DamnPosition = ""; - Reason = ""; - this.Close(); - } - - /// - /// 保存按钮 - /// - /// - /// - private void btnSave_Click(object sender, EventArgs e) - { - DamnPosition = ""; - Reason = ""; - - foreach (Control c in pictureBox2.Controls) - { - Label b = c as Label; - if (b != null && b.BackColor != Color.Transparent) - { - DamnPosition += b.Text + ";"; - } - } - - foreach (Control c in panel2.Controls) - { - Label b = c as Label; - if (b!= null && b.BackColor != Color.Transparent) - { - Reason += b.Text + ";"; - } - } - - if (!string.IsNullOrWhiteSpace(DamnPosition) && !string.IsNullOrWhiteSpace(Reason)) - { - this.Close(); - } - else - { - MessageBox.Show("必须点选缺陷位置和缺陷原因,如果不选请点击返回按钮"); - } - } - } -} diff --git a/喷涂上线/Code/PaintingPC/FrmChooseDamnPosition.resx b/喷涂上线/Code/PaintingPC/FrmChooseDamnPosition.resx deleted file mode 100644 index 1af7de1..0000000 --- a/喷涂上线/Code/PaintingPC/FrmChooseDamnPosition.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmDelChaimUp.Designer.cs b/喷涂上线/Code/PaintingPC/FrmDelChaimUp.Designer.cs deleted file mode 100644 index 7d4f086..0000000 --- a/喷涂上线/Code/PaintingPC/FrmDelChaimUp.Designer.cs +++ /dev/null @@ -1,87 +0,0 @@ -namespace PaintingPC -{ - partial class FrmDelChaimUp - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.button1 = new System.Windows.Forms.Button(); - this.textBox1 = new System.Windows.Forms.TextBox(); - this.label1 = new System.Windows.Forms.Label(); - this.SuspendLayout(); - // - // button1 - // - this.button1.Font = new System.Drawing.Font("微软雅黑", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button1.Location = new System.Drawing.Point(200, 224); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(112, 50); - this.button1.TabIndex = 5; - this.button1.Text = "关闭"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // textBox1 - // - this.textBox1.Font = new System.Drawing.Font("微软雅黑", 14.25F); - this.textBox1.Location = new System.Drawing.Point(30, 108); - this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(488, 33); - this.textBox1.TabIndex = 4; - this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown); - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Font = new System.Drawing.Font("微软雅黑", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label1.Location = new System.Drawing.Point(23, 28); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(365, 38); - this.label1.TabIndex = 3; - this.label1.Text = "请扫描需要删除的零件条码"; - // - // FrmDelChaimUp - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(548, 348); - this.Controls.Add(this.button1); - this.Controls.Add(this.textBox1); - this.Controls.Add(this.label1); - this.Name = "FrmDelChaimUp"; - this.Text = "删除条码"; - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.Button button1; - private System.Windows.Forms.TextBox textBox1; - private System.Windows.Forms.Label label1; - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmDelChaimUp.cs b/喷涂上线/Code/PaintingPC/FrmDelChaimUp.cs deleted file mode 100644 index d93766d..0000000 --- a/喷涂上线/Code/PaintingPC/FrmDelChaimUp.cs +++ /dev/null @@ -1,105 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; - -namespace PaintingPC -{ - public partial class FrmDelChaimUp : Form - { - public FrmDelChaimUp() - { - InitializeComponent(); - } - - public event Action OkBtnClick; - - private void button1_Click(object sender, EventArgs e) - { - this.Close(); - } - - private void textBox1_KeyDown(object sender, KeyEventArgs e) - { - try - { - string barcode = ""; - if (e.KeyCode == Keys.Enter) - { - #region 校验数据 - - if (textBox1.Text.Trim() == "") - { - MessageBox.Show("条码不能为空!", "提示", MessageBoxButtons.OK); - textBox1.Focus(); - textBox1.SelectAll(); - return; - } - - #region 判断扫描的是一维码还是二维码,如果是二维码转一维码 - - if (textBox1.Text.Trim().Contains('.')) //二维码 - { - DataTable bardt = Function1.oneBarcode(textBox1.Text.Trim()); - if (bardt != null && bardt.Rows.Count > 0) - { - barcode = bardt.Rows[0][""].ToString(); - } - else - { - MessageBox.Show("条码在系统中不存在!", "提示", MessageBoxButtons.OK); - textBox1.Focus(); - textBox1.SelectAll(); - return; - } - } - else - { - barcode = textBox1.Text.Trim(); - } - - #endregion - - DataTable dt = Function1.GetBarCodeInfo(barcode); - if (dt != null && dt.Rows.Count > 0) - { - DataTable dt1 = Function1.isPack(textBox1.Text.Trim()); - if (dt1 != null && dt1.Rows.Count > 0) - { - MessageBox.Show("此零件已打包!", "提示", MessageBoxButtons.OK); - textBox1.Focus(); - textBox1.SelectAll(); - return; - } - } - else - { - MessageBox.Show("条码在系统中不存在!", "提示", MessageBoxButtons.OK); - textBox1.Focus(); - textBox1.SelectAll(); - return; - } - - #endregion - - if (OkBtnClick != null) - { - OkBtnClick(barcode); - } - - - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - } -} diff --git a/喷涂上线/Code/PaintingPC/FrmDelChaimUp.resx b/喷涂上线/Code/PaintingPC/FrmDelChaimUp.resx deleted file mode 100644 index 1af7de1..0000000 --- a/喷涂上线/Code/PaintingPC/FrmDelChaimUp.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmFirstCheck.Designer.cs b/喷涂上线/Code/PaintingPC/FrmFirstCheck.Designer.cs deleted file mode 100644 index 3765c73..0000000 --- a/喷涂上线/Code/PaintingPC/FrmFirstCheck.Designer.cs +++ /dev/null @@ -1,671 +0,0 @@ -namespace PaintingPC -{ - partial class FrmFirstCheck - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmFirstCheck)); - this.labTime = new System.Windows.Forms.Label(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.labTitle = new System.Windows.Forms.Label(); - this.rdo1 = new System.Windows.Forms.RadioButton(); - this.rdo2 = new System.Windows.Forms.RadioButton(); - this.rdo3 = new System.Windows.Forms.RadioButton(); - this.labWorkClass = new System.Windows.Forms.Label(); - this.labStation = new System.Windows.Forms.Label(); - this.labelVersion = new System.Windows.Forms.Label(); - this.labChangeColor = new System.Windows.Forms.Label(); - this.label7 = new System.Windows.Forms.Label(); - this.btnSubmit = new System.Windows.Forms.Button(); - this.label9 = new System.Windows.Forms.Label(); - this.labXingHao1 = new System.Windows.Forms.Label(); - this.labXingHao2 = new System.Windows.Forms.Label(); - this.labBarCode2 = new System.Windows.Forms.Label(); - this.labBarCode1 = new System.Windows.Forms.Label(); - this.label14 = new System.Windows.Forms.Label(); - this.label15 = new System.Windows.Forms.Label(); - this.btnPass1 = new System.Windows.Forms.Button(); - this.btnRepair1 = new System.Windows.Forms.Button(); - this.btnAbt1 = new System.Windows.Forms.Button(); - this.btnAbt2 = new System.Windows.Forms.Button(); - this.btnRepair2 = new System.Windows.Forms.Button(); - this.btnPass2 = new System.Windows.Forms.Button(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.btnSideBack = new System.Windows.Forms.Button(); - this.btnSide10 = new System.Windows.Forms.Button(); - this.btnSide9 = new System.Windows.Forms.Button(); - this.btnSide8 = new System.Windows.Forms.Button(); - this.btnSide7 = new System.Windows.Forms.Button(); - this.btnSide6 = new System.Windows.Forms.Button(); - this.btnSide5 = new System.Windows.Forms.Button(); - this.btnSide4 = new System.Windows.Forms.Button(); - this.btnSide3 = new System.Windows.Forms.Button(); - this.btnSide2 = new System.Windows.Forms.Button(); - this.btnSide1 = new System.Windows.Forms.Button(); - this.btnSide = new System.Windows.Forms.Button(); - this.txtSideNo = new System.Windows.Forms.TextBox(); - this.label8 = new System.Windows.Forms.Label(); - this.labColor2 = new System.Windows.Forms.Label(); - this.labColor1 = new System.Windows.Forms.Label(); - this.labDefect1 = new System.Windows.Forms.Label(); - this.labDefect2 = new System.Windows.Forms.Label(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - this.groupBox1.SuspendLayout(); - this.SuspendLayout(); - // - // labTime - // - this.labTime.BackColor = System.Drawing.Color.LightGray; - this.labTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.labTime.Font = new System.Drawing.Font("宋体", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labTime.Location = new System.Drawing.Point(1008, 9); - this.labTime.Name = "labTime"; - this.labTime.Size = new System.Drawing.Size(250, 84); - this.labTime.TabIndex = 6; - this.labTime.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.labTime.Click += new System.EventHandler(this.labTime_Click); - // - // pictureBox1 - // - this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); - this.pictureBox1.Location = new System.Drawing.Point(1, 9); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(150, 84); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox1.TabIndex = 5; - this.pictureBox1.TabStop = false; - // - // labTitle - // - this.labTitle.BackColor = System.Drawing.Color.LightGray; - this.labTitle.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.labTitle.Font = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labTitle.Location = new System.Drawing.Point(150, 9); - this.labTitle.Name = "labTitle"; - this.labTitle.Size = new System.Drawing.Size(861, 84); - this.labTitle.TabIndex = 4; - this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // rdo1 - // - this.rdo1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); - this.rdo1.Checked = true; - this.rdo1.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.rdo1.Location = new System.Drawing.Point(1, 96); - this.rdo1.Name = "rdo1"; - this.rdo1.Size = new System.Drawing.Size(159, 70); - this.rdo1.TabIndex = 9; - this.rdo1.TabStop = true; - this.rdo1.Text = "正式量产"; - this.rdo1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.rdo1.UseVisualStyleBackColor = false; - // - // rdo2 - // - this.rdo2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.rdo2.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.rdo2.Location = new System.Drawing.Point(167, 96); - this.rdo2.Name = "rdo2"; - this.rdo2.Size = new System.Drawing.Size(159, 70); - this.rdo2.TabIndex = 10; - this.rdo2.Text = "量产调试"; - this.rdo2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.rdo2.UseVisualStyleBackColor = false; - // - // rdo3 - // - this.rdo3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.rdo3.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.rdo3.Location = new System.Drawing.Point(333, 96); - this.rdo3.Name = "rdo3"; - this.rdo3.Size = new System.Drawing.Size(159, 70); - this.rdo3.TabIndex = 11; - this.rdo3.Text = "项目调试"; - this.rdo3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.rdo3.UseVisualStyleBackColor = false; - // - // labWorkClass - // - this.labWorkClass.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.labWorkClass.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labWorkClass.Location = new System.Drawing.Point(500, 96); - this.labWorkClass.Name = "labWorkClass"; - this.labWorkClass.Size = new System.Drawing.Size(185, 70); - this.labWorkClass.TabIndex = 12; - this.labWorkClass.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.labWorkClass.Click += new System.EventHandler(this.labWorkClass_Click); - // - // labStation - // - this.labStation.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.labStation.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labStation.Location = new System.Drawing.Point(691, 96); - this.labStation.Name = "labStation"; - this.labStation.Size = new System.Drawing.Size(185, 70); - this.labStation.TabIndex = 13; - this.labStation.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labelVersion - // - this.labelVersion.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.labelVersion.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labelVersion.Location = new System.Drawing.Point(882, 96); - this.labelVersion.Name = "labelVersion"; - this.labelVersion.Size = new System.Drawing.Size(185, 70); - this.labelVersion.TabIndex = 14; - this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labChangeColor - // - this.labChangeColor.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.labChangeColor.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labChangeColor.Location = new System.Drawing.Point(1073, 97); - this.labChangeColor.Name = "labChangeColor"; - this.labChangeColor.Size = new System.Drawing.Size(185, 70); - this.labChangeColor.TabIndex = 15; - this.labChangeColor.Text = "修改颜色"; - this.labChangeColor.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.labChangeColor.Click += new System.EventHandler(this.labChangeColor_Click); - this.labChangeColor.MouseLeave += new System.EventHandler(this.labChangeColor_MouseLeave); - this.labChangeColor.MouseMove += new System.Windows.Forms.MouseEventHandler(this.labChangeColor_MouseMove); - // - // label7 - // - this.label7.BackColor = System.Drawing.Color.Lime; - this.label7.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label7.Location = new System.Drawing.Point(1, 227); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(514, 83); - this.label7.TabIndex = 16; - this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // btnSubmit - // - this.btnSubmit.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); - this.btnSubmit.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSubmit.Location = new System.Drawing.Point(1056, 938); - this.btnSubmit.Name = "btnSubmit"; - this.btnSubmit.Size = new System.Drawing.Size(202, 79); - this.btnSubmit.TabIndex = 31; - this.btnSubmit.Text = "提交"; - this.btnSubmit.UseVisualStyleBackColor = false; - this.btnSubmit.Click += new System.EventHandler(this.btnSubmit_Click); - // - // label9 - // - this.label9.BackColor = System.Drawing.Color.Lime; - this.label9.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label9.Location = new System.Drawing.Point(528, 227); - this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(514, 83); - this.label9.TabIndex = 32; - this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labXingHao1 - // - this.labXingHao1.BackColor = System.Drawing.Color.White; - this.labXingHao1.Font = new System.Drawing.Font("黑体", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labXingHao1.Location = new System.Drawing.Point(1, 317); - this.labXingHao1.Name = "labXingHao1"; - this.labXingHao1.Size = new System.Drawing.Size(514, 170); - this.labXingHao1.TabIndex = 33; - this.labXingHao1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labXingHao2 - // - this.labXingHao2.BackColor = System.Drawing.Color.White; - this.labXingHao2.Font = new System.Drawing.Font("黑体", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labXingHao2.Location = new System.Drawing.Point(528, 317); - this.labXingHao2.Name = "labXingHao2"; - this.labXingHao2.Size = new System.Drawing.Size(514, 170); - this.labXingHao2.TabIndex = 34; - this.labXingHao2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labBarCode2 - // - this.labBarCode2.BackColor = System.Drawing.Color.White; - this.labBarCode2.Font = new System.Drawing.Font("黑体", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labBarCode2.Location = new System.Drawing.Point(528, 740); - this.labBarCode2.Name = "labBarCode2"; - this.labBarCode2.Size = new System.Drawing.Size(514, 187); - this.labBarCode2.TabIndex = 38; - this.labBarCode2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labBarCode1 - // - this.labBarCode1.BackColor = System.Drawing.Color.White; - this.labBarCode1.Font = new System.Drawing.Font("黑体", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labBarCode1.Location = new System.Drawing.Point(1, 740); - this.labBarCode1.Name = "labBarCode1"; - this.labBarCode1.Size = new System.Drawing.Size(514, 187); - this.labBarCode1.TabIndex = 37; - this.labBarCode1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label14 - // - this.label14.BackColor = System.Drawing.Color.Lime; - this.label14.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label14.Location = new System.Drawing.Point(528, 650); - this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(514, 83); - this.label14.TabIndex = 36; - this.label14.Text = "条码"; - this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label15 - // - this.label15.BackColor = System.Drawing.Color.Lime; - this.label15.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label15.Location = new System.Drawing.Point(1, 650); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(514, 83); - this.label15.TabIndex = 35; - this.label15.Text = "条码"; - this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // btnPass1 - // - this.btnPass1.BackColor = System.Drawing.Color.LightGray; - this.btnPass1.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnPass1.Location = new System.Drawing.Point(6, 938); - this.btnPass1.Name = "btnPass1"; - this.btnPass1.Size = new System.Drawing.Size(150, 79); - this.btnPass1.TabIndex = 39; - this.btnPass1.Text = "一次合格"; - this.btnPass1.UseVisualStyleBackColor = false; - this.btnPass1.Click += new System.EventHandler(this.btnPass1_Click); - // - // btnRepair1 - // - this.btnRepair1.BackColor = System.Drawing.Color.LightGray; - this.btnRepair1.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnRepair1.Location = new System.Drawing.Point(180, 938); - this.btnRepair1.Name = "btnRepair1"; - this.btnRepair1.Size = new System.Drawing.Size(150, 79); - this.btnRepair1.TabIndex = 40; - this.btnRepair1.Text = "抛光"; - this.btnRepair1.UseVisualStyleBackColor = false; - this.btnRepair1.Click += new System.EventHandler(this.btnRepair1_Click); - // - // btnAbt1 - // - this.btnAbt1.BackColor = System.Drawing.Color.LightGray; - this.btnAbt1.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnAbt1.Location = new System.Drawing.Point(354, 938); - this.btnAbt1.Name = "btnAbt1"; - this.btnAbt1.Size = new System.Drawing.Size(150, 79); - this.btnAbt1.TabIndex = 41; - this.btnAbt1.Text = "一次报废"; - this.btnAbt1.UseVisualStyleBackColor = false; - this.btnAbt1.Click += new System.EventHandler(this.btnAbt1_Click); - // - // btnAbt2 - // - this.btnAbt2.BackColor = System.Drawing.Color.LightGray; - this.btnAbt2.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnAbt2.Location = new System.Drawing.Point(884, 938); - this.btnAbt2.Name = "btnAbt2"; - this.btnAbt2.Size = new System.Drawing.Size(150, 79); - this.btnAbt2.TabIndex = 44; - this.btnAbt2.Text = "一次报废"; - this.btnAbt2.UseVisualStyleBackColor = false; - this.btnAbt2.Click += new System.EventHandler(this.btnAbt2_Click); - // - // btnRepair2 - // - this.btnRepair2.BackColor = System.Drawing.Color.LightGray; - this.btnRepair2.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnRepair2.Location = new System.Drawing.Point(710, 938); - this.btnRepair2.Name = "btnRepair2"; - this.btnRepair2.Size = new System.Drawing.Size(150, 79); - this.btnRepair2.TabIndex = 43; - this.btnRepair2.Text = "抛光"; - this.btnRepair2.UseVisualStyleBackColor = false; - this.btnRepair2.Click += new System.EventHandler(this.btnRepair2_Click); - // - // btnPass2 - // - this.btnPass2.BackColor = System.Drawing.Color.LightGray; - this.btnPass2.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnPass2.Location = new System.Drawing.Point(536, 938); - this.btnPass2.Name = "btnPass2"; - this.btnPass2.Size = new System.Drawing.Size(150, 79); - this.btnPass2.TabIndex = 42; - this.btnPass2.Text = "一次合格"; - this.btnPass2.UseVisualStyleBackColor = false; - this.btnPass2.Click += new System.EventHandler(this.btnPass2_Click); - // - // groupBox1 - // - this.groupBox1.Controls.Add(this.btnSideBack); - this.groupBox1.Controls.Add(this.btnSide10); - this.groupBox1.Controls.Add(this.btnSide9); - this.groupBox1.Controls.Add(this.btnSide8); - this.groupBox1.Controls.Add(this.btnSide7); - this.groupBox1.Controls.Add(this.btnSide6); - this.groupBox1.Controls.Add(this.btnSide5); - this.groupBox1.Controls.Add(this.btnSide4); - this.groupBox1.Controls.Add(this.btnSide3); - this.groupBox1.Controls.Add(this.btnSide2); - this.groupBox1.Controls.Add(this.btnSide1); - this.groupBox1.Controls.Add(this.btnSide); - this.groupBox1.Controls.Add(this.txtSideNo); - this.groupBox1.Controls.Add(this.label8); - this.groupBox1.Location = new System.Drawing.Point(1048, 218); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(220, 712); - this.groupBox1.TabIndex = 45; - this.groupBox1.TabStop = false; - // - // btnSideBack - // - this.btnSideBack.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSideBack.Location = new System.Drawing.Point(77, 573); - this.btnSideBack.Name = "btnSideBack"; - this.btnSideBack.Size = new System.Drawing.Size(134, 126); - this.btnSideBack.TabIndex = 44; - this.btnSideBack.Text = "退格"; - this.btnSideBack.UseVisualStyleBackColor = true; - this.btnSideBack.Click += new System.EventHandler(this.btnSideBack_Click); - // - // btnSide10 - // - this.btnSide10.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSide10.Location = new System.Drawing.Point(9, 573); - this.btnSide10.Name = "btnSide10"; - this.btnSide10.Size = new System.Drawing.Size(66, 126); - this.btnSide10.TabIndex = 43; - this.btnSide10.Text = "0"; - this.btnSide10.UseVisualStyleBackColor = true; - this.btnSide10.Click += new System.EventHandler(this.btnSide10_Click); - // - // btnSide9 - // - this.btnSide9.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSide9.Location = new System.Drawing.Point(145, 435); - this.btnSide9.Name = "btnSide9"; - this.btnSide9.Size = new System.Drawing.Size(66, 126); - this.btnSide9.TabIndex = 42; - this.btnSide9.Text = "9"; - this.btnSide9.UseVisualStyleBackColor = true; - this.btnSide9.Click += new System.EventHandler(this.btnSide9_Click); - // - // btnSide8 - // - this.btnSide8.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSide8.Location = new System.Drawing.Point(77, 435); - this.btnSide8.Name = "btnSide8"; - this.btnSide8.Size = new System.Drawing.Size(66, 126); - this.btnSide8.TabIndex = 41; - this.btnSide8.Text = "8"; - this.btnSide8.UseVisualStyleBackColor = true; - this.btnSide8.Click += new System.EventHandler(this.btnSide8_Click); - // - // btnSide7 - // - this.btnSide7.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSide7.Location = new System.Drawing.Point(9, 435); - this.btnSide7.Name = "btnSide7"; - this.btnSide7.Size = new System.Drawing.Size(66, 126); - this.btnSide7.TabIndex = 40; - this.btnSide7.Text = "7"; - this.btnSide7.UseVisualStyleBackColor = true; - this.btnSide7.Click += new System.EventHandler(this.btnSide7_Click); - // - // btnSide6 - // - this.btnSide6.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSide6.Location = new System.Drawing.Point(145, 297); - this.btnSide6.Name = "btnSide6"; - this.btnSide6.Size = new System.Drawing.Size(66, 126); - this.btnSide6.TabIndex = 39; - this.btnSide6.Text = "6"; - this.btnSide6.UseVisualStyleBackColor = true; - this.btnSide6.Click += new System.EventHandler(this.btnSide6_Click); - // - // btnSide5 - // - this.btnSide5.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSide5.Location = new System.Drawing.Point(77, 297); - this.btnSide5.Name = "btnSide5"; - this.btnSide5.Size = new System.Drawing.Size(66, 126); - this.btnSide5.TabIndex = 38; - this.btnSide5.Text = "5"; - this.btnSide5.UseVisualStyleBackColor = true; - this.btnSide5.Click += new System.EventHandler(this.btnSide5_Click); - // - // btnSide4 - // - this.btnSide4.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSide4.Location = new System.Drawing.Point(9, 297); - this.btnSide4.Name = "btnSide4"; - this.btnSide4.Size = new System.Drawing.Size(66, 126); - this.btnSide4.TabIndex = 37; - this.btnSide4.Text = "4"; - this.btnSide4.UseVisualStyleBackColor = true; - this.btnSide4.Click += new System.EventHandler(this.btnSide4_Click); - // - // btnSide3 - // - this.btnSide3.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSide3.Location = new System.Drawing.Point(145, 159); - this.btnSide3.Name = "btnSide3"; - this.btnSide3.Size = new System.Drawing.Size(66, 126); - this.btnSide3.TabIndex = 36; - this.btnSide3.Text = "3"; - this.btnSide3.UseVisualStyleBackColor = true; - this.btnSide3.Click += new System.EventHandler(this.btnSide3_Click); - // - // btnSide2 - // - this.btnSide2.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSide2.Location = new System.Drawing.Point(77, 159); - this.btnSide2.Name = "btnSide2"; - this.btnSide2.Size = new System.Drawing.Size(66, 126); - this.btnSide2.TabIndex = 35; - this.btnSide2.Text = "2"; - this.btnSide2.UseVisualStyleBackColor = true; - this.btnSide2.Click += new System.EventHandler(this.btnSide2_Click); - // - // btnSide1 - // - this.btnSide1.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSide1.Location = new System.Drawing.Point(9, 159); - this.btnSide1.Name = "btnSide1"; - this.btnSide1.Size = new System.Drawing.Size(66, 126); - this.btnSide1.TabIndex = 34; - this.btnSide1.Text = "1"; - this.btnSide1.UseVisualStyleBackColor = true; - this.btnSide1.Click += new System.EventHandler(this.btnSide1_Click); - // - // btnSide - // - this.btnSide.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnSide.Location = new System.Drawing.Point(131, 99); - this.btnSide.Name = "btnSide"; - this.btnSide.Size = new System.Drawing.Size(80, 47); - this.btnSide.TabIndex = 33; - this.btnSide.Text = "获取"; - this.btnSide.UseVisualStyleBackColor = true; - this.btnSide.Click += new System.EventHandler(this.btnSide_Click); - // - // txtSideNo - // - this.txtSideNo.Font = new System.Drawing.Font("黑体", 26F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.txtSideNo.Location = new System.Drawing.Point(9, 99); - this.txtSideNo.Name = "txtSideNo"; - this.txtSideNo.Size = new System.Drawing.Size(120, 47); - this.txtSideNo.TabIndex = 32; - this.txtSideNo.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // label8 - // - this.label8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); - this.label8.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label8.Location = new System.Drawing.Point(9, 17); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(202, 70); - this.label8.TabIndex = 31; - this.label8.Text = "滑撬号"; - this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labColor2 - // - this.labColor2.BackColor = System.Drawing.Color.White; - this.labColor2.Font = new System.Drawing.Font("黑体", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labColor2.Location = new System.Drawing.Point(528, 487); - this.labColor2.Name = "labColor2"; - this.labColor2.Size = new System.Drawing.Size(514, 159); - this.labColor2.TabIndex = 47; - this.labColor2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labColor1 - // - this.labColor1.BackColor = System.Drawing.Color.White; - this.labColor1.Font = new System.Drawing.Font("黑体", 30F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labColor1.Location = new System.Drawing.Point(1, 487); - this.labColor1.Name = "labColor1"; - this.labColor1.Size = new System.Drawing.Size(514, 159); - this.labColor1.TabIndex = 46; - this.labColor1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labDefect1 - // - this.labDefect1.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labDefect1.ForeColor = System.Drawing.Color.Red; - this.labDefect1.Location = new System.Drawing.Point(1, 170); - this.labDefect1.Name = "labDefect1"; - this.labDefect1.Size = new System.Drawing.Size(514, 55); - this.labDefect1.TabIndex = 48; - this.labDefect1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // labDefect2 - // - this.labDefect2.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labDefect2.ForeColor = System.Drawing.Color.Red; - this.labDefect2.Location = new System.Drawing.Point(528, 170); - this.labDefect2.Name = "labDefect2"; - this.labDefect2.Size = new System.Drawing.Size(514, 55); - this.labDefect2.TabIndex = 49; - this.labDefect2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // FrmFirstCheck - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1280, 1024); - this.Controls.Add(this.labDefect2); - this.Controls.Add(this.labDefect1); - this.Controls.Add(this.labColor2); - this.Controls.Add(this.labColor1); - this.Controls.Add(this.groupBox1); - this.Controls.Add(this.btnAbt2); - this.Controls.Add(this.btnRepair2); - this.Controls.Add(this.btnPass2); - this.Controls.Add(this.btnAbt1); - this.Controls.Add(this.btnRepair1); - this.Controls.Add(this.btnPass1); - this.Controls.Add(this.labBarCode2); - this.Controls.Add(this.labBarCode1); - this.Controls.Add(this.label14); - this.Controls.Add(this.label15); - this.Controls.Add(this.labXingHao2); - this.Controls.Add(this.labXingHao1); - this.Controls.Add(this.label9); - this.Controls.Add(this.btnSubmit); - this.Controls.Add(this.label7); - this.Controls.Add(this.labChangeColor); - this.Controls.Add(this.labelVersion); - this.Controls.Add(this.labStation); - this.Controls.Add(this.labWorkClass); - this.Controls.Add(this.rdo3); - this.Controls.Add(this.rdo2); - this.Controls.Add(this.rdo1); - this.Controls.Add(this.labTime); - this.Controls.Add(this.pictureBox1); - this.Controls.Add(this.labTitle); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Name = "FrmFirstCheck"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "喷涂一次检验"; - this.Load += new System.EventHandler(this.FrmFirstCheck_Load); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - this.groupBox1.ResumeLayout(false); - this.groupBox1.PerformLayout(); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.Label labTime; - private System.Windows.Forms.PictureBox pictureBox1; - private System.Windows.Forms.Label labTitle; - private System.Windows.Forms.RadioButton rdo1; - private System.Windows.Forms.RadioButton rdo2; - private System.Windows.Forms.RadioButton rdo3; - private System.Windows.Forms.Label labWorkClass; - private System.Windows.Forms.Label labStation; - private System.Windows.Forms.Label labelVersion; - private System.Windows.Forms.Label labChangeColor; - private System.Windows.Forms.Label label7; - private System.Windows.Forms.Button btnSubmit; - private System.Windows.Forms.Label label9; - private System.Windows.Forms.Label labXingHao1; - private System.Windows.Forms.Label labXingHao2; - private System.Windows.Forms.Label labBarCode2; - private System.Windows.Forms.Label labBarCode1; - private System.Windows.Forms.Label label14; - private System.Windows.Forms.Label label15; - private System.Windows.Forms.Button btnPass1; - private System.Windows.Forms.Button btnRepair1; - private System.Windows.Forms.Button btnAbt1; - private System.Windows.Forms.Button btnAbt2; - private System.Windows.Forms.Button btnRepair2; - private System.Windows.Forms.Button btnPass2; - private System.Windows.Forms.GroupBox groupBox1; - private System.Windows.Forms.Button btnSideBack; - private System.Windows.Forms.Button btnSide10; - private System.Windows.Forms.Button btnSide9; - private System.Windows.Forms.Button btnSide8; - private System.Windows.Forms.Button btnSide7; - private System.Windows.Forms.Button btnSide6; - private System.Windows.Forms.Button btnSide5; - private System.Windows.Forms.Button btnSide4; - private System.Windows.Forms.Button btnSide3; - private System.Windows.Forms.Button btnSide2; - private System.Windows.Forms.Button btnSide1; - private System.Windows.Forms.Button btnSide; - private System.Windows.Forms.TextBox txtSideNo; - private System.Windows.Forms.Label label8; - private System.Windows.Forms.Label labColor2; - private System.Windows.Forms.Label labColor1; - private System.Windows.Forms.Label labDefect1; - private System.Windows.Forms.Label labDefect2; - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmFirstCheck.cs b/喷涂上线/Code/PaintingPC/FrmFirstCheck.cs deleted file mode 100644 index 7326a2f..0000000 --- a/喷涂上线/Code/PaintingPC/FrmFirstCheck.cs +++ /dev/null @@ -1,1040 +0,0 @@ -using PaintingPC.Model; -using PaintingPC.WebReference; -using System; -using System.Configuration; -using System.Data; -using System.Drawing; -using System.Reflection; -using System.Threading; -using System.Windows.Forms; - -namespace PaintingPC -{ - public partial class FrmFirstCheck : Form - { - public delegate void SideButtonDelegate(object sender); - private static SideButtonDelegate method; - - //静态变量 - #region 抛光 - /// - /// 缺陷部位 - /// - public static string damnPosition1 = ""; - /// - /// 原因 - /// - public static string reason1 = ""; - /// - /// 缺陷部位 - /// - public static string damnPosition2 = ""; - /// - /// 原因 - /// - public static string reason2 = ""; - #endregion - - #region 报废 - /// - /// 报废-缺陷部位 - /// - public static string abt_damnPosition1 = ""; - /// - /// 报废-原因 - /// - public static string abt_reason1 = ""; - /// - /// 报废-缺陷部位 - /// - public static string abt_damnPosition2 = ""; - /// - /// 报废-原因 - /// - public static string abt_reason2 = ""; - #endregion - - #region 修改颜色 - - public static string ColorName = ""; - - #endregion - - /// - /// 当前滑撬号 - /// - public static string skid_No = ""; - static DateTime lighttimerStart = Convert.ToDateTime("2019-01-01 00:00:00"); - - public FrmFirstCheck() - { - InitializeComponent(); - } - - private void FrmFirstCheck_Load(object sender, EventArgs e) - { - Control.CheckForIllegalCrossThreadCalls = false; - InitPage(); - } - - public void InitPage() - { - try - { - string title = ConfigurationManager.AppSettings["Position"].ToString(); - string station = ConfigurationManager.AppSettings["Station"].ToString(); - - labTitle.Text = title; - labWorkClass.Text = Function.GetWorkClass(); - labStation.Text = station; - labelVersion.Text = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); - - Program.IP = ConfigurationManager.AppSettings["IP"].ToString(); - - ClearStaticString(); - - //滑撬号初始值 - txtSideNo.Text = ConfigurationManager.AppSettings["SkidNoStart"].ToString(); - btnSide_Click((object)1, new EventArgs()); - - //System.Threading.Timer timer = new System.Threading.Timer(delegate - //{ - // labTime.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); - //}, - //null, - //2000, - //1000 - //); - - Thread t = new Thread(new ThreadStart(TimeGo)); - t.Start(); - - Thread t2 = new Thread(new ThreadStart(LightTimerGo)); - t2.Start(); - } - catch (Exception ex) - { } - } - - private void TimeGo() - { - System.Timers.Timer timer = new System.Timers.Timer(); - timer.Interval = 10; - timer.Enabled = true; - timer.Elapsed += new System.Timers.ElapsedEventHandler(timer_Tick); - } - - private void timer_Tick(object sender, EventArgs e) - { - labTime.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); - Thread.Sleep(500); - } - - private void LightTimerGo() - { - System.Timers.Timer LightTimer = new System.Timers.Timer(); - LightTimer.Interval = 100; - LightTimer.Enabled = true; - LightTimer.Elapsed += new System.Timers.ElapsedEventHandler(LightTimer_Tick); - } - - private void sideBtnMethod(object sender) - { - Button btn = sender as Button; - txtSideNo.Text += btn.Text; - } - - /// - /// 清空页面 - /// - public void ClearPage() - { - #region 清空页面 - - labXingHao1.Text = ""; - labXingHao2.Text = ""; - labColor1.Text = ""; - labColor2.Text = ""; - labBarCode1.Text = ""; - labBarCode2.Text = ""; - labColor1.Tag = ""; - labColor2.Tag = ""; - labDefect1.Text = ""; - labDefect2.Text = ""; - - #region 抛光 - damnPosition1 = ""; - reason1 = ""; - damnPosition2 = ""; - reason2 = ""; - #endregion - - #region 报废 - /// - /// 报废-缺陷部位 - /// - abt_damnPosition1 = ""; - /// - /// 报废-原因 - /// - abt_reason1 = ""; - /// - /// 报废-缺陷部位 - /// - abt_damnPosition2 = ""; - /// - /// 报废-原因 - /// - abt_reason2 = ""; - #endregion - - #region 修改颜色 - - ColorName = ""; - - #endregion - - #region 清空选择按钮 - - ClearControlColor(SetControlGroup1()); - ClearControlColor(SetControlGroup2()); - - #endregion - - #endregion - } - - /// - /// 清空静态字段值 - /// - public void ClearStaticString() - { - #region 抛光 - damnPosition1 = ""; - reason1 = ""; - damnPosition2 = ""; - reason2 = ""; - #endregion - - #region 报废 - /// - /// 报废-缺陷部位 - /// - abt_damnPosition1 = ""; - /// - /// 报废-原因 - /// - abt_reason1 = ""; - /// - /// 报废-缺陷部位 - /// - abt_damnPosition2 = ""; - /// - /// 报废-原因 - /// - abt_reason2 = ""; - #endregion - - #region 修改颜色 - - ColorName = ""; - - #endregion - } - - #region 滑撬号数字按钮 - private void btnSide1_Click(object sender, EventArgs e) - { - method = new SideButtonDelegate(sideBtnMethod); - method(sender); - } - - private void btnSide2_Click(object sender, EventArgs e) - { - method = new SideButtonDelegate(sideBtnMethod); - method(sender); - } - - private void btnSide3_Click(object sender, EventArgs e) - { - method = new SideButtonDelegate(sideBtnMethod); - method(sender); - } - - private void btnSide4_Click(object sender, EventArgs e) - { - method = new SideButtonDelegate(sideBtnMethod); - method(sender); - } - - private void btnSide5_Click(object sender, EventArgs e) - { - method = new SideButtonDelegate(sideBtnMethod); - method(sender); - } - - private void btnSide6_Click(object sender, EventArgs e) - { - method = new SideButtonDelegate(sideBtnMethod); - method(sender); - } - - private void btnSide7_Click(object sender, EventArgs e) - { - method = new SideButtonDelegate(sideBtnMethod); - method(sender); - } - - private void btnSide8_Click(object sender, EventArgs e) - { - method = new SideButtonDelegate(sideBtnMethod); - method(sender); - } - - private void btnSide9_Click(object sender, EventArgs e) - { - method = new SideButtonDelegate(sideBtnMethod); - method(sender); - } - - private void btnSide10_Click(object sender, EventArgs e) - { - method = new SideButtonDelegate(sideBtnMethod); - method(sender); - } - - private void btnSideBack_Click(object sender, EventArgs e) - { - string txt = txtSideNo.Text; - if (!string.IsNullOrWhiteSpace(txt)) - { - txt = txt.Remove(txt.Length - 1, 1); - txtSideNo.Text = txt; - } - } - - #endregion - - /// - /// 根据滑撬号获取条码 - /// - /// - /// - private void btnSide_Click(object sender, EventArgs e) - { - try - { - ClearPage(); - - string sideNo = txtSideNo.Text.Trim(); - if (!string.IsNullOrWhiteSpace(sideNo)) - { - - #region 获取AB,上中下 - - string side = ""; - string title = ConfigurationManager.AppSettings["Position"].Trim(); - if (title.Contains("A")) - { - side = "Side_1_BC01"; - } - else - { - side = "Side_2_BC01"; - } - - #endregion - - #region 根据滑撬号查找颜色,判断产品转几圈,一圈的获取第一个条码(多圈的获取下面有数据的行),看是几层, 获取要取的side_1_BC0X - - int circle = Function.GetCircle(sideNo); - string no = ""; - no = Function.GetForeignBarCode(sideNo, side, circle); //获取条码 - - string sideBCstring = Function.GetForeignBCString(no, title); //获取BC列名 - - #endregion - - #region 去老外库获取条码,获取页面信息 - - string Side_BC_1 = ""; - string Side_BC_2 = ""; - - if (!string.IsNullOrWhiteSpace(sideBCstring)) - { - string[] str = sideBCstring.Split(';'); - if (str.Length > 1) - { - Side_BC_1 = str[0].Trim(); - Side_BC_2 = str[1].Trim(); - } - else - { - Side_BC_1 = str[0].Trim(); - } - } - - #endregion - - label7.Text = Side_BC_1; - label9.Text = Side_BC_2; - labBarCode1.Text = Function.GetForeignBarCode(sideNo, Side_BC_1, circle); - labBarCode2.Text = Function.GetForeignBarCode(sideNo, Side_BC_2, circle); - } - else - { - labBarCode1.Text = ""; - labBarCode2.Text = ""; - } - - #region 查询外国数据库获取颜色 - - string colorInfo = ""; - string colorName = Function.GetForeignDataColor(sideNo, out colorInfo); - if (!string.IsNullOrWhiteSpace(colorName)) - { - if (!string.IsNullOrWhiteSpace(labBarCode1.Text)) - { - labColor1.Text = colorName; - } - if (!string.IsNullOrWhiteSpace(labBarCode2.Text)) - { - labColor2.Text = colorName; - } - } - else - { - labColor1.Text = ""; - labColor2.Text = ""; - } - - if (!string.IsNullOrWhiteSpace(colorInfo)) - { - labColor1.Tag = colorInfo; - labColor2.Tag = colorInfo; - } - else - { - labColor1.Tag = ""; - labColor2.Tag = ""; - } - - - #endregion - - #region 方案2:如果老外库里取不到条码和颜色,读取扫描的滑撬号和条码号 - - //if (string.IsNullOrWhiteSpace(labBarCode1.Text.Trim()) || string.IsNullOrWhiteSpace(labBarCode2.Text.Trim())) - if (string.IsNullOrWhiteSpace(labBarCode1.Text.Trim())) - { - string bcStrs = ""; - DataTable dtBarCode = Function.GetMesBarCode(labTitle.Text.Trim(), txtSideNo.Text.Trim(), out bcStrs); - if (dtBarCode != null && dtBarCode.Rows.Count > 0) - { - if (!string.IsNullOrWhiteSpace(bcStrs)) - { - string[] bcStr = bcStrs.Split(';'); - if (bcStr.Length >= 1) - { - string colName = bcStr[0]; - label7.Text = colName; - labBarCode1.Text = dtBarCode.Rows[0][colName].ToString().Trim(); - - #region 颜色1 - if (string.IsNullOrWhiteSpace(labColor1.Text)) - { - string color = dtBarCode.Rows[0]["ColorInfo"].ToString(); - labColor1.Tag = color; - if (!string.IsNullOrWhiteSpace(color)) - { - string[] colStr = color.Split(','); - if (colStr.Length > 1) - { - labColor1.Text = colStr[0]; - } - } - } - - #endregion - } - if (bcStr.Length >= 2) - { - string colName = bcStr[1]; - label9.Text = colName; - labBarCode2.Text = dtBarCode.Rows[0][colName].ToString().Trim(); - - #region 颜色2 - - if (string.IsNullOrWhiteSpace(labColor2.Text)) - { - string color = dtBarCode.Rows[0]["ColorInfo"].ToString(); - labColor2.Tag = color; - if (!string.IsNullOrWhiteSpace(color)) - { - string[] colStr = color.Split(','); - if (colStr.Length > 1) - { - labColor2.Text = colStr[0]; - } - } - } - - #endregion - } - } - } - } - #endregion - - #region 获得第一个型号名称 - - string stockNo = ""; - string batchNo = ""; - string partNo = ""; - Function.GetCode(labBarCode1.Text.Trim(), out stockNo, out batchNo, out partNo); - - { - string productName = ""; - Function.GetInfoByStockNo(stockNo, partNo, out productName); - labXingHao1.Text = productName; - } - - - #endregion - - #region 获得第二个型号名称 - - stockNo = ""; - batchNo = ""; - partNo = ""; - Function.GetCode(labBarCode2.Text.Trim(), out stockNo, out batchNo, out partNo); - { - string productName = ""; - Function.GetInfoByStockNo(stockNo, partNo, out productName); - labXingHao2.Text = productName; - - } - - #endregion - - #region 控制按钮是否可点选 - - ButtonDisable(); - - #endregion - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase("喷涂一检滑撬号获取:" + ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - - #region 设置控件是否选中的颜色 - - /// - /// 设置控件颜色,是否选中 - /// - /// - /// - /// - public void ColorMethod(object sender, Color Chose, Color NoChose) - { - Button btn = sender as Button; - if (btn.BackColor != Chose) - { - btn.BackColor = Chose; - btnSubmit.BackColor = Color.GreenYellow; - - if (lighttimerStart.ToString() == "2019-01-01 00:00:00") - { - lighttimerStart = DateTime.Now; - } - //Thread t = new Thread(new ThreadStart(LightTimerStart)); - //t.Start(); - } - else - { - btn.BackColor = NoChose; - btnSubmit.BackColor = Color.FromArgb(192, 192, 255); - } - } - - private void LightTimer_Tick(object sender, EventArgs e) - { - if (lighttimerStart.ToString() != "2019-01-01 00:00:00") - { - TimeSpan span = DateTime.Now.Subtract(lighttimerStart); - if (span.Seconds >= 60) - { - if (labTitle.BackColor == Color.LightGray) - { - labTitle.BackColor = Color.Red; - } - else - { - labTitle.BackColor = Color.LightGray; - } - } - } - } - - /// - /// 清除控件选中 - /// - /// - public void ClearControlColor(Control[] controls) - { - foreach (Control c in controls) - { - c.BackColor = Color.LightGray; - } - } - - private Control[] SetControlGroup1() - { - Control[] controls = { btnPass1, btnAbt1, btnRepair1 }; - return controls; - } - private Control[] SetControlGroup2() - { - Control[] controls = { btnPass2, btnAbt2, btnRepair2 }; - return controls; - } - - private void ButtonDisable() - { - if (string.IsNullOrWhiteSpace(labBarCode1.Text.Trim())) - { - btnPass1.Enabled = false; - btnAbt1.Enabled = false; - btnRepair1.Enabled = false; - } - else - { - btnPass1.Enabled = true; - btnAbt1.Enabled = true; - btnRepair1.Enabled = true; - } - - if (string.IsNullOrWhiteSpace(labBarCode2.Text.Trim())) - { - btnPass2.Enabled = false; - btnAbt2.Enabled = false; - btnRepair2.Enabled = false; - } - else - { - btnPass2.Enabled = true; - btnAbt2.Enabled = true; - btnRepair2.Enabled = true; - } - } - - private void btnPass1_Click(object sender, EventArgs e) - { - ClearControlColor(SetControlGroup1()); - ColorMethod(sender, Color.GreenYellow, Color.LightGray); - } - - private void btnPass2_Click(object sender, EventArgs e) - { - ClearControlColor(SetControlGroup2()); - ColorMethod(sender, Color.GreenYellow, Color.LightGray); - } - - private void btnAbt1_Click(object sender, EventArgs e) - { - ClearControlColor(SetControlGroup1()); - ColorMethod(sender, Color.Red, Color.LightGray); - - abt_damnPosition1 = ""; - abt_reason1 = ""; - - string barcode = labBarCode1.Text.Trim(); - FrmChooseDamnPosition frm = new FrmChooseDamnPosition(barcode); - frm.ShowDialog(); - abt_damnPosition1 = FrmChooseDamnPosition.DamnPosition; - abt_reason1 = FrmChooseDamnPosition.Reason; - - labDefect1.Text = ConcatDefect("[报废]", abt_damnPosition1, abt_reason1); - } - - private void btnAbt2_Click(object sender, EventArgs e) - { - ClearControlColor(SetControlGroup2()); - ColorMethod(sender, Color.Red, Color.LightGray); - - abt_damnPosition2 = ""; - abt_reason2 = ""; - - string barcode = labBarCode1.Text.Trim(); - FrmChooseDamnPosition frm = new FrmChooseDamnPosition(barcode); - frm.ShowDialog(); - abt_damnPosition2 = FrmChooseDamnPosition.DamnPosition; - abt_reason2 = FrmChooseDamnPosition.Reason; - - labDefect2.Text = ConcatDefect("[报废]", abt_damnPosition2, abt_reason2); - } - - private void btnRepair1_Click(object sender, EventArgs e) - { - damnPosition1 = ""; - reason1 = ""; - - ClearControlColor(SetControlGroup1()); - ColorMethod(sender, Color.Yellow, Color.LightGray); - - string barcode = labBarCode1.Text.Trim(); - FrmChooseDamnPosition frm = new FrmChooseDamnPosition(barcode); - frm.ShowDialog(); - damnPosition1 = FrmChooseDamnPosition.DamnPosition; - reason1 = FrmChooseDamnPosition.Reason; - - labDefect1.Text = ConcatDefect("[抛光]", damnPosition1, reason1); - } - - private void btnRepair2_Click(object sender, EventArgs e) - { - damnPosition2 = ""; - reason2 = ""; - - ClearControlColor(SetControlGroup2()); - ColorMethod(sender, Color.Yellow, Color.LightGray); - - string barcode = labBarCode2.Text.Trim(); - FrmChooseDamnPosition frm = new FrmChooseDamnPosition(barcode); - frm.ShowDialog(); - damnPosition2 = FrmChooseDamnPosition.DamnPosition; - reason2 = FrmChooseDamnPosition.Reason; - - labDefect2.Text = ConcatDefect("[抛光]", damnPosition2, reason2); - } - - private string ConcatDefect(string str1, string str2, string str3) - { - if (!string.IsNullOrWhiteSpace(str2) && !string.IsNullOrWhiteSpace(str3)) - { - return str1 + str2 + ":" + str3 + " "; - } - else - { - return ""; - } - } - - #endregion - - /// - /// 提交 - /// - /// - /// - private void btnSubmit_Click(object sender, EventArgs e) - { - try - { - InspectModel model1 = new InspectModel(); - InspectModel model2 = new InspectModel(); - - #region 有条码的必须进行点选,否则不允许提交 - - if (!string.IsNullOrWhiteSpace(labBarCode1.Text)) - { - if (btnPass1.BackColor == Color.LightGray && btnRepair1.BackColor == Color.LightGray && btnAbt1.BackColor == Color.LightGray) - { - MessageBox.Show("条码:" + labBarCode1.Text.Trim() + "没有录入质检结果,不能提交,请补全!"); - return; - } - } - if (!string.IsNullOrWhiteSpace(labBarCode2.Text)) - { - if (btnPass2.BackColor == Color.LightGray && btnRepair2.BackColor == Color.LightGray && btnAbt2.BackColor == Color.LightGray) - { - MessageBox.Show("条码:" + labBarCode2.Text.Trim() + "没有录入质检结果,不能提交,请补全!"); - return; - } - } - - #endregion - - #region 保存Side_1_BC05 - - if (!string.IsNullOrWhiteSpace(labBarCode1.Text.Trim())) - { - LogHelper.WriteSysLogBase("条码:" + labBarCode1.Text.Trim() + "准备存入Inspect表", MethodBase.GetCurrentMethod().Name); - - if (btnPass1.BackColor == Color.LightGray && btnRepair1.BackColor == Color.LightGray && btnAbt1.BackColor == Color.LightGray) - { - MessageBox.Show("请录入检验结果!"); - return; - } - model1.ID = Guid.NewGuid().ToString(); - model1.barcode = labBarCode1.Text.Trim(); - - string[] strs = labTitle.Text.Trim().Split(' '); - if (strs.Length >= 3) - { - model1.side = strs[1].Trim(); - } - - model1.position = labTitle.Text.Trim(); - model1.stationNo = labStation.Text; - model1.workClass = labWorkClass.Text; - - if (btnPass1.BackColor != Color.LightGray && btnAbt1.BackColor == Color.LightGray && btnRepair1.BackColor == Color.LightGray) - { - model1.inspectResult = "[合格]"; - } - if (btnPass1.BackColor == Color.LightGray && btnAbt1.BackColor != Color.LightGray && btnRepair1.BackColor == Color.LightGray) - { - model1.inspectResult = "[报废]"; - model1.damnPosition = abt_damnPosition1; - model1.reason = abt_reason1; - - if (string.IsNullOrWhiteSpace(model1.damnPosition) || string.IsNullOrWhiteSpace(model1.reason)) - { - MessageBox.Show("必须选择报废位置及报废原因!"); - return; - } - } - if (btnPass1.BackColor == Color.LightGray && btnAbt1.BackColor == Color.LightGray && btnRepair1.BackColor != Color.LightGray) - { - model1.inspectResult = "[抛光]"; - model1.damnPosition = damnPosition1; - model1.reason = reason1; - - if (string.IsNullOrWhiteSpace(model1.damnPosition) || string.IsNullOrWhiteSpace(model1.reason)) - { - MessageBox.Show("必须选择抛光位置及抛光原因!"); - return; - } - } - - if (rdo1.Checked) - { - model1.productOption = "1"; - } - else if (rdo2.Checked) - { - model1.productOption = "2"; - } - else if (rdo3.Checked) - { - model1.productOption = "3"; - } - - model1.productInfo = labColor1.Tag.ToString().Trim() + "," + labXingHao1.Text.Trim(); - model1.InspectTimes = "1"; - - if (!string.IsNullOrWhiteSpace(model1.barcode)) - { - Function.InsertInspect(model1); - } - - LogHelper.WriteSysLogBase("条码:" + model1.barcode + "存入Inspect表完毕", MethodBase.GetCurrentMethod().Name); - } - - - #endregion - - #region 保存Side_1_BC06 - - if (!string.IsNullOrWhiteSpace(labBarCode2.Text.Trim())) - { - LogHelper.WriteSysLogBase("条码:" + labBarCode2.Text.Trim() + "准备存入Inspect表", MethodBase.GetCurrentMethod().Name); - - if (btnPass2.BackColor == Color.LightGray && btnRepair2.BackColor == Color.LightGray && btnAbt2.BackColor == Color.LightGray) - { - MessageBox.Show("请录入检验结果!"); - return; - } - - model2.ID = Guid.NewGuid().ToString(); - model2.barcode = labBarCode2.Text.Trim(); - - string[] strss = labTitle.Text.Trim().Split(' '); - if (strss.Length >= 3) - { - model2.side = strss[1].Trim(); - } - - model2.position = labTitle.Text.Trim(); - model2.stationNo = labStation.Text; - model2.workClass = labWorkClass.Text; - - if (btnPass2.BackColor != Color.LightGray && btnAbt2.BackColor == Color.LightGray && btnRepair2.BackColor == Color.LightGray) - { - model2.inspectResult = "[合格]"; - } - if (btnPass2.BackColor == Color.LightGray && btnAbt2.BackColor != Color.LightGray && btnRepair2.BackColor == Color.LightGray) - { - model2.inspectResult = "[报废]"; - model2.damnPosition = abt_damnPosition2; - model2.reason = abt_reason2; - - if (string.IsNullOrWhiteSpace(model2.damnPosition) || string.IsNullOrWhiteSpace(model2.reason)) - { - MessageBox.Show("必须选择报废位置及报废原因!"); - return; - } - } - if (btnPass2.BackColor == Color.LightGray && btnAbt2.BackColor == Color.LightGray && btnRepair2.BackColor != Color.LightGray) - { - model2.inspectResult = "[抛光]"; - model2.damnPosition = damnPosition2; - model2.reason = reason2; - - if (string.IsNullOrWhiteSpace(model2.damnPosition) || string.IsNullOrWhiteSpace(model2.reason)) - { - MessageBox.Show("必须选择抛光位置及抛光原因!"); - return; - } - } - - if (rdo1.Checked) - { - model2.productOption = "1"; - } - else if (rdo2.Checked) - { - model2.productOption = "2"; - } - else if (rdo3.Checked) - { - model2.productOption = "3"; - } - - model2.productInfo = labColor2.Tag.ToString().Trim() + "," + labXingHao2.Text.Trim(); - model2.InspectTimes = "1"; - - if (!string.IsNullOrWhiteSpace(model2.barcode)) - { - Function.InsertInspect(model2); - } - - LogHelper.WriteSysLogBase("条码:" + model2.barcode + "存入Inspect表完毕", MethodBase.GetCurrentMethod().Name); - } - - #endregion - - #region 报废则调WMS WebService,入库 - - try - { - WMSWebService webService = new WMSWebService(); - webService.Url = ConfigurationManager.AppSettings["WMSWebServiceURL"].ToString(); - //webService.Timeout = 120000; - - string errorReason = ""; - - if (model1.inspectResult == "[报废]" && !string.IsNullOrWhiteSpace(model1.barcode.Trim())) - { - webService.WMSSprayingForCS(model1.barcode, 0, out errorReason); - LogHelper.WriteSysLogBase("条码:" + model1.barcode + "调用WMSSprayingForCS完成", MethodBase.GetCurrentMethod().Name); - } - if (model2.inspectResult == "[报废]" && !string.IsNullOrWhiteSpace(model2.barcode.Trim())) - { - webService.WMSSprayingForCS(model2.barcode, 0, out errorReason); - LogHelper.WriteSysLogBase("条码:" + model2.barcode + "调用WMSSprayingForCS完成", MethodBase.GetCurrentMethod().Name); - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase("喷涂一检提交调用WMS接口:"+ ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - - #endregion - - #region 点击提交,滑撬号+1,执行滑撬号获取事件 - - #region 清空页面按钮选择 - - ClearControlColor(SetControlGroup1()); - ClearControlColor(SetControlGroup2()); - - #endregion - - int no = 0; - Int32.TryParse(txtSideNo.Text.Trim(), out no); - no = no + 1; - if (no == 304) - { - no = 1; - } - skid_No = no.ToString(); - txtSideNo.Text = skid_No; - - LogHelper.WriteSysLogBase("条码:" + model1.barcode + "," + model2.barcode + "进入滑撬号:" + txtSideNo.Text, MethodBase.GetCurrentMethod().Name); - btnSide_Click(sender, e); - - #endregion - - btnSubmit.BackColor = Color.FromArgb(192, 192, 255); - lighttimerStart = Convert.ToDateTime("2019-01-01 00:00:00"); - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - - #region 修改颜色 - /// - /// 修改颜色 - /// - /// - /// - private void labChangeColor_Click(object sender, EventArgs e) - { - ColorName = ""; - labColor1.Tag = ""; - labColor2.Tag = ""; - - FrmChangeColor frm = new FrmChangeColor(); - frm.ShowDialog(); - - if (!string.IsNullOrWhiteSpace(ColorName)) - { - string[] str = ColorName.Split(','); - if (str.Length >= 3) - { - labColor1.Text = str[0]; - labColor2.Text = str[0]; - - labColor1.Tag = ColorName; - labColor2.Tag = ColorName; - } - } - } - - private void labChangeColor_MouseMove(object sender, MouseEventArgs e) - { - Label lab = sender as Label; - lab.BackColor = Color.Turquoise; - } - - private void labChangeColor_MouseLeave(object sender, EventArgs e) - { - Label lab = sender as Label; - lab.BackColor = Color.FromArgb(192, 255, 255); - } - #endregion - - /// - /// 点击右上角关闭窗口 - /// - /// - /// - private void labTime_Click(object sender, EventArgs e) - { - Environment.Exit(0); - } - - private void labWorkClass_Click(object sender, EventArgs e) - { - Function.ChangeWorkClass(labWorkClass); - } - - } -} diff --git a/喷涂上线/Code/PaintingPC/FrmFirstCheck.resx b/喷涂上线/Code/PaintingPC/FrmFirstCheck.resx deleted file mode 100644 index 19d2003..0000000 --- a/喷涂上线/Code/PaintingPC/FrmFirstCheck.resx +++ /dev/null @@ -1,481 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - - iVBORw0KGgoAAAANSUhEUgAAAH0AAABMCAYAAABAprgtAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1 - MAAA6mAAADqYAAAXb5JfxUYAAAAJcEhZcwAADsQAAA7EAZUrDhsAAFLNSURBVHhezb13fFfFvi7M+3n/ - vfe957jde4uFooiI2HsXuwiWrShYwQJSpIr0jvTeewm9hk4IkAAhIQESIIEQEggJ6e3Xe8nzPs+Exc72 - RN3nnns/+4x+Weu31sysmXm+dWbWSiP8QQqHw4Zqa2sNhUIhRKNRXgsiZMiDUOTvFI54EeX1YCQIfziK - QDiC2hAQiYDntQjURlgmCj/r8Qf8zOPmby8iUT8iYZ85D4f9CAZcCId4XddYZ4DXdQxG3CzL+2xDqJb1 - RyMIhkOIgG3iebg2jECEhFpeC7MttTf7oHar/fX782vSPaUIG6z89a+r7D9DKiuyfqu8flt1/6vT74Ju - dVxkdUQNrxuAAAH2G5Drjn+nIO/7CbY3WAtXqBbeQAQufxgOXwC2QAj2QC1s/gCqvT7YQz4DWpgAikIE - zBsJwc36fTz38J6bTOQIBeHk0ebzspwHlW4Xavw+uHjNqTxB1uX38jcZicAHBRTrs9ptkUBQ++sDWp+s - e8pr/bbKiYLB4M0x+DVFbhytvFZ+1Wfl+e+Qfhf0sAaK4FmNjlKSQhx8dSQUDhCgOinUtbAhXtOgR6Lw - sX8eSpmbEu4ORQhIGNUE2haKwh4FXKw/QPKTalh/BQeoIhBEJZ9TGYygimUqDYVRwzocLOO+UUZU5fOj - wu+HnVrDwXY6+FwxkJ2agfrGSHsoWgeE+mANuvoUJpNEyRC1hv4RdAtwwxQkAadyOqou01eWN9cNsU4e - 6/LV1e1nPwMBjgWv6fjfDnQ16NdEXWsowvMgOxnRAJoO8neQ52x8gCo2RPUbCnqYh53k7wBB8AcDBJuS - Ha1FuduPGg6Kh+c+PsxLquR5viOIzJJqHM2+grj0TGxKPoM1h5KwMv4oYhJOYFPSSWxITMbaw0nYciwN - O5PTTb5jzJ9eWMaypbBRG6g+GgESJT3qg5NaxkVb4omKMQUGJV7tZfsiQbafFGUfImQmqf0o+2E0AE1O - hNohrKN+izHY5zD7HxHIZB71OcTrqi/gpwSTQf28JxMV4HnI1M88uk5t5CMFqNn8HJOo6iMzCHSLsRoi - 3fut9Hvl6tPvJauOfwA9QknWoLB3tMMUL6pm2e0I7bMGkEzLwaulXaX65gBH2eFowI2IiGCH2DEvM3nZ - cTelSNJcQ5ALXT6cuV6C/RkE+MRJbD6cjPUHT2DdkVSsP5GF3WmXcPD8VRzOvorEnCtIzM3DkcuXceRi - HhKy83Ew6yr2pF/GjtPZLJ+JDcmncSgvG0lXLiP1Wi5y7dWwU2d4+DwvO1blsVPSyYjGnpOiHHD+ruUx - wv7Uqo9BDgL7J3CDBDtAJpJ/IIaIiFnIuMZEyIxRgxjwCZqADVO7SNv55Fson3wUmrAgTZffr3x1g8+s - 8N0Yl2CQPgvr18CrnvrjbsaejKHj76WGyln0z5TXs5WvkU7+TipMaeDARM2RnBullFCK1Hl1MOxjp6Sy - eD/s9yDqsCNMGxukjfV56HhJivgAUYXLi1OX87EpLgmLNu3Cml3x2JuSjpSL2ThzpQA5FQ6UeGnrmVck - JpEKl8qXCpd20G8bqYwVFtAhzHaGkGwPYcKhDPReG4+f1h/GxL2piDlN5sipRpGTJoUunKTfLi0TICDU - Ws6oF86Qg/XSh4jSABBImSjjcHIgfOyPX8Azr5Fw9a+WEmyY2kUGYevCLkT8No5BFY90QGmyPJ4wnHyG - g8xVzV5L+5Q4A7hQUELfQ46nVLtUfZ3KlwkQONaY61xgGu3Co679VlKev2P1H8kCXseGku6J/iPo5N4o - pThCG1nLo/HOSRGey2M3HE7uDUrlCXQOSpSdctpr4HYJNgLkcCLhVAYWbYnFsp37seNoKk5euoqCajsd - Ldp75pEmkFT6CWa1N4hqD9Wz6ubA+dh5N6mGolIRCKOE6rqIIF6kCo3NvYKpCRn4ZsNpvL88DR8sSsKn - Cw7hy7mJ6LHgBFYeKkBynhN5zohhFi/H0EY1W+m1wRVxEqByuHxFBIMMEHVTWoM0B1F4qN49ZHAfB4z+ - NhldtthNgGvI1JXUgDUcAzuC/kqODeENMoogw1Z76YvwGfmU6lN84L7sIgyYuQSDZ81HSvYF9pdjRSmv - 5djV2f1/dCJ1rjEVULqvaw0lXbeYon5567fIAl35GkrWs/8D6LUEvdZINlUaHbUwOxcIOsn9uk41xUIc - CgLi5HkQXr8DDk81LQGlhIAdPXMS8zdtwsy167H22DGcKChCsSSCD6U+gC1oh6PWQ5tP7qfql/p1cOCc - lBh5+6EIPX7mt/kjqCZDiI2uk+Ku2DF+Zxq6ztuFj2duxccrktFu1Xl0WJGBLmsy0HVRGr6YkYTvpyVi - 2LKTWH/kOs6VOI2T5yF5w3LvXHB5rsPnv05d4GT46KqLFNQn9t1NyWYTYKfW8nhqOEBEkYwSCVZxPGy0 - +2SSoI33Szk2HrJGnTa6RHOx/mwJei08iQ4/z8N973bC9+N+QWZxIX0aahYKicY1RPVf5+zVgWORwLYY - 4reS8KkvyTpauOm3yupo/W4o/Q7oijPJUZRkUYihkKQ8cEO9O5nPRhtV6XGihJ25wvzXqZAznTWISUnC - 4GVLsPTwfpx1VKKSDxLVkKqoOUq8VfS4y6lqaffpZXvdVOqUNBmDIOtxKIxjw8qpcksIeJYnin1XKjH1 - UC66Lj2CdjNi8d7iQ/hk7Wl0WpuKjivi0XnZcXy/7iK6bc5E9w1p6L7mOPpvPIFB649iVEwcdiVnosId - NObCH3SgNuCkBqNkRR3UYA5qFS88VNUuhnteOl1h9jfgclDjsW00A6Egr1Nafey3nwNmV2jINpay2Wcq - A1iXUoGeC1Px+qB1aNl1Eh7tNgWPfd4XszfvNKqe1gYucpKHNj/gFyBSs3XA/OPY/zZYVlIeAWflrV/W - AtS611C6Cbr+sagOdA6InB0Cbuy2HDZKsZ9AO+m4uWm/fFTR8p6LCNZFdmpbQQVG7NiHIZt2IL6kEiV8 - QJGI9wrp6ZbT1tvJIKyJsk4niZIcDNBkBKhinQWw28rh8VKK+Hwby+RzQOOuVGP8gWy8PzcOT43chrbT - E/C3tTl4f/1VvLk0A19sysSXmzIo8alkgEx03nYRX23LxHexF9F7z0X8uDkVP64+hNEx+7A24Qwyr1Yi - SDMCghb22alRbJRAaigfj1ThIT/Pjb22c3Sps+gPeF0eVNmqUeOjhqCWo0U3fUu1BbHw+DV8MnEf7v9i - Ge7qvAz3dl+DJwevxdODl+OhrwZhyaFjdC5p6thvBx1bF8fBOJWkfznoOpFqqQ96lJIg0GXffZSAECvy - s6F2qicXVZmP505WksOOzE27jG9X7cWUgylIs3lQxuvFwSjKqBVcrNNDe+VmOS9ts9dDc0CKUpWHaWfD - NB++YCVq6G3b6fBIKySX+DD7SC66LDqI16fFocPKC3hv3VW0J729pgBvrinF22uL8NmWAnRdn41O6zLR - cUsO/rYzBx1JH8Vm49PdOfguLhd943LQZ0MS+q08hAW7ziI9x01prqUZYSyvmb0wDZWcM0p8LdV2LY/k - AnicDtidXtjY1mr6FWrXNY5jmt2H5ecK0X7qXjw8YB0ad5mPO79bi/uH7kObkQfQetAOtOixBG8NX4y9 - 2YWmXDGFxSENyXo8HnnxfwemPmi/B5aVlOe3QNdvS3j/EHSpctmYiOJyFWQjjfcu0KmSPT6fUWsu3pPD - Y+cDSsm5uQ435u5OwMCVu7EuvRjnnHS6qAGq6GxVsmNOeqqO6nL4PQ7WVRfqBdRpxugRRgA+L50rp+em - h37ZHcKuS5VUyyfxzi9b8faUffjbotN4b3kWPojJxYcb8vHB+ut4d/V1vE36aH0huqzPw5fbruLLAyX4 - 7GAxvoovR+f4MnwaX4ovadM778hCj9gsDDuQhyFbLmLa9jxkVcrLZmTBPtrI4AFKtfoZIQPUkgk1bewi - k2r2T4wtyT5eEcCyM0XosmQ/Hu67AHd0XYKmPWLRcmACWg9JRbNBR3FX3wNoMzgO9/ZYiffHxuB0TRgF - ZPgSjq+LY+bl2GieI6ToRsDwOfVBs4D7vaRyFnDK+2uqf72hdBN0hRKaZao7EnB2XOo9xJuKc+VJe9gg - OxtZTU2ggcitcWPJ7iOYtHoTErKuoJihVA3VchUZxEO1H2F+l4+20ONCwOuEz+6A3yF1zo4xbzTg48CG - jforJR3JrcKkHSfw1czt6DAlFh/MPYKPlpzEp6uz8M7is2i36Dw+WpOHTuuv4cvNRVTr1/DZulx8vZXS - vqsUX+0qQec9xfhyH8/3V+PLuCp0PVSJbgkV6HuiAn2OFKHPjlwM2FuMaUdKkFTqM88tpFftoPmqrdUc - P7WQz0NwqN14T57/eXsUs5Ly0XHKdjwzZCnu77cIzfvG4L4RR9Bi6DHcPZyAj0jHnQOScWefw2g97BDu - 67EA/VbsRAXL51NTVHH8AnRKfS4aNq07cAyjPEYlaDfi9n8GdN23tPJvkaUFBGxD6SbotWqApJpoRGm3 - NI2q0EwTFcTIzG/X0JZrkkWzaSWeAJbvOYqpa7cho6SUFlqLHrSFdIxqo9WkMkoMvVt/EY8VrLOKKp4e - Ph2oGjpvctQqGB5dpWbZU+zGoN0ZeGf8arw6dg3az96Pj1am4sPl6fiY9Onqc+i8/hK6U33/uOkiem44 - hz7r0tF7fQa+X5OOb2PO4NsNZxm+kbZlodsOqvO910lF6LU7D/3ir6NvYjH6HrmGn45dx08pNegbn41J - xy7gZJXDSHEV+1nhtFPlKzKhFqCUx57Nw6iNiXh31Frc9c183PbdYjTrtw4PjInDQ1PS0GRUCu4g4I2H - nkaz8bloOjIDzSntj47cj8f7LkZMWo5h6ErWaQu6OKbUlh45iRwt9j/Mvsuui/5Z0JXq522IfgtsK90E - XWDfJIVkaiBteoAN0PRptc9N0KkKWei6L4rFOxMwatkWJOWXoYplfCE7Q7oSuD1FpEIEAmUsWwZPqJzx - cTkqSKX0kCVZ10gpDi+WZlzGoB1JaD99B16ZtBcvT9mJdxcm4L0lJ/D2gkS8NesIPl16Ct+uOY0vlx7D - 9wsPos+ifRi6Kh5TNx/FzF2pmH0gE/MOX8Cy1Hysoupdc6oMK9NKsehoEeYnXMPshCuYTN9gDGnk0cv4 - OSkbfU5ewsCT2RiScBarTl9CaqUH+XRMi8nI5fRPUrLzMGllLD4ZswLP9luKu7svQ5MBu9Fq0mm0mngK - TUecwF+GJOHPQ1Nw19iz+MuI07h91FlK+yncO+gQWveOwWs/L0dCQZUZLxujAgdjfE1ARzWnQZNWSzVv - pmUJkjRifdD+CPT/aroJuqTczDPTlgt4f4QhTETzVrRtvO4kYDYyQSE59Qw94JGrN2DtyQwUUwt4yVjS - Ct5aqkl64+qkk5rCRnVZwbDMRi2gLheSjjqcmM2B/iZmP9pOjsEzY1bhlfEEe3oSOixKRfsFJ/Dm9AN4 - a+o+fLw4CZ0XH8PXC/ejf8wRTN55GqsTc7AvoxDnC6tQUONCodNfR74wrlMlFTqjuEI7eqU6iOwyH1Ly - XYjLs2PthQrMPXUN49nmgamp6H0sGYMPn8IvB1KxLPkCUkvd1GCaLgYOnKY56TEcbb76BY/1WooHBmxC - y1En0GLiOTQdRYCHnsJfhqeg8ejTuGdSJgFPw60DE3Hf8ON4bEQcmn05F9/MizP9dTGKd7ir4XLJtXUg - 6KlGmI4ubaaRcJnP/6yk/1fTTdBDtQxhogymDBFqqreQPG3acw+B1fRiFQfkYEYOxi7dgD1nrqGYFRSy - wYXuWpRxoKtpo+1kEjlkmk5VNyXVO666MPtYIfpsPI13Z+7Fc+M247lftuGFuQfx9qJj+GjFKbwz6yje - mbQT7Sbtxgez46nCszCGtnd2fDE2nSzH6QI/ygisi2pY07NsEk1K3aSIfA1G2/T8GQWEPWYpVVG/8kT4 - j9pTzGu5tN0nXS5sr6zAutJyLMvOx+TDOZi8Pw3rTmUhh+ZLkple4cfHI9bhiYGr8czEY2g1PhW3U6Jv - obP2P4Ycxx1jTuC+cSloMiIJLSecRfORp3Dnz8fw5OhkPDP8MB7+fhFDuUzTBg81Zo23mFqQOi7iQtjO - 0JCg11Lla7VOM5pRqvl/CejRWnrqN8hsZKDHGaDUmxCN58XuAMENYlrMFnQeOAYHLuRTsvzI8Xhoowk4 - G55Pkc+0RXA0P4yVx4owlB541zkH8ebILXh+wHo81p80cAOeG7UHr0w5ipcnHsZL43bj9fHb0H5aLH5Y - cxSTEy5ja64dqeSaDGcA+QRZTqMHiu+1xk6AyYwOj49hFzUJY/ui6lL6HA6GkAEOND1k5q/0eqgJnLjm - 8KGAbc+jSs0hI2cxesggI5xhnnQy8TEK3cESN7bQfqdcrzGMXMDrvRceQEuC12bkQbQYewJNxp/FnWPT - cdcY2vLRR3HP0ENoPvwomgw/geYjkvHA2NN4aPgRtOm1Ge+N34VjNQG2W+Gth7F5FZmvhmG/HWE3gfcr - /tfchxZpCAD9qX856Nq1EqAn72PD3Apdbgz88Zwr6Dt5FgbMXIR+02PQafgCfD52EfrOXIe+M9bg6/HL - 0Wn0avxt2Hq81nc5Hu02Ew98NR1tvl+CZwduxuujd+OtsXvxyuDNZISd+Hx6AnovP4HxO05hzel8pHCg - LlFFy+7bKblalpWGcVAq7F4342WaDq8fTtpdZ5C+BtvnDflpfoImaiglqNdcPmTROUu8VoQ9tM3bMq9g - 85kcrKENj0nJwaZT1xGbVYGDuQ4cKfIiwRGg9IdxMK8Mp0ocKCXzyhQNXJ+IO75ZiBYMv5oOT8Jfh51E - MwLbcmwa7qfXfu/QONxDkO8czPORx/HI+FNo1TcWD3ZbiYFrzyCT0UkpIwJ7wE1w6cTVMnIJUL1T22hp - VnsSTHiskO1fJelaSYpYFPKaNWIf7bSbDZDkXCitxPT1mzBr216klFVj7QnGvRsOY8Ca/Xh/1DS83LMv - nv1+AB77tg8e6zYQj3w/CM90n4CX+05Dh1Fr0G7kanQYuwzd5mzH5O0p2JpagKNU+2lFLuRRomVPpaqd - IXr1DPFqXPT0nTZKs5vtIPP5g3W7Y9g+OxtcQUYo1iIHdfxVapiEQhc2nS/ECqrpJWeyMSP9AqbTFC28 - UI75GcWYn1qIRSklWHnchi2knWlObEitxOK0K9h6oQA7MrKRWVmNMvZX8fuATUfQrPdGPDAhDc3HpOKv - dNz+MugwmSABjxLsh4dTEwwjjTiM+4cnojWBv7fnFrw8eCdiMmzIYx1FIfo2IbN0RKeWfQkRdEq1S74S - /SYDMmP2KLXXvwR0TcSYxQDNREXpxNHW2A3V2cftJ05i8Iy5OFdUYsKQfKqu65SuS4xBL9gJXmUp9l/P - of2+gHXZGViUloxVp85hXeZFbMy6hMMlFcihE1fiY9hHztZOFxulQbtn7LS3kuyA4nYPJcJn50Bohoz6 - pZaKnQ6hPWg3zqGdz60iFXAoL/hqsTvHhmWnCzHraB699ByMS8vGtLOFmJ5VjKkXyzDjbCWBd2J1TgRb - rio/sPNiLbae9WPHpRA2Zhdjw7lcxJ7PRg5NglbKtEYwZEcibuu6GC2pwlv+ch53js9ieHYcrYccwhOD - 96HN4D1U74dp71PQZhSvD+S1Hqvx+aw4pNuDRlvYCLAmd7QE5aEpEtAaSxfVu1d7FQiw2ZVUD/B/BvT6 - eX+Lfi/dBD3iZijh1jp4CJUcdDs99jIfbWYwgGK/H8OmzULMtt0mhq3whcyMm4uFtXqlRYx/JmnlSp6+ - kypNA2JjXZrhC0TlRwQQ8DLs89LXj9Aa1tIlDNjg4zVXyAMn89AqopR1ZDoj2Hy+DDPjL2Lk3tMYeug8 - JiTlY3rqdcyiVM85W4p5WWVYdLEGSy85sTLHh425YWzLq8XO3FrE5kax43IQcQzQ916tIgPk4dCVAmRU - VaOATClJH7YzEXf3XoxWow+gCR2328ZewJ3D09GSYVrrIcdw37DjaD72PNV+Ku4fdxKPDNiJZ3vOxcLD - WUYoijmeQUq0W1PYFCStWQTI6EH236tNKTxKwrVTp5bjUB+wPwJd9wXcb5FV/rfAV546SVfsSIdHu0Xs - QS8dszCqyABlbGhK3lWMnjkHSWnpplCVgyBQumWP3G433HTofDc2CASlLXiunaxhqrdwWNuoaNMYn/q9 - VG1kGDvtsYM2zUbSZscgVTi9G9o25vXbKOkEm2W8Qap2gi3vu5ztP+8KYvulSsxKvIKxcUUYHX8dwwn2 - sJPXMT69AtPTqzEvowbzz1Zj2flqrMxmqHbZS8B92E7acyWMPflR7L0Wwb7CMOLLojhY4EB8bilOFlbi - UpUdJQRIs2g/b05Eiz6L0HLMbnrrR/GnMZm4c0QWY/EMNB+WhrsZk985Jgd/HXWO4dxJPN5/C76gT3Oq - qNr4P1o9DIZdNJPqA32kqEDXRtEoVT2BuwF6lOMsAP5Z0K37mnnTsT5ZoKs+61pD6SbotV5yHClEUNwE - o5ycqfDlmsuPRTv2Yta6tShzKBCj+hPoTi/ljqGZ2eQYoCMVRTk5toYmwUWgXAz7XIwCnAyjNMXpJCNI - ql26z6O7ls4Y2d3PjtfNTNHO+Vxwel1kCj+BZl7WX0qpOF1BSb1QimmHL2HY7vP4aW8OfjpShiHHqjAi - tQYjzjgw/qwD0897MPtCEPOzfVh5yYO1eR5su+LHrqs+xOUHkHA9iKTCWiSVRJFUHEVyaQTHin04Sb8i - s9zBGD9AKY+gkGPVY8lh3PvjSrQcfRB3UJL/XaCPPoW7RiXTWz+Ou2nDGw87hduHpeCeAXvx6I+rsOhQ - ulHr5T7acPbHo+VajoW/Vlu863bkaGXSR+eU3a5z4DgW9QH/I9CVlEfAWXnrl7UAtYBvKN0EPUIpFPk8 - mpBhjE1HTmpKe9oGzZyHbceOGnukBruoFTw+qmMCbaNm0EpapUBnJ6p4XzZawJJ/4OFz3QRODqHssdbh - 3SQt2ui+j/eVt0Jr6DQvUv16bhHryqgJYsv5Ykzcl4kBOzLQg3F+39iLGJpQiuGpTgw95cfw036MyHBj - UmYQM7ODmEW1vTA3iNV5AWwi0Huu0TMvDCGxMICUkgDOlAaQXhlCenkIZ8sDSCsO8prfgH6d/onY+ky1 - Dx9P3I57foyht56IxrTbt4zLoIpPpnQnoumog7h3dAKa0cY3+/kQ7u65Fu+O3oIL7ojxB8o5Nm4fNVtE - a/DaP0cmoDlUeKbVNW1AESANSbno/wTo1r2G0k3Qtect6g9T2nyUslqU05arA7vOZqD3hKnILikzoNew - Q0FKqLb2uEhOSnc1667ivUpKSRV/CzQHj16tRRsV7oOvtm5fe4ASb6iWJoD3XGSucoZZVQTbwefKnubx - QRvSCzBi5yl0X52I79elYkBcAYYkVqDfwXL8sLcU/RNdGHqmFj+nhzDyjBuTL0QwKyeKuTlBLM8LIyY/ - gm0FQRwoClHC/Ugp9SGjwo/sag9yanzIqw7iSpUfeZW1uFTuR26Fh8yrUJF2PrcIbYevQMt+69GCIN82 - LgV/+iUNt5LuGJfAWD0e94yk1z6KXvvgvbi/50r8sv+S0UzSdG6p8CB/kSLafCJVH6Dfwj5GOHbaUm1m - Ps2xDrz69F8F3br2h6BHKXbRANU7yUn7U81CZQRu6f59GDpvad0sGyspd5KDKbkexsR2MoiUvJPgOTRV - y3DKTRXmpXPi47k3ogkTD9WcixLt4sPciNIpi0Ro62XrvA4ThlVT1WmHzDmK/c48GybF5+Cb5cn4JiYN - PbZdQK9dVwh0AXofqsKPiQ4MSHLjpxNe/HTcibGnnZhyzoY5mS4suhTGMkp6TH7QAL63yI+j1z1ILvFQ - qr24XOVDMQEvY2xeSQ+7muFDjS2KYjJDKa+5CXoR2zHjQBqeGrSEDttu3DOGapyg3zohHbcyFr9tbBKa - khHuHkGwB23D4z9vwCcz9iDdEzUMqy1XQTJ0Le14bVhv+8i/8dEGE3Q5btSEtRwvAaKB1/HXJFB+KwlM - q5yOIgtwnf/nQPdT1/r5UDaqko6VVHEBQZ26cSMmrl5npFzrzjVU7QFNjJBs5F5HwE1p1lq7nyrbSdvF - jhoHzs1rNjp1PLI+P53DAJ0kebR+cn9Qu0tp88wSLdu2s9CDGYcvYsDGJHy59DA6rUxFz51X0JcOW899 - hfhuVz6Bv4JBicUYm2rDmORyjEooxKQT+Zh56godt+tYlVmJmEt2bLlUQ2mtQsI1O5KK7EgrsiG7zI5C - mxsV9KoraUZs9FWcLpopglXjpPNK6ZTWyqgKoueCnXjox6VoPeoAmo44ir8yTv+3MWcI+mn8dXw67hid - xDBtLx75aTWeGbAcS1ILzIRSBX0Rr6SZDmitv5r22kXtpshEU9taDhUoBIPmT6CEqAm1rq6jgBDVXxpt - KFnA6lgf+F+T7v0h6CEv40lfnXdZxZhSYOQ5nRi9YgXmbt9jMmvxwMuBcdIMuGij3GQCt9bOtd0p5ECY - wJpXmqS+OQDa6uuj5rBRqhxyEOm8aapCc+c2dq7Q7kdaoR2LEnMweHMaus7fh2+XJaDbupPovi2TdAE9 - Y3MwYE8+Bu4pxE+7LuGn2HQMiU3D5MOZWJSWj5iMAmxUnH2hAHtyShGXV4mj+TYkFzlwptiF9FInMiuc - uGLzosThQ43bBZuXEYf2uHmc8Hi9ZuLHSR/CLLZkV+FvY1bh3h7L0IaqvMnIY7hj7Bk0npCJP41KwV9G - pKIZmeCRMXvxxID5+GrWJpx1+FEu0xQg87PPtUEntSbFRhtLqcbDdOrMgpbAMPvpQzekXQCL/jEEs8Bs - KFkS/M9SQ+km6LW+KLzifDbKycx6rSijtBT9Zs7G8n0HUUjdV8j7LjKgpJ78a+JzhR/OAL1uTxnDMr1g - GDDlHSyv3adO5pOdrOCgmHlt5s9yhLH7fD4mbk9Gz7nb0HHSenw1Zx8l/BC+WZOEb2NO4Zv16eiyJhU/ - bDiDgTvOYVhsFibsO4+5CRexNj0f8QUVOGPzgT4a2xpBGTVVCaXIxkFRyFXGdhbzWaUBvSrF51OabPKc - yawBDrq8azfbrTV+t8+BKpqrIkri6PWH8GiP6bj/5614aNwJNB2ZhrtGn0OL8Zfw58HH0GRoMtqQCVoN - 3Iw3hy+jk1i38bM0SG3hF8g+SrmNAkCbrtlNSrq161Wgawq2lr4QvTgCWLeMre1pdevqDQPdUBL4v0dW - nobSTdAjLnJYgJ41B8/FRipcO5l/DYPmLcSGxBNIy7uOxHPZSDx1FsfTzuHStWt0wshNzCcm4Lgar1/O - jEDWQFxhH3KYIanKi215FZh5ogB916fiy4Xx+GT2fnwwIxYfz9qFr5cdxpcLDuCzeXvw+fy9+HrJQfTf - mo5R+7Jo3y9gQfIFbC8sQZY7gFLWKQfTTo3hoLkIhJ1UiTUI1TqphQL0J6im6VNocqmKQChaMJEEr3sp - bQoRtaPVSwkz8/ZRN8oCNmOPd+SV4fn+M9Gi2zw8OZGAD6LDNiYddw4/hz/1OIInKe1Pj8/And234YXB - W7HmdCku0WPXDGEV6/MEtPOGpk3bpn2UdrZHWk+zbhpkOW56MbOWTjLYFu0/1KtSmocXYwgkSedvgWUl - Uxfz/R79XroJeshJrqSDpt2aklQ5bocvZKMvJf3o5Xzz+3xhOfYmJmP15q1YtWEbNu7eg3WxsdiXlIIT - 2YXMfx0Jl0txKLcUm8/mY/rhXIzZeQ5dFyTi01nxeHf6Lrw6YTteGLMTL004gNen7EWH6XvRieB3m78T - A9cnMH8q5iRkYyvV7NESqmat7hGoIg5sDcKMCgiU4l9JaEB70sli0RqGfzWw+Z1w0sS4NRPGgXOQpLLt - HAM5oXI4FUJqLcFOibcTpArmrdSULjXCD2v2484u43HfoE14YOwJ/LXPQTQfnYo7h6ageb8EvDI+FQ/0 - 3oKW3VZh+I5s5BI7MbhMgya05MtEtbGSmqOWEq8t4xGCLhC0fKoFlpDA5bPZcIqiAJb9/sew7Y9S/by/ - Rb+X/gPoWsGSahbIB86dQ/9Zc3DiWqnpXDl1eSkdoFzG7kdSz2Px2g0YNHEivh40DB/+OAZv/TAOr3cf - izd6TcLLPSfioe9G4d4vhuPRXnPw5MDleHLQKjw3bD1eGROLdtOPovPSDPRZn4Vpey5hbdJV7M+vxHGG - Tuk1AVyl+hAY2sZUrdBQ6pmDWhOyMZZ3IBRlOFSrKU4nwa/kNT8ZQm+o1E3qVFLyiuhHXGHsXUCki9xR - FPFcL1NW+/wEKUiVHkA5y2i71OKUK3isz1w0770ID42Px20/xaNxf9r0ofTUSY8PPYQn+mxA884z8Om0 - g0i20eFlOTGSkw6tL+Ah4HZEfFVGyvVWkPYnmH2Gxo5TkxJwvdkaDdHG055TrlmDPPU/Bvq/ksQEAlmk - VA90LepTvdOZc8qT5c3DWRcxcM58HM8tMJMWVcyo5U4f26imSm2WsROJF3IxZ9N+DF9I2zxiFjr0m4L2 - g2bhg1FL8P7IZfhoEsOa6bH4Ys4BdFuSQKftNOYlFmHHNS+SasLGe5f3q2eI9GIAfT8+S0cNql6GZHQg - CVe8r7V1qk4/B9pJT9lO2yhzpPzlZNx8VxBnSqqRlF9Bh86GjDIHLpGZLlW6kGOrRIWjhvXUhVh67m46 - fm+NWY0mX85GmxGHccdPh/HXn46h6ahkNOnHeLzfATzWaw3adB6DTqO20tlz0XGTHec4se3a3i01jgBN - jaMKQS8ZgKCGyBCy4T6OWyjKPArfIrxHttSmFULBWgR4w6D/Wnrr0+8lAVo/r34LaJHSTdCjtE16Ec9J - 6XBwoLU+nXw1H/1mz0Ns6tk6Oy21z0q8LOBheTttZoGtxmgFJeUp8FNV1riRzhApjR506nU7TlFNZ1QF - cIF+Qx45pph9lbPlhofdD/B5eqmQ4aBCQHrSigiC1Dh676tW4U6EMS8dowBVZiBCqaKa1PvuchQZZqOA - vkh6cQ2OZOVjV0Yx9jJ8O3ipGkfyHDiW50bKNRvOlVYgt9qGMhef5eJzyUSaRdx5uRJfztyJZl/PQLMf - N+CeEafw/3wXh9tGZeLu0VloRga4t+92PPD9AnSZsQP7GQpKwos1R++lpuHzwwRUO44QYvTisXMcGbJp - c6lsNcdKEVGI7Q6T9IpYhKFtmJ69JmkaSgKkPlC/pj+y2Q2Vta4pWb/NNGyQpCRQq2lH00tK0Hv6DMQc - TjIqU/vc9TEBvalh9zAEo1Oil/20icFO0FwcRL3ZpffVlF9SK29fNlRz6RwSBOSx0u0ze/Bogz1eH9xa - iGG87NDWY0pvkNKLkIthD+0jKeinNWdY6GNIpHfebbLxNIuF7ENSiQexlLy1GSVYk5qL1aeKsOV8Oa9V - MXxz4niBF0cul+PU9Qqqea0F0G9h2xU2nmdM/uXMA2jZZRbu7rEeTQYcxJ0jMvBvA9PQeFgGmv18FPcP - 3kvHbineYHi2/1IJGUVOm48mx48aMmeI5sTPKMCrff1sX8RH5mQoaGw5QZfzFtCAq9+kKE1SmKYpTK0l - W95QMj4Ay/wW/RHoDZWXxP8H0PW2iZ+cm372HErsTqMuz5VX4Of5C7Fk98E69S7Jon3S5IZey9UUq14I - 9Eb0xgjVL1Wrl+reTwnVLlonK/bRUYlQEuq+VKH4Xa/20rPVK0XyvMnxHkJg1wwe7bJfrw/TE0ekGmFv - OQfRRnvoJiN4EeSgiYEUjh0rtWHd2auYEp+DmScdWHYhgOVZVVidVYaNOdXYSonceqEIe7OLqOJdOFem - FzPkq9B5Yh0pFyswcN5BPPTNYkr5UtxLG37nkBT8WcSwrDEl/L5BO9Hqx1V4rPcCTN+VbKITRQF69Tog - M0cvXJIbZFzupYTrrV3tSYiwrXo7yMTfHAc/y4TJ6CIqez6fDG3Uex0IVrIAEmi/R8pTP399stR5Q+VE - FvjK08hPENPP5aL34Ak4cSnPSOtFlwvj1m3CmFWxRnVLam20rzatlLBwbYj2Sa8AEbggKzTSTJBltbxS - b7wf1GwdB0bgkiWMqvYF7PAzltWHD6qZ/xrtX5EmfViti0zj5f2IS68DUxO4bfAH2RoyhRjuVFkNNqRf - wpRjZzDyyHkMT6rAiJMhDE91Y0xqBeZnOrD+qh0bsi4j5lQW4ul0ni4rQ5HieNavd+uO5pThq7Hb0OrT - eXig+248ODAJTQck49bBx/HnQQn4a/99VOlb0fKryWg3aD4W7Ek2n0QhnObtU4/ONYgce3nlZmOjBprg - msHnUV+sMOvkAkJU7z+WIuko+nuygFESMNbLCw2RwNOxPqAqY4Fu5ft1PaZ9N6hRlaMWP/SbhifafoT4 - 0xcM6PJqF+6Lw4+T56BSgLCNFW69lULOJaAeXxnBrGbnHSSqNoJoFhUMkYvZEK0khekt61s0tZqTpjMD - UlRAUrIDZAg71aNbEqM4mnbRTXXu9jL8kQ2kdFSyqlPFbqw5mY/xu9MxcFsq+u/JxODDxRiS5EP/RD+G - JXkw5bQL805cwaxjGdhw5gJStVxKr/kabbgc03zq9Bl7zqPt9zPR5pO5eJzxdus++9C8J214r3jcOiAe - dw2mx/5THG75ch6e6bcQy5JyjdNmVh7dNXBQW8kxc/sl5fS/NanCviocq78ZwpImi6zrv0cWeL8+t0h1 - iqzrFsj17+tZui+Af11ev+uXaZSc6cFDL3THPU99hNjki8bmaeVsf1YWek6YhHOFJabjVTQB2pGqvWse - r+bZNOdW9zpQmI5gOEDuolTp2y76dIk+7RGhZNRy8DU4Ub3dofCFGiNCxqklyCADBLzVrI+xN205gzGU - kuELyR9nqgNYk1GDoXuuouvas+i2LQ8DD9dgYKIDPeOq0S/BRbJj9LEqzEqpxorkHCw/cQapZRV1HjYZ - UFoqs8aH4RuO4pEe49G86y+4p9s8szp2X6+tuLPrFrQg+C0H7cXt369F8x9W48WfV2BLZiGukeHkwFbR - Zpc7a9h3zUQyymH/wgRZW50sYBsCSdes+39EVl4dLYDq36//28pb/3nWdYvq52uoTKMx8zPQ4pneeLBt - N8zbmmCsjfaLnS4txuBZ07F23yEz7eow040hOmFSw7SztMEBSqj5NhzVtHaHWEe/XlYk6HReeY3eNjWB - m6SpXjc1h5daIEpvvZZmJOSspj8g+07vns+NK/Bhxokq9N6Wi0+Wn8fH666h09ZidNlZju5xDvQ45Efv - Qy70PVSKfgdyMHxvBpYkF+FokQ85bGMp7b/Z/cPn7s7IxdfTNqLVdxPxl6+noGkfOm39t+H271bi3u+X - 4bF+2/DckL24j+d3fToFHcZvw+bscuPH1EjTBOls+hzsU91GUS0Hm4UVgq6PJ9Qf1PoA/FfIqqc+NZTv - j6iheixq9M436/Dgq2PxwIu90HfCSmN1KtiJXIcdM1YvxcT5c1DD+NNPQCrdAYZ2WhPXbBTlXFJL2xwl - uvpggY8Ono9Hedrmc2Ksi9Eavf5ahmX00tkYreLJw5drQ+SNzVZ9V3lx5yUn+m/NwgcL0vDRmsvoFFuM - jzYX4osdFege70XfRA9+OFCNrtuv4LuNqZiecgn7GSKm0ykoZAwlDSXAyvnMA+eK8emIRWj83kDc990s - 3NMrBv+jx078z9570LhbDFr3WIxHeq5D009mofmn49Dpl92MBEpN/F7NdtZQTTIgo0PG/tHc6AtarrC2 - fMk5JUOTicOKyZlPA2kNtqTSsqM6b4gsFay9CVZeixoCTHkbque3qD4TNkSNWrVfgDbt5+C2p3rjxc/H - GxsotSgv/mD6aQyfPArHziZRkQdR4naYKU+3Zr+krhnCwMOcLgdqvSzpZ/hCyTBHxtdhhjJBvd/uoVag - lx+ketf2oaCJAkIoDwJZHOXtZ22Ytucivlt2Am9M3Y8PVp5Fu9Vn0WF9Jr6Pr0Dv/aX4alU6PpmTgEHr - z2PO0WuILarBcZcbFwmMXiMS4AVknl0Z1zBqaTye/WIMHu40EY98E4MWXdbils4b8b+6Hcef+iTTWTuA - p/qtwD2dJqPp+yPw3YxYpFYETd9LPfoqBfvG/zSxYnPVwOOiKRNDc8BsDNnMhwXI2BpgAaWBtFRofQB1 - 7ddkAftroKwyqstiIIt0v6G6RA3d07Vf11GfGt3WdhZavD0PtzzxE+59exjOVADXqJoFfKGjBsOmjsay - bavoQcsp0tcYgqhgaKKvS2j7NBSyKLzy2wmyVpl4ZN6A5qQjdNioIr0EWLtptUAj9W6nU5hVGsAiOmQ/ - rDiH9ybtJKCH0GnJMXy05AQ6rk7Bp2tP4OOYI+i8LB7dlu7DsI2JWJ6YjZN5LuR7a42zqdW7q6QLlLrY - K6UYtOYInuoyB03eHYcmH0xFm69W4/GeBxmPH0Djz/egWY8TaNKdMfkXMbjvswl4sdd0zNh90kz9ym9x - yEn1u6h8tDuYPQ05Tajp0zIsY3NNJGlGT157OKgBrhvc+gOtY0OkPBYj6KhrFtDWfR2tOhqq99d5rfL1 - f+v4W2Tla3RH26lo/vpM3N12Am557HsMX5ZobGsFIaK8YlXsFvQfNwz7Tx5HAVX+5YoKFNOua8VLIMrP - tlPyK2mXKykZVbKpLCdXz2wWJEllXmGZk+VebErJw8RN8ei96BA+nX4Yr03ch3d+2YFOiw7jCwL8yfxd - 6DxvO75aHIu+G+Mwd99JbD1zCSeLa1BIX0HMKIkUZXtdWJt+Ab2Xb8Mrfefhno5T0OT9+Wj59Tq0+mYX - bvt4Fe7+cgvV+EE88O1ONPtiPW7/aBZafTkbP8xPwI4LxfTy2Vaq6RInHUkyJxU3gt4yOqVqORmbIaiS - zJ7O5MzpfytJMpU04FLXv5U02ErKY53XT9Y1Ha06BXb9Y0NJeb1kSgH6z6ZGrTosopQPR5t2VIXvT8AT - fxuJ+IvlJnSTfTxztRDj5i7B5KUrseXoYaw9eBBbEpKRkJmPHNlStk9ff5LkaYpV8XA2n59GVJKo+Xde - 8WI+w6n+647i89m70X7cBrw5fC7eHLMO7afF4eXxcXhrzEa8M34NOvyyHF0Xr8PIbQew8exlZNQ4cdHp - QQk7pLYospCfoBm5dYcvoM/M9XjumzFo0mEgmn08Ha2+Xo97vt+NO7pux+1dduKBXofRsutWNP9sORq/ - Px23vTMYHYYtw8R9WTha5TPtVl0Z2VeRl3cFAbeNWquCpqmK5qoCFVezsG3TOuzctRt7D8bj4PHj2BN3 - CAfij+DQ4QQcOBCHhIQEFBcXm0EXAGVlZUhJScH+/fuxb98+JCYm4siRI4iPj0dBQYHJ46IDe/ToUcTF - xeHQoUPm/MCBA+b86lXpLrA9edi2bRv27NmD2NhYU4fqOnbsGA4fPmzKXLx40eQVo6isnnfixAmTT79V - v9p3nO3Wb4sateu5Gy1enYimLwzDEx9MwW2P9cI7XacgrUjySiCpljcdPopeo3/Byp3xKPFHsO3QCQyZ - vgydhs/AWz/PwoejVuPzyZvQdf4efLdoH76YuxufTN+GJ/rOwKN9ZuLBPgyTes1G697z8UC/xXhy5AY8 - NywGrw5bhy9nHcTwLRew4Oh17L5QjWx6fqUUpSJKXzlVqTEJJO1h23+xFD/O3EJ7PQoPtBuCB98Zi9Yd - ZuDhr1fhoR8O4N5v4/D/fbgF//5ZLJr+cAi3fByDu75ciNs7jkWbz4Zi3MbDOO+KoID15ZPS3OxLKoHd - F49Ll7IIOgF3Uy+F9EHEahyM3Yynn3gMTz71DF55/Q08/fLLeOq55/HYE0/zGunJJ0hPoUOHDti+fTtr - hAHi448/xoMPPoinn34aL774Ip5//nlzXLBggckj0F566SU8+uijePbZZ8257j/++OPYvHmzySOgdf+p - p54y95577jlTp34rv87vv/9+zJ49G2lpafjb3/6Gli1bmvuPPPKIOT7xxBPmqHaIrN+Npq25iKff+wXN - nx2E2x/qQ09+Cm5/uDe+JSBnaXdlN3PoMK07lIhdxy+aHbBF3iAyy+04eOk6FiRmYuTW4+hCqXvz5+l4 - 6oeReLDrELTpOhRP9JyA53+ahddGrcKHM7bh6+Xx6L8rAyOPVmD+6QrE5lQircxFNV0Hqrx6JYFcQwks - DYSRnFOFGbEp6DhqOR767Bc0/WgKWnQkA328FI9/vB2PdY5Dq8/24pb3N+F/vrMBTb7agxa99uPWT1ag - 8Sdz0fzLMei+ajuOFZWarU1y+C7RPu/Iq8D0A0mYtjEWR0+fRHlNKX0UOqQBfWnKTckNI+5gHB56+FE8 - 8eSzeOr559Dm0Ufw4ksvmkF//rlnDRCvv/46br31VgO0JLi6utoAcO+995oBfuaZZ/DYY48ZgMaOHWv6 - t2rVKnNNgAvoJ5980oAisFavXm3y7Nq1C3fffTdeJqO98sorprxA0zNFaoNAfu211zB9+nR8+OGHuO++ - +8zzlE+MpnIvvPCCqVe/dV3PbXQ824En3+qHe5/rhaZP9MYjb07CQ69OQqvnR+CboXtwmUjINpcwPLtY - QifKHaQNp7dM26StywKqjExxqbQMJ6/kIuHcORw+dR77Tp7DemqE2JRMJGZWIKPYhYs2Ly57grTNBPQG - yHKgZJ+13FnFeq/xx6lLPqyOpfqetBVv9Z6B+94bgcZvjcRf3puCP3+xFE2/WoP7O25G6/YE+P1taPHZ - FrT8cjuafroZf+20CLd2noY7P52Bd8bEYnFaLk7T5snslNAqHy0rxJKU05iwIxF9F23CkrgjKHdrP44f - oUA1Ir5KOnHGcuPIsWQ89ewLeOGV1/Dy66/i5ddewqQJ43G9gNHDju347PPP0bFjR7Rp08YMbmFhoQH+ - 66+/Nr/ffvtttGvXzhw18D179mStwLRp08z99957z4D2zjvvGGlWvt27d5s8e/fuxUMPPWTyvPnmmwbU - mJgYLFmyxDDLW2+9ZeoW0/Tu3RsTJkzAgAEDMGrUKHzyySemjPKIKcV83bp1w9ChQzFo0CA0sgejGDY5 - Bnc+1Bm3PPAFHn5pMh5/cx7ue3Eybnl4ID4bthWbThabCRrZ1OobXriWQAOaYaMTx3/qnBsdeK5vrGhz - QSDgZ6gTqtsxGwnQ85UjRBvEIdZR6+dldB7O0HOMO2vH+rgi/DTlCF79mmbgg1/Q7J3xuO3NCbij/Qzc - /dkS3NOFcXWXLbjzq8244zPa7U93oWnHTWjx6Src8/kStPxsHlp/Pg7P95iIyXtScbLSaz6OcIV03BPG - nNTLGL07DRN2p6BfzD6M2rAfR7LzTX/CtV44nJUmtAxrYoltiz+ehmdeeRvPtH0dz7/4MoF5BnNmT2Nu - hpqZWUatt27d2khX165dUUEnt7KyEh988MFNlfrqq6+iffv2hjEEbFVVFQYPHmzK6Z6k8Y033jCqXOeb - Nm0y9csWS6IFnBhGjOR0Oo3/IKkViSGkUYYMGYKioiLzbOWZMmWKqVMMJUbSc9avX2/uixrJIy2q9uP7 - /ivR+P7vcf+LE3Hf89NxP0O5lm9Oxf97T1fc+Ww3fNZ/Muat24uU3ELzXbQAJVWDJUaQtOpcdWk1TKRr - kmQHeaKKjKDPjBXR+z5b5qPkl2J9/HkMn7cL349chVc+n4RH3huF+94YgWYvjcNtr09C43dnotn7y9Dq - ix14+LtduL/rNjTuuBp/+nAJmtALv7VzDP5Xx6X4Mx20O98bh9Zfj8WH45Zj/alsXPaFjHbKoXN10uHH - ytPXMHjrSfSh79Bvy2X0jDmJ8XuTsDPnOq74wmavgE979AMM0ejN+7xh/gYOpmTgqTc+xLNt36WafR0v - PPs0Pnj/HbR75228/x6vU+IkRT/++KNxxJQ0+FL11r1vv/0WvXr1MoBKVUtt9+/f39jkTz/91JwLHKlr - 0bx580w9p0+fNmBJYpX3c2oVOXX9+vUz9Sjvu+++a5hp0aJF/xARLF261DCKtInqlsaQM2elRtryY6PY - XSoKoUf/Dbjl/m/Rgqr9L4/SLrefjYfemYq7nx+MZs92x4Nv9MLTHXvgw57jMWTaZszccALz9pzHyiMF - 2HqqErEZNmw/XY31SZWISSzF/D1XMWpFCnpM2Y2Og9eiPRnr1e4L8OTHU/Fgh/G4r91YNHttGO5+fQRa - tGO49dYs3N5uKe7rvB2PdNmHFp224q/tVuGO92Jwz8dr0Ywg3/HhbNz+4VTc2n40Vfp4fDh5LaYePY9D - ZeU4RxMkj/waw6eUEmqOk4UYuiEdPy4/jX7rLqLv5lJ8tSQbP67Nwm5K+DUyrsxKRcALl89F/ROBn2bL - T19CQ3ggKQOtn3sDjzz3KiWmA15/ldL+wpN48IHWaHF3CzP4Us0DBw7EqVOnNJ64cuWKsemyn5JeqVRJ - tkCXpH/33XdGEzz88MNGHc+YQWf3hpSLUSybLpBkfyWxuidJHzmS/hIZQEBKrauctMiZM2dMVOC48c6h - HEbdU9ukjWT75fUrKbxrVGX3wx1iPMr/Ckr8GDN/G17+aDAaP9IFdz39Az3kQWjz1ghK4Rjc/doI3PZy - f9z+fH/c03Yk/vrScNzy4hg0fnkqmrwxy4DW/O3ZuJsaoslrlNaXx+GOVybgrrYT0fiV8cwzBc3encYQ - awaatJ+Duz9cSSldjbvar0KLDxhbf7QOrT/aiBbvrcJ9768gLcS9b07D7a9R+l+jJugwAa92W4GOI9dj - /JYE7D6XiwvuutBLEzRHGIYtpVc4/NA1dF97Gt1jcvBDTB6+XXkR3RZnMJ7PwZAVZ7A7oxx26u8a7Rgi - yHrzVu+cma9waHuWVwErkJx6Bk+/SFv+Slu89Jw86CcwoH8vbFi3FtOmTEPPXj0NKK1atTKDK8+9vLzc - DLakTMAIdDluklipazGK7KxAkSpfvny5kVaZgrZt22LNmjXm2fLwxQRSzyr31VdfmQhBmkN1iRFkywWm - 3iBWyKhX05QWL15sGEzaQOZB5RVCKmmeoJGHIVi1pwbVPm3opXkmpWVfw/ApG/FS+wH480Pv4y6q93te - Gol7XvsFLdtNwz1vTEfTtlNxC8G+9dWpuP0VgtqW4d7Lkw0D3E66g3T3W3PRsv1CtOywEK0EYIf5uOeD - uWj2wUI0peq+s91qNPlwK2k1mrang/bmbDRjvU1eHoPmr4xAm3Yj8ULHyWjXcza6TliPiRuSEZflwMWa - uteKNVGT463F9oslGL7zNL5dlYpPVuei47pSdFiZh3fnX0AXgv7Dumx8MTUBveYk40SOy6wN6K8ueD36 - GEOIfohm1xgehjhwQfoefoEeRfLxYwTjGbR98VlKeVva0ecwYvhg3uNdlhkzZoxR4RpY2XUBmJOTY34L - cHnT0gKKseVcWSDKHgt0ASZ1bwEkyZ4/f76pX2VUh1S8tEanTp2QnZ3N0PKS0QIK02TfreTRVDc1nZLq - ENOpXjGI6tm6dau5p/420s4U7efSx+irHXXfdtEHBCpdtcjMrcG0FUfx5YAVDOWo4p/qidZth1PqR6Hx - Cz/jLkpfy/em4b72U3A/maF1uxlo/eZMtOLvVpToh96fjfsp1fe2n4qWtL1N35mIv74+Fk3fnYB7GCb+ - +YV+uOPV/rjr9QG465W+aN62L57rPAUf/rgAP07diimbkqiir+FUmRMF9Ak0R6ZJIDlnR4vKsSApC71W - HcEHU2LRaf5xfLPmPD5edhbtFp7FFxuvofOydHw47SC6zDuCUVsysD3DjgIKg02rg34vQdbetYgBULNe - Ig2KJEYvIWhwX+TgteXAt6P9fOONN9G5c2fjIU+dNsWoVkmcAJXaXbZsGXJzc2/aUkmvnCwBJbWuwZe9 - F4NIqi9fvmy8dYVsAkfgjh8/XtiYiRXZYnntqksm4cKFC+Ze/STJVXv1Z0MEvNKcOXMM4GqfSPVs2LDB - 3DOSHvVoC5MbYa8bHrvDvKsmadefstBRVEUGSs6yYcnmo+g1cgFe7/QznmjXF61e6oe7nuuOu57/Fk2e - +Q7NnumJu5/rgRav/IhWr/XHA28NQvMXe1Fy+6PFm0MI7k8E+kfc8UEfPPL5YLT9Zig6DhhNj30VZqzd - j00Jp5FZZjOzb3ICNdWruPo6I4Qsvw87rxbi571x6DhvA94csxlvjt+HdtOP4f0FZ/Dx4kx8vISgL83C - R0vO4NNFx/HJ7H3ovngP5hw+h1M2h6mrhOq7zFP3YQUBbs2k6cuZcobM31wh+Lou0AWgwJN0Pvnk4wTs - WTOgspO6J2rSpImRYIEoYFq0aGHyP/DAA8aea6Cl5lVGkisQevToYZ4lr1rl9QxJ+s8//8xW1ql3qX0x - h2XbT548ae6JMdU+la+pqTFHJWu6VnG7mFDtVPvk4Ysh1T8Dem3QAb+z3HzcznxSjNzv9zrpFNjh4uDI - xmkDIyO0m0xQzVj9/NUKHDx1BZsTL2DJvjRMjYnDsBkb8cOIxfT0Z6JTn6l4/7sx+LDHeIZ9C9B/7laM - 35CIOfszsD6tCEdybbhQ6UOhI2Tiflkj8amAvsbfmTQ7x2x+LM7IR98tcfho3jq8QeZ4aeIKPD9uE9rP - SUeH+QV4Z95VvLckj0Dn4QNK+CcLUvDx3CP4cMomfLdgO9adyUYu7XcFXbPiQBUctS7zurRAF9gaQA2G - BlHndX9yI2wGU96yJFADJzuscw2+SNKqOFmq/PvvvzfOlJIYRRKt+1Lvffv2NTZXDpsYQSBKouWU6VmS - QJkI1a/nDBs2zNSjaED5RQJQkq4pVrVNzpjaamkniwF0T0mg6/nSQiLVr/je6lujaNiOULCaP5wcFh8C - zmrYy4vhd3Fw9JK9w8X7dRv3fZQ2p90NP0Mi8ZT4y2yl4g+9O1bkCiDf5kVulRt5pPRr1ThXVIPMGhdy - 3AFcoRbR8qckTuCKSvj7MpnqHO30yVIXtpwvwYITVzFkx2l8viQBb0+Pw5NjtuGRkZvw5ITdeHl2Il5f - kIp3FuXgzRnX8MqUbLw+8zzazzyH96an4G9T9+LzmbsxKvYkYjKu4GLAR5MQRrV2soYq4QpVwBuwmYGy - gK5PkgQNjM4VU0viFDNrrls2WA6R5tGt+XTNsyufBl+Deu3aNQOY7msqVUyglJWVZa4nJSVhx44dOHv2 - rLmu+XgxlzVXrvqs6zt37jTPtO4pHFSbFYuLkdRGJV2TarckXiZGz1Kb1X7Zc2khq4+NtBwa9FYh5KWk - B22Ihqne6M16XDUEuBJRSoVPa+ge7SChlxgMo5aS42eop00FPg4oH8/YvNb8vRQ91pzzqA/2S3qlqgW0 - nC/Fz3pV6WQVVdu5asxhaPfT+lP4buERdJ4Rj9eHbMezA9fikf5r8ODArXhoxEE8OT4Rz0w7iadnncPD - My/i/ik8TmQcOzkD7844hzcmp+LlEQfQbsxODF5PsE8XIpk2SR8DLKNuKqGEu8KV8EWdsLvK6LsU1S2P - UtqtgbDIYgRJ0x8laQrlV1K4JPB1rX7SfTGEmMlK1jU9Q/a4zrzUlbOA03W1w0q6LqCVLJAtibeu2Wy2 - m+XrJz1LSc8QYzYKBTz8QYeGkuCy19BzrYD+VolIW5WjPIq0UT+kjw34augAORCMUvUTbjfz6AVCfRZT - 26C0Y8alTRYRfbSApoAaIq/Mjn0pZxFz4CgW7YzDoPlL0HHIfLz4w1I82YPg9liNh3utxaN9t+CZn/fg - 6Z/j8eLok3h5chaeHp+F1qPP4L6RZ3Dv2HO4e9xFtBlP6Z52AW+NP4a3xu7G18uTMfHQVWzNtpk3VsVo - 8uyr6LC5Q27owyrOkBM2tT2ivt1w4DgY9UkSroHRQGpQBZQGX4MrQCVhuq/fuqejpl1VTvXpaJHKCyRr - wJU04PWTdU91CjCVU1K91rlArA++6qhfp5KebaX6daoOlbXqUllj0/XHd/T2SCCq7UGaVtUrOHrf3Hvj - nE4eAQ7pD9hQ0kNRmoNaG2Wbks+jX1+BDtMUhFxmy7O+jKh9cvq2rHaaaJ98Hj3tvcdSMHfdZgyeNgdf - /TQcH/adgncGxuCFfuvxeI8YPPz9SrRhDP7IjzF4+qcdeKLfDrTuuRkP9dmOhwfG4YkhiXh+dDJen3we - 7aamo9vSU5i48xS2nCtCBgVAWkQaRS9WeCJ1bTFbsLWhI+yFW2+2sp+hkF46CJqdLxbQOtYnAWkBbg24 - 3W43c+aKo3UuGynbKUZQUj0CSGWkrjXJUlKiWIPMR4aRiRg9ejS2bNliHLLU1FSj6qW+9SyBJG2xbt06 - nDt3zpRT3D937lxs3LjR5JU50ezbypUrjfoXU2kZVSttMgEyDTNnzjS2Pz093fgLauesWbNMGZkIA7o2 - 8WtTvkjnCt3+TppHJytE9Ed76rYz689a+WsdBL6OEULmowQOqn16xHq9RztmtCWKg2VnHOznYAQkHeRG - fTc+nwOWXVyGQ5lFmB+fjckHLmLohvPoufg4usyNwyeTt+GjXzbjqxm70WXWAXSdF4+ey5KZ5xymH7yG - Vaft2HrRiROVflymo1mkGUV6GMFaH9W3PnFG6QvYjSbSnxYzfxkyGKJGovSS9I66+hYJ1zlA9UmAa1Cs - 33LmBLDOBaDmujW5Ivv4ww8/4KOPPjKxswBXPjGLksI0rYoJLNUn5pDDJ89d06ly/ERffPGFYQQxi0iT - L3LAxFya2VuxYoWJ7eXEjRs3ztQr51EOpRZkFKdrilfO3vvvv2+eofBv8uTJN+ffNZegGTo5kD/99JNZ - BWykjwuJtBvVHGWHb5CbVPcH6sjF7LjeJQtyYPU+lrRARC8V6rXcAAcpQC3Bzpu/UMi8+taKh5yozuiN - 2Bp99YHSJUsp2ZD61SdCS6iZ8ihMWd4ozthDSKVDd6LCj7SqIM7Rs7/kC+MKPfnrQXrgzCvfoJwgV1Ev - OdgGj95+IbP5I3ZqFxFNkL+KbaQq15s0Yli2zUPm9YppTV/U1jp1rCSwLdAl2TpqYUKbEjSvrhhbc95a - 6hTQAlhTqAJEXrjA00yZpE5Jjtq//du/Ga9ZoZLiZg2+JC0jI8M4d5YTKAdPY6QNE4rJNZ8u717PlQOm - 5VitjFlAarVs+PDhJvYXQ2kiZu3atSa/pmqlYcQQkm4xqI7SLmJYMZoBPciB/wci0ObIxssl0JehDFH9 - 690s84d1KfV6MU/Amz8nyUE131GhRJm/RcrGqEHUWWa7sJvXatwelJP07TliWCf51Ao2SqOb5c0f5yPT - 6VMndX9Bzc8jVSwdMT+Zy1vLfJEa2DxFKK0pgI3Op8tvo+2kg+auRMhTSme0AlEtjYYp+9REEWol8+cy - CXKAjMXgwYSe+kCB9YUnJanWX4Nuee4CXJMvip8FosCXF/3NN9+gWbNm6NOnj5Fexd3JycmmPkmpBl+A - SR1rGlaTLpJKkWJ3LbRIWwhMqWlpD0myJmJ0X5sppCnEBGIsAS1J1fKsni2zIMZUSKiIQtpE4Z5m+JRX - U7SSfs0Iqj7N+GlSSf1spIH4D8SxCN1gAuuLxealPJ7rjUy9kKcvK+iov7uq13rqPmdNm0kGsXaKynEw - dpFl6CIRQjIAy/j4AH0z1U/nKqhdKvQJwvQJQrTFklR3pAqeaBXBIQUIarCCoDEsCjPIq1WgJ71Eu0y/ - Q9+or3u7VS9QUFfJzFDFmz8tpjdq1B5qK/PnsQh23Z/Jou1me38Nuo4CXefWPctjlmOm2S2paDGEmEBq - V5JTP0kLTJ061Qy0mENJ6lXSOnHiRGN/tfYtAFWH1sj1PG2TkjYQ6L/88ouRfKl7MZpifIV/CuEEpiZd - xGAyJ4rtNUsoKdacv9qocwHfpUsXY8ulFTR3LwY13nvdIMh23yCKekhvp2iAJBFskAbIvL5DTrD+zrnA - 1pubAl9Ru/aI6+VFwwwcMJXTAwJ6DYi/9ZcMggRf30zVlyA82h5tXvqjtojSD4hqbz2vU/IddB5tlFQH - mcIrH4KRgWx2mOcBMoH+OqL+qqH2nev7skEe9Y69+WtI5Fp99UEfAxDg+ssTxillHTeJDp75WyoNgK6j - tJQ8aEm8jkryrjWospv5+flGvUsda4FFyXL4dJw0aRKaNm1qljjFLBp42Wk5VVo6lbMmJ0v3ZQqU5NxJ - MqWSpV1k6zVFq99iAssZkzbQTN3BgweNWdA9Pe+zzz4zs4LSBFoDEIlBZXYk/fIDdC6GbSRHre4vJxMo - w+WUbHZWHdY3UXQ0wFNNG/BvXDdHgq+JG0m5SKpc9ajjIQKhQdRfbvSYz4zRyeLgu/RFKg048+lPW+tV - KA2+mMW8HcMwy8U2mA8k6EjG0/vwNQRT6/g1LGNz+xCgrdenugI+qn9GCNparTVwvTeuP7MVIeAyOWqj - 8TWi+lNhIoWhPKrNvF7Xz7o+WqCLWSWx6ocFemlpqXGMtFNG6ltqWlIlZ09JnrfKKcluy+GSMyfVLrC0 - yUJqWg6ZpE7ANW7c2JgLJXnsMhOW7RXosvuaupWZkBev1TPN3Wt611pwkb+geuXMyWSoDfLctUCjvGq3 - PHu1RdpG7TR/jM90/kandV6f8y2yBseQpP7GdQ1M3bW6/Dq/WacAoER6GTZJH+jjevqenN50jaq8mIoA - 6QVA/RYjKYrQ58u06GOmZgU+ga77lFndjhsqIj7rBli8L42k16csv0RvoFj3TZv4PNn3KLVJHVGKb5gg - i6z+6lxHSagGUKDrnsCVlGsgZUsFuqTHUuHKJw2he5ImhU1SuwLKSqpH9lcOlzY5SL3LkVMSUGIiaROZ - Ad2T3Rb4CsPERFqn1xy+NIVUu7SMmEH35TvomUoLFy40TCawlbQeoHqs3+bPblodVqoD6+9Aq+NSIzr+ - mtRJga6jQjTlE5nf0gCUNkmZ1K/+hrn5+2+aE5DTx/xG0kl6ydH8wXnmr/ukKCWeoFikEMuYB55Lii1H - MajyqlNtYB0B1uHXixUkC8ybbQzVmRMdFaubdpk21rXFtIfn6rN1Xj+JCQS6QJF6lxoVCNIIVtI4WppB - 06zy6q1dspIwedlae5fdttS6ksZSU6bdu3c3wMv5EuiayhXIkmSBrshBzpjUv+J2PXvEiBE3PXtJuupQ - eCZtoWvSKqpPUi6tIya9CbqVdG5d07H+oNQnC1iLfn1f5Syqe4X576RXk1W/zs0kCcEyb7SG6syEyLwG - TDJq2NyrYyAzfUqgLfBugnmjDfqgj46q3zxbzzGkPv2dLKZuiAScmFdOmlSonCypU4GlzRKaX9fAazFD - 17VHXevosvsqK60gaf33f/93M1GjiRSFWtotIw9boZ0mdbRHXnkFujSCAJMmUSQgTSJGkCRL5UulC0yZ - AKl0zQ+orHwEgS6fQRIuoOXoqYxsvdohR1A+gUK5Opt+Y5B+TdYg/n3Q/pHqg2rRb96X/eZR9QkUfRX5 - H+4LVB0Jvskrya9/X9cl1ea36mbbbpC+52KctRt5f6tt9al+P+uT7qnfOkqKJBkaZA22VHnz5s3Nvjap - cDlUWkWT86RVNUm9VLW0gOy+Nj7KBxBDSGobNWqEv/zlLwZM2XFpCkmvVLMiBKlnedcqo/uy/Vp2VVlJ - uBhBHr/CRwGsVT0xkyIF5Ze3LpAl1dImAl4aQqGiogXVJ+9fZRrdEPDfTJba/88mlatP1jX+w3DrH5N+ - G6p34+Y18+vXv1Un/7Vu/ieT1Z7fShbjyEYq3tYEiI6aLNGGRaXMzEzjgWviQzGyPHFpAGkITdUKDCuv - wi0BKKlXPkmknDtJn2JxgX79+nWzhVohnMIxSaRCLeXViplsuJhNoZwkXY6fVtMEqDx41SutoPBQJO9d - 7VNeAa480hxy7BpJhf0e6UHW1t7/TqRBEf1n2lY/b0N9VX06yu5pkKWCpe6VLObVb4FkaYT6SepW5QW8 - leQL6LlKYiYrWWVVj+UH6PmqQ0k+gDWvr6TrmvOwkspZyWLS+kkmQ9qrftJzdK2R1FhDpIda1ND9P6L6 - 5f9vUEPPrE8NlRHVv9dQGQ20xRQWiAJNEiJv2bouAASSGETAihHEKLqmvMonVSo7r3qtOsQQyispVTmV - 0bMFiO6rXuW1nqX6LGZUPWqb/AeVE9C6pnvyD1Rev1WvzrVeoOervXqG6tTv31Tv9TnbOv/PkuUY/Z+m - hp71a2qonCTCuv9bySprSavl2yhZ9Qgg5dOga/CVJFkCTPd1rmeJgayy1nNVr47Ko/Iqo2dYWkC/rXaq - rO7pXEfVrWuWFAtc1WHl1dGSepHy65raqDbrt+430kWLlKzMVmEd/3fIevD/LWromfWpoTIi9c06WoP0 - 62P9PBboVp317+moe9a5RQJFyarTuq7fVv5fP8e6bpVVOevZOrfaYP22rln1W4wjsp4nssr9/Xlh/P/3 - q22C8fY24wAAAABJRU5ErkJggg== - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmMessage.Designer.cs b/喷涂上线/Code/PaintingPC/FrmMessage.Designer.cs deleted file mode 100644 index 30e11f5..0000000 --- a/喷涂上线/Code/PaintingPC/FrmMessage.Designer.cs +++ /dev/null @@ -1,76 +0,0 @@ -namespace PaintingPC -{ - partial class FrmMessage - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.label1 = new System.Windows.Forms.Label(); - this.button1 = new System.Windows.Forms.Button(); - this.SuspendLayout(); - // - // label1 - // - this.label1.Font = new System.Drawing.Font("宋体", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label1.Location = new System.Drawing.Point(30, 57); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(429, 56); - this.label1.TabIndex = 0; - this.label1.Text = "已经扫描过,不允许再次扫描"; - // - // button1 - // - this.button1.Font = new System.Drawing.Font("宋体", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button1.Location = new System.Drawing.Point(192, 160); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(101, 31); - this.button1.TabIndex = 1; - this.button1.Text = "确定"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // FrmMessage - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(524, 231); - this.Controls.Add(this.button1); - this.Controls.Add(this.label1); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "FrmMessage"; - this.Text = "警告"; - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.Label label1; - private System.Windows.Forms.Button button1; - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmMessage.cs b/喷涂上线/Code/PaintingPC/FrmMessage.cs deleted file mode 100644 index f3a5f34..0000000 --- a/喷涂上线/Code/PaintingPC/FrmMessage.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; - -namespace PaintingPC -{ - public partial class FrmMessage : Form - { - private FrmChainUp1 frm; - - public FrmMessage(string value,Color color) - { - InitializeComponent(); - label1.Text = value; - this.BackColor = color; - } - - private void button1_Click(object sender, EventArgs e) - { - if (Owner is FrmChainUp1 form1) - { - form1.UpdateTextState(); - } - - this.Close(); - } - } -} diff --git a/喷涂上线/Code/PaintingPC/FrmMessage.resx b/喷涂上线/Code/PaintingPC/FrmMessage.resx deleted file mode 100644 index 1af7de1..0000000 --- a/喷涂上线/Code/PaintingPC/FrmMessage.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmPack.Designer.cs b/喷涂上线/Code/PaintingPC/FrmPack.Designer.cs deleted file mode 100644 index d7d5f83..0000000 --- a/喷涂上线/Code/PaintingPC/FrmPack.Designer.cs +++ /dev/null @@ -1,87 +0,0 @@ -namespace PaintingPC -{ - partial class FrmPack - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.label1 = new System.Windows.Forms.Label(); - this.textBox1 = new System.Windows.Forms.TextBox(); - this.button1 = new System.Windows.Forms.Button(); - this.SuspendLayout(); - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Font = new System.Drawing.Font("微软雅黑", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label1.Location = new System.Drawing.Point(33, 27); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(365, 38); - this.label1.TabIndex = 0; - this.label1.Text = "请扫描需要打包的零件条码"; - // - // textBox1 - // - this.textBox1.Font = new System.Drawing.Font("微软雅黑", 14.25F); - this.textBox1.Location = new System.Drawing.Point(40, 110); - this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(488, 33); - this.textBox1.TabIndex = 1; - this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown); - // - // button1 - // - this.button1.Font = new System.Drawing.Font("微软雅黑", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button1.Location = new System.Drawing.Point(210, 223); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(112, 50); - this.button1.TabIndex = 2; - this.button1.Text = "关闭"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // FrmPack - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(560, 309); - this.Controls.Add(this.button1); - this.Controls.Add(this.textBox1); - this.Controls.Add(this.label1); - this.Name = "FrmPack"; - this.Text = "未满器具打包"; - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.Label label1; - private System.Windows.Forms.TextBox textBox1; - private System.Windows.Forms.Button button1; - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmPack.cs b/喷涂上线/Code/PaintingPC/FrmPack.cs deleted file mode 100644 index c463ef0..0000000 --- a/喷涂上线/Code/PaintingPC/FrmPack.cs +++ /dev/null @@ -1,106 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Configuration; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; -using grproLib; -using PaintingPC.Model; - -namespace PaintingPC -{ - public partial class FrmPack : Form - { - public FrmPack() - { - InitializeComponent(); - } - - public event Action OkBtnClick; - - private void button1_Click(object sender, EventArgs e) - { - this.Close(); - } - - private void textBox1_KeyDown(object sender, KeyEventArgs e) - { - try - { - if (e.KeyCode == Keys.Enter) - { - string barcode = "",partNo="",packNo="",partDes="",batch="",qLevel="", type="",color="",filename="",date=""; - int packCount = 0; - - #region 校验数据合法性 - - if (textBox1.Text.Trim() == "") - { - MessageBox.Show("条码不能为空!", "提示", MessageBoxButtons.OK); - textBox1.Focus(); - textBox1.SelectAll(); - return; - } - - #region 判断扫描的是一维码还是二维码,如果是二维码转一维码 - - if (textBox1.Text.Trim().Contains('.')) //二维码 - { - DataTable bardt = Function1.oneBarcode(textBox1.Text.Trim()); - if (bardt != null && bardt.Rows.Count > 0) - { - barcode = bardt.Rows[0][""].ToString(); - } - else - { - MessageBox.Show("条码在系统中不存在!", "提示", MessageBoxButtons.OK); - textBox1.Focus(); - textBox1.SelectAll(); - return; - } - } - else - { - barcode = textBox1.Text.Trim(); - } - - #endregion - - DataTable dt = Function1.GetBarCodeInfo(barcode); - if (dt != null && dt.Rows.Count > 0) - { - DataTable dt1 = Function1.isPack(textBox1.Text.Trim()); - if (dt1 != null && dt1.Rows.Count > 0) - { - MessageBox.Show("此零件已打包!", "提示", MessageBoxButtons.OK); - textBox1.Focus(); - textBox1.SelectAll(); - return; - } - } - else - { - MessageBox.Show("条码在系统中不存在!", "提示", MessageBoxButtons.OK); - textBox1.Focus(); - textBox1.SelectAll(); - return; - } - - #endregion - - - - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - } -} diff --git a/喷涂上线/Code/PaintingPC/FrmPack.resx b/喷涂上线/Code/PaintingPC/FrmPack.resx deleted file mode 100644 index 1af7de1..0000000 --- a/喷涂上线/Code/PaintingPC/FrmPack.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmSecondCheck.Designer.cs b/喷涂上线/Code/PaintingPC/FrmSecondCheck.Designer.cs deleted file mode 100644 index d492110..0000000 --- a/喷涂上线/Code/PaintingPC/FrmSecondCheck.Designer.cs +++ /dev/null @@ -1,461 +0,0 @@ -namespace PaintingPC -{ - partial class FrmSecondCheck - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmSecondCheck)); - this.labelVersion = new System.Windows.Forms.Label(); - this.labStation = new System.Windows.Forms.Label(); - this.labWorkClass = new System.Windows.Forms.Label(); - this.rdo3 = new System.Windows.Forms.RadioButton(); - this.rdo2 = new System.Windows.Forms.RadioButton(); - this.rdo1 = new System.Windows.Forms.RadioButton(); - this.labTime = new System.Windows.Forms.Label(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.labTitle = new System.Windows.Forms.Label(); - this.panel2 = new System.Windows.Forms.Panel(); - this.pictureBox2 = new System.Windows.Forms.PictureBox(); - this.label15 = new System.Windows.Forms.Label(); - this.labProductInfo = new System.Windows.Forms.Label(); - this.label2 = new System.Windows.Forms.Label(); - this.label8 = new System.Windows.Forms.Label(); - this.labFirstCheck = new System.Windows.Forms.Label(); - this.labSecondCheck = new System.Windows.Forms.Label(); - this.label7 = new System.Windows.Forms.Label(); - this.labThirdCheck = new System.Windows.Forms.Label(); - this.label10 = new System.Windows.Forms.Label(); - this.btnPass = new System.Windows.Forms.Button(); - this.btnRepair = new System.Windows.Forms.Button(); - this.btnAbt = new System.Windows.Forms.Button(); - this.txtBarCode = new System.Windows.Forms.TextBox(); - this.labProPosition = new System.Windows.Forms.Label(); - this.button1 = new System.Windows.Forms.Button(); - this.panel1 = new System.Windows.Forms.Panel(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.panel3 = new System.Windows.Forms.Panel(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); - this.panel1.SuspendLayout(); - this.groupBox1.SuspendLayout(); - this.SuspendLayout(); - // - // labelVersion - // - this.labelVersion.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.labelVersion.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labelVersion.Location = new System.Drawing.Point(1062, 99); - this.labelVersion.Name = "labelVersion"; - this.labelVersion.Size = new System.Drawing.Size(206, 70); - this.labelVersion.TabIndex = 24; - this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labStation - // - this.labStation.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.labStation.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labStation.Location = new System.Drawing.Point(852, 99); - this.labStation.Name = "labStation"; - this.labStation.Size = new System.Drawing.Size(206, 70); - this.labStation.TabIndex = 23; - this.labStation.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labWorkClass - // - this.labWorkClass.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.labWorkClass.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labWorkClass.Location = new System.Drawing.Point(642, 99); - this.labWorkClass.Name = "labWorkClass"; - this.labWorkClass.Size = new System.Drawing.Size(206, 70); - this.labWorkClass.TabIndex = 22; - this.labWorkClass.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.labWorkClass.Click += new System.EventHandler(this.labWorkClass_Click); - // - // rdo3 - // - this.rdo3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.rdo3.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.rdo3.Location = new System.Drawing.Point(432, 99); - this.rdo3.Name = "rdo3"; - this.rdo3.Size = new System.Drawing.Size(206, 70); - this.rdo3.TabIndex = 21; - this.rdo3.Text = "项目调试"; - this.rdo3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.rdo3.UseVisualStyleBackColor = false; - // - // rdo2 - // - this.rdo2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.rdo2.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.rdo2.Location = new System.Drawing.Point(222, 99); - this.rdo2.Name = "rdo2"; - this.rdo2.Size = new System.Drawing.Size(206, 70); - this.rdo2.TabIndex = 20; - this.rdo2.Text = "量产调试"; - this.rdo2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.rdo2.UseVisualStyleBackColor = false; - // - // rdo1 - // - this.rdo1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); - this.rdo1.Checked = true; - this.rdo1.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.rdo1.Location = new System.Drawing.Point(12, 99); - this.rdo1.Name = "rdo1"; - this.rdo1.Size = new System.Drawing.Size(206, 70); - this.rdo1.TabIndex = 19; - this.rdo1.TabStop = true; - this.rdo1.Text = "正式量产"; - this.rdo1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.rdo1.UseVisualStyleBackColor = false; - // - // labTime - // - this.labTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.labTime.Font = new System.Drawing.Font("宋体", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labTime.Location = new System.Drawing.Point(1019, 9); - this.labTime.Name = "labTime"; - this.labTime.Size = new System.Drawing.Size(250, 84); - this.labTime.TabIndex = 18; - this.labTime.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.labTime.Click += new System.EventHandler(this.labTime_Click); - // - // pictureBox1 - // - this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); - this.pictureBox1.Location = new System.Drawing.Point(12, 9); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(159, 84); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox1.TabIndex = 17; - this.pictureBox1.TabStop = false; - // - // labTitle - // - this.labTitle.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.labTitle.Font = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labTitle.Location = new System.Drawing.Point(161, 9); - this.labTitle.Name = "labTitle"; - this.labTitle.Size = new System.Drawing.Size(861, 84); - this.labTitle.TabIndex = 16; - this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // panel2 - // - this.panel2.Location = new System.Drawing.Point(12, 671); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(997, 351); - this.panel2.TabIndex = 48; - // - // pictureBox2 - // - this.pictureBox2.Location = new System.Drawing.Point(12, 373); - this.pictureBox2.Name = "pictureBox2"; - this.pictureBox2.Size = new System.Drawing.Size(997, 292); - this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox2.TabIndex = 47; - this.pictureBox2.TabStop = false; - // - // label15 - // - this.label15.BackColor = System.Drawing.Color.Lime; - this.label15.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label15.Location = new System.Drawing.Point(12, 175); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(159, 75); - this.label15.TabIndex = 49; - this.label15.Text = "扫码信息"; - this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labProductInfo - // - this.labProductInfo.BackColor = System.Drawing.Color.White; - this.labProductInfo.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labProductInfo.Location = new System.Drawing.Point(768, 175); - this.labProductInfo.Name = "labProductInfo"; - this.labProductInfo.Size = new System.Drawing.Size(500, 75); - this.labProductInfo.TabIndex = 52; - this.labProductInfo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label2 - // - this.label2.BackColor = System.Drawing.Color.Lime; - this.label2.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label2.Location = new System.Drawing.Point(603, 175); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(159, 75); - this.label2.TabIndex = 51; - this.label2.Text = "产品信息"; - this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label8 - // - this.label8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); - this.label8.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label8.Location = new System.Drawing.Point(1015, 323); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(253, 70); - this.label8.TabIndex = 53; - this.label8.Text = "一检结果"; - this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labFirstCheck - // - this.labFirstCheck.BackColor = System.Drawing.Color.White; - this.labFirstCheck.Font = new System.Drawing.Font("黑体", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labFirstCheck.Location = new System.Drawing.Point(1015, 399); - this.labFirstCheck.Name = "labFirstCheck"; - this.labFirstCheck.Size = new System.Drawing.Size(253, 106); - this.labFirstCheck.TabIndex = 54; - this.labFirstCheck.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labSecondCheck - // - this.labSecondCheck.BackColor = System.Drawing.Color.White; - this.labSecondCheck.Font = new System.Drawing.Font("黑体", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labSecondCheck.Location = new System.Drawing.Point(1015, 584); - this.labSecondCheck.Name = "labSecondCheck"; - this.labSecondCheck.Size = new System.Drawing.Size(253, 106); - this.labSecondCheck.TabIndex = 56; - this.labSecondCheck.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label7 - // - this.label7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); - this.label7.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label7.Location = new System.Drawing.Point(1015, 510); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(253, 70); - this.label7.TabIndex = 55; - this.label7.Text = "二检结果"; - this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labThirdCheck - // - this.labThirdCheck.BackColor = System.Drawing.Color.White; - this.labThirdCheck.Font = new System.Drawing.Font("黑体", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labThirdCheck.Location = new System.Drawing.Point(1016, 769); - this.labThirdCheck.Name = "labThirdCheck"; - this.labThirdCheck.Size = new System.Drawing.Size(253, 106); - this.labThirdCheck.TabIndex = 58; - this.labThirdCheck.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label10 - // - this.label10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); - this.label10.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label10.Location = new System.Drawing.Point(1016, 694); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(253, 70); - this.label10.TabIndex = 57; - this.label10.Text = "三检结果"; - this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // btnPass - // - this.btnPass.BackColor = System.Drawing.Color.LightGray; - this.btnPass.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnPass.Location = new System.Drawing.Point(1010, 881); - this.btnPass.Name = "btnPass"; - this.btnPass.Size = new System.Drawing.Size(66, 144); - this.btnPass.TabIndex = 59; - this.btnPass.Text = "抛光"; - this.btnPass.UseVisualStyleBackColor = false; - this.btnPass.Click += new System.EventHandler(this.btnPass_Click); - // - // btnRepair - // - this.btnRepair.BackColor = System.Drawing.Color.LightGray; - this.btnRepair.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnRepair.Location = new System.Drawing.Point(1077, 881); - this.btnRepair.Name = "btnRepair"; - this.btnRepair.Size = new System.Drawing.Size(66, 144); - this.btnRepair.TabIndex = 60; - this.btnRepair.Text = "打磨"; - this.btnRepair.UseVisualStyleBackColor = false; - this.btnRepair.Click += new System.EventHandler(this.btnRepair_Click); - // - // btnAbt - // - this.btnAbt.BackColor = System.Drawing.Color.LightGray; - this.btnAbt.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnAbt.Location = new System.Drawing.Point(1145, 881); - this.btnAbt.Name = "btnAbt"; - this.btnAbt.Size = new System.Drawing.Size(66, 144); - this.btnAbt.TabIndex = 61; - this.btnAbt.Text = "报废"; - this.btnAbt.UseVisualStyleBackColor = false; - this.btnAbt.Click += new System.EventHandler(this.btnAbt_Click); - // - // txtBarCode - // - this.txtBarCode.BackColor = System.Drawing.Color.White; - this.txtBarCode.Font = new System.Drawing.Font("黑体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.txtBarCode.Location = new System.Drawing.Point(178, 187); - this.txtBarCode.Name = "txtBarCode"; - this.txtBarCode.Size = new System.Drawing.Size(419, 53); - this.txtBarCode.TabIndex = 0; - this.txtBarCode.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - this.txtBarCode.DoubleClick += new System.EventHandler(this.txtBarCode_DoubleClick); - this.txtBarCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBarCode_KeyDown); - // - // labProPosition - // - this.labProPosition.BackColor = System.Drawing.Color.White; - this.labProPosition.Font = new System.Drawing.Font("黑体", 22F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labProPosition.Location = new System.Drawing.Point(1015, 257); - this.labProPosition.Name = "labProPosition"; - this.labProPosition.Size = new System.Drawing.Size(253, 60); - this.labProPosition.TabIndex = 64; - this.labProPosition.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // button1 - // - this.button1.BackColor = System.Drawing.Color.LightGray; - this.button1.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button1.Location = new System.Drawing.Point(1212, 881); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(66, 144); - this.button1.TabIndex = 65; - this.button1.Text = "其他"; - this.button1.UseVisualStyleBackColor = false; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // panel1 - // - this.panel1.AutoScroll = true; - this.panel1.Controls.Add(this.groupBox1); - this.panel1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.panel1.Location = new System.Drawing.Point(12, 248); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(997, 121); - this.panel1.TabIndex = 66; - // - // groupBox1 - // - this.groupBox1.Controls.Add(this.panel3); - this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; - this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.groupBox1.Location = new System.Drawing.Point(0, 0); - this.groupBox1.Margin = new System.Windows.Forms.Padding(0); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Padding = new System.Windows.Forms.Padding(0); - this.groupBox1.Size = new System.Drawing.Size(997, 121); - this.groupBox1.TabIndex = 0; - this.groupBox1.TabStop = false; - this.groupBox1.Text = "更改颜色"; - // - // panel3 - // - this.panel3.AutoScroll = true; - this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel3.Location = new System.Drawing.Point(0, 22); - this.panel3.Margin = new System.Windows.Forms.Padding(0); - this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(997, 99); - this.panel3.TabIndex = 0; - // - // FrmSecondCheck - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1280, 1024); - this.Controls.Add(this.panel1); - this.Controls.Add(this.button1); - this.Controls.Add(this.labProPosition); - this.Controls.Add(this.txtBarCode); - this.Controls.Add(this.btnAbt); - this.Controls.Add(this.btnRepair); - this.Controls.Add(this.btnPass); - this.Controls.Add(this.labThirdCheck); - this.Controls.Add(this.label10); - this.Controls.Add(this.labSecondCheck); - this.Controls.Add(this.label7); - this.Controls.Add(this.labFirstCheck); - this.Controls.Add(this.label8); - this.Controls.Add(this.labProductInfo); - this.Controls.Add(this.label2); - this.Controls.Add(this.label15); - this.Controls.Add(this.panel2); - this.Controls.Add(this.pictureBox2); - this.Controls.Add(this.labelVersion); - this.Controls.Add(this.labStation); - this.Controls.Add(this.labWorkClass); - this.Controls.Add(this.rdo3); - this.Controls.Add(this.rdo2); - this.Controls.Add(this.rdo1); - this.Controls.Add(this.labTime); - this.Controls.Add(this.pictureBox1); - this.Controls.Add(this.labTitle); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Name = "FrmSecondCheck"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "FrmSecondCheck"; - this.Load += new System.EventHandler(this.FrmSecondCheck_Load); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); - this.panel1.ResumeLayout(false); - this.groupBox1.ResumeLayout(false); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.Label labelVersion; - private System.Windows.Forms.Label labStation; - private System.Windows.Forms.Label labWorkClass; - private System.Windows.Forms.RadioButton rdo3; - private System.Windows.Forms.RadioButton rdo2; - private System.Windows.Forms.RadioButton rdo1; - private System.Windows.Forms.Label labTime; - private System.Windows.Forms.PictureBox pictureBox1; - private System.Windows.Forms.Label labTitle; - private System.Windows.Forms.Panel panel2; - private System.Windows.Forms.PictureBox pictureBox2; - private System.Windows.Forms.Label label15; - private System.Windows.Forms.Label labProductInfo; - private System.Windows.Forms.Label label2; - private System.Windows.Forms.Label label8; - private System.Windows.Forms.Label labFirstCheck; - private System.Windows.Forms.Label labSecondCheck; - private System.Windows.Forms.Label label7; - private System.Windows.Forms.Label labThirdCheck; - private System.Windows.Forms.Label label10; - private System.Windows.Forms.Button btnPass; - private System.Windows.Forms.Button btnRepair; - private System.Windows.Forms.Button btnAbt; - private System.Windows.Forms.TextBox txtBarCode; - private System.Windows.Forms.Label labProPosition; - private System.Windows.Forms.Button button1; - private System.Windows.Forms.Panel panel1; - private System.Windows.Forms.GroupBox groupBox1; - private System.Windows.Forms.Panel panel3; - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmSecondCheck.cs b/喷涂上线/Code/PaintingPC/FrmSecondCheck.cs deleted file mode 100644 index b408ead..0000000 --- a/喷涂上线/Code/PaintingPC/FrmSecondCheck.cs +++ /dev/null @@ -1,938 +0,0 @@ - -using PaintingPC.Model; -using PaintingPC.WebReference; -using System; -using System.Configuration; -using System.Data; -using System.Drawing; -using System.IO; -using System.Net.NetworkInformation; -using System.Reflection; -using System.Threading; -using System.Windows.Forms; - -namespace PaintingPC -{ - public partial class FrmSecondCheck : Form - { - int count = 0; //缺陷图选择个数 - public static string ColorName = ""; //修改颜色 - public static string paintId = ""; - - private static string position = "", reason = ""; - - public FrmSecondCheck() - { - InitializeComponent(); - } - - private void FrmSecondCheck_Load(object sender, EventArgs e) - { - try - { - Control.CheckForIllegalCrossThreadCalls = false; - UpdateSoftware(); - InitPage(); - } - catch (Exception ex) - { - MessageBox.Show("网络故障,请联系网络管理员"); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - - public void InitPage() - { - try - { - string title = ConfigurationManager.AppSettings["Position"].ToString(); - string workClass = Function.GetWorkClass(); - string station = ConfigurationManager.AppSettings["Station"].ToString(); - - labTitle.Text = title; - labWorkClass.Text = workClass; - labStation.Text = station; - labelVersion.Text = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); - - Program.IP = ConfigurationManager.AppSettings["IP"].ToString(); - - //System.Threading.Timer timer = new System.Threading.Timer(delegate - //{ - // labTime.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); - //}, - //null, - //2000, - //1000 - //); - - - Thread t = new Thread(new ThreadStart(TimeGo)); - t.Start(); - } - catch (Exception ex) - { } - } - - public void InitColor(string stockNo) - { - try - { - DataTable dt = Function.GetColorByStockNo(stockNo); - if (dt != null && dt.Rows.Count > 0) - { - RadioButton[] rb = new RadioButton[dt.Rows.Count]; - for(int i=0; i 6) - { - rb[i].Location = new Point(rb[i - 1].Location.X + rb[i - 1].Width + 50, rb[i - 1].Location.Y); - } - else - { - rb[i].Location = new Point(rb[i - 1].Location.X + rb[i - 1].Width + 50, rb[i - 1].Location.Y); - } - - } - rb[i].Click += new System.EventHandler(this.rb_Click); - } - - groupBox1.Controls.AddRange(rb); - //panel3.Controls.AddRange(rb); - } - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - throw ex; - } - } - - private void rb_CheckedChanged(object sender, EventArgs e) - { - RadioButton rb = sender as RadioButton; - if (rb.Checked) - { - rb.BackColor = Color.LightSalmon; - } - else - { - rb.BackColor = Color.Silver; - } - } - - private void TimeGo() - { - System.Timers.Timer timer = new System.Timers.Timer(); - timer.Interval = 10; - timer.Enabled = true; - timer.Elapsed += new System.Timers.ElapsedEventHandler(timer_Tick); - } - - private void timer_Tick(object sender, EventArgs e) - { - labTime.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); - Thread.Sleep(500); - } - - /// - /// 缺陷图点击 - /// - /// - /// - void lblRoom_Click(object sender, EventArgs e) - { - Label a = (Label)sender; - string aa = a.Text; - if (a.BackColor == Color.Transparent) - { - a.BackColor = Color.FromArgb(150, System.Drawing.Color.Chartreuse); - position += aa; - count++; - } - else - { - a.BackColor = Color.Transparent; - count--; - } - } - - /// - /// 缺陷原因点击 - /// - /// - /// - void dLbRoom_Click(object sender, EventArgs e) - { - if (count == 0) - { - MessageBox.Show("请选择缺陷区域!"); - return; - } - Label a = (Label)sender; - string aa = a.Text; - if (a.BackColor == Color.Transparent) - { - a.BackColor = Color.Chartreuse; - reason += a.Text + ";"; - } - else - { - a.BackColor = Color.Transparent; - reason = reason.Replace(a.Text + ";", ""); - } - } - - private Control[] SetControlGroup() - { - Control[] controls = { btnPass, btnAbt, btnRepair }; - return controls; - } - - /// - /// 清除控件选中 - /// - /// - public void ClearControlColor(Control[] controls) - { - foreach (Control c in controls) - { - c.BackColor = Color.LightGray; - } - } - - /// - /// 抛光按钮 - /// - /// - /// - private void btnPass_Click(object sender, EventArgs e) - { - #region 必须选择缺陷位置与缺陷原因,否则无法保存 - - string damnPositionTemp = ""; - string reasonTemp = ""; - //缺陷位置 - foreach (Control c in pictureBox2.Controls) - { - Label lab = c as Label; - if (lab.BackColor != Color.Transparent) - { - damnPositionTemp += lab.Text + ";"; - } - } - //缺陷原因 - foreach (Control c in panel2.Controls) - { - Label lab = c as Label; - if (lab.BackColor != Color.Transparent) - { - reasonTemp += lab.Text + ";"; - } - } - - if (string.IsNullOrWhiteSpace(damnPositionTemp) || string.IsNullOrWhiteSpace(reasonTemp)) - { - MessageBox.Show("必须选择缺陷位置与缺陷原因,否则无法保存!"); - return; - } - - #endregion - - ClearControlColor(SetControlGroup()); - btnRepair.BackColor = Color.Yellow; - //保存 - SaveInspect("抛光"); - ClearPage(); - ClearTxtBarcode(); - txtBarCode.TabIndex = 0; - //LoadPage(); - //ClearInspect(); - //ClearControlColor(SetControlGroup()); - } - - /// - /// 打磨按钮 - /// - /// - /// - private void btnRepair_Click(object sender, EventArgs e) - { - #region 可回喷次数 =1,不能打磨, =2 可以, 不能有两次质检结果为打磨 - - string barcode = Function.UniteBarCodeToOne(txtBarCode.Text.Trim()); - int cs = Function.YiDaMoCiShu(barcode); - //if (cs >= 1) - //{ - // MessageBox.Show("该条码已有判定为打磨的质检结果!"); - // return; - //} - - int keHuiPen = Function.keHuiPen(barcode); - - if (keHuiPen > 0 && cs < keHuiPen) - { - #region 必须选择缺陷位置与缺陷原因,否则无法保存 - - string damnPositionTemp = ""; - string reasonTemp = ""; - //缺陷位置 - foreach (Control c in pictureBox2.Controls) - { - Label lab = c as Label; - if (lab.BackColor != Color.Transparent) - { - damnPositionTemp += lab.Text + ";"; - } - } - //缺陷原因 - foreach (Control c in panel2.Controls) - { - Label lab = c as Label; - if (lab.BackColor != Color.Transparent) - { - reasonTemp += lab.Text + ";"; - } - } - - if (string.IsNullOrWhiteSpace(damnPositionTemp) || string.IsNullOrWhiteSpace(reasonTemp)) - { - MessageBox.Show("必须选择缺陷位置与缺陷原因,否则无法保存!"); - return; - } - - #endregion - - ClearControlColor(SetControlGroup()); - btnRepair.BackColor = Color.Yellow; - //保存 - SaveInspect("打磨"); - ClearPage(); - ClearTxtBarcode(); - txtBarCode.TabIndex = 0; - } - else - { - MessageBox.Show("根据该零件可回喷次数设置,不能判定为打磨或已超过打磨次数!"); - return; - } - - #endregion - } - - /// - /// 报废按钮 - /// - /// - /// - private void btnAbt_Click(object sender, EventArgs e) - { - #region 必须选择缺陷位置与缺陷原因,否则无法保存 - - string damnPositionTemp = ""; - string reasonTemp = ""; - //缺陷位置 - foreach (Control c in pictureBox2.Controls) - { - Label lab = c as Label; - if (lab.BackColor != Color.Transparent) - { - damnPositionTemp += lab.Text + ";"; - position = damnPositionTemp; - } - } - //缺陷原因 - foreach (Control c in panel2.Controls) - { - Label lab = c as Label; - if (lab.BackColor != Color.Transparent) - { - reasonTemp += lab.Text + ";"; - reason = reasonTemp; - } - } - - if (string.IsNullOrWhiteSpace(damnPositionTemp) || string.IsNullOrWhiteSpace(reasonTemp)) - { - MessageBox.Show("必须选择缺陷位置与缺陷原因,否则无法保存!"); - return; - } - #endregion - - #region 判断产品是否有颜色 - - string[] ss = labProductInfo.Text.Split(','); - if (ss.Length >= 1) - { - if (string.IsNullOrWhiteSpace(ss[0])) - { - MessageBox.Show("无颜色信息,请重新扫描"); - return; - } - } - else - { - MessageBox.Show("条码有误,请重新扫描"); - return; - } - - #endregion - - ClearControlColor(SetControlGroup()); - btnAbt.BackColor = Color.Red; - //保存 - SaveInspect("报废"); - - #region 报废则调WMS WebService,入库 - - //try - //{ - // WMSWebService webService = new WMSWebService(); - // webService.Url = ConfigurationManager.AppSettings["WMSWebServiceURL"].ToString(); - // //webService.Timeout = 1200000; - - // string errorReason = ""; - // webService.WMSSprayingForCS(Function.UniteBarCodeToOne(txtBarCode.Text.Trim()), 0, out errorReason); - //} - //catch (Exception ex) - //{ - // LogHelper.WriteErrLogBase("工位:" + labStation.Text.Trim() + ",二次质检调用WMS接口:" + ex.ToString(), MethodBase.GetCurrentMethod().Name); - //} - - #endregion - - ClearPage(); - ClearTxtBarcode(); - txtBarCode.TabIndex = 0; - //ClearInspect(); - //ClearControlColor(SetControlGroup()); - } - - public void SaveInspect(string inspectResult) - { - try - { - if (!string.IsNullOrWhiteSpace(txtBarCode.Text.Trim())) - { - InspectModel model1 = new InspectModel(); - - model1.barcode = Function.UniteBarCodeToOne(txtBarCode.Text.Trim()); - model1.position = labProPosition.Text; - model1.stationNo = labStation.Text; - model1.workClass = labWorkClass.Text; - model1.inspectResult = "[" + inspectResult + "]"; - model1.damnPosition = position; - model1.reason = reason; - model1.remark3 = paintId; - - if (string.IsNullOrWhiteSpace(model1.damnPosition) || string.IsNullOrWhiteSpace(model1.reason)) - { - MessageBox.Show("必须选择缺陷位置与缺陷原因,否则无法保存!"); - return; - } - - if (rdo1.Checked) - { - model1.productOption = "1"; - } - else if (rdo2.Checked) - { - model1.productOption = "2"; - } - else if (rdo3.Checked) - { - model1.productOption = "3"; - } - - model1.productInfo = labProductInfo.Text.Trim(); - model1.side = labProPosition.Text.Contains("A侧") ? "A侧" : "B侧"; - model1.InspectTimes = (Function.GetInspectTimes(txtBarCode.Text.Trim())+1).ToString(); - - Function.InsertInspect(model1); - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase("二次质检提交:" + ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - - public void ClearInspect() - { - //缺陷位置 - foreach (Control c in pictureBox2.Controls) - { - Label lab = c as Label; - lab.BackColor = Color.Transparent; - } - //缺陷原因 - foreach (Control c in panel2.Controls) - { - Label lab = c as Label; - lab.BackColor = Color.Transparent; - } - } - - /// - /// 扫码-根据条码查询信息(产品信息、加载图片及缺陷原因、三次检验信息) - /// - /// - /// - private void txtBarCode_KeyDown(object sender, KeyEventArgs e) - { - if (e.KeyCode == Keys.Enter) - { - try - { - ClearPage(); - LoadPage(); - } - catch (Exception ex) - { - MessageBox.Show("请查看网络是否与服务器连通,无法连通请联系网络管理员。"+ ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - } - - private void LoadPage() - { - try - { - ButtonEnable(SetControlGroup()); - //ClearPage(); - - //测试条码:11111111112222222222 - string barcode = txtBarCode.Text.Trim(); - if (barcode.Contains(".")) - { - barcode = Function.TransToBarCodeOne(barcode); - } - - #region 判断条码有效性 - - if (! Function.BarCodeValid(barcode)) - { - MessageBox.Show("扫描的条码号:"+barcode+"无效,请重新扫描!"); - txtBarCode.Text = ""; - return; - } - - #endregion - - #region 查询该系列产品都有什么颜色 - - string canChanageColor = ConfigurationManager.AppSettings["CanChangeColor"].Trim(); - if (canChanageColor.ToLower() == "true") - { - string stockNo = barcode.Substring(0, 10); - InitColor(stockNo); - } - - #endregion - - #region 如果是补打的条码,查询产品信息 - - if (!barcode.Contains(".") && barcode.Length > 4) - { - string strCode = barcode.Substring(barcode.Length - 4, 4); - int num = 0; - Int32.TryParse(strCode, out num); - if (num > 7000) - { - labProductInfo.Text = Function.GetReprintInfo(barcode); - if (string.IsNullOrWhiteSpace(labProductInfo.Text.Trim())) - { - ButtonDisable(SetControlGroup()); - labProductInfo.Text = "没有查询到补打条码信息"; - return; - } - } - - } - - #endregion - - //根据条码查询,加载图片及原因 - int row = 0, col = 0; - string picture = ""; - - #region 缺陷原因 - - try - { - int drow = 0, dcol = 5; //行,列 - - DataTable dt3 = Function.SearchDefectInfo(ConfigurationManager.AppSettings["Station"].Trim()); - if (dt3 != null && dt3.Rows.Count > 0) - { - drow = Convert.ToInt32(Math.Ceiling((double)dt3.Rows.Count / dcol)); - Label[] dLb = new Label[7]; - string[] dstr = new string[dt3.Rows.Count]; - - for (int i = 0; i < dt3.Rows.Count; i++) - { - dstr[i] = dt3.Rows[i]["DefectName"].ToString(); - } - - for (int i = 0; i < dcol; i++) //列 - { - for (int j = 0; j < drow; j++) //行 - { - dLb[i] = new Label(); - if ((i + dcol * j) < dstr.Length) - { - dLb[i].Text = dstr[i + dcol * j].ToString(); - dLb[i].Font = new Font(dLb[i].Font.FontFamily, 24, FontStyle.Bold); - dLb[i].Size = new Size(150, 50); - dLb[i].Location = new Point(20 + i * (dLb[i].Size.Width + 25), 5 + j * (dLb[i].Size.Height + 20)); - dLb[i].BorderStyle = BorderStyle.FixedSingle; - dLb[i].BackColor = Color.Transparent; - dLb[i].TextAlign = ContentAlignment.MiddleCenter; - panel2.Controls.Add(dLb[i]); - dLb[i].Click += new EventHandler(dLbRoom_Click); - } - } - } - } - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - throw ex; - } - - #endregion - - #region 加载图片 - - try - { - DataTable dt = Function.SearchInfoByBarCode(barcode); - - if (dt != null && dt.Rows.Count > 0) - { - row = Convert.ToInt32(dt.Rows[0]["Rows"].ToString()); - col = Convert.ToInt32(dt.Rows[0]["Cols"].ToString()); - picture = dt.Rows[0]["PicturePath"].ToString(); - } - dt.Dispose(); - - if (!File.Exists(System.IO.Directory.GetCurrentDirectory() + @"\" + picture)) - { - - string strImageURL = Function.GetImgPath() + picture; - - System.Net.WebClient webClient = new System.Net.WebClient(); - webClient.DownloadFile(strImageURL, Directory.GetCurrentDirectory() + @"\" + picture); - } - FileStream fs = new FileStream(Directory.GetCurrentDirectory() + "\\" + picture, FileMode.Open, - FileAccess.Read);//获取图片文件流 - Image img = Image.FromStream(fs); // 文件流转换成Image格式 - pictureBox2.Image = img; //给 图片框设置要显示的图片 - fs.Close(); // 关闭流,释放图片资源 - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - #endregion - - #region 缺陷图划分区域 - - Label[] lb = new Label[5]; - string[] str = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" }; - - for (int i = 0; i < col; i++) - { - for (int j = 0; j < row; j++) - { - lb[i] = new Label(); - lb[i].Text = str[i + col * j].ToString(); - lb[i].Font = new Font(lb[i].Font.FontFamily, 32, FontStyle.Bold); - - lb[i].Size = new Size(pictureBox2.Width / col, pictureBox2.Height / row); - lb[i].Location = new Point(0 + i * lb[i].Size.Width, 0 + j * lb[i].Size.Height); - lb[i].BorderStyle = BorderStyle.FixedSingle; - lb[i].BackColor = Color.Transparent; - lb[i].TextAlign = ContentAlignment.MiddleCenter; - pictureBox2.Controls.Add(lb[i]); - - lb[i].Click += new EventHandler(lblRoom_Click); - } - } - - #endregion - - //不是补打的条码,根据条码查询产品信息、检验信息,选中缺陷位置及原因 - DataTable dtInspect = Function.GetInspectInfoByBarCode(barcode); - if (dtInspect != null && dtInspect.Rows.Count > 0) - { - labProductInfo.Text = dtInspect.Rows[0]["productInfo"].ToString().Trim(); //产品信息 - //string position1 = dtInspect.Rows[0]["damnPosition"].ToString(); //缺陷位置 - //string reason1 = dtInspect.Rows[0]["reason"].ToString(); //原因 - position= dtInspect.Rows[0]["damnPosition"].ToString(); //缺陷位置 - reason= dtInspect.Rows[0]["reason"].ToString(); //原因 - paintId = dtInspect.Rows[0]["remark3"].ToString(); //原因 - - #region 三检结果 - - for (int i = 0; i < dtInspect.Rows.Count; i++) - { - string time = dtInspect.Rows[i]["InspectTimes"].ToString(); - string result = dtInspect.Rows[i]["inspectResult"].ToString() + dtInspect.Rows[i]["damnPosition"].ToString() + ":" + dtInspect.Rows[i]["reason"].ToString(); - switch (time) - { - case "1": - labFirstCheck.Text = result; - break; - case "2": - labSecondCheck.Text = result; - break; - case "3": - labThirdCheck.Text = result; - break; - } - } - - #endregion - - #region 选中缺陷位置及原因 - - foreach (Control c in pictureBox2.Controls) - { - Label lab = c as Label; - if (position.Contains(lab.Text)) - { - lab.BackColor = Color.FromArgb(150, System.Drawing.Color.Chartreuse); - count++; - } - } - foreach (Control c in panel2.Controls) - { - Label lab = c as Label; - if (reason.Contains(lab.Text)) - { - lab.BackColor = Color.Chartreuse; - reason += lab.Text + ";"; - } - } - - #endregion - - #region 根据一检结果显示一检时的位置--暂时不要 - - labProPosition.Text = Function.GetFirstInsPosition(dtInspect); - - #endregion - } - else - { - #region 没有一检结果,查询老外数据库,取产品信息 - - string[] info = Function.GetProductInfo(barcode).Split(','); - labProductInfo.Text = info[0] + "," + info[1]; - paintId = info[2]; - - labProductInfo.Tag = Function.GetSide(barcode, paintId); - labProPosition.Text = labTitle.Text.Trim() + " " + labProductInfo.Tag.ToString().Replace(';', ' '); - - #endregion - } - - - txtBarCode.SelectAll(); - } - catch (Exception ex) - { - MessageBox.Show("请查看网络是否与服务器连通,无法连通请联系网络管理员。" + ex.ToString()); - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - - /// - /// 设置按钮不可用 - /// - /// - private void ButtonDisable(Control[] controls) - { - foreach (Control c in controls) - { - Button btn = c as Button; - btn.Enabled = false; - } - } - - /// - /// 设置按钮可用 - /// - /// - private void ButtonEnable(Control[] controls) - { - foreach (Control c in controls) - { - Button btn = c as Button; - btn.Enabled = true; - } - } - - private void labWorkClass_Click(object sender, EventArgs e) - { - Function.ChangeWorkClass(labWorkClass); - } - - /// - /// 点击退出 - /// - /// - /// - private void labTime_Click(object sender, EventArgs e) - { - Environment.Exit(0); - } - - /// - /// 清空页面 - /// - private void ClearPage() - { - labProductInfo.Tag = null; - labProductInfo.Text = ""; - labFirstCheck.Text = ""; - labSecondCheck.Text = ""; - labThirdCheck.Text = ""; - btnPass.BackColor = Color.LightGray; - btnAbt.BackColor = Color.LightGray; - btnRepair.BackColor = Color.LightGray; - - ClearRadioButton(); - ClearInspect(); - ClearControlColor(SetControlGroup()); - pictureBox2.Controls.Clear(); - panel2.Controls.Clear(); - pictureBox2.Image = null; - txtBarCode.TabIndex = 0; - txtBarCode.Select(); - position = ""; - reason = ""; - } - - public void ClearRadioButton() - { - groupBox1.Controls.Clear(); - } - - public void ClearTxtBarcode() - { - txtBarCode.Text = ""; - labProPosition.Text = ""; - } - - #region 更改颜色按钮 - /// - /// 更改颜色 - /// - /// - /// - private void labChangeColor_Click(object sender, EventArgs e) - { - ColorName = ""; - - FrmChangeColor frm = new FrmChangeColor(); - frm.ShowDialog(); - - if (!string.IsNullOrWhiteSpace(labProductInfo.Text.Trim())) - { - string[] str = labProductInfo.Text.Trim().Split(','); - if (str.Length > 1) - { - labProductInfo.Text = ColorName + "," + str[str.Length - 1] ; - } - } - else - { - labProductInfo.Text = ColorName; - } - } - - private void labChangeColor_MouseLeave(object sender, EventArgs e) - { - Label lab = sender as Label; - lab.BackColor = Color.FromArgb(192, 255, 255); - } - - private void labChangeColor_MouseMove(object sender, MouseEventArgs e) - { - Label lab = sender as Label; - lab.BackColor = Color.Turquoise; - } - #endregion - - /// - /// 其他按钮 - /// - /// - /// - private void button1_Click(object sender, EventArgs e) - { - ClearControlColor(SetControlGroup()); - btnPass.BackColor = Color.GreenYellow; - //保存 - SaveInspect("其他"); - ClearPage(); - ClearTxtBarcode(); - txtBarCode.TabIndex = 0; - } - - private void UpdateSoftware() - { - var serverUrl = "http://10.60.101.59:8013/"; - var updateXmlFileName = "PaintingUpdatePC.xml"; - var updater = new AutoUpdater(); - if (updater.CheckUpdateLoad(serverUrl, updateXmlFileName)) - { - Environment.Exit(0); - } - } - - private void rb_Click(object sender, EventArgs e) - { - RadioButton rb = sender as RadioButton; - if (!string.IsNullOrWhiteSpace(labProductInfo.Text)) - { - string[] ss = labProductInfo.Text.Split(','); - labProductInfo.Text = rb.Text.Trim() + "," + ss[1]; - } - - } - - private void txtBarCode_DoubleClick(object sender, EventArgs e) - { - txtBarCode.SelectAll(); - } - - } -} diff --git a/喷涂上线/Code/PaintingPC/FrmSecondCheck.resx b/喷涂上线/Code/PaintingPC/FrmSecondCheck.resx deleted file mode 100644 index 920dc57..0000000 --- a/喷涂上线/Code/PaintingPC/FrmSecondCheck.resx +++ /dev/null @@ -1,481 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - - iVBORw0KGgoAAAANSUhEUgAAAH0AAABMCAYAAABAprgtAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1 - MAAA6mAAADqYAAAXb5JfxUYAAAAJcEhZcwAADsMAAA7DAcdvqGQAAFLNSURBVHhezb13fFfFvi7M+3n/ - vfe957jde4uFooiI2HsXuwiWrShYwQJSpIr0jvTeewm9hk4IkAAhIQESIIEQEggJ6e3Xe8nzPs+Exc72 - RN3nnns/+4x+Weu31sysmXm+dWbWSiP8QQqHw4Zqa2sNhUIhRKNRXgsiZMiDUOTvFI54EeX1YCQIfziK - QDiC2hAQiYDntQjURlgmCj/r8Qf8zOPmby8iUT8iYZ85D4f9CAZcCId4XddYZ4DXdQxG3CzL+2xDqJb1 - RyMIhkOIgG3iebg2jECEhFpeC7MttTf7oHar/fX782vSPaUIG6z89a+r7D9DKiuyfqu8flt1/6vT74Ju - dVxkdUQNrxuAAAH2G5Drjn+nIO/7CbY3WAtXqBbeQAQufxgOXwC2QAj2QC1s/gCqvT7YQz4DWpgAikIE - zBsJwc36fTz38J6bTOQIBeHk0ebzspwHlW4Xavw+uHjNqTxB1uX38jcZicAHBRTrs9ptkUBQ++sDWp+s - e8pr/bbKiYLB4M0x+DVFbhytvFZ+1Wfl+e+Qfhf0sAaK4FmNjlKSQhx8dSQUDhCgOinUtbAhXtOgR6Lw - sX8eSpmbEu4ORQhIGNUE2haKwh4FXKw/QPKTalh/BQeoIhBEJZ9TGYygimUqDYVRwzocLOO+UUZU5fOj - wu+HnVrDwXY6+FwxkJ2agfrGSHsoWgeE+mANuvoUJpNEyRC1hv4RdAtwwxQkAadyOqou01eWN9cNsU4e - 6/LV1e1nPwMBjgWv6fjfDnQ16NdEXWsowvMgOxnRAJoO8neQ52x8gCo2RPUbCnqYh53k7wBB8AcDBJuS - Ha1FuduPGg6Kh+c+PsxLquR5viOIzJJqHM2+grj0TGxKPoM1h5KwMv4oYhJOYFPSSWxITMbaw0nYciwN - O5PTTb5jzJ9eWMaypbBRG6g+GgESJT3qg5NaxkVb4omKMQUGJV7tZfsiQbafFGUfImQmqf0o+2E0AE1O - hNohrKN+izHY5zD7HxHIZB71OcTrqi/gpwSTQf28JxMV4HnI1M88uk5t5CMFqNn8HJOo6iMzCHSLsRoi - 3fut9Hvl6tPvJauOfwA9QknWoLB3tMMUL6pm2e0I7bMGkEzLwaulXaX65gBH2eFowI2IiGCH2DEvM3nZ - cTelSNJcQ5ALXT6cuV6C/RkE+MRJbD6cjPUHT2DdkVSsP5GF3WmXcPD8VRzOvorEnCtIzM3DkcuXceRi - HhKy83Ew6yr2pF/GjtPZLJ+JDcmncSgvG0lXLiP1Wi5y7dWwU2d4+DwvO1blsVPSyYjGnpOiHHD+ruUx - wv7Uqo9BDgL7J3CDBDtAJpJ/IIaIiFnIuMZEyIxRgxjwCZqADVO7SNv55Fson3wUmrAgTZffr3x1g8+s - 8N0Yl2CQPgvr18CrnvrjbsaejKHj76WGyln0z5TXs5WvkU7+TipMaeDARM2RnBullFCK1Hl1MOxjp6Sy - eD/s9yDqsCNMGxukjfV56HhJivgAUYXLi1OX87EpLgmLNu3Cml3x2JuSjpSL2ThzpQA5FQ6UeGnrmVck - JpEKl8qXCpd20G8bqYwVFtAhzHaGkGwPYcKhDPReG4+f1h/GxL2piDlN5sipRpGTJoUunKTfLi0TICDU - Ws6oF86Qg/XSh4jSABBImSjjcHIgfOyPX8Azr5Fw9a+WEmyY2kUGYevCLkT8No5BFY90QGmyPJ4wnHyG - g8xVzV5L+5Q4A7hQUELfQ46nVLtUfZ3KlwkQONaY61xgGu3Co679VlKev2P1H8kCXseGku6J/iPo5N4o - pThCG1nLo/HOSRGey2M3HE7uDUrlCXQOSpSdctpr4HYJNgLkcCLhVAYWbYnFsp37seNoKk5euoqCajsd - Ldp75pEmkFT6CWa1N4hqD9Wz6ubA+dh5N6mGolIRCKOE6rqIIF6kCo3NvYKpCRn4ZsNpvL88DR8sSsKn - Cw7hy7mJ6LHgBFYeKkBynhN5zohhFi/H0EY1W+m1wRVxEqByuHxFBIMMEHVTWoM0B1F4qN49ZHAfB4z+ - NhldtthNgGvI1JXUgDUcAzuC/kqODeENMoogw1Z76YvwGfmU6lN84L7sIgyYuQSDZ81HSvYF9pdjRSmv - 5djV2f1/dCJ1rjEVULqvaw0lXbeYon5567fIAl35GkrWs/8D6LUEvdZINlUaHbUwOxcIOsn9uk41xUIc - CgLi5HkQXr8DDk81LQGlhIAdPXMS8zdtwsy167H22DGcKChCsSSCD6U+gC1oh6PWQ5tP7qfql/p1cOCc - lBh5+6EIPX7mt/kjqCZDiI2uk+Ku2DF+Zxq6ztuFj2duxccrktFu1Xl0WJGBLmsy0HVRGr6YkYTvpyVi - 2LKTWH/kOs6VOI2T5yF5w3LvXHB5rsPnv05d4GT46KqLFNQn9t1NyWYTYKfW8nhqOEBEkYwSCVZxPGy0 - +2SSoI33Szk2HrJGnTa6RHOx/mwJei08iQ4/z8N973bC9+N+QWZxIX0aahYKicY1RPVf5+zVgWORwLYY - 4reS8KkvyTpauOm3yupo/W4o/Q7oijPJUZRkUYihkKQ8cEO9O5nPRhtV6XGihJ25wvzXqZAznTWISUnC - 4GVLsPTwfpx1VKKSDxLVkKqoOUq8VfS4y6lqaffpZXvdVOqUNBmDIOtxKIxjw8qpcksIeJYnin1XKjH1 - UC66Lj2CdjNi8d7iQ/hk7Wl0WpuKjivi0XnZcXy/7iK6bc5E9w1p6L7mOPpvPIFB649iVEwcdiVnosId - NObCH3SgNuCkBqNkRR3UYA5qFS88VNUuhnteOl1h9jfgclDjsW00A6Egr1Nafey3nwNmV2jINpay2Wcq - A1iXUoGeC1Px+qB1aNl1Eh7tNgWPfd4XszfvNKqe1gYucpKHNj/gFyBSs3XA/OPY/zZYVlIeAWflrV/W - AtS611C6Cbr+sagOdA6InB0Cbuy2HDZKsZ9AO+m4uWm/fFTR8p6LCNZFdmpbQQVG7NiHIZt2IL6kEiV8 - QJGI9wrp6ZbT1tvJIKyJsk4niZIcDNBkBKhinQWw28rh8VKK+Hwby+RzQOOuVGP8gWy8PzcOT43chrbT - E/C3tTl4f/1VvLk0A19sysSXmzIo8alkgEx03nYRX23LxHexF9F7z0X8uDkVP64+hNEx+7A24Qwyr1Yi - SDMCghb22alRbJRAaigfj1ThIT/Pjb22c3Sps+gPeF0eVNmqUeOjhqCWo0U3fUu1BbHw+DV8MnEf7v9i - Ge7qvAz3dl+DJwevxdODl+OhrwZhyaFjdC5p6thvBx1bF8fBOJWkfznoOpFqqQ96lJIg0GXffZSAECvy - s6F2qicXVZmP505WksOOzE27jG9X7cWUgylIs3lQxuvFwSjKqBVcrNNDe+VmOS9ts9dDc0CKUpWHaWfD - NB++YCVq6G3b6fBIKySX+DD7SC66LDqI16fFocPKC3hv3VW0J729pgBvrinF22uL8NmWAnRdn41O6zLR - cUsO/rYzBx1JH8Vm49PdOfguLhd943LQZ0MS+q08hAW7ziI9x01prqUZYSyvmb0wDZWcM0p8LdV2LY/k - AnicDtidXtjY1mr6FWrXNY5jmt2H5ecK0X7qXjw8YB0ad5mPO79bi/uH7kObkQfQetAOtOixBG8NX4y9 - 2YWmXDGFxSENyXo8HnnxfwemPmi/B5aVlOe3QNdvS3j/EHSpctmYiOJyFWQjjfcu0KmSPT6fUWsu3pPD - Y+cDSsm5uQ435u5OwMCVu7EuvRjnnHS6qAGq6GxVsmNOeqqO6nL4PQ7WVRfqBdRpxugRRgA+L50rp+em - h37ZHcKuS5VUyyfxzi9b8faUffjbotN4b3kWPojJxYcb8vHB+ut4d/V1vE36aH0huqzPw5fbruLLAyX4 - 7GAxvoovR+f4MnwaX4ovadM778hCj9gsDDuQhyFbLmLa9jxkVcrLZmTBPtrI4AFKtfoZIQPUkgk1bewi - k2r2T4wtyT5eEcCyM0XosmQ/Hu67AHd0XYKmPWLRcmACWg9JRbNBR3FX3wNoMzgO9/ZYiffHxuB0TRgF - ZPgSjq+LY+bl2GieI6ToRsDwOfVBs4D7vaRyFnDK+2uqf72hdBN0hRKaZao7EnB2XOo9xJuKc+VJe9gg - OxtZTU2ggcitcWPJ7iOYtHoTErKuoJihVA3VchUZxEO1H2F+l4+20ONCwOuEz+6A3yF1zo4xbzTg48CG - jforJR3JrcKkHSfw1czt6DAlFh/MPYKPlpzEp6uz8M7is2i36Dw+WpOHTuuv4cvNRVTr1/DZulx8vZXS - vqsUX+0qQec9xfhyH8/3V+PLuCp0PVSJbgkV6HuiAn2OFKHPjlwM2FuMaUdKkFTqM88tpFftoPmqrdUc - P7WQz0NwqN14T57/eXsUs5Ly0XHKdjwzZCnu77cIzfvG4L4RR9Bi6DHcPZyAj0jHnQOScWefw2g97BDu - 67EA/VbsRAXL51NTVHH8AnRKfS4aNq07cAyjPEYlaDfi9n8GdN23tPJvkaUFBGxD6SbotWqApJpoRGm3 - NI2q0EwTFcTIzG/X0JZrkkWzaSWeAJbvOYqpa7cho6SUFlqLHrSFdIxqo9WkMkoMvVt/EY8VrLOKKp4e - Ph2oGjpvctQqGB5dpWbZU+zGoN0ZeGf8arw6dg3az96Pj1am4sPl6fiY9Onqc+i8/hK6U33/uOkiem44 - hz7r0tF7fQa+X5OOb2PO4NsNZxm+kbZlodsOqvO910lF6LU7D/3ir6NvYjH6HrmGn45dx08pNegbn41J - xy7gZJXDSHEV+1nhtFPlKzKhFqCUx57Nw6iNiXh31Frc9c183PbdYjTrtw4PjInDQ1PS0GRUCu4g4I2H - nkaz8bloOjIDzSntj47cj8f7LkZMWo5h6ErWaQu6OKbUlh45iRwt9j/Mvsuui/5Z0JXq522IfgtsK90E - XWDfJIVkaiBteoAN0PRptc9N0KkKWei6L4rFOxMwatkWJOWXoYplfCE7Q7oSuD1FpEIEAmUsWwZPqJzx - cTkqSKX0kCVZ10gpDi+WZlzGoB1JaD99B16ZtBcvT9mJdxcm4L0lJ/D2gkS8NesIPl16Ct+uOY0vlx7D - 9wsPos+ifRi6Kh5TNx/FzF2pmH0gE/MOX8Cy1Hysoupdc6oMK9NKsehoEeYnXMPshCuYTN9gDGnk0cv4 - OSkbfU5ewsCT2RiScBarTl9CaqUH+XRMi8nI5fRPUrLzMGllLD4ZswLP9luKu7svQ5MBu9Fq0mm0mngK - TUecwF+GJOHPQ1Nw19iz+MuI07h91FlK+yncO+gQWveOwWs/L0dCQZUZLxujAgdjfE1ARzWnQZNWSzVv - pmUJkjRifdD+CPT/aroJuqTczDPTlgt4f4QhTETzVrRtvO4kYDYyQSE59Qw94JGrN2DtyQwUUwt4yVjS - Ct5aqkl64+qkk5rCRnVZwbDMRi2gLheSjjqcmM2B/iZmP9pOjsEzY1bhlfEEe3oSOixKRfsFJ/Dm9AN4 - a+o+fLw4CZ0XH8PXC/ejf8wRTN55GqsTc7AvoxDnC6tQUONCodNfR74wrlMlFTqjuEI7eqU6iOwyH1Ly - XYjLs2PthQrMPXUN49nmgamp6H0sGYMPn8IvB1KxLPkCUkvd1GCaLgYOnKY56TEcbb76BY/1WooHBmxC - y1En0GLiOTQdRYCHnsJfhqeg8ejTuGdSJgFPw60DE3Hf8ON4bEQcmn05F9/MizP9dTGKd7ir4XLJtXUg - 6KlGmI4ubaaRcJnP/6yk/1fTTdBDtQxhogymDBFqqreQPG3acw+B1fRiFQfkYEYOxi7dgD1nrqGYFRSy - wYXuWpRxoKtpo+1kEjlkmk5VNyXVO666MPtYIfpsPI13Z+7Fc+M247lftuGFuQfx9qJj+GjFKbwz6yje - mbQT7Sbtxgez46nCszCGtnd2fDE2nSzH6QI/ygisi2pY07NsEk1K3aSIfA1G2/T8GQWEPWYpVVG/8kT4 - j9pTzGu5tN0nXS5sr6zAutJyLMvOx+TDOZi8Pw3rTmUhh+ZLkple4cfHI9bhiYGr8czEY2g1PhW3U6Jv - obP2P4Ycxx1jTuC+cSloMiIJLSecRfORp3Dnz8fw5OhkPDP8MB7+fhFDuUzTBg81Zo23mFqQOi7iQtjO - 0JCg11Lla7VOM5pRqvl/CejRWnrqN8hsZKDHGaDUmxCN58XuAMENYlrMFnQeOAYHLuRTsvzI8Xhoowk4 - G55Pkc+0RXA0P4yVx4owlB541zkH8ebILXh+wHo81p80cAOeG7UHr0w5ipcnHsZL43bj9fHb0H5aLH5Y - cxSTEy5ja64dqeSaDGcA+QRZTqMHiu+1xk6AyYwOj49hFzUJY/ui6lL6HA6GkAEOND1k5q/0eqgJnLjm - 8KGAbc+jSs0hI2cxesggI5xhnnQy8TEK3cESN7bQfqdcrzGMXMDrvRceQEuC12bkQbQYewJNxp/FnWPT - cdcY2vLRR3HP0ENoPvwomgw/geYjkvHA2NN4aPgRtOm1Ge+N34VjNQG2W+Gth7F5FZmvhmG/HWE3gfcr - /tfchxZpCAD9qX856Nq1EqAn72PD3Apdbgz88Zwr6Dt5FgbMXIR+02PQafgCfD52EfrOXIe+M9bg6/HL - 0Wn0avxt2Hq81nc5Hu02Ew98NR1tvl+CZwduxuujd+OtsXvxyuDNZISd+Hx6AnovP4HxO05hzel8pHCg - LlFFy+7bKblalpWGcVAq7F4342WaDq8fTtpdZ5C+BtvnDflpfoImaiglqNdcPmTROUu8VoQ9tM3bMq9g - 85kcrKENj0nJwaZT1xGbVYGDuQ4cKfIiwRGg9IdxMK8Mp0ocKCXzyhQNXJ+IO75ZiBYMv5oOT8Jfh51E - MwLbcmwa7qfXfu/QONxDkO8czPORx/HI+FNo1TcWD3ZbiYFrzyCT0UkpIwJ7wE1w6cTVMnIJUL1T22hp - VnsSTHiskO1fJelaSYpYFPKaNWIf7bSbDZDkXCitxPT1mzBr216klFVj7QnGvRsOY8Ca/Xh/1DS83LMv - nv1+AB77tg8e6zYQj3w/CM90n4CX+05Dh1Fr0G7kanQYuwzd5mzH5O0p2JpagKNU+2lFLuRRomVPpaqd - IXr1DPFqXPT0nTZKs5vtIPP5g3W7Y9g+OxtcQUYo1iIHdfxVapiEQhc2nS/ECqrpJWeyMSP9AqbTFC28 - UI75GcWYn1qIRSklWHnchi2knWlObEitxOK0K9h6oQA7MrKRWVmNMvZX8fuATUfQrPdGPDAhDc3HpOKv - dNz+MugwmSABjxLsh4dTEwwjjTiM+4cnojWBv7fnFrw8eCdiMmzIYx1FIfo2IbN0RKeWfQkRdEq1S74S - /SYDMmP2KLXXvwR0TcSYxQDNREXpxNHW2A3V2cftJ05i8Iy5OFdUYsKQfKqu65SuS4xBL9gJXmUp9l/P - of2+gHXZGViUloxVp85hXeZFbMy6hMMlFcihE1fiY9hHztZOFxulQbtn7LS3kuyA4nYPJcJn50Bohoz6 - pZaKnQ6hPWg3zqGdz60iFXAoL/hqsTvHhmWnCzHraB699ByMS8vGtLOFmJ5VjKkXyzDjbCWBd2J1TgRb - rio/sPNiLbae9WPHpRA2Zhdjw7lcxJ7PRg5NglbKtEYwZEcibuu6GC2pwlv+ch53js9ieHYcrYccwhOD - 96HN4D1U74dp71PQZhSvD+S1Hqvx+aw4pNuDRlvYCLAmd7QE5aEpEtAaSxfVu1d7FQiw2ZVUD/B/BvT6 - eX+Lfi/dBD3iZijh1jp4CJUcdDs99jIfbWYwgGK/H8OmzULMtt0mhq3whcyMm4uFtXqlRYx/JmnlSp6+ - kypNA2JjXZrhC0TlRwQQ8DLs89LXj9Aa1tIlDNjg4zVXyAMn89AqopR1ZDoj2Hy+DDPjL2Lk3tMYeug8 - JiTlY3rqdcyiVM85W4p5WWVYdLEGSy85sTLHh425YWzLq8XO3FrE5kax43IQcQzQ916tIgPk4dCVAmRU - VaOATClJH7YzEXf3XoxWow+gCR2328ZewJ3D09GSYVrrIcdw37DjaD72PNV+Ku4fdxKPDNiJZ3vOxcLD - WUYoijmeQUq0W1PYFCStWQTI6EH236tNKTxKwrVTp5bjUB+wPwJd9wXcb5FV/rfAV546SVfsSIdHu0Xs - QS8dszCqyABlbGhK3lWMnjkHSWnpplCVgyBQumWP3G433HTofDc2CASlLXiunaxhqrdwWNuoaNMYn/q9 - VG1kGDvtsYM2zUbSZscgVTi9G9o25vXbKOkEm2W8Qap2gi3vu5ztP+8KYvulSsxKvIKxcUUYHX8dwwn2 - sJPXMT69AtPTqzEvowbzz1Zj2flqrMxmqHbZS8B92E7acyWMPflR7L0Wwb7CMOLLojhY4EB8bilOFlbi - UpUdJQRIs2g/b05Eiz6L0HLMbnrrR/GnMZm4c0QWY/EMNB+WhrsZk985Jgd/HXWO4dxJPN5/C76gT3Oq - qNr4P1o9DIZdNJPqA32kqEDXRtEoVT2BuwF6lOMsAP5Z0K37mnnTsT5ZoKs+61pD6SbotV5yHClEUNwE - o5ycqfDlmsuPRTv2Yta6tShzKBCj+hPoTi/ljqGZ2eQYoCMVRTk5toYmwUWgXAz7XIwCnAyjNMXpJCNI - ql26z6O7ls4Y2d3PjtfNTNHO+Vxwel1kCj+BZl7WX0qpOF1BSb1QimmHL2HY7vP4aW8OfjpShiHHqjAi - tQYjzjgw/qwD0897MPtCEPOzfVh5yYO1eR5su+LHrqs+xOUHkHA9iKTCWiSVRJFUHEVyaQTHin04Sb8i - s9zBGD9AKY+gkGPVY8lh3PvjSrQcfRB3UJL/XaCPPoW7RiXTWz+Ou2nDGw87hduHpeCeAXvx6I+rsOhQ - ulHr5T7acPbHo+VajoW/Vlu863bkaGXSR+eU3a5z4DgW9QH/I9CVlEfAWXnrl7UAtYBvKN0EPUIpFPk8 - mpBhjE1HTmpKe9oGzZyHbceOGnukBruoFTw+qmMCbaNm0EpapUBnJ6p4XzZawJJ/4OFz3QRODqHssdbh - 3SQt2ui+j/eVt0Jr6DQvUv16bhHryqgJYsv5Ykzcl4kBOzLQg3F+39iLGJpQiuGpTgw95cfw036MyHBj - UmYQM7ODmEW1vTA3iNV5AWwi0Huu0TMvDCGxMICUkgDOlAaQXhlCenkIZ8sDSCsO8prfgH6d/onY+ky1 - Dx9P3I57foyht56IxrTbt4zLoIpPpnQnoumog7h3dAKa0cY3+/kQ7u65Fu+O3oIL7ojxB8o5Nm4fNVtE - a/DaP0cmoDlUeKbVNW1AESANSbno/wTo1r2G0k3Qtect6g9T2nyUslqU05arA7vOZqD3hKnILikzoNew - Q0FKqLb2uEhOSnc1667ivUpKSRV/CzQHj16tRRsV7oOvtm5fe4ASb6iWJoD3XGSucoZZVQTbwefKnubx - QRvSCzBi5yl0X52I79elYkBcAYYkVqDfwXL8sLcU/RNdGHqmFj+nhzDyjBuTL0QwKyeKuTlBLM8LIyY/ - gm0FQRwoClHC/Ugp9SGjwo/sag9yanzIqw7iSpUfeZW1uFTuR26Fh8yrUJF2PrcIbYevQMt+69GCIN82 - LgV/+iUNt5LuGJfAWD0e94yk1z6KXvvgvbi/50r8sv+S0UzSdG6p8CB/kSLafCJVH6Dfwj5GOHbaUm1m - Ps2xDrz69F8F3br2h6BHKXbRANU7yUn7U81CZQRu6f59GDpvad0sGyspd5KDKbkexsR2MoiUvJPgOTRV - y3DKTRXmpXPi47k3ogkTD9WcixLt4sPciNIpi0Ro62XrvA4ThlVT1WmHzDmK/c48GybF5+Cb5cn4JiYN - PbZdQK9dVwh0AXofqsKPiQ4MSHLjpxNe/HTcibGnnZhyzoY5mS4suhTGMkp6TH7QAL63yI+j1z1ILvFQ - qr24XOVDMQEvY2xeSQ+7muFDjS2KYjJDKa+5CXoR2zHjQBqeGrSEDttu3DOGapyg3zohHbcyFr9tbBKa - khHuHkGwB23D4z9vwCcz9iDdEzUMqy1XQTJ0Le14bVhv+8i/8dEGE3Q5btSEtRwvAaKB1/HXJFB+KwlM - q5yOIgtwnf/nQPdT1/r5UDaqko6VVHEBQZ26cSMmrl5npFzrzjVU7QFNjJBs5F5HwE1p1lq7nyrbSdvF - jhoHzs1rNjp1PLI+P53DAJ0kebR+cn9Qu0tp88wSLdu2s9CDGYcvYsDGJHy59DA6rUxFz51X0JcOW899 - hfhuVz6Bv4JBicUYm2rDmORyjEooxKQT+Zh56godt+tYlVmJmEt2bLlUQ2mtQsI1O5KK7EgrsiG7zI5C - mxsV9KoraUZs9FWcLpopglXjpPNK6ZTWyqgKoueCnXjox6VoPeoAmo44ir8yTv+3MWcI+mn8dXw67hid - xDBtLx75aTWeGbAcS1ILzIRSBX0Rr6SZDmitv5r22kXtpshEU9taDhUoBIPmT6CEqAm1rq6jgBDVXxpt - KFnA6lgf+F+T7v0h6CEv40lfnXdZxZhSYOQ5nRi9YgXmbt9jMmvxwMuBcdIMuGij3GQCt9bOtd0p5ECY - wJpXmqS+OQDa6uuj5rBRqhxyEOm8aapCc+c2dq7Q7kdaoR2LEnMweHMaus7fh2+XJaDbupPovi2TdAE9 - Y3MwYE8+Bu4pxE+7LuGn2HQMiU3D5MOZWJSWj5iMAmxUnH2hAHtyShGXV4mj+TYkFzlwptiF9FInMiuc - uGLzosThQ43bBZuXEYf2uHmc8Hi9ZuLHSR/CLLZkV+FvY1bh3h7L0IaqvMnIY7hj7Bk0npCJP41KwV9G - pKIZmeCRMXvxxID5+GrWJpx1+FEu0xQg87PPtUEntSbFRhtLqcbDdOrMgpbAMPvpQzekXQCL/jEEs8Bs - KFkS/M9SQ+km6LW+KLzifDbKycx6rSijtBT9Zs7G8n0HUUjdV8j7LjKgpJ78a+JzhR/OAL1uTxnDMr1g - GDDlHSyv3adO5pOdrOCgmHlt5s9yhLH7fD4mbk9Gz7nb0HHSenw1Zx8l/BC+WZOEb2NO4Zv16eiyJhU/ - bDiDgTvOYVhsFibsO4+5CRexNj0f8QUVOGPzgT4a2xpBGTVVCaXIxkFRyFXGdhbzWaUBvSrF51OabPKc - yawBDrq8azfbrTV+t8+BKpqrIkri6PWH8GiP6bj/5614aNwJNB2ZhrtGn0OL8Zfw58HH0GRoMtqQCVoN - 3Iw3hy+jk1i38bM0SG3hF8g+SrmNAkCbrtlNSrq161Wgawq2lr4QvTgCWLeMre1pdevqDQPdUBL4v0dW - nobSTdAjLnJYgJ41B8/FRipcO5l/DYPmLcSGxBNIy7uOxHPZSDx1FsfTzuHStWt0wshNzCcm4Lgar1/O - jEDWQFxhH3KYIanKi215FZh5ogB916fiy4Xx+GT2fnwwIxYfz9qFr5cdxpcLDuCzeXvw+fy9+HrJQfTf - mo5R+7Jo3y9gQfIFbC8sQZY7gFLWKQfTTo3hoLkIhJ1UiTUI1TqphQL0J6im6VNocqmKQChaMJEEr3sp - bQoRtaPVSwkz8/ZRN8oCNmOPd+SV4fn+M9Gi2zw8OZGAD6LDNiYddw4/hz/1OIInKe1Pj8/And234YXB - W7HmdCku0WPXDGEV6/MEtPOGpk3bpn2UdrZHWk+zbhpkOW56MbOWTjLYFu0/1KtSmocXYwgkSedvgWUl - Uxfz/R79XroJeshJrqSDpt2aklQ5bocvZKMvJf3o5Xzz+3xhOfYmJmP15q1YtWEbNu7eg3WxsdiXlIIT - 2YXMfx0Jl0txKLcUm8/mY/rhXIzZeQ5dFyTi01nxeHf6Lrw6YTteGLMTL004gNen7EWH6XvRieB3m78T - A9cnMH8q5iRkYyvV7NESqmat7hGoIg5sDcKMCgiU4l9JaEB70sli0RqGfzWw+Z1w0sS4NRPGgXOQpLLt - HAM5oXI4FUJqLcFOibcTpArmrdSULjXCD2v2484u43HfoE14YOwJ/LXPQTQfnYo7h6ageb8EvDI+FQ/0 - 3oKW3VZh+I5s5BI7MbhMgya05MtEtbGSmqOWEq8t4xGCLhC0fKoFlpDA5bPZcIqiAJb9/sew7Y9S/by/ - Rb+X/gPoWsGSahbIB86dQ/9Zc3DiWqnpXDl1eSkdoFzG7kdSz2Px2g0YNHEivh40DB/+OAZv/TAOr3cf - izd6TcLLPSfioe9G4d4vhuPRXnPw5MDleHLQKjw3bD1eGROLdtOPovPSDPRZn4Vpey5hbdJV7M+vxHGG - Tuk1AVyl+hAY2sZUrdBQ6pmDWhOyMZZ3IBRlOFSrKU4nwa/kNT8ZQm+o1E3qVFLyiuhHXGHsXUCki9xR - FPFcL1NW+/wEKUiVHkA5y2i71OKUK3isz1w0770ID42Px20/xaNxf9r0ofTUSY8PPYQn+mxA884z8Om0 - g0i20eFlOTGSkw6tL+Ah4HZEfFVGyvVWkPYnmH2Gxo5TkxJwvdkaDdHG055TrlmDPPU/Bvq/ksQEAlmk - VA90LepTvdOZc8qT5c3DWRcxcM58HM8tMJMWVcyo5U4f26imSm2WsROJF3IxZ9N+DF9I2zxiFjr0m4L2 - g2bhg1FL8P7IZfhoEsOa6bH4Ys4BdFuSQKftNOYlFmHHNS+SasLGe5f3q2eI9GIAfT8+S0cNql6GZHQg - CVe8r7V1qk4/B9pJT9lO2yhzpPzlZNx8VxBnSqqRlF9Bh86GjDIHLpGZLlW6kGOrRIWjhvXUhVh67m46 - fm+NWY0mX85GmxGHccdPh/HXn46h6ahkNOnHeLzfATzWaw3adB6DTqO20tlz0XGTHec4se3a3i01jgBN - jaMKQS8ZgKCGyBCy4T6OWyjKPArfIrxHttSmFULBWgR4w6D/Wnrr0+8lAVo/r34LaJHSTdCjtE16Ec9J - 6XBwoLU+nXw1H/1mz0Ns6tk6Oy21z0q8LOBheTttZoGtxmgFJeUp8FNV1riRzhApjR506nU7TlFNZ1QF - cIF+Qx45pph9lbPlhofdD/B5eqmQ4aBCQHrSigiC1Dh676tW4U6EMS8dowBVZiBCqaKa1PvuchQZZqOA - vkh6cQ2OZOVjV0Yx9jJ8O3ipGkfyHDiW50bKNRvOlVYgt9qGMhef5eJzyUSaRdx5uRJfztyJZl/PQLMf - N+CeEafw/3wXh9tGZeLu0VloRga4t+92PPD9AnSZsQP7GQpKwos1R++lpuHzwwRUO44QYvTisXMcGbJp - c6lsNcdKEVGI7Q6T9IpYhKFtmJ69JmkaSgKkPlC/pj+y2Q2Vta4pWb/NNGyQpCRQq2lH00tK0Hv6DMQc - TjIqU/vc9TEBvalh9zAEo1Oil/20icFO0FwcRL3ZpffVlF9SK29fNlRz6RwSBOSx0u0ze/Bogz1eH9xa - iGG87NDWY0pvkNKLkIthD+0jKeinNWdY6GNIpHfebbLxNIuF7ENSiQexlLy1GSVYk5qL1aeKsOV8Oa9V - MXxz4niBF0cul+PU9Qqqea0F0G9h2xU2nmdM/uXMA2jZZRbu7rEeTQYcxJ0jMvBvA9PQeFgGmv18FPcP - 3kvHbineYHi2/1IJGUVOm48mx48aMmeI5sTPKMCrff1sX8RH5mQoaGw5QZfzFtCAq9+kKE1SmKYpTK0l - W95QMj4Ay/wW/RHoDZWXxP8H0PW2iZ+cm372HErsTqMuz5VX4Of5C7Fk98E69S7Jon3S5IZey9UUq14I - 9Eb0xgjVL1Wrl+reTwnVLlonK/bRUYlQEuq+VKH4Xa/20rPVK0XyvMnxHkJg1wwe7bJfrw/TE0ekGmFv - OQfRRnvoJiN4EeSgiYEUjh0rtWHd2auYEp+DmScdWHYhgOVZVVidVYaNOdXYSonceqEIe7OLqOJdOFem - FzPkq9B5Yh0pFyswcN5BPPTNYkr5UtxLG37nkBT8WcSwrDEl/L5BO9Hqx1V4rPcCTN+VbKITRQF69Tog - M0cvXJIbZFzupYTrrV3tSYiwrXo7yMTfHAc/y4TJ6CIqez6fDG3Uex0IVrIAEmi/R8pTP399stR5Q+VE - FvjK08hPENPP5aL34Ak4cSnPSOtFlwvj1m3CmFWxRnVLam20rzatlLBwbYj2Sa8AEbggKzTSTJBltbxS - b7wf1GwdB0bgkiWMqvYF7PAzltWHD6qZ/xrtX5EmfViti0zj5f2IS68DUxO4bfAH2RoyhRjuVFkNNqRf - wpRjZzDyyHkMT6rAiJMhDE91Y0xqBeZnOrD+qh0bsi4j5lQW4ul0ni4rQ5HieNavd+uO5pThq7Hb0OrT - eXig+248ODAJTQck49bBx/HnQQn4a/99VOlb0fKryWg3aD4W7Ek2n0QhnObtU4/ONYgce3nlZmOjBprg - msHnUV+sMOvkAkJU7z+WIuko+nuygFESMNbLCw2RwNOxPqAqY4Fu5ft1PaZ9N6hRlaMWP/SbhifafoT4 - 0xcM6PJqF+6Lw4+T56BSgLCNFW69lULOJaAeXxnBrGbnHSSqNoJoFhUMkYvZEK0khekt61s0tZqTpjMD - UlRAUrIDZAg71aNbEqM4mnbRTXXu9jL8kQ2kdFSyqlPFbqw5mY/xu9MxcFsq+u/JxODDxRiS5EP/RD+G - JXkw5bQL805cwaxjGdhw5gJStVxKr/kabbgc03zq9Bl7zqPt9zPR5pO5eJzxdus++9C8J214r3jcOiAe - dw2mx/5THG75ch6e6bcQy5JyjdNmVh7dNXBQW8kxc/sl5fS/NanCviocq78ZwpImi6zrv0cWeL8+t0h1 - iqzrFsj17+tZui+Af11ev+uXaZSc6cFDL3THPU99hNjki8bmaeVsf1YWek6YhHOFJabjVTQB2pGqvWse - r+bZNOdW9zpQmI5gOEDuolTp2y76dIk+7RGhZNRy8DU4Ub3dofCFGiNCxqklyCADBLzVrI+xN205gzGU - kuELyR9nqgNYk1GDoXuuouvas+i2LQ8DD9dgYKIDPeOq0S/BRbJj9LEqzEqpxorkHCw/cQapZRV1HjYZ - UFoqs8aH4RuO4pEe49G86y+4p9s8szp2X6+tuLPrFrQg+C0H7cXt369F8x9W48WfV2BLZiGukeHkwFbR - Zpc7a9h3zUQyymH/wgRZW50sYBsCSdes+39EVl4dLYDq36//28pb/3nWdYvq52uoTKMx8zPQ4pneeLBt - N8zbmmCsjfaLnS4txuBZ07F23yEz7eow040hOmFSw7SztMEBSqj5NhzVtHaHWEe/XlYk6HReeY3eNjWB - m6SpXjc1h5daIEpvvZZmJOSspj8g+07vns+NK/Bhxokq9N6Wi0+Wn8fH666h09ZidNlZju5xDvQ45Efv - Qy70PVSKfgdyMHxvBpYkF+FokQ85bGMp7b/Z/cPn7s7IxdfTNqLVdxPxl6+noGkfOm39t+H271bi3u+X - 4bF+2/DckL24j+d3fToFHcZvw+bscuPH1EjTBOls+hzsU91GUS0Hm4UVgq6PJ9Qf1PoA/FfIqqc+NZTv - j6iheixq9M436/Dgq2PxwIu90HfCSmN1KtiJXIcdM1YvxcT5c1DD+NNPQCrdAYZ2WhPXbBTlXFJL2xwl - uvpggY8Ono9Hedrmc2Ksi9Eavf5ahmX00tkYreLJw5drQ+SNzVZ9V3lx5yUn+m/NwgcL0vDRmsvoFFuM - jzYX4osdFege70XfRA9+OFCNrtuv4LuNqZiecgn7GSKm0ykoZAwlDSXAyvnMA+eK8emIRWj83kDc990s - 3NMrBv+jx078z9570LhbDFr3WIxHeq5D009mofmn49Dpl92MBEpN/F7NdtZQTTIgo0PG/tHc6AtarrC2 - fMk5JUOTicOKyZlPA2kNtqTSsqM6b4gsFay9CVZeixoCTHkbque3qD4TNkSNWrVfgDbt5+C2p3rjxc/H - GxsotSgv/mD6aQyfPArHziZRkQdR4naYKU+3Zr+krhnCwMOcLgdqvSzpZ/hCyTBHxtdhhjJBvd/uoVag - lx+ketf2oaCJAkIoDwJZHOXtZ22Ytucivlt2Am9M3Y8PVp5Fu9Vn0WF9Jr6Pr0Dv/aX4alU6PpmTgEHr - z2PO0WuILarBcZcbFwmMXiMS4AVknl0Z1zBqaTye/WIMHu40EY98E4MWXdbils4b8b+6Hcef+iTTWTuA - p/qtwD2dJqPp+yPw3YxYpFYETd9LPfoqBfvG/zSxYnPVwOOiKRNDc8BsDNnMhwXI2BpgAaWBtFRofQB1 - 7ddkAftroKwyqstiIIt0v6G6RA3d07Vf11GfGt3WdhZavD0PtzzxE+59exjOVADXqJoFfKGjBsOmjsay - bavoQcsp0tcYgqhgaKKvS2j7NBSyKLzy2wmyVpl4ZN6A5qQjdNioIr0EWLtptUAj9W6nU5hVGsAiOmQ/ - rDiH9ybtJKCH0GnJMXy05AQ6rk7Bp2tP4OOYI+i8LB7dlu7DsI2JWJ6YjZN5LuR7a42zqdW7q6QLlLrY - K6UYtOYInuoyB03eHYcmH0xFm69W4/GeBxmPH0Djz/egWY8TaNKdMfkXMbjvswl4sdd0zNh90kz9ym9x - yEn1u6h8tDuYPQ05Tajp0zIsY3NNJGlGT157OKgBrhvc+gOtY0OkPBYj6KhrFtDWfR2tOhqq99d5rfL1 - f+v4W2Tla3RH26lo/vpM3N12Am557HsMX5ZobGsFIaK8YlXsFvQfNwz7Tx5HAVX+5YoKFNOua8VLIMrP - tlPyK2mXKykZVbKpLCdXz2wWJEllXmGZk+VebErJw8RN8ei96BA+nX4Yr03ch3d+2YFOiw7jCwL8yfxd - 6DxvO75aHIu+G+Mwd99JbD1zCSeLa1BIX0HMKIkUZXtdWJt+Ab2Xb8Mrfefhno5T0OT9+Wj59Tq0+mYX - bvt4Fe7+cgvV+EE88O1ONPtiPW7/aBZafTkbP8xPwI4LxfTy2Vaq6RInHUkyJxU3gt4yOqVqORmbIaiS - zJ7O5MzpfytJMpU04FLXv5U02ErKY53XT9Y1Ha06BXb9Y0NJeb1kSgH6z6ZGrTosopQPR5t2VIXvT8AT - fxuJ+IvlJnSTfTxztRDj5i7B5KUrseXoYaw9eBBbEpKRkJmPHNlStk9ff5LkaYpV8XA2n59GVJKo+Xde - 8WI+w6n+647i89m70X7cBrw5fC7eHLMO7afF4eXxcXhrzEa8M34NOvyyHF0Xr8PIbQew8exlZNQ4cdHp - QQk7pLYospCfoBm5dYcvoM/M9XjumzFo0mEgmn08Ha2+Xo97vt+NO7pux+1dduKBXofRsutWNP9sORq/ - Px23vTMYHYYtw8R9WTha5TPtVl0Z2VeRl3cFAbeNWquCpqmK5qoCFVezsG3TOuzctRt7D8bj4PHj2BN3 - CAfij+DQ4QQcOBCHhIQEFBcXm0EXAGVlZUhJScH+/fuxb98+JCYm4siRI4iPj0dBQYHJ46IDe/ToUcTF - xeHQoUPm/MCBA+b86lXpLrA9edi2bRv27NmD2NhYU4fqOnbsGA4fPmzKXLx40eQVo6isnnfixAmTT79V - v9p3nO3Wb4sateu5Gy1enYimLwzDEx9MwW2P9cI7XacgrUjySiCpljcdPopeo3/Byp3xKPFHsO3QCQyZ - vgydhs/AWz/PwoejVuPzyZvQdf4efLdoH76YuxufTN+GJ/rOwKN9ZuLBPgyTes1G697z8UC/xXhy5AY8 - NywGrw5bhy9nHcTwLRew4Oh17L5QjWx6fqUUpSJKXzlVqTEJJO1h23+xFD/O3EJ7PQoPtBuCB98Zi9Yd - ZuDhr1fhoR8O4N5v4/D/fbgF//5ZLJr+cAi3fByDu75ciNs7jkWbz4Zi3MbDOO+KoID15ZPS3OxLKoHd - F49Ll7IIOgF3Uy+F9EHEahyM3Yynn3gMTz71DF55/Q08/fLLeOq55/HYE0/zGunJJ0hPoUOHDti+fTtr - hAHi448/xoMPPoinn34aL774Ip5//nlzXLBggckj0F566SU8+uijePbZZ8257j/++OPYvHmzySOgdf+p - p54y95577jlTp34rv87vv/9+zJ49G2lpafjb3/6Gli1bmvuPPPKIOT7xxBPmqHaIrN+Npq25iKff+wXN - nx2E2x/qQ09+Cm5/uDe+JSBnaXdlN3PoMK07lIhdxy+aHbBF3iAyy+04eOk6FiRmYuTW4+hCqXvz5+l4 - 6oeReLDrELTpOhRP9JyA53+ahddGrcKHM7bh6+Xx6L8rAyOPVmD+6QrE5lQircxFNV0Hqrx6JYFcQwks - DYSRnFOFGbEp6DhqOR767Bc0/WgKWnQkA328FI9/vB2PdY5Dq8/24pb3N+F/vrMBTb7agxa99uPWT1ag - 8Sdz0fzLMei+ajuOFZWarU1y+C7RPu/Iq8D0A0mYtjEWR0+fRHlNKX0UOqQBfWnKTckNI+5gHB56+FE8 - 8eSzeOr559Dm0Ufw4ksvmkF//rlnDRCvv/46br31VgO0JLi6utoAcO+995oBfuaZZ/DYY48ZgMaOHWv6 - t2rVKnNNgAvoJ5980oAisFavXm3y7Nq1C3fffTdeJqO98sorprxA0zNFaoNAfu211zB9+nR8+OGHuO++ - +8zzlE+MpnIvvPCCqVe/dV3PbXQ824En3+qHe5/rhaZP9MYjb07CQ69OQqvnR+CboXtwmUjINpcwPLtY - QifKHaQNp7dM26StywKqjExxqbQMJ6/kIuHcORw+dR77Tp7DemqE2JRMJGZWIKPYhYs2Ly57grTNBPQG - yHKgZJ+13FnFeq/xx6lLPqyOpfqetBVv9Z6B+94bgcZvjcRf3puCP3+xFE2/WoP7O25G6/YE+P1taPHZ - FrT8cjuafroZf+20CLd2noY7P52Bd8bEYnFaLk7T5snslNAqHy0rxJKU05iwIxF9F23CkrgjKHdrP44f - oUA1Ir5KOnHGcuPIsWQ89ewLeOGV1/Dy66/i5ddewqQJ43G9gNHDju347PPP0bFjR7Rp08YMbmFhoQH+ - 66+/Nr/ffvtttGvXzhw18D179mStwLRp08z99957z4D2zjvvGGlWvt27d5s8e/fuxUMPPWTyvPnmmwbU - mJgYLFmyxDDLW2+9ZeoW0/Tu3RsTJkzAgAEDMGrUKHzyySemjPKIKcV83bp1w9ChQzFo0CA0sgejGDY5 - Bnc+1Bm3PPAFHn5pMh5/cx7ue3Eybnl4ID4bthWbThabCRrZ1OobXriWQAOaYaMTx3/qnBsdeK5vrGhz - QSDgZ6gTqtsxGwnQ85UjRBvEIdZR6+dldB7O0HOMO2vH+rgi/DTlCF79mmbgg1/Q7J3xuO3NCbij/Qzc - /dkS3NOFcXWXLbjzq8244zPa7U93oWnHTWjx6Src8/kStPxsHlp/Pg7P95iIyXtScbLSaz6OcIV03BPG - nNTLGL07DRN2p6BfzD6M2rAfR7LzTX/CtV44nJUmtAxrYoltiz+ehmdeeRvPtH0dz7/4MoF5BnNmT2Nu - hpqZWUatt27d2khX165dUUEnt7KyEh988MFNlfrqq6+iffv2hjEEbFVVFQYPHmzK6Z6k8Y033jCqXOeb - Nm0y9csWS6IFnBhGjOR0Oo3/IKkViSGkUYYMGYKioiLzbOWZMmWKqVMMJUbSc9avX2/uixrJIy2q9uP7 - /ivR+P7vcf+LE3Hf89NxP0O5lm9Oxf97T1fc+Ww3fNZ/Muat24uU3ELzXbQAJVWDJUaQtOpcdWk1TKRr - kmQHeaKKjKDPjBXR+z5b5qPkl2J9/HkMn7cL349chVc+n4RH3huF+94YgWYvjcNtr09C43dnotn7y9Dq - ix14+LtduL/rNjTuuBp/+nAJmtALv7VzDP5Xx6X4Mx20O98bh9Zfj8WH45Zj/alsXPaFjHbKoXN10uHH - ytPXMHjrSfSh79Bvy2X0jDmJ8XuTsDPnOq74wmavgE979AMM0ejN+7xh/gYOpmTgqTc+xLNt36WafR0v - PPs0Pnj/HbR75228/x6vU+IkRT/++KNxxJQ0+FL11r1vv/0WvXr1MoBKVUtt9+/f39jkTz/91JwLHKlr - 0bx580w9p0+fNmBJYpX3c2oVOXX9+vUz9Sjvu+++a5hp0aJF/xARLF261DCKtInqlsaQM2elRtryY6PY - XSoKoUf/Dbjl/m/Rgqr9L4/SLrefjYfemYq7nx+MZs92x4Nv9MLTHXvgw57jMWTaZszccALz9pzHyiMF - 2HqqErEZNmw/XY31SZWISSzF/D1XMWpFCnpM2Y2Og9eiPRnr1e4L8OTHU/Fgh/G4r91YNHttGO5+fQRa - tGO49dYs3N5uKe7rvB2PdNmHFp224q/tVuGO92Jwz8dr0Ywg3/HhbNz+4VTc2n40Vfp4fDh5LaYePY9D - ZeU4RxMkj/waw6eUEmqOk4UYuiEdPy4/jX7rLqLv5lJ8tSQbP67Nwm5K+DUyrsxKRcALl89F/ROBn2bL - T19CQ3ggKQOtn3sDjzz3KiWmA15/ldL+wpN48IHWaHF3CzP4Us0DBw7EqVOnNJ64cuWKsemyn5JeqVRJ - tkCXpH/33XdGEzz88MNGHc+YQWf3hpSLUSybLpBkfyWxuidJHzmS/hIZQEBKrauctMiZM2dMVOC48c6h - HEbdU9ukjWT75fUrKbxrVGX3wx1iPMr/Ckr8GDN/G17+aDAaP9IFdz39Az3kQWjz1ghK4Rjc/doI3PZy - f9z+fH/c03Yk/vrScNzy4hg0fnkqmrwxy4DW/O3ZuJsaoslrlNaXx+GOVybgrrYT0fiV8cwzBc3encYQ - awaatJ+Duz9cSSldjbvar0KLDxhbf7QOrT/aiBbvrcJ9768gLcS9b07D7a9R+l+jJugwAa92W4GOI9dj - /JYE7D6XiwvuutBLEzRHGIYtpVc4/NA1dF97Gt1jcvBDTB6+XXkR3RZnMJ7PwZAVZ7A7oxx26u8a7Rgi - yHrzVu+cma9waHuWVwErkJx6Bk+/SFv+Slu89Jw86CcwoH8vbFi3FtOmTEPPXj0NKK1atTKDK8+9vLzc - DLakTMAIdDluklipazGK7KxAkSpfvny5kVaZgrZt22LNmjXm2fLwxQRSzyr31VdfmQhBmkN1iRFkywWm - 3iBWyKhX05QWL15sGEzaQOZB5RVCKmmeoJGHIVi1pwbVPm3opXkmpWVfw/ApG/FS+wH480Pv4y6q93te - Gol7XvsFLdtNwz1vTEfTtlNxC8G+9dWpuP0VgtqW4d7Lkw0D3E66g3T3W3PRsv1CtOywEK0EYIf5uOeD - uWj2wUI0peq+s91qNPlwK2k1mrang/bmbDRjvU1eHoPmr4xAm3Yj8ULHyWjXcza6TliPiRuSEZflwMWa - uteKNVGT463F9oslGL7zNL5dlYpPVuei47pSdFiZh3fnX0AXgv7Dumx8MTUBveYk40SOy6wN6K8ueD36 - GEOIfohm1xgehjhwQfoefoEeRfLxYwTjGbR98VlKeVva0ecwYvhg3uNdlhkzZoxR4RpY2XUBmJOTY34L - cHnT0gKKseVcWSDKHgt0ASZ1bwEkyZ4/f76pX2VUh1S8tEanTp2QnZ3N0PKS0QIK02TfreTRVDc1nZLq - ENOpXjGI6tm6dau5p/420s4U7efSx+irHXXfdtEHBCpdtcjMrcG0FUfx5YAVDOWo4p/qidZth1PqR6Hx - Cz/jLkpfy/em4b72U3A/maF1uxlo/eZMtOLvVpToh96fjfsp1fe2n4qWtL1N35mIv74+Fk3fnYB7GCb+ - +YV+uOPV/rjr9QG465W+aN62L57rPAUf/rgAP07diimbkqiir+FUmRMF9Ak0R6ZJIDlnR4vKsSApC71W - HcEHU2LRaf5xfLPmPD5edhbtFp7FFxuvofOydHw47SC6zDuCUVsysD3DjgIKg02rg34vQdbetYgBULNe - Ig2KJEYvIWhwX+TgteXAt6P9fOONN9G5c2fjIU+dNsWoVkmcAJXaXbZsGXJzc2/aUkmvnCwBJbWuwZe9 - F4NIqi9fvmy8dYVsAkfgjh8/XtiYiRXZYnntqksm4cKFC+Ze/STJVXv1Z0MEvNKcOXMM4GqfSPVs2LDB - 3DOSHvVoC5MbYa8bHrvDvKsmadefstBRVEUGSs6yYcnmo+g1cgFe7/QznmjXF61e6oe7nuuOu57/Fk2e - +Q7NnumJu5/rgRav/IhWr/XHA28NQvMXe1Fy+6PFm0MI7k8E+kfc8UEfPPL5YLT9Zig6DhhNj30VZqzd - j00Jp5FZZjOzb3ICNdWruPo6I4Qsvw87rxbi571x6DhvA94csxlvjt+HdtOP4f0FZ/Dx4kx8vISgL83C - R0vO4NNFx/HJ7H3ovngP5hw+h1M2h6mrhOq7zFP3YQUBbs2k6cuZcobM31wh+Lou0AWgwJN0Pvnk4wTs - WTOgspO6J2rSpImRYIEoYFq0aGHyP/DAA8aea6Cl5lVGkisQevToYZ4lr1rl9QxJ+s8//8xW1ql3qX0x - h2XbT548ae6JMdU+la+pqTFHJWu6VnG7mFDtVPvk4Ysh1T8Dem3QAb+z3HzcznxSjNzv9zrpFNjh4uDI - xmkDIyO0m0xQzVj9/NUKHDx1BZsTL2DJvjRMjYnDsBkb8cOIxfT0Z6JTn6l4/7sx+LDHeIZ9C9B/7laM - 35CIOfszsD6tCEdybbhQ6UOhI2Tiflkj8amAvsbfmTQ7x2x+LM7IR98tcfho3jq8QeZ4aeIKPD9uE9rP - SUeH+QV4Z95VvLckj0Dn4QNK+CcLUvDx3CP4cMomfLdgO9adyUYu7XcFXbPiQBUctS7zurRAF9gaQA2G - BlHndX9yI2wGU96yJFADJzuscw2+SNKqOFmq/PvvvzfOlJIYRRKt+1Lvffv2NTZXDpsYQSBKouWU6VmS - QJkI1a/nDBs2zNSjaED5RQJQkq4pVrVNzpjaamkniwF0T0mg6/nSQiLVr/je6lujaNiOULCaP5wcFh8C - zmrYy4vhd3Fw9JK9w8X7dRv3fZQ2p90NP0Mi8ZT4y2yl4g+9O1bkCiDf5kVulRt5pPRr1ThXVIPMGhdy - 3AFcoRbR8qckTuCKSvj7MpnqHO30yVIXtpwvwYITVzFkx2l8viQBb0+Pw5NjtuGRkZvw5ITdeHl2Il5f - kIp3FuXgzRnX8MqUbLw+8zzazzyH96an4G9T9+LzmbsxKvYkYjKu4GLAR5MQRrV2soYq4QpVwBuwmYGy - gK5PkgQNjM4VU0viFDNrrls2WA6R5tGt+XTNsyufBl+Deu3aNQOY7msqVUyglJWVZa4nJSVhx44dOHv2 - rLmu+XgxlzVXrvqs6zt37jTPtO4pHFSbFYuLkdRGJV2TarckXiZGz1Kb1X7Zc2khq4+NtBwa9FYh5KWk - B22Ihqne6M16XDUEuBJRSoVPa+ge7SChlxgMo5aS42eop00FPg4oH8/YvNb8vRQ91pzzqA/2S3qlqgW0 - nC/Fz3pV6WQVVdu5asxhaPfT+lP4buERdJ4Rj9eHbMezA9fikf5r8ODArXhoxEE8OT4Rz0w7iadnncPD - My/i/ik8TmQcOzkD7844hzcmp+LlEQfQbsxODF5PsE8XIpk2SR8DLKNuKqGEu8KV8EWdsLvK6LsU1S2P - UtqtgbDIYgRJ0x8laQrlV1K4JPB1rX7SfTGEmMlK1jU9Q/a4zrzUlbOA03W1w0q6LqCVLJAtibeu2Wy2 - m+XrJz1LSc8QYzYKBTz8QYeGkuCy19BzrYD+VolIW5WjPIq0UT+kjw34augAORCMUvUTbjfz6AVCfRZT - 26C0Y8alTRYRfbSApoAaIq/Mjn0pZxFz4CgW7YzDoPlL0HHIfLz4w1I82YPg9liNh3utxaN9t+CZn/fg - 6Z/j8eLok3h5chaeHp+F1qPP4L6RZ3Dv2HO4e9xFtBlP6Z52AW+NP4a3xu7G18uTMfHQVWzNtpk3VsVo - 8uyr6LC5Q27owyrOkBM2tT2ivt1w4DgY9UkSroHRQGpQBZQGX4MrQCVhuq/fuqejpl1VTvXpaJHKCyRr - wJU04PWTdU91CjCVU1K91rlArA++6qhfp5KebaX6daoOlbXqUllj0/XHd/T2SCCq7UGaVtUrOHrf3Hvj - nE4eAQ7pD9hQ0kNRmoNaG2Wbks+jX1+BDtMUhFxmy7O+jKh9cvq2rHaaaJ98Hj3tvcdSMHfdZgyeNgdf - /TQcH/adgncGxuCFfuvxeI8YPPz9SrRhDP7IjzF4+qcdeKLfDrTuuRkP9dmOhwfG4YkhiXh+dDJen3we - 7aamo9vSU5i48xS2nCtCBgVAWkQaRS9WeCJ1bTFbsLWhI+yFW2+2sp+hkF46CJqdLxbQOtYnAWkBbg24 - 3W43c+aKo3UuGynbKUZQUj0CSGWkrjXJUlKiWIPMR4aRiRg9ejS2bNliHLLU1FSj6qW+9SyBJG2xbt06 - nDt3zpRT3D937lxs3LjR5JU50ezbypUrjfoXU2kZVSttMgEyDTNnzjS2Pz093fgLauesWbNMGZkIA7o2 - 8WtTvkjnCt3+TppHJytE9Ed76rYz689a+WsdBL6OEULmowQOqn16xHq9RztmtCWKg2VnHOznYAQkHeRG - fTc+nwOWXVyGQ5lFmB+fjckHLmLohvPoufg4usyNwyeTt+GjXzbjqxm70WXWAXSdF4+ey5KZ5xymH7yG - Vaft2HrRiROVflymo1mkGUV6GMFaH9W3PnFG6QvYjSbSnxYzfxkyGKJGovSS9I66+hYJ1zlA9UmAa1Cs - 33LmBLDOBaDmujW5Ivv4ww8/4KOPPjKxswBXPjGLksI0rYoJLNUn5pDDJ89d06ly/ERffPGFYQQxi0iT - L3LAxFya2VuxYoWJ7eXEjRs3ztQr51EOpRZkFKdrilfO3vvvv2+eofBv8uTJN+ffNZegGTo5kD/99JNZ - BWykjwuJtBvVHGWHb5CbVPcH6sjF7LjeJQtyYPU+lrRARC8V6rXcAAcpQC3Bzpu/UMi8+taKh5yozuiN - 2Bp99YHSJUsp2ZD61SdCS6iZ8ihMWd4ozthDSKVDd6LCj7SqIM7Rs7/kC+MKPfnrQXrgzCvfoJwgV1Ev - OdgGj95+IbP5I3ZqFxFNkL+KbaQq15s0Yli2zUPm9YppTV/U1jp1rCSwLdAl2TpqYUKbEjSvrhhbc95a - 6hTQAlhTqAJEXrjA00yZpE5Jjtq//du/Ga9ZoZLiZg2+JC0jI8M4d5YTKAdPY6QNE4rJNZ8u717PlQOm - 5VitjFlAarVs+PDhJvYXQ2kiZu3atSa/pmqlYcQQkm4xqI7SLmJYMZoBPciB/wci0ObIxssl0JehDFH9 - 690s84d1KfV6MU/Amz8nyUE131GhRJm/RcrGqEHUWWa7sJvXatwelJP07TliWCf51Ao2SqOb5c0f5yPT - 6VMndX9Bzc8jVSwdMT+Zy1vLfJEa2DxFKK0pgI3Op8tvo+2kg+auRMhTSme0AlEtjYYp+9REEWol8+cy - CXKAjMXgwYSe+kCB9YUnJanWX4Nuee4CXJMvip8FosCXF/3NN9+gWbNm6NOnj5Fexd3JycmmPkmpBl+A - SR1rGlaTLpJKkWJ3LbRIWwhMqWlpD0myJmJ0X5sppCnEBGIsAS1J1fKsni2zIMZUSKiIQtpE4Z5m+JRX - U7SSfs0Iqj7N+GlSSf1spIH4D8SxCN1gAuuLxealPJ7rjUy9kKcvK+iov7uq13rqPmdNm0kGsXaKynEw - dpFl6CIRQjIAy/j4AH0z1U/nKqhdKvQJwvQJQrTFklR3pAqeaBXBIQUIarCCoDEsCjPIq1WgJ71Eu0y/ - Q9+or3u7VS9QUFfJzFDFmz8tpjdq1B5qK/PnsQh23Z/Jou1me38Nuo4CXefWPctjlmOm2S2paDGEmEBq - V5JTP0kLTJ061Qy0mENJ6lXSOnHiRGN/tfYtAFWH1sj1PG2TkjYQ6L/88ouRfKl7MZpifIV/CuEEpiZd - xGAyJ4rtNUsoKdacv9qocwHfpUsXY8ulFTR3LwY13nvdIMh23yCKekhvp2iAJBFskAbIvL5DTrD+zrnA - 1pubAl9Ru/aI6+VFwwwcMJXTAwJ6DYi/9ZcMggRf30zVlyA82h5tXvqjtojSD4hqbz2vU/IddB5tlFQH - mcIrH4KRgWx2mOcBMoH+OqL+qqH2nev7skEe9Y69+WtI5Fp99UEfAxDg+ssTxillHTeJDp75WyoNgK6j - tJQ8aEm8jkryrjWospv5+flGvUsda4FFyXL4dJw0aRKaNm1qljjFLBp42Wk5VVo6lbMmJ0v3ZQqU5NxJ - MqWSpV1k6zVFq99iAssZkzbQTN3BgweNWdA9Pe+zzz4zs4LSBFoDEIlBZXYk/fIDdC6GbSRHre4vJxMo - w+WUbHZWHdY3UXQ0wFNNG/BvXDdHgq+JG0m5SKpc9ajjIQKhQdRfbvSYz4zRyeLgu/RFKg048+lPW+tV - KA2+mMW8HcMwy8U2mA8k6EjG0/vwNQRT6/g1LGNz+xCgrdenugI+qn9GCNparTVwvTeuP7MVIeAyOWqj - 8TWi+lNhIoWhPKrNvF7Xz7o+WqCLWSWx6ocFemlpqXGMtFNG6ltqWlIlZ09JnrfKKcluy+GSMyfVLrC0 - yUJqWg6ZpE7ANW7c2JgLJXnsMhOW7RXosvuaupWZkBev1TPN3Wt611pwkb+geuXMyWSoDfLctUCjvGq3 - PHu1RdpG7TR/jM90/kandV6f8y2yBseQpP7GdQ1M3bW6/Dq/WacAoER6GTZJH+jjevqenN50jaq8mIoA - 6QVA/RYjKYrQ58u06GOmZgU+ga77lFndjhsqIj7rBli8L42k16csv0RvoFj3TZv4PNn3KLVJHVGKb5gg - i6z+6lxHSagGUKDrnsCVlGsgZUsFuqTHUuHKJw2he5ImhU1SuwLKSqpH9lcOlzY5SL3LkVMSUGIiaROZ - Ad2T3Rb4CsPERFqn1xy+NIVUu7SMmEH35TvomUoLFy40TCawlbQeoHqs3+bPblodVqoD6+9Aq+NSIzr+ - mtRJga6jQjTlE5nf0gCUNkmZ1K/+hrn5+2+aE5DTx/xG0kl6ydH8wXnmr/ukKCWeoFikEMuYB55Lii1H - MajyqlNtYB0B1uHXixUkC8ybbQzVmRMdFaubdpk21rXFtIfn6rN1Xj+JCQS6QJF6lxoVCNIIVtI4WppB - 06zy6q1dspIwedlae5fdttS6ksZSU6bdu3c3wMv5EuiayhXIkmSBrshBzpjUv+J2PXvEiBE3PXtJuupQ - eCZtoWvSKqpPUi6tIya9CbqVdG5d07H+oNQnC1iLfn1f5Syqe4X576RXk1W/zs0kCcEyb7SG6syEyLwG - TDJq2NyrYyAzfUqgLfBugnmjDfqgj46q3zxbzzGkPv2dLKZuiAScmFdOmlSonCypU4GlzRKaX9fAazFD - 17VHXevosvsqK60gaf33f/93M1GjiRSFWtotIw9boZ0mdbRHXnkFujSCAJMmUSQgTSJGkCRL5UulC0yZ - AKl0zQ+orHwEgS6fQRIuoOXoqYxsvdohR1A+gUK5Opt+Y5B+TdYg/n3Q/pHqg2rRb96X/eZR9QkUfRX5 - H+4LVB0Jvskrya9/X9cl1ea36mbbbpC+52KctRt5f6tt9al+P+uT7qnfOkqKJBkaZA22VHnz5s3Nvjap - cDlUWkWT86RVNUm9VLW0gOy+Nj7KBxBDSGobNWqEv/zlLwZM2XFpCkmvVLMiBKlnedcqo/uy/Vp2VVlJ - uBhBHr/CRwGsVT0xkyIF5Ze3LpAl1dImAl4aQqGiogXVJ+9fZRrdEPDfTJba/88mlatP1jX+w3DrH5N+ - G6p34+Y18+vXv1Un/7Vu/ieT1Z7fShbjyEYq3tYEiI6aLNGGRaXMzEzjgWviQzGyPHFpAGkITdUKDCuv - wi0BKKlXPkmknDtJn2JxgX79+nWzhVohnMIxSaRCLeXViplsuJhNoZwkXY6fVtMEqDx41SutoPBQJO9d - 7VNeAa480hxy7BpJhf0e6UHW1t7/TqRBEf1n2lY/b0N9VX06yu5pkKWCpe6VLObVb4FkaYT6SepW5QW8 - leQL6LlKYiYrWWVVj+UH6PmqQ0k+gDWvr6TrmvOwkspZyWLS+kkmQ9qrftJzdK2R1FhDpIda1ND9P6L6 - 5f9vUEPPrE8NlRHVv9dQGQ20xRQWiAJNEiJv2bouAASSGETAihHEKLqmvMonVSo7r3qtOsQQyispVTmV - 0bMFiO6rXuW1nqX6LGZUPWqb/AeVE9C6pnvyD1Rev1WvzrVeoOervXqG6tTv31Tv9TnbOv/PkuUY/Z+m - hp71a2qonCTCuv9bySprSavl2yhZ9Qgg5dOga/CVJFkCTPd1rmeJgayy1nNVr47Ko/Iqo2dYWkC/rXaq - rO7pXEfVrWuWFAtc1WHl1dGSepHy65raqDbrt+430kWLlKzMVmEd/3fIevD/LWromfWpoTIi9c06WoP0 - 62P9PBboVp317+moe9a5RQJFyarTuq7fVv5fP8e6bpVVOevZOrfaYP22rln1W4wjsp4nssr9/Xlh/P/3 - q22C8fY24wAAAABJRU5ErkJggg== - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmSecondCheckResize.Designer.cs b/喷涂上线/Code/PaintingPC/FrmSecondCheckResize.Designer.cs deleted file mode 100644 index a5056e9..0000000 --- a/喷涂上线/Code/PaintingPC/FrmSecondCheckResize.Designer.cs +++ /dev/null @@ -1,432 +0,0 @@ -namespace PaintingPC -{ - partial class FrmSecondCheckResize - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmSecondCheckResize)); - this.labChangeColor = new System.Windows.Forms.Label(); - this.labelVersion = new System.Windows.Forms.Label(); - this.labStation = new System.Windows.Forms.Label(); - this.labWorkClass = new System.Windows.Forms.Label(); - this.rdo3 = new System.Windows.Forms.RadioButton(); - this.rdo2 = new System.Windows.Forms.RadioButton(); - this.rdo1 = new System.Windows.Forms.RadioButton(); - this.labTime = new System.Windows.Forms.Label(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.labTitle = new System.Windows.Forms.Label(); - this.panel2 = new System.Windows.Forms.Panel(); - this.pictureBox2 = new System.Windows.Forms.PictureBox(); - this.label15 = new System.Windows.Forms.Label(); - this.labProductInfo = new System.Windows.Forms.Label(); - this.label2 = new System.Windows.Forms.Label(); - this.label8 = new System.Windows.Forms.Label(); - this.labFirstCheck = new System.Windows.Forms.Label(); - this.labSecondCheck = new System.Windows.Forms.Label(); - this.label7 = new System.Windows.Forms.Label(); - this.labThirdCheck = new System.Windows.Forms.Label(); - this.label10 = new System.Windows.Forms.Label(); - this.btnPass = new System.Windows.Forms.Button(); - this.btnAbt = new System.Windows.Forms.Button(); - this.txtBarCode = new System.Windows.Forms.TextBox(); - this.labProPosition = new System.Windows.Forms.Label(); - this.btnFirstPass = new System.Windows.Forms.Button(); - this.btnRepair = new System.Windows.Forms.Button(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); - this.SuspendLayout(); - // - // labChangeColor - // - this.labChangeColor.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.labChangeColor.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labChangeColor.Location = new System.Drawing.Point(911, 99); - this.labChangeColor.Name = "labChangeColor"; - this.labChangeColor.Size = new System.Drawing.Size(107, 70); - this.labChangeColor.TabIndex = 25; - this.labChangeColor.Text = "修改颜色"; - this.labChangeColor.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.labChangeColor.Click += new System.EventHandler(this.labChangeColor_Click); - this.labChangeColor.MouseLeave += new System.EventHandler(this.labChangeColor_MouseLeave); - this.labChangeColor.MouseMove += new System.Windows.Forms.MouseEventHandler(this.labChangeColor_MouseMove); - // - // labelVersion - // - this.labelVersion.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.labelVersion.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labelVersion.Location = new System.Drawing.Point(703, 99); - this.labelVersion.Name = "labelVersion"; - this.labelVersion.Size = new System.Drawing.Size(202, 70); - this.labelVersion.TabIndex = 24; - this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labStation - // - this.labStation.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.labStation.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labStation.Location = new System.Drawing.Point(612, 99); - this.labStation.Name = "labStation"; - this.labStation.Size = new System.Drawing.Size(87, 70); - this.labStation.TabIndex = 23; - this.labStation.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labWorkClass - // - this.labWorkClass.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.labWorkClass.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labWorkClass.Location = new System.Drawing.Point(511, 99); - this.labWorkClass.Name = "labWorkClass"; - this.labWorkClass.Size = new System.Drawing.Size(97, 70); - this.labWorkClass.TabIndex = 22; - this.labWorkClass.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.labWorkClass.Click += new System.EventHandler(this.labWorkClass_Click); - // - // rdo3 - // - this.rdo3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.rdo3.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.rdo3.Location = new System.Drawing.Point(344, 99); - this.rdo3.Name = "rdo3"; - this.rdo3.Size = new System.Drawing.Size(159, 70); - this.rdo3.TabIndex = 21; - this.rdo3.Text = "项目调试"; - this.rdo3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.rdo3.UseVisualStyleBackColor = false; - // - // rdo2 - // - this.rdo2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.rdo2.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.rdo2.Location = new System.Drawing.Point(178, 99); - this.rdo2.Name = "rdo2"; - this.rdo2.Size = new System.Drawing.Size(159, 70); - this.rdo2.TabIndex = 20; - this.rdo2.Text = "量产调试"; - this.rdo2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.rdo2.UseVisualStyleBackColor = false; - // - // rdo1 - // - this.rdo1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); - this.rdo1.Checked = true; - this.rdo1.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.rdo1.Location = new System.Drawing.Point(12, 99); - this.rdo1.Name = "rdo1"; - this.rdo1.Size = new System.Drawing.Size(159, 70); - this.rdo1.TabIndex = 19; - this.rdo1.TabStop = true; - this.rdo1.Text = "正式量产"; - this.rdo1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.rdo1.UseVisualStyleBackColor = false; - // - // labTime - // - this.labTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.labTime.Font = new System.Drawing.Font("宋体", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labTime.Location = new System.Drawing.Point(768, 9); - this.labTime.Name = "labTime"; - this.labTime.Size = new System.Drawing.Size(250, 84); - this.labTime.TabIndex = 18; - this.labTime.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.labTime.Click += new System.EventHandler(this.labTime_Click); - // - // pictureBox1 - // - this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); - this.pictureBox1.Location = new System.Drawing.Point(12, 9); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(159, 84); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox1.TabIndex = 17; - this.pictureBox1.TabStop = false; - // - // labTitle - // - this.labTitle.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.labTitle.Font = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labTitle.Location = new System.Drawing.Point(161, 9); - this.labTitle.Name = "labTitle"; - this.labTitle.Size = new System.Drawing.Size(601, 84); - this.labTitle.TabIndex = 16; - this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // panel2 - // - this.panel2.Location = new System.Drawing.Point(12, 486); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(844, 282); - this.panel2.TabIndex = 48; - // - // pictureBox2 - // - this.pictureBox2.Location = new System.Drawing.Point(12, 257); - this.pictureBox2.Name = "pictureBox2"; - this.pictureBox2.Size = new System.Drawing.Size(844, 223); - this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox2.TabIndex = 47; - this.pictureBox2.TabStop = false; - // - // label15 - // - this.label15.BackColor = System.Drawing.Color.Lime; - this.label15.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label15.Location = new System.Drawing.Point(12, 175); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(159, 75); - this.label15.TabIndex = 49; - this.label15.Text = "扫码信息"; - this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labProductInfo - // - this.labProductInfo.BackColor = System.Drawing.Color.White; - this.labProductInfo.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labProductInfo.Location = new System.Drawing.Point(695, 175); - this.labProductInfo.Name = "labProductInfo"; - this.labProductInfo.Size = new System.Drawing.Size(324, 75); - this.labProductInfo.TabIndex = 52; - this.labProductInfo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label2 - // - this.label2.BackColor = System.Drawing.Color.Lime; - this.label2.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label2.Location = new System.Drawing.Point(603, 175); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(90, 75); - this.label2.TabIndex = 51; - this.label2.Text = "产品信息"; - this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label8 - // - this.label8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); - this.label8.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label8.Location = new System.Drawing.Point(860, 306); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(159, 48); - this.label8.TabIndex = 53; - this.label8.Text = "一检结果"; - this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labFirstCheck - // - this.labFirstCheck.BackColor = System.Drawing.Color.White; - this.labFirstCheck.Font = new System.Drawing.Font("黑体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labFirstCheck.Location = new System.Drawing.Point(860, 353); - this.labFirstCheck.Name = "labFirstCheck"; - this.labFirstCheck.Size = new System.Drawing.Size(159, 72); - this.labFirstCheck.TabIndex = 54; - this.labFirstCheck.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labSecondCheck - // - this.labSecondCheck.BackColor = System.Drawing.Color.White; - this.labSecondCheck.Font = new System.Drawing.Font("黑体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labSecondCheck.Location = new System.Drawing.Point(860, 471); - this.labSecondCheck.Name = "labSecondCheck"; - this.labSecondCheck.Size = new System.Drawing.Size(159, 67); - this.labSecondCheck.TabIndex = 56; - this.labSecondCheck.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label7 - // - this.label7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); - this.label7.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label7.Location = new System.Drawing.Point(862, 427); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(157, 40); - this.label7.TabIndex = 55; - this.label7.Text = "二检结果"; - this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labThirdCheck - // - this.labThirdCheck.BackColor = System.Drawing.Color.White; - this.labThirdCheck.Font = new System.Drawing.Font("黑体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labThirdCheck.Location = new System.Drawing.Point(859, 581); - this.labThirdCheck.Name = "labThirdCheck"; - this.labThirdCheck.Size = new System.Drawing.Size(160, 60); - this.labThirdCheck.TabIndex = 58; - this.labThirdCheck.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label10 - // - this.label10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); - this.label10.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label10.Location = new System.Drawing.Point(860, 541); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(159, 37); - this.label10.TabIndex = 57; - this.label10.Text = "三检结果"; - this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // btnPass - // - this.btnPass.BackColor = System.Drawing.Color.LightGray; - this.btnPass.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnPass.Location = new System.Drawing.Point(896, 644); - this.btnPass.Name = "btnPass"; - this.btnPass.Size = new System.Drawing.Size(40, 124); - this.btnPass.TabIndex = 59; - this.btnPass.Text = "抛光合格"; - this.btnPass.UseVisualStyleBackColor = false; - this.btnPass.Click += new System.EventHandler(this.btnPass_Click); - // - // btnAbt - // - this.btnAbt.BackColor = System.Drawing.Color.LightGray; - this.btnAbt.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnAbt.Location = new System.Drawing.Point(981, 644); - this.btnAbt.Name = "btnAbt"; - this.btnAbt.Size = new System.Drawing.Size(40, 124); - this.btnAbt.TabIndex = 61; - this.btnAbt.Text = "抛光报废"; - this.btnAbt.UseVisualStyleBackColor = false; - this.btnAbt.Click += new System.EventHandler(this.btnAbt_Click); - // - // txtBarCode - // - this.txtBarCode.BackColor = System.Drawing.Color.White; - this.txtBarCode.Font = new System.Drawing.Font("黑体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.txtBarCode.Location = new System.Drawing.Point(178, 187); - this.txtBarCode.Name = "txtBarCode"; - this.txtBarCode.Size = new System.Drawing.Size(419, 53); - this.txtBarCode.TabIndex = 0; - this.txtBarCode.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - this.txtBarCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBarCode_KeyDown); - // - // labProPosition - // - this.labProPosition.BackColor = System.Drawing.Color.White; - this.labProPosition.Font = new System.Drawing.Font("黑体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labProPosition.Location = new System.Drawing.Point(859, 257); - this.labProPosition.Name = "labProPosition"; - this.labProPosition.Size = new System.Drawing.Size(159, 49); - this.labProPosition.TabIndex = 62; - this.labProPosition.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // btnFirstPass - // - this.btnFirstPass.BackColor = System.Drawing.Color.LightGray; - this.btnFirstPass.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnFirstPass.Location = new System.Drawing.Point(852, 644); - this.btnFirstPass.Name = "btnFirstPass"; - this.btnFirstPass.Size = new System.Drawing.Size(40, 124); - this.btnFirstPass.TabIndex = 65; - this.btnFirstPass.Text = "一次合格"; - this.btnFirstPass.UseVisualStyleBackColor = false; - this.btnFirstPass.Click += new System.EventHandler(this.btnFirstPass_Click); - // - // btnRepair - // - this.btnRepair.BackColor = System.Drawing.Color.LightGray; - this.btnRepair.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnRepair.Location = new System.Drawing.Point(939, 644); - this.btnRepair.Name = "btnRepair"; - this.btnRepair.Size = new System.Drawing.Size(40, 124); - this.btnRepair.TabIndex = 64; - this.btnRepair.Text = "二次返修"; - this.btnRepair.UseVisualStyleBackColor = false; - this.btnRepair.Click += new System.EventHandler(this.btnRepair_Click); - // - // FrmSecondCheckResize - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1024, 768); - this.Controls.Add(this.btnFirstPass); - this.Controls.Add(this.labProPosition); - this.Controls.Add(this.btnRepair); - this.Controls.Add(this.txtBarCode); - this.Controls.Add(this.btnAbt); - this.Controls.Add(this.btnPass); - this.Controls.Add(this.labThirdCheck); - this.Controls.Add(this.label10); - this.Controls.Add(this.labSecondCheck); - this.Controls.Add(this.label7); - this.Controls.Add(this.labFirstCheck); - this.Controls.Add(this.label8); - this.Controls.Add(this.labProductInfo); - this.Controls.Add(this.label2); - this.Controls.Add(this.label15); - this.Controls.Add(this.panel2); - this.Controls.Add(this.pictureBox2); - this.Controls.Add(this.labChangeColor); - this.Controls.Add(this.labelVersion); - this.Controls.Add(this.labStation); - this.Controls.Add(this.labWorkClass); - this.Controls.Add(this.rdo3); - this.Controls.Add(this.rdo2); - this.Controls.Add(this.rdo1); - this.Controls.Add(this.labTime); - this.Controls.Add(this.pictureBox1); - this.Controls.Add(this.labTitle); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Name = "FrmSecondCheckResize"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "FrmSecondCheck"; - this.Load += new System.EventHandler(this.FrmSecondCheck_Load); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.Label labChangeColor; - private System.Windows.Forms.Label labelVersion; - private System.Windows.Forms.Label labStation; - private System.Windows.Forms.Label labWorkClass; - private System.Windows.Forms.RadioButton rdo3; - private System.Windows.Forms.RadioButton rdo2; - private System.Windows.Forms.RadioButton rdo1; - private System.Windows.Forms.Label labTime; - private System.Windows.Forms.PictureBox pictureBox1; - private System.Windows.Forms.Label labTitle; - private System.Windows.Forms.Panel panel2; - private System.Windows.Forms.PictureBox pictureBox2; - private System.Windows.Forms.Label label15; - private System.Windows.Forms.Label labProductInfo; - private System.Windows.Forms.Label label2; - private System.Windows.Forms.Label label8; - private System.Windows.Forms.Label labFirstCheck; - private System.Windows.Forms.Label labSecondCheck; - private System.Windows.Forms.Label label7; - private System.Windows.Forms.Label labThirdCheck; - private System.Windows.Forms.Label label10; - private System.Windows.Forms.Button btnPass; - private System.Windows.Forms.Button btnAbt; - private System.Windows.Forms.TextBox txtBarCode; - private System.Windows.Forms.Label labProPosition; - private System.Windows.Forms.Button btnFirstPass; - private System.Windows.Forms.Button btnRepair; - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmSecondCheckResize.cs b/喷涂上线/Code/PaintingPC/FrmSecondCheckResize.cs deleted file mode 100644 index 61ef89e..0000000 --- a/喷涂上线/Code/PaintingPC/FrmSecondCheckResize.cs +++ /dev/null @@ -1,831 +0,0 @@ -using PaintingPC.Model; -using PaintingPC.WebReference; -using System; -using System.Configuration; -using System.Data; -using System.Drawing; -using System.IO; -using System.Net.NetworkInformation; -using System.Reflection; -using System.Threading; -using System.Windows.Forms; - -namespace PaintingPC -{ - public partial class FrmSecondCheckResize : Form - { - int count = 0; //缺陷图选择个数 - public static string ColorName = ""; //修改颜色 - - public FrmSecondCheckResize() - { - InitializeComponent(); - } - - private void FrmSecondCheck_Load(object sender, EventArgs e) - { - Control.CheckForIllegalCrossThreadCalls = false; - InitPage(); - } - - public void InitPage() - { - try - { - string title = ConfigurationManager.AppSettings["Position"].ToString(); - string workClass = Function.GetWorkClass(); - string station = ConfigurationManager.AppSettings["Station"].ToString(); - - labTitle.Text = title; - labWorkClass.Text = workClass; - labStation.Text = station; - labelVersion.Text = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); - - Program.IP = ConfigurationManager.AppSettings["IP"].ToString(); - - //System.Threading.Timer timer = new System.Threading.Timer(delegate - //{ - // labTime.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); - //}, - //null, - //2000, - //1000 - //); - - - Thread t = new Thread(new ThreadStart(TimeGo)); - t.Start(); - } - catch (Exception ex) - { } - } - - private void TimeGo() - { - System.Timers.Timer timer = new System.Timers.Timer(); - timer.Interval = 10; - timer.Enabled = true; - timer.Elapsed += new System.Timers.ElapsedEventHandler(timer_Tick); - } - - private void timer_Tick(object sender, EventArgs e) - { - labTime.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); - Thread.Sleep(500); - } - - /// - /// 缺陷图点击 - /// - /// - /// - void lblRoom_Click(object sender, EventArgs e) - { - //Label a = (Label)sender; - //foreach (Control c in pictureBox2.Controls) - //{ - // c.BackColor = Color.Transparent; - //} - //string aa = a.Text; - ////a.BackColor = System.Drawing.Color.Chartreuse; - //a.BackColor = Color.FromArgb(150,System.Drawing.Color.Chartreuse); - - Label a = (Label)sender; - string aa = a.Text; - if (a.BackColor == Color.Transparent) - { - a.BackColor = Color.FromArgb(150, System.Drawing.Color.Chartreuse); - count++; - } - else - { - a.BackColor = Color.Transparent; - count--; - } - } - - /// - /// 缺陷原因点击 - /// - /// - /// - void dLbRoom_Click(object sender, EventArgs e) - { - if (count == 0) - { - MessageBox.Show("请选择缺陷区域!"); - return; - } - Label a = (Label)sender; - string aa = a.Text; - if (a.BackColor == Color.Transparent) - { - a.BackColor = Color.Chartreuse; - } - else - { - a.BackColor = Color.Transparent; - } - } - - private Control[] SetControlGroup() - { - Control[] controls = { btnPass, btnAbt }; - return controls; - } - - /// - /// 清除控件选中 - /// - /// - public void ClearControlColor(Control[] controls) - { - foreach (Control c in controls) - { - c.BackColor = Color.LightGray; - } - } - - /// - /// 通过按钮 - /// - /// - /// - private void btnPass_Click(object sender, EventArgs e) - { - ClearControlColor(SetControlGroup()); - btnPass.BackColor = Color.GreenYellow; - //保存 - SaveInspect(); - ClearPage(); - ClearTxtBarcode(); - txtBarCode.TabIndex = 0; - //LoadPage(); - //ClearInspect(); - //ClearControlColor(SetControlGroup()); - } - - /// - /// 抛光按钮 - /// - /// - /// - private void btnRepair_Click(object sender, EventArgs e) - { - #region 必须选择缺陷位置与缺陷原因,否则无法保存 - string damnPositionTemp = ""; - string reasonTemp = ""; - //缺陷位置 - foreach (Control c in pictureBox2.Controls) - { - Label lab = c as Label; - if (lab.BackColor != Color.Transparent) - { - damnPositionTemp += lab.Text + ";"; - } - } - //缺陷原因 - foreach (Control c in panel2.Controls) - { - Label lab = c as Label; - if (lab.BackColor != Color.Transparent) - { - reasonTemp += lab.Text + ";"; - } - } - - if (string.IsNullOrWhiteSpace(damnPositionTemp) || string.IsNullOrWhiteSpace(reasonTemp)) - { - MessageBox.Show("必须选择缺陷位置与缺陷原因,否则无法保存!"); - return; - } - #endregion - - ClearControlColor(SetControlGroup()); - btnRepair.BackColor = Color.Yellow; - //保存 - SaveInspect(); - ClearPage(); - ClearTxtBarcode(); - txtBarCode.TabIndex = 0; - } - - /// - /// 报废按钮 - /// - /// - /// - private void btnAbt_Click(object sender, EventArgs e) - { - #region 必须选择缺陷位置与缺陷原因,否则无法保存 - string damnPositionTemp = ""; - string reasonTemp = ""; - //缺陷位置 - foreach (Control c in pictureBox2.Controls) - { - Label lab = c as Label; - if (lab.BackColor != Color.Transparent) - { - damnPositionTemp += lab.Text + ";"; - } - } - //缺陷原因 - foreach (Control c in panel2.Controls) - { - Label lab = c as Label; - if (lab.BackColor != Color.Transparent) - { - reasonTemp += lab.Text + ";"; - } - } - - if (string.IsNullOrWhiteSpace(damnPositionTemp) || string.IsNullOrWhiteSpace(reasonTemp)) - { - MessageBox.Show("必须选择缺陷位置与缺陷原因,否则无法保存!"); - return; - } - #endregion - - ClearControlColor(SetControlGroup()); - btnAbt.BackColor = Color.Red; - //保存 - SaveInspect(); - - #region 报废则调WMS WebService,入库 - - try - { - WMSWebService webService = new WMSWebService(); - webService.Url = ConfigurationManager.AppSettings["WMSWebServiceURL"].ToString(); - //webService.Timeout = 1200000; - - string errorReason = ""; - webService.WMSSprayingForCS(Function.UniteBarCodeToOne(txtBarCode.Text.Trim()), 0, out errorReason); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase("工位:" + labStation.Text.Trim() + ",二次质检调用WMS接口:" + ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - - #endregion - - ClearPage(); - ClearTxtBarcode(); - txtBarCode.TabIndex = 0; - //ClearInspect(); - //ClearControlColor(SetControlGroup()); - - - } - - - public void SaveInspect() - { - try - { - if (!string.IsNullOrWhiteSpace(txtBarCode.Text.Trim())) - { - InspectModel model1 = new InspectModel(); - model1.ID = Guid.NewGuid().ToString(); - model1.barcode = Function.UniteBarCodeToOne(txtBarCode.Text.Trim()); - - if (labProductInfo.Tag != null) - { - model1.side = labProductInfo.Tag.ToString(); - } - else - { - model1.side = ""; - } - model1.position = labTitle.Text.Trim(); - model1.stationNo = labStation.Text; - model1.workClass = labWorkClass.Text; - - if (btnPass.BackColor != Color.LightGray && btnAbt.BackColor == Color.LightGray) - { - model1.inspectResult = "[合格]"; - } - if (btnPass.BackColor == Color.LightGray && btnAbt.BackColor != Color.LightGray) - { - model1.inspectResult = "[报废]"; - } - if (btnPass.BackColor == Color.LightGray && btnAbt.BackColor == Color.LightGray) - { - model1.inspectResult = "[抛光]"; - } - - //缺陷位置 - foreach (Control c in pictureBox2.Controls) - { - Label lab = c as Label; - if (lab.BackColor != Color.Transparent) - { - model1.damnPosition += lab.Text + ";"; - } - } - //缺陷原因 - foreach (Control c in panel2.Controls) - { - Label lab = c as Label; - if (lab.BackColor != Color.Transparent) - { - model1.reason += lab.Text + ";"; - } - } - - if (model1.inspectResult == "[报废]" || model1.inspectResult == "[抛光]") - { - if (string.IsNullOrWhiteSpace(model1.damnPosition) || string.IsNullOrWhiteSpace(model1.reason)) - { - MessageBox.Show("必须选择缺陷位置与缺陷原因,否则无法保存!"); - return; - } - } - - if (rdo1.Checked) - { - model1.productOption = "1"; - } - else if (rdo2.Checked) - { - model1.productOption = "2"; - } - else if (rdo3.Checked) - { - model1.productOption = "3"; - } - - model1.productInfo = labProductInfo.Text.Trim(); - model1.InspectTimes = ConfigurationManager.AppSettings["InspectTimes"].ToString(); - - if (!string.IsNullOrWhiteSpace(labSecondCheck.Text)) - { - model1.InspectTimes = "3"; - } - - Function.InsertInspect(model1); - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase("二次质检提交:" + ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - - public void ClearInspect() - { - //缺陷位置 - foreach (Control c in pictureBox2.Controls) - { - Label lab = c as Label; - lab.BackColor = Color.Transparent; - } - //缺陷原因 - foreach (Control c in panel2.Controls) - { - Label lab = c as Label; - lab.BackColor = Color.Transparent; - } - } - - /// - /// 扫码-根据条码查询信息(产品信息、加载图片及缺陷原因、三次检验信息) - /// - /// - /// - private void txtBarCode_KeyDown(object sender, KeyEventArgs e) - { - if (e.KeyCode == Keys.Enter) - { - ClearPage(); - LoadPage(); - } - } - - private void LoadPage() - { - try - { - ButtonEnable(SetControlGroup()); - //ClearPage(); - - //测试条码:11111111112222222222 - string barcode = txtBarCode.Text.Trim(); - if (barcode.Contains(".")) - { - barcode = Function.TransToBarCodeOne(barcode); - } - - #region 判断条码有效性 - - if (!Function.BarCodeValid(barcode)) - { - MessageBox.Show("扫描的条码号:" + barcode + "无效,请重新扫描!"); - txtBarCode.Text = ""; - return; - } - - #endregion - - #region 根据条码查询AB侧 - - string side = Function.GetSide(barcode); - labProductInfo.Tag = side; - - #endregion - - #region 如果是补打的条码,查询产品信息 - if (!barcode.Contains(".") && barcode.Length > 4) - { - string strCode = barcode.Substring(barcode.Length - 4, 4); - int num = 0; - Int32.TryParse(strCode, out num); - if (num > 7000) - { - labProductInfo.Text = Function.GetReprintInfo(barcode); - if (string.IsNullOrWhiteSpace(labProductInfo.Text.Trim())) - { - ButtonDisable(SetControlGroup()); - labProductInfo.Text = "没有查询到补打条码信息"; - return; - } - } - - } - #endregion - - //根据条码查询,加载图片及原因 - int row = 0, col = 0; - string picture = ""; - - #region 缺陷原因 - - int drow = 0, dcol = 5; //行,列 - - DataTable dt3 = Function.SearchDefectInfo(ConfigurationManager.AppSettings["Station"].Trim()); - if (dt3 != null && dt3.Rows.Count > 0) - { - drow = Convert.ToInt32(Math.Ceiling((double)dt3.Rows.Count / dcol)); - Label[] dLb = new Label[7]; - string[] dstr = new string[dt3.Rows.Count]; - - for (int i = 0; i < dt3.Rows.Count; i++) - { - dstr[i] = dt3.Rows[i]["DefectName"].ToString(); - } - - for (int i = 0; i < dcol; i++) //列 - { - for (int j = 0; j < drow; j++) //行 - { - dLb[i] = new Label(); - if ((i + dcol * j) < dstr.Length) - { - dLb[i].Text = dstr[i + dcol * j].ToString(); - dLb[i].Font = new Font(dLb[i].Font.FontFamily, 24, FontStyle.Bold); - dLb[i].Size = new Size(150, 40); - dLb[i].Location = new Point(20 + i * (dLb[i].Size.Width + 5), 5 + j * (dLb[i].Size.Height + 5)); - dLb[i].BorderStyle = BorderStyle.FixedSingle; - dLb[i].BackColor = Color.Transparent; - dLb[i].TextAlign = ContentAlignment.MiddleCenter; - panel2.Controls.Add(dLb[i]); - dLb[i].Click += new EventHandler(dLbRoom_Click); - } - } - } - } - - #endregion - - #region 加载图片 - DataTable dt = Function.SearchInfoByBarCode(barcode); - - if (dt != null && dt.Rows.Count > 0) - { - row = Convert.ToInt32(dt.Rows[0]["Rows"].ToString()); - col = Convert.ToInt32(dt.Rows[0]["Cols"].ToString()); - picture = dt.Rows[0]["PicturePath"].ToString(); - } - dt.Dispose(); - - //if (!File.Exists(Program.PicturePath + @"\" + "picture")) - if (!File.Exists(System.IO.Directory.GetCurrentDirectory() + @"\" + picture)) - { - Ping p1 = new Ping(); - bool status = false; - - PingReply reply = p1.Send(Program.IP); //发送主机名或Ip地址 - if (reply.Status == IPStatus.Success) - { - string PictureFolder = ConfigurationManager.AppSettings["PictureFolder"].ToString(); - string User = ConfigurationManager.AppSettings["User"].ToString(); - string UserPwd = ConfigurationManager.AppSettings["UserPwd"].ToString(); - status = Upload.DoConnComputer(Program.IP, PictureFolder, User, UserPwd); - if (status == true) - { - //共享文件夹的目录 - string path = ConfigurationManager.AppSettings["RemotePictureFolder"].ToString() + picture; - DirectoryInfo theFolder = new DirectoryInfo(path); - string filename = theFolder.ToString(); - - //执行方法 - Function.TransportRemoteToLocal(filename, System.Environment.CurrentDirectory + "\\", picture); //实现将远程服务器文件写入到本地 - - } - } - } - FileStream fs = new FileStream(System.Environment.CurrentDirectory + "\\" + picture, FileMode.Open, - FileAccess.Read);//获取图片文件流 - Image img = Image.FromStream(fs); // 文件流转换成Image格式 - pictureBox2.Image = img; //给 图片框设置要显示的图片 - fs.Close(); // 关闭流,释放图片资源 - #endregion - - #region 缺陷图划分区域 - - Label[] lb = new Label[5]; - string[] str = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" }; - - for (int i = 0; i < col; i++) - { - for (int j = 0; j < row; j++) - { - lb[i] = new Label(); - lb[i].Text = str[i + col * j].ToString(); - lb[i].Font = new Font(lb[i].Font.FontFamily, 32, FontStyle.Bold); - - lb[i].Size = new Size(pictureBox2.Width / col, pictureBox2.Height / row); - lb[i].Location = new Point(0 + i * lb[i].Size.Width, 0 + j * lb[i].Size.Height); - lb[i].BorderStyle = BorderStyle.FixedSingle; - lb[i].BackColor = Color.Transparent; - lb[i].TextAlign = ContentAlignment.MiddleCenter; - pictureBox2.Controls.Add(lb[i]); - - lb[i].Click += new EventHandler(lblRoom_Click); - } - } - - #endregion - - //不是补打的条码,根据条码查询产品信息、检验信息,选中缺陷位置及原因 - DataTable dtInspect = Function.GetInspectInfoByBarCode(barcode); - if (dtInspect != null && dtInspect.Rows.Count > 0) - { - labProductInfo.Text = dtInspect.Rows[0]["productInfo"].ToString().Trim(); //产品信息 - string position = dtInspect.Rows[0]["damnPosition"].ToString(); //缺陷位置 - string reason = dtInspect.Rows[0]["reason"].ToString(); //原因 - - #region 三检结果 - for (int i = 0; i < dtInspect.Rows.Count; i++) - { - string time = dtInspect.Rows[i]["InspectTimes"].ToString(); - string result = dtInspect.Rows[i]["inspectResult"].ToString() + dtInspect.Rows[i]["damnPosition"].ToString() + ":" + dtInspect.Rows[i]["reason"].ToString(); - switch (time) - { - case "1": - labFirstCheck.Text = result; - break; - case "2": - labSecondCheck.Text = result; - break; - case "3": - labThirdCheck.Text = result; - break; - } - } - #endregion - - #region 选中缺陷位置及原因 - foreach (Control c in pictureBox2.Controls) - { - Label lab = c as Label; - if (position.Contains(lab.Text)) - { - lab.BackColor = Color.FromArgb(150, System.Drawing.Color.Chartreuse); - count++; - } - } - foreach (Control c in panel2.Controls) - { - Label lab = c as Label; - if (reason.Contains(lab.Text)) - { - lab.BackColor = Color.Chartreuse; - } - } - #endregion - - #region 根据一检结果显示一检时的位置 - - labProPosition.Text = Function.GetFirstInsPosition(dtInspect); - - #endregion - } - - #region 没有一检结果,查询老外数据库,取产品信息 - - if (string.IsNullOrWhiteSpace(labProductInfo.Text.Trim())) - { - //没有一检结果,查询产品信息 - labProductInfo.Text = Function.GetProductInfo(barcode); - } - - #endregion - - #region 没有一检结果,提示 - if (string.IsNullOrWhiteSpace(labFirstCheck.Text.Trim())) - { - MessageBox.Show("没有一检结果!", "警告", MessageBoxButtons.OK); - } - #endregion - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - } - } - - /// - /// 设置按钮不可用 - /// - /// - private void ButtonDisable(Control[] controls) - { - foreach (Control c in controls) - { - Button btn = c as Button; - btn.Enabled = false; - } - } - - /// - /// 设置按钮可用 - /// - /// - private void ButtonEnable(Control[] controls) - { - foreach (Control c in controls) - { - Button btn = c as Button; - btn.Enabled = true; - } - } - - private void labWorkClass_Click(object sender, EventArgs e) - { - Function.ChangeWorkClass(labWorkClass); - } - - /// - /// 点击退出 - /// - /// - /// - private void labTime_Click(object sender, EventArgs e) - { - Environment.Exit(0); - } - - /// - /// 清空页面 - /// - private void ClearPage() - { - labProductInfo.Tag = null; - labProductInfo.Text = ""; - labFirstCheck.Text = ""; - labSecondCheck.Text = ""; - labThirdCheck.Text = ""; - btnPass.BackColor = Color.LightGray; - btnAbt.BackColor = Color.LightGray; - //btnRepair.BackColor = Color.LightGray; - - ClearInspect(); - ClearControlColor(SetControlGroup()); - pictureBox2.Controls.Clear(); - panel2.Controls.Clear(); - pictureBox2.Image = null; - txtBarCode.TabIndex = 0; - txtBarCode.Select(); - } - - /// - /// 一次合格 - /// - /// - /// - private void btnFirstPass_Click(object sender, EventArgs e) - { - ClearControlColor(SetControlGroup()); - btnPass.BackColor = Color.SeaGreen; - //保存 - SaveInspect_First(); - ClearPage(); - ClearTxtBarcode(); - txtBarCode.TabIndex = 0; - //LoadPage(); - //ClearInspect(); - //ClearControlColor(SetControlGroup()); - } - - /// - /// 一次质检合格按钮 - /// - private void SaveInspect_First() - { - try - { - if (!string.IsNullOrWhiteSpace(txtBarCode.Text.Trim())) - { - InspectModel model1 = new InspectModel(); - model1.ID = Guid.NewGuid().ToString(); - model1.barcode = Function.UniteBarCodeToOne(txtBarCode.Text.Trim()); - if (labProductInfo.Tag != null) - { - model1.side = labProductInfo.Tag.ToString(); - } - else - { - model1.side = ""; - } - model1.position = labTitle.Text.Trim(); - model1.stationNo = labStation.Text; - model1.workClass = labWorkClass.Text; - - model1.inspectResult = "[合格]"; - - if (rdo1.Checked) - { - model1.productOption = "1"; - } - else if (rdo2.Checked) - { - model1.productOption = "2"; - } - else if (rdo3.Checked) - { - model1.productOption = "3"; - } - - model1.productInfo = labProductInfo.Text.Trim(); - model1.InspectTimes = "1"; - - Function.InsertInspect(model1); - - txtBarCode.Text = ""; - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase("二次质检补录一检结果:" + ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - - #region 更改颜色按钮 - /// - /// 更改颜色 - /// - /// - /// - private void labChangeColor_Click(object sender, EventArgs e) - { - ColorName = ""; - - //FrmChangeColor frm = new FrmChangeColor(); - FrmChangeColorResize frm = new FrmChangeColorResize(); - frm.ShowDialog(); - - if (!string.IsNullOrWhiteSpace(labProductInfo.Text.Trim())) - { - string[] str = labProductInfo.Text.Trim().Split(','); - if (str.Length > 1) - { - labProductInfo.Text = ColorName + "," + str[str.Length - 1] ; - } - } - else - { - labProductInfo.Text = ColorName; - } - } - - private void labChangeColor_MouseLeave(object sender, EventArgs e) - { - Label lab = sender as Label; - lab.BackColor = Color.FromArgb(192, 255, 255); - } - - private void labChangeColor_MouseMove(object sender, MouseEventArgs e) - { - Label lab = sender as Label; - lab.BackColor = Color.Turquoise; - } - - public void ClearTxtBarcode() - { - txtBarCode.Text = ""; - labProPosition.Text = ""; - } - #endregion - } -} diff --git a/喷涂上线/Code/PaintingPC/FrmSecondCheckResize.resx b/喷涂上线/Code/PaintingPC/FrmSecondCheckResize.resx deleted file mode 100644 index 19d2003..0000000 --- a/喷涂上线/Code/PaintingPC/FrmSecondCheckResize.resx +++ /dev/null @@ -1,481 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - - 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 - q22C8fY24wAAAABJRU5ErkJggg== - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmSecondCheckSpec.Designer.cs b/喷涂上线/Code/PaintingPC/FrmSecondCheckSpec.Designer.cs deleted file mode 100644 index 84c0dea..0000000 --- a/喷涂上线/Code/PaintingPC/FrmSecondCheckSpec.Designer.cs +++ /dev/null @@ -1,402 +0,0 @@ -namespace PaintingPC -{ - partial class FrmSecondCheckSpec - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmSecondCheckSpec)); - this.labChangeColor = new System.Windows.Forms.Label(); - this.labelVersion = new System.Windows.Forms.Label(); - this.labStation = new System.Windows.Forms.Label(); - this.labWorkClass = new System.Windows.Forms.Label(); - this.rdo3 = new System.Windows.Forms.RadioButton(); - this.rdo2 = new System.Windows.Forms.RadioButton(); - this.rdo1 = new System.Windows.Forms.RadioButton(); - this.labTime = new System.Windows.Forms.Label(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.labTitle = new System.Windows.Forms.Label(); - this.panel2 = new System.Windows.Forms.Panel(); - this.pictureBox2 = new System.Windows.Forms.PictureBox(); - this.label15 = new System.Windows.Forms.Label(); - this.labProductInfo = new System.Windows.Forms.Label(); - this.label2 = new System.Windows.Forms.Label(); - this.label8 = new System.Windows.Forms.Label(); - this.labFirstCheck = new System.Windows.Forms.Label(); - this.labSecondCheck = new System.Windows.Forms.Label(); - this.label7 = new System.Windows.Forms.Label(); - this.labThirdCheck = new System.Windows.Forms.Label(); - this.label10 = new System.Windows.Forms.Label(); - this.btnPass = new System.Windows.Forms.Button(); - this.btnAbt = new System.Windows.Forms.Button(); - this.txtBarCode = new System.Windows.Forms.TextBox(); - this.labProPosition = new System.Windows.Forms.Label(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); - this.SuspendLayout(); - // - // labChangeColor - // - this.labChangeColor.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.labChangeColor.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labChangeColor.Location = new System.Drawing.Point(911, 99); - this.labChangeColor.Name = "labChangeColor"; - this.labChangeColor.Size = new System.Drawing.Size(107, 70); - this.labChangeColor.TabIndex = 25; - this.labChangeColor.Text = "修改颜色"; - this.labChangeColor.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.labChangeColor.Click += new System.EventHandler(this.labChangeColor_Click); - this.labChangeColor.MouseLeave += new System.EventHandler(this.labChangeColor_MouseLeave); - this.labChangeColor.MouseMove += new System.Windows.Forms.MouseEventHandler(this.labChangeColor_MouseMove); - // - // labelVersion - // - this.labelVersion.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.labelVersion.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labelVersion.Location = new System.Drawing.Point(703, 99); - this.labelVersion.Name = "labelVersion"; - this.labelVersion.Size = new System.Drawing.Size(202, 70); - this.labelVersion.TabIndex = 24; - this.labelVersion.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labStation - // - this.labStation.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.labStation.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labStation.Location = new System.Drawing.Point(612, 99); - this.labStation.Name = "labStation"; - this.labStation.Size = new System.Drawing.Size(87, 70); - this.labStation.TabIndex = 23; - this.labStation.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labWorkClass - // - this.labWorkClass.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.labWorkClass.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labWorkClass.Location = new System.Drawing.Point(511, 99); - this.labWorkClass.Name = "labWorkClass"; - this.labWorkClass.Size = new System.Drawing.Size(97, 70); - this.labWorkClass.TabIndex = 22; - this.labWorkClass.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.labWorkClass.Click += new System.EventHandler(this.labWorkClass_Click); - // - // rdo3 - // - this.rdo3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.rdo3.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.rdo3.Location = new System.Drawing.Point(344, 99); - this.rdo3.Name = "rdo3"; - this.rdo3.Size = new System.Drawing.Size(159, 70); - this.rdo3.TabIndex = 21; - this.rdo3.Text = "项目调试"; - this.rdo3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.rdo3.UseVisualStyleBackColor = false; - // - // rdo2 - // - this.rdo2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.rdo2.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.rdo2.Location = new System.Drawing.Point(178, 99); - this.rdo2.Name = "rdo2"; - this.rdo2.Size = new System.Drawing.Size(159, 70); - this.rdo2.TabIndex = 20; - this.rdo2.Text = "量产调试"; - this.rdo2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.rdo2.UseVisualStyleBackColor = false; - // - // rdo1 - // - this.rdo1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); - this.rdo1.Checked = true; - this.rdo1.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.rdo1.Location = new System.Drawing.Point(12, 99); - this.rdo1.Name = "rdo1"; - this.rdo1.Size = new System.Drawing.Size(159, 70); - this.rdo1.TabIndex = 19; - this.rdo1.TabStop = true; - this.rdo1.Text = "正式量产"; - this.rdo1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.rdo1.UseVisualStyleBackColor = false; - // - // labTime - // - this.labTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.labTime.Font = new System.Drawing.Font("宋体", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labTime.Location = new System.Drawing.Point(768, 9); - this.labTime.Name = "labTime"; - this.labTime.Size = new System.Drawing.Size(250, 84); - this.labTime.TabIndex = 18; - this.labTime.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.labTime.Click += new System.EventHandler(this.labTime_Click); - // - // pictureBox1 - // - this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); - this.pictureBox1.Location = new System.Drawing.Point(12, 9); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(159, 84); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox1.TabIndex = 17; - this.pictureBox1.TabStop = false; - // - // labTitle - // - this.labTitle.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.labTitle.Font = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labTitle.Location = new System.Drawing.Point(161, 9); - this.labTitle.Name = "labTitle"; - this.labTitle.Size = new System.Drawing.Size(601, 84); - this.labTitle.TabIndex = 16; - this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // panel2 - // - this.panel2.Location = new System.Drawing.Point(12, 486); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(844, 282); - this.panel2.TabIndex = 48; - // - // pictureBox2 - // - this.pictureBox2.Location = new System.Drawing.Point(12, 257); - this.pictureBox2.Name = "pictureBox2"; - this.pictureBox2.Size = new System.Drawing.Size(844, 223); - this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox2.TabIndex = 47; - this.pictureBox2.TabStop = false; - // - // label15 - // - this.label15.BackColor = System.Drawing.Color.Lime; - this.label15.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label15.Location = new System.Drawing.Point(12, 175); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(159, 75); - this.label15.TabIndex = 49; - this.label15.Text = "扫码信息"; - this.label15.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labProductInfo - // - this.labProductInfo.BackColor = System.Drawing.Color.White; - this.labProductInfo.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labProductInfo.Location = new System.Drawing.Point(695, 175); - this.labProductInfo.Name = "labProductInfo"; - this.labProductInfo.Size = new System.Drawing.Size(324, 75); - this.labProductInfo.TabIndex = 52; - this.labProductInfo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label2 - // - this.label2.BackColor = System.Drawing.Color.Lime; - this.label2.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label2.Location = new System.Drawing.Point(603, 175); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(90, 75); - this.label2.TabIndex = 51; - this.label2.Text = "产品信息"; - this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label8 - // - this.label8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); - this.label8.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label8.Location = new System.Drawing.Point(860, 306); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(159, 48); - this.label8.TabIndex = 53; - this.label8.Text = "一检结果"; - this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labFirstCheck - // - this.labFirstCheck.BackColor = System.Drawing.Color.White; - this.labFirstCheck.Font = new System.Drawing.Font("黑体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labFirstCheck.Location = new System.Drawing.Point(860, 353); - this.labFirstCheck.Name = "labFirstCheck"; - this.labFirstCheck.Size = new System.Drawing.Size(159, 72); - this.labFirstCheck.TabIndex = 54; - this.labFirstCheck.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labSecondCheck - // - this.labSecondCheck.BackColor = System.Drawing.Color.White; - this.labSecondCheck.Font = new System.Drawing.Font("黑体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labSecondCheck.Location = new System.Drawing.Point(860, 471); - this.labSecondCheck.Name = "labSecondCheck"; - this.labSecondCheck.Size = new System.Drawing.Size(159, 67); - this.labSecondCheck.TabIndex = 56; - this.labSecondCheck.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label7 - // - this.label7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); - this.label7.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label7.Location = new System.Drawing.Point(862, 427); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(157, 40); - this.label7.TabIndex = 55; - this.label7.Text = "二检结果"; - this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // labThirdCheck - // - this.labThirdCheck.BackColor = System.Drawing.Color.White; - this.labThirdCheck.Font = new System.Drawing.Font("黑体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labThirdCheck.Location = new System.Drawing.Point(859, 581); - this.labThirdCheck.Name = "labThirdCheck"; - this.labThirdCheck.Size = new System.Drawing.Size(160, 60); - this.labThirdCheck.TabIndex = 58; - this.labThirdCheck.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label10 - // - this.label10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); - this.label10.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label10.Location = new System.Drawing.Point(860, 541); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(159, 37); - this.label10.TabIndex = 57; - this.label10.Text = "三检结果"; - this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // btnPass - // - this.btnPass.BackColor = System.Drawing.Color.LightGray; - this.btnPass.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnPass.Location = new System.Drawing.Point(865, 643); - this.btnPass.Name = "btnPass"; - this.btnPass.Size = new System.Drawing.Size(71, 124); - this.btnPass.TabIndex = 59; - this.btnPass.Text = "抛光合格"; - this.btnPass.UseVisualStyleBackColor = false; - this.btnPass.Click += new System.EventHandler(this.btnPass_Click); - // - // btnAbt - // - this.btnAbt.BackColor = System.Drawing.Color.LightGray; - this.btnAbt.Font = new System.Drawing.Font("黑体", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnAbt.Location = new System.Drawing.Point(947, 643); - this.btnAbt.Name = "btnAbt"; - this.btnAbt.Size = new System.Drawing.Size(67, 124); - this.btnAbt.TabIndex = 61; - this.btnAbt.Text = "抛光报废"; - this.btnAbt.UseVisualStyleBackColor = false; - this.btnAbt.Click += new System.EventHandler(this.btnAbt_Click); - // - // txtBarCode - // - this.txtBarCode.BackColor = System.Drawing.Color.White; - this.txtBarCode.Font = new System.Drawing.Font("黑体", 30F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.txtBarCode.Location = new System.Drawing.Point(178, 187); - this.txtBarCode.Name = "txtBarCode"; - this.txtBarCode.Size = new System.Drawing.Size(419, 53); - this.txtBarCode.TabIndex = 0; - this.txtBarCode.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - this.txtBarCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBarCode_KeyDown); - // - // labProPosition - // - this.labProPosition.BackColor = System.Drawing.Color.White; - this.labProPosition.Font = new System.Drawing.Font("黑体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labProPosition.Location = new System.Drawing.Point(859, 257); - this.labProPosition.Name = "labProPosition"; - this.labProPosition.Size = new System.Drawing.Size(159, 49); - this.labProPosition.TabIndex = 62; - this.labProPosition.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // FrmSecondCheckSpec - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1024, 768); - this.Controls.Add(this.labProPosition); - this.Controls.Add(this.txtBarCode); - this.Controls.Add(this.btnAbt); - this.Controls.Add(this.btnPass); - this.Controls.Add(this.labThirdCheck); - this.Controls.Add(this.label10); - this.Controls.Add(this.labSecondCheck); - this.Controls.Add(this.label7); - this.Controls.Add(this.labFirstCheck); - this.Controls.Add(this.label8); - this.Controls.Add(this.labProductInfo); - this.Controls.Add(this.label2); - this.Controls.Add(this.label15); - this.Controls.Add(this.panel2); - this.Controls.Add(this.pictureBox2); - this.Controls.Add(this.labChangeColor); - this.Controls.Add(this.labelVersion); - this.Controls.Add(this.labStation); - this.Controls.Add(this.labWorkClass); - this.Controls.Add(this.rdo3); - this.Controls.Add(this.rdo2); - this.Controls.Add(this.rdo1); - this.Controls.Add(this.labTime); - this.Controls.Add(this.pictureBox1); - this.Controls.Add(this.labTitle); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Name = "FrmSecondCheckSpec"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "FrmSecondCheck"; - this.Load += new System.EventHandler(this.FrmSecondCheck_Load); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - - private System.Windows.Forms.Label labChangeColor; - private System.Windows.Forms.Label labelVersion; - private System.Windows.Forms.Label labStation; - private System.Windows.Forms.Label labWorkClass; - private System.Windows.Forms.RadioButton rdo3; - private System.Windows.Forms.RadioButton rdo2; - private System.Windows.Forms.RadioButton rdo1; - private System.Windows.Forms.Label labTime; - private System.Windows.Forms.PictureBox pictureBox1; - private System.Windows.Forms.Label labTitle; - private System.Windows.Forms.Panel panel2; - private System.Windows.Forms.PictureBox pictureBox2; - private System.Windows.Forms.Label label15; - private System.Windows.Forms.Label labProductInfo; - private System.Windows.Forms.Label label2; - private System.Windows.Forms.Label label8; - private System.Windows.Forms.Label labFirstCheck; - private System.Windows.Forms.Label labSecondCheck; - private System.Windows.Forms.Label label7; - private System.Windows.Forms.Label labThirdCheck; - private System.Windows.Forms.Label label10; - private System.Windows.Forms.Button btnPass; - private System.Windows.Forms.Button btnAbt; - private System.Windows.Forms.TextBox txtBarCode; - private System.Windows.Forms.Label labProPosition; - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmSecondCheckSpec.cs b/喷涂上线/Code/PaintingPC/FrmSecondCheckSpec.cs deleted file mode 100644 index 2703e92..0000000 --- a/喷涂上线/Code/PaintingPC/FrmSecondCheckSpec.cs +++ /dev/null @@ -1,797 +0,0 @@ -using PaintingPC.Model; -using PaintingPC.WebReference; -using System; -using System.Configuration; -using System.Data; -using System.Drawing; -using System.IO; -using System.Net.NetworkInformation; -using System.Reflection; -using System.Threading; -using System.Windows.Forms; - -namespace PaintingPC -{ - public partial class FrmSecondCheckSpec : Form - { - int count = 0; //缺陷图选择个数 - public static string ColorName = ""; //修改颜色 - - public FrmSecondCheckSpec() - { - InitializeComponent(); - } - - private void FrmSecondCheck_Load(object sender, EventArgs e) - { - Control.CheckForIllegalCrossThreadCalls = false; - InitPage(); - } - - public void InitPage() - { - try - { - string title = ConfigurationManager.AppSettings["Position"].ToString(); - string workClass = Function.GetWorkClass(); - string station = ConfigurationManager.AppSettings["Station"].ToString(); - - labTitle.Text = title; - labWorkClass.Text = workClass; - labStation.Text = station; - labelVersion.Text = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); - - Program.IP = ConfigurationManager.AppSettings["IP"].ToString(); - - //System.Threading.Timer timer = new System.Threading.Timer(delegate - //{ - // labTime.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); - //}, - //null, - //2000, - //1000 - //); - - - Thread t = new Thread(new ThreadStart(TimeGo)); - t.Start(); - } - catch (Exception ex) - { } - } - - private void TimeGo() - { - System.Timers.Timer timer = new System.Timers.Timer(); - timer.Interval = 10; - timer.Enabled = true; - timer.Elapsed += new System.Timers.ElapsedEventHandler(timer_Tick); - } - - private void timer_Tick(object sender, EventArgs e) - { - labTime.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); - Thread.Sleep(500); - } - - /// - /// 缺陷图点击 - /// - /// - /// - void lblRoom_Click(object sender, EventArgs e) - { - //Label a = (Label)sender; - //foreach (Control c in pictureBox2.Controls) - //{ - // c.BackColor = Color.Transparent; - //} - //string aa = a.Text; - ////a.BackColor = System.Drawing.Color.Chartreuse; - //a.BackColor = Color.FromArgb(150,System.Drawing.Color.Chartreuse); - - Label a = (Label)sender; - string aa = a.Text; - if (a.BackColor == Color.Transparent) - { - a.BackColor = Color.FromArgb(150, System.Drawing.Color.Chartreuse); - count++; - } - else - { - a.BackColor = Color.Transparent; - count--; - } - } - - /// - /// 缺陷原因点击 - /// - /// - /// - void dLbRoom_Click(object sender, EventArgs e) - { - if (count == 0) - { - MessageBox.Show("请选择缺陷区域!"); - return; - } - Label a = (Label)sender; - string aa = a.Text; - if (a.BackColor == Color.Transparent) - { - a.BackColor = Color.Chartreuse; - } - else - { - a.BackColor = Color.Transparent; - } - } - - private Control[] SetControlGroup() - { - Control[] controls = { btnPass, btnAbt }; - return controls; - } - - /// - /// 清除控件选中 - /// - /// - public void ClearControlColor(Control[] controls) - { - foreach (Control c in controls) - { - c.BackColor = Color.LightGray; - } - } - - /// - /// 通过按钮 - /// - /// - /// - private void btnPass_Click(object sender, EventArgs e) - { - ClearControlColor(SetControlGroup()); - btnPass.BackColor = Color.GreenYellow; - //保存 - SaveInspect(); - ClearPage(); - ClearTxtBarcode(); - txtBarCode.TabIndex = 0; - //LoadPage(); - //ClearInspect(); - //ClearControlColor(SetControlGroup()); - } - - /// - /// 抛光按钮 - /// - /// - /// - private void btnRepair_Click(object sender, EventArgs e) - { - - } - - /// - /// 报废按钮 - /// - /// - /// - private void btnAbt_Click(object sender, EventArgs e) - { - #region 必须选择缺陷位置与缺陷原因,否则无法保存 - string damnPositionTemp = ""; - string reasonTemp = ""; - //缺陷位置 - foreach (Control c in pictureBox2.Controls) - { - Label lab = c as Label; - if (lab.BackColor != Color.Transparent) - { - damnPositionTemp += lab.Text + ";"; - } - } - //缺陷原因 - foreach (Control c in panel2.Controls) - { - Label lab = c as Label; - if (lab.BackColor != Color.Transparent) - { - reasonTemp += lab.Text + ";"; - } - } - - if (string.IsNullOrWhiteSpace(damnPositionTemp) || string.IsNullOrWhiteSpace(reasonTemp)) - { - MessageBox.Show("必须选择缺陷位置与缺陷原因,否则无法保存!"); - return; - } - #endregion - - ClearControlColor(SetControlGroup()); - btnAbt.BackColor = Color.Red; - //保存 - SaveInspect(); - - #region 报废则调WMS WebService,入库 - - try - { - LogHelper.WriteSysLogBase("工位:S10,条码:" + Function.UniteBarCodeToOne(txtBarCode.Text.Trim()) + "报废调用WMS接口", MethodBase.GetCurrentMethod().Name); - - WMSWebService webService = new WMSWebService(); - webService.Url = ConfigurationManager.AppSettings["WMSWebServiceURL"].ToString(); - //webService.Timeout = 1200000; - - string errorReason = ""; - bool result = webService.WMSSprayingForCS(Function.UniteBarCodeToOne(txtBarCode.Text.Trim()), 0, out errorReason); - - LogHelper.WriteSysLogBase("工位:S10,条码:" + Function.UniteBarCodeToOne(txtBarCode.Text.Trim()) + "报废调用WMS接口,地址:" + webService.Url + ",结果:" + result.ToString(), MethodBase.GetCurrentMethod().Name); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase("工位:" + labStation.Text.Trim() + ",二次质检调用WMS接口:" + ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - - #endregion - - ClearPage(); - ClearTxtBarcode(); - txtBarCode.TabIndex = 0; - - //ClearInspect(); - //ClearControlColor(SetControlGroup()); - } - - - public void SaveInspect() - { - try - { - if (!string.IsNullOrWhiteSpace(txtBarCode.Text.Trim())) - { - InspectModel model1 = new InspectModel(); - model1.barcode = Function.UniteBarCodeToOne(txtBarCode.Text.Trim()); - - if (labProductInfo.Tag != null) - { - model1.side = labProductInfo.Tag.ToString(); - } - else - { - model1.side = ""; - } - model1.position = labTitle.Text.Trim(); - model1.stationNo = labStation.Text; - model1.workClass = labWorkClass.Text; - - if (btnPass.BackColor != Color.LightGray && btnAbt.BackColor == Color.LightGray) - { - model1.inspectResult = "[合格]"; - } - if (btnPass.BackColor == Color.LightGray && btnAbt.BackColor != Color.LightGray) - { - model1.inspectResult = "[报废]"; - } - if (btnPass.BackColor == Color.LightGray && btnAbt.BackColor == Color.LightGray) - { - model1.inspectResult = "[抛光]"; - } - - //缺陷位置 - foreach (Control c in pictureBox2.Controls) - { - Label lab = c as Label; - if (lab.BackColor != Color.Transparent) - { - model1.damnPosition += lab.Text + ";"; - } - } - //缺陷原因 - foreach (Control c in panel2.Controls) - { - Label lab = c as Label; - if (lab.BackColor != Color.Transparent) - { - model1.reason += lab.Text + ";"; - } - } - - if (model1.inspectResult == "[报废]" || model1.inspectResult == "[抛光]") - { - if (string.IsNullOrWhiteSpace(model1.damnPosition) || string.IsNullOrWhiteSpace(model1.reason)) - { - MessageBox.Show("必须选择缺陷位置与缺陷原因,否则无法保存!"); - return; - } - } - - if (rdo1.Checked) - { - model1.productOption = "1"; - } - else if (rdo2.Checked) - { - model1.productOption = "2"; - } - else if (rdo3.Checked) - { - model1.productOption = "3"; - } - - model1.productInfo = labProductInfo.Text.Trim(); - model1.InspectTimes = ConfigurationManager.AppSettings["InspectTimes"].ToString(); - - if (!string.IsNullOrWhiteSpace(labSecondCheck.Text)) - { - model1.InspectTimes = "3"; - } - - Function.InsertInspect(model1); - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase("二次质检提交:" + ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - - public void ClearInspect() - { - //缺陷位置 - foreach (Control c in pictureBox2.Controls) - { - Label lab = c as Label; - lab.BackColor = Color.Transparent; - } - //缺陷原因 - foreach (Control c in panel2.Controls) - { - Label lab = c as Label; - lab.BackColor = Color.Transparent; - } - } - - /// - /// 扫码-根据条码查询信息(产品信息、加载图片及缺陷原因、三次检验信息) - /// - /// - /// - private void txtBarCode_KeyDown(object sender, KeyEventArgs e) - { - if (e.KeyCode == Keys.Enter) - { - ClearPage(); - LoadPage(); - } - } - - private void LoadPage() - { - try - { - ButtonEnable(SetControlGroup()); - //ClearPage(); - - //测试条码:11111111112222222222 - string barcode = txtBarCode.Text.Trim(); - if (barcode.Contains(".")) - { - barcode = Function.TransToBarCodeOne(barcode); - } - - #region 判断条码有效性 - - if (!Function.BarCodeValid(barcode)) - { - MessageBox.Show("扫描的条码号:" + barcode + "无效,请重新扫描!"); - txtBarCode.Text = ""; - return; - } - - #endregion - - #region 根据条码查询AB侧 - - string side = Function.GetSide(barcode); - labProductInfo.Tag = side; - - #endregion - - #region 如果是补打的条码,查询产品信息 - if (!barcode.Contains(".") && barcode.Length > 4) - { - string strCode = barcode.Substring(barcode.Length - 4, 4); - int num = 0; - Int32.TryParse(strCode, out num); - if (num > 7000) - { - labProductInfo.Text = Function.GetReprintInfo(barcode); - if (string.IsNullOrWhiteSpace(labProductInfo.Text.Trim())) - { - ButtonDisable(SetControlGroup()); - labProductInfo.Text = "没有查询到补打条码信息"; - return; - } - } - - } - #endregion - - //根据条码查询,加载图片及原因 - int row = 0, col = 0; - string picture = ""; - - #region 缺陷原因 - - int drow = 0, dcol = 5; //行,列 - - DataTable dt3 = Function.SearchDefectInfo(ConfigurationManager.AppSettings["Station"].Trim()); - if (dt3 != null && dt3.Rows.Count > 0) - { - drow = Convert.ToInt32(Math.Ceiling((double)dt3.Rows.Count / dcol)); - Label[] dLb = new Label[7]; - string[] dstr = new string[dt3.Rows.Count]; - - for (int i = 0; i < dt3.Rows.Count; i++) - { - dstr[i] = dt3.Rows[i]["DefectName"].ToString(); - } - - for (int i = 0; i < dcol; i++) //列 - { - for (int j = 0; j < drow; j++) //行 - { - dLb[i] = new Label(); - if ((i + dcol * j) < dstr.Length) - { - dLb[i].Text = dstr[i + dcol * j].ToString(); - dLb[i].Font = new Font(dLb[i].Font.FontFamily, 24, FontStyle.Bold); - dLb[i].Size = new Size(150, 40); - dLb[i].Location = new Point(20 + i * (dLb[i].Size.Width + 5), 5 + j * (dLb[i].Size.Height + 5)); - dLb[i].BorderStyle = BorderStyle.FixedSingle; - dLb[i].BackColor = Color.Transparent; - dLb[i].TextAlign = ContentAlignment.MiddleCenter; - panel2.Controls.Add(dLb[i]); - dLb[i].Click += new EventHandler(dLbRoom_Click); - } - } - } - } - - #endregion - - #region 加载图片 - DataTable dt = Function.SearchInfoByBarCode(barcode); - - if (dt != null && dt.Rows.Count > 0) - { - row = Convert.ToInt32(dt.Rows[0]["Rows"].ToString()); - col = Convert.ToInt32(dt.Rows[0]["Cols"].ToString()); - picture = dt.Rows[0]["PicturePath"].ToString(); - } - dt.Dispose(); - - //if (!File.Exists(Program.PicturePath + @"\" + "picture")) - if (!File.Exists(System.IO.Directory.GetCurrentDirectory() + @"\" + picture)) - { - Ping p1 = new Ping(); - bool status = false; - - PingReply reply = p1.Send(Program.IP); //发送主机名或Ip地址 - if (reply.Status == IPStatus.Success) - { - string PictureFolder = ConfigurationManager.AppSettings["PictureFolder"].ToString(); - string User = ConfigurationManager.AppSettings["User"].ToString(); - string UserPwd = ConfigurationManager.AppSettings["UserPwd"].ToString(); - status = Upload.DoConnComputer(Program.IP, PictureFolder, User, UserPwd); - if (status == true) - { - //共享文件夹的目录 - string path = ConfigurationManager.AppSettings["RemotePictureFolder"].ToString() + picture; - DirectoryInfo theFolder = new DirectoryInfo(path); - string filename = theFolder.ToString(); - - //执行方法 - Function.TransportRemoteToLocal(filename, System.Environment.CurrentDirectory + "\\", picture); //实现将远程服务器文件写入到本地 - - } - } - } - FileStream fs = new FileStream(System.Environment.CurrentDirectory + "\\" + picture, FileMode.Open, - FileAccess.Read);//获取图片文件流 - Image img = Image.FromStream(fs); // 文件流转换成Image格式 - pictureBox2.Image = img; //给 图片框设置要显示的图片 - fs.Close(); // 关闭流,释放图片资源 - #endregion - - #region 缺陷图划分区域 - - Label[] lb = new Label[5]; - string[] str = { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" }; - - for (int i = 0; i < col; i++) - { - for (int j = 0; j < row; j++) - { - lb[i] = new Label(); - lb[i].Text = str[i + col * j].ToString(); - lb[i].Font = new Font(lb[i].Font.FontFamily, 32, FontStyle.Bold); - - lb[i].Size = new Size(pictureBox2.Width / col, pictureBox2.Height / row); - lb[i].Location = new Point(0 + i * lb[i].Size.Width, 0 + j * lb[i].Size.Height); - lb[i].BorderStyle = BorderStyle.FixedSingle; - lb[i].BackColor = Color.Transparent; - lb[i].TextAlign = ContentAlignment.MiddleCenter; - pictureBox2.Controls.Add(lb[i]); - - lb[i].Click += new EventHandler(lblRoom_Click); - } - } - - #endregion - - //不是补打的条码,根据条码查询产品信息、检验信息,选中缺陷位置及原因 - DataTable dtInspect = Function.GetInspectInfoByBarCode(barcode); - if (dtInspect != null && dtInspect.Rows.Count > 0) - { - labProductInfo.Text = dtInspect.Rows[0]["productInfo"].ToString().Trim(); //产品信息 - string position = dtInspect.Rows[0]["damnPosition"].ToString(); //缺陷位置 - string reason = dtInspect.Rows[0]["reason"].ToString(); //原因 - - #region 三检结果 - for (int i = 0; i < dtInspect.Rows.Count; i++) - { - string time = dtInspect.Rows[i]["InspectTimes"].ToString(); - string result = dtInspect.Rows[i]["inspectResult"].ToString() + dtInspect.Rows[i]["damnPosition"].ToString() + ":" + dtInspect.Rows[i]["reason"].ToString(); - switch (time) - { - case "1": - labFirstCheck.Text = result; - break; - case "2": - labSecondCheck.Text = result; - break; - case "3": - labThirdCheck.Text = result; - break; - } - } - #endregion - - #region 选中缺陷位置及原因 - foreach (Control c in pictureBox2.Controls) - { - Label lab = c as Label; - if (position.Contains(lab.Text)) - { - lab.BackColor = Color.FromArgb(150, System.Drawing.Color.Chartreuse); - count++; - } - } - foreach (Control c in panel2.Controls) - { - Label lab = c as Label; - if (reason.Contains(lab.Text)) - { - lab.BackColor = Color.Chartreuse; - } - } - #endregion - - #region 根据一检结果显示一检时的位置 - - labProPosition.Text = Function.GetFirstInsPosition(dtInspect); - - #endregion - } - - #region 没有一检结果,查询老外数据库,取产品信息 - - if (string.IsNullOrWhiteSpace(labProductInfo.Text.Trim())) - { - //没有一检结果,查询产品信息 - labProductInfo.Text = Function.GetProductInfo(barcode); - } - - #endregion - - #region 没有一检结果,提示 - if (string.IsNullOrWhiteSpace(labFirstCheck.Text.Trim())) - { - MessageBox.Show("没有一检结果!", "警告", MessageBoxButtons.OK); - } - #endregion - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - } - } - - /// - /// 设置按钮不可用 - /// - /// - private void ButtonDisable(Control[] controls) - { - foreach (Control c in controls) - { - Button btn = c as Button; - btn.Enabled = false; - } - } - - /// - /// 设置按钮可用 - /// - /// - private void ButtonEnable(Control[] controls) - { - foreach (Control c in controls) - { - Button btn = c as Button; - btn.Enabled = true; - } - } - - private void labWorkClass_Click(object sender, EventArgs e) - { - Function.ChangeWorkClass(labWorkClass); - } - - /// - /// 点击退出 - /// - /// - /// - private void labTime_Click(object sender, EventArgs e) - { - Environment.Exit(0); - } - - /// - /// 清空页面 - /// - private void ClearPage() - { - - labProductInfo.Tag = null; - labProductInfo.Text = ""; - labFirstCheck.Text = ""; - labSecondCheck.Text = ""; - labThirdCheck.Text = ""; - btnPass.BackColor = Color.LightGray; - btnAbt.BackColor = Color.LightGray; - //btnRepair.BackColor = Color.LightGray; - - ClearInspect(); - ClearControlColor(SetControlGroup()); - pictureBox2.Controls.Clear(); - panel2.Controls.Clear(); - pictureBox2.Image = null; - txtBarCode.TabIndex = 0; - txtBarCode.Select(); - } - - /// - /// 一次合格 - /// - /// - /// - private void btnFirstPass_Click(object sender, EventArgs e) - { - ClearControlColor(SetControlGroup()); - btnPass.BackColor = Color.SeaGreen; - //保存 - SaveInspect_First(); - ClearPage(); - txtBarCode.TabIndex = 0; - //LoadPage(); - //ClearInspect(); - //ClearControlColor(SetControlGroup()); - } - - /// - /// 一次质检合格按钮 - /// - private void SaveInspect_First() - { - try - { - if (!string.IsNullOrWhiteSpace(txtBarCode.Text.Trim())) - { - InspectModel model1 = new InspectModel(); - model1.ID = Guid.NewGuid().ToString(); - model1.barcode = Function.UniteBarCodeToOne(txtBarCode.Text.Trim()); - if (labProductInfo.Tag != null) - { - model1.side = labProductInfo.Tag.ToString(); - } - else - { - model1.side = ""; - } - model1.position = labTitle.Text.Trim(); - model1.stationNo = labStation.Text; - model1.workClass = labWorkClass.Text; - - model1.inspectResult = "[合格]"; - - if (rdo1.Checked) - { - model1.productOption = "1"; - } - else if (rdo2.Checked) - { - model1.productOption = "2"; - } - else if (rdo3.Checked) - { - model1.productOption = "3"; - } - - model1.productInfo = labProductInfo.Text.Trim(); - model1.InspectTimes = "1"; - - Function.InsertInspect(model1); - - txtBarCode.Text = ""; - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase("二次质检补录一检结果:" + ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - - #region 更改颜色按钮 - /// - /// 更改颜色 - /// - /// - /// - private void labChangeColor_Click(object sender, EventArgs e) - { - ColorName = ""; - - FrmChangeColor frm = new FrmChangeColor(); - frm.ShowDialog(); - - if (!string.IsNullOrWhiteSpace(labProductInfo.Text.Trim())) - { - string[] str = labProductInfo.Text.Trim().Split(','); - if (str.Length > 1) - { - labProductInfo.Text = ColorName + "," + str[str.Length - 1] ; - } - } - else - { - labProductInfo.Text = ColorName; - } - } - - private void labChangeColor_MouseLeave(object sender, EventArgs e) - { - Label lab = sender as Label; - lab.BackColor = Color.FromArgb(192, 255, 255); - } - - private void labChangeColor_MouseMove(object sender, MouseEventArgs e) - { - Label lab = sender as Label; - lab.BackColor = Color.Turquoise; - } - #endregion - - public void ClearTxtBarcode() - { - txtBarCode.Text = ""; - labProPosition.Text = ""; - } - } -} diff --git a/喷涂上线/Code/PaintingPC/FrmSecondCheckSpec.resx b/喷涂上线/Code/PaintingPC/FrmSecondCheckSpec.resx deleted file mode 100644 index 19d2003..0000000 --- a/喷涂上线/Code/PaintingPC/FrmSecondCheckSpec.resx +++ /dev/null @@ -1,481 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - - 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 - q22C8fY24wAAAABJRU5ErkJggg== - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmTemp1.Designer.cs b/喷涂上线/Code/PaintingPC/FrmTemp1.Designer.cs deleted file mode 100644 index 9131e69..0000000 --- a/喷涂上线/Code/PaintingPC/FrmTemp1.Designer.cs +++ /dev/null @@ -1,173 +0,0 @@ -namespace PaintingPC -{ - partial class FrmTemp1 - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmTemp1)); - this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.panel1 = new System.Windows.Forms.Panel(); - this.labTime = new System.Windows.Forms.Label(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.labTitle = new System.Windows.Forms.Label(); - this.panel2 = new System.Windows.Forms.Panel(); - this.button1 = new System.Windows.Forms.Button(); - this.button2 = new System.Windows.Forms.Button(); - this.tableLayoutPanel1.SuspendLayout(); - this.panel1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); - this.SuspendLayout(); - // - // tableLayoutPanel1 - // - this.tableLayoutPanel1.ColumnCount = 1; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); - this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 0); - this.tableLayoutPanel1.Controls.Add(this.panel2, 0, 1); - this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - this.tableLayoutPanel1.RowCount = 2; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10.98431F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 89.01569F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(1280, 1024); - this.tableLayoutPanel1.TabIndex = 0; - // - // panel1 - // - this.panel1.Controls.Add(this.button2); - this.panel1.Controls.Add(this.button1); - this.panel1.Controls.Add(this.labTime); - this.panel1.Controls.Add(this.pictureBox1); - this.panel1.Controls.Add(this.labTitle); - this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel1.Location = new System.Drawing.Point(3, 3); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(1274, 106); - this.panel1.TabIndex = 0; - // - // labTime - // - this.labTime.BackColor = System.Drawing.Color.LightGray; - this.labTime.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.labTime.Font = new System.Drawing.Font("宋体", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labTime.Location = new System.Drawing.Point(1496, 0); - this.labTime.Name = "labTime"; - this.labTime.Size = new System.Drawing.Size(415, 112); - this.labTime.TabIndex = 9; - this.labTime.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.labTime.Click += new System.EventHandler(this.labTime_Click); - // - // pictureBox1 - // - this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); - this.pictureBox1.Location = new System.Drawing.Point(-5, -7); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(224, 119); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox1.TabIndex = 8; - this.pictureBox1.TabStop = false; - this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click); - // - // labTitle - // - this.labTitle.BackColor = System.Drawing.Color.LightGray; - this.labTitle.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.labTitle.Font = new System.Drawing.Font("宋体", 48F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.labTitle.Location = new System.Drawing.Point(0, 0); - this.labTitle.Name = "labTitle"; - this.labTitle.Size = new System.Drawing.Size(1058, 106); - this.labTitle.TabIndex = 7; - this.labTitle.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.labTitle.Click += new System.EventHandler(this.labTitle_Click); - // - // panel2 - // - this.panel2.AutoScroll = true; - this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel2.Location = new System.Drawing.Point(3, 115); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(1274, 906); - this.panel2.TabIndex = 1; - // - // button1 - // - this.button1.BackColor = System.Drawing.Color.Yellow; - this.button1.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button1.Location = new System.Drawing.Point(1061, -3); - this.button1.Margin = new System.Windows.Forms.Padding(0); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(107, 109); - this.button1.TabIndex = 10; - this.button1.Text = "车型"; - this.button1.UseVisualStyleBackColor = false; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // button2 - // - this.button2.BackColor = System.Drawing.Color.Lime; - this.button2.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button2.Location = new System.Drawing.Point(1170, -2); - this.button2.Margin = new System.Windows.Forms.Padding(0); - this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(107, 109); - this.button2.TabIndex = 11; - this.button2.Text = "颜色"; - this.button2.UseVisualStyleBackColor = false; - this.button2.Click += new System.EventHandler(this.button2_Click); - // - // FrmTemp1 - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.AutoScroll = true; - this.ClientSize = new System.Drawing.Size(1280, 1024); - this.Controls.Add(this.tableLayoutPanel1); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; - this.Name = "FrmTemp1"; - this.Text = "FrmTemp1"; - this.Load += new System.EventHandler(this.FrmTemp1_Load); - this.tableLayoutPanel1.ResumeLayout(false); - this.panel1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; - private System.Windows.Forms.Panel panel1; - private System.Windows.Forms.Label labTime; - private System.Windows.Forms.PictureBox pictureBox1; - private System.Windows.Forms.Label labTitle; - private System.Windows.Forms.Panel panel2; - private System.Windows.Forms.Button button1; - private System.Windows.Forms.Button button2; - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/FrmTemp1.cs b/喷涂上线/Code/PaintingPC/FrmTemp1.cs deleted file mode 100644 index 1f5cb4e..0000000 --- a/喷涂上线/Code/PaintingPC/FrmTemp1.cs +++ /dev/null @@ -1,263 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Configuration; -using System.Data; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading; -using System.Threading.Tasks; -using System.Windows.Forms; - -namespace PaintingPC -{ - public partial class FrmTemp1 : Form - { - public static string ColorName = ""; - public string station = ""; - - public FrmTemp1() - { - InitializeComponent(); - } - - private void FrmTemp1_Load(object sender, EventArgs e) - { - Control.CheckForIllegalCrossThreadCalls = false; - - UpdateSoftware(); - InitPage(); - } - - public void InitPage() - { - try - { - ColorName = ""; - - string title = ConfigurationManager.AppSettings["Position"].ToString(); - station = ConfigurationManager.AppSettings["Station"].ToString(); - - labTitle.Text = title; - - Thread t = new Thread(new ThreadStart(TimeGo)); - t.Start(); - - InitButton(200,150); - } - catch (Exception ex) - { } - } - - private void TimeGo() - { - System.Timers.Timer timer = new System.Timers.Timer(); - timer.Interval = 10; - timer.Enabled = true; - timer.Elapsed += new System.Timers.ElapsedEventHandler(timer_Tick); - } - - private void timer_Tick(object sender, EventArgs e) - { - labTime.Text = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); - Thread.Sleep(500); - } - - private void labTime_Click(object sender, EventArgs e) - { - Environment.Exit(0); - } - - private void InitButton(int sizeW, int sizeH) - { - panel2.Controls.Clear(); - - DataTable dt = Function.GetCarTypeAll(); - if (dt != null && dt.Rows.Count > 0) - { - Label[] dLb = new Label[dt.Rows.Count]; - int row = 0, col = 1; - row = panel2.Size.Height / sizeH; - col = panel2.Size.Width / sizeW; - - List points = new List(); - for (int i = 0; i < row; i++) - { - for (int j = 0; j < col; j++) - { - Point p = new Point(); - p.X = 9 + j * sizeW; - p.Y = 9 + i * sizeH; - points.Add(p); - } - } - - for (int i = 0; i < dt.Rows.Count; i++) - { - dLb[i] = new Label(); - dLb[i].Text = dt.Rows[i][0].ToString(); - dLb[i].Tag = dt.Rows[i][0].ToString(); - dLb[i].Font = new Font("微软雅黑", 24, FontStyle.Bold); - dLb[i].Size = new Size(sizeW, sizeH); - //dLb[i].Location = new Point(9 + row * (dLb[i].Size.Width + 10), 9 + col * (dLb[i].Size.Height + 10)); - dLb[i].Location = points[i]; - dLb[i].BorderStyle = BorderStyle.FixedSingle; - dLb[i].BackColor = Color.Transparent; - dLb[i].TextAlign = ContentAlignment.MiddleCenter; - panel2.Controls.Add(dLb[i]); - dLb[i].Click += new EventHandler(dLbLable_Click); - } - } - } - - void dLbLable_Click(object sender, EventArgs e) - { - - - Label label = (Label)sender; - string type = label.Tag.ToString(); - - this.Tag = type; - - InitColor(type); - } - - private void InitColor(string type) - { - //根据车型ID查询颜色,生成按钮于panel2 - DataTable dt = Function.GetColorByType(type); - panel2.Controls.Clear(); - - if (dt != null && dt.Rows.Count > 0) - { - int sizeW = 200, sizeH = 150; - - Label[] dLb = new Label[dt.Rows.Count]; - int row = 0, col = 1; - row = panel2.Size.Height / sizeH; - col = panel2.Size.Width / sizeW; - - List points = new List(); - for (int i = 0; i < row; i++) - { - for (int j = 0; j < col; j++) - { - Point p = new Point(); - p.X = 9 + j * sizeW; - p.Y = 9 + i * sizeH; - points.Add(p); - } - } - - for (int i = 0; i < dt.Rows.Count; i++) - { - dLb[i] = new Label(); - dLb[i].Text = dt.Rows[i][0].ToString(); - dLb[i].Tag = dt.Rows[i][0].ToString(); - dLb[i].Font = new Font("微软雅黑", 24, FontStyle.Bold); - dLb[i].Size = new Size(sizeW, sizeH); - //dLb[i].Location = new Point(9 + row * (dLb[i].Size.Width + 10), 9 + col * (dLb[i].Size.Height + 10)); - dLb[i].Location = points[i]; - dLb[i].BorderStyle = BorderStyle.FixedSingle; - dLb[i].BackColor = Color.Transparent; - dLb[i].TextAlign = ContentAlignment.MiddleCenter; - panel2.Controls.Add(dLb[i]); - dLb[i].Click += new EventHandler(dLbColor_Click); - } - } - } - - void dLbColor_Click(object sender, EventArgs e) - { - Label lab = (Label)sender; - ColorName = lab.Text.Trim(); - - panel2.Controls.Clear(); - - Label label1 = new Label(); - label1.Font = new System.Drawing.Font("微软雅黑", 24F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - label1.Location = new System.Drawing.Point(9, 18); - label1.Name = "label1"; - label1.Size = new System.Drawing.Size(122, 53); - label1.TabIndex = 1; - label1.Text = "扫码:"; - label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - - TextBox textBox1 = new TextBox(); - textBox1.Font = new System.Drawing.Font("微软雅黑", 26F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - textBox1.Location = new System.Drawing.Point(134, 18); - textBox1.Name = "textBox1"; - textBox1.Size = new System.Drawing.Size(754, 53); - textBox1.TabIndex = 0; - textBox1.KeyDown += textBox1_KeyDown; - - panel2.Controls.Add(label1); - panel2.Controls.Add(textBox1); - textBox1.Focus(); - } - - private void textBox1_KeyDown(object sender, KeyEventArgs e) - { - if (e.KeyCode == Keys.Enter) - { - TextBox tb = (TextBox)sender; - tb.SelectAll(); - Function.SavePaintLoad(tb.Text.Trim(), ColorName); - } - } - - private void UpdateSoftware() - { - var serverUrl = "http://10.60.101.59:8013/"; - var updateXmlFileName = "PaintingUpdate.xml"; - var updater = new AutoUpdater(); - if (updater.CheckUpdateLoad(serverUrl, updateXmlFileName)) - { - Environment.Exit(0); - } - } - - private void pictureBox1_Click(object sender, EventArgs e) - { - Environment.Exit(0); - } - - private void labTitle_Click(object sender, EventArgs e) - { - Environment.Exit(0); - } - - /// - /// 加载颜色 - /// - /// - /// - private void button2_Click(object sender, EventArgs e) - { - if (this.Tag != null) - { - string type = this.Tag.ToString(); - InitColor(type); - } - else - { - MessageBox.Show("请先选择车型"); - InitButton(200, 150); - } - } - - /// - /// 加载车型 - /// - /// - /// - private void button1_Click(object sender, EventArgs e) - { - this.Tag = null; - InitButton(200, 150); - } - - - } -} diff --git a/喷涂上线/Code/PaintingPC/FrmTemp1.resx b/喷涂上线/Code/PaintingPC/FrmTemp1.resx deleted file mode 100644 index 19d2003..0000000 --- a/喷涂上线/Code/PaintingPC/FrmTemp1.resx +++ /dev/null @@ -1,481 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - - 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 - q22C8fY24wAAAABJRU5ErkJggg== - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/Function.cs b/喷涂上线/Code/PaintingPC/Function.cs deleted file mode 100644 index 9900601..0000000 --- a/喷涂上线/Code/PaintingPC/Function.cs +++ /dev/null @@ -1,2035 +0,0 @@ -using DBUtility; -using PaintingPC.Model; -using System; -using System.Collections.Generic; -using System.Configuration; -using System.Data; -using System.Data.SqlClient; -using System.Diagnostics; -using System.Drawing; -using System.IO; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; - -namespace PaintingPC -{ - public class Function : Interface1 - { - /// - /// 解析条码(一维码返回存货代码,二维码返回零件号) - /// - /// 条码 - /// 存货代码 - /// 批次 - /// /// 零件号 - public static void GetCode(string code, out string stockNo, out string batchNo, out string partNo) - { - //解析塑料粒子条码,长度为20的为一维码22000000821906090201,否则为二维码 - //二维码样例Z-340.180411.000001;5000;S35001;20180411;P1710401.[#Line#];180411; - //第一个分号之前的数据,即Z-340.180411.000001; Z-340为零件号,180411为批次号,000001为流水号 - //一维码前十位为零件号,tb_Product PartNo,11~16位为批次 - - stockNo = ""; //存货代码 - batchNo = ""; //批次 - partNo = ""; //零件号 - try - { - if (code.Contains(".") == false) - { - //一维码 - if (code.Length > 9) - { - stockNo = code.Substring(0, 10); - batchNo = code.Substring(10, 6); - } - } - else - { - //二维码 - string[] strs = code.Split(';'); - if (strs.Length > 0) - { - string str = strs[0]; - string[] props = str.Split('.'); - if (props.Length >= 2) - { - partNo = props[0]; - batchNo = props[1]; - } - } - } - LogHelper.WriteSysLogBase("[入参]:code=" + code + "; [出参:]stockNo=" + stockNo + ",batchNo=" + batchNo + ",partNo=" + partNo, MethodBase.GetCurrentMethod().Name); - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - - /// - /// 根据存货代码获得零件名称、颜色名称 - /// - /// - /// - /// - public static void GetInfoByStockNo(string stockNo, out string partNo, out string partName) - { - partNo = ""; - partName = ""; - string sql = ""; - try - { - DataTable dt = new DataTable(); - if (!string.IsNullOrWhiteSpace(stockNo) ) - { - sql = " select ProductName,PartNo from tb_Product where StockNo = '" + stockNo + @"' "; - dt = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - if (dt != null && dt.Rows.Count > 0) - { - partName = dt.Rows[0]["ProductName"].ToString(); - partNo = dt.Rows[0]["PartNo"].ToString(); - } - else - { - partName = ""; - partNo = ""; - } - LogHelper.WriteSysLogBase("[入参]:stockNo=" + stockNo + "; [出参:]partName=" + partName + "partName="+partNo+";[sql:] + sql", MethodBase.GetCurrentMethod().Name); - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - - /// - /// 根据条码获取图片地址 - /// - /// - /// - public static DataTable SearchInfoByBarCode(string barcode) - { - DataTable res = new DataTable(); - try - { - string stockNo = ""; - string batchNo = ""; - string partNo = ""; - GetCode(barcode, out stockNo, out batchNo, out partNo); - - string sql = ""; - if (!string.IsNullOrWhiteSpace(stockNo)) - { - sql = " select * from tb_Product where StockNo = '" + stockNo.Trim() + @"'"; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - else if (!string.IsNullOrWhiteSpace(partNo)) - { - sql = " select * from tb_Product where PartNo = '" + partNo.Trim() + @"'"; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - LogHelper.WriteSysLogBase("[入参:]barcode=" + barcode+"[sql:]"+ sql, MethodBase.GetCurrentMethod().Name); - return res; - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - public static DataTable SearchDefectInfo(string stationNo) - { - DataTable res = new DataTable(); - try - { - string sql = @" select * from tb_Defect where LineID = (select LineID from tb_Station where StationNo = '"+ stationNo +@"') "; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - LogHelper.WriteSysLogBase("[入参:]stationNo=" + stationNo + "[sql:]" + sql, MethodBase.GetCurrentMethod().Name); - return res; - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - /// - /// 从远程服务器下载文件到本地 - /// - /// 远程服务器文件夹路径 - /// 要保存到本地的文件夹路径 - /// 远程服务器src路径下的文件名 - public static void TransportRemoteToLocal(string src, string dst, string fileName) //src:远程服务器文件夹路径 dst:要保存到本地的文件路径 fileName:远程服务器src路径下的文件名 - { - try - { - FileStream inFileStream = new FileStream(src, FileMode.Open); //远程服务器文件 此处假定远程服务器共享文件夹下确实包含本文件,否则程序报错 - - if (!Directory.Exists(dst)) - { - Directory.CreateDirectory(dst); - } - dst = dst + fileName; - FileStream outFileStream = new FileStream(dst, FileMode.OpenOrCreate); //从远程服务器下载到本地的文件 - byte[] buf = new byte[inFileStream.Length]; - int byteCount; - while ((byteCount = inFileStream.Read(buf, 0, buf.Length)) > 0) - { - outFileStream.Write(buf, 0, byteCount); - } - inFileStream.Flush(); - inFileStream.Close(); - outFileStream.Flush(); - outFileStream.Close(); - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - - /// - /// 保存检验结果 - /// - /// - /// - public static int InsertInspect(InspectModel model) - { - int res = 0; - try - { - string sql = @" INSERT INTO [dbo].[tb_InspectResult] - ( - [barcode] - ,[side] - ,[position] - ,[stationNo] - ,[workClass] - ,[inspectResult] - ,[damnPosition] - ,[defectID] - ,[reason] - ,[productInfo] - ,[productOption] - ,[createTime] - ,[InspectTimes] - ) - VALUES - ('" + model.barcode +@"' - ,'" + model.side +@"' - ,'"+ model.position +@"' - ,'"+ model.stationNo +@"' - ,'"+ model.workClass +@"' - ,'" + model.inspectResult + @"' - ,'" + model.damnPosition + @"' - ,'" + model.defectID + @"' - ,'" + model.reason + @"' - ,'" + model.productInfo + @"' - ,'" + model.productOption + @"' - ,(select getdate()), '"+ model.InspectTimes +@"' - ) "; - res = SqlHelper.ExecuteNonQuery(SqlHelper.SqlConnString, CommandType.Text, sql, null); - LogHelper.WriteSysLogBase( "[sql:]" + sql ,MethodBase.GetCurrentMethod().Name); - return res; - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - public Panel IInitPanel(Panel BackgroundPanel, int LabelSizeW, int LabelSizeH, DataTable dataSouce, string LabelTextCol, string LabelTagCol, EventHandler LabelClick, string productName, string color) - { - return InitPanelLabel(BackgroundPanel, LabelSizeW, LabelSizeH, dataSouce, LabelTextCol, LabelTagCol, LabelClick, productName,color); - } - - private static Panel InitPanelLabel(Panel BackgroundPanel, int LabelSizeW, int LabelSizeH, DataTable dataSouce, string LabelTextCol, string LabelTagCol, EventHandler LabelClick,string productName,string color) - { - BackgroundPanel.Controls.Clear(); - - if (dataSouce != null && dataSouce.Rows.Count > 0) - { - Label[] dLb = new Label[dataSouce.Rows.Count]; - int row = 0, col = 1; - row = BackgroundPanel.Size.Height / LabelSizeH; - col = BackgroundPanel.Size.Width / LabelSizeW; - - List points = new List(); - for (int i = 0; i < row; i++) - { - for (int j = 0; j < col; j++) - { - Point p = new Point(); - p.X = 9 + j * LabelSizeW; - p.Y = 9 + i * LabelSizeH; - points.Add(p); - } - } - - for (int i = 0; i < dataSouce.Rows.Count; i++) - { - dLb[i] = new Label(); - dLb[i].Text = dataSouce.Rows[i][LabelTextCol].ToString(); - dLb[i].Tag = dataSouce.Rows[i][LabelTagCol].ToString(); - dLb[i].Font = new Font("微软雅黑", 16); - dLb[i].Size = new Size(LabelSizeW, LabelSizeH); - dLb[i].Location = points[i]; - dLb[i].BorderStyle = BorderStyle.FixedSingle; - - if (productName == "") - { - dLb[i].BackColor = Color.Blue; - } - else - { - if (dLb[i].Text.Contains(productName) && dLb[i].Text.Contains(color)) - { - dLb[i].BackColor = Color.Red; - } - else - { - dLb[i].BackColor = Color.Blue; - } - } - dLb[i].TextAlign = ContentAlignment.MiddleCenter; - BackgroundPanel.Controls.Add(dLb[i]); - dLb[i].Click += LabelClick; - } - } - - return BackgroundPanel; - } - - /// - /// 根据条码获取检验信息 - /// - /// - /// - public static DataTable GetInspectInfoByBarCode(string barcode) - { - DataTable res = new DataTable(); - try - { - string sql = @" select * from (SELECT * from (select TOP 1 * from tb_InspectResult where barcode = '"+ barcode +@"' AND InspectTimes = '1' ORDER BY createTime DESC) aa - UNION - SELECT * from (select TOP 1 * from tb_InspectResult where barcode = '" + barcode + @"' AND InspectTimes = '2' ORDER BY createTime DESC) bb - UNION - SELECT * from (select TOP 1 * from tb_InspectResult where barcode = '" + barcode + @"' AND InspectTimes = '3' ORDER BY createTime DESC) cc) dd order by createTime DESC "; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - LogHelper.WriteSysLogBase("[sql:]" + sql, MethodBase.GetCurrentMethod().Name); - return res; - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - /// - /// 查询外国数据库获取颜色码 - /// - /// - /// - /// - public static string GetForeignDataColor(string skidNo, out string colorInfo) - { - string res = ""; - colorInfo = ""; - try - { - string colorNo = ""; - string colorQQNo = ""; - string colorPRNo = ""; - string sqlConnString = ConfigurationManager.ConnectionStrings["SqlConnStringForeign"].ToString(); - - string sql = " select top 1 Setvalue_BC_Color_No, Setvalue_CC_Color_No, Setvalue_PR_Color_No from Paintline_Proddata where LTrim(RTrim(Skid_No)) = '" + skidNo + @"' order by TimeStamp desc "; - DataTable dtC = SqlHelper.GetDataDateTable(sqlConnString, CommandType.Text, sql, null); - if (dtC != null && dtC.Rows.Count > 0) - { - colorNo = dtC.Rows[0]["Setvalue_BC_Color_No"].ToString(); - colorQQNo = dtC.Rows[0]["Setvalue_CC_Color_No"].ToString(); - colorPRNo = dtC.Rows[0]["Setvalue_PR_Color_No"].ToString(); - } - - #region 注销-不要 - //if (string.IsNullOrWhiteSpace(colorNo)) - //{ - // string sql_2 = " select top 1 Setvalue_BC_Color_No from Paintline_Loadingdata where LTrim(RTrim(Skid_No)) = '" + skidNo + @"' order by TimeStamp desc "; - // object aa = SqlHelper.ExecuteScalar(sqlConnString, CommandType.Text, sql_2, null); - // if (aa != null) - // { - // colorNo = aa.ToString(); - // } - //} - #endregion - - if (!string.IsNullOrWhiteSpace(colorNo)) - { - DataTable dt = new DataTable(); - - if (colorNo.Trim() == "BC37" && colorQQNo.Trim() == "CC04") - { - #region 单独修改亚光山脉灰 - string sql_c = @" select * from tb_Color where ColorCode = '" + colorNo + "' and ColorQQCode = '" + colorQQNo + "' "; - dt = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql_c, null); - if (dt != null && dt.Rows.Count > 0) - { - res = dt.Rows[0]["Des"].ToString(); - colorInfo = dt.Rows[0]["Des"].ToString().Trim() + "," + dt.Rows[0]["ColorCode"].ToString().Trim() + "," + dt.Rows[0]["ColorNo"].ToString().Trim(); - } - #endregion - } - else - { - string sql_c = ""; - if (!string.IsNullOrWhiteSpace(colorQQNo) && !string.IsNullOrWhiteSpace(colorPRNo)) - { - sql_c = @" select * from tb_Color where ColorCode = '" + colorNo + "' and ColorQQCode = '" + colorQQNo + "' and ColorDQCode = '" + colorPRNo + "' "; - } - else - { - sql_c = @" select * from tb_Color where ColorCode = '" + colorNo + "'"; - } - //string sql_c = @" select * from tb_Color where ColorCode = '" + colorNo + "'"; - dt = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql_c, null); - if (dt != null && dt.Rows.Count > 0) - { - res = dt.Rows[0]["Des"].ToString(); - colorInfo = dt.Rows[0]["Des"].ToString().Trim() + "," + dt.Rows[0]["ColorCode"].ToString().Trim() + "," + dt.Rows[0]["ColorNo"].ToString().Trim(); - } - } - - } - - LogHelper.WriteSysLogBase("[入参:]skidNo=" + skidNo + ";[出参:]colorInfo=" + colorInfo, MethodBase.GetCurrentMethod().Name); - return res; - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - /// - /// 获取班次,规定早8至晚8为A班 - /// - /// - public static string GetWorkClass() - { - //bool classA = IsBetweenTime(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), "2019-06-12 08:00:00", "2019-06-12 20:00:00"); - //bool classA = IsBetweenTime(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), DateTime.Now.ToString("yyyy-MM-dd") + " 08:00:00", DateTime.Now.ToString("yyyy-MM-dd") + " 20:00:00"); - bool classA = IsBetweenTime(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), DateTime.Now.ToString("yyyy-MM-dd") + " 07:45:00", DateTime.Now.ToString("yyyy-MM-dd") + " 19:45:00"); - if (classA) - { - return "A班"; - } - else - { - return "B班"; - } - } - - /// - /// 判断传入时间是否在工作时间段内 - /// - /// - /// - /// - /// - public static bool IsBetweenTime(string timeStr, string startTime, string endTime) - { - //判断传入时间是否在工作时间段内 - try - { - TimeSpan startSpan = DateTime.Parse(startTime).TimeOfDay; - TimeSpan endSpan = DateTime.Parse(endTime).TimeOfDay; - - DateTime t1 = Convert.ToDateTime(timeStr); - TimeSpan dspNow = t1.TimeOfDay; - if (dspNow > startSpan && dspNow < endSpan) - { - return true; - } - return false; - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return false; - } - } - - public static DataTable GetAllColor() - { - DataTable res = new DataTable(); - try - { -// string sql = @" SELECT [ID] -// ,[ColorCode] -// ,[ColorNo] -// ,[Des] -// FROM [tb_Color] -// ORDER BY ColorCode "; - string sql = @" select distinct Convert(varchar(50),[Des]) as [Des],ColorCode from tb_Color ORDER BY ColorCode "; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - return res; - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - /// - /// 根据滑撬号查询第side个条码号 - /// - /// - /// - /// - public static string GetForeignBarCode(string skidNo, string side, int circle) - { - string res = ""; - try - { - string sqlConnString = ConfigurationManager.ConnectionStrings["SqlConnStringForeign"].ToString(); - - if (!string.IsNullOrWhiteSpace(side)) - { - if (circle > 1) - { - #region 查国外下线数据库 - - #region 2019-10-30注销 -// string sql = @" select top 1 " + side + @" -// from Paintline_Proddata where LTrim(RTrim(Skid_No)) = '" + skidNo + @"' and " + side + " like '%00000%' order by TimeStamp desc "; -// object bb = SqlHelper.ExecuteScalar(sqlConnString, CommandType.Text, sql, null); -// if (bb != null) -// { -// res = bb.ToString(); -// return res; -// } -// LogHelper.WriteSysLogBase("[sql:]" + sql, MethodBase.GetCurrentMethod().Name); - #endregion - - string color = ""; - string sql_color_xia = @" select top 1 Setvalue_BC_Color_No from Paintline_Proddata where LTrim(RTrim(Skid_No)) = '" + skidNo + @"' order by TimeStamp desc "; - object aa = SqlHelper.ExecuteScalar(sqlConnString, CommandType.Text, sql_color_xia, null); - if (aa != null) - { - color = aa.ToString(); - } - -// string sql = @" select top 1 * from (select top 2 " + side + @" -// from Paintline_Proddata where LTrim(RTrim(Skid_No)) = '" + skidNo + @"' and Setvalue_BC_Color_No = '" + color + @"' order by TimeStamp desc) aa order by TimeStamp asc "; - string sql = @" select top 1 " + side + @" from (select top 2 " + side + @",TimeStamp - from Paintline_Proddata where LTrim(RTrim(Skid_No)) = '" + skidNo + @"' order by TimeStamp desc) aa order by TimeStamp asc "; - object bb = SqlHelper.ExecuteScalar(sqlConnString, CommandType.Text, sql, null); - if (bb != null) - { - res = bb.ToString(); - return res; - } - LogHelper.WriteSysLogBase("[sql:]" + sql, MethodBase.GetCurrentMethod().Name); - - #endregion - - #region 下线没查到条码,查国外上线数据库 - - //if (string.IsNullOrWhiteSpace(res)) - //{ - // string sql_2 = " select top 1 " + side + @" from Paintline_Loadingdata where LTrim(RTrim(Skid_No)) = '" + skidNo + @"' and " + side + " like '%00000%' order by TimeStamp desc "; - // object aa = SqlHelper.ExecuteScalar(sqlConnString, CommandType.Text, sql_2, null); - // if (aa != null) - // { - // res = aa.ToString(); - // return res; - // } - // LogHelper.WriteSysLogBase("[sql:]" + sql_2, MethodBase.GetCurrentMethod().Name); - //} - - #endregion - } - else - { - #region 查国外下线数据库 - - string sql = @" select top 1 " + side + @" - from Paintline_Proddata where LTrim(RTrim(Skid_No)) = '" + skidNo + @"' order by TimeStamp desc "; - object bb = SqlHelper.ExecuteScalar(sqlConnString, CommandType.Text, sql, null); - if (bb != null) - { - res = bb.ToString(); - return res; - } - LogHelper.WriteSysLogBase("[sql:]" + sql, MethodBase.GetCurrentMethod().Name); - - #endregion - - #region 上线没查到条码,查国外下线数据库 - - //if (string.IsNullOrWhiteSpace(res)) - //{ - // string sql_2 = " select top 1 " + side + @" from Paintline_Loadingdata where LTrim(RTrim(Skid_No)) = '" + skidNo + @"' order by TimeStamp desc "; - // object aa = SqlHelper.ExecuteScalar(sqlConnString, CommandType.Text, sql_2, null); - // if (aa != null) - // { - // res = aa.ToString(); - // return res; - // } - // LogHelper.WriteSysLogBase("[sql:]" + sql_2, MethodBase.GetCurrentMethod().Name); - //} - - #endregion - } - } - return res; - - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - /// - /// 根据条码获取要取的层数及BC0几 - /// - /// - /// - public static string GetForeignBCString(string no, string title) - { - string res = ""; - try - { - string stockNo = ""; - string batchNo = ""; - string partNo = ""; - GetCode(no, out stockNo, out batchNo, out partNo); - string layer = Function.GetProductLayer(stockNo, partNo); - string floor = ""; - string side = ""; - - if (!string.IsNullOrWhiteSpace(title)) - { - string[] strs = title.Split(' '); - if (strs.Length >0) - { - for (int i = 0; i < strs.Length; i++) - { - if (strs[i].Contains("侧")) - { - side = strs[i].Replace("侧","").Trim(); - } - if (strs[i].Contains("支架")) - { - floor = strs[i].Replace("支架", "").Trim(); - } - } - } - string sql = @" select des from tb_LayerAndBC where layer = " + layer + " and floor = '" + floor + "' and side = '" + side + "' "; - res = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql, null).ToString(); - } - return res; - } - catch(Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - /// - /// 根据条码获取层数 - /// - /// - /// - /// - public static string GetProductLayer(string stockNo, string partNo) - { - string res = ""; - try - { - if (!string.IsNullOrWhiteSpace(stockNo)) - { - string sql = @" select Layers,Side from tb_Product where StockNo = '" + stockNo.Trim() + "' "; - object aa = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (aa != null) - { - res = aa.ToString(); - return res; - } - } - if (!string.IsNullOrWhiteSpace(partNo)) - { - string sql = @" select Layers,Side from tb_Product where PartNo = '" + partNo.Trim() + "' "; - object aa = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (aa != null) - { - res = aa.ToString(); - return res; - } - } - return res; - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - /// - /// 手动换班 - /// - /// - public static void ChangeWorkClass(Label label) - { - if (label.Text.Trim() == "A班") - { - label.Text = "B班"; - } - else - { - label.Text = "A班"; - } - } - - /// - /// 根据条码在老外库里查询颜色信息 - /// - /// - /// - public static string GetProductInfo(string barcode) - { - string res = ""; - //string colorNo = ""; - //string colorQQNo = ""; - //string colorPRNo = ""; - string colorInfo = "", paintCode = "", paintID = ""; - string barCode1_1 = "", barCode1_2 = "", barCode1_3 = "", barCode1_4 = "", barCode1_5 = "", barCode1_6 = "", - barCode2_1 = "", barCode2_2 = "", barCode2_3 = "", barCode2_4 = "", barCode2_5 = "", barCode2_6 = ""; - string columnName = "",side=""; - try - { - DataTable dt1 = GetLastResult(barcode); - if (dt1 != null && dt1.Rows.Count > 0) - { - colorInfo = dt1.Rows[0]["productInfo"].ToString()+ "," + dt1.Rows[0]["remark3"].ToString(); - } - else - { - #region 从老外系统获得颜色信息 - - string sql = @" - DECLARE @barcode varchar(30); - SET @barcode = '"+barcode+ @"'; - SELECT paintcode, - LTrim(RTrim(Side1_Data1)) as Side1_Data1, - LTrim(RTrim(Side1_Data2)) as Side1_Data2, - LTrim(RTrim(Side1_Data3)) as Side1_Data3, - LTrim(RTrim(Side1_Data4)) as Side1_Data4, - LTrim(RTrim(Side1_Data5)) as Side1_Data5, - LTrim(RTrim(Side1_Data6)) as Side1_Data6, - LTrim(RTrim(Side2_Data1)) as Side2_Data1, - LTrim(RTrim(Side2_Data2)) as Side2_Data2, - LTrim(RTrim(Side2_Data3)) as Side2_Data3, - LTrim(RTrim(Side2_Data4)) as Side2_Data4, - LTrim(RTrim(Side2_Data5)) as Side2_Data5, - LTrim(RTrim(Side2_Data6)) as Side2_Data6 - FROM [dbo].[Skiddata_Unloading] - WHERE LTrim(RTrim(Side1_Data1)) = @barcode - OR LTrim(RTrim(Side1_Data2))= @barcode - OR LTrim(RTrim(Side1_Data3))= @barcode - OR LTrim(RTrim(Side1_Data4))= @barcode - OR LTrim(RTrim(Side1_Data5))= @barcode - OR LTrim(RTrim(Side1_Data6))= @barcode - OR LTrim(RTrim(Side2_Data1)) = @barcode - OR LTrim(RTrim(Side2_Data2))= @barcode - OR LTrim(RTrim(Side2_Data3))= @barcode - OR LTrim(RTrim(Side2_Data4))= @barcode - OR LTrim(RTrim(Side2_Data5))= @barcode - OR LTrim(RTrim(Side2_Data6))= @barcode - "; - string sqlConnString = ConfigurationManager.ConnectionStrings["SqlConnStringForeign"].ToString(); - //object aa = SqlHelper.ExecuteScalar(sqlConnString, CommandType.Text, sql, null); - DataTable dtColor = SqlHelper.GetDataDateTable(sqlConnString, CommandType.Text, sql, null); - - - if (dtColor != null && dtColor.Rows.Count > 0) - { - paintCode = dtColor.Rows[0]["paintcode"].ToString(); - } - - //根据颜色代码查颜色 - - if (!string.IsNullOrWhiteSpace(paintCode) && paintCode.ToLower() != "na") - { - DataTable dt = new DataTable(); - string sql_c = ""; - sql_c = @"select * from tb_PaintInfo where PaintCode='" + paintCode + @"'"; - - dt = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql_c, null); - if (dt != null && dt.Rows.Count > 0) - { - //res = dt.Rows[0]["ColorName"].ToString(); - //colorInfo = dt.Rows[0]["Des"].ToString().Trim() + "," + - // dt.Rows[0]["ColorCode"].ToString().Trim() + "," + - // dt.Rows[0]["ColorNo"].ToString().Trim(); - //colorInfo = dt.Rows[0]["ColorName"].ToString(); - paintID = dt.Rows[0]["ID"].ToString(); - } - - string sql_1 = @"select Color from tb_PaintColorInfo where StockNo='" + barcode.Substring(0, 10) + @"' and PaintID='" + paintID + @"'"; - DataTable dt_1 = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql_1, null); - if (dt_1 != null && dt_1.Rows.Count > 0) - { - colorInfo = dt_1.Rows[0]["Color"].ToString(); - } - } - - #endregion - - barcode = UniteBarCodeToOne(barcode); - - #region 根据条码查询产品信息 - - string stockNo = ""; - string batchNo = ""; - string partNo = ""; - - - Function.GetCode(barcode, out stockNo, out batchNo, out partNo); - - string productName = ""; - GetInfoByStockNo(stockNo, out partNo, out productName); - - #endregion - - colorInfo = colorInfo + "," + productName + "," + paintID; - } - - res = colorInfo; - return res; - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - /// - /// 查询补打条码信息 - /// - /// - /// - public static string GetReprintInfo(string barcode) - { - string res = ""; - try - { - if (!string.IsNullOrWhiteSpace(barcode)) - { - string sql = @" - SELECT ProductID, StockNo, ColorDes,(SELECT ProductName FROM tb_Product WHERE ProductID =(SELECT top 1 ProductID FROM tb_PaintBarCode WHERE OneBarCode = '" + barcode + "')) ProductName FROM tb_PaintBarCode WHERE OneBarCode = '" + barcode + "' "; - DataTable aa = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (aa != null && aa.Rows.Count > 0) - { - res = aa.Rows[0]["ColorDes"].ToString() + "," + aa.Rows[0]["ProductName"].ToString(); - } - } - return res; - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - /// - /// 根据滑撬号获取圈数 - /// - /// - /// - public static int GetCircle(string skidNo) - { - int res = 0; - try - { - string sqlConnString = ConfigurationManager.ConnectionStrings["SqlConnStringForeign"].ToString(); - string sql_color_xia = @" select top 1 Setvalue_BC_Color_No from Paintline_Proddata where LTrim(RTrim(Skid_No)) = '" + skidNo + @"' order by TimeStamp desc "; - object bb = SqlHelper.ExecuteScalar(sqlConnString, CommandType.Text, sql_color_xia, null); - if (bb != null) - { - string color = bb.ToString(); - - res = GetCircleByColor(color); - } - else - { - //string sql_color = @" select top 1 Setvalue_BC_Color_No from Paintline_Loadingdata where LTrim(RTrim(Skid_No)) = '" + skidNo + @"' order by TimeStamp desc "; - //object aa = SqlHelper.ExecuteScalar(sqlConnString, CommandType.Text, sql_color, null); - //if (aa != null) - //{ - // string color = aa.ToString(); - // res = GetCircleByColor(color); - //} - } - return res; - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - /// - /// 根据颜色号获取圈数 - /// - /// - /// - public static int GetCircleByColor(string colorCode) - { - int res = 0; - try - { - string sql = @" select isnull(Circle,0) from tb_Color where ColorCode = '" + colorCode + "' "; - object aa = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (aa != null) - { - Int32.TryParse(aa.ToString(), out res); - } - return res; - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - /// - /// 根据条码号获取AB侧+支架位置 - /// - /// - /// - public static string GetSide(string barCode,string paintId) - { - string res = "",stockNo="",productId=""; - int layers = 0; - string columnName = "",side="",floor=""; - try - { - //有一检结果的 - string sql = @" select top 1 side from tb_InspectResult where barcode = '" + barCode + "' order by createTime desc "; - object aa = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (aa != null) - { - res = aa.ToString(); - } - else - { - if (string.IsNullOrWhiteSpace(res)) - { - //没有一检结果,查询产品是几层、几侧的产品 - - #region 判断是一维码还是二维码 - - if (barCode.Contains(".") == false) - { - //一维码 - if (barCode.Length > 10) - { - stockNo = barCode.Substring(0, 10); - } - } - else - { - //二维码 - //string[] strs = barCode.Split('.'); - //if (strs.Length > 0) - //{ - // partNo = strs[0]; - //} - } - - #endregion - - string sql1 = ""; - - if (!string.IsNullOrWhiteSpace(stockNo)) - { - //sql1 = @"select Layers,ProductID from tb_Product where StockNo='" + stockNo + @"'"; - sql1 = @"SELECT ProductID FROM dbo.tb_Product WITH (NOLOCK) - WHERE PartNo IN(select Paint_No from tb_PaintColorInfo WITH (NOLOCK) where StockNo='" + stockNo + @"' and PaintID='"+ paintId +@"')"; - DataTable dt = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql1, null); - if (dt != null && dt.Rows.Count>0) - { - productId = dt.Rows[0]["ProductID"].ToString(); - } - } - - - #region 取消从存储过程中获取列 - - //string sqlConnString = ConfigurationManager.ConnectionStrings["SqlConnStringForeign"].ToString(); - ////DataTable dtColor = SqlHelper.GetDataDateTable(sqlConnString, CommandType.StoredProcedure, "P_SYSTEM_FindData", param); - - //SqlParameter[] param = new SqlParameter[1]; - //param[0] = new SqlParameter("@value", SqlDbType.VarChar); - //param[0].Value = barcode; - - //DataTable dtC = SqlHelper.GetDataDateTable(sqlConnString, CommandType.StoredProcedure, "P_SYSTEM_FindData", param); - //if (dtC != null && dtC.Rows.Count > 0) - //{ - // columnName = dtC.Rows[0]["columnname"].ToString(); - //} - - #endregion - - #region 从老外系统获得列名 - - string sqlConnString = ConfigurationManager.ConnectionStrings["SqlConnStringForeign"].ToString(); - string strSql1 = @"select top 1 TimeStamp FROM [BMPT_BJ1_Paintlinedata].[dbo].[Skiddata_Unloading] - WHERE LTrim(RTrim(Side1_Data1)) = '" + barCode + @"' order by TimeStamp desc"; - - DataTable dt1 = SqlHelper.GetDataDateTable(sqlConnString, CommandType.Text, strSql1, null); - if (dt1 != null && dt1.Rows.Count > 0) - { - columnName = "Side1_Data1"; - } - else - { - string strSql2 = @"select top 1 TimeStamp FROM [BMPT_BJ1_Paintlinedata].[dbo].[Skiddata_Unloading] - WHERE LTrim(RTrim(Side1_Data2)) = '" + barCode + @"' order by TimeStamp desc"; - - DataTable dt2 = SqlHelper.GetDataDateTable(sqlConnString, CommandType.Text, strSql2, null); - if (dt2 != null && dt2.Rows.Count > 0) - { - columnName = "Side1_Data2"; - } - else - { - string strSql3 = @"select top 1 TimeStamp FROM [BMPT_BJ1_Paintlinedata].[dbo].[Skiddata_Unloading] - WHERE LTrim(RTrim(Side1_Data3)) = '" + barCode + @"' order by TimeStamp desc"; - - DataTable dt3 = SqlHelper.GetDataDateTable(sqlConnString, CommandType.Text, strSql3, null); - if (dt3 != null && dt3.Rows.Count > 0) - { - columnName = "Side1_Data3"; - } - else - { - string strSql4 = @"select top 1 TimeStamp FROM [BMPT_BJ1_Paintlinedata].[dbo].[Skiddata_Unloading] - WHERE LTrim(RTrim(Side1_Data4)) = '" + barCode + @"' order by TimeStamp desc"; - - DataTable dt4 = SqlHelper.GetDataDateTable(sqlConnString, CommandType.Text, strSql4, null); - if (dt4 != null && dt4.Rows.Count > 0) - { - columnName = "Side1_Data4"; - } - else - { - string strSql5 = @"select top 1 TimeStamp FROM [BMPT_BJ1_Paintlinedata].[dbo].[Skiddata_Unloading] - WHERE LTrim(RTrim(Side1_Data5)) = '" + barCode + @"' order by TimeStamp desc"; - - DataTable dt5 = SqlHelper.GetDataDateTable(sqlConnString, CommandType.Text, strSql5, null); - if (dt5 != null && dt5.Rows.Count > 0) - { - columnName = "Side1_Data5"; - } - else - { - string strSql6 = @"select top 1 TimeStamp FROM [BMPT_BJ1_Paintlinedata].[dbo].[Skiddata_Unloading] - WHERE LTrim(RTrim(Side1_Data6)) = '" + barCode + @"' order by TimeStamp desc"; - - DataTable dt6 = SqlHelper.GetDataDateTable(sqlConnString, CommandType.Text, strSql6, null); - if (dt6 != null && dt6.Rows.Count > 0) - { - columnName = "Side1_Data6"; - } - else - { - string strSql7 = @"select top 1 TimeStamp FROM [BMPT_BJ1_Paintlinedata].[dbo].[Skiddata_Unloading] - WHERE LTrim(RTrim(Side2_Data1)) = '" + barCode + @"' order by TimeStamp desc"; - - DataTable dt7 = SqlHelper.GetDataDateTable(sqlConnString, CommandType.Text, strSql7, null); - if (dt7 != null && dt7.Rows.Count > 0) - { - columnName = "Side2_Data1"; - } - else - { - string strSql8 = @"select top 1 TimeStamp FROM [BMPT_BJ1_Paintlinedata].[dbo].[Skiddata_Unloading] - WHERE LTrim(RTrim(Side2_Data2)) = '" + barCode + @"' order by TimeStamp desc"; - - DataTable dt8 = SqlHelper.GetDataDateTable(sqlConnString, CommandType.Text, strSql8, null); - if (dt8 != null && dt8.Rows.Count > 0) - { - columnName = "Side2_Data2"; - } - else - { - string strSql9 = @"select top 1 TimeStamp FROM [BMPT_BJ1_Paintlinedata].[dbo].[Skiddata_Unloading] - WHERE LTrim(RTrim(Side2_Data3)) = '" + barCode + @"' order by TimeStamp desc"; - - DataTable dt9 = SqlHelper.GetDataDateTable(sqlConnString, CommandType.Text, strSql9, null); - if (dt9 != null && dt9.Rows.Count > 0) - { - columnName = "Side2_Data3"; - } - else - { - string strSql10 = @"select top 1 TimeStamp FROM [BMPT_BJ1_Paintlinedata].[dbo].[Skiddata_Unloading] - WHERE LTrim(RTrim(Side2_Data4)) = '" + barCode + @"' order by TimeStamp desc"; - - DataTable dt10 = SqlHelper.GetDataDateTable(sqlConnString, CommandType.Text, strSql10, null); - if (dt10 != null && dt10.Rows.Count > 0) - { - columnName = "Side2_Data4"; - } - else - { - string strSql11 = @"select top 1 TimeStamp FROM [BMPT_BJ1_Paintlinedata].[dbo].[Skiddata_Unloading] - WHERE LTrim(RTrim(Side2_Data5)) = '" + barCode + @"' order by TimeStamp desc"; - - DataTable dt11 = SqlHelper.GetDataDateTable(sqlConnString, CommandType.Text, strSql11, null); - if (dt11 != null && dt11.Rows.Count > 0) - { - columnName = "Side2_Data5"; - } - else - { - string strSql12 = @"select top 1 TimeStamp FROM [BMPT_BJ1_Paintlinedata].[dbo].[Skiddata_Unloading] - WHERE LTrim(RTrim(Side2_Data6)) = '" + barCode + @"' order by TimeStamp desc"; - - DataTable dt12 = SqlHelper.GetDataDateTable(sqlConnString, CommandType.Text, strSql12, null); - if (dt12 != null && dt12.Rows.Count > 0) - { - columnName = "Side2_Data6"; - } - } - } - } - } - } - } - } - } - } - } - } - - #endregion - - #region 根据列名和层获取支架位置 - - string sql2 = @"select floor,side from tb_LayerAndBC where des like '%" + columnName + - @"%' and ProductId='"+ productId +@"'"; - - DataTable dtZ = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql2, null); - if (dtZ != null && dtZ.Rows.Count > 0) - { - floor = dtZ.Rows[0]["floor"]+"支架"; - side = dtZ.Rows[0]["side"] + "侧"; - } - - #endregion - - res = side + ";" + floor; - } - } - - return res; - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - /// - /// 根据一检结果显示一检时的位置 - /// - /// - /// - public static string GetFirstInsPosition(DataTable dt) - { - string res = ""; - try - { - if (dt != null && dt.Rows.Count > 0) - { - DataRow[] dr = dt.Select(" InspectTimes = '1' "); - if (dr != null && dr.Length > 0) - { - string position = dr[0]["position"].ToString(); - - string sql = @" select value from tb_Config where name = 'RemoveStr' "; - object objStr = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (objStr != null) - { - res = position.Replace(objStr.ToString(), "").Trim(); - } - } - } - return res; - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - /// - /// 判断条码有效性 - /// - /// - /// - public static bool BarCodeValid(string barcode) - { - bool res = false; - if (!string.IsNullOrWhiteSpace(barcode)) - { - if (barcode.Contains(".")) - { - res = true; - } - else - { - if (barcode.Length == 20) - { - res = true; - } - } - } - return res; - } - - /// - /// 将二维码转换成相应一维码 - /// - /// - /// - public static string TransToBarCodeOne(string barcode) - { - string res = ""; - try - { - string sql = @" - SELECT TOP 1 OneBarCode FROM v_Code WHERE BarCode = '" + barcode + @"' - "; - object aa = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (aa != null) - { - res = aa.ToString(); - } - else - { - string sql2 = @" - select TOP 1 OneBarCode - from [10.60.101.9].[BBMPT].[dbo].[View_BarCode] where BarCode = '" + barcode + @"' - "; - object bb = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql2, null); - if (bb != null) - { - res = bb.ToString(); - } - } - return res; - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - /// - /// 将传入条码统一变成一维码 - /// - /// - /// - public static string UniteBarCodeToOne(string barcode) - { - string res = barcode; - if (!string.IsNullOrWhiteSpace(barcode)) - { - if (barcode.Contains(".")) - { - res = TransToBarCodeOne(barcode); - } - } - return res; - } - - public static DataTable GetMesBarCode(string title, string sideNo, out string bcStrs) - { - DataTable res = new DataTable(); - bcStrs = ""; - try - { - string sql = @" select top 1 Layer from tb_SkidInfo where SkidNo = '" + sideNo + "' order by CreateTime desc "; - object aa = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (aa != null) - { - string layer = aa.ToString(); //层数 - - string szx = ""; //上中下 - if (title.Contains("上")) - { - szx = "上"; - } - else if (title.Contains("中")) - { - szx = "中"; - } - else if (title.Contains("下")) - { - szx = "下"; - } - - string side = ""; - if (title.Contains("A")) - { - side = "A"; - } - else if (title.Contains("B")) - { - side = "B"; - } - - string sqlQuery = @" SELECT des FROM tb_LayerAndBC WHERE layer = '" + layer + "' AND [floor] = '" + szx + "' AND side = '" + side + "' "; - object bb = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sqlQuery, null); - if(bb != null) - { - bcStrs = bb.ToString(); - - #region 拼接查询时的列条件 - string[] bcStr = bcStrs.Split(';'); - string sqlBcStr = ""; - for (int i = 0; i < bcStr.Length; i++) - { - sqlBcStr += bcStr[i] + ","; - } - sqlBcStr = sqlBcStr.Remove(sqlBcStr.Length - 1); - #endregion - - string sqlGetBarCode = @" select top 1 ColorInfo, " + sqlBcStr + " from tb_SkidInfo order by CreateTime desc "; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sqlGetBarCode, null); - } - } - return res; - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - /// - /// 该条码已打磨次数 - /// - /// - /// - public static int YiDaMoCiShu(string barcode) - { - int res = 0; - try - { - string sql = @" - select count(0) - from tb_InspectResult - where barcode = '" + barcode + @"' - and inspectResult = '[打磨]' - "; - object aa = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (aa != null) - { - res = Convert.ToInt32(aa.ToString()); - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - /// - /// 可回喷次数 - /// - /// - /// - public static int keHuiPen(string barcode) - { - int res = 0; - try - { - string stockNo = ""; - string batchNo = ""; - string partNo = ""; - GetCode(barcode, out stockNo, out batchNo, out partNo); - - string sql = @" - select BackPlatingNum - from tb_Product - where StockNo = '" + stockNo + @"' - "; - object aa = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (aa != null) - { - res = Convert.ToInt32(aa.ToString()); - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - public static string carTypeName(string stockNo,string paintId) - { - string res = ""; - try - { - string sql= @"SELECT c.CarTypeName FROM dbo.tb_Product p - LEFT OUTER JOIN dbo.tb_CarType c - ON p.CarTypeID=c.ID - where p.PartNo in (select Paint_No from tb_PaintColorInfo where StockNo='"+ stockNo + @"'and PaintID='"+ paintId + @"')"; - DataTable dt= SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (dt!=null && dt.Rows.Count>0) - { - res = dt.Rows[0]["CarTypeName"].ToString(); - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - #region Temp - - //public static DataTable GetCarTypeAll() - //{ - // DataTable res = new DataTable(); - // try - // { - // string sql = @" select * from tb_CarType order by CarTypeName "; - // res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - // } - // catch (Exception ex) - // { - // LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - // } - // return res; - //} - - public static DataTable GetCarTypeAll() - { - DataTable res = new DataTable(); - try - { - string sql = @" select distinct [Type] from tb_PaintColorInfo order by [Type] "; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - -// public static DataTable GetColorByCarType(string carTypeID) -// { -// DataTable res = new DataTable(); -// try -// { -// string sql = @" select * -// from tb_Color -// where ID in ( -// select ColorID from tb_CarTypeColor where CarTypeID = '" + carTypeID + @"' -// ) "; -// res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); -// } -// catch (Exception ex) -// { -// LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); -// } -// return res; -// } - - public static DataTable GetColorByType(string type) - { - DataTable res = new DataTable(); - try - { - string sql = @" select Color - from tb_PaintColorInfo - where [Type] = '" + type + @"' - order by [Color] "; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - public static int SavePaintLoad(string barcode, string colorName) - { - int res = 0; - try - { - string sql = @" insert into tb_PaintLoad(ID, barcode, ColorName) values((select newID()), '" + barcode + @"', '" + colorName + @"') "; - res = SqlHelper.ExecuteNonQuery(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - #endregion - - public static int SaveChainUp(string barcode, string carTypeID, string carType, string colorID, string color, string flag,string productName) - { - int res = 0; - try - { - string sql = @" - INSERT INTO tb_ChainUp - ([barcode] - ,[carTypeID] - ,[carType] - ,[colorID] - ,[color] - ,[flag] - ,productName) - VALUES - ('" + barcode + @"' - ,'" + carTypeID + @"' - ,'" + carType + @"' - ,'" + colorID + @"' - ,'" + color + @"' - ," + flag + @" - ,'"+ productName + @"') - "; - res = SqlHelper.ExecuteNonQuery(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - public static bool InspectPass(string barcode) - { - bool res = false; - try - { - string sql = @" - select top 1 inspectResult from tb_InspectResult where barcode = '"+ barcode +@"' order by createTime desc - "; - object aa = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (aa != null) - { - string result = aa.ToString(); - if (result == "[合格]") - { - res = true; - } - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - public static string GetWorkClassTime() - { - string res = ""; - try - { - //bool classA = IsBetweenTime(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), "2019-06-12 07:45:00", "2019-06-12 19:45:00"); - //if (classA) - //{ - // return ("createTime between '" + DateTime.Now.ToString("yyyy-MM-dd") + " 07:45:00' and '" + DateTime.Now.ToString("yyyy-MM-dd") + " 19:45:00'"); - //} - //else - //{ - // bool isYesterday = IsBetweenTime(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), "2019-06-12 00:00:00", "2019-06-12 07:44:59"); - // if (isYesterday) - // { - // return ("createTime between '" + DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd") + " 19:45:01' and '" + DateTime.Now.ToString("yyyy-MM-dd") + " 07:44:59' "); - // } - // bool isToday = IsBetweenTime(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), "2019-06-12 19:45:01", "2019-06-12 23:59:59"); - // if (isToday) - // { - // return ("createTime between '" + DateTime.Now.ToString("yyyy-MM-dd") + " 19:45:01' and '" + DateTime.Now.AddDays(1).ToString("yyyy-MM-dd") + " 07:44:59' "); - // } - //} - bool classA = IsBetweenTime(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), "2019-06-12 06:00:00", "2019-06-12 18:00:00"); - if (classA) - { - return ("createTime between '" + DateTime.Now.ToString("yyyy-MM-dd") + " 06:00:00' and '" + DateTime.Now.ToString("yyyy-MM-dd") + " 18:00:00'"); - } - else - { - bool isYesterday = IsBetweenTime(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), "2019-06-12 00:00:00", "2019-06-12 05:59:59"); - if (isYesterday) - { - return ("createTime between '" + DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd") + " 18:00:00' and '" + DateTime.Now.ToString("yyyy-MM-dd") + " 05:59:59' "); - } - bool isToday = IsBetweenTime(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), "2019-06-12 18:00:00", "2019-06-12 23:59:59"); - if (isToday) - { - return ("createTime between '" + DateTime.Now.ToString("yyyy-MM-dd") + " 18:00:00' and '" + DateTime.Now.AddDays(1).ToString("yyyy-MM-dd") + " 05:59:59' "); - } - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - public static string GetChainCountAll() - { - string res = "0"; - try - { - string sql = @" - select count(0) - from tb_ChainUp - where - "; - string condition = GetWorkClassTime(); - object aa = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql + condition, null); - if (aa != null) - { - res = aa.ToString(); - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - public static string GetChainCountDown() - { - string res = "0"; - try - { - string sql = @" - select top 1 createTime - from [tb_ChainUp] - where IsLast = 1 - order by createTime desc - "; - object aa = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (aa != null) - { - string stime = aa.ToString(); - string sql_num = @" select count(0) from tb_ChainUp where createTime >= '" + stime + @"' and createTime <= getdate() and flag = 1 "; - object bb = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql_num, null); - if (bb != null) - { - res = bb.ToString(); - } - } - else - { - //string stime = DateTime.Now.ToString("yyyy-MM-dd"); - //string starttime_sql = " select top 1 value from tb_Config where name = 'PaintChainStartTime' "; - //object cc = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, starttime_sql, null); - //if (cc != null) - //{ - // stime += " " + cc.ToString(); - //} - //string sql_num = @" select count(0) from tb_ChainUp where createTime >= '" + stime + @"' and createTime <= getdate() and flag = 1 "; - //object bb = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql_num, null); - //if (bb != null) - //{ - // res = bb.ToString(); - //} - string sql1 = @" - select count(0) - from tb_ChainUp - where - "; - string condition = GetWorkClassTime(); - object cc = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql1 + condition + " and flag = 1 ", null); - if (cc != null) - { - res = cc.ToString(); - } - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - public static DataTable GetChainCountLabel() - { - DataTable res = new DataTable(); - try - { - string timeWhere = GetWorkClassTime(); - // string sql = @" - // select count(0) num,carType,color,carType+char(13)+char(10)+color+char(13)+char(10)+Convert(varchar(10),count(0)) colDes - // from tb_ChainUp - // where " + timeWhere + @" - //group by carType,color - // "; - string sql = @" - select count(0) num,productName,color,productName+char(13)+char(10)+color+char(13)+char(10)+Convert(varchar(10),count(0)) colDes - from tb_ChainUp - where " + timeWhere + @" - group by productName,color - "; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - /// - /// 判断是否为北京现代的产品 - /// - /// - /// - public static bool IsHyundai(string barcode) - { - bool res = false; - try - { - string stockNo = "", batchNo = "", partNo = ""; - GetCode(barcode, out stockNo, out batchNo, out partNo); - - string sql = @" select ManufacturerName - from tb_Manufacturer - where [ID] = ( - select ManufacturerID - from tb_CarType - where [ID] = ( - select CarTypeID - from tb_Product - where StockNo = '" + stockNo + @"' - ) - ) - "; - object aa = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (aa != null) - { - string cj = aa.ToString(); - if (cj.Trim() == "现代") - { - res = true; - } - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - public static void GetCareTypeColor(string barcode, out string CartypeID, out string CartypeName, out string ColorID, out string ColorName) - { - CartypeID = ""; - CartypeName = ""; - ColorID = ""; - ColorName = ""; - - try - { - barcode = Function.UniteBarCodeToOne(barcode); - - string sql = " select top 1 productInfo from tb_InspectResult where barcode = '" + barcode + "' and productInfo is not null and productInfo <> ' ' order by createTime desc "; - object aa = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (aa != null) - { - string productinfo = aa.ToString(); - string[] bb = productinfo.Split(','); - if (bb.Length > 1) - { - ColorName = bb[0]; - CartypeName = bb[1]; - string sql_1 = " select top 1 ID from tb_Color where Des like '%colorName%' "; - object cc = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql_1, null); - if (cc != null) - { - ColorID = cc.ToString(); - } - string sql_2 = " select top 1 ID from tb_CarType where CarTypeName = '" + CartypeName + "' "; - object dd = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql_2, null); - if (dd != null) - { - CartypeID = dd.ToString(); - } - } - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - - public static void GetHyundyPrintInfo(string stockNo,string paintId,out string productName, out string customerNo, out string carModelCode, out string colorCodeB, out string templateName,out string fr,out string partNo) - { - productName = ""; - customerNo = ""; - carModelCode = ""; - colorCodeB = ""; - templateName = ""; - fr = ""; - partNo = ""; - try - { - string sql = - @"select StockNo,PartNo,ProductName,CustomerNo,CarModelCode,ColorCodeB ,TemplateName - FROM tb_Product WITH (NOLOCK) - WHERE PartNo=(select Paint_No FROM tb_PaintColorInfo WITH (NOLOCK) where StockNo='" + stockNo + @"' and PaintID='" + paintId + @"')"; - DataTable dt = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (dt != null && dt.Rows.Count > 0) - { - productName = dt.Rows[0]["ProductName"].ToString(); - customerNo = dt.Rows[0]["CustomerNo"].ToString(); - carModelCode = dt.Rows[0]["CarModelCode"].ToString(); - colorCodeB = dt.Rows[0]["ColorCodeB"].ToString(); - templateName = dt.Rows[0]["TemplateName"].ToString(); - partNo = dt.Rows[0]["PartNo"].ToString(); - if (dt.Rows[0]["ProductName"].ToString().Contains("前")) - { - fr = "F"; - } - else if (dt.Rows[0]["ProductName"].ToString().Contains("后")) - { - fr = "R"; - } - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - - public static string GetImgPath() - { - string res = ""; - try - { - string sql_imgPath = " select top 1 value from tb_Config where name = 'ImgPath' "; - object aa = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql_imgPath, null); - if (aa != null) - { - res = aa.ToString(); - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - public static string GetSequence() - { - string res = "1"; - try - { - string sql = @" select count(0)+1 from tb_ChainUpBarcode where Convert(varchar(10),Createtime,120) = Convert(varchar(10),getdate(),120) "; - object aa = SqlHelper.ExecuteScalar(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (aa != null) - { - res = aa.ToString(); - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - public static void SaveSeq(string barcode,string barcode1, string barcode2, string seq) - { - try - { - string sql = @" insert into tb_ChainUpBarcode(Barcode, Barcode1, Barcode2,Seq) values('" + barcode + "','" + barcode1 + "', '" + barcode2 + "','" + seq + "') "; - SqlHelper.ExecuteNonQuery(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - } - - public static DataTable GetColorByStockNo(string stockNo) - { - DataTable res = new DataTable(); - try - { - string pId = ""; -// string sql = @" -// select distinct Color -// from tb_PaintColorInfo -// where stockNo = '" + stockNo + @"' -// "; - string sql = @" - select Color - from tb_PaintColorInfo - where stockNo = '" + stockNo + @"' - "; - return SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - //if (dt != null && dt.Rows.Count > 0) - //{ - // for (int i = 0; i < dt.Rows.Count; i++) - // { - // pId = dt.Rows[i]["PaintID"].ToString(); - // } - //} - - //if (!string.IsNullOrWhiteSpace(pId)&&pId.Contains(',')) - //{ - // if (pId.Contains(',')) - // { - // string[] s_pid = pId.Split(','); - // pId = s_pid[0]; - // } - //} - - //string cSql = @"select ColorName from tb_PaintInfo where ID='" + pId + @"'"; - //res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, cSql, null); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - public static bool ChainHaveScan(string barcode) - { - bool res = false; - try - { - string sql = @" - select * - from tb_ChainUp - where barcode = '"+ barcode +@"' - and flag <> 2 - "; - DataTable dt = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (dt != null && dt.Rows.Count > 0) - { - res = true; - } - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - public static int GetInspectTimes(string barcode) - { - try - { - int res = 0; - - string sql = @"select top 1 InspectTimes from tb_InspectResult where barcode='"+ barcode+ @"' order by ID desc "; - DataTable dt = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (dt != null && dt.Rows.Count>0) - { - res = Convert.ToInt32(dt.Rows[0]["InspectTimes"]); - } - - return res; - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return 0; - } - } - - public static DataTable GetLastResult(string barcode) - { - DataTable res = new DataTable(); - try - { - string sql = @"select top 1 * from tb_InspectResult where barcode='" + barcode + @"' order by ID desc "; - - res= SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - - return res; - } - - } - -} diff --git a/喷涂上线/Code/PaintingPC/Function1.cs b/喷涂上线/Code/PaintingPC/Function1.cs deleted file mode 100644 index f11a0be..0000000 --- a/喷涂上线/Code/PaintingPC/Function1.cs +++ /dev/null @@ -1,223 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Text; -using System.Threading.Tasks; -using DBUtility; -using PaintingPC.Model; - -namespace PaintingPC -{ - public class Function1 - { - /// - /// 查询在悬挂链上的条码 - /// - /// - public static DataTable GetOnChainBarCode() - { - DataTable res = new DataTable(); - try - { - string sql = @"select * from tb_ChainUp where flag =0 order by CreateTime asc"; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - public static DataTable GetDownInfo() - { - DataTable res = new DataTable(); - try - { - string sql = @"SELECT COUNT(*) AS sum,carType,color FROM dbo.tb_ChainDown - WHERE boxNum IS NULL OR boxNum ='' - GROUP BY carType,color"; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - public static DataTable PackCount(string carType, string color) - { - DataTable res = new DataTable(); - try - { - string sql = @"SELECT * FROM dbo.tb_Product - WHERE ProductName='" + carType + "' and ColorName='"+ color+"'"; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - - return res; - } - - public static DataTable GetBarCodeInfo(string barcode) - { - DataTable res = new DataTable(); - try - { - string sql = @"select * from tb_ChainUp where barcode='" + barcode + "'"; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - /// - /// 查看该产品是否已打包 - /// - /// - /// - public static DataTable isPack(string barcode) - { - DataTable res = new DataTable(); - try - { - string sql = @"SELECT * FROM dbo.tb_ChainDown - WHERE barcode ='"+ barcode+"' and boxNum IS NULL OR boxNum =''"; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - /// - /// 根据二维码查找对应的一维码 - /// - /// - /// - public static DataTable oneBarcode(string twoBarcode) - { - DataTable res = new DataTable(); - try - { - string sql = @"SELECT top 1 * FROM v_Code where BarCode='" + twoBarcode + "' and IsDel =0 order by CreateTime desc"; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - public static DataTable GetNotPack(string barcode) - { - DataTable res = new DataTable(); - try - { - string sql = @"SELECT count(*) as aa FROM dbo.tb_ChainDown - WHERE boxNum IS NULL OR boxNum ='' and barcode SUBSTRING(barcode,1,10)='"+ barcode.Substring(0,10)+"'" ; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - public static DataTable GetProductInfo(string productname,string color) - { - DataTable res = new DataTable(); - try - { - string sql = @"SELECT * FROM dbo.tb_Product WHERE ProductName='" + productname + "' and ColorName='"+ color +"'"; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - public static DataTable GetPackNo(string partNo) - { - DataTable res = new DataTable(); - try - { - string sql = @"SELECT top 1 * FROM tb_PaintBox WHERE boxNum like '%" + partNo + "%' and flag=0 order by createTime desc"; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - - public static int InsertPaintInfo(PaintBoxModel md) - { - int res = 0; - - try - { - string sql = @"insert into tb_PaintBox(ID,boxNum,partNo,PackCount,flag) values (@ID,@boxNum,@partNo,@PackCount,@flag)"; - - SqlParameter[] param=new SqlParameter[5]; - - param[0] = new SqlParameter("@ID", SqlDbType.VarChar); - param[0].Value = md.ID; - - param[1] = new SqlParameter("@boxNum", SqlDbType.VarChar); - param[1].Value = md.boxNum; - - param[2] = new SqlParameter("@partNo", SqlDbType.VarChar); - param[2].Value = md.partNo; - - param[3] = new SqlParameter("@PackCount", SqlDbType.Int); - param[3].Value = md.PackCount; - - param[4] = new SqlParameter("@flag", SqlDbType.Int); - param[4].Value = md.flag; - - res = SqlHelper.ExecuteNonQuery(SqlHelper.SqlConnString, CommandType.Text, sql, param); - return res; - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - public static int delChaimUp(string barCode) - { - int res = 0; - try - { - string sql = @"update tb_ChainUp set flag=2 where barcode='" + barCode + "'"; - - res = SqlHelper.ExecuteNonQuery(SqlHelper.SqlConnString, CommandType.Text, sql, null); - return res; - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - } -} diff --git a/喷涂上线/Code/PaintingPC/Interface1.cs b/喷涂上线/Code/PaintingPC/Interface1.cs deleted file mode 100644 index 653276b..0000000 --- a/喷涂上线/Code/PaintingPC/Interface1.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; -using System.Data; -using System.Windows.Forms; - -namespace PaintingPC -{ - interface Interface1 - { - Panel IInitPanel(Panel BackgroundPanel, int LabelSizeW, int LabelSizeH, DataTable dataSouce, string LabelTextCol, string LabelTagCol, EventHandler LabelClick, string productName, string color); - } -} diff --git a/喷涂上线/Code/PaintingPC/LogHelper.cs b/喷涂上线/Code/PaintingPC/LogHelper.cs deleted file mode 100644 index cbb581d..0000000 --- a/喷涂上线/Code/PaintingPC/LogHelper.cs +++ /dev/null @@ -1,133 +0,0 @@ -using DBUtility; -using System; -using System.Data; -using System.IO; -using System.Text; - -namespace PaintingPC -{ - public class LogHelper - { - private static string CodeVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString().Trim(); - - // - //保存日志的文件夹 - // - private static string logPath = AppDomain.CurrentDomain.BaseDirectory + @"log\"; - - /// - /// 写日志 - /// - /// - /// - public static void WriteLog(string msg, string errorFile = "") - { - try - { - if (string.IsNullOrEmpty(msg)) - { - return; - } - else - { - msg = string.Format("程序版本号:{0},Time:{1},Message:{2}", CodeVersion, DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.ffff"), msg); - } - //如果不存在log文件夹 则创建 - if (!Directory.Exists(logPath)) - { - Directory.CreateDirectory(logPath); - } - - StreamWriter sw = File.AppendText(logPath + errorFile + DateTime.Now.ToString("yyyyMMdd") + ".Log"); - sw.WriteLine(msg); - sw.Close(); - } - catch (Exception ex) - { - - } - } - /// - /// 拼接错误日志 - /// - /// 异常类 - /// 异常类文件夹名,可为空 - public static void WriteLogManager(Exception ex, string errorFile = "") - { - StringBuilder str = new StringBuilder();//保存到文件中的日志信息 - str.AppendLine("****************************异常文本****************************"); - str.AppendLine("【程序版本号】:" + CodeVersion + " 【出现时间】:" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")); - if (ex != null) - { - str.AppendLine(string.Format("【异常类型】:{0}\r\n【异常信息】:{1}\r\n【异常方法】:{2}\r\n【堆栈调用】:{3}", ex.GetType().Name, ex.Message, ex.TargetSite, ex.StackTrace)); - } - else - { - str.AppendLine(string.Format("【未处理应用程序线程错误】:{0}", ex)); - } - str.AppendLine("****************************************************************"); - //保存日志 - WriteLog(str.ToString(), "Error" + errorFile); - } - - /// - /// 系统日志(写数据库) - /// - /// - /// - public static void WriteSysLogBase(string msg, string method) - { - try - { - if (msg.Contains("'")) - { - msg = msg.Replace("'", "''"); - } - string sql = @" INSERT INTO [dbo].[LogSys] - ([ID] - ,[SysContent] - ,[SysSource] - ,[CreateTime]) - VALUES - ((SELECT NEWID()) - ,'"+ msg +@"' - ,'" + method + @"' - ,(SELECT GETDATE())) "; - SqlHelper.ExecuteNonQuery(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - //throw ex; - } - } - - /// - /// 错误日志(写数据库) - /// - /// - /// - public static void WriteErrLogBase(string msg, string method) - { - try - { - string sql = @" - INSERT INTO [dbo].[LogErr] - ([ID] - ,[ErrContent] - ,[ErrSource] - ,[ErrTime]) - VALUES - ((SELECT NEWID()) - ,'" + msg + @"' - ,'" + method + @"' - ,(SELECT GETDATE())) - "; - SqlHelper.ExecuteNonQuery(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - //throw ex; - } - } - } -} diff --git a/喷涂上线/Code/PaintingPC/Model/InspectModel.cs b/喷涂上线/Code/PaintingPC/Model/InspectModel.cs deleted file mode 100644 index ce54824..0000000 --- a/喷涂上线/Code/PaintingPC/Model/InspectModel.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace PaintingPC.Model -{ - public class InspectModel - { - public int ID { get; set; } - /// - /// 条码 - /// - public string barcode { get; set; } - /// - /// A/B侧 - /// - public string side { get; set; } - /// - /// 位置 - /// - public string position { get; set; } - /// - /// 工位 - /// - public string stationNo { get; set; } - /// - /// 班次 - /// - public string workClass { get; set; } - /// - /// 一检结果 - /// - public string inspectResult { get; set; } - /// - /// 缺陷位置 - /// - public string damnPosition { get; set; } - /// - /// 缺陷原因ID - /// - public string defectID { get; set; } - /// - /// 缺陷原因 - /// - public string reason { get; set; } - /// - /// 产品信息 - /// - public string productInfo { get; set; } - /// - /// 生产模式 - /// - public string productOption { get; set; } - /// - /// 该次为第几次检验 - /// - public string InspectTimes { get; set; } - /// - /// 备注1 - /// - public string remark1 { get; set; } - /// - /// 备注2 - /// - public string remark2 { get; set; } - /// - /// 备注3 - /// - public string remark3 { get; set; } - } -} diff --git a/喷涂上线/Code/PaintingPC/Model/PaintBoxModel.cs b/喷涂上线/Code/PaintingPC/Model/PaintBoxModel.cs deleted file mode 100644 index e2c79d2..0000000 --- a/喷涂上线/Code/PaintingPC/Model/PaintBoxModel.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace PaintingPC.Model -{ - public class PaintBoxModel - { - public string ID { get; set; } - - public string boxNum { get; set; } - - public string partNo { get; set; } - - public int PackCount { get; set; } - - public int flag { get; set; } - } -} diff --git a/喷涂上线/Code/PaintingPC/PaintingPC.csproj b/喷涂上线/Code/PaintingPC/PaintingPC.csproj deleted file mode 100644 index c8af519..0000000 --- a/喷涂上线/Code/PaintingPC/PaintingPC.csproj +++ /dev/null @@ -1,308 +0,0 @@ - - - - - Debug - AnyCPU - {BA977F8C-A368-48B9-AD23-965246580D4C} - WinExe - Properties - PaintingPC - PaintingPC - v4.5 - 512 - false - C:\Users\phoenix\Desktop\Panting2\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 1 - 1.0.0.%2a - false - true - true - - - x86 - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - 56520251E8F35E7125409DADAB3867DEDF5D6B75 - - - PaintingPC_TemporaryKey.pfx - - - true - - - false - - - 2.ico - - - - False - DLL\SchTaskExtAPI.dll - - - - - - - - - - - - - - - - - False - DLL\Tools.dll - - - - - - Form - - - FrmChainUp.cs - - - Form - - - FrmChainUp1.cs - - - Form - - - FrmChangeColorResize.cs - - - Form - - - FrmChangeColor.cs - - - Form - - - FrmChooseDamnPosition.cs - - - Form - - - FrmDelChaimUp.cs - - - Form - - - FrmMessage.cs - - - Form - - - FrmSecondCheck.cs - - - Form - - - FrmTemp1.cs - - - - - - - - - - - - UserControl - - - UC.cs - - - - True - True - Reference.map - - - FrmChainUp.cs - - - FrmChainUp1.cs - - - FrmChangeColorResize.cs - - - FrmChangeColor.cs - - - FrmChooseDamnPosition.cs - - - FrmDelChaimUp.cs - - - FrmMessage.cs - - - FrmSecondCheck.cs - - - FrmTemp1.cs - - - ResXFileCodeGenerator - Resources.Designer.cs - Designer - - - True - Resources.resx - True - - - UC.cs - - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - True - Settings.settings - True - - - MSDiscoCodeGenerator - Reference.cs - - - - - - Designer - - - - - - - - - - - - - - - - False - Microsoft .NET Framework 4.5 %28x86 和 x64%29 - true - - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - false - - - - - Dynamic - Web References\WebReference\ - http://10.60.101.59:8013/WMSWebService.asmx - - - - - Settings - PaintingPC_WebReference_WMSWebService - - - - - {0CDAC26E-8F92-47EE-9E2E-844DBF78703A} - 5 - 0 - 0 - tlbimp - False - True - - - {715CBE0F-4F50-46EF-B009-CACED3A5C868} - 5 - 0 - 0 - tlbimp - False - True - - - {00020430-0000-0000-C000-000000000046} - 2 - 0 - 0 - primary - False - True - - - - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/PaintingPC.csproj.user b/喷涂上线/Code/PaintingPC/PaintingPC.csproj.user deleted file mode 100644 index 04b74cf..0000000 --- a/喷涂上线/Code/PaintingPC/PaintingPC.csproj.user +++ /dev/null @@ -1,9 +0,0 @@ - - - - ProjectFiles - - - false - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/PaintingPC_TemporaryKey.pfx b/喷涂上线/Code/PaintingPC/PaintingPC_TemporaryKey.pfx deleted file mode 100644 index e18f345..0000000 Binary files a/喷涂上线/Code/PaintingPC/PaintingPC_TemporaryKey.pfx and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/Program.cs b/喷涂上线/Code/PaintingPC/Program.cs deleted file mode 100644 index 8f6cc24..0000000 --- a/喷涂上线/Code/PaintingPC/Program.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Configuration; -using System.Linq; -using System.Threading.Tasks; -using System.Windows.Forms; - -namespace PaintingPC -{ - static class Program - { - public static string IP; - public static string PicturePath; - - public static string messageText; - - /// - /// 应用程序的主入口点。 - /// - [STAThread] - static void Main() - { - bool isRuned; - System.Threading.Mutex mutex = new System.Threading.Mutex(true, "OnlyRunOneInstance", out isRuned); - - if (isRuned) - { - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - if (ConfigurationManager.AppSettings["LoadForm"] == "1") - { - Application.Run(new FrmSecondCheck()); - } - else - { - Application.Run(new FrmChainUp1()); - } - } - else - { - MessageBox.Show("程序已启动!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information); - } - } - - } -} diff --git a/喷涂上线/Code/PaintingPC/Properties/AssemblyInfo.cs b/喷涂上线/Code/PaintingPC/Properties/AssemblyInfo.cs deleted file mode 100644 index 682eaad..0000000 --- a/喷涂上线/Code/PaintingPC/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// 有关程序集的常规信息通过以下 -// 特性集控制。更改这些特性值可修改 -// 与程序集关联的信息。 -[assembly: AssemblyTitle("PaintingPC")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("PaintingPC")] -[assembly: AssemblyCopyright("Copyright © 2019")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// 将 ComVisible 设置为 false 使此程序集中的类型 -// 对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型, -// 则将该类型上的 ComVisible 特性设置为 true。 -[assembly: ComVisible(false)] - -// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID -[assembly: Guid("635199e1-aac1-4aa6-b98a-f6ffd304e9b6")] - -// 程序集的版本信息由下面四个值组成: -// -// 主版本 -// 次版本 -// 生成号 -// 修订号 -// -// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, -// 方法是按如下所示使用“*”: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/喷涂上线/Code/PaintingPC/Properties/Resources.Designer.cs b/喷涂上线/Code/PaintingPC/Properties/Resources.Designer.cs deleted file mode 100644 index 9f04912..0000000 --- a/喷涂上线/Code/PaintingPC/Properties/Resources.Designer.cs +++ /dev/null @@ -1,73 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码由工具生成。 -// 运行时版本:4.0.30319.42000 -// -// 对此文件的更改可能会导致不正确的行为,并且如果 -// 重新生成代码,这些更改将会丢失。 -// -//------------------------------------------------------------------------------ - -namespace PaintingPC.Properties { - using System; - - - /// - /// 一个强类型的资源类,用于查找本地化的字符串等。 - /// - // 此类是由 StronglyTypedResourceBuilder - // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 - // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen - // (以 /str 作为命令选项),或重新生成 VS 项目。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// 返回此类使用的缓存的 ResourceManager 实例。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("PaintingPC.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// 使用此强类型资源类,为所有资源查找 - /// 重写当前线程的 CurrentUICulture 属性。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 - /// - internal static System.Drawing.Bitmap banner { - get { - object obj = ResourceManager.GetObject("banner", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - } -} diff --git a/喷涂上线/Code/PaintingPC/Properties/Resources.resx b/喷涂上线/Code/PaintingPC/Properties/Resources.resx deleted file mode 100644 index f48992c..0000000 --- a/喷涂上线/Code/PaintingPC/Properties/Resources.resx +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - - ..\banner.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/Properties/Settings.Designer.cs b/喷涂上线/Code/PaintingPC/Properties/Settings.Designer.cs deleted file mode 100644 index d9007ae..0000000 --- a/喷涂上线/Code/PaintingPC/Properties/Settings.Designer.cs +++ /dev/null @@ -1,36 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码由工具生成。 -// 运行时版本:4.0.30319.42000 -// -// 对此文件的更改可能会导致不正确的行为,并且如果 -// 重新生成代码,这些更改将会丢失。 -// -//------------------------------------------------------------------------------ - -namespace PaintingPC.Properties { - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "12.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default { - get { - return defaultInstance; - } - } - - [global::System.Configuration.ApplicationScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)] - [global::System.Configuration.DefaultSettingValueAttribute("http://111.160.83.98:8013/WMSWebService.asmx")] - public string PaintingPC_WebReference_WMSWebService { - get { - return ((string)(this["PaintingPC_WebReference_WMSWebService"])); - } - } - } -} diff --git a/喷涂上线/Code/PaintingPC/Properties/Settings.settings b/喷涂上线/Code/PaintingPC/Properties/Settings.settings deleted file mode 100644 index 42aa8e1..0000000 --- a/喷涂上线/Code/PaintingPC/Properties/Settings.settings +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - http://111.160.83.98:8013/WMSWebService.asmx - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/ReportHelper.cs b/喷涂上线/Code/PaintingPC/ReportHelper.cs deleted file mode 100644 index 7bf55da..0000000 --- a/喷涂上线/Code/PaintingPC/ReportHelper.cs +++ /dev/null @@ -1,90 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.IO; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; -using grproLib; - -namespace PaintingPC -{ - public class ReportHelper - { - public GridppReport Report; - private DataTable _dtDataDetail; - public ReportHelper(string filename, DataTable dtDataHead, DataTable dtDataDetail, int paperOrigntation, short copies, string printerName) - { - Init(filename, dtDataHead, dtDataDetail, paperOrigntation, copies, printerName); - } - - private void Init(string filename, DataTable dtDataHead, DataTable dtDataDetail, int paperOrigntation, short copies, string printerName) - { - _dtDataDetail = dtDataDetail; - Report = new GridppReport(); - Report.LoadFromFile(filename); - Report.FetchRecord += Report_FetchRecord; - Report.Printer.PrinterName = printerName; - Report.Printer.PaperOrientation = (GRPaperOrientation)paperOrigntation; - Report.Printer.Copies = copies; - FillParameters(Report, dtDataHead); - } - - public void Print(bool isPreview, bool isShowDialog = true) - { - if (isPreview) - Report.PrintPreview(true); - else - Report.Print(isShowDialog); - } - - private void Report_FetchRecord() - { - if (_dtDataDetail != null) - { - FillRecordToReport(Report, _dtDataDetail); - } - } - - private void FillRecordToReport(IGridppReport report, DataTable dtDetail) - { - foreach (DataRow dr in dtDetail.Rows) - { - report.DetailGrid.Recordset.Append(); - foreach (DataColumn dc in dtDetail.Columns) - { - var field = report.FieldByName(dc.ColumnName); - if (field == null) continue; - field.Value = dr[dc.ColumnName]; - } - report.DetailGrid.Recordset.Post(); - } - } - - private void FillParameters(GridppReport report, DataTable dtHead) - { - if (dtHead.Rows.Count == 0) return; - foreach (DataColumn dc in dtHead.Columns) - { - var param = report.ParameterByName(dc.ColumnName); - if (param == null) continue; - param.Value = dtHead.Rows[0][dc.ColumnName]; - } - } - - public static string GetTemplateFile(string sourfilename) - { - var ofd = new OpenFileDialog - { - Filter = @"Grid++ files (*.grf)|*.grf", - Multiselect = false, - RestoreDirectory = true, - FileName = sourfilename, - InitialDirectory = Path.GetDirectoryName(sourfilename), - }; - if (ofd.ShowDialog() != DialogResult.OK) return string.Empty; - return ofd.FileName; - } - } -} diff --git a/喷涂上线/Code/PaintingPC/UC.Designer.cs b/喷涂上线/Code/PaintingPC/UC.Designer.cs deleted file mode 100644 index e43401d..0000000 --- a/喷涂上线/Code/PaintingPC/UC.Designer.cs +++ /dev/null @@ -1,157 +0,0 @@ -namespace PaintingPC -{ - partial class UC - { - /// - /// 必需的设计器变量。 - /// - private System.ComponentModel.IContainer components = null; - - /// - /// 清理所有正在使用的资源。 - /// - /// 如果应释放托管资源,为 true;否则为 false。 - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region 组件设计器生成的代码 - - /// - /// 设计器支持所需的方法 - 不要 - /// 使用代码编辑器修改此方法的内容。 - /// - private void InitializeComponent() - { - this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); - this.panel1 = new System.Windows.Forms.Panel(); - this.panel2 = new System.Windows.Forms.Panel(); - this.panel3 = new System.Windows.Forms.Panel(); - this.lbType = new System.Windows.Forms.Label(); - this.lbColor = new System.Windows.Forms.Label(); - this.lbCount = new System.Windows.Forms.Label(); - this.tableLayoutPanel1.SuspendLayout(); - this.panel1.SuspendLayout(); - this.panel2.SuspendLayout(); - this.panel3.SuspendLayout(); - this.SuspendLayout(); - // - // tableLayoutPanel1 - // - this.tableLayoutPanel1.ColumnCount = 1; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F)); - this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 0); - this.tableLayoutPanel1.Controls.Add(this.panel2, 0, 1); - this.tableLayoutPanel1.Controls.Add(this.panel3, 0, 2); - this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - this.tableLayoutPanel1.RowCount = 3; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 48.19277F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 51.80723F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 26F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(119, 76); - this.tableLayoutPanel1.TabIndex = 0; - // - // panel1 - // - this.panel1.Controls.Add(this.lbType); - this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel1.Location = new System.Drawing.Point(3, 3); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(113, 18); - this.panel1.TabIndex = 0; - // - // panel2 - // - this.panel2.Controls.Add(this.lbColor); - this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel2.Location = new System.Drawing.Point(3, 27); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(113, 19); - this.panel2.TabIndex = 1; - // - // panel3 - // - this.panel3.Controls.Add(this.lbCount); - this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel3.Location = new System.Drawing.Point(3, 52); - this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(113, 21); - this.panel3.TabIndex = 2; - // - // lbType - // - this.lbType.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbType.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lbType.Location = new System.Drawing.Point(0, 0); - this.lbType.Name = "lbType"; - this.lbType.Size = new System.Drawing.Size(113, 18); - this.lbType.TabIndex = 0; - this.lbType.Text = "label1"; - this.lbType.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lbColor - // - this.lbColor.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbColor.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lbColor.Location = new System.Drawing.Point(0, 0); - this.lbColor.Name = "lbColor"; - this.lbColor.Size = new System.Drawing.Size(113, 19); - this.lbColor.TabIndex = 1; - this.lbColor.Text = "label2"; - this.lbColor.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // lbCount - // - this.lbCount.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbCount.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lbCount.Location = new System.Drawing.Point(0, 0); - this.lbCount.Name = "lbCount"; - this.lbCount.Size = new System.Drawing.Size(113, 21); - this.lbCount.TabIndex = 1; - this.lbCount.Text = "label3"; - this.lbCount.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // UC - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.tableLayoutPanel1); - this.Name = "UC"; - this.Size = new System.Drawing.Size(119, 76); - this.tableLayoutPanel1.ResumeLayout(false); - this.panel1.ResumeLayout(false); - this.panel2.ResumeLayout(false); - this.panel3.ResumeLayout(false); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; - private System.Windows.Forms.Panel panel1; - private System.Windows.Forms.Label lbType; - private System.Windows.Forms.Panel panel2; - private System.Windows.Forms.Label lbColor; - private System.Windows.Forms.Panel panel3; - private System.Windows.Forms.Label lbCount; - - } -} diff --git a/喷涂上线/Code/PaintingPC/UC.cs b/喷涂上线/Code/PaintingPC/UC.cs deleted file mode 100644 index 7113567..0000000 --- a/喷涂上线/Code/PaintingPC/UC.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Drawing; -using System.Data; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; - -namespace PaintingPC -{ - public partial class UC : UserControl - { - public UC() - { - InitializeComponent(); - } - - private string type ; - private string color ; - private string count ; - - public string typeInfo - { - get { return type; } - set { lbType.Text = value; } - } - - public string colorInfo - { - get { return color; } - set { lbColor.Text = value; } - } - - public string countInfo - { - get { return count; } - set { lbCount.Text = value; } - } - } -} diff --git a/喷涂上线/Code/PaintingPC/UC.resx b/喷涂上线/Code/PaintingPC/UC.resx deleted file mode 100644 index 1af7de1..0000000 --- a/喷涂上线/Code/PaintingPC/UC.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/Upload.cs b/喷涂上线/Code/PaintingPC/Upload.cs deleted file mode 100644 index 6d30378..0000000 --- a/喷涂上线/Code/PaintingPC/Upload.cs +++ /dev/null @@ -1,101 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Drawing.Imaging; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.IO; -using System.Net; -using System.Security.Policy; -using System.Reflection; - -namespace PaintingPC -{ - public class Upload - { - public static void DownLoad(string Url, string FileName) - { - bool Value = false; - WebResponse response = null; - Stream stream = null; - try - { - HttpWebRequest request = (HttpWebRequest)WebRequest.Create(Url); - - response = request.GetResponse(); - stream = response.GetResponseStream(); - - if (!response.ContentType.ToLower().StartsWith("text/")) - { - Value = SaveBinaryFile(response, FileName); - } - } - catch (Exception err) - { - string aa = err.ToString(); - } - } - - /// - /// Save a binary file to disk. - /// - /// The response used to save the file - // 将二进制文件保存到磁盘 - private static bool SaveBinaryFile(WebResponse response, string FileName) - { - bool Value = true; - byte[] buffer = new byte[1024]; - - try - { - if (File.Exists(FileName)) - File.Delete(FileName); - Stream outStream = System.IO.File.Create(FileName); - Stream inStream = response.GetResponseStream(); - - int l; - do - { - l = inStream.Read(buffer, 0, buffer.Length); - if (l > 0) - outStream.Write(buffer, 0, l); - } - while (l > 0); - - outStream.Close(); - inStream.Close(); - } - catch - { - Value = false; - } - return Value; - } - - public void Down(string url, string dtnow) - { - WebRequest wreq = WebRequest.Create(url); - HttpWebResponse wresp = (HttpWebResponse)wreq.GetResponse(); - Stream s = wresp.GetResponseStream(); - System.Drawing.Image img; - img = System.Drawing.Image.FromStream(s); - img.Save("D:\\" + dtnow, ImageFormat.Jpeg); - MemoryStream ms = new MemoryStream(); - img.Save(ms, ImageFormat.Jpeg); - img.Dispose(); - } - - public static bool DoConnComputer(string ip, string folder, string strName, string strPsw) - { - try - { - return SchTaskExtAPI.ConnectOtherComputer.DoConnectOtherComputer(ip, folder, strName, strPsw); - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - throw ex; - } - } - } -} diff --git a/喷涂上线/Code/PaintingPC/Web References/WebReference/Reference.cs b/喷涂上线/Code/PaintingPC/Web References/WebReference/Reference.cs deleted file mode 100644 index 1874c06..0000000 --- a/喷涂上线/Code/PaintingPC/Web References/WebReference/Reference.cs +++ /dev/null @@ -1,332 +0,0 @@ -//------------------------------------------------------------------------------ -// -// 此代码由工具生成。 -// 运行时版本:4.0.30319.42000 -// -// 对此文件的更改可能会导致不正确的行为,并且如果 -// 重新生成代码,这些更改将会丢失。 -// -//------------------------------------------------------------------------------ - -// -// 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。 -// -#pragma warning disable 1591 - -namespace PaintingPC.WebReference { - using System; - using System.Web.Services; - using System.Diagnostics; - using System.Web.Services.Protocols; - using System.Xml.Serialization; - using System.ComponentModel; - - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Web.Services.WebServiceBindingAttribute(Name="WMSWebServiceSoap", Namespace="http://tempuri.org/")] - public partial class WMSWebService : System.Web.Services.Protocols.SoapHttpClientProtocol { - - private System.Threading.SendOrPostCallback ConnectTestOperationCompleted; - - private System.Threading.SendOrPostCallback WMSSprayingForAppOperationCompleted; - - private System.Threading.SendOrPostCallback WMSSprayingForCSOperationCompleted; - - private System.Threading.SendOrPostCallback AddStockInBarcodeOperationCompleted; - - private System.Threading.SendOrPostCallback InsertInspectOperationCompleted; - - private bool useDefaultCredentialsSetExplicitly; - - /// - public WMSWebService() { - this.Url = global::PaintingPC.Properties.Settings.Default.PaintingPC_WebReference_WMSWebService; - if ((this.IsLocalFileSystemWebService(this.Url) == true)) { - this.UseDefaultCredentials = true; - this.useDefaultCredentialsSetExplicitly = false; - } - else { - this.useDefaultCredentialsSetExplicitly = true; - } - } - - public new string Url { - get { - return base.Url; - } - set { - if ((((this.IsLocalFileSystemWebService(base.Url) == true) - && (this.useDefaultCredentialsSetExplicitly == false)) - && (this.IsLocalFileSystemWebService(value) == false))) { - base.UseDefaultCredentials = false; - } - base.Url = value; - } - } - - public new bool UseDefaultCredentials { - get { - return base.UseDefaultCredentials; - } - set { - base.UseDefaultCredentials = value; - this.useDefaultCredentialsSetExplicitly = true; - } - } - - /// - public event ConnectTestCompletedEventHandler ConnectTestCompleted; - - /// - public event WMSSprayingForAppCompletedEventHandler WMSSprayingForAppCompleted; - - /// - public event WMSSprayingForCSCompletedEventHandler WMSSprayingForCSCompleted; - - /// - public event AddStockInBarcodeCompletedEventHandler AddStockInBarcodeCompleted; - - /// - public event InsertInspectCompletedEventHandler InsertInspectCompleted; - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ConnectTest", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public string ConnectTest() { - object[] results = this.Invoke("ConnectTest", new object[0]); - return ((string)(results[0])); - } - - /// - public void ConnectTestAsync() { - this.ConnectTestAsync(null); - } - - /// - public void ConnectTestAsync(object userState) { - if ((this.ConnectTestOperationCompleted == null)) { - this.ConnectTestOperationCompleted = new System.Threading.SendOrPostCallback(this.OnConnectTestOperationCompleted); - } - this.InvokeAsync("ConnectTest", new object[0], this.ConnectTestOperationCompleted, userState); - } - - private void OnConnectTestOperationCompleted(object arg) { - if ((this.ConnectTestCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.ConnectTestCompleted(this, new ConnectTestCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/WMSSprayingForApp", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void WMSSprayingForApp(string barcode) { - this.Invoke("WMSSprayingForApp", new object[] { - barcode}); - } - - /// - public void WMSSprayingForAppAsync(string barcode) { - this.WMSSprayingForAppAsync(barcode, null); - } - - /// - public void WMSSprayingForAppAsync(string barcode, object userState) { - if ((this.WMSSprayingForAppOperationCompleted == null)) { - this.WMSSprayingForAppOperationCompleted = new System.Threading.SendOrPostCallback(this.OnWMSSprayingForAppOperationCompleted); - } - this.InvokeAsync("WMSSprayingForApp", new object[] { - barcode}, this.WMSSprayingForAppOperationCompleted, userState); - } - - private void OnWMSSprayingForAppOperationCompleted(object arg) { - if ((this.WMSSprayingForAppCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.WMSSprayingForAppCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/WMSSprayingForCS", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public bool WMSSprayingForCS(string barcode, int isOK, out string errorReason) { - object[] results = this.Invoke("WMSSprayingForCS", new object[] { - barcode, - isOK}); - errorReason = ((string)(results[1])); - return ((bool)(results[0])); - } - - /// - public void WMSSprayingForCSAsync(string barcode, int isOK) { - this.WMSSprayingForCSAsync(barcode, isOK, null); - } - - /// - public void WMSSprayingForCSAsync(string barcode, int isOK, object userState) { - if ((this.WMSSprayingForCSOperationCompleted == null)) { - this.WMSSprayingForCSOperationCompleted = new System.Threading.SendOrPostCallback(this.OnWMSSprayingForCSOperationCompleted); - } - this.InvokeAsync("WMSSprayingForCS", new object[] { - barcode, - isOK}, this.WMSSprayingForCSOperationCompleted, userState); - } - - private void OnWMSSprayingForCSOperationCompleted(object arg) { - if ((this.WMSSprayingForCSCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.WMSSprayingForCSCompleted(this, new WMSSprayingForCSCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddStockInBarcode", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void AddStockInBarcode(string barcode) { - this.Invoke("AddStockInBarcode", new object[] { - barcode}); - } - - /// - public void AddStockInBarcodeAsync(string barcode) { - this.AddStockInBarcodeAsync(barcode, null); - } - - /// - public void AddStockInBarcodeAsync(string barcode, object userState) { - if ((this.AddStockInBarcodeOperationCompleted == null)) { - this.AddStockInBarcodeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddStockInBarcodeOperationCompleted); - } - this.InvokeAsync("AddStockInBarcode", new object[] { - barcode}, this.AddStockInBarcodeOperationCompleted, userState); - } - - private void OnAddStockInBarcodeOperationCompleted(object arg) { - if ((this.AddStockInBarcodeCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.AddStockInBarcodeCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/InsertInspect", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] - public void InsertInspect(string barcode, string InspectTimes) { - this.Invoke("InsertInspect", new object[] { - barcode, - InspectTimes}); - } - - /// - public void InsertInspectAsync(string barcode, string InspectTimes) { - this.InsertInspectAsync(barcode, InspectTimes, null); - } - - /// - public void InsertInspectAsync(string barcode, string InspectTimes, object userState) { - if ((this.InsertInspectOperationCompleted == null)) { - this.InsertInspectOperationCompleted = new System.Threading.SendOrPostCallback(this.OnInsertInspectOperationCompleted); - } - this.InvokeAsync("InsertInspect", new object[] { - barcode, - InspectTimes}, this.InsertInspectOperationCompleted, userState); - } - - private void OnInsertInspectOperationCompleted(object arg) { - if ((this.InsertInspectCompleted != null)) { - System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); - this.InsertInspectCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); - } - } - - /// - public new void CancelAsync(object userState) { - base.CancelAsync(userState); - } - - private bool IsLocalFileSystemWebService(string url) { - if (((url == null) - || (url == string.Empty))) { - return false; - } - System.Uri wsUri = new System.Uri(url); - if (((wsUri.Port >= 1024) - && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) { - return true; - } - return false; - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] - public delegate void ConnectTestCompletedEventHandler(object sender, ConnectTestCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class ConnectTestCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal ConnectTestCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public string Result { - get { - this.RaiseExceptionIfNecessary(); - return ((string)(this.results[0])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] - public delegate void WMSSprayingForAppCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] - public delegate void WMSSprayingForCSCompletedEventHandler(object sender, WMSSprayingForCSCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - public partial class WMSSprayingForCSCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { - - private object[] results; - - internal WMSSprayingForCSCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : - base(exception, cancelled, userState) { - this.results = results; - } - - /// - public bool Result { - get { - this.RaiseExceptionIfNecessary(); - return ((bool)(this.results[0])); - } - } - - /// - public string errorReason { - get { - this.RaiseExceptionIfNecessary(); - return ((string)(this.results[1])); - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] - public delegate void AddStockInBarcodeCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] - public delegate void InsertInspectCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); -} - -#pragma warning restore 1591 \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/Web References/WebReference/Reference.map b/喷涂上线/Code/PaintingPC/Web References/WebReference/Reference.map deleted file mode 100644 index f04a03d..0000000 --- a/喷涂上线/Code/PaintingPC/Web References/WebReference/Reference.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/Web References/WebReference/WMSWebService.disco b/喷涂上线/Code/PaintingPC/Web References/WebReference/WMSWebService.disco deleted file mode 100644 index 92c7e9d..0000000 --- a/喷涂上线/Code/PaintingPC/Web References/WebReference/WMSWebService.disco +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/Web References/WebReference/WMSWebService.wsdl b/喷涂上线/Code/PaintingPC/Web References/WebReference/WMSWebService.wsdl deleted file mode 100644 index b5471f3..0000000 --- a/喷涂上线/Code/PaintingPC/Web References/WebReference/WMSWebService.wsdl +++ /dev/null @@ -1,363 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/aaa.grf b/喷涂上线/Code/PaintingPC/aaa.grf deleted file mode 100644 index c6a0bf7..0000000 --- a/喷涂上线/Code/PaintingPC/aaa.grf +++ /dev/null @@ -1,217 +0,0 @@ -{ - "Version":"6.6.7.0", - "SharePrintSetupOptions":"[PaperOrientation]", - "Font":{ - "Name":"宋体", - "Size":105000, - "Weight":400, - "Charset":134 - }, - "Printer":{ - "Size":256, - "Width":6, - "Height":4, - "LeftMargin":0, - "TopMargin":0, - "RightMargin":0, - "BottomMargin":0 - }, - "Parameter":[ - { - "Name":"zjy" - }, - { - "Name":"P" - }, - { - "Name":"datetime" - }, - { - "Name":"AD" - }, - { - "Name":"R" - }, - { - "Name":"7F" - }, - { - "Name":"barcode" - }, - { - "Name":"barcode2" - } - ], - "ReportHeader":[ - { - "Name":"ReportHeader1", - "Height":4, - "Control":[ - { - "Type":"ShapeBox", - "Name":"ShapeBox1", - "Left":0.1, - "Top":0.211667, - "Width":1.19063, - "Height":0.79375 - }, - { - "Type":"StaticBox", - "Name":"StaticBox1", - "Left":0.211667, - "Top":0.396875, - "Width":1.19063, - "Height":0.396875, - "Font":{ - "Name":"微软雅黑", - "Size":90000, - "Weight":400, - "Charset":134 - }, - "Text":"合格" - }, - { - "Type":"StaticBox", - "Name":"StaticBox2", - "Left":0.0529167, - "Top":1.00542, - "Width":1.19063, - "Height":0.396875, - "Font":{ - "Name":"微软雅黑", - "Size":75000, - "Weight":400, - "Charset":134 - }, - "Text":"质检员:" - }, - { - "Type":"StaticBox", - "Name":"StaticBox3", - "Left":0.0529167, - "Top":1.19063, - "Width":1.40229, - "Height":0.608542, - "Font":{ - "Name":"宋体", - "Size":75000, - "Weight":400, - "Charset":134 - }, - "Parameter":"zjy" - }, - { - "Type":"StaticBox", - "Name":"StaticBox4", - "Left":1.00542, - "Top":0.211667, - "Width":1.16417, - "Height":0.79375, - "Font":{ - "Name":"微软雅黑", - "Size":240000, - "Bold":true, - "Charset":134 - }, - "Text":"P", - "Parameter":"P" - }, - { - "Type":"StaticBox", - "Name":"StaticBox5", - "Left":3.20146, - "Top":1.79917, - "Width":3.41313, - "Height":0.608542, - "Font":{ - "Name":"微软雅黑", - "Size":67500, - "Weight":400, - "Charset":134 - }, - "Text":"2019-12-14 11:33:50", - "Parameter":"datetime" - }, - { - "Type":"StaticBox", - "Name":"StaticBox6", - "Left":0.211667, - "Top":1.5875, - "Width":2.98979, - "Height":0.820208, - "PaddingLeft":0, - "PaddingRight":0, - "PaddingTop":0, - "PaddingBottom":0, - "Font":{ - "Name":"微软雅黑", - "Size":75000, - "Weight":400, - "Charset":134 - }, - "Text":"AD", - "Parameter":"AD" - }, - { - "Type":"StaticBox", - "Name":"StaticBox7", - "Left":2.19604, - "Top":0.211667, - "Width":1.13771, - "Height":0.582083, - "Font":{ - "Name":"宋体", - "Size":105000, - "Bold":true, - "Charset":134 - }, - "Text":"R", - "Parameter":"R" - }, - { - "Type":"StaticBox", - "Name":"StaticBox8", - "Left":1.79917, - "Top":0.79375, - "Width":1.21708, - "Height":0.608542, - "Font":{ - "Name":"微软雅黑", - "Size":90000, - "Bold":true, - "Charset":134 - }, - "Text":"7F", - "Parameter":"7F" - }, - { - "Type":"Barcode", - "Name":"Barcode1", - "Left":2.98979, - "Top":0.211667, - "Width":2.80458, - "Height":1.5875, - "BarcodeType":"QRCode", - "CaptionPosition":"None", - "Text":"[#{barcode}#]" - }, - { - "Type":"Barcode", - "Name":"Barcode2", - "Left":0.211667, - "Top":2.40771, - "Width":5.3975, - "Height":1.40229, - "BarcodeType":"Code128Auto", - "Text":"[#{barcode2}#]", - "Font":{ - "Name":"微软雅黑", - "Size":75000, - "Weight":400, - "Charset":134 - } - } - ] - } - ] -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/banner.jpg b/喷涂上线/Code/PaintingPC/banner.jpg deleted file mode 100644 index 86a6fd4..0000000 Binary files a/喷涂上线/Code/PaintingPC/banner.jpg and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/86511-BU000.jpg b/喷涂上线/Code/PaintingPC/bin/Debug/86511-BU000.jpg deleted file mode 100644 index 80efbbc..0000000 Binary files a/喷涂上线/Code/PaintingPC/bin/Debug/86511-BU000.jpg and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.application b/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.application deleted file mode 100644 index cff9d83..0000000 --- a/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.application +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - ki7Kb15N1YKTethSTjgGgnxdn6T4EZehrxfepYzcYJo= - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.exe b/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.exe deleted file mode 100644 index 230659c..0000000 Binary files a/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.exe and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.exe.config b/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.exe.config deleted file mode 100644 index 528d810..0000000 --- a/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.exe.config +++ /dev/null @@ -1,59 +0,0 @@ - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - http://10.60.101.59:8013/WMSWebService.asmx - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.exe.manifest b/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.exe.manifest deleted file mode 100644 index 2166d07..0000000 --- a/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.exe.manifest +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - lpmvkGWlhBg8IE7pCa5If9cUM0BlVt8XVvATR8uOzZ4= - - - - - - - - - - - - hmTprpnHgrmumszINzfXhb3TvdDb/APorLfH0V3VuZA= - - - - - - - - - - - - /uQ6NOiKipARWAMIHIywv4IPSBJlibxngNm707QBiGA= - - - - - - - - - - nrXT9B/MnwnExSSlOGeHrmeIJbV8sQAMG3MyNk3/o9g= - - - - - - - - - juREAv6cjx8UU4pAbXOUpdFNhIUj0YlkKTbdRp/IxAg= - - - - - - - - - X+a6ws/a0qTqDS+Bz/KR5oABduVYp4gkOasld77toyw= - - - - - - - - - hmTprpnHgrmumszINzfXhb3TvdDb/APorLfH0V3VuZA= - - - - - - - - - /uQ6NOiKipARWAMIHIywv4IPSBJlibxngNm707QBiGA= - - - - - - - - - rhXgYH+My7o1Q9fE/B6PKpcD3ATaN0qaCTE9Cjmv0Ak= - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.pdb b/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.pdb deleted file mode 100644 index 211a164..0000000 Binary files a/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.pdb and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.vshost.application b/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.vshost.application deleted file mode 100644 index de18a06..0000000 --- a/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.vshost.application +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - 5gV9wPKCUDUtz9rdauDOZnqkcBAUovBJ6UJtgQrVzoQ= - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.vshost.exe b/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.vshost.exe deleted file mode 100644 index 666c0af..0000000 Binary files a/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.vshost.exe and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.vshost.exe.config b/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.vshost.exe.config deleted file mode 100644 index 7b020a3..0000000 --- a/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.vshost.exe.config +++ /dev/null @@ -1,59 +0,0 @@ - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - http://10.60.101.59:8013/WMSWebService.asmx - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.vshost.exe.manifest b/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.vshost.exe.manifest deleted file mode 100644 index b64aaf4..0000000 --- a/喷涂上线/Code/PaintingPC/bin/Debug/PaintingPC.vshost.exe.manifest +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PhaWNZK2H5QOSR5XckeSPEZ9kT2y1OSs5qb2yRZInTA= - - - - - - - - - - - - hmTprpnHgrmumszINzfXhb3TvdDb/APorLfH0V3VuZA= - - - - - - - - - - - - /uQ6NOiKipARWAMIHIywv4IPSBJlibxngNm707QBiGA= - - - - - - - - - - nrXT9B/MnwnExSSlOGeHrmeIJbV8sQAMG3MyNk3/o9g= - - - - - - - - - juREAv6cjx8UU4pAbXOUpdFNhIUj0YlkKTbdRp/IxAg= - - - - - - - - - X+a6ws/a0qTqDS+Bz/KR5oABduVYp4gkOasld77toyw= - - - - - - - - - hmTprpnHgrmumszINzfXhb3TvdDb/APorLfH0V3VuZA= - - - - - - - - - /uQ6NOiKipARWAMIHIywv4IPSBJlibxngNm707QBiGA= - - - - - - - - - vm9/qWMVOjui71TE+0EsoDgo4OrCAfWTqXCFyAWqHa4= - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/SchTaskExtAPI.dll b/喷涂上线/Code/PaintingPC/bin/Debug/SchTaskExtAPI.dll deleted file mode 100644 index a055a5a..0000000 Binary files a/喷涂上线/Code/PaintingPC/bin/Debug/SchTaskExtAPI.dll and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/Tools.dll b/喷涂上线/Code/PaintingPC/bin/Debug/Tools.dll deleted file mode 100644 index 684e01b..0000000 Binary files a/喷涂上线/Code/PaintingPC/bin/Debug/Tools.dll and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/Updater.exe b/喷涂上线/Code/PaintingPC/bin/Debug/Updater.exe deleted file mode 100644 index 1ceded2..0000000 Binary files a/喷涂上线/Code/PaintingPC/bin/Debug/Updater.exe and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/Updater.exe.config b/喷涂上线/Code/PaintingPC/bin/Debug/Updater.exe.config deleted file mode 100644 index 1a312c3..0000000 --- a/喷涂上线/Code/PaintingPC/bin/Debug/Updater.exe.config +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/aaa.grf b/喷涂上线/Code/PaintingPC/bin/Debug/aaa.grf deleted file mode 100644 index 0692a73..0000000 --- a/喷涂上线/Code/PaintingPC/bin/Debug/aaa.grf +++ /dev/null @@ -1,218 +0,0 @@ -{ - "Version":"6.6.7.0", - "SharePrintSetupOptions":"[PaperOrientation]", - "Font":{ - "Name":"宋体", - "Size":105000, - "Weight":400, - "Charset":134 - }, - "Printer":{ - "Size":256, - "Width":6, - "Height":4, - "LeftMargin":0, - "TopMargin":0, - "RightMargin":0, - "BottomMargin":0 - }, - "Parameter":[ - { - "Name":"zjy" - }, - { - "Name":"P" - }, - { - "Name":"datetime" - }, - { - "Name":"AD" - }, - { - "Name":"R" - }, - { - "Name":"7F" - }, - { - "Name":"barcode" - }, - { - "Name":"barcode2" - } - ], - "ReportHeader":[ - { - "Name":"ReportHeader1", - "Height":4, - "Control":[ - { - "Type":"ShapeBox", - "Name":"ShapeBox1", - "Left":0.1, - "Top":0.211667, - "Width":1.19063, - "Height":0.79375 - }, - { - "Type":"StaticBox", - "Name":"StaticBox1", - "Left":0.211667, - "Top":0.396875, - "Width":1.19063, - "Height":0.396875, - "Font":{ - "Name":"微软雅黑", - "Size":90000, - "Weight":400, - "Charset":134 - }, - "Text":"合格" - }, - { - "Type":"StaticBox", - "Name":"StaticBox2", - "Left":0.0529167, - "Top":1.00542, - "Width":1.19063, - "Height":0.396875, - "Font":{ - "Name":"微软雅黑", - "Size":75000, - "Weight":400, - "Charset":134 - }, - "Text":"质检员:" - }, - { - "Type":"StaticBox", - "Name":"StaticBox3", - "Left":1.19063, - "Top":0.79375, - "Width":1.40229, - "Height":0.608542, - "Font":{ - "Name":"宋体", - "Size":75000, - "Weight":400, - "Charset":134 - }, - "Parameter":"zjy" - }, - { - "Type":"StaticBox", - "Name":"StaticBox4", - "Left":1.00542, - "Top":0.211667, - "Width":1.16417, - "Height":0.79375, - "Font":{ - "Name":"微软雅黑", - "Size":240000, - "Bold":true, - "Charset":134 - }, - "Text":"P", - "Parameter":"P" - }, - { - "Type":"StaticBox", - "Name":"StaticBox5", - "Left":3.20146, - "Top":1.79917, - "Width":3.41313, - "Height":0.608542, - "Font":{ - "Name":"微软雅黑", - "Size":67500, - "Weight":400, - "Charset":134 - }, - "Text":"2019-12-14 11:33:50", - "Parameter":"datetime" - }, - { - "Type":"StaticBox", - "Name":"StaticBox6", - "Left":0.211667, - "Top":1.40229, - "Width":2.77813, - "Height":1.00542, - "PaddingLeft":0, - "PaddingRight":0, - "PaddingTop":0, - "PaddingBottom":0, - "Font":{ - "Name":"微软雅黑", - "Size":75000, - "Weight":400, - "Charset":134 - }, - "WordWrap":true, - "Text":"AD", - "Parameter":"AD" - }, - { - "Type":"StaticBox", - "Name":"StaticBox7", - "Left":2.19604, - "Top":0.211667, - "Width":1.13771, - "Height":0.582083, - "Font":{ - "Name":"宋体", - "Size":105000, - "Bold":true, - "Charset":134 - }, - "Text":"R", - "Parameter":"R" - }, - { - "Type":"StaticBox", - "Name":"StaticBox8", - "Left":1.79917, - "Top":0.79375, - "Width":1.21708, - "Height":0.608542, - "Font":{ - "Name":"微软雅黑", - "Size":90000, - "Bold":true, - "Charset":134 - }, - "Text":"7F", - "Parameter":"7F" - }, - { - "Type":"Barcode", - "Name":"Barcode1", - "Left":2.98979, - "Top":0.211667, - "Width":2.80458, - "Height":1.5875, - "BarcodeType":"QRCode", - "CaptionPosition":"None", - "Text":"[#{barcode}#]" - }, - { - "Type":"Barcode", - "Name":"Barcode2", - "Left":0.211667, - "Top":2.40771, - "Width":5.3975, - "Height":1.40229, - "BarcodeType":"Code128Auto", - "Text":"[#{barcode2}#]", - "Font":{ - "Name":"微软雅黑", - "Size":75000, - "Weight":400, - "Charset":134 - } - } - ] - } - ] -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/app.publish/PaintingPC.exe b/喷涂上线/Code/PaintingPC/bin/Debug/app.publish/PaintingPC.exe deleted file mode 100644 index 230659c..0000000 Binary files a/喷涂上线/Code/PaintingPC/bin/Debug/app.publish/PaintingPC.exe and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/barcode.grf b/喷涂上线/Code/PaintingPC/bin/Debug/barcode.grf deleted file mode 100644 index bed3c49..0000000 Binary files a/喷涂上线/Code/PaintingPC/bin/Debug/barcode.grf and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20230901.Log b/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20230901.Log deleted file mode 100644 index 3810cd4..0000000 --- a/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20230901.Log +++ /dev/null @@ -1,193 +0,0 @@ -程序版本号:1.0.0.13,Time:2023-09-01 16:08:53.5879,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-01 16:08:53 -【异常类型】:ArgumentException -【异常信息】:列“Color”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.FrmSecondCheck.InitColor(String stockNo) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 90 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-01 16:08:56.2982,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-01 16:08:56 -【异常类型】:ArgumentException -【异常信息】:列“Color”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 PaintingPC.FrmSecondCheck.InitColor(String stockNo) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 127 - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 558 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-01 16:24:11.3565,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-01 16:24:11 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 655 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-01 16:25:01.4440,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-01 16:25:01 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 94 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-01 16:30:57.9892,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-01 16:30:57 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 655 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-01 16:31:02.1978,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-01 16:31:02 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 94 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-01 16:32:53.4933,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-01 16:32:53 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 655 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-01 16:32:59.4886,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-01 16:32:59 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 94 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-01 16:44:09.9926,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-01 16:44:09 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 655 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-01 16:44:13.1080,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-01 16:44:13 -【异常类型】:ArgumentException -【异常信息】:列“Color”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetProductInfo(String barcode) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 794 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-01 16:45:12.7473,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-01 16:45:12 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 655 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-01 16:45:15.9708,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-01 16:45:15 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 94 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-01 16:45:39.5497,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-01 16:45:39 -【异常类型】:SqlException -【异常信息】:“,”附近有语法错误。 -“,”附近有语法错误。 -【异常方法】:Void OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action]) -【堆栈调用】: 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) - 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) - 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) - 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) - 在 System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) - 在 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) - 在 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() - 在 DBUtility.SqlHelper.ExecuteNonQuery(String connectionString, CommandType cmdType, String cmdText, SqlParameter[] commandParameters) - 在 PaintingPC.Function.InsertInspect(InspectModel model) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 242 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-01 16:46:13.7802,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-01 16:46:13 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 655 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-01 16:46:14.7280,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-01 16:46:14 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 94 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-01 16:50:45.0489,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-01 16:50:45 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 648 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-01 16:50:48.1139,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-01 16:50:48 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 94 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-01 16:51:21.8346,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-01 16:51:21 -【异常类型】:SqlException -【异常信息】:“,”附近有语法错误。 -“,”附近有语法错误。 -【异常方法】:Void OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action]) -【堆栈调用】: 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) - 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) - 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) - 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) - 在 System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) - 在 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) - 在 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() - 在 DBUtility.SqlHelper.ExecuteNonQuery(String connectionString, CommandType cmdType, String cmdText, SqlParameter[] commandParameters) - 在 PaintingPC.Function.InsertInspect(InspectModel model) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 242 -**************************************************************** - diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20230906.Log b/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20230906.Log deleted file mode 100644 index bdc3dde..0000000 --- a/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20230906.Log +++ /dev/null @@ -1,297 +0,0 @@ -程序版本号:1.0.0.13,Time:2023-09-06 10:25:24.3753,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 10:25:24 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 648 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 10:25:28.3876,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 10:25:28 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 94 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 10:26:50.8190,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 10:26:50 -【异常类型】:SqlException -【异常信息】:“,”附近有语法错误。 -“,”附近有语法错误。 -【异常方法】:Void OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action]) -【堆栈调用】: 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) - 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) - 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) - 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) - 在 System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite) - 在 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) - 在 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() - 在 DBUtility.SqlHelper.ExecuteNonQuery(String connectionString, CommandType cmdType, String cmdText, SqlParameter[] commandParameters) - 在 PaintingPC.Function.InsertInspect(InspectModel model) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 242 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 10:28:08.3911,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 10:28:08 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 648 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 10:47:18.4477,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 10:47:18 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 648 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 10:47:28.6714,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 10:47:28 -【异常类型】:SqlException -【异常信息】:在从服务器接收结果时发生传输级错误。 (provider: TCP Provider, error: 0 - 远程主机强迫关闭了一个现有的连接。) -【异常方法】:Void OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action]) -【堆栈调用】: 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) - 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) - 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) - 在 System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error) - 在 System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync() - 在 System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket() - 在 System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer() - 在 System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value) - 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) - 在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() - 在 System.Data.SqlClient.SqlDataReader.get_MetaData() - 在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) - 在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) - 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) - 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) - 在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) - 在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) - 在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) - 在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) - 在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) - 在 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) - 在 DBUtility.SqlHelper.GetDataDateTable(String connectionString, CommandType cmdType, String cmdText, SqlParameter[] commandParameters) - 在 PaintingPC.Function.GetInspectInfoByBarCode(String barcode) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 316 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 10:47:30.9808,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 10:47:30 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 94 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 10:49:44.4369,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 10:49:44 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 648 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 10:49:45.2084,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 10:49:45 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 94 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 10:51:33.5265,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 10:51:33 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 648 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 10:51:34.3215,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 10:51:34 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 94 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 11:08:39.0527,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 11:08:39 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 648 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 11:08:39.3511,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 11:08:39 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 94 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 11:11:15.0933,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 11:11:15 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 648 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 11:14:15.9764,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 11:14:15 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 94 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 11:14:32.2455,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 11:14:32 -【异常类型】:SqlException -【异常信息】:在从服务器接收结果时发生传输级错误。 (provider: TCP Provider, error: 0 - 远程主机强迫关闭了一个现有的连接。) -【异常方法】:Void OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action]) -【堆栈调用】: 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) - 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) - 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) - 在 System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error) - 在 System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync() - 在 System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket() - 在 System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer() - 在 System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value) - 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) - 在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() - 在 System.Data.SqlClient.SqlDataReader.get_MetaData() - 在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) - 在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) - 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) - 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) - 在 System.Data.SqlClient.SqlCommand.ExecuteScalar() - 在 DBUtility.SqlHelper.ExecuteScalar(String connectionString, CommandType cmdType, String cmdText, SqlParameter[] commandParameters) - 在 PaintingPC.Function.GetSide(String barCode, String paintId) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 938 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 11:19:40.9466,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 11:19:40 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 642 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 11:23:33.3419,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 11:23:33 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 642 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 11:23:53.4197,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 11:23:53 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 642 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 11:23:59.8061,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 11:23:59 -【异常类型】:SqlException -【异常信息】:在从服务器接收结果时发生传输级错误。 (provider: TCP Provider, error: 0 - 远程主机强迫关闭了一个现有的连接。) -【异常方法】:Void OnError(System.Data.SqlClient.SqlException, Boolean, System.Action`1[System.Action]) -【堆栈调用】: 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) - 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) - 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) - 在 System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error) - 在 System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync() - 在 System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket() - 在 System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer() - 在 System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value) - 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) - 在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() - 在 System.Data.SqlClient.SqlDataReader.get_MetaData() - 在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) - 在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) - 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) - 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) - 在 System.Data.SqlClient.SqlCommand.ExecuteScalar() - 在 DBUtility.SqlHelper.ExecuteScalar(String connectionString, CommandType cmdType, String cmdText, SqlParameter[] commandParameters) - 在 PaintingPC.Function.GetFirstInsPosition(DataTable dt) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 1184 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 11:41:38.8436,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 11:41:38 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 645 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 11:45:28.9287,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 11:45:28 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 645 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 15:14:37.5319,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 15:14:37 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 645 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-06 15:23:01.0969,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-06 15:23:01 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 645 -**************************************************************** - diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20230911.Log b/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20230911.Log deleted file mode 100644 index 045ba01..0000000 --- a/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20230911.Log +++ /dev/null @@ -1,90 +0,0 @@ -程序版本号:1.0.0.13,Time:2023-09-11 12:05:12.4016,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-11 12:05:12 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 645 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-11 12:13:48.8905,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-11 12:13:48 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 645 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-11 12:13:50.6366,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-11 12:13:50 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 94 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-11 12:14:05.5509,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-11 12:14:05 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 645 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-11 12:14:06.7877,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-11 12:14:06 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 94 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-11 12:21:23.1368,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-11 12:21:23 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 645 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-11 12:21:24.6294,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-11 12:21:24 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 94 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-11 12:31:31.8499,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-11 12:31:31 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 94 -**************************************************************** - -程序版本号:1.0.0.13,Time:2023-09-11 12:32:07.4829,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.13 【出现时间】:2023-09-11 12:32:07 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 94 -**************************************************************** - diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20231117.Log b/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20231117.Log deleted file mode 100644 index 2985a74..0000000 --- a/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20231117.Log +++ /dev/null @@ -1,40 +0,0 @@ -程序版本号:1.0.0.0,Time:2023-11-17 09:18:14.3616,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.0 【出现时间】:2023-11-17 09:18:14 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 95 -**************************************************************** - -程序版本号:1.0.0.0,Time:2023-11-17 09:18:55.7326,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.0 【出现时间】:2023-11-17 09:18:55 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 95 -**************************************************************** - -程序版本号:1.0.0.0,Time:2023-11-17 09:48:20.6610,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.0 【出现时间】:2023-11-17 09:48:20 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 95 -**************************************************************** - -程序版本号:1.0.0.0,Time:2023-11-17 09:48:38.5500,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.0 【出现时间】:2023-11-17 09:48:38 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 95 -**************************************************************** - diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20240109.Log b/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20240109.Log deleted file mode 100644 index 447487f..0000000 --- a/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20240109.Log +++ /dev/null @@ -1,20 +0,0 @@ -程序版本号:1.0.0.0,Time:2024-01-09 12:58:24.7759,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.0 【出现时间】:2024-01-09 12:58:24 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 95 -**************************************************************** - -程序版本号:1.0.0.0,Time:2024-01-09 12:58:36.1483,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.0 【出现时间】:2024-01-09 12:58:36 -【异常类型】:ArgumentException -【异常信息】:列“PartNo”不属于表 aa。 -【异常方法】:System.Data.DataColumn GetDataColumn(System.String) -【堆栈调用】: 在 System.Data.DataRow.GetDataColumn(String columnName) - 在 System.Data.DataRow.get_Item(String columnName) - 在 PaintingPC.Function.GetInfoByStockNo(String stockNo, String& partNo, String& partName) 位置 D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\Function.cs:行号 95 -**************************************************************** - diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20240416.Log b/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20240416.Log deleted file mode 100644 index 64ef140..0000000 --- a/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20240416.Log +++ /dev/null @@ -1,10 +0,0 @@ -程序版本号:1.0.0.0,Time:2024-04-16 15:11:59.3183,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.0 【出现时间】:2024-04-16 15:11:59 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 648 -**************************************************************** - diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20240507.Log b/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20240507.Log deleted file mode 100644 index 3e3cb89..0000000 --- a/喷涂上线/Code/PaintingPC/bin/Debug/log/Error20240507.Log +++ /dev/null @@ -1,30 +0,0 @@ -程序版本号:1.0.0.0,Time:2024-05-07 13:33:47.0658,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.0 【出现时间】:2024-05-07 13:33:47 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 648 -**************************************************************** - -程序版本号:1.0.0.0,Time:2024-05-07 13:39:26.5502,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.0 【出现时间】:2024-05-07 13:39:26 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 648 -**************************************************************** - -程序版本号:1.0.0.0,Time:2024-05-07 13:41:12.4261,Message:****************************异常文本**************************** -【程序版本号】:1.0.0.0 【出现时间】:2024-05-07 13:41:12 -【异常类型】:WebException -【异常信息】:在 WebClient 请求期间发生异常。 -【异常方法】:Void DownloadFile(System.Uri, System.String) -【堆栈调用】: 在 System.Net.WebClient.DownloadFile(Uri address, String fileName) - 在 System.Net.WebClient.DownloadFile(String address, String fileName) - 在 PaintingPC.FrmSecondCheck.LoadPage() 位置 D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\FrmSecondCheck.cs:行号 648 -**************************************************************** - diff --git a/喷涂上线/Code/PaintingPC/bin/Debug/自动更新设置.ini b/喷涂上线/Code/PaintingPC/bin/Debug/自动更新设置.ini deleted file mode 100644 index 0d8c25f..0000000 Binary files a/喷涂上线/Code/PaintingPC/bin/Debug/自动更新设置.ini and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/bin/Release/PaintingPC.vshost.exe b/喷涂上线/Code/PaintingPC/bin/Release/PaintingPC.vshost.exe deleted file mode 100644 index c0dfecc..0000000 Binary files a/喷涂上线/Code/PaintingPC/bin/Release/PaintingPC.vshost.exe and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/bin/一厂喷涂质检.rar b/喷涂上线/Code/PaintingPC/bin/一厂喷涂质检.rar deleted file mode 100644 index 15a8729..0000000 Binary files a/喷涂上线/Code/PaintingPC/bin/一厂喷涂质检.rar and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/.NETFramework,Version=v4.5.AssemblyAttributes.cs b/喷涂上线/Code/PaintingPC/obj/Debug/.NETFramework,Version=v4.5.AssemblyAttributes.cs deleted file mode 100644 index e5dc9b8..0000000 --- a/喷涂上线/Code/PaintingPC/obj/Debug/.NETFramework,Version=v4.5.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")] diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/喷涂上线/Code/PaintingPC/obj/Debug/DesignTimeResolveAssemblyReferences.cache deleted file mode 100644 index 1078187..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/DesignTimeResolveAssemblyReferences.cache and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/喷涂上线/Code/PaintingPC/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index ed4ee3d..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/Interop.grdesLib.dll b/喷涂上线/Code/PaintingPC/obj/Debug/Interop.grdesLib.dll deleted file mode 100644 index 8dd26ac..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/Interop.grdesLib.dll and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/Interop.griectlLib.dll b/喷涂上线/Code/PaintingPC/obj/Debug/Interop.griectlLib.dll deleted file mode 100644 index 55bb633..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/Interop.griectlLib.dll and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/Interop.griedesLib.dll b/喷涂上线/Code/PaintingPC/obj/Debug/Interop.griedesLib.dll deleted file mode 100644 index ad178fa..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/Interop.griedesLib.dll and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/Interop.grproLib.dll b/喷涂上线/Code/PaintingPC/obj/Debug/Interop.grproLib.dll deleted file mode 100644 index d29a2a2..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/Interop.grproLib.dll and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/Interop.grsvr6Lib.dll b/喷涂上线/Code/PaintingPC/obj/Debug/Interop.grsvr6Lib.dll deleted file mode 100644 index 1ac5b3d..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/Interop.grsvr6Lib.dll and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmChainUp.resources b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmChainUp.resources deleted file mode 100644 index bf4d722..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmChainUp.resources and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmChainUp1.resources b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmChainUp1.resources deleted file mode 100644 index bf4d722..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmChainUp1.resources and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmChangeColor.resources b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmChangeColor.resources deleted file mode 100644 index 6c05a97..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmChangeColor.resources and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmChangeColorResize.resources b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmChangeColorResize.resources deleted file mode 100644 index 6c05a97..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmChangeColorResize.resources and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmChooseDamnPosition.resources b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmChooseDamnPosition.resources deleted file mode 100644 index 6c05a97..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmChooseDamnPosition.resources and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmDelChaimUp.resources b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmDelChaimUp.resources deleted file mode 100644 index 6c05a97..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmDelChaimUp.resources and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmMessage.resources b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmMessage.resources deleted file mode 100644 index 6c05a97..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmMessage.resources and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmSecondCheck.resources b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmSecondCheck.resources deleted file mode 100644 index 8de3154..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmSecondCheck.resources and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmTemp1.resources b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmTemp1.resources deleted file mode 100644 index 37583bf..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.FrmTemp1.resources and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.Properties.Resources.resources b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.Properties.Resources.resources deleted file mode 100644 index a3b32f3..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.Properties.Resources.resources and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.UC.resources b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.UC.resources deleted file mode 100644 index 6c05a97..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.UC.resources and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.application b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.application deleted file mode 100644 index cff9d83..0000000 --- a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.application +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - ki7Kb15N1YKTethSTjgGgnxdn6T4EZehrxfepYzcYJo= - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.csproj.AssemblyReference.cache b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.csproj.AssemblyReference.cache deleted file mode 100644 index f5e894a..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.csproj.AssemblyReference.cache and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.csproj.CopyComplete b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.csproj.CopyComplete deleted file mode 100644 index e69de29..0000000 diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.csproj.CoreCompileInputs.cache b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.csproj.CoreCompileInputs.cache deleted file mode 100644 index 44b82e9..0000000 --- a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -2adb4e93bfb52493b595098329de266f755e2ed6 diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.csproj.FileListAbsolute.txt b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.csproj.FileListAbsolute.txt deleted file mode 100644 index 374a0fc..0000000 --- a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,197 +0,0 @@ -D:\清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Debug\PaintingPC.exe.config -D:\清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Debug\PaintingPC.exe -D:\清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Debug\PaintingPC.pdb -D:\清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Debug\SchTaskExtAPI.dll -D:\清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Debug\Tools.dll -D:\清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.FrmChooseDamnPosition.resources -D:\清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.FrmFirstCheck.resources -D:\清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.FrmSecondCheck.resources -D:\清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.Properties.Resources.resources -D:\清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.csproj.GenerateResource.Cache -D:\清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.exe -D:\清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.pdb -D:\清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.csprojResolveAssemblyReference.cache -D:\清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.FrmChangeColor.resources -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Debug\PaintingPC.exe.config -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.exe -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.pdb -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Debug\PaintingPC.exe -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Debug\PaintingPC.pdb -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Debug\SchTaskExtAPI.dll -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Debug\Tools.dll -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.FrmChangeColor.resources -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.FrmChooseDamnPosition.resources -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.FrmFirstCheck.resources -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.FrmSecondCheck.resources -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.Properties.Resources.resources -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.csproj.GenerateResource.Cache -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Debug\PaintingPC.exe.manifest -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Debug\PaintingPC.application -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.exe.manifest -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.application -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.FrmSecondCheckSpec.resources -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.FrmSecondCheckResize.resources -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.FrmChangeColorResize.resources -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Debug\PaintingPC.csprojResolveAssemblyReference.cache -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\bin\Debug\PaintingPC.exe.config -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\obj\Debug\PaintingPC.exe -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\obj\Debug\PaintingPC.pdb -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\bin\Debug\PaintingPC.exe.manifest -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\bin\Debug\PaintingPC.application -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\bin\Debug\PaintingPC.exe -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\bin\Debug\PaintingPC.pdb -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\bin\Debug\SchTaskExtAPI.dll -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\bin\Debug\Tools.dll -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\obj\Debug\PaintingPC.FrmChangeColorResize.resources -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\obj\Debug\PaintingPC.FrmChangeColor.resources -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\obj\Debug\PaintingPC.FrmChooseDamnPosition.resources -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\obj\Debug\PaintingPC.FrmFirstCheck.resources -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\obj\Debug\PaintingPC.FrmSecondCheckResize.resources -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\obj\Debug\PaintingPC.FrmSecondCheckSpec.resources -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\obj\Debug\PaintingPC.FrmSecondCheck.resources -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\obj\Debug\PaintingPC.Properties.Resources.resources -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\obj\Debug\PaintingPC.csproj.GenerateResource.Cache -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\obj\Debug\PaintingPC.exe.manifest -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\obj\Debug\PaintingPC.application -D:\A-清华高端装备院\项目\北汽模塑\一厂\Code\PaintingPC\obj\Debug\PaintingPC.csprojResolveAssemblyReference.cache -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\bin\Debug\PaintingPC.exe.config -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\bin\Debug\PaintingPC.exe.manifest -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\bin\Debug\PaintingPC.application -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\bin\Debug\PaintingPC.exe -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\bin\Debug\PaintingPC.pdb -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\bin\Debug\SchTaskExtAPI.dll -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\bin\Debug\Tools.dll -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.FrmChangeColorResize.resources -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.FrmChangeColor.resources -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.FrmChooseDamnPosition.resources -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.FrmFirstCheck.resources -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.FrmSecondCheckResize.resources -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.FrmSecondCheckSpec.resources -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.FrmSecondCheck.resources -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.Properties.Resources.resources -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.csproj.GenerateResource.Cache -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.exe.manifest -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.application -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.exe -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.pdb -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.FrmTemp1.resources -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.FrmChainUp.resources -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.FrmChainUp1.resources -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.csproj.ResolveComReference.cache -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\Interop.grdes6Lib.dll -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\Interop.gregn6Lib.dll -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.FrmDelChaimUp.resources -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.UC.resources -D:\A-清华高端装备院\项目\北汽模塑\新SVN一厂\Code\PaintingPC\obj\Debug\PaintingPC.csprojResolveAssemblyReference.cache -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\PaintingPC.exe.config -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.csproj.ResolveComReference.cache -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.exe -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.pdb -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\Interop.grdesLib.dll -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\Interop.grproLib.dll -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmChainUp.resources -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmChainUp1.resources -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmChangeColorResize.resources -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmChangeColor.resources -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmChooseDamnPosition.resources -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmDelChaimUp.resources -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmSecondCheck.resources -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmTemp1.resources -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.Properties.Resources.resources -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.UC.resources -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.csproj.GenerateResource.Cache -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\PaintingPC.exe.manifest -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\PaintingPC.application -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\PaintingPC.exe -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\PaintingPC.pdb -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\SchTaskExtAPI.dll -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\Tools.dll -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.exe.manifest -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.application -D:\项目\北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.csprojResolveAssemblyReference.cache -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\PaintingPC.exe.config -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\Interop.grdesLib.dll -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\Interop.grproLib.dll -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.csproj.ResolveComReference.cache -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.exe -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.pdb -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\PaintingPC.exe.manifest -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\PaintingPC.application -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\PaintingPC.exe -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\PaintingPC.pdb -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\SchTaskExtAPI.dll -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\Tools.dll -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmChainUp.resources -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmChainUp1.resources -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmChangeColorResize.resources -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmChangeColor.resources -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmChooseDamnPosition.resources -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmDelChaimUp.resources -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmSecondCheck.resources -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmTemp1.resources -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.Properties.Resources.resources -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.UC.resources -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.csproj.GenerateResource.Cache -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.exe.manifest -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.application -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.csproj.AssemblyReference.cache -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.csproj.CoreCompileInputs.cache -D:\项目\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.csproj.CopyComplete -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\PaintingPC.exe.config -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\PaintingPC.exe.manifest -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\PaintingPC.application -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\PaintingPC.exe -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\PaintingPC.pdb -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\SchTaskExtAPI.dll -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\bin\Debug\Tools.dll -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.csproj.AssemblyReference.cache -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\Interop.grdesLib.dll -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\Interop.grproLib.dll -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.csproj.ResolveComReference.cache -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmChainUp.resources -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmChainUp1.resources -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmChangeColorResize.resources -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmChangeColor.resources -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmChooseDamnPosition.resources -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmDelChaimUp.resources -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmSecondCheck.resources -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmTemp1.resources -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.Properties.Resources.resources -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.UC.resources -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.csproj.GenerateResource.cache -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.csproj.CoreCompileInputs.cache -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.exe.manifest -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.application -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.csproj.CopyComplete -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.exe -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.pdb -D:\Project\2、北汽模塑一厂\李鑫\Code\Code\PaintingPC\obj\Debug\PaintingPC.FrmMessage.resources -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\bin\Debug\PaintingPC.exe.config -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\bin\Debug\PaintingPC.exe.manifest -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\bin\Debug\PaintingPC.application -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\bin\Debug\PaintingPC.exe -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\bin\Debug\PaintingPC.pdb -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\bin\Debug\SchTaskExtAPI.dll -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\bin\Debug\Tools.dll -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.csproj.AssemblyReference.cache -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\Interop.grdesLib.dll -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\Interop.grproLib.dll -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.csproj.ResolveComReference.cache -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.FrmChainUp.resources -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.FrmChainUp1.resources -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.FrmChangeColorResize.resources -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.FrmChangeColor.resources -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.FrmChooseDamnPosition.resources -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.FrmDelChaimUp.resources -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.FrmMessage.resources -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.FrmSecondCheck.resources -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.FrmTemp1.resources -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.Properties.Resources.resources -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.UC.resources -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.csproj.GenerateResource.cache -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.csproj.CoreCompileInputs.cache -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.exe.manifest -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.application -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.csproj.CopyComplete -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.exe -D:\Project\BBMPT1\喷涂上线\Code\PaintingPC\obj\Debug\PaintingPC.pdb diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.csproj.GenerateResource.cache b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.csproj.GenerateResource.cache deleted file mode 100644 index 174fae9..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.csproj.GenerateResource.cache and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.csproj.ResolveComReference.cache b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.csproj.ResolveComReference.cache deleted file mode 100644 index d91e993..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.csproj.ResolveComReference.cache and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.exe b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.exe deleted file mode 100644 index 230659c..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.exe and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.exe.manifest b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.exe.manifest deleted file mode 100644 index 2166d07..0000000 --- a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.exe.manifest +++ /dev/null @@ -1,135 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - lpmvkGWlhBg8IE7pCa5If9cUM0BlVt8XVvATR8uOzZ4= - - - - - - - - - - - - hmTprpnHgrmumszINzfXhb3TvdDb/APorLfH0V3VuZA= - - - - - - - - - - - - /uQ6NOiKipARWAMIHIywv4IPSBJlibxngNm707QBiGA= - - - - - - - - - - nrXT9B/MnwnExSSlOGeHrmeIJbV8sQAMG3MyNk3/o9g= - - - - - - - - - juREAv6cjx8UU4pAbXOUpdFNhIUj0YlkKTbdRp/IxAg= - - - - - - - - - X+a6ws/a0qTqDS+Bz/KR5oABduVYp4gkOasld77toyw= - - - - - - - - - hmTprpnHgrmumszINzfXhb3TvdDb/APorLfH0V3VuZA= - - - - - - - - - /uQ6NOiKipARWAMIHIywv4IPSBJlibxngNm707QBiGA= - - - - - - - - - rhXgYH+My7o1Q9fE/B6PKpcD3ATaN0qaCTE9Cjmv0Ak= - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.pdb b/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.pdb deleted file mode 100644 index 211a164..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/PaintingPC.pdb and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll b/喷涂上线/Code/PaintingPC/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll deleted file mode 100644 index 16ff339..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/TempPE/Web References.WebReference.Reference.cs.dll b/喷涂上线/Code/PaintingPC/obj/Debug/TempPE/Web References.WebReference.Reference.cs.dll deleted file mode 100644 index 9a58d7c..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Debug/TempPE/Web References.WebReference.Reference.cs.dll and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/喷涂上线/Code/PaintingPC/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/喷涂上线/Code/PaintingPC/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/喷涂上线/Code/PaintingPC/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/喷涂上线/Code/PaintingPC/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/喷涂上线/Code/PaintingPC/obj/Release/DesignTimeResolveAssemblyReferences.cache b/喷涂上线/Code/PaintingPC/obj/Release/DesignTimeResolveAssemblyReferences.cache deleted file mode 100644 index 05c76b3..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Release/DesignTimeResolveAssemblyReferences.cache and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/喷涂上线/Code/PaintingPC/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 5afe981..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Release/Interop.grdes6Lib.dll b/喷涂上线/Code/PaintingPC/obj/Release/Interop.grdes6Lib.dll deleted file mode 100644 index 6c8ba65..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Release/Interop.grdes6Lib.dll and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Release/Interop.gregn6Lib.dll b/喷涂上线/Code/PaintingPC/obj/Release/Interop.gregn6Lib.dll deleted file mode 100644 index 64a8c83..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Release/Interop.gregn6Lib.dll and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmChangeColor.resources b/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmChangeColor.resources deleted file mode 100644 index 6c05a97..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmChangeColor.resources and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmChangeColorResize.resources b/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmChangeColorResize.resources deleted file mode 100644 index 6c05a97..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmChangeColorResize.resources and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmChooseDamnPosition.resources b/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmChooseDamnPosition.resources deleted file mode 100644 index 6c05a97..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmChooseDamnPosition.resources and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmFirstCheck.resources b/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmFirstCheck.resources deleted file mode 100644 index 37583bf..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmFirstCheck.resources and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmSecondCheck.resources b/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmSecondCheck.resources deleted file mode 100644 index 37583bf..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmSecondCheck.resources and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmSecondCheckResize.resources b/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmSecondCheckResize.resources deleted file mode 100644 index 37583bf..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmSecondCheckResize.resources and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmSecondCheckSpec.resources b/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmSecondCheckSpec.resources deleted file mode 100644 index 37583bf..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.FrmSecondCheckSpec.resources and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.Properties.Resources.resources b/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.Properties.Resources.resources deleted file mode 100644 index 6c05a97..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.Properties.Resources.resources and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.XmlSerializers.dll b/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.XmlSerializers.dll deleted file mode 100644 index c899136..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.XmlSerializers.dll and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.application b/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.application deleted file mode 100644 index 9712ee2..0000000 --- a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.application +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - kQNfofpL+bM/7TArNv6im2to7/61UOZp2wZeGVrVJnE= - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.csproj.FileListAbsolute.txt b/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.csproj.FileListAbsolute.txt deleted file mode 100644 index 63ccca4..0000000 --- a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,22 +0,0 @@ -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Release\PaintingPC.exe.config -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Release\PaintingPC.exe.manifest -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Release\PaintingPC.application -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Release\PaintingPC.exe -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Release\PaintingPC.XmlSerializers.dll -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Release\PaintingPC.pdb -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Release\SchTaskExtAPI.dll -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\bin\Release\Tools.dll -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Release\PaintingPC.FrmChangeColorResize.resources -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Release\PaintingPC.FrmChangeColor.resources -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Release\PaintingPC.FrmChooseDamnPosition.resources -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Release\PaintingPC.FrmFirstCheck.resources -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Release\PaintingPC.FrmSecondCheckResize.resources -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Release\PaintingPC.FrmSecondCheckSpec.resources -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Release\PaintingPC.FrmSecondCheck.resources -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Release\PaintingPC.Properties.Resources.resources -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Release\PaintingPC.csproj.GenerateResource.Cache -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Release\PaintingPC.exe.manifest -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Release\PaintingPC.application -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Release\PaintingPC.exe -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Release\PaintingPC.pdb -D:\A-清华高端装备院\项目\北汽模塑\BBMPT\Code\PaintingPC\obj\Release\PaintingPC.XmlSerializers.dll diff --git a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.csproj.GenerateResource.Cache b/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.csproj.GenerateResource.Cache deleted file mode 100644 index 2b17819..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.csproj.GenerateResource.Cache and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.csproj.ResolveComReference.cache b/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.csproj.ResolveComReference.cache deleted file mode 100644 index 07970a3..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.csproj.ResolveComReference.cache and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.exe b/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.exe deleted file mode 100644 index e806fa7..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.exe and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.exe.manifest b/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.exe.manifest deleted file mode 100644 index 70c6342..0000000 --- a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.exe.manifest +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - efIMb582/oq7+FvyT/rVtmkrR1kEahbIeR/Pnh4Fa2I= - - - - - - - - - - - - g3m3Dlpek50ITHk+bq26oWQJojXPSp5qlYRrYXHIYs8= - - - - - - - - - - - - hmTprpnHgrmumszINzfXhb3TvdDb/APorLfH0V3VuZA= - - - - - - - - - - - - /uQ6NOiKipARWAMIHIywv4IPSBJlibxngNm707QBiGA= - - - - - - - - - - hmTprpnHgrmumszINzfXhb3TvdDb/APorLfH0V3VuZA= - - - - - - - - - /uQ6NOiKipARWAMIHIywv4IPSBJlibxngNm707QBiGA= - - - - - - - - - /tizzugckyLdLFDWhW5JzVVb73Ae2KvKYKHOCL40eR0= - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.pdb b/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.pdb deleted file mode 100644 index a4fa31a..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Release/PaintingPC.pdb and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Release/TempPE/Properties.Resources.Designer.cs.dll b/喷涂上线/Code/PaintingPC/obj/Release/TempPE/Properties.Resources.Designer.cs.dll deleted file mode 100644 index 90783b7..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Release/TempPE/Properties.Resources.Designer.cs.dll and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Release/TempPE/Web References.WebReference.Reference.cs.dll b/喷涂上线/Code/PaintingPC/obj/Release/TempPE/Web References.WebReference.Reference.cs.dll deleted file mode 100644 index b8fe470..0000000 Binary files a/喷涂上线/Code/PaintingPC/obj/Release/TempPE/Web References.WebReference.Reference.cs.dll and /dev/null differ diff --git a/喷涂上线/Code/PaintingPC/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/喷涂上线/Code/PaintingPC/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29..0000000 diff --git a/喷涂上线/Code/PaintingPC/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/喷涂上线/Code/PaintingPC/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29..0000000 diff --git a/喷涂上线/Code/PaintingPC/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/喷涂上线/Code/PaintingPC/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29..0000000 diff --git a/喷涂上线/Code/PaintingPC/obj/Release/build.force b/喷涂上线/Code/PaintingPC/obj/Release/build.force deleted file mode 100644 index e69de29..0000000 diff --git a/喷涂上线/Code/PaintingScreen/3.png b/喷涂上线/Code/PaintingScreen/3.png deleted file mode 100644 index 0a5f7be..0000000 Binary files a/喷涂上线/Code/PaintingScreen/3.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/CSS/Basics.css b/喷涂上线/Code/PaintingScreen/CSS/Basics.css deleted file mode 100644 index 1a059ce..0000000 --- a/喷涂上线/Code/PaintingScreen/CSS/Basics.css +++ /dev/null @@ -1,230 +0,0 @@ -.top { - top: 20px; - padding: 0px; - border: 1px solid #CBD0D4; - width: 99%; - background-color: #F0F3F8; - margin-bottom: 10px; -} - - .top .title { - margin-left: 10px; - color: #000; - font-weight: bold; - } - - .top .subDesc { - margin-left: 50px; - color: #ff0000; - } - - .top table { - border: 0px; - } - - .top table tr td { - padding: 5px 0px 5px 5px; - } - - .top table tr td h4 { - font-size: 12px; - color: #333; - } - - .top .searchBtn, .addBtn, .delBtn, saveBtn, .penBtn, .topaddBtn, .topdelBtn, .toppenBtn, .topsearchBtn, .topexcelBtn ,.toppicBtn,.toppdfBtn,#wmtoc .mtocBtn ,#wmtoc .mtocdelBtn{ - line-height: 25px; - height: 25px; - padding: 3px 10px 3px 26px; - border: 1px solid #ccc; - color: #333; - font-size: 14px; - cursor: pointer; - background-repeat: no-repeat; - background-position: 5px 5px; - background-color: #fff; - } - - .top .searchBtn { - background-image: url('/SysImages/Basics/Search.png'); - } - - .top .searchBtn:hover { - border: 1px solid #999; - background-color: #eee; - } - - .top .addBtn { - background-image: url('/SysImages/Basics/add.png'); - } - - .top .addBtn:hover { - border: 1px solid #999; - background-color: #eee; - } - - .top .delBtn { - background-image: url('/SysImages/Basics/Delete.png'); - } - - .top .delBtn:hover { - border: 1px solid #999; - background-color: #eee; - } - - .top .penBtn { - background-image: url('/SysImages/Basics/pen.png'); - } - - .top .penBtn:hover { - border: 1px solid #999; - background-color: #eee; - } - - .top .topexcelBtn { - background-image: url('/SysImages/Basics/Excel.png'); - } - - .top .topexcelBtn:hover { - border: 1px solid #999; - background-color: #eee; - } - - .top .topsearchBtn { - background-image: url('/SysImages/Basics/Search.png'); - } - - .top .topsearchBtn:hover { - border: 1px solid #999; - background-color: #eee; - } - - .top .topaddBtn,#wmtoc .mtocBtn{ - background-image: url('/SysImages/Basics/add.png'); - } - - .top .topaddBtn:hover { - border: 1px solid #999; - background-color: #eee; - } - - .top .topdelBtn ,#wmtoc .mtocdelBtn { - background-image: url('/SysImages/Basics/Delete.png'); - } - - .top .topdelBtn:hover { - border: 1px solid #999; - background-color: #eee; - } - - .top .toppenBtn { - background-image: url('/SysImages/Basics/pen.png'); - } - - .top .toppenBtn:hover { - border: 1px solid #999; - background-color: #eee; - } - - .top table tr td input { - line-height: 22px; - height: 22px; - } - .top .toppdfBtn { - background-image: url('/SysImages/Basics/PDF.png'); - } - - .top .toppdfBtn:hover { - border: 1px solid #999; - background-color: #eee; - } - -#ft .saveBtn ,#ftmtoc .closeBtn{ - background-image: url('/SysImages/Basics/save.png'); - line-height: 25px; - height: 25px; - padding: 3px 20px 3px 36px; - border: 1px solid #ccc; - color: #333; - font-size: 14px; - cursor: pointer; - background-repeat: no-repeat; - background-position: 5px 5px; - background-color: #fff; -} -#ftmtoc .closeBtn{ - background-image: url('/SysImages/Basics/delete1.png'); -} - #ft .saveBtn:hover { - border: 1px solid #999; - background-color: #eee; - } - -#wexcel .topexcelBtn,#wexcel2 .topexcelBtn { - background-image: url('/SysImages/Basics/Excel.png'); - line-height: 25px; - height: 25px; - padding: 3px 10px 3px 26px; - border: 1px solid #ccc; - color: #333; - font-size: 14px; - cursor: pointer; - background-repeat: no-repeat; - background-position: 5px 5px; - background-color: #fff; - -} - #ftexcel .saveBtn ,#ftpicture .saveBtn,#ftexcel2 .saveBtn{ - background-image: url('/SysImages/Basics/save.png'); - line-height: 25px; - height: 25px; - padding: 3px 20px 3px 36px; - border: 1px solid #ccc; - color: #333; - font-size: 14px; - cursor: pointer; - background-repeat: no-repeat; - background-position: 5px 5px; - background-color: #fff; -} - - #ftexcel .saveBtn:hover { - border: 1px solid #999; - background-color: #eee; - } - - #wpdf .pdfBtn ,#w .pdfBtn{ - line-height: 25px; - height: 25px; - padding: 3px 10px 3px 26px; - border: 1px solid #ccc; - color: #333; - font-size: 14px; - cursor: pointer; - background-repeat: no-repeat; - background-position: 5px 5px; - background-color: #fff; - background-image: url('/SysImages/Basics/PDF.png'); - } - - #wpdf .pdfBtn:hover { - border: 1px solid #999; - background-color: #eee; - } - #ftpdf .saveBtn ,#ftpicture .saveBtn{ - background-image: url('/SysImages/Basics/save.png'); - line-height: 25px; - height: 25px; - padding: 3px 20px 3px 36px; - border: 1px solid #ccc; - color: #333; - font-size: 14px; - cursor: pointer; - background-repeat: no-repeat; - background-position: 5px 5px; - background-color: #fff; -} - - #ftpdf .saveBtn:hover { - border: 1px solid #999; - background-color: #eee; - } \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/CSS/InitCSS.css b/喷涂上线/Code/PaintingScreen/CSS/InitCSS.css deleted file mode 100644 index ebc8367..0000000 --- a/喷涂上线/Code/PaintingScreen/CSS/InitCSS.css +++ /dev/null @@ -1,4 +0,0 @@ -body,div,ol,ul,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,p,form,fieldset,legend,input{ margin:0; padding:0;} -h1,h2,h3,h4,h5,h6{ font-size:100%; font-weight:normal;} -ol,ul{ list-style:none;} -img,fieldset{ border:0 none; display:block;} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/CSS/RiStyleSheet.css b/喷涂上线/Code/PaintingScreen/CSS/RiStyleSheet.css deleted file mode 100644 index ce486f3..0000000 --- a/喷涂上线/Code/PaintingScreen/CSS/RiStyleSheet.css +++ /dev/null @@ -1,24 +0,0 @@ -#body { - background-repeat:no-repeat; - /*margin-left:-5px; - margin-top:-7px;*/ - width:1280px; - } -table, tr, td { - border:solid 1px; - border-color:white; - border-collapse:collapse; - color:white; - width:1280px; - text-align:center; - font-size:14px; - } -#main { - height: 338px;margin-bottom:0px; padding-bottom:0px; - } -#table { - height: 80px; - } -table { - margin-bottom:0px; padding-bottom:0px; - } \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/CSS/StyleSheetCommon.css b/喷涂上线/Code/PaintingScreen/CSS/StyleSheetCommon.css deleted file mode 100644 index 48e1ccd..0000000 --- a/喷涂上线/Code/PaintingScreen/CSS/StyleSheetCommon.css +++ /dev/null @@ -1,30 +0,0 @@ -.borderTable,.borderTable tr th, .borderTable tr td { border-collapse: collapse; border: 1px solid #00FFFF; } - -/*#region 标题表格 */ - -/*#TableTitle, #TableTitle tr th, #TableTitle tr td { - border: 1px solid #0094ff; - border: 1px solid #00FFFF; - border-collapse: collapse; -}*/ - -#TableTitle { - width: 1900px; - height: 100px; -} - -#Title { - width: 1500px; - font-size: 40px; - font-family: 微软雅黑; - text-align: center; - font-weight: 800; - /*background-color:white;*/ - color:white; -} - -#tdImg, #Img { - background-image:url(../Pic/Logo.png); background-repeat:no-repeat; width:190px; height:100px; -} - -/*#endregion */ diff --git a/喷涂上线/Code/PaintingScreen/CSS/StyleSheetSpecial1.css b/喷涂上线/Code/PaintingScreen/CSS/StyleSheetSpecial1.css deleted file mode 100644 index 6840e9b..0000000 --- a/喷涂上线/Code/PaintingScreen/CSS/StyleSheetSpecial1.css +++ /dev/null @@ -1,11 +0,0 @@ -.TableTitle { - /*background-color:#000000;*/ width:266px; font-weight:700; color:white; text-align:center; font-size:30px; font-family: 微软雅黑;height:70px; -} - -.TableContent { - /*background-color:#000000;*/ width:266px; font-weight:700; color:white; text-align:center; font-size:30px; font-family: 微软雅黑; height:70px; -} - -.TableTitleXingHao { - /*background-color:#000000;*/ width:320px; font-weight:700; color:white; text-align:center; font-size:30px; font-family: 微软雅黑;height:70px; -} diff --git a/喷涂上线/Code/PaintingScreen/CSS/YueStyleSheet.css b/喷涂上线/Code/PaintingScreen/CSS/YueStyleSheet.css deleted file mode 100644 index 11733b0..0000000 --- a/喷涂上线/Code/PaintingScreen/CSS/YueStyleSheet.css +++ /dev/null @@ -1,24 +0,0 @@ -#body { - background-repeat:no-repeat; - /*margin-left:-5px; - margin-top:-7px;*/ - width:640px; - } -table, tr, td { - border:solid 1px; - border-color:white; - border-collapse:collapse; - color:white; - width:640px; - text-align:center; - font-size:14px; - } -#main { - height: 338px;margin-bottom:0px; padding-bottom:0px; - } -#table { - height: 80px; - } -table { - margin-bottom:0px; padding-bottom:0px; - } \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Handler/FiveScreenFunction.cs b/喷涂上线/Code/PaintingScreen/Handler/FiveScreenFunction.cs deleted file mode 100644 index 8002ce5..0000000 --- a/喷涂上线/Code/PaintingScreen/Handler/FiveScreenFunction.cs +++ /dev/null @@ -1,414 +0,0 @@ -using DBUtility; -using PaintingScreen.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Web; - -namespace PaintingScreen.Handler -{ - public class FiveScreenFunction - { - public static FiveScreenModel getFiveScreenModel(string reportName, string type) - { - string sql_month = GetMonthStr(); - string sql_date = GetDateStr(); - - FiveScreenModel model = new FiveScreenModel(); - List data1 = new List(); //原值 - List data2 = new List(); //基准值 - List data3 = new List(); //置空之后的值 - model.data1 = data1; - model.data2 = data2; - model.data3 = data3; - - try - { - if (type == "月报") - { -// string sql = @" -// SELECT TOP 1 -// [LastYear] -// ,[Jan] -// ,[Feb] -// ,[Mar] -// ,[Apr] -// ,[May] -// ,[Jun] -// ,[Jul] -// ,[Aug] -// ,[Sept] -// ,[Oct] -// ,[Nov] -// ,[Dec] -// FROM tb_Report_FiveScreen -// WHERE Name = '" + reportName + @"' -// ORDER BY CreateTime DESC -// "; - string sql = @" - SELECT TOP 1 - " + sql_month + @" - FROM tb_Report_FiveScreen - WHERE Name like '" + reportName + @"%' - ORDER BY CreateTime DESC - "; - DataTable dt = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (dt != null && dt.Rows.Count > 0) - { - for (int i = 0; i < dt.Columns.Count; i++) - { - string res = dt.Rows[0][i].ToString().Trim(); - string resKong = CompareMinValue(res, reportName); - if (res.Length > 4) - { - res = res.Remove(res.IndexOf('.')); - } - if (resKong.Length > 4) - { - resKong = resKong.Remove(resKong.IndexOf('.')); - } - data1.Add(res); - data3.Add(resKong); - } - } - -// string sql2 = @" -// SELECT TOP 1 -// [LastYear] -// ,[Jan] -// ,[Feb] -// ,[Mar] -// ,[Apr] -// ,[May] -// ,[Jun] -// ,[Jul] -// ,[Aug] -// ,[Sept] -// ,[Oct] -// ,[Nov] -// ,[Dec] -// ,[CreateTime] -// FROM tb_Report_FiveScreenStandard -// WHERE Name = '" + reportName + @"' -// ORDER BY CreateTime DESC -// "; - string sql2 = @" - SELECT TOP 1 - " + sql_month + @" - FROM tb_Report_FiveScreenStandard - WHERE Name like '" + reportName + @"%' - ORDER BY CreateTime DESC - "; - DataTable dt2 = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql2, null); - if (dt2 != null && dt2.Rows.Count > 0) - { - for (int i = 0; i < dt2.Columns.Count; i++) - { - string res = dt2.Rows[0][i].ToString().Trim(); - if (res.Length > 4) - { - res = res.Remove(res.IndexOf('.')); - } - data2.Add(res); - } - } - - model.data1 = data1; - model.data2 = data2; - model.data3 = data3; - } - else if (type == "日报") - { -// string sql = @" -// SELECT TOP 1 -// [day1] -// ,[day2] -// ,[day3] -// ,[day4] -// ,[day5] -// ,[day6] -// ,[day7] -// ,[day8] -// ,[day9] -// ,[day10] -// ,[day11] -// ,[day12] -// ,[day13] -// ,[day14] -// ,[day15] -// ,[day16] -// ,[day17] -// ,[day18] -// ,[day19] -// ,[day20] -// ,[day21] -// ,[day22] -// ,[day23] -// ,[day24] -// ,[day25] -// ,[day26] -// ,[day27] -// ,[day28] -// ,[day29] -// ,[day30] -// ,[day31] -// FROM tb_Report_FiveScreen -// WHERE Name = '" + reportName + @"' -// ORDER BY CreateTime DESC -// "; - string sql = @" - SELECT TOP 1 - " + sql_date + @" - FROM tb_Report_FiveScreen - WHERE Name like '" + reportName + @"%' - ORDER BY CreateTime DESC - "; - DataTable dt = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (dt != null && dt.Rows.Count > 0) - { - for (int i = 0; i < dt.Columns.Count; i++) - { - string res = dt.Rows[0][i].ToString().Trim(); - string resKong = CompareMinValue(res, reportName); - if (res.Length > 4) - { - res = res.Remove(res.IndexOf('.')); - } - if (resKong.Length > 4) - { - resKong = resKong.Remove(resKong.IndexOf('.')); - } - data1.Add(res); - data3.Add(resKong); - } - } - - - #region 根据当前的月份,取数据库的列 - - string columnName = ""; - string month = DateTime.Now.Month.ToString(); - switch (month) - { - case "1": - columnName = "Jan"; - break; - case "2": - columnName = "Feb"; - break; - case "3": - columnName = "Mar"; - break; - case "4": - columnName = "Apr"; - break; - case "5": - columnName = "May"; - break; - case "6": - columnName = "Jun"; - break; - case "7": - columnName = "Jul"; - break; - case "8": - columnName = "Aug"; - break; - case "9": - columnName = "Sept"; - break; - case "10": - columnName = "Oct"; - break; - case "11": - columnName = "Nov"; - break; - case "12": - columnName = "Dec"; - break; - } - - #endregion - - string sql2 = @" - SELECT TOP 1 - "+ columnName +@" - FROM tb_Report_FiveScreenStandard - WHERE Name like '" + reportName + @"%' - ORDER BY CreateTime DESC - "; - DataTable dt2 = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql2, null); - if (dt2 != null && dt2.Rows.Count > 0) - { - for (int i = 0; i < 31; i++) - { - string res = dt2.Rows[0][0].ToString().Trim(); - if (res.Length > 4) - { - res = res.Remove(res.IndexOf('.')); - } - data2.Add(res); - } - } - - model.data1 = data1; - model.data2 = data2; - model.data3 = data3; - } - - return model; - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return model; - } - } - - public static string GetMonthStr() - { - string res = ""; - try - { - string[] monthString = {"","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sept","Oct","Nov","Dec"}; - int now_month = DateTime.Now.Month; - - List small = new List(); - List big = new List(); - for (int i = 1; i <= 12; i++) - { - if (i <= now_month) - { - small.Add(monthString[i]); - } - else - { - big.Add(monthString[i]); - } - } - big.AddRange(small); - foreach (string str in big) - { - res += str + ","; - } - res = res.Remove(res.Length - 1); - return res; - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - public static string GetDateStr() - { - string res = ""; - try - { - string[] dateString = { "", "day1", "day2", "day3", "day4", "day5", "day6", "day7", "day8", "day9", "day10" - , "day11", "day12", "day13", "day14", "day15", "day16", "day17", "day18", "day19" - , "day20", "day21", "day22", "day23", "day24", "day25", "day26", "day27", "day28", "day29", "day30", "day31" }; - int now_date = DateTime.Now.Day; - - List small = new List(); - List big = new List(); - for (int i = 1; i <= 31; i++) - { - if (i <= now_date) - { - small.Add(dateString[i]); - } - else - { - big.Add(dateString[i]); - } - } - big.AddRange(small); - foreach (string str in big) - { - res += str + ","; - } - res = res.Remove(res.Length - 1); - return res; - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - public static string CompareMinValue(string num, string reportName) - { - string res = num; - double number = 0; - double.TryParse(num, out number); - - if (reportName.Contains("注塑合格率")) - { - reportName = "注塑合格率"; - } - else if (reportName.Contains("注塑设备利用率")) - { - reportName = "注塑设备利用率"; - } - else if (reportName.Contains("喷涂设备利用率")) - { - reportName = "喷涂设备利用率"; - } - else if (reportName.Contains("运行滑撬数")) - { - reportName = "运行滑撬数"; - } - else if (reportName.Contains("喷涂入库套数")) - { - reportName = "喷涂入库套数"; - } - else if (reportName.Contains("喷涂一次合格率")) - { - reportName = "喷涂一次合格率"; - } - else if (reportName.Contains("喷涂总合格率")) - { - reportName = "喷涂总合格率"; - } - - switch (reportName) - { - case "注塑合格率": - if (number < 90) - res = ""; - break; - case "注塑设备利用率": - if (number < 90) - res = ""; - break; - case "喷涂设备利用率": - if (number < 80) - res = ""; - break; - case "运行滑撬数": - if (number < 1200) - res = ""; - break; - case "喷涂入库套数": - if (number < 2600) - res = ""; - break; - case "喷涂一次合格率": - if (number < 50) - res = ""; - break; - case "喷涂总合格率": - if (number < 80) - res = ""; - break; - } - - return res; - } - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Handler/FiveScreenHandler.ashx b/喷涂上线/Code/PaintingScreen/Handler/FiveScreenHandler.ashx deleted file mode 100644 index b085e32..0000000 --- a/喷涂上线/Code/PaintingScreen/Handler/FiveScreenHandler.ashx +++ /dev/null @@ -1 +0,0 @@ -<%@ WebHandler Language="C#" CodeBehind="FiveScreenHandler.ashx.cs" Class="PaintingScreen.Handler.FiveScreenHandler" %> diff --git a/喷涂上线/Code/PaintingScreen/Handler/FiveScreenHandler.ashx.cs b/喷涂上线/Code/PaintingScreen/Handler/FiveScreenHandler.ashx.cs deleted file mode 100644 index c116fc8..0000000 --- a/喷涂上线/Code/PaintingScreen/Handler/FiveScreenHandler.ashx.cs +++ /dev/null @@ -1,187 +0,0 @@ -using PaintingScreen.Model; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using Tools; - -namespace PaintingScreen.Handler -{ - /// - /// FiveScreenHandler 的摘要说明 - /// - public class FiveScreenHandler : IHttpHandler - { - HttpRequest Request = null; - HttpResponse Response = null; - - public void ProcessRequest(HttpContext context) - { - context.Response.ContentType = "text/plain"; - Request = context.Request; - Response = context.Response; - string method = Request.Params["method"]; - switch (method) - { - case "getPainting1_1": - getPainting1_1(); - break; - case "getPainting1_2": - getPainting1_2(); - break; - case "getPainting1_3": - getPainting1_3(); - break; - case "getPainting1_4": - getPainting1_4(); - break; - case "getPainting2_1": - getPainting2_1(); - break; - case "getPainting2_2": - getPainting2_2(); - break; - case "getPainting2_3": - getPainting2_3(); - break; - case "getPainting2_4": - getPainting2_4(); - break; - case "getPainting3_1": - getPainting3_1(); - break; - case "getPainting3_2": - getPainting3_2(); - break; - case "getPainting3_3": - getPainting3_3(); - break; - case "getPainting3_4": - getPainting3_4(); - break; - case "getInjection1_1": - getInjection1_1(); - break; - case "getInjection1_2": - getInjection1_2(); - break; - case "getInjection1_3": - getInjection1_3(); - break; - case "getInjection1_4": - getInjection1_4(); - break; - } - - } - - public bool IsReusable - { - get - { - return false; - } - } - - void getPainting1_1() - { - FiveScreenModel md = FiveScreenFunction.getFiveScreenModel("喷涂一次合格率","月报"); - Response.Write(JSONTools.ScriptSerialize(md)); - Response.End(); - } - - void getPainting1_2() - { - FiveScreenModel md = FiveScreenFunction.getFiveScreenModel("喷涂一次合格率", "日报"); - Response.Write(JSONTools.ScriptSerialize(md)); - Response.End(); - } - - void getPainting1_3() - { - FiveScreenModel md = FiveScreenFunction.getFiveScreenModel("喷涂总合格率", "月报"); - Response.Write(JSONTools.ScriptSerialize(md)); - Response.End(); - } - void getPainting1_4() - { - FiveScreenModel md = FiveScreenFunction.getFiveScreenModel("喷涂总合格率", "日报"); - Response.Write(JSONTools.ScriptSerialize(md)); - Response.End(); - } - void getPainting2_1() - { - FiveScreenModel md = FiveScreenFunction.getFiveScreenModel("喷涂设备利用率", "月报"); - Response.Write(JSONTools.ScriptSerialize(md)); - Response.End(); - } - void getPainting2_2() - { - FiveScreenModel md = FiveScreenFunction.getFiveScreenModel("喷涂设备利用率", "日报"); - Response.Write(JSONTools.ScriptSerialize(md)); - Response.End(); - } - void getPainting2_3() - { - FiveScreenModel md = FiveScreenFunction.getFiveScreenModel("运行滑撬数", "月报"); - Response.Write(JSONTools.ScriptSerialize(md)); - Response.End(); - } - void getPainting2_4() - { - FiveScreenModel md = FiveScreenFunction.getFiveScreenModel("运行滑撬数", "日报"); - Response.Write(JSONTools.ScriptSerialize(md)); - Response.End(); - } - void getPainting3_1() - { - FiveScreenModel md = FiveScreenFunction.getFiveScreenModel("喷涂入库套数", "月报"); - Response.Write(JSONTools.ScriptSerialize(md)); - Response.End(); - } - void getPainting3_2() - { - FiveScreenModel md = FiveScreenFunction.getFiveScreenModel("喷涂入库套数", "日报"); - Response.Write(JSONTools.ScriptSerialize(md)); - Response.End(); - } - void getPainting3_3() - { - FiveScreenModel md = FiveScreenFunction.getFiveScreenModel("发货数", "月报"); - Response.Write(JSONTools.ScriptSerialize(md)); - Response.End(); - } - void getPainting3_4() - { - FiveScreenModel md = FiveScreenFunction.getFiveScreenModel("发货数", "日报"); - Response.Write(JSONTools.ScriptSerialize(md)); - Response.End(); - } - void getInjection1_1() - { - FiveScreenModel md = FiveScreenFunction.getFiveScreenModel("注塑合格率", "月报"); - Response.Write(JSONTools.ScriptSerialize(md)); - Response.End(); - } - - void getInjection1_2() - { - FiveScreenModel md = FiveScreenFunction.getFiveScreenModel("注塑合格率", "日报"); - Response.Write(JSONTools.ScriptSerialize(md)); - Response.End(); - } - - void getInjection1_3() - { - FiveScreenModel md = FiveScreenFunction.getFiveScreenModel("注塑设备利用率", "月报"); - Response.Write(JSONTools.ScriptSerialize(md)); - Response.End(); - } - void getInjection1_4() - { - FiveScreenModel md = FiveScreenFunction.getFiveScreenModel("注塑设备利用率", "日报"); - Response.Write(JSONTools.ScriptSerialize(md)); - Response.End(); - } - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Handler/Function.cs b/喷涂上线/Code/PaintingScreen/Handler/Function.cs deleted file mode 100644 index 70e246b..0000000 --- a/喷涂上线/Code/PaintingScreen/Handler/Function.cs +++ /dev/null @@ -1,856 +0,0 @@ -using DBUtility; -using PaintingScreen.Model; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Web; - -namespace PaintingScreen.Handler -{ - public class Function - { - #region 喷涂下线合格率看板--滚动版 - public static string GetTable1() - { - string tableStr = ""; - try - { - tableStr += ""; - - DataTable dt = GetOnePassTable(); - if (dt != null && dt.Rows.Count > 0) - { - for (int i = 0; i < dt.Rows.Count; i++) - { - tableStr += ""; - for (int j = 0; j < dt.Columns.Count; j++) - { - tableStr += ""; - } - tableStr += ""; - } - tableStr += ""; - } - - tableStr += "
" + dt.Rows[i][j].ToString() + "
"; - - return tableStr; - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return tableStr; - } - } - - public static DataTable GetOnePassTable() - { - DataTable res = new DataTable(); - try - { - string sql = @" - - -- 一次合格数 - SELECT COUNT(DISTINCT barcode) num, productInfo - INTO #a - FROM [BBMPT].[dbo].[tb_InspectResult] - WHERE InspectTimes = '1' AND " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ',' - GROUP BY productInfo - ORDER BY productInfo DESC - - -- 总合格数 - SELECT COUNT(DISTINCT barcode) num, productInfo - INTO #b - FROM [BBMPT].[dbo].[tb_InspectResult] - WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ',' - GROUP BY productInfo - ORDER BY productInfo DESC - - --总下线数 - SELECT COUNT(DISTINCT barcode) num, productInfo - INTO #c - FROM [BBMPT].[dbo].[tb_InspectResult] - WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult in ('[合格]','[抛光]','报废') AND SUBSTRING(productInfo,1,1) != ',' - GROUP BY productInfo - ORDER BY productInfo DESC - - --合并临时表 - SELECT REPLACE(SUBSTRING(c.productInfo,1,charindex(',',c.productInfo)),',','') as [color] - ,REPLACE(RIGHT(c.productInfo,charindex(',',REVERSE(c.productInfo))),',','') as [productInfo] - ,ISNULL(c.num,0) sumNum, ISNULL(a.num,0) oncePassNum - ,CONVERT(VARCHAR(20),ROUND(100*(ISNULL(a.num,0)/CONVERT(float,ISNULL(c.num,0))),2))+'%' oncePassRate - ,ISNULL(b.num,0) sumPassNum - ,CONVERT(VARCHAR(20),ROUND(100*(ISNULL(b.num,0)/CONVERT(float,ISNULL(c.num,0))),2))+'%' sumPassRate - FROM #c c - LEFT JOIN #a a - ON c.productInfo = a.productInfo - LEFT JOIN #b b - ON c.productInfo = b.productInfo - ORDER BY color,productInfo - - DROP TABLE #a; - DROP TABLE #b; - DROP TABLE #c; - "; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - return res; - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - public static string GetTableSum() - { - string res = ""; - try - { - #region 2019-08-06 注销:客户要求改变总合格率算法,使用总数-报废数,而不是实时合格数计算 -// string sql = @" -// -- 一次合格数 -// SELECT COUNT(DISTINCT barcode) num, productInfo -// INTO #a -// FROM [BBMPT].[dbo].[tb_InspectResult] -// WHERE InspectTimes = '1' AND " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ',' -// GROUP BY productInfo -// ORDER BY productInfo DESC -// -// -- 总合格数 -// SELECT COUNT(DISTINCT barcode) num, productInfo -// INTO #b -// FROM [BBMPT].[dbo].[tb_InspectResult] -// WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ',' -// GROUP BY productInfo -// ORDER BY productInfo DESC -// -// --总下线数 -// SELECT COUNT(DISTINCT barcode) num, productInfo -// INTO #c -// FROM [BBMPT].[dbo].[tb_InspectResult] -// WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult in ('[合格]','[抛光]','报废') AND SUBSTRING(productInfo,1,1) != ',' -// GROUP BY productInfo -// ORDER BY productInfo DESC -// -// --合并临时表 -// SELECT SUM(ISNULL(c.num,0)) sumNum, SUM(ISNULL(a.num,0)) oncePassNum -// ,CONVERT(VARCHAR(20),ROUND(100*(SUM(ISNULL(a.num,0))/CONVERT(float,SUM(ISNULL(c.num,0)))),2))+'%' oncePassRate -// ,SUM(ISNULL(b.num,0)) sumPassNum -// ,CONVERT(VARCHAR(20),ROUND(100*(SUM(ISNULL(b.num,0))/CONVERT(float,SUM(ISNULL(c.num,0)))),2))+'%' sumPassRate -// FROM #c c -// LEFT JOIN #a a -// ON c.productInfo = a.productInfo -// LEFT JOIN #b b -// ON c.productInfo = b.productInfo -// -// DROP TABLE #a; -// DROP TABLE #b; -// DROP TABLE #c; -// "; - #endregion - - string sql = @" - -- 一次合格数 - SELECT COUNT(DISTINCT barcode) num, productInfo - INTO #a - FROM [BBMPT].[dbo].[tb_InspectResult] - WHERE InspectTimes = '1' AND " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ',' - GROUP BY productInfo - ORDER BY productInfo DESC - - -- 总合格数 - SELECT COUNT(DISTINCT barcode) num, productInfo - INTO #b - FROM [BBMPT].[dbo].[tb_InspectResult] - WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ',' - GROUP BY productInfo - ORDER BY productInfo DESC - - -- 报废+点修补数 - SELECT SUM(num) abtNum, productInfo INTO #d FROM - ( - SELECT num, productInfo FROM - (SELECT COUNT(DISTINCT barcode) num, productInfo - FROM [BBMPT].[dbo].[tb_InspectResult] - WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[报废]' - AND SUBSTRING(productInfo,1,1) != ',' - GROUP BY productInfo) a - UNION - SELECT * FROM (SELECT COUNT(DISTINCT barcode) num, productInfo - FROM [BBMPT].[dbo].[tb_InspectResult] - WHERE " + GetQueryTime() + @" AND productInfo != '' - AND stationNo = 'S10' AND inspectResult <> '[合格]' - AND SUBSTRING(productInfo,1,1) != ',' - GROUP BY productInfo) b - ) aa - GROUP BY productInfo - - --总下线数 - SELECT COUNT(DISTINCT barcode) num, productInfo - INTO #c - FROM [BBMPT].[dbo].[tb_InspectResult] - WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult in ('[合格]','[抛光]','报废') AND SUBSTRING(productInfo,1,1) != ',' - GROUP BY productInfo - ORDER BY productInfo DESC - - --合并临时表(总合格数=总下线数-总报废数 计算比率) - SELECT SUM(ISNULL(c.num,0)) sumNum, SUM(ISNULL(a.num,0)) oncePassNum, SUM(ISNULL(d.abtNum,0)) abtNum,SUM(ISNULL(b.num,0)) sumPassNum - ,CONVERT(VARCHAR(20),ROUND(100*(SUM(ISNULL(a.num,0))/CONVERT(float,SUM(ISNULL(c.num,0)))),2))+'%' oncePassRate - ,CONVERT(VARCHAR(20),ROUND(100*((SUM(ISNULL(c.num,0))-SUM(ISNULL(d.abtNum,0)))/CONVERT(float,SUM(ISNULL(c.num,0)))),2))+'%' sumPassRate - FROM #c c - LEFT JOIN #a a - ON c.productInfo = a.productInfo - LEFT JOIN #b b - ON c.productInfo = b.productInfo - LEFT JOIN #d d - ON c.productInfo = d.productInfo - - DROP TABLE #a; - DROP TABLE #b; - DROP TABLE #c; - DROP TABLE #d; - "; - - DataTable dt = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (dt != null && dt.Rows.Count > 0) - { - res += @"
总数" + dt.Rows[0]["sumNum"] + - @"" + dt.Rows[0]["oncePassNum"] + "" + dt.Rows[0]["oncePassRate"] + - @"" + dt.Rows[0]["sumPassNum"] + @"" + dt.Rows[0]["sumPassRate"] + @"
"; - } - - return res; - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - /// - /// 获取班次,规定早8至晚8为A班 - /// - /// - public static string GetQueryTime() - { - bool classA = IsBetweenTime(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), "2019-06-12 08:00:00", "2019-06-12 20:00:00"); - if (classA) - { - //A班为当日8点至20点 - return "createTime >= '" + DateTime.Now.ToShortDateString() + " 08:00:00' AND createTime <= '" + DateTime.Now.ToShortDateString() + " 20:00:00'"; - } - else - { - //B班为当日20点至次日8点 - - if (IsBetweenTime(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), "2019-06-12 20:00:00", "2019-06-12 23:59:59")) - { - return "createTime >= '" + DateTime.Now.ToShortDateString() + " 20:00:00' AND createTime <= '" + DateTime.Now.AddDays(1).ToShortDateString() + " 08:00:00'"; - } - else - { - return "createTime >= '" + DateTime.Now.AddDays(-1).ToShortDateString() + " 20:00:00' AND createTime <= '" + DateTime.Now.ToShortDateString() + " 08:00:00'"; - } - } - } - - /// - /// 判断传入时间是否在工作时间段内 - /// - /// - /// - /// - /// - public static bool IsBetweenTime(string timeStr, string startTime, string endTime) - { - //判断传入时间是否在工作时间段内 - try - { - TimeSpan startSpan = DateTime.Parse(startTime).TimeOfDay; - TimeSpan endSpan = DateTime.Parse(endTime).TimeOfDay; - - DateTime t1 = Convert.ToDateTime(timeStr); - TimeSpan dspNow = t1.TimeOfDay; - if (dspNow > startSpan && dspNow < endSpan) - { - return true; - } - return false; - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - return false; - } - } - #endregion - - #region 喷涂下线合格率看板--分页版 - - public static string CreateTable() - { - try - { - string sql = @" - USE BBMPT; - - IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[tb_ReportPaintingScreen]') AND type in (N'U')) - drop table tb_ReportPaintingScreen; - - -- 一次合格数 - SELECT COUNT(DISTINCT barcode) num, productInfo - INTO #a - FROM [BBMPT].[dbo].[tb_InspectResult] - WHERE InspectTimes = '1' AND " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ',' - GROUP BY productInfo - ORDER BY productInfo DESC; - - -- 总合格数 - SELECT COUNT(DISTINCT barcode) num, productInfo - INTO #b - FROM [BBMPT].[dbo].[tb_InspectResult] - WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ',' - GROUP BY productInfo - ORDER BY productInfo DESC; - - --总下线数 - SELECT COUNT(DISTINCT barcode) num, productInfo - INTO #c - FROM [BBMPT].[dbo].[tb_InspectResult] - WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult in ('[合格]','[抛光]','[报废]') AND SUBSTRING(productInfo,1,1) != ',' - GROUP BY productInfo - ORDER BY productInfo DESC; - - --合并临时表 - SELECT REPLACE(SUBSTRING(c.productInfo,1,charindex(',',c.productInfo)),',','') as [color] - ,REPLACE(RIGHT(c.productInfo,charindex(',',REVERSE(c.productInfo))),',','') as [productInfo] - ,ISNULL(c.num,0) sumNum, ISNULL(a.num,0) oncePassNum - ,CONVERT(VARCHAR(20),ROUND(100*(ISNULL(a.num,0)/CONVERT(float,ISNULL(c.num,0))),2))+'%' oncePassRate - ,ISNULL(b.num,0) sumPassNum - ,CONVERT(VARCHAR(20),ROUND(100*(ISNULL(b.num,0)/CONVERT(float,ISNULL(c.num,0))),2))+'%' sumPassRate - into tb_ReportPaintingScreen - FROM #c c - LEFT JOIN #a a - ON c.productInfo = a.productInfo - LEFT JOIN #b b - ON c.productInfo = b.productInfo - ORDER BY color,productInfo; - - DROP TABLE #a; - DROP TABLE #b; - DROP TABLE #c; - "; - int res = SqlHelper.ExecuteNonQuery(SqlHelper.SqlConnString, CommandType.Text, sql, null); - return "1"; - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase("喷涂下线合格率看板-生成数据失败:"+ ex.ToString(), MethodBase.GetCurrentMethod().Name); - return "0"; - } - } - - public static string CreateMiddleTable() - { - string tableStr = ""; - try - { - tableStr += ""; - for (int i = 0; i < 9; i++) - { - tableStr += ""; - for (int j = 0; j < 7; j++) - { - tableStr += ""; - } - tableStr += ""; - } - tableStr += "
"; - return tableStr; - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase("喷涂下线合格率看板-生成MiddleTable失败:" + ex.ToString(), MethodBase.GetCurrentMethod().Name); - return tableStr; - } - } - - public static string GetMiddleTableData(string page) - { - string res = ""; - try - { - string sql = @" - select * from tb_ReportPaintingScreen - "; - DataTable dt = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (Convert.ToInt32(page) * 9 >= dt.Rows.Count) - { - //查询第一页 - page = "0"; - } - else - { - //查询下一页(page+1页) - page = (Convert.ToInt32(page) + 1).ToString(); - } - string queryStr = @" - declare @pageIndex int; - declare @pageSize int; - set @pageIndex = "+ page +@"; - set @pageSize = 9; - select * from - ( - SELECT [color] - ,[productInfo] - ,[sumNum] - ,[oncePassNum] - ,[oncePassRate] - ,[sumPassNum] - ,[sumPassRate] - ,ROW_NUMBER() OVER(ORDER BY color,productInfo) xh - FROM [tb_ReportPaintingScreen] - ) t - WHERE t.xh between @pageSize*(@pageIndex - 1)+1 and @pageSize*@pageIndex - "; - DataTable dt_page = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, queryStr, null); - if (dt_page != null && dt_page.Rows.Count > 0) - { - res += ""; - for (int i = 0; i < dt_page.Rows.Count; i++) - { - res += ""; - for (int j = 0; j < 7; j++) - { - res += ""; - } - res += ""; - } - res += "
" + dt_page.Rows[i][j].ToString() + @"
"; - res += ","+ page; - } - return res; - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase("喷涂下线合格率看板-查询中间分页数据失败:" + ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - #endregion - - #region 抛光TOP5看板 - - public static string CreateTablePaoGuang() - { - try - { - string sql = @" - - USE BBMPT; - - IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[tb_ReportPaintingScreen_pg]') AND type in (N'U')) - drop table tb_ReportPaintingScreen_pg; - - --------------------------------------------------------------------------- - - -- 总合格数 - SELECT COUNT(DISTINCT barcode) num, productInfo - INTO #a - FROM [tb_InspectResult] - WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ',' - GROUP BY productInfo - ORDER BY productInfo DESC; - - --总下线数 - SELECT COUNT(DISTINCT barcode) num, productInfo - INTO #b - FROM [tb_InspectResult] - WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult in ('[合格]','[抛光]','[报废]') AND SUBSTRING(productInfo,1,1) != ',' - GROUP BY productInfo - ORDER BY productInfo DESC; - - SELECT b.productInfo, ISNULL(b.num,0) AS sumNum, ISNULL(a.num,0) AS hgNum - INTO #sum - FROM #b b - LEFT JOIN #a a - ON b.productInfo = a.productInfo; - - --------------------------------------------------------------------------------------- - - --缺陷分类统计数 - SELECT [barcode] - ,[reason] - ,[productInfo] - INTO #result - FROM [tb_InspectResult] - WHERE " + GetQueryTime() + @" - AND inspectResult = '[抛光]' AND reason <> '' AND reason IS NOT NULL; - - SELECT DISTINCT DefectName - INTO #DefectName - FROM [tb_Defect]; - - SELECT c.productInfo,COUNT(DISTINCT c.barcode) defectNum, d.DefectName - INTO #Defect - FROM #result c - LEFT JOIN #DefectName d - ON c.reason like '%'+d.DefectName+'%' - GROUP BY c.productInfo, d.DefectName; - - ----------------------------------------------------------------------- - - --缺陷率top5 - SELECT tmp.productInfo, defectRate, tmp.DefectName,tmp.sumNum,tmp.hgNum - INTO #FinalResult - FROM - ( - SELECT ISNULL(CONVERT(DECIMAL(10,2),(defect.defectNum/CONVERT(FLOAT, [sum].sumNum))*100),0) defectRate, [sum].productInfo, defect.DefectName,[sum].sumNum,[sum].hgNum - FROM #sum [sum] - LEFT JOIN #Defect defect - ON [sum].productInfo = defect.productInfo - WHERE defect.DefectName IS NOT NULL - ) tmp - GROUP BY tmp.productInfo, tmp.defectRate, tmp.DefectName,tmp.sumNum,tmp.hgNum - ORDER BY tmp.productInfo, tmp.defectRate, tmp.DefectName DESC; - - SELECT a.productInfo, a.sumNum, a.hgNum,a.DefectName DefectName1,a.defectRate defectRate1,b.DefectName DefectName2,b.defectRate defectRate2,c.DefectName DefectName3,c.defectRate defectRate3,d.DefectName DefectName4,d.defectRate defectRate4,e.DefectName DefectName5,e.defectRate defectRate5 - INTO #ResultTemp - FROM #FinalResult a - LEFT JOIN #FinalResult b - ON a.productInfo = b.productInfo AND a.DefectName <> b.DefectName - LEFT JOIN #FinalResult c - ON a.productInfo = c.productInfo AND a.DefectName <> c.DefectName AND b.DefectName <> c.DefectName - LEFT JOIN #FinalResult d - ON a.productInfo = d.productInfo AND a.DefectName <> d.DefectName AND b.DefectName <> d.DefectName AND c.DefectName <> d.DefectName - LEFT JOIN #FinalResult e - ON a.productInfo = e.productInfo AND a.DefectName <> e.DefectName AND b.DefectName <> e.DefectName AND c.DefectName <> e.DefectName AND d.DefectName <> e.DefectName; - - SELECT *, ROW_NUMBER() OVER(PARTITION BY a.productInfo ORDER BY a.defectRate1,a.defectRate2,a.defectRate3,a.defectRate4,a.defectRate5 DESC) rowid - INTO #ResultTemp2 - FROM #ResultTemp a; - - SELECT REPLACE(SUBSTRING(a.productInfo,1,charindex(',',a.productInfo)),',','') as [color] - ,REPLACE(RIGHT(a.productInfo,charindex(',',REVERSE(a.productInfo))),',','') as [productInfo] - , a.sumNum, a.hgNum, a.DefectName1, a.defectRate1, a.DefectName2, a.defectRate2, a.DefectName3, a.defectRate3, a.DefectName4, a.defectRate4, a.DefectName5, a.defectRate5 - INTO tb_ReportPaintingScreen_pg - FROM #ResultTemp2 a - JOIN ( SELECT MAX(rowid) rowid,productInfo FROM #ResultTemp2 GROUP BY productInfo ) b - on a.productInfo = b.productInfo AND a.rowid = b.rowid - ORDER BY a.productInfo; - - DROP TABLE #a; - DROP TABLE #b; - DROP TABLE #sum; - DROP TABLE #result; - DROP TABLE #DefectName; - DROP TABLE #Defect; - DROP TABLE #FinalResult; - DROP TABLE #ResultTemp; - DROP TABLE #ResultTemp2; - "; - int res = SqlHelper.ExecuteNonQuery(SqlHelper.SqlConnString, CommandType.Text, sql, null); - return "1"; - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase("抛光TOP5看板-生成数据失败:" + ex.ToString(), MethodBase.GetCurrentMethod().Name); - return "0"; - } - } - - public static string GetTableSumPaoGuang() - { - string res = ""; - try - { - #region 2019-08-06 注销:客户要求改变总合格率算法,使用总数-报废数,而不是实时合格数计算 - // string sql = @" - // -- 一次合格数 - // SELECT COUNT(DISTINCT barcode) num, productInfo - // INTO #a - // FROM [BBMPT].[dbo].[tb_InspectResult] - // WHERE InspectTimes = '1' AND " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ',' - // GROUP BY productInfo - // ORDER BY productInfo DESC - // - // -- 总合格数 - // SELECT COUNT(DISTINCT barcode) num, productInfo - // INTO #b - // FROM [BBMPT].[dbo].[tb_InspectResult] - // WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ',' - // GROUP BY productInfo - // ORDER BY productInfo DESC - // - // --总下线数 - // SELECT COUNT(DISTINCT barcode) num, productInfo - // INTO #c - // FROM [BBMPT].[dbo].[tb_InspectResult] - // WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult in ('[合格]','[抛光]','报废') AND SUBSTRING(productInfo,1,1) != ',' - // GROUP BY productInfo - // ORDER BY productInfo DESC - // - // --合并临时表 - // SELECT SUM(ISNULL(c.num,0)) sumNum, SUM(ISNULL(a.num,0)) oncePassNum - // ,CONVERT(VARCHAR(20),ROUND(100*(SUM(ISNULL(a.num,0))/CONVERT(float,SUM(ISNULL(c.num,0)))),2))+'%' oncePassRate - // ,SUM(ISNULL(b.num,0)) sumPassNum - // ,CONVERT(VARCHAR(20),ROUND(100*(SUM(ISNULL(b.num,0))/CONVERT(float,SUM(ISNULL(c.num,0)))),2))+'%' sumPassRate - // FROM #c c - // LEFT JOIN #a a - // ON c.productInfo = a.productInfo - // LEFT JOIN #b b - // ON c.productInfo = b.productInfo - // - // DROP TABLE #a; - // DROP TABLE #b; - // DROP TABLE #c; - // "; - #endregion - - - string sql = @" - -- 一次合格数 - SELECT COUNT(DISTINCT barcode) num, productInfo - INTO #a - FROM [BBMPT].[dbo].[tb_InspectResult] - WHERE InspectTimes = '1' AND " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ',' - GROUP BY productInfo - ORDER BY productInfo DESC - - -- 总合格数 - SELECT COUNT(DISTINCT barcode) num, productInfo - INTO #b - FROM [BBMPT].[dbo].[tb_InspectResult] - WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[合格]' AND SUBSTRING(productInfo,1,1) != ',' - GROUP BY productInfo - ORDER BY productInfo DESC - - -- 报废+点修补数 - SELECT SUM(num) abtNum, productInfo INTO #d FROM - ( - SELECT num, productInfo FROM - (SELECT COUNT(DISTINCT barcode) num, productInfo - FROM [BBMPT].[dbo].[tb_InspectResult] - WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult = '[报废]' - AND SUBSTRING(productInfo,1,1) != ',' - GROUP BY productInfo) a - UNION - SELECT * FROM (SELECT COUNT(DISTINCT barcode) num, productInfo - FROM [BBMPT].[dbo].[tb_InspectResult] - WHERE " + GetQueryTime() + @" AND productInfo != '' - AND stationNo = 'S10' AND inspectResult <> '[合格]' - AND SUBSTRING(productInfo,1,1) != ',' - GROUP BY productInfo) b - ) aa - GROUP BY productInfo - - --总下线数 - SELECT COUNT(DISTINCT barcode) num, productInfo - INTO #c - FROM [BBMPT].[dbo].[tb_InspectResult] - WHERE " + GetQueryTime() + @" AND productInfo != '' AND inspectResult in ('[合格]','[抛光]','报废') AND SUBSTRING(productInfo,1,1) != ',' - GROUP BY productInfo - ORDER BY productInfo DESC - - --合并临时表(总合格数=总下线数-总报废数 计算比率) - SELECT SUM(ISNULL(c.num,0)) sumNum, SUM(ISNULL(a.num,0)) oncePassNum, SUM(ISNULL(d.abtNum,0)) abtNum,SUM(ISNULL(b.num,0)) sumPassNum - ,CONVERT(VARCHAR(20),ROUND(100*(SUM(ISNULL(a.num,0))/CONVERT(float,SUM(ISNULL(c.num,0)))),2))+'%' oncePassRate - ,CONVERT(VARCHAR(20),ROUND(100*((SUM(ISNULL(c.num,0))-SUM(ISNULL(d.abtNum,0)))/CONVERT(float,SUM(ISNULL(c.num,0)))),2))+'%' sumPassRate - FROM #c c - LEFT JOIN #a a - ON c.productInfo = a.productInfo - LEFT JOIN #b b - ON c.productInfo = b.productInfo - LEFT JOIN #d d - ON c.productInfo = d.productInfo - - DROP TABLE #a; - DROP TABLE #b; - DROP TABLE #c; - DROP TABLE #d; - "; - - DataTable dt = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (dt != null && dt.Rows.Count > 0) - { - res += dt.Rows[0]["sumNum"] + "," - + dt.Rows[0]["oncePassNum"] + "," + dt.Rows[0]["oncePassRate"] + - "," + dt.Rows[0]["sumPassNum"] + "," + dt.Rows[0]["sumPassRate"]; - } - return res; - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase("抛光TOP5看板-生成数据失败:" + ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - public static string GetMiddleTablePaoGuang(string page) - { - string res = ""; - try - { - string sql = @" - select * from tb_ReportPaintingScreen_pg - "; - DataTable dt = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (Convert.ToInt32(page) * 4 >= dt.Rows.Count) - { - //查询第一页 - page = "0"; - } - else - { - //查询下一页(page+1页) - page = (Convert.ToInt32(page) + 1).ToString(); - } - string queryStr = @" - declare @pageIndex int; - declare @pageSize int; - set @pageIndex = " + page + @"; - set @pageSize = 4; - select * from - ( - SELECT [color] - ,[productInfo] - ,[sumNum] - ,[hgNum] - ,[DefectName1] - ,[defectRate1] - ,[DefectName2] - ,[defectRate2] - ,[DefectName3] - ,[defectRate3] - ,[DefectName4] - ,[defectRate4] - ,[DefectName5] - ,[defectRate5] - ,ROW_NUMBER() OVER(ORDER BY color,productInfo) xh - FROM [tb_ReportPaintingScreen_pg] - ) t - WHERE t.xh between @pageSize*(@pageIndex - 1)+1 and @pageSize*@pageIndex - "; - DataTable dt_page = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, queryStr, null); - if (dt_page != null && dt_page.Rows.Count > 0) - { - res += ""; - for (int i = 0; i < dt_page.Rows.Count; i++) - { - res += @" - - - - - - - - - - - - - - - - - - - "; - } - res += "
" + dt_page.Rows[i]["color"].ToString() + @"" + dt_page.Rows[i]["productInfo"].ToString() + @"" + dt_page.Rows[i]["sumNum"].ToString() + @"" + dt_page.Rows[i]["hgNum"].ToString() + @"" + dt_page.Rows[i]["DefectName1"].ToString() + @"" + dt_page.Rows[i]["DefectName2"].ToString() + @"" + dt_page.Rows[i]["DefectName3"].ToString() + @"" + dt_page.Rows[i]["DefectName4"].ToString() + @"" + dt_page.Rows[i]["DefectName5"].ToString() + @"
" + AddPercent(dt_page.Rows[i]["defectRate1"]) + @"" + AddPercent(dt_page.Rows[i]["defectRate2"]) + @"" + AddPercent(dt_page.Rows[i]["defectRate3"]) + @"" + AddPercent(dt_page.Rows[i]["defectRate4"]) + @"" + AddPercent(dt_page.Rows[i]["defectRate5"]) + @"
"; - res += "," + page; - } - return res; - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase("抛光TOP5看板-查询中间table数据失败:" + ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - private static string AddPercent(object num) - { - if (num != null) - { - string tmp = num.ToString(); - if (!string.IsNullOrWhiteSpace(tmp)) - { - return tmp + "%"; - } - else - { - return ""; - } - } - else - { - return ""; - } - } - - public static string GetSumDefectPercent() - { - string res = ""; - try - { - string sql = @" - --缺陷分类统计数 - SELECT [barcode] - ,[reason] - ,[productInfo] - INTO #result - FROM [tb_InspectResult] - WHERE " + GetQueryTime() + @" - AND inspectResult = '[抛光]' AND reason <> '' AND reason IS NOT NULL; - - SELECT DISTINCT DefectName - INTO #DefectName - FROM [tb_Defect]; - - SELECT c.productInfo,COUNT(DISTINCT c.barcode) defectNum, d.DefectName - INTO #Defect - FROM #result c - LEFT JOIN #DefectName d - ON c.reason like '%'+d.DefectName+'%' - GROUP BY c.productInfo, d.DefectName; - - - SELECT TOP 5 DefectName, CONVERT(DECIMAL(10,2),SUM(defectNum)/CONVERT(FLOAT,(SELECT SUM(defectNum) FROM #Defect))*100) defectRate - FROM #Defect - GROUP BY DefectName - ORDER BY defectRate DESC; - - DROP TABLE #result; - DROP TABLE #DefectName; - DROP TABLE #Defect; - "; - DataTable dt = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - if (dt != null && dt.Rows.Count > 0) - { - for (int i = 0; i < dt.Rows.Count; i++) - { - res += dt.Rows[i]["DefectName"].ToString() + "," + AddPercent(dt.Rows[i]["defectRate"]) + ","; - } - } - return res; - } - catch (Exception ex) - { - LogHelper.WriteErrLogBase("抛光TOP5看板-查询总数缺陷率数据失败:" + ex.ToString(), MethodBase.GetCurrentMethod().Name); - return res; - } - } - - #endregion - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Handler/Handler.ashx b/喷涂上线/Code/PaintingScreen/Handler/Handler.ashx deleted file mode 100644 index 13adf1b..0000000 --- a/喷涂上线/Code/PaintingScreen/Handler/Handler.ashx +++ /dev/null @@ -1,131 +0,0 @@ -<%@ WebHandler Language="C#" Class="Handler" %> - -using System; -using System.Web; -using System.Collections.Generic; - -public class Handler : IHttpHandler { - - HttpRequest Request = null; - HttpResponse Response = null; - - public void ProcessRequest(HttpContext context) - { - context.Response.ContentType = "text/plain"; - Request = context.Request; - Response = context.Response; - - string method = Request.Params["method"]; - switch (method) - { - - case "GetTable1": - GetTable1(); - break; - case "GetTableSum": - GetTableSum(); - break; - case "CreateTable": - CreateTable(); - break; - case "CreateMiddleTable": - CreateMiddleTable(); - break; - case "GetMiddleTableData": - string page = Request.Params["page"]; - GetMiddleTableData(page); - break; - case "CreateTablePaoGuang": - CreateTablePaoGuang(); - break; - case "GetTableSumPaoGuang": - GetTableSumPaoGuang(); - break; - case "GetMiddleTablePaoGuang": - string pagePG = Request.Params["page"]; - GetMiddleTablePaoGuang(pagePG); - break; - case "GetSumRateTable": - GetSumRateTable(); - break; - default: - break; - } - } - - public bool IsReusable - { - get - { - return false; - } - } - - #region 喷涂下线合格率看板--滚动版 - - void GetTable1() - { - Response.Write(PaintingScreen.Handler.Function.GetTable1()); - Response.End(); - } - - void GetTableSum() - { - Response.Write(PaintingScreen.Handler.Function.GetTableSum()); - Response.End(); - } - - #endregion - - #region 喷涂下线合格率看板--分页版 - - void CreateTable() - { - Response.Write(PaintingScreen.Handler.Function.CreateTable()); - Response.End(); - } - - void CreateMiddleTable() - { - Response.Write(PaintingScreen.Handler.Function.CreateMiddleTable()); - Response.End(); - } - - void GetMiddleTableData(string page) - { - string res = PaintingScreen.Handler.Function.GetMiddleTableData(page); - Response.Write(res); - Response.End(); - } - - #endregion - - #region 抛光TOP5看板 - - void CreateTablePaoGuang() - { - Response.Write(PaintingScreen.Handler.Function.CreateTablePaoGuang()); - Response.End(); - } - - void GetTableSumPaoGuang() - { - Response.Write(PaintingScreen.Handler.Function.GetTableSumPaoGuang()); - Response.End(); - } - - void GetMiddleTablePaoGuang(string page) - { - Response.Write(PaintingScreen.Handler.Function.GetMiddleTablePaoGuang(page)); - Response.End(); - } - - void GetSumRateTable() - { - Response.Write(PaintingScreen.Handler.Function.GetSumDefectPercent()); - Response.End(); - } - - #endregion - -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Handler/Handler1.ashx b/喷涂上线/Code/PaintingScreen/Handler/Handler1.ashx deleted file mode 100644 index 302b040..0000000 --- a/喷涂上线/Code/PaintingScreen/Handler/Handler1.ashx +++ /dev/null @@ -1 +0,0 @@ -<%@ WebHandler Language="C#" CodeBehind="Handler1.ashx.cs" Class="PaintingScreen.Handler.Handler1" %> diff --git a/喷涂上线/Code/PaintingScreen/Handler/Handler1.ashx.cs b/喷涂上线/Code/PaintingScreen/Handler/Handler1.ashx.cs deleted file mode 100644 index 999b3e8..0000000 --- a/喷涂上线/Code/PaintingScreen/Handler/Handler1.ashx.cs +++ /dev/null @@ -1,86 +0,0 @@ -using DBUtility; -using System; -using System.Data; -using System.Reflection; -using System.Web; -using Tools; - -namespace PaintingScreen.Handler -{ - /// - /// Handler1 的摘要说明 - /// - public class Handler1 : IHttpHandler - { - HttpRequest Request = null; - HttpResponse Response = null; - - public void ProcessRequest(HttpContext context) - { - context.Response.ContentType = "text/plain"; - Request = context.Request; - Response = context.Response; - string method = Request.Params["method"]; - switch (method) - { - case "GetTableContent": - GetTableContent(); - break; - } - } - - public bool IsReusable - { - get - { - return false; - } - } - - void GetTableContent() - { - string starttime = Request.Params["StartTime"]; - string endtime = Request.Params["EndTime"]; - Response.Write(JSONTools.DataTableToJson("result", GetTable(starttime, endtime))); - Response.End(); - } - - private static DataTable GetTable(string starttime, string endtime) - { - DataTable res = new DataTable(); - try - { - - string sql = @" - declare @starttime datetime; - declare @endtime datetime; - set @starttime = '" + starttime + @"'; - set @endtime = '" + endtime + @"'; - select substring(barcode,1, 10) stockNo - ,[ColorName] - into #a - from tb_PaintLoad - where CreateTime >= @starttime and CreateTime <= @endtime - - - - select b.productName col1, a.ColorName col2, count(0) col3 - from #a a - join tb_Product b - on a.stockNo = b.stockNo - group by b.productName, a.ColorName; - - drop table #a; - "; - - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Handler/JSONHelper.cs b/喷涂上线/Code/PaintingScreen/Handler/JSONHelper.cs deleted file mode 100644 index c65886e..0000000 --- a/喷涂上线/Code/PaintingScreen/Handler/JSONHelper.cs +++ /dev/null @@ -1,115 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Web.Script.Serialization; - -/// -/// JSONHelper 的摘要说明 -/// -public class JSONHelper -{ - /// - /// 对象转JSON - /// - /// 对象 - /// JSON格式的字符串 - public static string ObjectToJSON(object obj) - { - JavaScriptSerializer jss = new JavaScriptSerializer(); - try - { - return jss.Serialize(obj); - } - catch (Exception ex) - { - - throw new Exception("JSONHelper.ObjectToJSON(): " + ex.Message); - } - } - - /// - /// 数据表转键值对集合 - /// - /// 数据表 - /// 哈希表数组 - public static List> DataTableToList(DataTable dt) - { - List> list - = new List>(); - - foreach (DataRow dr in dt.Rows) - { - Dictionary dic = new Dictionary(); - foreach (DataColumn dc in dt.Columns) - { - dic.Add(dc.ColumnName, dr[dc.ColumnName]); - } - list.Add(dic); - } - return list; - } - - /// - /// 数据集转键值对数组字典 - /// - /// 数据集 - /// 键值对数组字典 - public static Dictionary>> DataSetToDic(DataSet ds) - { - Dictionary>> result = new Dictionary>>(); - - foreach (DataTable dt in ds.Tables) - result.Add(dt.TableName, DataTableToList(dt)); - - return result; - } - - /// - /// 数据表转JSON - /// - /// 数据表 - /// JSON字符串 - public static string DataTableToJSON(DataTable dt) - { - return ObjectToJSON(DataTableToList(dt)); - } - - /// - /// JSON文本转对象,泛型方法 - /// - /// 类型 - /// JSON文本 - /// 指定类型的对象 - public static T JSONToObject(string jsonText) - { - JavaScriptSerializer jss = new JavaScriptSerializer(); - try - { - return jss.Deserialize(jsonText); - } - catch (Exception ex) - { - throw new Exception("JSONHelper.JSONToObject(): " + ex.Message); - } - } - - /// - /// 将JSON文本转换为数据表数据 - /// - /// JSON文本 - /// 数据表字典 - public static Dictionary>> TablesDataFromJSON(string jsonText) - { - return JSONToObject>>>(jsonText); - } - - /// - /// 将JSON文本转换成数据行 - /// - /// JSON文本 - /// 数据行的字典 - public static Dictionary DataRowFromJSON(string jsonText) - { - return JSONToObject>(jsonText); - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Handler/LogHelper.cs b/喷涂上线/Code/PaintingScreen/Handler/LogHelper.cs deleted file mode 100644 index e4d4ff7..0000000 --- a/喷涂上线/Code/PaintingScreen/Handler/LogHelper.cs +++ /dev/null @@ -1,133 +0,0 @@ -using DBUtility; -using System; -using System.Data; -using System.IO; -using System.Text; - -/// -/// LogHelper 的摘要说明 -/// -public class LogHelper -{ - private static string CodeVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString().Trim(); - - // - //保存日志的文件夹 - // - private static string logPath = AppDomain.CurrentDomain.BaseDirectory + @"log\"; - - /// - /// 写日志 - /// - /// - /// - public static void WriteLog(string msg, string errorFile = "") - { - try - { - if (string.IsNullOrEmpty(msg)) - { - return; - } - else - { - msg = string.Format("程序版本号:{0},Time:{1},Message:{2}", CodeVersion, DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.ffff"), msg); - } - //如果不存在log文件夹 则创建 - if (!Directory.Exists(logPath)) - { - Directory.CreateDirectory(logPath); - } - - StreamWriter sw = File.AppendText(logPath + errorFile + DateTime.Now.ToString("yyyyMMdd") + ".Log"); - sw.WriteLine(msg); - sw.Close(); - } - catch (Exception ex) - { - - } - } - /// - /// 拼接错误日志 - /// - /// 异常类 - /// 异常类文件夹名,可为空 - public static void WriteLogManager(Exception ex, string errorFile = "") - { - StringBuilder str = new StringBuilder();//保存到文件中的日志信息 - str.AppendLine("****************************异常文本****************************"); - str.AppendLine("【程序版本号】:" + CodeVersion + " 【出现时间】:" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")); - if (ex != null) - { - str.AppendLine(string.Format("【异常类型】:{0}\r\n【异常信息】:{1}\r\n【异常方法】:{2}\r\n【堆栈调用】:{3}", ex.GetType().Name, ex.Message, ex.TargetSite, ex.StackTrace)); - } - else - { - str.AppendLine(string.Format("【未处理应用程序线程错误】:{0}", ex)); - } - str.AppendLine("****************************************************************"); - //保存日志 - WriteLog(str.ToString(), "Error" + errorFile); - } - - /// - /// 系统日志(写数据库) - /// - /// - /// - public static void WriteSysLogBase(string msg, string method) - { - try - { - if (msg.Contains("'")) - { - msg = msg.Replace("'", "''"); - } - string sql = @" INSERT INTO [dbo].[LogSys] - ([ID] - ,[SysContent] - ,[SysSource] - ,[CreateTime]) - VALUES - ((SELECT NEWID()) - ,'" + msg + @"' - ,'" + method + @"' - ,(SELECT GETDATE())) "; - SqlHelper.ExecuteNonQuery(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - //throw ex; - } - } - - /// - /// 错误日志(写数据库) - /// - /// - /// - public static void WriteErrLogBase(string msg, string method) - { - try - { - string sql = @" - INSERT INTO [dbo].[LogErr] - ([ID] - ,[ErrContent] - ,[ErrSource] - ,[ErrTime]) - VALUES - ((SELECT NEWID()) - ,'" + msg + @"' - ,'" + method + @"' - ,(SELECT GETDATE())) - "; - SqlHelper.ExecuteNonQuery(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - //throw ex; - } - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Handler/Plan247.ashx b/喷涂上线/Code/PaintingScreen/Handler/Plan247.ashx deleted file mode 100644 index 6a4b772..0000000 --- a/喷涂上线/Code/PaintingScreen/Handler/Plan247.ashx +++ /dev/null @@ -1 +0,0 @@ -<%@ WebHandler Language="C#" CodeBehind="Plan247.ashx.cs" Class="PaintingScreen.Handler.Plan247" %> diff --git a/喷涂上线/Code/PaintingScreen/Handler/Plan247.ashx.cs b/喷涂上线/Code/PaintingScreen/Handler/Plan247.ashx.cs deleted file mode 100644 index de6e3cf..0000000 --- a/喷涂上线/Code/PaintingScreen/Handler/Plan247.ashx.cs +++ /dev/null @@ -1,74 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Web; -using DBUtility; -using Tools; - -namespace PaintingScreen.Handler -{ - /// - /// Plan247 的摘要说明 - /// - public class Plan247 : IHttpHandler - { - HttpRequest Request = null; - HttpResponse Response = null; - - public void ProcessRequest(HttpContext context) - { - context.Response.ContentType = "text/plain"; - Request = context.Request; - Response = context.Response; - string method = Request.Params["method"]; - switch (method) - { - case "GetTableContent": - GetTableContent(); - break; - } - } - - public bool IsReusable - { - get - { - return false; - } - } - - void GetTableContent() - { - Response.Write(JSONTools.DataTableToJson("result", GetTable())); - Response.End(); - } - - private static DataTable GetTable() - { - DataTable res = new DataTable(); - try - { - string time = DateTime.Now.ToString("yyyyMMdd"); - string sql = @"SELECT dbo.tb_Plan_247.OrderNo, dbo.tb_Plan_247.Item, dbo.tb_Plan_247.PartNo, dbo.tb_Mistake_247.PartName2, - dbo.tb_Plan_247.OrderCount, dbo.tb_Plan_247.CompleteCount - FROM dbo.tb_Plan_247 LEFT OUTER JOIN - dbo.tb_Mistake_247 ON dbo.tb_Plan_247.PartNo = dbo.tb_Mistake_247.PartNo2 where OrderNo like '"+time+"%' and IsFinish=0 order by Item"; - - SqlParameter[] param=new SqlParameter[1]; - param[0] = new SqlParameter("@OrderNo", SqlDbType.VarChar); - param[0].Value = time; - - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql,null); - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Handler/StationPlanFunction.cs b/喷涂上线/Code/PaintingScreen/Handler/StationPlanFunction.cs deleted file mode 100644 index 7bf8c97..0000000 --- a/喷涂上线/Code/PaintingScreen/Handler/StationPlanFunction.cs +++ /dev/null @@ -1,63 +0,0 @@ -using DBUtility; -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Web; - -namespace PaintingScreen.Handler -{ - public class StationPlanFunction - { - public static DataTable GetTableContent() - { - DataTable res = new DataTable(); - try - { - string sql = @" - SELECT [StationID] - ,[StationNo] - INTO #station - FROM tb_Station - WHERE StationNo LIKE 'IM%' - ORDER BY StationNo - - - SELECT a.InjectionPlanID,a.StationID,b.StationNo,a.StockNo,a.PlanCount,a.BeginTime,a.EndTime,a.PartNo - INTO #temp - FROM tb_InjectionPlan a - RIGHT JOIN #station b - ON a.StationID = b.StationID - WHERE a.IsFinish IS NULL OR a.IsFinish = 0 - ORDER BY b.StationNo,a.BeginTime - - SELECT aa.StationNo,cc.ProductName,aa.PlanCount,aa.BeginTime,aa.EndTime - FROM #temp aa - - JOIN - ( - SELECT StationNo,MIN(BeginTime) BeginTime FROM #temp GROUP BY StationNo - ) bb - ON aa.StationNo = bb.StationNo AND aa.BeginTime = bb.BeginTime - LEFT JOIN - ( - SELECT StockNo,PartNo,ProductName FROM dbo.tb_Product - ) cc - ON aa.StockNo = cc.StockNo OR aa.PartNo = cc.PartNo - - - DROP TABLE #station; - DROP TABLE #temp; - "; - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Handler/StationPlanHandler.ashx b/喷涂上线/Code/PaintingScreen/Handler/StationPlanHandler.ashx deleted file mode 100644 index 765f565..0000000 --- a/喷涂上线/Code/PaintingScreen/Handler/StationPlanHandler.ashx +++ /dev/null @@ -1 +0,0 @@ -<%@ WebHandler Language="C#" CodeBehind="StationPlanHandler.ashx.cs" Class="PaintingScreen.Handler.StationPlanHandler" %> diff --git a/喷涂上线/Code/PaintingScreen/Handler/StationPlanHandler.ashx.cs b/喷涂上线/Code/PaintingScreen/Handler/StationPlanHandler.ashx.cs deleted file mode 100644 index 472d303..0000000 --- a/喷涂上线/Code/PaintingScreen/Handler/StationPlanHandler.ashx.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using Tools; - -namespace PaintingScreen.Handler -{ - /// - /// StationPlanHandler 的摘要说明 - /// - public class StationPlanHandler : IHttpHandler - { - - HttpRequest Request = null; - HttpResponse Response = null; - - public void ProcessRequest(HttpContext context) - { - context.Response.ContentType = "text/plain"; - Request = context.Request; - Response = context.Response; - string method = Request.Params["method"]; - switch (method) - { - case "GetTableContent": - GetTableContent(); - break; - } - } - - public bool IsReusable - { - get - { - return false; - } - } - - void GetTableContent() - { - Response.Write(JSONTools.DataTableToJson("result", StationPlanFunction.GetTableContent())); - Response.End(); - } - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Handler/Tools.dll b/喷涂上线/Code/PaintingScreen/Handler/Tools.dll deleted file mode 100644 index 684e01b..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Handler/Tools.dll and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Handler/ZPPlan.ashx b/喷涂上线/Code/PaintingScreen/Handler/ZPPlan.ashx deleted file mode 100644 index b4f8404..0000000 --- a/喷涂上线/Code/PaintingScreen/Handler/ZPPlan.ashx +++ /dev/null @@ -1 +0,0 @@ -<%@ WebHandler Language="C#" CodeBehind="ZPPlan.ashx.cs" Class="PaintingScreen.Handler.ZPPlan" %> diff --git a/喷涂上线/Code/PaintingScreen/Handler/ZPPlan.ashx.cs b/喷涂上线/Code/PaintingScreen/Handler/ZPPlan.ashx.cs deleted file mode 100644 index ba547d4..0000000 --- a/喷涂上线/Code/PaintingScreen/Handler/ZPPlan.ashx.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Reflection; -using System.Web; -using DBUtility; -using Tools; - -namespace PaintingScreen.Handler -{ - /// - /// ZPPlan 的摘要说明 - /// - public class ZPPlan : IHttpHandler - { - HttpRequest Request = null; - HttpResponse Response = null; - - public void ProcessRequest(HttpContext context) - { - context.Response.ContentType = "text/plain"; - Request = context.Request; - Response = context.Response; - string method = Request.Params["method"]; - switch (method) - { - case "GetTableContent": - GetTableContent(); - break; - } - } - - public bool IsReusable - { - get - { - return false; - } - } - - void GetTableContent() - { - Response.Write(JSONTools.DataTableToJson("result", GetTable())); - Response.End(); - } - - private static DataTable GetTable() - { - DataTable res = new DataTable(); - try - { - string sql = @"SELECT dbo.tb_ZPPlan.OrderNo, dbo.tb_ZPPlan.Item, dbo.tb_ZPPlan.PartNo, dbo.tb_Product.ProductName, - dbo.tb_ZPPlan.OrderCount, dbo.tb_ZPPlan.ProductCount, dbo.tb_ZPPlan.BadCount - FROM dbo.tb_ZPPlan LEFT OUTER JOIN - dbo.tb_Product ON dbo.tb_ZPPlan.PartNo = dbo.tb_Product.PartNo where IsFinish=0 order by CreateTime "; - - res = SqlHelper.GetDataDateTable(SqlHelper.SqlConnString, CommandType.Text, sql, null); - } - catch (Exception ex) - { - LogHelper.WriteLogManager(ex); - LogHelper.WriteErrLogBase(ex.ToString(), MethodBase.GetCurrentMethod().Name); - } - return res; - } - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Manage/HtmlFiveInjection1-1.html b/喷涂上线/Code/PaintingScreen/Manage/HtmlFiveInjection1-1.html deleted file mode 100644 index 3a117dc..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/HtmlFiveInjection1-1.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - 注塑合格率月报 - - - - - - - - - -
-
-
- - - -
-
-
- - - - diff --git a/喷涂上线/Code/PaintingScreen/Manage/HtmlFiveInjection1-2.html b/喷涂上线/Code/PaintingScreen/Manage/HtmlFiveInjection1-2.html deleted file mode 100644 index 5a48994..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/HtmlFiveInjection1-2.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - 注塑合格率日报 - - - - - - - - -
-
-
- - - -
-
-
- - - - diff --git a/喷涂上线/Code/PaintingScreen/Manage/HtmlFiveInjection1-3.html b/喷涂上线/Code/PaintingScreen/Manage/HtmlFiveInjection1-3.html deleted file mode 100644 index 27598ae..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/HtmlFiveInjection1-3.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - 注塑设备利用率月报 - - - - - - - - - -
-
-
- - - -
-
-
- - - - diff --git a/喷涂上线/Code/PaintingScreen/Manage/HtmlFiveInjection1-4.html b/喷涂上线/Code/PaintingScreen/Manage/HtmlFiveInjection1-4.html deleted file mode 100644 index fde5e2e..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/HtmlFiveInjection1-4.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - 注塑设备利用率日报 - - - - - - - - -
-
-
- - - -
-
-
- - - - diff --git a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting1-1.html b/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting1-1.html deleted file mode 100644 index d81c991..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting1-1.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - 喷涂一次合格率月报 - - - - - - - - - -
-
-
- - - -
-
-
- - - - diff --git a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting1-2.html b/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting1-2.html deleted file mode 100644 index e1aa52e..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting1-2.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - 喷涂一次合格率日报 - - - - - - - - -
-
-
- - - -
-
-
- - - - diff --git a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting1-3.html b/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting1-3.html deleted file mode 100644 index 28c9331..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting1-3.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - 喷涂总合格率月报 - - - - - - - - - -
-
-
- - - -
-
-
- - - - diff --git a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting1-4.html b/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting1-4.html deleted file mode 100644 index 5114299..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting1-4.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - 喷涂总合格率日报 - - - - - - - - -
-
-
- - - -
-
-
- - - - diff --git a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting2-1.html b/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting2-1.html deleted file mode 100644 index 9440711..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting2-1.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - 喷涂设备利用率月报 - - - - - - - - -
-
-
- - - -
-
-
- - - - diff --git a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting2-2.html b/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting2-2.html deleted file mode 100644 index bc9e7b3..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting2-2.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - 喷涂设备利用率日报 - - - - - - - - -
-
-
- - - -
-
-
- - - - diff --git a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting2-3.html b/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting2-3.html deleted file mode 100644 index d15fb9d..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting2-3.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - 运行滑撬数月报 - - - - - - - - - -
-
-
- - - -
-
-
- - - - diff --git a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting2-4.html b/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting2-4.html deleted file mode 100644 index cc6e6df..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting2-4.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - 运行滑撬数日报 - - - - - - - - -
-
-
- - - -
-
-
- - - - diff --git a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting3-1.html b/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting3-1.html deleted file mode 100644 index 1d95fdb..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting3-1.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - 喷涂入库套数月报 - - - - - - - - -
-
-
- - - -
-
-
- - - - diff --git a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting3-2.html b/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting3-2.html deleted file mode 100644 index dbc0ad8..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting3-2.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - 喷涂入库套数日报 - - - - - - - - -
-
-
- - - -
-
-
- - - - diff --git a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting3-3.html b/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting3-3.html deleted file mode 100644 index 2d6e92f..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting3-3.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - 发货数月报 - - - - - - - - -
-
-
- - - -
-
-
- - - - diff --git a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting3-4.html b/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting3-4.html deleted file mode 100644 index 1a2fba2..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/HtmlFivePainting3-4.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - 发货数日报 - - - - - - - - -
-
-
- - - -
-
-
- - - - diff --git a/喷涂上线/Code/PaintingScreen/Manage/PaintLoad.html b/喷涂上线/Code/PaintingScreen/Manage/PaintLoad.html deleted file mode 100644 index 13b8263..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/PaintLoad.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - 喷涂上线看板 - - - - - - - - - -
- - - - - - - - - -
-
-
装配生产信息
-
-
-
- - - - - - - -
零件名称颜色数量
-
-
-
- - - - - - - -
零件名称颜色数量
-
-
- -
- - diff --git a/喷涂上线/Code/PaintingScreen/Manage/PaintingResultScreen1.html b/喷涂上线/Code/PaintingScreen/Manage/PaintingResultScreen1.html deleted file mode 100644 index d23f729..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/PaintingResultScreen1.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - - 喷涂下线合格率看板 - - - - - - - - - - - - - - - - - - - - -
-
喷涂下线合格率看板
-
-
颜色型号下线数一次合格数一次合格率总合格数总合格率
-
- -
-
-
-
-
- - diff --git a/喷涂上线/Code/PaintingScreen/Manage/PaintingResultScreen2.html b/喷涂上线/Code/PaintingScreen/Manage/PaintingResultScreen2.html deleted file mode 100644 index ba95d40..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/PaintingResultScreen2.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - - 喷涂下线合格率看板 - - - - - - - - -
- - - - - - - - - - - -
-
颜色型号下线数一次合格数一次合格率总合格数总合格率
-
-
-
-
-
- -
- - diff --git a/喷涂上线/Code/PaintingScreen/Manage/PaintingScreenPaoGuang.html b/喷涂上线/Code/PaintingScreen/Manage/PaintingScreenPaoGuang.html deleted file mode 100644 index 368643e..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/PaintingScreenPaoGuang.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - - 抛光TOP5看板 - - - - - - - - -
- - - - - - - - - - - - -
颜色配置下线数合格数Top1Top2Top3Top4Top5
-
-
-
- - - - - - - - - - - - - - - - - -
总数
-
-
- - - - - - - - -
下线数一次合格数一次合格率总合格数总合格率
- - - - - - - - -
-
- - - diff --git a/喷涂上线/Code/PaintingScreen/Manage/Plan.html b/喷涂上线/Code/PaintingScreen/Manage/Plan.html deleted file mode 100644 index f8baf77..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/Plan.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - 计划看板 - - - - - - - - -
-
- -
-
- -
-
- - - - diff --git a/喷涂上线/Code/PaintingScreen/Manage/StationPlanScreen.html b/喷涂上线/Code/PaintingScreen/Manage/StationPlanScreen.html deleted file mode 100644 index 76b60b1..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/StationPlanScreen.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -
-
-
机台计划信息
-
-
- - - - - - - - - -
机台产品名称计划数量开始时间结束时间
-
-
- - diff --git a/喷涂上线/Code/PaintingScreen/Manage/ZPPlan.html b/喷涂上线/Code/PaintingScreen/Manage/ZPPlan.html deleted file mode 100644 index 32b78be..0000000 --- a/喷涂上线/Code/PaintingScreen/Manage/ZPPlan.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - 装配计划看板 - - - - - - - -
- - - - - - - -
-
-
装配生产信息
-
-
- - - - - - - - - - - - - - - - - - -
订单号顺序零件号零件名称计划数完成数不合格数
-
-
- - diff --git a/喷涂上线/Code/PaintingScreen/Model/FiveScreenModel.cs b/喷涂上线/Code/PaintingScreen/Model/FiveScreenModel.cs deleted file mode 100644 index deeb839..0000000 --- a/喷涂上线/Code/PaintingScreen/Model/FiveScreenModel.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; - -namespace PaintingScreen.Model -{ - public class FiveScreenModel - { - public List data1 { get; set; } - public List data2 { get; set; } - public List data3 { get; set; } - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Model/ResultModel.cs b/喷涂上线/Code/PaintingScreen/Model/ResultModel.cs deleted file mode 100644 index 139f471..0000000 --- a/喷涂上线/Code/PaintingScreen/Model/ResultModel.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; - -namespace PaintingScreen.Model -{ - public class ResultModel - { - - } -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/PaintingScreen.csproj b/喷涂上线/Code/PaintingScreen/PaintingScreen.csproj deleted file mode 100644 index 400922f..0000000 --- a/喷涂上线/Code/PaintingScreen/PaintingScreen.csproj +++ /dev/null @@ -1,847 +0,0 @@ - - - - - Debug - AnyCPU - - - 2.0 - {14A52CF0-E299-459C-9EDA-E86F47B2C8E8} - {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} - Library - Properties - PaintingScreen - PaintingScreen - v4.5 - true - - - - - - - true - full - false - bin\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - - - - - False - Handler\Tools.dll - - - - - - - - Always - - - Always - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Always - - - - - - - - - - Web.config - - - Web.config - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Designer - - - - - - FiveScreenHandler.ashx - - - - Handler1.ashx - - - - - Plan247.ashx - - - - StationPlanHandler.ashx - - - ZPPlan.ashx - - - - - - - - - - 10.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - - - - - - - True - True - 15955 - / - http://localhost:15000/ - False - False - - - False - - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/PaintingScreen.csproj.user b/喷涂上线/Code/PaintingScreen/PaintingScreen.csproj.user deleted file mode 100644 index edb58b2..0000000 --- a/喷涂上线/Code/PaintingScreen/PaintingScreen.csproj.user +++ /dev/null @@ -1,31 +0,0 @@ - - - - ShowAllFiles - Debug|Any CPU - - - - - - Manage/ZPPlan.html - SpecificPage - True - False - False - False - - - - - - - - - True - True - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Pic/Logo.png b/喷涂上线/Code/PaintingScreen/Pic/Logo.png deleted file mode 100644 index 248e3fa..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Pic/Logo.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Pic/Logo_New.png b/喷涂上线/Code/PaintingScreen/Pic/Logo_New.png deleted file mode 100644 index 80e7efd..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Pic/Logo_New.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Pic/banner.jpg b/喷涂上线/Code/PaintingScreen/Pic/banner.jpg deleted file mode 100644 index 86a6fd4..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Pic/banner.jpg and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Properties/AssemblyInfo.cs b/喷涂上线/Code/PaintingScreen/Properties/AssemblyInfo.cs deleted file mode 100644 index 084d0c2..0000000 --- a/喷涂上线/Code/PaintingScreen/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// 有关程序集的常规信息通过下列特性集 -// 控制。更改这些特性值可修改 -// 与程序集关联的信息。 -[assembly: AssemblyTitle("PaintingScreen")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("PaintingScreen")] -[assembly: AssemblyCopyright("Copyright © 2019")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// 将 ComVisible 设置为 false 会使此程序集中的类型 -// 对 COM 组件不可见。如果需要 -// 从 COM 访问此程序集中的某个类型,请针对该类型将 ComVisible 特性设置为 true。 -[assembly: ComVisible(false)] - -// 如果此项目向 COM 公开,则下列 GUID 用于 typelib 的 ID -[assembly: Guid("21a6a817-4fb3-44fe-91f8-aae6e16e625e")] - -// 程序集的版本信息由下列四个值组成: -// -// 主版本 -// 次版本 -// 内部版本号 -// 修订版本 -// -// 可以指定所有值,也可以使用“修订号”和“内部版本号”的默认值, -// 方法是按如下所示使用 "*": -[assembly: AssemblyVersion("1.0.0.1")] -[assembly: AssemblyFileVersion("1.0.0.1")] diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/changelog.txt b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/changelog.txt deleted file mode 100644 index c918ecb..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/changelog.txt +++ /dev/null @@ -1,388 +0,0 @@ -Version 1.3.6 -* Bug - * treegrid: The 'getChecked' method can not return correct checked rows. fixed. - * tree: The checkbox does not display properly on async tree when 'onlyLeafCheck' property is true. fixed. -* Improvement - * treegrid: All the selecting and checking methods are extended from datagrid component. - * linkbutton: The icon alignment is fully supported, possible values are: 'top','bottom','left','right'. - * linkbutton: Add 'size' property, possible values are: 'small','large'. - * linkbutton: Add 'onClick' event. - * menubutton: Add 'menuAlign' property that allows the user set top level menu alignment. - * combo: Add 'panelAlign' property, possible values are: 'left','right'. - * calendar: The 'formatter','styler' and 'validator' options are available to custom the calendar dates. - * calendar: Add 'onChange' event. - * panel: Add 'method','queryParams' and 'loader' options. - * panel: Add 'onLoadError' event. - * datagrid: Add 'onBeginEdit' event that fires when a row goes into edit mode. - * datagrid: Add 'onEndEdit' event that fires when finishing editing but before destroying editors. - * datagrid: Add 'sort' method and 'onBeforeSortColumn' event. - * datagrid: The 'combogrid' editor has been integrated into datagrid. - * datagrid: Add 'ctrlSelect' property that only allows multi-selection when ctrl+click is used. - * slider: Add 'converter' option that allows users determine how to convert a value to the slider position or the slider position to the value. - * searchbox: Add 'disabled' property. - * searchbox: Add 'disable','enable','clear','reset' methods. - * spinner: Add 'readonly' property, 'readonly' method and 'onChange' event. - -Version 1.3.5 -------------- -* Bug - * searchbox: The 'searcher' function can not offer 'name' parameter value correctly. fixed. - * combo: The 'isValid' method can not return boolean value. fixed. - * combo: Clicking combo will trigger the 'onHidePanel' event of other combo components that have hidden drop-down panels. fixed. - * combogrid: Some methods can not inherit from combo. fixed. -* Improvement - * datagrid: Improve performance on checking rows. - * menu: Allows to append a menu separator. - * menu: Add 'hideOnUnhover' property to indicate if the menu should be hidden when mouse exits it. - * slider: Add 'clear' and 'reset' methods. - * tabs: Add 'unselect' method that will trigger 'onUnselect' event. - * tabs: Add 'selected' property to specify what tab panel will be opened. - * tabs: The 'collapsible' property of tab panel is supported to determine if the tab panel can be collapsed. - * tabs: Add 'showHeader' property, 'showHeader' and 'hideHeader' methods. - * combobox: The 'disabled' property can be used to disable some items. - * tree: Improve loading performance. - * pagination: The 'layout' property can be used to customize the pagination layout. - * accordion: Add 'unselect' method that will trigger 'onUnselect' event. - * accordion: Add 'selected' and 'multiple' properties. - * accordion: Add 'getSelections' method. - * datebox: Add 'sharedCalendar' property that allows multiple datebox components share one calendar component. - -Version 1.3.4 -------------- -* Bug - * combobox: The onLoadSuccess event fires when parsing empty local data. fixed. - * form: Calling 'reset' method can not reset datebox field. fixed. -* Improvement - * mobile: The context menu and double click features are supported on mobile devices. - * combobox: The 'groupField' and 'groupFormatter' options are available to display items in groups. - * tree: When append or insert nodes, the 'data' parameter accepts one or more nodes data. - * tree: The 'getChecked' method accepts a single 'state' or an array of 'state'. - * tree: Add 'scrollTo' method. - * datagrid: The 'multiSort' property is added to support multiple column sorting. - * datagrid: The 'rowStyler' and column 'styler' can return CSS class name or inline styles. - * treegrid: Add 'load' method to load data and navigate to the first page. - * tabs: Add 'tabWidth' and 'tabHeight' properties. - * validatebox: The 'novalidate' property is available to indicate whether to perform the validation. - * validatebox: Add 'enableValidation' and 'disableValidation' methods. - * form: Add 'enableValidation' and 'disableValidation' methods. - * slider: Add 'onComplete' event. - * pagination: The 'buttons' property accepts the existing element. - -Version 1.3.3 -------------- -* Bug - * datagrid: Some style features are not supported by column styler function. fixed. - * datagrid: IE 31 stylesheet limit. fixed. - * treegrid: Some style features are not supported by column styler function. fixed. - * menu: The auto width of menu item displays incorrect in ie6. fixed. - * combo: The 'onHidePanel' event can not fire when clicked outside the combo area. fixed. -* Improvement - * datagrid: Add 'scrollTo' and 'highlightRow' methods. - * treegrid: Enable treegrid to parse data from element. - * combo: Add 'selectOnNavigation' and 'readonly' options. - * combobox: Add 'loadFilter' option to allow users to change data format before loading into combobox. - * tree: Add 'onBeforeDrop' callback event. - * validatebox: Dependent on tooltip plugin now, add 'deltaX' property. - * numberbox: The 'filter' options can be used to determine if the key pressed was accepted. - * linkbutton: The group button is available. - * layout: The 'minWidth','maxWidth','minHeight','maxHeight' and 'collapsible' properties are available for region panel. -* New Plugins - * tooltip: Display a popup message when moving mouse over an element. - -Version 1.3.2 -------------- -* Bug - * datagrid: The loading message window can not be centered when changing the width of datagrid. fixed. - * treegrid: The 'mergeCells' method can not work normally. fixed. - * propertygrid: Calling 'endEdit' method to stop editing a row will cause errors. fixed. - * tree: Can not load empty data when 'lines' property set to true. fixed. -* Improvement - * RTL feature is supported now. - * tabs: Add 'scrollBy' method to scroll the tab header by the specified amount of pixels - * tabs: Add 'toolPosition' property to set tab tools to left or right. - * tabs: Add 'tabPosition' property to define the tab position, possible values are: 'top','bottom','left','right'. - * datagrid: Add a column level property 'order' that allows users to define different default sort order per column. - * datagrid: Add a column level property 'halign' that allows users to define how to align the column header. - * datagrid: Add 'resizeHandle' property to define the resizing column position, by grabbing the left or right edge of the column. - * datagrid: Add 'freezeRow' method to freeze some rows that will always be displayed at the top when the datagrid is scrolled down. - * datagrid: Add 'clearChecked' method to clear all checked records. - * datagrid: Add 'data' property to initialize the datagrid data. - * linkbutton: Add 'iconAlgin' property to define the icon position, supported values are: 'left','right'. - * menu: Add 'minWidth' property. - * menu: The menu width can be automatically calculated. - * tree: New events are available including 'onBeforeDrag','onStartDrag','onDragEnter','onDragOver','onDragLeave',etc. - * combo: Add 'height' property to allow users to define the height of combo. - * combo: Add 'reset' method. - * numberbox: Add 'reset' method. - * spinner: Add 'reset' method. - * spinner: Add 'height' property to allow users to define the height of spinner. - * searchbox: Add 'height' property to allow users to define the height of searchbox. - * form: Add 'reset' method. - * validatebox: Add 'delay' property to delay validating from the last inputting value. - * validatebox: Add 'tipPosition' property to define the tip position, supported values are: 'left','right'. - * validatebox: Multiple validate rules on a field is supported now. - * slider: Add 'reversed' property to determine if the min value and max value will switch their positions. - * progressbar: Add 'height' property to allow users to define the height of progressbar. - -Version 1.3.1 -------------- -* Bug - * datagrid: Setting the 'pageNumber' property is not valid. fixed. - * datagrid: The id attribute of rows isn't adjusted properly while calling 'insertRow' or 'deleteRow' method. - * dialog: When load content from 'href', the script will run twice. fixed. - * propertygrid: The editors that extended from combo can not accept its changed value. fixed. -* Improvement - * droppable: Add 'disabled' property. - * droppable: Add 'options','enable' and 'disable' methods. - * tabs: The tab panel tools can be changed by calling 'update' method. - * messager: When show a message window, the user can define the window position by applying 'style' property. - * window: Prevent script on window body from running twice. - * window: Add 'hcenter','vcenter' and 'center' methods. - * tree: Add 'onBeforeCheck' callback event. - * tree: Extend the 'getChecked' method to allow users to get 'checked','unchecked' or 'indeterminate' nodes. - * treegrid: Add 'update' method to update a specified node. - * treegrid: Add 'insert' method to insert a new node. - * treegrid: Add 'pop' method to remove a node and get the removed node data. - -Version 1.3 ------------ -* Bug - * combogrid: When set to 'remote' query mode, the 'queryParams' parameters can't be sent to server. fixed. - * combotree: The tree nodes on drop-down panel can not be unchecked while calling 'clear' method. fixed. - * datetimebox: Setting 'showSeconds' property to false cannot hide seconds info. fixed. - * datagrid: Calling 'mergeCells' method can't auto resize the merged cell while header is hidden. fixed. - * dialog: Set cache to false and load data via ajax, the content cannot be refreshed. fixed. -* Improvement - * The HTML5 'data-options' attribute is available for components to declare all custom options, including properties and events. - * More detailed documentation is available. - * panel: Prevent script on panel body from running twice. - * accordion: Add 'getPanelIndex' method. - * accordion: The tools can be added on panel header. - * datetimebox: Add 'timeSeparator' option that allows users to define the time separator. - * pagination: Add 'refresh' and 'select' methods. - * datagrid: Auto resize the column width to fit the contents when the column width is not defined. - * datagrid: Double click on the right border of columns to auto resize the columns to the contents in the columns. - * datagrid: Add 'autoSizeColumn' method that allows users to adjust the column width to fit the contents. - * datagrid: Add 'getChecked' method to get all rows where the checkbox has been checked. - * datagrid: Add 'selectOnCheck' and 'checkOnSelect' properties and some checking methods to enhance the row selections. - * datagrid: Add 'pagePosition' property to allow users to display pager bar at either top,bottom or both places of the grid. - * datagrid: The buffer view and virtual scroll view are supported to display large amounts of records without pagination. - * tabs: Add 'disableTab' and 'enableTab' methods to allow users to disable or enable a tab panel. - -Version 1.2.6 -------------- -* Bug - * tabs: Call 'add' method with 'selected:false' option, the added tab panel is always selected. fixed. - * treegrid: The 'onSelect' and 'onUnselect' events can't be triggered. fixed. - * treegrid: Cannot display zero value field. fixed. -* Improvement - * propertygrid: Add 'expandGroup' and 'collapseGroup' methods. - * layout: Allow users to create collapsed layout panels by assigning 'collapsed' property to true. - * layout: Add 'add' and 'remove' methods that allow users to dynamically add or remove region panel. - * layout: Additional tool icons can be added on region panel header. - * calendar: Add 'firstDay' option that allow users to set first day of week. Sunday is 0, Monday is 1, ... - * tree: Add 'lines' option, true to display tree lines. - * tree: Add 'loadFilter' option that allow users to change data format before loading into the tree. - * tree: Add 'loader' option that allow users to define how to load data from remote server. - * treegrid: Add 'onClickCell' and 'onDblClickCell' callback function options. - * datagrid: Add 'autoRowHeight' property that allow users to determine if set the row height based on the contents of that row. - * datagrid: Improve performance to load large data set. - * datagrid: Add 'loader' option that allow users to define how to load data from remote server. - * treegrid: Add 'loader' option that allow users to define how to load data from remote server. - * combobox: Add 'onBeforeLoad' callback event function. - * combobox: Add 'loader' option that allow users to define how to load data from remote server. - * Add support for other loading mode such as dwr,xml,etc. -* New Plugins - * slider: Allows the user to choose a numeric value from a finite range. - -Version 1.2.5 -------------- -* Bug - * tabs: When add a new tab panel with href property, the content page is loaded twice. fixed. - * form: Failed to call 'load' method to load form input with complex name. fixed. - * draggable: End drag in ie9, the cursor cannot be restored. fixed. -* Improvement - * panel: The tools can be defined via html markup. - * tabs: Call 'close' method to close specified tab panel, users can pass tab title or index of tab panel. Other methods such 'select','getTab' and 'exists' are similar to 'close' method. - * tabs: Add 'getTabIndex' method. - * tabs: Users can define mini tools on tabs. - * tree: The mouse must move a specified distance to begin drag and drop operation. - * resizable: Add 'options','enable' and 'disable' methods. - * numberbox: Allow users to change number format. - * datagrid: The subgrid is supported now. - * searchbox: Add 'selectName' method to select searching type name. - -Version 1.2.4 -------------- -* Bug - * menu: The menu position is wrong when scroll bar appears. fixed. - * accordion: Cannot display the default selected panel in jQuery 1.6.2. fixed. - * tabs: Cannot display the default selected tab panel in jQuery 1.6.2. fixed. -* Improvement - * menu: Allow users to disable or enable menu item. - * combo: Add 'delay' property to set the delay time to do searching from the last key input event. - * treegrid: The 'getEditors' and 'getEditor' methods are supported now. - * treegrid: The 'loadFilter' option is supported now. - * messager: Add 'progress' method to display a message box with a progress bar. - * panel: Add 'extractor' option to allow users to extract panel content from ajax response. -* New Plugins - * searchbox: Allow users to type words into box and do searching operation. - * progressbar: To display the progress of a task. - -Version 1.2.3 -------------- -* Bug - * window: Cannot resize the window with iframe content. fixed. - * tree: The node will be removed when dragging to its child. fixed. - * combogrid: The onChange event fires multiple times. fixed. - * accordion: Cannot add batch new panels when animate property is set to true. fixed. -* Improvement - * treegrid: The footer row and row styler features are supported now. - * treegrid: Add 'getLevel','reloadFooter','getFooterRows' methods. - * treegrid: Support root nodes pagination and editable features. - * datagrid: Add 'getFooterRows','reloadFooter','insertRow' methods and improve editing performance. - * datagrid: Add 'loadFilter' option that allow users to change original source data to standard data format. - * draggable: Add 'onBeforeDrag' callback event function. - * validatebox: Add 'remote' validation type. - * combobox: Add 'method' option. -* New Plugins - * propertygrid: Allow users to edit property value in datagrid. - -Version 1.2.2 -------------- -* Bug - * datagrid: Apply fitColumns cannot work fine while set checkbox column. fixed. - * datagrid: The validateRow method cannot return boolean type value. fixed. - * numberbox: Cannot fix value in chrome when min or max property isn't defined. fixed. -* Improvement - * menu: Add some crud methods. - * combo: Add hasDownArrow property to determine whether to display the down arrow button. - * tree: Supports inline editing. - * calendar: Add some useful methods such as 'resize', 'moveTo' etc. - * timespinner: Add some useful methods. - * datebox: Refactoring based on combo and calendar plugin now. - * datagrid: Allow users to change row style in some conditions. - * datagrid: Users can use the footer row to display summary information. -* New Plugins - * datetimebox: Combines datebox with timespinner component. - -Version 1.2.1 -------------- -* Bug - * easyloader: Some dependencies cannot be loaded by their order. fixed. - * tree: The checkbox is setted incorrectly when removing a node. fixed. - * dialog: The dialog layout incorrectly when 'closed' property is setted to true. fixed. -* Improvement - * parser: Add onComplete callback function that can indicate whether the parse action is complete. - * menu: Add onClick callback function and some other methods. - * tree: Add some useful methods. - * tree: Drag and Drop feature is supported now. - * tree: Add onContextMenu callback function. - * tabs: Add onContextMenu callback function. - * tabs: Add 'tools' property that can create buttons on right bar. - * datagrid: Add onHeaderContextMenu and onRowContextMenu callback functions. - * datagrid: Custom view is supported. - * treegrid: Add onContextMenu callback function and append,remove methods. - -Version 1.2 -------------- -* Improvement - * tree: Add cascadeCheck,onlyLeafCheck properties and select event. - * combobox: Enable multiple selection. - * combotree: Enable multiple selection. - * tabs: Remember the trace of selection, when current tab panel is closed, the previous selected tab will be selected. - * datagrid: Extend from panel, so many properties defined in panel can be used for datagrid. -* New Plugins - * treegrid: Represent tabular data in hierarchical view, combines tree view and datagrid. - * combo: The basic component that allow user to extend their combo component such as combobox,combotree,etc. - * combogrid: Combines combobox with drop-down datagrid component. - * spinner: The basic plugin to create numberspinner,timespinner,etc. - * numberspinner: The numberbox that allow user to change value by clicking up and down spin buttons. - * timespinner: The time selector that allow user to quickly inc/dec a time. - -Version 1.1.2 -------------- -* Bug - * messager: When call show method in layout, the message window will be blocked. fixed. -* Improvement - * datagrid: Add validateRow method, remember the current editing row status when do editing action. - * datagrid: Add the ability to create merged cells. - * form: Add callback functions when loading data. - * panel,window,dialog: Add maximize,minimize,restore,collapse,expand methods. - * panel,tabs,accordion: The lazy loading feature is supported. - * tabs: Add getSelected,update,getTab methods. - * accordion: Add crud methods. - * linkbutton: Accept an id option to set the id attribute. - * tree: Enhance tree node operation. - -Version 1.1.1 -------------- -* Bug - * form: Cannot clear the value of combobox and combotree component. fixed. -* Improvement - * tree: Add some useful methods such as 'getRoot','getChildren','update',etc. - * datagrid: Add editable feature, improve performance while loading data. - * datebox: Add destroy method. - * combobox: Add destroy and clear method. - * combotree: Add destroy and clear method. - -Version 1.1 -------------- -* Bug - * messager: When call show method with timeout property setted, an error occurs while clicking the close button. fixed. - * combobox: The editable property of combobox plugin is invalid. fixed. - * window: The proxy box will not be removed when dragging or resizing exceed browser border in ie. fixed. -* Improvement - * menu: The menu item can use markup to display a different page. - * tree: The tree node can use markup to act as a tree menu. - * pagination: Add some event on refresh button and page list. - * datagrid: Add a 'param' parameter for reload method, with which users can pass query parameter when reload data. - * numberbox: Add required validation support, the usage is same as validatebox plugin. - * combobox: Add required validation support. - * combotree: Add required validation support. - * layout: Add some method that can get a region panel and attach event handlers. -* New Plugins - * droppable: A droppable plugin that supports drag drop operation. - * calendar: A calendar plugin that can either be embedded within a page or popup. - * datebox: Combines a textbox with a calendar that let users to select date. - * easyloader: A JavaScript loader that allows you to load plugin and their dependencies into your page. - -Version 1.0.5 -* Bug - * panel: The fit property of panel performs incorrectly. fixed. -* Improvement - * menu: Add a href attribute for menu item, with which user can display a different page in the current browser window. - * form: Add a validate method to do validation for validatebox component. - * dialog: The dialog can read collapsible,minimizable,maximizable and resizable attribute from markup. -* New Plugins - * validatebox: A validation plugin that checks to make sure the user's input value is valid. - -Version 1.0.4 -------------- -* Bug - * panel: When panel is invisible, it is abnormal when resized. fixed. - * panel: Memory leak in method 'destroy'. fixed. - * messager: Memory leak when messager box is closed. fixed. - * dialog: No onLoad event occurs when loading remote data. fixed. -* Improvement - * panel: Add method 'setTitle'. - * window: Add method 'setTitle'. - * dialog: Add method 'setTitle'. - * combotree: Add method 'getValue'. - * combobox: Add method 'getValue'. - * form: The 'load' method can load data and fill combobox and combotree field correctly. - -Version 1.0.3 -------------- -* Bug - * menu: When menu is show in a DIV container, it will be cropped. fixed. - * layout: If you collpase a region panel and then expand it immediately, the region panel will not show normally. fixed. - * accordion: If no panel selected then the first one will become selected and the first panel's body height will not set correctly. fixed. -* Improvement - * tree: Add some methods to support CRUD operation. - * datagrid: Toolbar can accept a new property named 'disabled' to disable the specified tool button. -* New Plugins - * combobox: Combines a textbox with a list of options that users are able to choose from. - * combotree: Combines combobox with drop-down tree component. - * numberbox: Make input element can only enter number char. - * dialog: rewrite the dialog plugin, dialog can contains toolbar and buttons. diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/_content.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/_content.html deleted file mode 100644 index f7b8e2e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/_content.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - AJAX Content - - -

Here is the content loaded via AJAX.

-
    -
  • easyui is a collection of user-interface plugin based on jQuery.
  • -
  • easyui provides essential functionality for building modern, interactive, javascript applications.
  • -
  • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
  • -
  • complete framework for HTML5 web page.
  • -
  • easyui save your time and scales while developing your products.
  • -
  • easyui is very easy but powerful.
  • -
- - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/actions.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/actions.html deleted file mode 100644 index 28935d7..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/actions.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - Accordion Actions - jQuery EasyUI Demo - - - - - - - -

Accordion Actions

-

Click the buttons below to add or remove accordion items.

-
-
-
-

Accordion for jQuery

-

Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

-
-
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/ajax.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/ajax.html deleted file mode 100644 index 87c1a01..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/ajax.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - Loading Accordion Content with AJAX - jQuery EasyUI Demo - - - - - - - -

Loading Accordion Content with AJAX

-

Click AJAX panel header to load content via AJAX.

-
-
-
-

Accordion for jQuery

-

Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

-
-
-

The accordion allows you to provide multiple panels and display one or more at a time. Each panel has built-in support for expanding and collapsing. Clicking on a panel header to expand or collapse that panel body. The panel content can be loaded via ajax by specifying a 'href' property. Users can define a panel to be selected. If it is not specified, then the first panel is taken by default.

-
-
-
-
- - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/basic.html deleted file mode 100644 index 1f6c8f5..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/basic.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - Basic Accordion - jQuery EasyUI Demo - - - - - - - -

Basic Accordion

-

Click on panel header to show its content.

-
-
-
-

Accordion for jQuery

-

Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

-
-
-

The accordion allows you to provide multiple panels and display one or more at a time. Each panel has built-in support for expanding and collapsing. Clicking on a panel header to expand or collapse that panel body. The panel content can be loaded via ajax by specifying a 'href' property. Users can define a panel to be selected. If it is not specified, then the first panel is taken by default.

-
-
-
    -
  • - Foods -
      -
    • - Fruits -
        -
      • apple
      • -
      • orange
      • -
      -
    • -
    • - Vegetables -
        -
      • tomato
      • -
      • carrot
      • -
      • cabbage
      • -
      • potato
      • -
      • lettuce
      • -
      -
    • -
    -
  • -
-
-
- - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/datagrid_data1.json b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/datagrid_data1.json deleted file mode 100644 index e9a5be2..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/datagrid_data1.json +++ /dev/null @@ -1,12 +0,0 @@ -{"total":28,"rows":[ - {"productid":"FI-SW-01","productname":"Koi","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, - {"productid":"K9-DL-01","productname":"Dalmation","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, - {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":38.50,"attr1":"Venomless","itemid":"EST-11"}, - {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, - {"productid":"RP-LI-02","productname":"Iguana","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, - {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, - {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, - {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":23.50,"attr1":"Adult Female","itemid":"EST-16"}, - {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, - {"productid":"AV-CB-01","productname":"Amazon Parrot","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} -]} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/expandable.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/expandable.html deleted file mode 100644 index 8f20f16..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/expandable.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Keep Expandable Panel in Accordion - jQuery EasyUI Demo - - - - - - - -

Keep Expandable Panel in Accordion

-

Keep a expandable panel and prevent it from collapsing.

-
-
-
- -
-
-

Accordion for jQuery

-

Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

-
-
-

Content1

-
-
-

Content2

-
-
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/multiple.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/multiple.html deleted file mode 100644 index d75bfbc..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/multiple.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - Multiple Accordion Panels - jQuery EasyUI Demo - - - - - - - -

Multiple Accordion Panels

-

Enable 'multiple' mode to expand multiple panels at one time.

-
-
-
-

A programming language is a formal language designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine and/or to express algorithms precisely.

-
-
-

Java (Indonesian: Jawa) is an island of Indonesia. With a population of 135 million (excluding the 3.6 million on the island of Madura which is administered as part of the provinces of Java), Java is the world's most populous island, and one of the most densely populated places in the world.

-
-
-

C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.

-
-
-

A dynamic, reflective, general-purpose object-oriented programming language.

-
-
-

Fortran (previously FORTRAN) is a general-purpose, imperative programming language that is especially suited to numeric computation and scientific computing.

-
-
- - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/tools.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/tools.html deleted file mode 100644 index 6351a91..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/accordion/tools.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - Accordion Tools - jQuery EasyUI Demo - - - - - - - -

Accordion Tools

-

Click the tools on top right of panel to perform actions.

-
-
-
-

Accordion for jQuery

-

Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

-
-
-

The accordion allows you to provide multiple panels and display one ore more at a time. Each panel has built-in support for expanding and collapsing. Clicking on a panel header to expand or collapse that panel body. The panel content can be loaded via ajax by specifying a 'href' property. Users can define a panel to be selected. If it is not specified, then the first panel is taken by default.

-
-
- - - - - - - - - - - -
Item IDProduct IDList PriceUnit CostAttributeStatus
-
-
- - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/calendar/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/calendar/basic.html deleted file mode 100644 index 9d0d672..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/calendar/basic.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - Basic Calendar - jQuery EasyUI Demo - - - - - - - -

Basic Calendar

-

Click to select date.

-
-
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/calendar/custom.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/calendar/custom.html deleted file mode 100644 index 7c570e6..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/calendar/custom.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - Custom Calendar - jQuery EasyUI Demo - - - - - - - -

Custom Calendar

-

This example shows how to custom the calendar date by using 'formatter' function.

-
- -
- - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/calendar/disabledate.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/calendar/disabledate.html deleted file mode 100644 index 0b1edeb..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/calendar/disabledate.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - Disable Calendar Date - jQuery EasyUI Demo - - - - - - - -

Disable Calendar Date

-

This example shows how to disable specified dates, only allows the user to select Mondays.

-
- -
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/calendar/firstday.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/calendar/firstday.html deleted file mode 100644 index dd414c5..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/calendar/firstday.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - First Day of Week - jQuery EasyUI Demo - - - - - - - -

First Day of Week

-

Choose the first day of the week.

- -
- -
- -
- - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combo/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combo/basic.html deleted file mode 100644 index cba9b8d..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combo/basic.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - Basic Combo - jQuery EasyUI Demo - - - - - - - -

Basic Combo

-

Click the right arrow button to show drop down panel that can be filled with any content.

-
- -
-
Select a language
-
- Java
- C#
- Ruby
- Basic
- Fortran -
-
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/actions.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/actions.html deleted file mode 100644 index d2605fc..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/actions.html +++ /dev/null @@ -1,86 +0,0 @@ - - - - - ComboBox Actions - jQuery EasyUI Demo - - - - - - - -

ComboBox

-

Click the buttons below to perform actions.

- - - - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/basic.html deleted file mode 100644 index bfa2b34..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/basic.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - Basic ComboBox - jQuery EasyUI Demo - - - - - - - -

Basic ComboBox

-

Type in ComboBox to try auto complete.

-
- - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/combobox_data1.json b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/combobox_data1.json deleted file mode 100644 index 8bfba76..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/combobox_data1.json +++ /dev/null @@ -1,22 +0,0 @@ -[{ - "id":1, - "text":"Java", - "desc":"Write once, run anywhere" -},{ - "id":2, - "text":"C#", - "desc":"One of the programming languages designed for the Common Language Infrastructure" -},{ - "id":3, - "text":"Ruby", - "selected":true, - "desc":"A dynamic, reflective, general-purpose object-oriented programming language" -},{ - "id":4, - "text":"Perl", - "desc":"A high-level, general-purpose, interpreted, dynamic programming language" -},{ - "id":5, - "text":"Basic", - "desc":"A family of general-purpose, high-level programming languages" -}] \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/combobox_data2.json b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/combobox_data2.json deleted file mode 100644 index fcaca4f..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/combobox_data2.json +++ /dev/null @@ -1,47 +0,0 @@ -[{ - "value":"f20", - "text":"Firefox 2.0 or higher", - "group":"Firefox" -},{ - "value":"f15", - "text":"Firefox 1.5.x", - "group":"Firefox" -},{ - "value":"f10", - "text":"Firefox 1.0.x", - "group":"Firefox" -},{ - "value":"ie7", - "text":"Microsoft Internet Explorer 7.0 or higher", - "group":"Microsoft Internet Explorer" -},{ - "value":"ie6", - "text":"Microsoft Internet Explorer 6.x", - "group":"Microsoft Internet Explorer" -},{ - "value":"ie5", - "text":"Microsoft Internet Explorer 5.x", - "group":"Microsoft Internet Explorer" -},{ - "value":"ie4", - "text":"Microsoft Internet Explorer 4.x", - "group":"Microsoft Internet Explorer" -},{ - "value":"op9", - "text":"Opera 9.0 or higher", - "group":"Opera" -},{ - "value":"op8", - "text":"Opera 8.x", - "group":"Opera" -},{ - "value":"op7", - "text":"Opera 7.x", - "group":"Opera" -},{ - "value":"Safari", - "text":"Safari" -},{ - "value":"Other", - "text":"Other" -}] \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/customformat.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/customformat.html deleted file mode 100644 index 82664ea..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/customformat.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Custom Format in ComboBox - jQuery EasyUI Demo - - - - - - - -

Custom Format in ComboBox

-

This sample shows how to custom the format of list item.

-
- - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/dynamicdata.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/dynamicdata.html deleted file mode 100644 index 1857e48..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/dynamicdata.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - Load Dynamic ComboBox Data - jQuery EasyUI Demo - - - - - - - -

Load Dynamic ComboBox Data

-

Click the button below to load data.

- -
- LoadData -
- - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/group.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/group.html deleted file mode 100644 index d1431b7..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/group.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - Group ComboBox - jQuery EasyUI Demo - - - - - - - -

Group ComboBox

-

This example shows how to display combobox items in groups.

-
- - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/multiple.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/multiple.html deleted file mode 100644 index 3eb2526..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/multiple.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - Multiple Select - jQuery EasyUI Demo - - - - - - - -

Load Dynamic ComboBox Data

-

Drop down the panel and select multiple items.

-
- - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/navigation.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/navigation.html deleted file mode 100644 index 4299d42..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/navigation.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - Navigate ComboBox - jQuery EasyUI Demo - - - - - - - -

Navigate ComboBox

-

Navigate through combobox items width keyboard to select an item.

-
- - SelectOnNavigation -
- - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/remotedata.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/remotedata.html deleted file mode 100644 index 42dda5d..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/remotedata.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - Binding to Remote Data - jQuery EasyUI Demo - - - - - - - -

Binding to Remote Data

-

The ComboBox is bound to a remote data.

-
- - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/remotejsonp.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/remotejsonp.html deleted file mode 100644 index 9cfbebd..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combobox/remotejsonp.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - Remote JSONP - jQuery EasyUI Demo - - - - - - - -

Remote JSONP

-

This sample shows how to use JSONP to retrieve data from a remote site.

-
- - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combogrid/actions.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combogrid/actions.html deleted file mode 100644 index e09588a..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combogrid/actions.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - ComboGrid Actions - jQuery EasyUI Demo - - - - - - - -

ComboGrid Actions

-

Click the buttons below to perform actions.

- - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combogrid/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combogrid/basic.html deleted file mode 100644 index 9c71e52..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combogrid/basic.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - Basic ComboGrid - jQuery EasyUI Demo - - - - - - - -

Basic ComboGrid

-

Click the right arrow button to show the DataGrid.

-
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combogrid/datagrid_data1.json b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combogrid/datagrid_data1.json deleted file mode 100644 index 3a62a71..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combogrid/datagrid_data1.json +++ /dev/null @@ -1,12 +0,0 @@ -{"total":28,"rows":[ - {"productid":"FI-SW-01","productname":"Koi","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, - {"productid":"K9-DL-01","productname":"Dalmation","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, - {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":38.50,"attr1":"Venomless","itemid":"EST-11"}, - {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, - {"selected":true,"productid":"RP-LI-02","productname":"Iguana","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, - {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, - {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, - {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":23.50,"attr1":"Adult Female","itemid":"EST-16"}, - {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, - {"productid":"AV-CB-01","productname":"Amazon Parrot","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} -]} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combogrid/initvalue.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combogrid/initvalue.html deleted file mode 100644 index b88f245..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combogrid/initvalue.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Initialize Value for ComboGrid - jQuery EasyUI Demo - - - - - - - -

Initialize Value for ComboGrid

-

Initialize value when ComboGrid is created.

-
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combogrid/multiple.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combogrid/multiple.html deleted file mode 100644 index 8f9cc80..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combogrid/multiple.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - Multiple ComboGrid - jQuery EasyUI Demo - - - - - - - -

Multiple ComboGrid

-

Click the right arrow button to show the DataGrid and select items.

-
- - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combogrid/navigation.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combogrid/navigation.html deleted file mode 100644 index 646ba82..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combogrid/navigation.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - Navigate ComboGrid - jQuery EasyUI Demo - - - - - - - -

Navigate ComboGrid

-

Navigate through grid items with keyboard to select an item.

-
- - SelectOnNavigation -
- - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combotree/actions.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combotree/actions.html deleted file mode 100644 index d5d86a3..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combotree/actions.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - ComboTree Actions - jQuery EasyUI Demo - - - - - - - -

ComboTree Actions

-

Click the buttons below to perform actions

- - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combotree/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combotree/basic.html deleted file mode 100644 index c168d7a..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combotree/basic.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - Basic ComboTree - jQuery EasyUI Demo - - - - - - - -

Basic ComboTree

-

Click the right arrow button to show the tree panel.

-
- - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combotree/initvalue.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combotree/initvalue.html deleted file mode 100644 index a5ac8a8..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combotree/initvalue.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - Initialize Value for ComboTree - jQuery EasyUI Demo - - - - - - - -

Initialize Value for ComboTree

-

Initialize Value when ComboTree is created.

-
- - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combotree/multiple.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combotree/multiple.html deleted file mode 100644 index 704e86e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combotree/multiple.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - Multiple ComboTree - jQuery EasyUI Demo - - - - - - - -

Multiple ComboTree

-

Click the right arrow button to show the tree panel and select multiple nodes.

-
- Cascade Check: - -
- - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combotree/tree_data1.json b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combotree/tree_data1.json deleted file mode 100644 index 83fb0d6..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/combotree/tree_data1.json +++ /dev/null @@ -1,49 +0,0 @@ -[{ - "id":1, - "text":"My Documents", - "children":[{ - "id":11, - "text":"Photos", - "state":"closed", - "children":[{ - "id":111, - "text":"Friend" - },{ - "id":112, - "text":"Wife" - },{ - "id":113, - "text":"Company" - }] - },{ - "id":12, - "text":"Program Files", - "children":[{ - "id":121, - "text":"Intel" - },{ - "id":122, - "text":"Java", - "attributes":{ - "p1":"Custom Attribute1", - "p2":"Custom Attribute2" - } - },{ - "id":123, - "text":"Microsoft Office" - },{ - "id":124, - "text":"Games", - "checked":true - }] - },{ - "id":13, - "text":"index.html" - },{ - "id":14, - "text":"about.html" - },{ - "id":15, - "text":"welcome.html" - }] -}] diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/aligncolumns.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/aligncolumns.html deleted file mode 100644 index cc86de6..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/aligncolumns.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - Aligning Columns in DataGrid - jQuery EasyUI Demo - - - - - - - -

Aligning Columns in DataGrid

-

Use align and halign properties to set the alignment of the columns and their header.

-
- - - - - - - - - - - - -
Item IDProductList PriceUnit CostAttributeStatus
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/basic.html deleted file mode 100644 index 8dcc2f3..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/basic.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - Basic DataGrid - jQuery EasyUI Demo - - - - - - - -

Basic DataGrid

-

The DataGrid is created from markup, no JavaScript code needed.

-
- - - - - - - - - - - - -
Item IDProductList PriceUnit CostAttributeStatus
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/cellediting.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/cellediting.html deleted file mode 100644 index e67b1bf..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/cellediting.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - Cell Editing in DataGrid - jQuery EasyUI Demo - - - - - - - -

Cell Editing in DataGrid

-

Click a cell to start editing.

-
- - - - - - - - - - - - -
Item IDProductList PriceUnit CostAttributeStatus
- - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/cellstyle.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/cellstyle.html deleted file mode 100644 index 3140fa3..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/cellstyle.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - DataGrid Cell Style - jQuery EasyUI Demo - - - - - - - -

DataGrid Cell Style

-

The cells which listprice value is less than 30 are highlighted.

-
- - - - - - - - - - - -
Item IDProductList PriceUnit CostAttributeStatus
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/checkbox.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/checkbox.html deleted file mode 100644 index 3ea251d..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/checkbox.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - CheckBox Selection on DataGrid - jQuery EasyUI Demo - - - - - - - -

CheckBox Selection on DataGrid

-

Click the checkbox on header to select or unselect all selections.

-
- - - - - - - - - - - - - -
Item IDProductList PriceUnit CostAttributeStatus
-
- Selection Mode: -
- SelectOnCheck:
- CheckOnSelect: -
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/clientpagination.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/clientpagination.html deleted file mode 100644 index 960a1a3..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/clientpagination.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - Client Side Pagination in DataGrid - jQuery EasyUI Demo - - - - - - - -

Client Side Pagination in DataGrid

-

This sample shows how to implement client side pagination in DataGrid.

-
- - - - - - - - - - - - - -
Inv NoDateNameAmountPriceCostNote
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/columngroup.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/columngroup.html deleted file mode 100644 index af8f0f9..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/columngroup.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - Column Group - jQuery EasyUI Demo - - - - - - - -

Column Group

-

The header cells can be merged. Useful to group columns under a category.

-
- - - - - - - - - - - - - - -
Item IDProductItem Details
List PriceUnit CostAttributeStatus
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/complextoolbar.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/complextoolbar.html deleted file mode 100644 index 5e6cdff..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/complextoolbar.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - DataGrid Complex Toolbar - jQuery EasyUI Demo - - - - - - - -

DataGrid Complex Toolbar

-

The DataGrid toolbar can be defined from a <div/> markup, so you can define the layout of toolbar easily.

-
- - - - - - - - - - - -
Item IDProductList PriceUnit CostAttributeStatus
-
-
- - - - - -
-
- Date From: - To: - Language: - - Search -
-
- - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/contextmenu.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/contextmenu.html deleted file mode 100644 index e9a64fa..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/contextmenu.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - Context Menu on DataGrid - jQuery EasyUI Demo - - - - - - - -

Context Menu on DataGrid

-

Right click on the header of DataGrid to display context menu.

-
-
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/custompager.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/custompager.html deleted file mode 100644 index baa66a4..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/custompager.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Custom DataGrid Pager - jQuery EasyUI Demo - - - - - - - -

Custom DataGrid Pager

-

You can append some buttons to the standard datagrid pager bar.

-
- - - - - - - - - - - -
Item IDProductList PriceUnit CostAttributeStatus
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/datagrid_data1.json b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/datagrid_data1.json deleted file mode 100644 index e9a5be2..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/datagrid_data1.json +++ /dev/null @@ -1,12 +0,0 @@ -{"total":28,"rows":[ - {"productid":"FI-SW-01","productname":"Koi","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, - {"productid":"K9-DL-01","productname":"Dalmation","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, - {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":38.50,"attr1":"Venomless","itemid":"EST-11"}, - {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, - {"productid":"RP-LI-02","productname":"Iguana","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, - {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, - {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, - {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":23.50,"attr1":"Adult Female","itemid":"EST-16"}, - {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, - {"productid":"AV-CB-01","productname":"Amazon Parrot","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} -]} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/datagrid_data2.json b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/datagrid_data2.json deleted file mode 100644 index 4a27e14..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/datagrid_data2.json +++ /dev/null @@ -1,15 +0,0 @@ -{"total":28,"rows":[ - {"productid":"FI-SW-01","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, - {"productid":"K9-DL-01","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, - {"productid":"RP-SN-01","unitcost":12.00,"status":"P","listprice":28.50,"attr1":"Venomless","itemid":"EST-11"}, - {"productid":"RP-SN-01","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, - {"productid":"RP-LI-02","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, - {"productid":"FL-DSH-01","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, - {"productid":"FL-DSH-01","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, - {"productid":"FL-DLH-02","unitcost":12.00,"status":"P","listprice":63.50,"attr1":"Adult Female","itemid":"EST-16"}, - {"productid":"FL-DLH-02","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, - {"productid":"AV-CB-01","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} -],"footer":[ - {"unitcost":19.80,"listprice":60.40,"productid":"Average:"}, - {"unitcost":198.00,"listprice":604.00,"productid":"Total:"} -]} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/footer.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/footer.html deleted file mode 100644 index 53a3fbd..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/footer.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - Footer Rows in DataGrid - jQuery EasyUI Demo - - - - - - - -

Footer Rows in DataGrid

-

The summary informations can be displayed in footer rows.

-
- - - - - - - - - - - -
Item IDProduct IDList PriceUnit CostAttributeStatus
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/formatcolumns.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/formatcolumns.html deleted file mode 100644 index c2b0076..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/formatcolumns.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Format DataGrid Columns - jQuery EasyUI Demo - - - - - - - -

Format DataGrid Columns

-

The list price value will show red color when less than 30.

-
- - - - - - - - - - - -
Item IDProductList PriceUnit CostAttributeStatus
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/frozencolumns.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/frozencolumns.html deleted file mode 100644 index 2bc21b1..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/frozencolumns.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - Frozen Columns in DataGrid - jQuery EasyUI Demo - - - - - - - -

Frozen Columns in DataGrid

-

You can freeze some columns that can't scroll out of view.

-
- - - - - - - - - - - - - - - -
Item IDProduct
List PriceUnit CostAttributeStatus
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/frozenrows.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/frozenrows.html deleted file mode 100644 index 72310dd..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/frozenrows.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Frozen Rows in DataGrid - jQuery EasyUI Demo - - - - - - - -

Frozen Rows in DataGrid

-

This sample shows how to freeze some rows that will always be displayed at the top when the datagrid is scrolled down.

-
- - - - - - - - - - - - - - - -
Item IDProduct
List PriceUnit CostAttributeStatus
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/mergecells.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/mergecells.html deleted file mode 100644 index a50f934..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/mergecells.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Merge Cells for DataGrid - jQuery EasyUI Demo - - - - - - - -

Merge Cells for DataGrid

-

Cells in DataGrid body can be merged.

-
- - - - - - - - - - - -
ProductItem IDList PriceUnit CostAttributeStatus
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/multisorting.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/multisorting.html deleted file mode 100644 index a04c3ef..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/multisorting.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - Multiple Sorting - jQuery EasyUI Demo - - - - - - - -

Multiple Sorting

-

Set 'multiSort' property to true to enable multiple column sorting.

-
- - - - - - - - - - - - -
Item IDProductList PriceUnit CostAttributeStatus
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/products.json b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/products.json deleted file mode 100644 index 2c512bc..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/products.json +++ /dev/null @@ -1,9 +0,0 @@ -[ -{"productid":"FI-SW-01","productname":"Koi"}, -{"productid":"K9-DL-01","productname":"Dalmation"}, -{"productid":"RP-SN-01","productname":"Rattlesnake"}, -{"productid":"RP-LI-02","productname":"Iguana"}, -{"productid":"FL-DSH-01","productname":"Manx"}, -{"productid":"FL-DLH-02","productname":"Persian"}, -{"productid":"AV-CB-01","productname":"Amazon Parrot"} -] diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/rowborder.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/rowborder.html deleted file mode 100644 index 24a18b7..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/rowborder.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - Row Border in DataGrid - jQuery EasyUI Demo - - - - - - - -

Row Border in DataGrid

-

This sample shows how to change the row border style of datagrid.

-
- Border: - - Striped: - -
- - - - - - - - - - - -
Item IDProductList PriceUnit CostAttributeStatus
- - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/rowediting.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/rowediting.html deleted file mode 100644 index e020811..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/rowediting.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - Row Editing in DataGrid - jQuery EasyUI Demo - - - - - - - -

Row Editing in DataGrid

-

Click the row to start editing.

-
- - - - - - - - - - - - -
Item IDProductList PriceUnit CostAttributeStatus
- - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/rowstyle.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/rowstyle.html deleted file mode 100644 index d65a5c8..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/rowstyle.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - DataGrid Row Style - jQuery EasyUI Demo - - - - - - - -

DataGrid Row Style

-

The rows which listprice value is less than 30 are highlighted.

-
- - - - - - - - - - - -
Item IDProductList PriceUnit CostAttributeStatus
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/selection.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/selection.html deleted file mode 100644 index 1118561..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/selection.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - DataGrid Selection - jQuery EasyUI Demo - - - - - - - -

DataGrid Selection

-

Choose a selection mode and select one or more rows.

- - - - - - - - - - - - -
Item IDProductList PriceUnit CostAttributeStatus
-
- Selection Mode: - -
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/simpletoolbar.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/simpletoolbar.html deleted file mode 100644 index cbb918b..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/simpletoolbar.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - DataGrid with Toolbar - jQuery EasyUI Demo - - - - - - - -

DataGrid with Toolbar

-

Put buttons on top toolbar of DataGrid.

-
- - - - - - - - - - - -
Item IDProductList PriceUnit CostAttributeStatus
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/transform.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/transform.html deleted file mode 100644 index ddc3a30..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datagrid/transform.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - Transform DataGrid from Table - jQuery EasyUI Demo - - - - - - - -

Transform DataGrid from Table

-

Transform DataGrid from an existing, unformatted html table.

-
- Transform -
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Item IDProductList PriceAttribute
EST-1FI-SW-0136.50Large
EST-10K9-DL-0118.50Spotted Adult Female
EST-11RP-SN-0128.50Venomless
EST-12RP-SN-0126.50Rattleless
EST-13RP-LI-0235.50Green Adult
- - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datebox/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datebox/basic.html deleted file mode 100644 index eb3417b..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datebox/basic.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - Basic DateBox - jQuery EasyUI Demo - - - - - - - -

Basic DateBox

-

Click the calendar image on the right side.

-
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datebox/buttons.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datebox/buttons.html deleted file mode 100644 index 7ba5e5c..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datebox/buttons.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - DateBox Buttons - jQuery EasyUI Demo - - - - - - - -

DateBox Buttons

-

This example shows how to customize the datebox buttons underneath the calendar.

-
- - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datebox/dateformat.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datebox/dateformat.html deleted file mode 100644 index ead2064..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datebox/dateformat.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Date Format - jQuery EasyUI Demo - - - - - - - -

Date Format

-

Different date formats are applied to different DateBox components.

-
- - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datebox/events.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datebox/events.html deleted file mode 100644 index bf5c912..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datebox/events.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - DateBox Events - jQuery EasyUI Demo - - - - - - - -

DateBox Events

-

Click the calendar image on the right side.

-
- -
- Selected Date: - -
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datebox/sharedcalendar.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datebox/sharedcalendar.html deleted file mode 100644 index 48c3c1e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datebox/sharedcalendar.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - Shared Calendar in DateBox - jQuery EasyUI Demo - - - - - - - -

Shared Calendar in DateBox

-

Multiple datebox components can share a calendar and use it to pick dates.

-
- - - - - - - -
Start Date: - - End Date: - -
-
- - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datebox/validate.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datebox/validate.html deleted file mode 100644 index fae9b07..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datebox/validate.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - Validate DateBox - jQuery EasyUI Demo - - - - - - - -

Validate DateBox

-

When the selected date is greater than specified date. The field validator will raise an error.

-
- - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datetimebox/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datetimebox/basic.html deleted file mode 100644 index a09f245..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datetimebox/basic.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - Basic DateTimeBox - jQuery EasyUI Demo - - - - - - - -

Basic DateTimeBox

-

Click the calendar image on the right side.

-
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datetimebox/initvalue.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datetimebox/initvalue.html deleted file mode 100644 index c9d2e11..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datetimebox/initvalue.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - Initialize Value for DateTime - jQuery EasyUI Demo - - - - - - - -

Initialize Value for DateTime

-

The value is initialized when DateTimeBox has been created.

-
- - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datetimebox/showseconds.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datetimebox/showseconds.html deleted file mode 100644 index 54f9c37..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/datetimebox/showseconds.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - Display Seconds - jQuery EasyUI Demo - - - - - - - -

Display Seconds

-

The user can decide to display seconds part or not.

-
- Show Seconds: - -
- - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/demo.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/demo.css deleted file mode 100644 index 5c01467..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/demo.css +++ /dev/null @@ -1,21 +0,0 @@ -*{ - font-size:12px; -} -body { - font-family:verdana,helvetica,arial,sans-serif; - padding:20px; - font-size:12px; - margin:0; -} -h2 { - font-size:18px; - font-weight:bold; - margin:0; - margin-bottom:15px; -} -.demo-info{ - padding:0 0 12px 0; -} -.demo-tip{ - display:none; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/dialog/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/dialog/basic.html deleted file mode 100644 index e745b37..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/dialog/basic.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - Basic Dialog - jQuery EasyUI Demo - - - - - - - -

Basic Dialog

-

Click below button to open or close dialog.

-
- Open - Close -
-
- The dialog content. -
- - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/dialog/complextoolbar.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/dialog/complextoolbar.html deleted file mode 100644 index 175fa73..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/dialog/complextoolbar.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - Complex Toolbar on Dialog - jQuery EasyUI Demo - - - - - - - -

Complex Toolbar on Dialog

-

This sample shows how to create complex toolbar on dialog.

-
- Open - Close -
-
- The dialog content. -
-
- - - - - -
- Edit - Help - - -
-
-
- Save - Close -
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/dialog/toolbarbuttons.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/dialog/toolbarbuttons.html deleted file mode 100644 index 35013a5..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/dialog/toolbarbuttons.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - Toolbar and Buttons - jQuery EasyUI Demo - - - - - - - -

Toolbar and Buttons

-

The toolbar and buttons can be added to dialog.

-
- Open - Close -
-
- The dialog content. -
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/draggable/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/draggable/basic.html deleted file mode 100644 index 0c96a05..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/draggable/basic.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - Basic Draggable - jQuery EasyUI Demo - - - - - - - -

Basic Draggable

-

Move the boxes below by clicking on it with mouse.

-
-
-
-
Title
-
- - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/draggable/constain.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/draggable/constain.html deleted file mode 100644 index a2dfa6c..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/draggable/constain.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - Constrain Draggable - jQuery EasyUI Demo - - - - - - - -

Constrain Draggable

-

The draggable object can only be moved within its parent container.

-
-
-
-
-
- - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/draggable/snap.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/draggable/snap.html deleted file mode 100644 index 5f0103a..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/draggable/snap.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - Snap Draggable - jQuery EasyUI Demo - - - - - - - -

Snap Draggable

-

This sample shows how to snap a draggable object to a 20x20 grid.

-
-
-
-
-
- - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/droppable/accept.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/droppable/accept.html deleted file mode 100644 index cf56d08..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/droppable/accept.html +++ /dev/null @@ -1,78 +0,0 @@ - - - - - Accept a Drop - jQuery EasyUI Demo - - - - - - - -

Accept a Drop

-

Some draggable object can not be accepted.

-
-
- drag me! -
Drag 1
-
Drag 2
-
Drag 3
-
-
- drop here! -
-
- - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/droppable/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/droppable/basic.html deleted file mode 100644 index ecf803a..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/droppable/basic.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - Basic Droppable - jQuery EasyUI Demo - - - - - - - -

Basic Droppable

-

Drag the boxed on left to the target area on right.

-
-
-
Source
-
-
Apple
-
Peach
-
Orange
-
-
-
-
Target
-
-
-
-
- - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/droppable/sort.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/droppable/sort.html deleted file mode 100644 index 37c0d2f..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/droppable/sort.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - Change Items Order - jQuery EasyUI Demo - - - - - - - -

Change Items Order

-

Drag the list items to change their order.

-
-
    -
  • Drag 1
  • -
  • Drag 2
  • -
  • Drag 3
  • -
  • Drag 4
  • -
  • Drag 5
  • -
  • Drag 6
  • -
- - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/easyloader/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/easyloader/basic.html deleted file mode 100644 index 44a09eb..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/easyloader/basic.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - Basic EasyLoader - jQuery EasyUI Demo - - - - - - - -

Basic EasyLoader

-
-
-
Click the buttons below to load components dynamically.
-
- -
-
-
- - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/form/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/form/basic.html deleted file mode 100644 index 7e23d51..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/form/basic.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - Basic Form - jQuery EasyUI Demo - - - - - - - -

Basic Form

-

Fill the form and submit it.

-
-
-
-
- - - - - - - - - - - - - - - - - - - - - -
Name:
Email:
Subject:
Message:
Language: - -
-
-
- Submit - Clear -
-
-
- - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/form/form_data1.json b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/form/form_data1.json deleted file mode 100644 index 7103c83..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/form/form_data1.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name":"easyui", - "email":"easyui@gmail.com", - "subject":"Subject Title", - "message":"Message Content", - "language":"de" -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/form/load.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/form/load.html deleted file mode 100644 index a80f585..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/form/load.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - Load Form Data - jQuery EasyUI Demo - - - - - - - -

Load Form Data

-

Click the buttons below to load form data.

- -
-
-
- - - - - - - - - - - - - - - - - - - - - -
Name:
Email:
Subject:
Message:
Language: - -
-
-
-
- - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/_content.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/_content.html deleted file mode 100644 index 66c1bd5..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/_content.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - AJAX Content - - -

jQuery EasyUI framework help you build your web page easily.

-
    -
  • easyui is a collection of user-interface plugin based on jQuery.
  • -
  • easyui provides essential functionality for building modern, interactive, javascript applications.
  • -
  • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
  • -
  • complete framework for HTML5 web page.
  • -
  • easyui save your time and scales while developing your products.
  • -
  • easyui is very easy but powerful.
  • -
- - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/addremove.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/addremove.html deleted file mode 100644 index 34977c4..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/addremove.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Add and Remove Layout - jQuery EasyUI Demo - - - - - - - -

Add and Remove Layout

-

Click the buttons below to add or remove region panel of layout.

-
- Select Region Panel: - - Add - Remove -
-
-
-
-
-
-
-
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/autoheight.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/autoheight.html deleted file mode 100644 index 8400a23..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/autoheight.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Auto Height for Layout - jQuery EasyUI Demo - - - - - - - -

Auto Height for Layout

-

This example shows how to auto adjust layout height after dynamically adding items.

- -
-
-
-
-
-

Panel Content.

-

Panel Content.

-

Panel Content.

-

Panel Content.

-

Panel Content.

-
-
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/basic.html deleted file mode 100644 index 29e2c39..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/basic.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Basic Layout - jQuery EasyUI Demo - - - - - - - -

Basic Layout

-

The layout contains north,south,west,east and center regions.

-
-
-
-
-
-
-
- - - - - - - - - - - -
Item IDProduct IDList PriceUnit CostAttributeStatus
-
-
- - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/complex.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/complex.html deleted file mode 100644 index 833eb09..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/complex.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - Complex Layout - jQuery EasyUI Demo - - - - - - - -

Complex Layout

-

This sample shows how to create a complex layout.

-
-
-
-
-
-
    -
    -
    -
    -
    - content1 -
    -
    - content2 -
    -
    - content3 -
    -
    -
    -
    -
    -
    -
    - - - - - - - - - - - -
    Item IDProduct IDList PriceUnit CostAttributeStatus
    -
    -
    -
    -
    - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/datagrid_data1.json b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/datagrid_data1.json deleted file mode 100644 index e9a5be2..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/datagrid_data1.json +++ /dev/null @@ -1,12 +0,0 @@ -{"total":28,"rows":[ - {"productid":"FI-SW-01","productname":"Koi","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, - {"productid":"K9-DL-01","productname":"Dalmation","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, - {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":38.50,"attr1":"Venomless","itemid":"EST-11"}, - {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, - {"productid":"RP-LI-02","productname":"Iguana","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, - {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, - {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, - {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":23.50,"attr1":"Adult Female","itemid":"EST-16"}, - {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, - {"productid":"AV-CB-01","productname":"Amazon Parrot","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} -]} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/full.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/full.html deleted file mode 100644 index c83bf07..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/full.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - Full Layout - jQuery EasyUI Demo - - - - - - - -
    north region
    -
    west content
    -
    east region
    -
    south region
    -
    - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/nestedlayout.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/nestedlayout.html deleted file mode 100644 index 1f8cc04..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/nestedlayout.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - Nested Layout - jQuery EasyUI Demo - - - - - - - -

    Nested Layout

    -

    The layout region panel contains another layout or other components.

    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/nocollapsible.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/nocollapsible.html deleted file mode 100644 index a6914a0..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/nocollapsible.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - No collapsible button in Layout - jQuery EasyUI Demo - - - - - - - -

    No collapsible button in Layout

    -

    The layout region panel has no collapsible button.

    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/propertygrid_data1.json b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/propertygrid_data1.json deleted file mode 100644 index 12b2d00..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/propertygrid_data1.json +++ /dev/null @@ -1,20 +0,0 @@ -{"total":7,"rows":[ - {"name":"Name","value":"Bill Smith","group":"ID Settings","editor":"text"}, - {"name":"Address","value":"","group":"ID Settings","editor":"text"}, - {"name":"Age","value":"40","group":"ID Settings","editor":"numberbox"}, - {"name":"Birthday","value":"01/02/2012","group":"ID Settings","editor":"datebox"}, - {"name":"SSN","value":"123-456-7890","group":"ID Settings","editor":"text"}, - {"name":"Email","value":"bill@gmail.com","group":"Marketing Settings","editor":{ - "type":"validatebox", - "options":{ - "validType":"email" - } - }}, - {"name":"FrequentBuyer","value":"false","group":"Marketing Settings","editor":{ - "type":"checkbox", - "options":{ - "on":true, - "off":false - } - }} -]} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/tree_data1.json b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/tree_data1.json deleted file mode 100644 index 83fb0d6..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/layout/tree_data1.json +++ /dev/null @@ -1,49 +0,0 @@ -[{ - "id":1, - "text":"My Documents", - "children":[{ - "id":11, - "text":"Photos", - "state":"closed", - "children":[{ - "id":111, - "text":"Friend" - },{ - "id":112, - "text":"Wife" - },{ - "id":113, - "text":"Company" - }] - },{ - "id":12, - "text":"Program Files", - "children":[{ - "id":121, - "text":"Intel" - },{ - "id":122, - "text":"Java", - "attributes":{ - "p1":"Custom Attribute1", - "p2":"Custom Attribute2" - } - },{ - "id":123, - "text":"Microsoft Office" - },{ - "id":124, - "text":"Games", - "checked":true - }] - },{ - "id":13, - "text":"index.html" - },{ - "id":14, - "text":"about.html" - },{ - "id":15, - "text":"welcome.html" - }] -}] diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/linkbutton/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/linkbutton/basic.html deleted file mode 100644 index 741d68c..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/linkbutton/basic.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Basic LinkButton - jQuery EasyUI Demo - - - - - - - -

    Basic LinkButton

    -

    Buttons can be created from <a> or <button> elements.

    -
    -

    Basic Buttons

    -
    - Add - Remove - Save - Cut - Text Button -
    -

    Fixed Width Buttons

    -
    - Search - Print - Reload - Help -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/linkbutton/group.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/linkbutton/group.html deleted file mode 100644 index 852db67..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/linkbutton/group.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Button Group - jQuery EasyUI Demo - - - - - - - -

    Button Group

    -

    In a button group only one button can be selected.

    -
    - -
    - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/linkbutton/iconalign.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/linkbutton/iconalign.html deleted file mode 100644 index 99a8ec2..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/linkbutton/iconalign.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - Icon Align on LinkButton - jQuery EasyUI Demo - - - - - - - -

    Icon Align on LinkButton

    -

    Change the icon align to place icon on left, right, top or bottom of button.

    -
    -
    - Select Icon Align: - -
    -
    - Add - Remove - Save - Cut -
    - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/linkbutton/plain.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/linkbutton/plain.html deleted file mode 100644 index 0143c20..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/linkbutton/plain.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - Plain LinkButton - jQuery EasyUI Demo - - - - - - - -

    Plain LinkButton

    -

    The buttons with plain style have transparent background.

    -
    - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/linkbutton/size.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/linkbutton/size.html deleted file mode 100644 index 265ecb5..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/linkbutton/size.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - LinkButton Size - jQuery EasyUI Demo - - - - - - - -

    LinkButton Size

    -

    This sample shows how to display small buttons and large buttons.

    -
    -

    Small Buttons

    -
    - Add - Remove - Save - Cut - Text Button -
    -

    Large Buttons

    - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/linkbutton/toggle.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/linkbutton/toggle.html deleted file mode 100644 index ebab0d1..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/linkbutton/toggle.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - Toggle Button - jQuery EasyUI Demo - - - - - - - -

    Toggle Button

    -

    Click the button below to switch its selected state.

    -
    -
    - Add - Remove - Save - Cut - Text Button -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/menu/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/menu/basic.html deleted file mode 100644 index ac6e171..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/menu/basic.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - Basic Menu - jQuery EasyUI Demo - - - - - - - -

    Basic Menu

    -

    Right click on page to display menu.

    -
    - -
    -
    New
    -
    - Open -
    -
    Word
    -
    Excel
    -
    PowerPoint
    -
    - M1 -
    -
    sub1
    -
    sub2
    -
    - Sub -
    -
    sub21
    -
    sub22
    -
    sub23
    -
    -
    -
    sub3
    -
    -
    -
    - Window Demos -
    -
    Window
    -
    Dialog
    - -
    -
    -
    -
    -
    Save
    -
    Print
    - -
    Exit
    -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/menu/customitem.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/menu/customitem.html deleted file mode 100644 index bf4df9c..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/menu/customitem.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - Custom Menu Item - jQuery EasyUI Demo - - - - - - - -

    Custom Menu Item

    -

    Right click on page to display menu, move to the 'Open' item to display its custom sub content.

    -
    -
    -
    New
    -
    - Open - -
    -
    Save
    -
    Print
    - -
    Exit
    -
    - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/menu/events.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/menu/events.html deleted file mode 100644 index 41f4b57..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/menu/events.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - Menu Events - jQuery EasyUI Demo - - - - - - - -

    Menu Events

    -

    Right click on page to display menu and click an item.

    -
    -
    -
    New
    -
    Save
    -
    Print
    - -
    Exit
    -
    -
    -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/menubutton/actions.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/menubutton/actions.html deleted file mode 100644 index 6623d3d..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/menubutton/actions.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - MenuButton Actions - jQuery EasyUI Demo - - - - - - - -

    MenuButton Actions

    -

    Click the buttons below to perform actions.

    - -
    - Home - Edit - Help - About -
    -
    -
    Undo
    -
    Redo
    - -
    Cut
    -
    Copy
    -
    Paste
    - -
    - Toolbar -
    -
    Address
    -
    Link
    -
    Navigation Toolbar
    -
    Bookmark Toolbar
    - -
    New Toolbar...
    -
    -
    -
    Delete
    -
    Select All
    -
    -
    -
    Help
    -
    Update
    -
    About
    -
    - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/menubutton/alignment.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/menubutton/alignment.html deleted file mode 100644 index 5362745..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/menubutton/alignment.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - Menu Alignment on MenuButton - jQuery EasyUI Demo - - - - - - - -

    Menu Alignment on MenuButton

    -

    This example shows how to change the alignment of the top level menu.

    -
    - Change Alignment: - -
    -
    - Home - Edit - Help - About - -
    -
    -
    Undo
    -
    Redo
    - -
    Cut
    -
    Copy
    -
    Paste
    - -
    - Toolbar -
    -
    Address
    -
    Link
    -
    Navigation Toolbar
    -
    Bookmark Toolbar
    - -
    New Toolbar...
    -
    -
    -
    Delete
    -
    Select All
    -
    -
    -
    Help
    -
    Update
    -
    About
    -
    -
    -
    History
    -
    Faq
    -
    Our Team
    -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/menubutton/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/menubutton/basic.html deleted file mode 100644 index e277296..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/menubutton/basic.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - Basic MenuButton - jQuery EasyUI Demo - - - - - - - -

    Basic MenuButton

    -

    Move mouse over the button to drop down menu.

    -
    -
    - Home - Edit - Help - About -
    -
    -
    Undo
    -
    Redo
    - -
    Cut
    -
    Copy
    -
    Paste
    - -
    - Toolbar -
    -
    Address
    -
    Link
    -
    Navigation Toolbar
    -
    Bookmark Toolbar
    - -
    New Toolbar...
    -
    -
    -
    Delete
    -
    Select All
    -
    -
    -
    Help
    -
    Update
    -
    About
    -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/messager/alert.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/messager/alert.html deleted file mode 100644 index ff7129d..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/messager/alert.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - Alert Messager - jQuery EasyUI Demo - - - - - - - -

    Alert Messager

    -

    Click on each button to display different alert message box.

    - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/messager/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/messager/basic.html deleted file mode 100644 index 373c7ca..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/messager/basic.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - Basic Messager - jQuery EasyUI Demo - - - - - - - -

    Basic Messager

    -

    Click on each button to see a distinct message box.

    -
    - Show - Slide - Fade - Progress -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/messager/interactive.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/messager/interactive.html deleted file mode 100644 index 9ba70bf..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/messager/interactive.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - Interactive Messager - jQuery EasyUI Demo - - - - - - - -

    Interactive Messager

    -

    Click on each button to display interactive message box.

    -
    - Confirm - Prompt -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/messager/position.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/messager/position.html deleted file mode 100644 index 58886f1..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/messager/position.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - Message Box Position - jQuery EasyUI Demo - - - - - - - -

    Message Box Position

    -

    Click the buttons below to display message box on different position.

    - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/numberbox/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/numberbox/basic.html deleted file mode 100644 index 945c7c1..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/numberbox/basic.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - Basic NumberBox - jQuery EasyUI Demo - - - - - - - -

    Basic NumberBox

    -

    The NumberBox can only accept inputing numbers.

    -
    -
    -

    List Price:

    - -

    Amount:

    - -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/numberbox/format.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/numberbox/format.html deleted file mode 100644 index ec5b6ff..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/numberbox/format.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - Format NumberBox - jQuery EasyUI Demo - - - - - - - -

    Format NumberBox

    -

    Number formatting is the ability to control how a number is displayed.

    -
    - - - - - - - - - - - - - - - - - - - - - -
    Number in the United States
    Number in France
    Currency:USD
    Currency:EUR
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/numberbox/range.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/numberbox/range.html deleted file mode 100644 index f2b96c0..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/numberbox/range.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - Number Range - jQuery EasyUI Demo - - - - - - - -

    Number Range

    -

    The value is constrained to a specified range.

    -
    -
    -

    Amount:

    - -

    Weight:

    - -

    Age:

    - -
    - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/numberspinner/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/numberspinner/basic.html deleted file mode 100644 index a8b8863..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/numberspinner/basic.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - Basic NumberSpinner - jQuery EasyUI Demo - - - - - - - -

    Basic NumberSpinner

    -

    Click spinner button to change value.

    -
    - -
    - Value: -
    - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/numberspinner/increment.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/numberspinner/increment.html deleted file mode 100644 index 95b5a5f..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/numberspinner/increment.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - Increment Number - jQuery EasyUI Demo - - - - - - - -

    Increment Number

    -

    The sample shows how to set the increment step.

    -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/numberspinner/range.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/numberspinner/range.html deleted file mode 100644 index 00e1307..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/numberspinner/range.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - Number Range - jQuery EasyUI Demo - - - - - - - -

    Number Range

    -

    The value is constrained to a range between 10 and 100.

    -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/pagination/attaching.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/pagination/attaching.html deleted file mode 100644 index 5c87427..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/pagination/attaching.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - Attaching Other Components - jQuery EasyUI Demo - - - - - - - -

    Attaching Other Components

    -

    Any other components can be attached to page bar.

    -
    -
    -
    -
    -
    - - - - - -
    - - - -
    -
    - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/pagination/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/pagination/basic.html deleted file mode 100644 index 98f7c49..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/pagination/basic.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - Basic Pagination - jQuery EasyUI Demo - - - - - - - -

    Basic Pagination

    -

    The user can change page number and page size on page bar.

    -
    -
    -
    -
    - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/pagination/custombuttons.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/pagination/custombuttons.html deleted file mode 100644 index 2a75b88..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/pagination/custombuttons.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - Custom Pagination Buttons - jQuery EasyUI Demo - - - - - - - -

    Custom Pagination Buttons

    -

    The customized buttons can be appended to page bar.

    -
    -
    -
    -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/pagination/layout.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/pagination/layout.html deleted file mode 100644 index dcb679a..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/pagination/layout.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Pagination Layout - jQuery EasyUI Demo - - - - - - - -

    Pagination Layout

    -

    The pagination layout supports various types of pages which you can choose.

    -
    -
    -
    -
    -
    - -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/pagination/links.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/pagination/links.html deleted file mode 100644 index 5ec8b38..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/pagination/links.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - Pagination Links - jQuery EasyUI Demo - - - - - - - -

    Pagination Links

    -

    The example shows how to customize numbered pagination links.

    -
    -
    -
    -
    - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/pagination/simple.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/pagination/simple.html deleted file mode 100644 index ca59ae2..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/pagination/simple.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - Simplify Pagination - jQuery EasyUI Demo - - - - - - - -

    Simplify Pagination

    -

    The sample shows how to simplify pagination.

    -
    -
    -
    -
    - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/panel/_content.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/panel/_content.html deleted file mode 100644 index f7b8e2e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/panel/_content.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - AJAX Content - - -

    Here is the content loaded via AJAX.

    -
      -
    • easyui is a collection of user-interface plugin based on jQuery.
    • -
    • easyui provides essential functionality for building modern, interactive, javascript applications.
    • -
    • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
    • -
    • complete framework for HTML5 web page.
    • -
    • easyui save your time and scales while developing your products.
    • -
    • easyui is very easy but powerful.
    • -
    - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/panel/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/panel/basic.html deleted file mode 100644 index e2220df..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/panel/basic.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - Basic Panel - jQuery EasyUI Demo - - - - - - - -

    Basic Panel

    -

    The panel is a container for other components or elements.

    -
    - Open - Close -
    -
    -

    jQuery EasyUI framework helps you build your web pages easily.

    -
      -
    • easyui is a collection of user-interface plugin based on jQuery.
    • -
    • easyui provides essential functionality for building modem, interactive, javascript applications.
    • -
    • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
    • -
    • complete framework for HTML5 web page.
    • -
    • easyui save your time and scales while developing your products.
    • -
    • easyui is very easy but powerful.
    • -
    -
    - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/panel/customtools.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/panel/customtools.html deleted file mode 100644 index 299b7fa..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/panel/customtools.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - Custom Panel Tools - jQuery EasyUI Demo - - - - - - - -

    Custom Panel Tools

    -

    Click the right top buttons to perform actions with panel.

    -
    -
    -

    jQuery EasyUI framework helps you build your web pages easily.

    -
      -
    • easyui is a collection of user-interface plugin based on jQuery.
    • -
    • easyui provides essential functionality for building modem, interactive, javascript applications.
    • -
    • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
    • -
    • complete framework for HTML5 web page.
    • -
    • easyui save your time and scales while developing your products.
    • -
    • easyui is very easy but powerful.
    • -
    -
    -
    - - - - -
    - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/panel/loadcontent.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/panel/loadcontent.html deleted file mode 100644 index c4b1417..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/panel/loadcontent.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - Load Panel Content - jQuery EasyUI Demo - - - - - - - -

    Load Panel Content

    -

    Click the refresh button on top right of panel to load content.

    -
    -
    -
    - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/panel/nestedpanel.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/panel/nestedpanel.html deleted file mode 100644 index 64865c6..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/panel/nestedpanel.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - Nested Panel - jQuery EasyUI Demo - - - - - - - -

    Nested Panel

    -

    The panel can be placed inside containers and can contain other components.

    -
    -
    -
    -
    - Left Content -
    -
    - Right Content -
    -
    - Right Content -
    -
    -
    - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/panel/paneltools.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/panel/paneltools.html deleted file mode 100644 index eb0d87f..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/panel/paneltools.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - Panel Tools - jQuery EasyUI Demo - - - - - - - -

    Panel Tools

    -

    Click the right top buttons to perform actions with panel.

    - -
    -
    -

    jQuery EasyUI framework helps you build your web pages easily.

    -
      -
    • easyui is a collection of user-interface plugin based on jQuery.
    • -
    • easyui provides essential functionality for building modem, interactive, javascript applications.
    • -
    • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
    • -
    • complete framework for HTML5 web page.
    • -
    • easyui save your time and scales while developing your products.
    • -
    • easyui is very easy but powerful.
    • -
    -
    -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/progressbar/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/progressbar/basic.html deleted file mode 100644 index 910777b..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/progressbar/basic.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - Basic ProgressBar - jQuery EasyUI Demo - - - - - - - -

    Basic ProgressBar

    -

    Click the button below to show progress information.

    -
    - Start -
    -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/propertygrid/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/propertygrid/basic.html deleted file mode 100644 index a7c3cb5..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/propertygrid/basic.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - Basic PropertyGrid - jQuery EasyUI Demo - - - - - - - -

    Basic PropertyGrid

    -

    Click on row to change each property value.

    - - -
    - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/propertygrid/customcolumns.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/propertygrid/customcolumns.html deleted file mode 100644 index a8aabd3..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/propertygrid/customcolumns.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - Customize Columns of PropertyGrid - jQuery EasyUI Demo - - - - - - - -

    Customize Columns of PropertyGrid

    -

    The columns of PropertyGrid can be changed.

    -
    - -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/propertygrid/groupformat.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/propertygrid/groupformat.html deleted file mode 100644 index 27cc305..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/propertygrid/groupformat.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - Group Format - jQuery EasyUI Demo - - - - - - - -

    Group Format

    -

    The user can change the group information.

    -
    - -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/propertygrid/propertygrid_data1.json b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/propertygrid/propertygrid_data1.json deleted file mode 100644 index 12b2d00..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/propertygrid/propertygrid_data1.json +++ /dev/null @@ -1,20 +0,0 @@ -{"total":7,"rows":[ - {"name":"Name","value":"Bill Smith","group":"ID Settings","editor":"text"}, - {"name":"Address","value":"","group":"ID Settings","editor":"text"}, - {"name":"Age","value":"40","group":"ID Settings","editor":"numberbox"}, - {"name":"Birthday","value":"01/02/2012","group":"ID Settings","editor":"datebox"}, - {"name":"SSN","value":"123-456-7890","group":"ID Settings","editor":"text"}, - {"name":"Email","value":"bill@gmail.com","group":"Marketing Settings","editor":{ - "type":"validatebox", - "options":{ - "validType":"email" - } - }}, - {"name":"FrequentBuyer","value":"false","group":"Marketing Settings","editor":{ - "type":"checkbox", - "options":{ - "on":true, - "off":false - } - }} -]} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/resizable/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/resizable/basic.html deleted file mode 100644 index a4d5a61..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/resizable/basic.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - Basic Resizable - jQuery EasyUI Demo - - - - - - - -

    Basic Resizable

    -

    Click on the edge of box and move the edge to resize the box.

    -
    -
    -
    Resize Me
    -
    -
    -
    Title
    -
    Drag and Resize Me
    -
    - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/searchbox/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/searchbox/basic.html deleted file mode 100644 index 1eb5275..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/searchbox/basic.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - Basic SearchBox - jQuery EasyUI Demo - - - - - - - -

    Basic SearchBox

    -

    Click search button or press enter key in input box to do searching.

    -
    - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/searchbox/category.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/searchbox/category.html deleted file mode 100644 index 5a2b866..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/searchbox/category.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - Search Category - jQuery EasyUI Demo - - - - - - - -

    Search Category

    -

    Select a category and click search button or press enter key in input box to do searching.

    -
    - -
    -
    All News
    -
    Sports News
    -
    - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/slider/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/slider/basic.html deleted file mode 100644 index e2a0f59..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/slider/basic.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - Basic Slider - jQuery EasyUI Demo - - - - - - - -

    Basic Slider

    -

    Drag the slider to change value.

    -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/slider/formattip.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/slider/formattip.html deleted file mode 100644 index f0d666b..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/slider/formattip.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - Format Tip Information - jQuery EasyUI Demo - - - - - - - -

    Format Tip Information

    -

    This sample shows how to format tip information.

    -
    - -
    jQuery EasyUI
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/slider/nonlinear.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/slider/nonlinear.html deleted file mode 100644 index 7570833..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/slider/nonlinear.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Non Linear Slider - jQuery EasyUI Demo - - - - - - - -

    Non Linear Slider

    -

    This example shows how to create a slider with a non-linear scale.

    -
    -
    - -
    -
    -
    -
    - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/slider/rule.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/slider/rule.html deleted file mode 100644 index 6f0e08c..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/slider/rule.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - Slider Rule - jQuery EasyUI Demo - - - - - - - -

    Slider Rule

    -

    This sample shows how to define slider rule.

    -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/slider/vertical.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/slider/vertical.html deleted file mode 100644 index 6bc8b59..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/slider/vertical.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - Vertical Slider - jQuery EasyUI Demo - - - - - - - -

    Vertical Slider

    -

    This sample shows how to create a vertical slider.

    -
    -
    - -
    - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/splitbutton/actions.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/splitbutton/actions.html deleted file mode 100644 index 0fa343e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/splitbutton/actions.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - SplitButton Actions - jQuery EasyUI Demo - - - - - - - -

    SplitButton Actions

    -

    Click the buttons below to perform actions.

    - -
    - Home - Edit - Ok - Help -
    -
    -
    Undo
    -
    Redo
    - -
    Cut
    -
    Copy
    -
    Paste
    - -
    - Toolbar -
    -
    Address
    -
    Link
    -
    Navigation Toolbar
    -
    Bookmark Toolbar
    - -
    New Toolbar...
    -
    -
    -
    Delete
    -
    Select All
    -
    -
    -
    Ok
    -
    Cancel
    -
    -
    -
    Help
    -
    Update
    -
    - About - -
    -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/splitbutton/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/splitbutton/basic.html deleted file mode 100644 index 2f31ec1..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/splitbutton/basic.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - Basic SplitButton - jQuery EasyUI Demo - - - - - - - -

    Basic SplitButton

    -

    Move mouse over the arrow area of button to drop down menu.

    -
    -
    - Home - Edit - Ok - Help -
    -
    -
    Undo
    -
    Redo
    - -
    Cut
    -
    Copy
    -
    Paste
    - -
    - Toolbar -
    -
    Address
    -
    Link
    -
    Navigation Toolbar
    -
    Bookmark Toolbar
    - -
    New Toolbar...
    -
    -
    -
    Delete
    -
    Select All
    -
    -
    -
    Ok
    -
    Cancel
    -
    -
    -
    Help
    -
    Update
    -
    - About - -
    -
    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/_content.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/_content.html deleted file mode 100644 index f7b8e2e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/_content.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - AJAX Content - - -

    Here is the content loaded via AJAX.

    -
      -
    • easyui is a collection of user-interface plugin based on jQuery.
    • -
    • easyui provides essential functionality for building modern, interactive, javascript applications.
    • -
    • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
    • -
    • complete framework for HTML5 web page.
    • -
    • easyui save your time and scales while developing your products.
    • -
    • easyui is very easy but powerful.
    • -
    - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/autoheight.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/autoheight.html deleted file mode 100644 index e34a3dc..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/autoheight.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - Auto Height for Tabs - jQuery EasyUI Demo - - - - - - - -

    Auto Height for Tabs

    -

    The tabs height is auto adjusted according to tab panel content.

    -
    -
    -
    -

    jQuery EasyUI framework helps you build your web pages easily.

    -
      -
    • easyui is a collection of user-interface plugin based on jQuery.
    • -
    • easyui provides essential functionality for building modem, interactive, javascript applications.
    • -
    • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
    • -
    • complete framework for HTML5 web page.
    • -
    • easyui save your time and scales while developing your products.
    • -
    • easyui is very easy but powerful.
    • -
    -
    -
    -
      -
      -
      - This is the help content. -
      -
      - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/basic.html deleted file mode 100644 index 293b91c..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/basic.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - Basic Tabs - jQuery EasyUI Demo - - - - - - - -

      Basic Tabs

      -

      Click tab strip to swap tab panel content.

      -
      -
      -
      -

      jQuery EasyUI framework helps you build your web pages easily.

      -
        -
      • easyui is a collection of user-interface plugin based on jQuery.
      • -
      • easyui provides essential functionality for building modem, interactive, javascript applications.
      • -
      • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
      • -
      • complete framework for HTML5 web page.
      • -
      • easyui save your time and scales while developing your products.
      • -
      • easyui is very easy but powerful.
      • -
      -
      -
      -
        -
        -
        - This is the help content. -
        -
        - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/dropdown.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/dropdown.html deleted file mode 100644 index 7c9daac..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/dropdown.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - Tabs with DropDown - jQuery EasyUI Demo - - - - - - - -

        Tabs with DropDown

        -

        This sample shows how to add a dropdown menu over a tab strip.

        -
        -
        -
        -

        jQuery EasyUI framework helps you build your web pages easily.

        -
          -
        • easyui is a collection of user-interface plugin based on jQuery.
        • -
        • easyui provides essential functionality for building modem, interactive, javascript applications.
        • -
        • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
        • -
        • complete framework for HTML5 web page.
        • -
        • easyui save your time and scales while developing your products.
        • -
        • easyui is very easy but powerful.
        • -
        -
        -
        -
          -
          -
          - This is the help content. -
          -
          -
          -
          Welcome
          -
          Help Contents
          -
          Search
          -
          Dynamic Help
          -
          - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/fixedwidth.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/fixedwidth.html deleted file mode 100644 index 390e987..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/fixedwidth.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - Fixed Tab Width - jQuery EasyUI Demo - - - - - - - -

          Fixed Tab Width

          -

          The tab strips have fixed width and height.

          -
          -
          -
          -

          Home Content.

          -
          -
          -

          Maps Content.

          -
          -
          -

          Journal Content.

          -
          -
          -

          History Content.

          -
          -
          -

          References Content.

          -
          -
          -

          Contact Content.

          -
          -
          - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/hover.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/hover.html deleted file mode 100644 index 5b62ac9..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/hover.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - Hover Tabs - jQuery EasyUI Demo - - - - - - - -

          Hover Tabs

          -

          Move mouse over the tab strip to open the tab panel.

          -
          -
          -
          -

          jQuery EasyUI framework helps you build your web pages easily.

          -
            -
          • easyui is a collection of user-interface plugin based on jQuery.
          • -
          • easyui provides essential functionality for building modem, interactive, javascript applications.
          • -
          • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
          • -
          • complete framework for HTML5 web page.
          • -
          • easyui save your time and scales while developing your products.
          • -
          • easyui is very easy but powerful.
          • -
          -
          -
          -
            -
            -
            - This is the help content. -
            -
            - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/images/modem.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/images/modem.png deleted file mode 100644 index be5a2eb..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/images/modem.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/images/pda.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/images/pda.png deleted file mode 100644 index 1458d9b..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/images/pda.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/images/scanner.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/images/scanner.png deleted file mode 100644 index 974635d..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/images/scanner.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/images/tablet.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/images/tablet.png deleted file mode 100644 index fa871f5..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/images/tablet.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/nestedtabs.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/nestedtabs.html deleted file mode 100644 index 94c2ac5..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/nestedtabs.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - Nested Tabs - jQuery EasyUI Demo - - - - - - - -

            Nested Tabs

            -

            The tab panel can contain sub tabs or other components.

            -
            -
            -
            -
            -
            Content 1
            -
            Content 2
            -
            Content 3
            -
            -
            -
            -
            - -
            -
            - - - - - - - - - - - - - - - - - - - - -
            Title1Title2Title3
            d11d12d13
            d21d22d23
            -
            -
            - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/striptools.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/striptools.html deleted file mode 100644 index 83e6ba0..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/striptools.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Tabs Strip Tools - jQuery EasyUI Demo - - - - - - - -

            Tabs Strip Tools

            -

            Click the mini-buttons on the tab strip to perform actions.

            -
            -
            -
            -

            jQuery EasyUI framework helps you build your web pages easily.

            -
              -
            • easyui is a collection of user-interface plugin based on jQuery.
            • -
            • easyui provides essential functionality for building modem, interactive, javascript applications.
            • -
            • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
            • -
            • complete framework for HTML5 web page.
            • -
            • easyui save your time and scales while developing your products.
            • -
            • easyui is very easy but powerful.
            • -
            -
            -
            - This is the help content. -
            -
            -
            - - - -
            - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/tabimage.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/tabimage.html deleted file mode 100644 index e9df65d..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/tabimage.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - Tabs with Images - jQuery EasyUI Demo - - - - - - - -

            Tabs with Images

            -

            The tab strip can display big images.

            -
            -
            -
            -

            A modem (modulator-demodulator) is a device that modulates an analog carrier signal to encode digital information, and also demodulates such a carrier signal to decode the transmitted information.

            -
            -
            -

            In computing, an image scanner—often abbreviated to just scanner—is a device that optically scans images, printed text, handwriting, or an object, and converts it to a digital image.

            -
            -
            -

            A personal digital assistant (PDA), also known as a palmtop computer, or personal data assistant, is a mobile device that functions as a personal information manager. PDAs are largely considered obsolete with the widespread adoption of smartphones.

            -
            -
            -

            A tablet computer, or simply tablet, is a one-piece mobile computer. Devices typically have a touchscreen, with finger or stylus gestures replacing the conventional computer mouse.

            -
            -
            - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/tabposition.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/tabposition.html deleted file mode 100644 index 9f1bc19..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/tabposition.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - Tab Position - jQuery EasyUI Demo - - - - - - - -

            Tab Position

            -

            Click the 'position' drop-down list and select an item to change the tab position.

            -
            - Position: - -
            -
            -
            -

            jQuery EasyUI framework helps you build your web pages easily.

            -
              -
            • easyui is a collection of user-interface plugin based on jQuery.
            • -
            • easyui provides essential functionality for building modem, interactive, javascript applications.
            • -
            • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
            • -
            • complete framework for HTML5 web page.
            • -
            • easyui save your time and scales while developing your products.
            • -
            • easyui is very easy but powerful.
            • -
            -
            -
            -
              -
              -
              - This is the help content. -
              -
              - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/tabstools.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/tabstools.html deleted file mode 100644 index 48bdda8..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/tabstools.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - Tabs Tools - jQuery EasyUI Demo - - - - - - - -

              Tabs Tools

              -

              Click the buttons on the top right of tabs header to add or remove tab panel.

              -
              -
              -
              -
              - - -
              - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/tree_data1.json b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/tree_data1.json deleted file mode 100644 index 83fb0d6..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tabs/tree_data1.json +++ /dev/null @@ -1,49 +0,0 @@ -[{ - "id":1, - "text":"My Documents", - "children":[{ - "id":11, - "text":"Photos", - "state":"closed", - "children":[{ - "id":111, - "text":"Friend" - },{ - "id":112, - "text":"Wife" - },{ - "id":113, - "text":"Company" - }] - },{ - "id":12, - "text":"Program Files", - "children":[{ - "id":121, - "text":"Intel" - },{ - "id":122, - "text":"Java", - "attributes":{ - "p1":"Custom Attribute1", - "p2":"Custom Attribute2" - } - },{ - "id":123, - "text":"Microsoft Office" - },{ - "id":124, - "text":"Games", - "checked":true - }] - },{ - "id":13, - "text":"index.html" - },{ - "id":14, - "text":"about.html" - },{ - "id":15, - "text":"welcome.html" - }] -}] diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/timespinner/actions.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/timespinner/actions.html deleted file mode 100644 index 62a70bf..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/timespinner/actions.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - TimeSpinner Actions - jQuery EasyUI Demo - - - - - - - -

              TimeSpinner Actions

              -

              Click the buttons below to perform actions.

              - - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/timespinner/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/timespinner/basic.html deleted file mode 100644 index 8c32d30..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/timespinner/basic.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - Basic TimeSpinner - jQuery EasyUI Demo - - - - - - - -

              Basic TimeSpinner

              -

              Click spin button to adjust time.

              -
              - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/timespinner/range.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/timespinner/range.html deleted file mode 100644 index 63bbf55..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/timespinner/range.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - Time Range - jQuery EasyUI Demo - - - - - - - -

              Time Range

              -

              The time value is constrained in specified range.

              -
              - From 08:30 to 18:00 -
              - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/_content.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/_content.html deleted file mode 100644 index f7b8e2e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/_content.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - AJAX Content - - -

              Here is the content loaded via AJAX.

              -
                -
              • easyui is a collection of user-interface plugin based on jQuery.
              • -
              • easyui provides essential functionality for building modern, interactive, javascript applications.
              • -
              • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
              • -
              • complete framework for HTML5 web page.
              • -
              • easyui save your time and scales while developing your products.
              • -
              • easyui is very easy but powerful.
              • -
              - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/_dialog.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/_dialog.html deleted file mode 100644 index 2c1b464..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/_dialog.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - Dialog Content - - -
              -
              -
              User Name:
              - -
              -
              -
              Password:
              - -
              -
              - Login - Cancel -
              -
              - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/ajax.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/ajax.html deleted file mode 100644 index 2de45de..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/ajax.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - Ajax Tooltip - jQuery EasyUI Demo - - - - - - - -

              Ajax Tooltip

              -

              The tooltip content can be loaded via AJAX.

              -
              - Hove me to display tooltip content via AJAX. - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/basic.html deleted file mode 100644 index b9ad0e0..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/basic.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - Basic Tooltip - jQuery EasyUI Demo - - - - - - - -

              Basic Tooltip

              -

              Hover the links to display tooltip message.

              -
              -

              The tooltip can use each elements title attribute. - Hover me to display tooltip. -

              - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/customcontent.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/customcontent.html deleted file mode 100644 index 3e1ce97..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/customcontent.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - Custom Tooltip Content - jQuery EasyUI Demo - - - - - - - -

              Custom Tooltip Content

              -

              Access to each elements attribute to get the tooltip content.

              -
              -
              -
              -
              - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/customstyle.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/customstyle.html deleted file mode 100644 index b5c8f3e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/customstyle.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - Custom Tooltip Style - jQuery EasyUI Demo - - - - - - - -

              Custom Tooltip Style

              -

              This sample shows how to change the tooltip style.

              -
              -
              -
              Hover Me
              -
              -
              -
              Hover Me
              -
              - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/position.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/position.html deleted file mode 100644 index ac97d67..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/position.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - Tooltip Position - jQuery EasyUI Demo - - - - - - - -

              Tooltip Position

              -

              Click the drop-down list below to change where the tooltip appears.

              -
              - Select position: - -
              -
              Hover Me
              -
              - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/toolbar.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/toolbar.html deleted file mode 100644 index ac1dff7..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/toolbar.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - Tooltip as Toolbar - jQuery EasyUI Demo - - - - - - - -

              Tooltip as Toolbar

              -

              This sample shows how to create a tooltip style toolbar.

              -
              -
              -

              Hover me to display toolbar.

              -
              -
              -
              - - - - - -
              -
              - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/tooltipdialog.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/tooltipdialog.html deleted file mode 100644 index caee524..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tooltip/tooltipdialog.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Tooltip Dialog - jQuery EasyUI Demo - - - - - - - -

              Tooltip Dialog

              -

              This sample shows how to create a tooltip dialog.

              -
              -
              -

              Click here to see the tooltip dialog. -

              - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/actions.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/actions.html deleted file mode 100644 index b5e2d4b..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/actions.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - Tree Actions - jQuery EasyUI Demo - - - - - - - -

              Tree Actions

              -

              Click the buttons below to perform actions.

              - -
              -
                -
                - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/animation.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/animation.html deleted file mode 100644 index d7ea6cc..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/animation.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - Animation Tree - jQuery EasyUI Demo - - - - - - - -

                Animation Tree

                -

                Apply 'animate' property to true to enable animation effect.

                -
                -
                -
                  -
                  - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/basic.html deleted file mode 100644 index 9d937a7..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/basic.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Basic Tree - jQuery EasyUI Demo - - - - - - - -

                  Basic Tree

                  -

                  Click the arrow on the left to expand or collapse nodes.

                  -
                  -
                  -
                    -
                  • - My Documents -
                      -
                    • - Photos -
                        -
                      • - Friend -
                      • -
                      • - Wife -
                      • -
                      • - Company -
                      • -
                      -
                    • -
                    • - Program Files -
                        -
                      • Intel
                      • -
                      • Java
                      • -
                      • Microsoft Office
                      • -
                      • Games
                      • -
                      -
                    • -
                    • index.html
                    • -
                    • about.html
                    • -
                    • welcome.html
                    • -
                    -
                  • -
                  -
                  - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/checkbox.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/checkbox.html deleted file mode 100644 index 734266e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/checkbox.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - CheckBox Tree - jQuery EasyUI Demo - - - - - - - -

                  CheckBox Tree

                  -

                  Tree nodes with check boxes.

                  - -
                  - CascadeCheck - OnlyLeafCheck -
                  -
                  -
                    -
                    - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/contextmenu.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/contextmenu.html deleted file mode 100644 index 67f14d0..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/contextmenu.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - Tree Context Menu - jQuery EasyUI Demo - - - - - - - -

                    Tree Context Menu

                    -

                    Right click on a node to display context menu.

                    -
                    -
                    -
                      -
                      -
                      -
                      Append
                      -
                      Remove
                      - -
                      Expand
                      -
                      Collapse
                      -
                      - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/dnd.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/dnd.html deleted file mode 100644 index fdf4c1f..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/dnd.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - Drag Drop Tree Nodes - jQuery EasyUI Demo - - - - - - - -

                      Drag Drop Tree Nodes

                      -

                      Press mouse down and drag a node to another position.

                      -
                      -
                      -
                        -
                        - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/editable.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/editable.html deleted file mode 100644 index afbb8c6..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/editable.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - Editable Tree - jQuery EasyUI Demo - - - - - - - -

                        Editable Tree

                        -

                        Click the node to begin edit, press enter key to stop edit or esc key to cancel edit.

                        -
                        -
                        -
                          -
                          - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/formatting.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/formatting.html deleted file mode 100644 index e83d180..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/formatting.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - Formatting Tree Nodes - jQuery EasyUI Demo - - - - - - - -

                          Formatting Tree Nodes

                          -

                          This example shows how to display extra information on nodes.

                          -
                          -
                          -
                            -
                          -
                          - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/icons.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/icons.html deleted file mode 100644 index c50df79..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/icons.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - Tree Node Icons - jQuery EasyUI Demo - - - - - - - -

                          Tree Node Icons

                          -

                          This sample illustrates how to add icons to tree node.

                          -
                          -
                          -
                            -
                            - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/lazyload.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/lazyload.html deleted file mode 100644 index 014b255..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/lazyload.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - Lazy Load Tree Nodes - jQuery EasyUI Demo - - - - - - - -

                            Lazy Load Tree Nodes

                            -

                            Get full hierarchical tree data but lazy load nodes level by level.

                            -
                            -
                            -
                              -
                              - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/lines.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/lines.html deleted file mode 100644 index 820ac44..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/lines.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - Tree Lines - jQuery EasyUI Demo - - - - - - - -

                              Tree Lines

                              -

                              This sample shows how to show tree lines.

                              -
                              -
                              -
                                -
                                - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/tree_data1.json b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/tree_data1.json deleted file mode 100644 index 83fb0d6..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/tree_data1.json +++ /dev/null @@ -1,49 +0,0 @@ -[{ - "id":1, - "text":"My Documents", - "children":[{ - "id":11, - "text":"Photos", - "state":"closed", - "children":[{ - "id":111, - "text":"Friend" - },{ - "id":112, - "text":"Wife" - },{ - "id":113, - "text":"Company" - }] - },{ - "id":12, - "text":"Program Files", - "children":[{ - "id":121, - "text":"Intel" - },{ - "id":122, - "text":"Java", - "attributes":{ - "p1":"Custom Attribute1", - "p2":"Custom Attribute2" - } - },{ - "id":123, - "text":"Microsoft Office" - },{ - "id":124, - "text":"Games", - "checked":true - }] - },{ - "id":13, - "text":"index.html" - },{ - "id":14, - "text":"about.html" - },{ - "id":15, - "text":"welcome.html" - }] -}] diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/tree_data2.json b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/tree_data2.json deleted file mode 100644 index 14e3429..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/tree/tree_data2.json +++ /dev/null @@ -1,61 +0,0 @@ -[{ - "id":1, - "text":"My Documents", - "children":[{ - "id":11, - "text":"Photos", - "state":"closed", - "children":[{ - "id":111, - "text":"Friend" - },{ - "id":112, - "text":"Wife" - },{ - "id":113, - "text":"Company" - }] - },{ - "id":12, - "text":"Program Files", - "state":"closed", - "children":[{ - "id":121, - "text":"Intel" - },{ - "id":122, - "text":"Java" - },{ - "id":123, - "text":"Microsoft Office" - },{ - "id":124, - "text":"Games" - }] - },{ - "id":16, - "text":"Actions", - "children":[{ - "text":"Add", - "iconCls":"icon-add" - },{ - "text":"Remove", - "iconCls":"icon-remove" - },{ - "text":"Save", - "iconCls":"icon-save" - },{ - "text":"Search", - "iconCls":"icon-search" - }] - },{ - "id":13, - "text":"index.html" - },{ - "id":14, - "text":"about.html" - },{ - "id":15, - "text":"welcome.html" - }] -}] diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/actions.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/actions.html deleted file mode 100644 index 31430a5..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/actions.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - TreeGrid Actions - jQuery EasyUI Demo - - - - - - - -

                                TreeGrid Actions

                                -

                                Click the buttons below to perform actions.

                                - - - - - - - - - - - -
                                Task NamePersonsBegin DateEnd DateProgress
                                - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/basic.html deleted file mode 100644 index 7daefeb..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/basic.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - Basic TreeGrid - jQuery EasyUI Demo - - - - - - - -

                                Basic TreeGrid

                                -

                                TreeGrid allows you to expand or collapse group rows.

                                -
                                - - - - - - - - -
                                NameSizeModified Date
                                - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/clientpagination.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/clientpagination.html deleted file mode 100644 index a8ae3c6..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/clientpagination.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - Client Side Pagination in TreeGrid - jQuery EasyUI Demo - - - - - - - -

                                Client Side Pagination in TreeGrid

                                -

                                This sample shows how to implement client side pagination in TreeGrid.

                                -
                                - - - - - - - - - - -
                                Task NamePersonsBegin DateEnd DateProgress
                                - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/contextmenu.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/contextmenu.html deleted file mode 100644 index eebf20f..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/contextmenu.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - TreeGrid ContextMenu - jQuery EasyUI Demo - - - - - - - -

                                TreeGrid ContextMenu

                                -

                                Right click to display the context menu.

                                -
                                - - - - - - - - - - -
                                Task NamePersonsBegin DateEnd DateProgress
                                -
                                -
                                Append
                                -
                                Remove
                                - -
                                Collapse
                                -
                                Expand
                                -
                                - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/editable.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/editable.html deleted file mode 100644 index 30713e6..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/editable.html +++ /dev/null @@ -1,93 +0,0 @@ - - - - - Editable TreeGrid - jQuery EasyUI Demo - - - - - - - -

                                Editable TreeGrid

                                -

                                Select one node and click edit button to perform editing.

                                -
                                - Edit - Save - Cancel -
                                - - - - - - - - - - -
                                Task NamePersonsBegin DateEnd DateProgress
                                - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/footer.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/footer.html deleted file mode 100644 index 5d1cff9..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/footer.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - TreeGrid with Footer - jQuery EasyUI Demo - - - - - - - -

                                TreeGrid with Footer

                                -

                                Show summary information on TreeGrid footer.

                                -
                                -
                                - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/reports.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/reports.html deleted file mode 100644 index 94f27f4..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/reports.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - Reports using TreeGrid - jQuery EasyUI Demo - - - - - - - -

                                Reports using TreeGrid

                                -

                                Using TreeGrid to show complex reports.

                                -
                                - - - - - - - - - - - - - - - - - - - - - - -
                                Region
                                20092010
                                1st qrt.2st qrt.3st qrt.4st qrt.1st qrt.2st qrt.3st qrt.4st qrt.
                                - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/treegrid_data1.json b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/treegrid_data1.json deleted file mode 100644 index 0313d46..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/treegrid_data1.json +++ /dev/null @@ -1,73 +0,0 @@ -[{ - "id":1, - "name":"C", - "size":"", - "date":"02/19/2010", - "children":[{ - "id":2, - "name":"Program Files", - "size":"120 MB", - "date":"03/20/2010", - "children":[{ - "id":21, - "name":"Java", - "size":"", - "date":"01/13/2010", - "state":"closed", - "children":[{ - "id":211, - "name":"java.exe", - "size":"142 KB", - "date":"01/13/2010" - },{ - "id":212, - "name":"jawt.dll", - "size":"5 KB", - "date":"01/13/2010" - }] - },{ - "id":22, - "name":"MySQL", - "size":"", - "date":"01/13/2010", - "state":"closed", - "children":[{ - "id":221, - "name":"my.ini", - "size":"10 KB", - "date":"02/26/2009" - },{ - "id":222, - "name":"my-huge.ini", - "size":"5 KB", - "date":"02/26/2009" - },{ - "id":223, - "name":"my-large.ini", - "size":"5 KB", - "date":"02/26/2009" - }] - }] - },{ - "id":3, - "name":"eclipse", - "size":"", - "date":"01/20/2010", - "children":[{ - "id":31, - "name":"eclipse.exe", - "size":"56 KB", - "date":"05/19/2009" - },{ - "id":32, - "name":"eclipse.ini", - "size":"1 KB", - "date":"04/20/2010" - },{ - "id":33, - "name":"notice.html", - "size":"7 KB", - "date":"03/17/2005" - }] - }] -}] \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/treegrid_data2.json b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/treegrid_data2.json deleted file mode 100644 index f917507..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/treegrid_data2.json +++ /dev/null @@ -1,11 +0,0 @@ -{"total":7,"rows":[ - {"id":1,"name":"All Tasks","begin":"3/4/2010","end":"3/20/2010","progress":60,"iconCls":"icon-ok"}, - {"id":2,"name":"Designing","begin":"3/4/2010","end":"3/10/2010","progress":100,"_parentId":1,"state":"closed"}, - {"id":21,"name":"Database","persons":2,"begin":"3/4/2010","end":"3/6/2010","progress":100,"_parentId":2}, - {"id":22,"name":"UML","persons":1,"begin":"3/7/2010","end":"3/8/2010","progress":100,"_parentId":2}, - {"id":23,"name":"Export Document","persons":1,"begin":"3/9/2010","end":"3/10/2010","progress":100,"_parentId":2}, - {"id":3,"name":"Coding","persons":2,"begin":"3/11/2010","end":"3/18/2010","progress":80}, - {"id":4,"name":"Testing","persons":1,"begin":"3/19/2010","end":"3/20/2010","progress":20} -],"footer":[ - {"name":"Total Persons:","persons":7,"iconCls":"icon-sum"} -]} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/treegrid_data3.json b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/treegrid_data3.json deleted file mode 100644 index 0475c38..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/treegrid/treegrid_data3.json +++ /dev/null @@ -1,13 +0,0 @@ -{"total":9,"rows":[ - {"id":1,"region":"Wyoming"}, - {"id":11,"region":"Albin","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":1}, - {"id":12,"region":"Canon","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":1}, - {"id":13,"region":"Egbert","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":1}, - {"id":2,"region":"Washington"}, - {"id":21,"region":"Bellingham","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":2}, - {"id":22,"region":"Chehalis","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":2}, - {"id":23,"region":"Ellensburg","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":2}, - {"id":24,"region":"Monroe","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":2} -],"footer":[ - {"region":"Total","f1":14000,"f2":12600,"f3":13321,"f4":15281,"f5":14931,"f6":13461,"f7":14126,"f8":12866} -]} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/validatebox/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/validatebox/basic.html deleted file mode 100644 index 701bca2..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/validatebox/basic.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - Basic ValidateBox - jQuery EasyUI Demo - - - - - - - -

                                Basic ValidateBox

                                -

                                It's easy to add validate logic to a input box.

                                -
                                -
                                - - - - - - - - - - - - - - - - - - - - - -
                                User Name:
                                Email:
                                Birthday:
                                URL:
                                Phone:
                                -
                                - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/validatebox/customtooltip.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/validatebox/customtooltip.html deleted file mode 100644 index 8574793..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/validatebox/customtooltip.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - Custom ValidateBox Tooltip - jQuery EasyUI Demo - - - - - - - -

                                Custom ValidateBox Tooltip

                                -

                                This sample shows how to display another tooltip message on a valid textbox.

                                -
                                -
                                - - - - - - - - - - - - - - - - - - - - - -
                                User Name:
                                Email:
                                Birthday:
                                URL:
                                Phone:
                                -
                                - - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/window/basic.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/window/basic.html deleted file mode 100644 index 4c3c551..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/window/basic.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - Basic Window - jQuery EasyUI Demo - - - - - - - -

                                Basic Window

                                -

                                Window can be dragged freely on screen.

                                -
                                - Open - Close -
                                -
                                - The window content. -
                                - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/window/customtools.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/window/customtools.html deleted file mode 100644 index 1a22ad1..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/window/customtools.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - Custom Window Tools - jQuery EasyUI Demo - - - - - - - -

                                Custom Window Tools

                                -

                                Click the right top buttons to perform actions.

                                -
                                - Open - Close -
                                -
                                - The window content. -
                                -
                                - - - - -
                                - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/window/inlinewindow.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/window/inlinewindow.html deleted file mode 100644 index 8335880..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/window/inlinewindow.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - Inline Window - jQuery EasyUI Demo - - - - - - - -

                                Inline Window

                                -

                                The inline window stay inside its parent.

                                -
                                - Open - Close -
                                -
                                -
                                - This window stay inside its parent -
                                -
                                - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/window/modalwindow.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/window/modalwindow.html deleted file mode 100644 index 59e79ca..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/window/modalwindow.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - Modal Window - jQuery EasyUI Demo - - - - - - - -

                                Modal Window

                                -

                                Click the open button below to open the modal window.

                                -
                                - Open - Close -
                                -
                                - The window content. -
                                - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/window/windowlayout.html b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/window/windowlayout.html deleted file mode 100644 index 7311ef6..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/demo/window/windowlayout.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Window Layout - jQuery EasyUI Demo - - - - - - - -

                                Window Layout

                                -

                                Using layout on window.

                                -
                                - Open - Close -
                                -
                                -
                                -
                                -
                                - jQuery EasyUI framework help you build your web page easily. -
                                -
                                - Ok - Cancel -
                                -
                                -
                                - - - \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/easyloader.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/easyloader.js deleted file mode 100644 index ee2a056..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/easyloader.js +++ /dev/null @@ -1,190 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function(){ -var _1={draggable:{js:"jquery.draggable.js"},droppable:{js:"jquery.droppable.js"},resizable:{js:"jquery.resizable.js"},linkbutton:{js:"jquery.linkbutton.js",css:"linkbutton.css"},progressbar:{js:"jquery.progressbar.js",css:"progressbar.css"},tooltip:{js:"jquery.tooltip.js",css:"tooltip.css"},pagination:{js:"jquery.pagination.js",css:"pagination.css",dependencies:["linkbutton"]},datagrid:{js:"jquery.datagrid.js",css:"datagrid.css",dependencies:["panel","resizable","linkbutton","pagination"]},treegrid:{js:"jquery.treegrid.js",css:"tree.css",dependencies:["datagrid"]},propertygrid:{js:"jquery.propertygrid.js",css:"propertygrid.css",dependencies:["datagrid"]},panel:{js:"jquery.panel.js",css:"panel.css"},window:{js:"jquery.window.js",css:"window.css",dependencies:["resizable","draggable","panel"]},dialog:{js:"jquery.dialog.js",css:"dialog.css",dependencies:["linkbutton","window"]},messager:{js:"jquery.messager.js",css:"messager.css",dependencies:["linkbutton","window","progressbar"]},layout:{js:"jquery.layout.js",css:"layout.css",dependencies:["resizable","panel"]},form:{js:"jquery.form.js"},menu:{js:"jquery.menu.js",css:"menu.css"},tabs:{js:"jquery.tabs.js",css:"tabs.css",dependencies:["panel","linkbutton"]},menubutton:{js:"jquery.menubutton.js",css:"menubutton.css",dependencies:["linkbutton","menu"]},splitbutton:{js:"jquery.splitbutton.js",css:"splitbutton.css",dependencies:["menubutton"]},accordion:{js:"jquery.accordion.js",css:"accordion.css",dependencies:["panel"]},calendar:{js:"jquery.calendar.js",css:"calendar.css"},combo:{js:"jquery.combo.js",css:"combo.css",dependencies:["panel","validatebox"]},combobox:{js:"jquery.combobox.js",css:"combobox.css",dependencies:["combo"]},combotree:{js:"jquery.combotree.js",dependencies:["combo","tree"]},combogrid:{js:"jquery.combogrid.js",dependencies:["combo","datagrid"]},validatebox:{js:"jquery.validatebox.js",css:"validatebox.css",dependencies:["tooltip"]},numberbox:{js:"jquery.numberbox.js",dependencies:["validatebox"]},searchbox:{js:"jquery.searchbox.js",css:"searchbox.css",dependencies:["menubutton"]},spinner:{js:"jquery.spinner.js",css:"spinner.css",dependencies:["validatebox"]},numberspinner:{js:"jquery.numberspinner.js",dependencies:["spinner","numberbox"]},timespinner:{js:"jquery.timespinner.js",dependencies:["spinner"]},tree:{js:"jquery.tree.js",css:"tree.css",dependencies:["draggable","droppable"]},datebox:{js:"jquery.datebox.js",css:"datebox.css",dependencies:["calendar","combo"]},datetimebox:{js:"jquery.datetimebox.js",dependencies:["datebox","timespinner"]},slider:{js:"jquery.slider.js",dependencies:["draggable"]},tooltip:{js:"jquery.tooltip.js"},parser:{js:"jquery.parser.js"}}; -var _2={"af":"easyui-lang-af.js","ar":"easyui-lang-ar.js","bg":"easyui-lang-bg.js","ca":"easyui-lang-ca.js","cs":"easyui-lang-cs.js","cz":"easyui-lang-cz.js","da":"easyui-lang-da.js","de":"easyui-lang-de.js","el":"easyui-lang-el.js","en":"easyui-lang-en.js","es":"easyui-lang-es.js","fr":"easyui-lang-fr.js","it":"easyui-lang-it.js","jp":"easyui-lang-jp.js","nl":"easyui-lang-nl.js","pl":"easyui-lang-pl.js","pt_BR":"easyui-lang-pt_BR.js","ru":"easyui-lang-ru.js","sv_SE":"easyui-lang-sv_SE.js","tr":"easyui-lang-tr.js","zh_CN":"easyui-lang-zh_CN.js","zh_TW":"easyui-lang-zh_TW.js"}; -var _3={}; -function _4(_5,_6){ -var _7=false; -var _8=document.createElement("script"); -_8.type="text/javascript"; -_8.language="javascript"; -_8.src=_5; -_8.onload=_8.onreadystatechange=function(){ -if(!_7&&(!_8.readyState||_8.readyState=="loaded"||_8.readyState=="complete")){ -_7=true; -_8.onload=_8.onreadystatechange=null; -if(_6){ -_6.call(_8); -} -} -}; -document.getElementsByTagName("head")[0].appendChild(_8); -}; -function _9(_a,_b){ -_4(_a,function(){ -document.getElementsByTagName("head")[0].removeChild(this); -if(_b){ -_b(); -} -}); -}; -function _c(_d,_e){ -var _f=document.createElement("link"); -_f.rel="stylesheet"; -_f.type="text/css"; -_f.media="screen"; -_f.href=_d; -document.getElementsByTagName("head")[0].appendChild(_f); -if(_e){ -_e.call(_f); -} -}; -function _10(_11,_12){ -_3[_11]="loading"; -var _13=_1[_11]; -var _14="loading"; -var _15=(easyloader.css&&_13["css"])?"loading":"loaded"; -if(easyloader.css&&_13["css"]){ -if(/^http/i.test(_13["css"])){ -var url=_13["css"]; -}else{ -var url=easyloader.base+"themes/"+easyloader.theme+"/"+_13["css"]; -} -_c(url,function(){ -_15="loaded"; -if(_14=="loaded"&&_15=="loaded"){ -_16(); -} -}); -} -if(/^http/i.test(_13["js"])){ -var url=_13["js"]; -}else{ -var url=easyloader.base+"plugins/"+_13["js"]; -} -_4(url,function(){ -_14="loaded"; -if(_14=="loaded"&&_15=="loaded"){ -_16(); -} -}); -function _16(){ -_3[_11]="loaded"; -easyloader.onProgress(_11); -if(_12){ -_12(); -} -}; -}; -function _17(_18,_19){ -var mm=[]; -var _1a=false; -if(typeof _18=="string"){ -add(_18); -}else{ -for(var i=0;i<_18.length;i++){ -add(_18[i]); -} -} -function add(_1b){ -if(!_1[_1b]){ -return; -} -var d=_1[_1b]["dependencies"]; -if(d){ -for(var i=0;i=0===c})}function bk(a){var b=bl.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function bC(a,b){return a.getElementsByTagName(b)[0]||a.appendChild(a.ownerDocument.createElement(b))}function bD(a,b){if(b.nodeType!==1||!p.hasData(a))return;var c,d,e,f=p._data(a),g=p._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d").appendTo(e.body),c=b.css("display");b.remove();if(c==="none"||c===""){bI=e.body.appendChild(bI||p.extend(e.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!bJ||!bI.createElement)bJ=(bI.contentWindow||bI.contentDocument).document,bJ.write(""),bJ.close();b=bJ.body.appendChild(bJ.createElement(a)),c=bH(b,"display"),e.body.removeChild(bI)}return bR[a]=c,c}function ch(a,b,c,d){var e;if(p.isArray(b))p.each(b,function(b,e){c||cd.test(a)?d(a,e):ch(a+"["+(typeof e=="object"?b:"")+"]",e,c,d)});else if(!c&&p.type(b)==="object")for(e in b)ch(a+"["+e+"]",b[e],c,d);else d(a,b)}function cy(a){return function(b,c){typeof b!="string"&&(c=b,b="*");var d,e,f,g=b.toLowerCase().split(s),h=0,i=g.length;if(p.isFunction(c))for(;h)[^>]*$|#([\w\-]*)$)/,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,y=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,z=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,A=/^-ms-/,B=/-([\da-z])/gi,C=function(a,b){return(b+"").toUpperCase()},D=function(){e.addEventListener?(e.removeEventListener("DOMContentLoaded",D,!1),p.ready()):e.readyState==="complete"&&(e.detachEvent("onreadystatechange",D),p.ready())},E={};p.fn=p.prototype={constructor:p,init:function(a,c,d){var f,g,h,i;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(typeof a=="string"){a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?f=[null,a,null]:f=u.exec(a);if(f&&(f[1]||!c)){if(f[1])return c=c instanceof p?c[0]:c,i=c&&c.nodeType?c.ownerDocument||c:e,a=p.parseHTML(f[1],i,!0),v.test(f[1])&&p.isPlainObject(c)&&this.attr.call(a,c,!0),p.merge(this,a);g=e.getElementById(f[2]);if(g&&g.parentNode){if(g.id!==f[2])return d.find(a);this.length=1,this[0]=g}return this.context=e,this.selector=a,this}return!c||c.jquery?(c||d).find(a):this.constructor(c).find(a)}return p.isFunction(a)?d.ready(a):(a.selector!==b&&(this.selector=a.selector,this.context=a.context),p.makeArray(a,this))},selector:"",jquery:"1.8.0",length:0,size:function(){return this.length},toArray:function(){return k.call(this)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=p.merge(this.constructor(),a);return d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")"),d},each:function(a,b){return p.each(this,a,b)},ready:function(a){return p.ready.promise().done(a),this},eq:function(a){return a=+a,a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(k.apply(this,arguments),"slice",k.call(arguments).join(","))},map:function(a){return this.pushStack(p.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:j,sort:[].sort,splice:[].splice},p.fn.init.prototype=p.fn,p.extend=p.fn.extend=function(){var a,c,d,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;typeof h=="boolean"&&(k=h,h=arguments[1]||{},i=2),typeof h!="object"&&!p.isFunction(h)&&(h={}),j===i&&(h=this,--i);for(;i0)return;d.resolveWith(e,[p]),p.fn.trigger&&p(e).trigger("ready").off("ready")},isFunction:function(a){return p.type(a)==="function"},isArray:Array.isArray||function(a){return p.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):E[m.call(a)]||"object"},isPlainObject:function(a){if(!a||p.type(a)!=="object"||a.nodeType||p.isWindow(a))return!1;try{if(a.constructor&&!n.call(a,"constructor")&&!n.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||n.call(a,d)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},error:function(a){throw new Error(a)},parseHTML:function(a,b,c){var d;return!a||typeof a!="string"?null:(typeof b=="boolean"&&(c=b,b=0),b=b||e,(d=v.exec(a))?[b.createElement(d[1])]:(d=p.buildFragment([a],b,c?null:[]),p.merge([],(d.cacheable?p.clone(d.fragment):d.fragment).childNodes)))},parseJSON:function(b){if(!b||typeof b!="string")return null;b=p.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(w.test(b.replace(y,"@").replace(z,"]").replace(x,"")))return(new Function("return "+b))();p.error("Invalid JSON: "+b)},parseXML:function(c){var d,e;if(!c||typeof c!="string")return null;try{a.DOMParser?(e=new DOMParser,d=e.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(f){d=b}return(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&p.error("Invalid XML: "+c),d},noop:function(){},globalEval:function(b){b&&r.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(A,"ms-").replace(B,C)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var e,f=0,g=a.length,h=g===b||p.isFunction(a);if(d){if(h){for(e in a)if(c.apply(a[e],d)===!1)break}else for(;f0&&a[0]&&a[i-1]||i===0||p.isArray(a));if(j)for(;h-1)i.splice(c,1),e&&(c<=g&&g--,c<=h&&h--)}),this},has:function(a){return p.inArray(a,i)>-1},empty:function(){return i=[],this},disable:function(){return i=j=c=b,this},disabled:function(){return!i},lock:function(){return j=b,c||l.disable(),this},locked:function(){return!j},fireWith:function(a,b){return b=b||[],b=[a,b.slice?b.slice():b],i&&(!d||j)&&(e?j.push(b):k(b)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!d}};return l},p.extend({Deferred:function(a){var b=[["resolve","done",p.Callbacks("once memory"),"resolved"],["reject","fail",p.Callbacks("once memory"),"rejected"],["notify","progress",p.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return p.Deferred(function(c){p.each(b,function(b,d){var f=d[0],g=a[b];e[d[1]](p.isFunction(g)?function(){var a=g.apply(this,arguments);a&&p.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f+"With"](this===e?c:this,[a])}:c[f])}),a=null}).promise()},promise:function(a){return typeof a=="object"?p.extend(a,d):d}},e={};return d.pipe=d.then,p.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[a^1][2].disable,b[2][2].lock),e[f[0]]=g.fire,e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=k.call(arguments),d=c.length,e=d!==1||a&&p.isFunction(a.promise)?d:0,f=e===1?a:p.Deferred(),g=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?k.call(arguments):d,c===h?f.notifyWith(b,c):--e||f.resolveWith(b,c)}},h,i,j;if(d>1){h=new Array(d),i=new Array(d),j=new Array(d);for(;b
                                a",c=n.getElementsByTagName("*"),d=n.getElementsByTagName("a")[0],d.style.cssText="top:1px;float:left;opacity:.5";if(!c||!c.length||!d)return{};f=e.createElement("select"),g=f.appendChild(e.createElement("option")),h=n.getElementsByTagName("input")[0],b={leadingWhitespace:n.firstChild.nodeType===3,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/top/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.5/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:h.value==="on",optSelected:g.selected,getSetAttribute:n.className!=="t",enctype:!!e.createElement("form").enctype,html5Clone:e.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:e.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},h.checked=!0,b.noCloneChecked=h.cloneNode(!0).checked,f.disabled=!0,b.optDisabled=!g.disabled;try{delete n.test}catch(o){b.deleteExpando=!1}!n.addEventListener&&n.attachEvent&&n.fireEvent&&(n.attachEvent("onclick",m=function(){b.noCloneEvent=!1}),n.cloneNode(!0).fireEvent("onclick"),n.detachEvent("onclick",m)),h=e.createElement("input"),h.value="t",h.setAttribute("type","radio"),b.radioValue=h.value==="t",h.setAttribute("checked","checked"),h.setAttribute("name","t"),n.appendChild(h),i=e.createDocumentFragment(),i.appendChild(n.lastChild),b.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=h.checked,i.removeChild(h),i.appendChild(n);if(n.attachEvent)for(k in{submit:!0,change:!0,focusin:!0})j="on"+k,l=j in n,l||(n.setAttribute(j,"return;"),l=typeof n[j]=="function"),b[k+"Bubbles"]=l;return p(function(){var c,d,f,g,h="padding:0;margin:0;border:0;display:block;overflow:hidden;",i=e.getElementsByTagName("body")[0];if(!i)return;c=e.createElement("div"),c.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",i.insertBefore(c,i.firstChild),d=e.createElement("div"),c.appendChild(d),d.innerHTML="
                                t
                                ",f=d.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",l=f[0].offsetHeight===0,f[0].style.display="",f[1].style.display="none",b.reliableHiddenOffsets=l&&f[0].offsetHeight===0,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",b.boxSizing=d.offsetWidth===4,b.doesNotIncludeMarginInBodyOffset=i.offsetTop!==1,a.getComputedStyle&&(b.pixelPosition=(a.getComputedStyle(d,null)||{}).top!=="1%",b.boxSizingReliable=(a.getComputedStyle(d,null)||{width:"4px"}).width==="4px",g=e.createElement("div"),g.style.cssText=d.style.cssText=h,g.style.marginRight=g.style.width="0",d.style.width="1px",d.appendChild(g),b.reliableMarginRight=!parseFloat((a.getComputedStyle(g,null)||{}).marginRight)),typeof d.style.zoom!="undefined"&&(d.innerHTML="",d.style.cssText=h+"width:1px;padding:1px;display:inline;zoom:1",b.inlineBlockNeedsLayout=d.offsetWidth===3,d.style.display="block",d.style.overflow="visible",d.innerHTML="
                                ",d.firstChild.style.width="5px",b.shrinkWrapBlocks=d.offsetWidth!==3,c.style.zoom=1),i.removeChild(c),c=d=f=g=null}),i.removeChild(n),c=d=f=g=h=i=n=null,b}();var H=/^(?:\{.*\}|\[.*\])$/,I=/([A-Z])/g;p.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(p.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){return a=a.nodeType?p.cache[a[p.expando]]:a[p.expando],!!a&&!K(a)},data:function(a,c,d,e){if(!p.acceptData(a))return;var f,g,h=p.expando,i=typeof c=="string",j=a.nodeType,k=j?p.cache:a,l=j?a[h]:a[h]&&h;if((!l||!k[l]||!e&&!k[l].data)&&i&&d===b)return;l||(j?a[h]=l=p.deletedIds.pop()||++p.uuid:l=h),k[l]||(k[l]={},j||(k[l].toJSON=p.noop));if(typeof c=="object"||typeof c=="function")e?k[l]=p.extend(k[l],c):k[l].data=p.extend(k[l].data,c);return f=k[l],e||(f.data||(f.data={}),f=f.data),d!==b&&(f[p.camelCase(c)]=d),i?(g=f[c],g==null&&(g=f[p.camelCase(c)])):g=f,g},removeData:function(a,b,c){if(!p.acceptData(a))return;var d,e,f,g=a.nodeType,h=g?p.cache:a,i=g?a[p.expando]:p.expando;if(!h[i])return;if(b){d=c?h[i]:h[i].data;if(d){p.isArray(b)||(b in d?b=[b]:(b=p.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,f=b.length;e1,null,!1))},removeData:function(a){return this.each(function(){p.removeData(this,a)})}}),p.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=p._data(a,b),c&&(!d||p.isArray(c)?d=p._data(a,b,p.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=p.queue(a,b),d=c.shift(),e=p._queueHooks(a,b),f=function(){p.dequeue(a,b)};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),delete e.stop,d.call(a,f,e)),!c.length&&e&&e.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return p._data(a,c)||p._data(a,c,{empty:p.Callbacks("once memory").add(function(){p.removeData(a,b+"queue",!0),p.removeData(a,c,!0)})})}}),p.fn.extend({queue:function(a,c){var d=2;return typeof a!="string"&&(c=a,a="fx",d--),arguments.length1)},removeAttr:function(a){return this.each(function(){p.removeAttr(this,a)})},prop:function(a,b){return p.access(this,p.prop,a,b,arguments.length>1)},removeProp:function(a){return a=p.propFix[a]||a,this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,f,g,h;if(p.isFunction(a))return this.each(function(b){p(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(s);for(c=0,d=this.length;c-1)d=d.replace(" "+c[f]+" "," ");e.className=a?p.trim(d):""}}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";return p.isFunction(a)?this.each(function(c){p(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if(c==="string"){var e,f=0,g=p(this),h=b,i=a.split(s);while(e=i[f++])h=d?h:!g.hasClass(e),g[h?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&p._data(this,"__className__",this.className),this.className=this.className||a===!1?"":p._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c-1)return!0;return!1},val:function(a){var c,d,e,f=this[0];if(!arguments.length){if(f)return c=p.valHooks[f.type]||p.valHooks[f.nodeName.toLowerCase()],c&&"get"in c&&(d=c.get(f,"value"))!==b?d:(d=f.value,typeof d=="string"?d.replace(P,""):d==null?"":d);return}return e=p.isFunction(a),this.each(function(d){var f,g=p(this);if(this.nodeType!==1)return;e?f=a.call(this,d,g.val()):f=a,f==null?f="":typeof f=="number"?f+="":p.isArray(f)&&(f=p.map(f,function(a){return a==null?"":a+""})),c=p.valHooks[this.type]||p.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,f,"value")===b)this.value=f})}}),p.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,f=a.selectedIndex,g=[],h=a.options,i=a.type==="select-one";if(f<0)return null;c=i?f:0,d=i?f+1:h.length;for(;c=0}),c.length||(a.selectedIndex=-1),c}}},attrFn:{},attr:function(a,c,d,e){var f,g,h,i=a.nodeType;if(!a||i===3||i===8||i===2)return;if(e&&p.isFunction(p.fn[c]))return p(a)[c](d);if(typeof a.getAttribute=="undefined")return p.prop(a,c,d);h=i!==1||!p.isXMLDoc(a),h&&(c=c.toLowerCase(),g=p.attrHooks[c]||(T.test(c)?M:L));if(d!==b){if(d===null){p.removeAttr(a,c);return}return g&&"set"in g&&h&&(f=g.set(a,d,c))!==b?f:(a.setAttribute(c,""+d),d)}return g&&"get"in g&&h&&(f=g.get(a,c))!==null?f:(f=a.getAttribute(c),f===null?b:f)},removeAttr:function(a,b){var c,d,e,f,g=0;if(b&&a.nodeType===1){d=b.split(s);for(;g=0}})});var V=/^(?:textarea|input|select)$/i,W=/^([^\.]*|)(?:\.(.+)|)$/,X=/(?:^|\s)hover(\.\S+|)\b/,Y=/^key/,Z=/^(?:mouse|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=function(a){return p.event.special.hover?a:a.replace(X,"mouseenter$1 mouseleave$1")};p.event={add:function(a,c,d,e,f){var g,h,i,j,k,l,m,n,o,q,r;if(a.nodeType===3||a.nodeType===8||!c||!d||!(g=p._data(a)))return;d.handler&&(o=d,d=o.handler,f=o.selector),d.guid||(d.guid=p.guid++),i=g.events,i||(g.events=i={}),h=g.handle,h||(g.handle=h=function(a){return typeof p!="undefined"&&(!a||p.event.triggered!==a.type)?p.event.dispatch.apply(h.elem,arguments):b},h.elem=a),c=p.trim(_(c)).split(" ");for(j=0;j=0&&(s=s.slice(0,-1),i=!0),s.indexOf(".")>=0&&(t=s.split("."),s=t.shift(),t.sort());if((!f||p.event.customEvent[s])&&!p.event.global[s])return;c=typeof c=="object"?c[p.expando]?c:new p.Event(s,c):new p.Event(s),c.type=s,c.isTrigger=!0,c.exclusive=i,c.namespace=t.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+t.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,m=s.indexOf(":")<0?"on"+s:"";if(!f){h=p.cache;for(j in h)h[j].events&&h[j].events[s]&&p.event.trigger(c,d,h[j].handle.elem,!0);return}c.result=b,c.target||(c.target=f),d=d!=null?p.makeArray(d):[],d.unshift(c),n=p.event.special[s]||{};if(n.trigger&&n.trigger.apply(f,d)===!1)return;q=[[f,n.bindType||s]];if(!g&&!n.noBubble&&!p.isWindow(f)){r=n.delegateType||s,k=$.test(r+s)?f:f.parentNode;for(l=f;k;k=k.parentNode)q.push([k,r]),l=k;l===(f.ownerDocument||e)&&q.push([l.defaultView||l.parentWindow||a,r])}for(j=0;jq&&u.push({elem:this,matches:o.slice(q)});for(d=0;d0?this.on(b,null,a,c):this.trigger(b)},Y.test(b)&&(p.event.fixHooks[b]=p.event.keyHooks),Z.test(b)&&(p.event.fixHooks[b]=p.event.mouseHooks)}),function(a,b){function bd(a,b,c,d){var e=0,f=b.length;for(;e0?h(g,c,f):[]}function bf(a,c,d,e,f){var g,h,i,j,k,l,m,n,p=0,q=f.length,s=L.POS,t=new RegExp("^"+s.source+"(?!"+r+")","i"),u=function(){var a=1,c=arguments.length-2;for(;ai){m=a.slice(i,g.index),i=n,l=[c],B.test(m)&&(k&&(l=k),k=e);if(h=H.test(m))m=m.slice(0,-5).replace(B,"$&*");g.length>1&&g[0].replace(t,u),k=be(m,g[1],g[2],l,k,h)}}k?(j=j.concat(k),(m=a.slice(i))&&m!==")"?B.test(m)?bd(m,j,d,e):Z(m,c,d,e?e.concat(k):k):o.apply(d,j)):Z(a,c,d,e)}return q===1?d:Z.uniqueSort(d)}function bg(a,b,c){var d,e,f,g=[],i=0,j=D.exec(a),k=!j.pop()&&!j.pop(),l=k&&a.match(C)||[""],m=$.preFilter,n=$.filter,o=!c&&b!==h;for(;(e=l[i])!=null&&k;i++){g.push(d=[]),o&&(e=" "+e);while(e){k=!1;if(j=B.exec(e))e=e.slice(j[0].length),k=d.push({part:j.pop().replace(A," "),captures:j});for(f in n)(j=L[f].exec(e))&&(!m[f]||(j=m[f](j,b,c)))&&(e=e.slice(j.shift().length),k=d.push({part:f,captures:j}));if(!k)break}}return k||Z.error(a),g}function bh(a,b,e){var f=b.dir,g=m++;return a||(a=function(a){return a===e}),b.first?function(b,c){while(b=b[f])if(b.nodeType===1)return a(b,c)&&b}:function(b,e){var h,i=g+"."+d,j=i+"."+c;while(b=b[f])if(b.nodeType===1){if((h=b[q])===j)return b.sizset;if(typeof h=="string"&&h.indexOf(i)===0){if(b.sizset)return b}else{b[q]=j;if(a(b,e))return b.sizset=!0,b;b.sizset=!1}}}}function bi(a,b){return a?function(c,d){var e=b(c,d);return e&&a(e===!0?c:e,d)}:b}function bj(a,b,c){var d,e,f=0;for(;d=a[f];f++)$.relative[d.part]?e=bh(e,$.relative[d.part],b):(d.captures.push(b,c),e=bi(e,$.filter[d.part].apply(null,d.captures)));return e}function bk(a){return function(b,c){var d,e=0;for(;d=a[e];e++)if(d(b,c))return!0;return!1}}var c,d,e,f,g,h=a.document,i=h.documentElement,j="undefined",k=!1,l=!0,m=0,n=[].slice,o=[].push,q=("sizcache"+Math.random()).replace(".",""),r="[\\x20\\t\\r\\n\\f]",s="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",t=s.replace("w","w#"),u="([*^$|!~]?=)",v="\\["+r+"*("+s+")"+r+"*(?:"+u+r+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+t+")|)|)"+r+"*\\]",w=":("+s+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|((?:[^,]|\\\\,|(?:,(?=[^\\[]*\\]))|(?:,(?=[^\\(]*\\))))*))\\)|)",x=":(nth|eq|gt|lt|first|last|even|odd)(?:\\((\\d*)\\)|)(?=[^-]|$)",y=r+"*([\\x20\\t\\r\\n\\f>+~])"+r+"*",z="(?=[^\\x20\\t\\r\\n\\f])(?:\\\\.|"+v+"|"+w.replace(2,7)+"|[^\\\\(),])+",A=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),B=new RegExp("^"+y),C=new RegExp(z+"?(?="+r+"*,|$)","g"),D=new RegExp("^(?:(?!,)(?:(?:^|,)"+r+"*"+z+")*?|"+r+"*(.*?))(\\)|$)"),E=new RegExp(z.slice(19,-6)+"\\x20\\t\\r\\n\\f>+~])+|"+y,"g"),F=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,G=/[\x20\t\r\n\f]*[+~]/,H=/:not\($/,I=/h\d/i,J=/input|select|textarea|button/i,K=/\\(?!\\)/g,L={ID:new RegExp("^#("+s+")"),CLASS:new RegExp("^\\.("+s+")"),NAME:new RegExp("^\\[name=['\"]?("+s+")['\"]?\\]"),TAG:new RegExp("^("+s.replace("[-","[-\\*")+")"),ATTR:new RegExp("^"+v),PSEUDO:new RegExp("^"+w),CHILD:new RegExp("^:(only|nth|last|first)-child(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),POS:new RegExp(x,"ig"),needsContext:new RegExp("^"+r+"*[>+~]|"+x,"i")},M={},N=[],O={},P=[],Q=function(a){return a.sizzleFilter=!0,a},R=function(a){return function(b){return b.nodeName.toLowerCase()==="input"&&b.type===a}},S=function(a){return function(b){var c=b.nodeName.toLowerCase();return(c==="input"||c==="button")&&b.type===a}},T=function(a){var b=!1,c=h.createElement("div");try{b=a(c)}catch(d){}return c=null,b},U=T(function(a){a.innerHTML="";var b=typeof a.lastChild.getAttribute("multiple");return b!=="boolean"&&b!=="string"}),V=T(function(a){a.id=q+0,a.innerHTML="
                                ",i.insertBefore(a,i.firstChild);var b=h.getElementsByName&&h.getElementsByName(q).length===2+h.getElementsByName(q+0).length;return g=!h.getElementById(q),i.removeChild(a),b}),W=T(function(a){return a.appendChild(h.createComment("")),a.getElementsByTagName("*").length===0}),X=T(function(a){return a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!==j&&a.firstChild.getAttribute("href")==="#"}),Y=T(function(a){return a.innerHTML="",!a.getElementsByClassName||a.getElementsByClassName("e").length===0?!1:(a.lastChild.className="e",a.getElementsByClassName("e").length!==1)}),Z=function(a,b,c,d){c=c||[],b=b||h;var e,f,g,i,j=b.nodeType;if(j!==1&&j!==9)return[];if(!a||typeof a!="string")return c;g=ba(b);if(!g&&!d)if(e=F.exec(a))if(i=e[1]){if(j===9){f=b.getElementById(i);if(!f||!f.parentNode)return c;if(f.id===i)return c.push(f),c}else if(b.ownerDocument&&(f=b.ownerDocument.getElementById(i))&&bb(b,f)&&f.id===i)return c.push(f),c}else{if(e[2])return o.apply(c,n.call(b.getElementsByTagName(a),0)),c;if((i=e[3])&&Y&&b.getElementsByClassName)return o.apply(c,n.call(b.getElementsByClassName(i),0)),c}return bm(a,b,c,d,g)},$=Z.selectors={cacheLength:50,match:L,order:["ID","TAG"],attrHandle:{},createPseudo:Q,find:{ID:g?function(a,b,c){if(typeof b.getElementById!==j&&!c){var d=b.getElementById(a);return d&&d.parentNode?[d]:[]}}:function(a,c,d){if(typeof c.getElementById!==j&&!d){var e=c.getElementById(a);return e?e.id===a||typeof e.getAttributeNode!==j&&e.getAttributeNode("id").value===a?[e]:b:[]}},TAG:W?function(a,b){if(typeof b.getElementsByTagName!==j)return b.getElementsByTagName(a)}:function(a,b){var c=b.getElementsByTagName(a);if(a==="*"){var d,e=[],f=0;for(;d=c[f];f++)d.nodeType===1&&e.push(d);return e}return c}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(K,""),a[3]=(a[4]||a[5]||"").replace(K,""),a[2]==="~="&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),a[1]==="nth"?(a[2]||Z.error(a[0]),a[3]=+(a[3]?a[4]+(a[5]||1):2*(a[2]==="even"||a[2]==="odd")),a[4]=+(a[6]+a[7]||a[2]==="odd")):a[2]&&Z.error(a[0]),a},PSEUDO:function(a){var b,c=a[4];return L.CHILD.test(a[0])?null:(c&&(b=D.exec(c))&&b.pop()&&(a[0]=a[0].slice(0,b[0].length-c.length-1),c=b[0].slice(0,-1)),a.splice(2,3,c||a[3]),a)}},filter:{ID:g?function(a){return a=a.replace(K,""),function(b){return b.getAttribute("id")===a}}:function(a){return a=a.replace(K,""),function(b){var c=typeof b.getAttributeNode!==j&&b.getAttributeNode("id");return c&&c.value===a}},TAG:function(a){return a==="*"?function(){return!0}:(a=a.replace(K,"").toLowerCase(),function(b){return b.nodeName&&b.nodeName.toLowerCase()===a})},CLASS:function(a){var b=M[a];return b||(b=M[a]=new RegExp("(^|"+r+")"+a+"("+r+"|$)"),N.push(a),N.length>$.cacheLength&&delete M[N.shift()]),function(a){return b.test(a.className||typeof a.getAttribute!==j&&a.getAttribute("class")||"")}},ATTR:function(a,b,c){return b?function(d){var e=Z.attr(d,a),f=e+"";if(e==null)return b==="!=";switch(b){case"=":return f===c;case"!=":return f!==c;case"^=":return c&&f.indexOf(c)===0;case"*=":return c&&f.indexOf(c)>-1;case"$=":return c&&f.substr(f.length-c.length)===c;case"~=":return(" "+f+" ").indexOf(c)>-1;case"|=":return f===c||f.substr(0,c.length+1)===c+"-"}}:function(b){return Z.attr(b,a)!=null}},CHILD:function(a,b,c,d){if(a==="nth"){var e=m++;return function(a){var b,f,g=0,h=a;if(c===1&&d===0)return!0;b=a.parentNode;if(b&&(b[q]!==e||!a.sizset)){for(h=b.firstChild;h;h=h.nextSibling)if(h.nodeType===1){h.sizset=++g;if(h===a)break}b[q]=e}return f=a.sizset-d,c===0?f===0:f%c===0&&f/c>=0}}return function(b){var c=b;switch(a){case"only":case"first":while(c=c.previousSibling)if(c.nodeType===1)return!1;if(a==="first")return!0;c=b;case"last":while(c=c.nextSibling)if(c.nodeType===1)return!1;return!0}}},PSEUDO:function(a,b,c,d){var e=$.pseudos[a]||$.pseudos[a.toLowerCase()];return e||Z.error("unsupported pseudo: "+a),e.sizzleFilter?e(b,c,d):e}},pseudos:{not:Q(function(a,b,c){var d=bl(a.replace(A,"$1"),b,c);return function(a){return!d(a)}}),enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&!!a.checked||b==="option"&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},parent:function(a){return!$.pseudos.empty(a)},empty:function(a){var b;a=a.firstChild;while(a){if(a.nodeName>"@"||(b=a.nodeType)===3||b===4)return!1;a=a.nextSibling}return!0},contains:Q(function(a){return function(b){return(b.textContent||b.innerText||bc(b)).indexOf(a)>-1}}),has:Q(function(a){return function(b){return Z(a,b).length>0}}),header:function(a){return I.test(a.nodeName)},text:function(a){var b,c;return a.nodeName.toLowerCase()==="input"&&(b=a.type)==="text"&&((c=a.getAttribute("type"))==null||c.toLowerCase()===b)},radio:R("radio"),checkbox:R("checkbox"),file:R("file"),password:R("password"),image:R("image"),submit:S("submit"),reset:S("reset"),button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&a.type==="button"||b==="button"},input:function(a){return J.test(a.nodeName)},focus:function(a){var b=a.ownerDocument;return a===b.activeElement&&(!b.hasFocus||b.hasFocus())&&(!!a.type||!!a.href)},active:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b,c){return c?a.slice(1):[a[0]]},last:function(a,b,c){var d=a.pop();return c?a:[d]},even:function(a,b,c){var d=[],e=c?1:0,f=a.length;for(;e$.cacheLength&&delete O[P.shift()],g};Z.matches=function(a,b){return Z(a,null,null,b)},Z.matchesSelector=function(a,b){return Z(b,null,null,[a]).length>0};var bm=function(a,b,e,f,g){a=a.replace(A,"$1");var h,i,j,k,l,m,p,q,r,s=a.match(C),t=a.match(E),u=b.nodeType;if(L.POS.test(a))return bf(a,b,e,f,s);if(f)h=n.call(f,0);else if(s&&s.length===1){if(t.length>1&&u===9&&!g&&(s=L.ID.exec(t[0]))){b=$.find.ID(s[1],b,g)[0];if(!b)return e;a=a.slice(t.shift().length)}q=(s=G.exec(t[0]))&&!s.index&&b.parentNode||b,r=t.pop(),m=r.split(":not")[0];for(j=0,k=$.order.length;j",a.querySelectorAll("[selected]").length||e.push("\\["+r+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),a.querySelectorAll(":checked").length||e.push(":checked")}),T(function(a){a.innerHTML="

                                ",a.querySelectorAll("[test^='']").length&&e.push("[*^$]="+r+"*(?:\"\"|'')"),a.innerHTML="",a.querySelectorAll(":enabled").length||e.push(":enabled",":disabled")}),e=e.length&&new RegExp(e.join("|")),bm=function(a,d,f,g,h){if(!g&&!h&&(!e||!e.test(a)))if(d.nodeType===9)try{return o.apply(f,n.call(d.querySelectorAll(a),0)),f}catch(i){}else if(d.nodeType===1&&d.nodeName.toLowerCase()!=="object"){var j=d.getAttribute("id"),k=j||q,l=G.test(a)&&d.parentNode||d;j?k=k.replace(c,"\\$&"):d.setAttribute("id",k);try{return o.apply(f,n.call(l.querySelectorAll(a.replace(C,"[id='"+k+"'] $&")),0)),f}catch(i){}finally{j||d.removeAttribute("id")}}return b(a,d,f,g,h)},g&&(T(function(b){a=g.call(b,"div");try{g.call(b,"[test!='']:sizzle"),f.push($.match.PSEUDO)}catch(c){}}),f=new RegExp(f.join("|")),Z.matchesSelector=function(b,c){c=c.replace(d,"='$1']");if(!ba(b)&&!f.test(c)&&(!e||!e.test(c)))try{var h=g.call(b,c);if(h||a||b.document&&b.document.nodeType!==11)return h}catch(i){}return Z(c,null,null,[b]).length>0})}(),Z.attr=p.attr,p.find=Z,p.expr=Z.selectors,p.expr[":"]=p.expr.pseudos,p.unique=Z.uniqueSort,p.text=Z.getText,p.isXMLDoc=Z.isXML,p.contains=Z.contains}(a);var bc=/Until$/,bd=/^(?:parents|prev(?:Until|All))/,be=/^.[^:#\[\.,]*$/,bf=p.expr.match.needsContext,bg={children:!0,contents:!0,next:!0,prev:!0};p.fn.extend({find:function(a){var b,c,d,e,f,g,h=this;if(typeof a!="string")return p(a).filter(function(){for(b=0,c=h.length;b0)for(e=d;e=0:p.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c,d=0,e=this.length,f=[],g=bf.test(a)||typeof a!="string"?p(a,b||this.context):0;for(;d-1:p.find.matchesSelector(c,a)){f.push(c);break}c=c.parentNode}}return f=f.length>1?p.unique(f):f,this.pushStack(f,"closest",a)},index:function(a){return a?typeof a=="string"?p.inArray(this[0],p(a)):p.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(a,b){var c=typeof a=="string"?p(a,b):p.makeArray(a&&a.nodeType?[a]:a),d=p.merge(this.get(),c);return this.pushStack(bh(c[0])||bh(d[0])?d:p.unique(d))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}}),p.fn.andSelf=p.fn.addBack,p.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return p.dir(a,"parentNode")},parentsUntil:function(a,b,c){return p.dir(a,"parentNode",c)},next:function(a){return bi(a,"nextSibling")},prev:function(a){return bi(a,"previousSibling")},nextAll:function(a){return p.dir(a,"nextSibling")},prevAll:function(a){return p.dir(a,"previousSibling")},nextUntil:function(a,b,c){return p.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return p.dir(a,"previousSibling",c)},siblings:function(a){return p.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return p.sibling(a.firstChild)},contents:function(a){return p.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:p.merge([],a.childNodes)}},function(a,b){p.fn[a]=function(c,d){var e=p.map(this,b,c);return bc.test(a)||(d=c),d&&typeof d=="string"&&(e=p.filter(d,e)),e=this.length>1&&!bg[a]?p.unique(e):e,this.length>1&&bd.test(a)&&(e=e.reverse()),this.pushStack(e,a,k.call(arguments).join(","))}}),p.extend({filter:function(a,b,c){return c&&(a=":not("+a+")"),b.length===1?p.find.matchesSelector(b[0],a)?[b[0]]:[]:p.find.matches(a,b)},dir:function(a,c,d){var e=[],f=a[c];while(f&&f.nodeType!==9&&(d===b||f.nodeType!==1||!p(f).is(d)))f.nodeType===1&&e.push(f),f=f[c];return e},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var bl="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",bm=/ jQuery\d+="(?:null|\d+)"/g,bn=/^\s+/,bo=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bp=/<([\w:]+)/,bq=/]","i"),bv=/^(?:checkbox|radio)$/,bw=/checked\s*(?:[^=]|=\s*.checked.)/i,bx=/\/(java|ecma)script/i,by=/^\s*\s*$/g,bz={option:[1,""],legend:[1,"
                                ","
                                "],thead:[1,"","
                                "],tr:[2,"","
                                "],td:[3,"","
                                "],col:[2,"","
                                "],area:[1,"",""],_default:[0,"",""]},bA=bk(e),bB=bA.appendChild(e.createElement("div"));bz.optgroup=bz.option,bz.tbody=bz.tfoot=bz.colgroup=bz.caption=bz.thead,bz.th=bz.td,p.support.htmlSerialize||(bz._default=[1,"X
                                ","
                                "]),p.fn.extend({text:function(a){return p.access(this,function(a){return a===b?p.text(this):this.empty().append((this[0]&&this[0].ownerDocument||e).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(p.isFunction(a))return this.each(function(b){p(this).wrapAll(a.call(this,b))});if(this[0]){var b=p(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return p.isFunction(a)?this.each(function(b){p(this).wrapInner(a.call(this,b))}):this.each(function(){var b=p(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=p.isFunction(a);return this.each(function(c){p(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){p.nodeName(this,"body")||p(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(a,this.firstChild)})},before:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(a,this),"before",this.selector)}},after:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(this,a),"after",this.selector)}},remove:function(a,b){var c,d=0;for(;(c=this[d])!=null;d++)if(!a||p.filter(a,[c]).length)!b&&c.nodeType===1&&(p.cleanData(c.getElementsByTagName("*")),p.cleanData([c])),c.parentNode&&c.parentNode.removeChild(c);return this},empty:function(){var a,b=0;for(;(a=this[b])!=null;b++){a.nodeType===1&&p.cleanData(a.getElementsByTagName("*"));while(a.firstChild)a.removeChild(a.firstChild)}return this},clone:function(a,b){return a=a==null?!1:a,b=b==null?a:b,this.map(function(){return p.clone(this,a,b)})},html:function(a){return p.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(bm,""):b;if(typeof a=="string"&&!bs.test(a)&&(p.support.htmlSerialize||!bu.test(a))&&(p.support.leadingWhitespace||!bn.test(a))&&!bz[(bp.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(bo,"<$1>");try{for(;d1&&typeof j=="string"&&bw.test(j))return this.each(function(){p(this).domManip(a,c,d)});if(p.isFunction(j))return this.each(function(e){var f=p(this);a[0]=j.call(this,e,c?f.html():b),f.domManip(a,c,d)});if(this[0]){e=p.buildFragment(a,this,k),g=e.fragment,f=g.firstChild,g.childNodes.length===1&&(g=f);if(f){c=c&&p.nodeName(f,"tr");for(h=e.cacheable||l-1;i0?this.clone(!0):this).get(),p(g[e])[b](d),f=f.concat(d);return this.pushStack(f,a,g.selector)}}),p.extend({clone:function(a,b,c){var d,e,f,g;p.support.html5Clone||p.isXMLDoc(a)||!bu.test("<"+a.nodeName+">")?g=a.cloneNode(!0):(bB.innerHTML=a.outerHTML,bB.removeChild(g=bB.firstChild));if((!p.support.noCloneEvent||!p.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!p.isXMLDoc(a)){bE(a,g),d=bF(a),e=bF(g);for(f=0;d[f];++f)e[f]&&bE(d[f],e[f])}if(b){bD(a,g);if(c){d=bF(a),e=bF(g);for(f=0;d[f];++f)bD(d[f],e[f])}}return d=e=null,g},clean:function(a,b,c,d){var f,g,h,i,j,k,l,m,n,o,q,r,s=0,t=[];if(!b||typeof b.createDocumentFragment=="undefined")b=e;for(g=b===e&&bA;(h=a[s])!=null;s++){typeof h=="number"&&(h+="");if(!h)continue;if(typeof h=="string")if(!br.test(h))h=b.createTextNode(h);else{g=g||bk(b),l=l||g.appendChild(b.createElement("div")),h=h.replace(bo,"<$1>"),i=(bp.exec(h)||["",""])[1].toLowerCase(),j=bz[i]||bz._default,k=j[0],l.innerHTML=j[1]+h+j[2];while(k--)l=l.lastChild;if(!p.support.tbody){m=bq.test(h),n=i==="table"&&!m?l.firstChild&&l.firstChild.childNodes:j[1]===""&&!m?l.childNodes:[];for(f=n.length-1;f>=0;--f)p.nodeName(n[f],"tbody")&&!n[f].childNodes.length&&n[f].parentNode.removeChild(n[f])}!p.support.leadingWhitespace&&bn.test(h)&&l.insertBefore(b.createTextNode(bn.exec(h)[0]),l.firstChild),h=l.childNodes,l=g.lastChild}h.nodeType?t.push(h):t=p.merge(t,h)}l&&(g.removeChild(l),h=l=g=null);if(!p.support.appendChecked)for(s=0;(h=t[s])!=null;s++)p.nodeName(h,"input")?bG(h):typeof h.getElementsByTagName!="undefined"&&p.grep(h.getElementsByTagName("input"),bG);if(c){q=function(a){if(!a.type||bx.test(a.type))return d?d.push(a.parentNode?a.parentNode.removeChild(a):a):c.appendChild(a)};for(s=0;(h=t[s])!=null;s++)if(!p.nodeName(h,"script")||!q(h))c.appendChild(h),typeof h.getElementsByTagName!="undefined"&&(r=p.grep(p.merge([],h.getElementsByTagName("script")),q),t.splice.apply(t,[s+1,0].concat(r)),s+=r.length)}return t},cleanData:function(a,b){var c,d,e,f,g=0,h=p.expando,i=p.cache,j=p.support.deleteExpando,k=p.event.special;for(;(e=a[g])!=null;g++)if(b||p.acceptData(e)){d=e[h],c=d&&i[d];if(c){if(c.events)for(f in c.events)k[f]?p.event.remove(e,f):p.removeEvent(e,f,c.handle);i[d]&&(delete i[d],j?delete e[h]:e.removeAttribute?e.removeAttribute(h):e[h]=null,p.deletedIds.push(d))}}}}),function(){var a,b;p.uaMatch=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},a=p.uaMatch(g.userAgent),b={},a.browser&&(b[a.browser]=!0,b.version=a.version),b.webkit&&(b.safari=!0),p.browser=b,p.sub=function(){function a(b,c){return new a.fn.init(b,c)}p.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function c(c,d){return d&&d instanceof p&&!(d instanceof a)&&(d=a(d)),p.fn.init.call(this,c,d,b)},a.fn.init.prototype=a.fn;var b=a(e);return a}}();var bH,bI,bJ,bK=/alpha\([^)]*\)/i,bL=/opacity=([^)]*)/,bM=/^(top|right|bottom|left)$/,bN=/^margin/,bO=new RegExp("^("+q+")(.*)$","i"),bP=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),bQ=new RegExp("^([-+])=("+q+")","i"),bR={},bS={position:"absolute",visibility:"hidden",display:"block"},bT={letterSpacing:0,fontWeight:400,lineHeight:1},bU=["Top","Right","Bottom","Left"],bV=["Webkit","O","Moz","ms"],bW=p.fn.toggle;p.fn.extend({css:function(a,c){return p.access(this,function(a,c,d){return d!==b?p.style(a,c,d):p.css(a,c)},a,c,arguments.length>1)},show:function(){return bZ(this,!0)},hide:function(){return bZ(this)},toggle:function(a,b){var c=typeof a=="boolean";return p.isFunction(a)&&p.isFunction(b)?bW.apply(this,arguments):this.each(function(){(c?a:bY(this))?p(this).show():p(this).hide()})}}),p.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bH(a,"opacity");return c===""?"1":c}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":p.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!a||a.nodeType===3||a.nodeType===8||!a.style)return;var f,g,h,i=p.camelCase(c),j=a.style;c=p.cssProps[i]||(p.cssProps[i]=bX(j,i)),h=p.cssHooks[c]||p.cssHooks[i];if(d===b)return h&&"get"in h&&(f=h.get(a,!1,e))!==b?f:j[c];g=typeof d,g==="string"&&(f=bQ.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(p.css(a,c)),g="number");if(d==null||g==="number"&&isNaN(d))return;g==="number"&&!p.cssNumber[i]&&(d+="px");if(!h||!("set"in h)||(d=h.set(a,d,e))!==b)try{j[c]=d}catch(k){}},css:function(a,c,d,e){var f,g,h,i=p.camelCase(c);return c=p.cssProps[i]||(p.cssProps[i]=bX(a.style,i)),h=p.cssHooks[c]||p.cssHooks[i],h&&"get"in h&&(f=h.get(a,!0,e)),f===b&&(f=bH(a,c)),f==="normal"&&c in bT&&(f=bT[c]),d||e!==b?(g=parseFloat(f),d||p.isNumeric(g)?g||0:f):f},swap:function(a,b,c){var d,e,f={};for(e in b)f[e]=a.style[e],a.style[e]=b[e];d=c.call(a);for(e in b)a.style[e]=f[e];return d}}),a.getComputedStyle?bH=function(a,b){var c,d,e,f,g=getComputedStyle(a,null),h=a.style;return g&&(c=g[b],c===""&&!p.contains(a.ownerDocument.documentElement,a)&&(c=p.style(a,b)),bP.test(c)&&bN.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=c,c=g.width,h.width=d,h.minWidth=e,h.maxWidth=f)),c}:e.documentElement.currentStyle&&(bH=function(a,b){var c,d,e=a.currentStyle&&a.currentStyle[b],f=a.style;return e==null&&f&&f[b]&&(e=f[b]),bP.test(e)&&!bM.test(b)&&(c=f.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":e,e=f.pixelLeft+"px",f.left=c,d&&(a.runtimeStyle.left=d)),e===""?"auto":e}),p.each(["height","width"],function(a,b){p.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth!==0||bH(a,"display")!=="none"?ca(a,b,d):p.swap(a,bS,function(){return ca(a,b,d)})},set:function(a,c,d){return b$(a,c,d?b_(a,b,d,p.support.boxSizing&&p.css(a,"boxSizing")==="border-box"):0)}}}),p.support.opacity||(p.cssHooks.opacity={get:function(a,b){return bL.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=p.isNumeric(b)?"alpha(opacity="+b*100+")":"",f=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&p.trim(f.replace(bK,""))===""&&c.removeAttribute){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bK.test(f)?f.replace(bK,e):f+" "+e}}),p(function(){p.support.reliableMarginRight||(p.cssHooks.marginRight={get:function(a,b){return p.swap(a,{display:"inline-block"},function(){if(b)return bH(a,"marginRight")})}}),!p.support.pixelPosition&&p.fn.position&&p.each(["top","left"],function(a,b){p.cssHooks[b]={get:function(a,c){if(c){var d=bH(a,b);return bP.test(d)?p(a).position()[b]+"px":d}}}})}),p.expr&&p.expr.filters&&(p.expr.filters.hidden=function(a){return a.offsetWidth===0&&a.offsetHeight===0||!p.support.reliableHiddenOffsets&&(a.style&&a.style.display||bH(a,"display"))==="none"},p.expr.filters.visible=function(a){return!p.expr.filters.hidden(a)}),p.each({margin:"",padding:"",border:"Width"},function(a,b){p.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bU[d]+b]=e[d]||e[d-2]||e[0];return f}},bN.test(a)||(p.cssHooks[a+b].set=b$)});var cc=/%20/g,cd=/\[\]$/,ce=/\r?\n/g,cf=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,cg=/^(?:select|textarea)/i;p.fn.extend({serialize:function(){return p.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?p.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||cg.test(this.nodeName)||cf.test(this.type))}).map(function(a,b){var c=p(this).val();return c==null?null:p.isArray(c)?p.map(c,function(a,c){return{name:b.name,value:a.replace(ce,"\r\n")}}):{name:b.name,value:c.replace(ce,"\r\n")}}).get()}}),p.param=function(a,c){var d,e=[],f=function(a,b){b=p.isFunction(b)?b():b==null?"":b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=p.ajaxSettings&&p.ajaxSettings.traditional);if(p.isArray(a)||a.jquery&&!p.isPlainObject(a))p.each(a,function(){f(this.name,this.value)});else for(d in a)ch(d,a[d],c,f);return e.join("&").replace(cc,"+")};var ci,cj,ck=/#.*$/,cl=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,cm=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,cn=/^(?:GET|HEAD)$/,co=/^\/\//,cp=/\?/,cq=/)<[^<]*)*<\/script>/gi,cr=/([?&])_=[^&]*/,cs=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,ct=p.fn.load,cu={},cv={},cw=["*/"]+["*"];try{ci=f.href}catch(cx){ci=e.createElement("a"),ci.href="",ci=ci.href}cj=cs.exec(ci.toLowerCase())||[],p.fn.load=function(a,c,d){if(typeof a!="string"&&ct)return ct.apply(this,arguments);if(!this.length)return this;var e,f,g,h=this,i=a.indexOf(" ");return i>=0&&(e=a.slice(i,a.length),a=a.slice(0,i)),p.isFunction(c)?(d=c,c=b):typeof c=="object"&&(f="POST"),p.ajax({url:a,type:f,dataType:"html",data:c,complete:function(a,b){d&&h.each(d,g||[a.responseText,b,a])}}).done(function(a){g=arguments,h.html(e?p("
                                ").append(a.replace(cq,"")).find(e):a)}),this},p.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){p.fn[b]=function(a){return this.on(b,a)}}),p.each(["get","post"],function(a,c){p[c]=function(a,d,e,f){return p.isFunction(d)&&(f=f||e,e=d,d=b),p.ajax({type:c,url:a,data:d,success:e,dataType:f})}}),p.extend({getScript:function(a,c){return p.get(a,b,c,"script")},getJSON:function(a,b,c){return p.get(a,b,c,"json")},ajaxSetup:function(a,b){return b?cA(a,p.ajaxSettings):(b=a,a=p.ajaxSettings),cA(a,b),a},ajaxSettings:{url:ci,isLocal:cm.test(cj[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":cw},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":p.parseJSON,"text xml":p.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:cy(cu),ajaxTransport:cy(cv),ajax:function(a,c){function y(a,c,f,i){var k,s,t,u,w,y=c;if(v===2)return;v=2,h&&clearTimeout(h),g=b,e=i||"",x.readyState=a>0?4:0,f&&(u=cB(l,x,f));if(a>=200&&a<300||a===304)l.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(p.lastModified[d]=w),w=x.getResponseHeader("Etag"),w&&(p.etag[d]=w)),a===304?(y="notmodified",k=!0):(k=cC(l,u),y=k.state,s=k.data,t=k.error,k=!t);else{t=y;if(!y||a)y="error",a<0&&(a=0)}x.status=a,x.statusText=""+(c||y),k?o.resolveWith(m,[s,y,x]):o.rejectWith(m,[x,y,t]),x.statusCode(r),r=b,j&&n.trigger("ajax"+(k?"Success":"Error"),[x,l,k?s:t]),q.fireWith(m,[x,y]),j&&(n.trigger("ajaxComplete",[x,l]),--p.active||p.event.trigger("ajaxStop"))}typeof a=="object"&&(c=a,a=b),c=c||{};var d,e,f,g,h,i,j,k,l=p.ajaxSetup({},c),m=l.context||l,n=m!==l&&(m.nodeType||m instanceof p)?p(m):p.event,o=p.Deferred(),q=p.Callbacks("once memory"),r=l.statusCode||{},t={},u={},v=0,w="canceled",x={readyState:0,setRequestHeader:function(a,b){if(!v){var c=a.toLowerCase();a=u[c]=u[c]||a,t[a]=b}return this},getAllResponseHeaders:function(){return v===2?e:null},getResponseHeader:function(a){var c;if(v===2){if(!f){f={};while(c=cl.exec(e))f[c[1].toLowerCase()]=c[2]}c=f[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){return v||(l.mimeType=a),this},abort:function(a){return a=a||w,g&&g.abort(a),y(0,a),this}};o.promise(x),x.success=x.done,x.error=x.fail,x.complete=q.add,x.statusCode=function(a){if(a){var b;if(v<2)for(b in a)r[b]=[r[b],a[b]];else b=a[x.status],x.always(b)}return this},l.url=((a||l.url)+"").replace(ck,"").replace(co,cj[1]+"//"),l.dataTypes=p.trim(l.dataType||"*").toLowerCase().split(s),l.crossDomain==null&&(i=cs.exec(l.url.toLowerCase()),l.crossDomain=!(!i||i[1]==cj[1]&&i[2]==cj[2]&&(i[3]||(i[1]==="http:"?80:443))==(cj[3]||(cj[1]==="http:"?80:443)))),l.data&&l.processData&&typeof l.data!="string"&&(l.data=p.param(l.data,l.traditional)),cz(cu,l,c,x);if(v===2)return x;j=l.global,l.type=l.type.toUpperCase(),l.hasContent=!cn.test(l.type),j&&p.active++===0&&p.event.trigger("ajaxStart");if(!l.hasContent){l.data&&(l.url+=(cp.test(l.url)?"&":"?")+l.data,delete l.data),d=l.url;if(l.cache===!1){var z=p.now(),A=l.url.replace(cr,"$1_="+z);l.url=A+(A===l.url?(cp.test(l.url)?"&":"?")+"_="+z:"")}}(l.data&&l.hasContent&&l.contentType!==!1||c.contentType)&&x.setRequestHeader("Content-Type",l.contentType),l.ifModified&&(d=d||l.url,p.lastModified[d]&&x.setRequestHeader("If-Modified-Since",p.lastModified[d]),p.etag[d]&&x.setRequestHeader("If-None-Match",p.etag[d])),x.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+(l.dataTypes[0]!=="*"?", "+cw+"; q=0.01":""):l.accepts["*"]);for(k in l.headers)x.setRequestHeader(k,l.headers[k]);if(!l.beforeSend||l.beforeSend.call(m,x,l)!==!1&&v!==2){w="abort";for(k in{success:1,error:1,complete:1})x[k](l[k]);g=cz(cv,l,c,x);if(!g)y(-1,"No Transport");else{x.readyState=1,j&&n.trigger("ajaxSend",[x,l]),l.async&&l.timeout>0&&(h=setTimeout(function(){x.abort("timeout")},l.timeout));try{v=1,g.send(t,y)}catch(B){if(v<2)y(-1,B);else throw B}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var cD=[],cE=/\?/,cF=/(=)\?(?=&|$)|\?\?/,cG=p.now();p.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=cD.pop()||p.expando+"_"+cG++;return this[a]=!0,a}}),p.ajaxPrefilter("json jsonp",function(c,d,e){var f,g,h,i=c.data,j=c.url,k=c.jsonp!==!1,l=k&&cF.test(j),m=k&&!l&&typeof i=="string"&&!(c.contentType||"").indexOf("application/x-www-form-urlencoded")&&cF.test(i);if(c.dataTypes[0]==="jsonp"||l||m)return f=c.jsonpCallback=p.isFunction(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,g=a[f],l?c.url=j.replace(cF,"$1"+f):m?c.data=i.replace(cF,"$1"+f):k&&(c.url+=(cE.test(j)?"&":"?")+c.jsonp+"="+f),c.converters["script json"]=function(){return h||p.error(f+" was not called"),h[0]},c.dataTypes[0]="json",a[f]=function(){h=arguments},e.always(function(){a[f]=g,c[f]&&(c.jsonpCallback=d.jsonpCallback,cD.push(f)),h&&p.isFunction(g)&&g(h[0]),h=g=b}),"script"}),p.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){return p.globalEval(a),a}}}),p.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),p.ajaxTransport("script",function(a){if(a.crossDomain){var c,d=e.head||e.getElementsByTagName("head")[0]||e.documentElement;return{send:function(f,g){c=e.createElement("script"),c.async="async",a.scriptCharset&&(c.charset=a.scriptCharset),c.src=a.url,c.onload=c.onreadystatechange=function(a,e){if(e||!c.readyState||/loaded|complete/.test(c.readyState))c.onload=c.onreadystatechange=null,d&&c.parentNode&&d.removeChild(c),c=b,e||g(200,"success")},d.insertBefore(c,d.firstChild)},abort:function(){c&&c.onload(0,1)}}}});var cH,cI=a.ActiveXObject?function(){for(var a in cH)cH[a](0,1)}:!1,cJ=0;p.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&cK()||cL()}:cK,function(a){p.extend(p.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(p.ajaxSettings.xhr()),p.support.ajax&&p.ajaxTransport(function(c){if(!c.crossDomain||p.support.cors){var d;return{send:function(e,f){var g,h,i=c.xhr();c.username?i.open(c.type,c.url,c.async,c.username,c.password):i.open(c.type,c.url,c.async);if(c.xhrFields)for(h in c.xhrFields)i[h]=c.xhrFields[h];c.mimeType&&i.overrideMimeType&&i.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(h in e)i.setRequestHeader(h,e[h])}catch(j){}i.send(c.hasContent&&c.data||null),d=function(a,e){var h,j,k,l,m;try{if(d&&(e||i.readyState===4)){d=b,g&&(i.onreadystatechange=p.noop,cI&&delete cH[g]);if(e)i.readyState!==4&&i.abort();else{h=i.status,k=i.getAllResponseHeaders(),l={},m=i.responseXML,m&&m.documentElement&&(l.xml=m);try{l.text=i.responseText}catch(a){}try{j=i.statusText}catch(n){j=""}!h&&c.isLocal&&!c.crossDomain?h=l.text?200:404:h===1223&&(h=204)}}}catch(o){e||f(-1,o)}l&&f(h,j,l,k)},c.async?i.readyState===4?setTimeout(d,0):(g=++cJ,cI&&(cH||(cH={},p(a).unload(cI)),cH[g]=d),i.onreadystatechange=d):d()},abort:function(){d&&d(0,1)}}}});var cM,cN,cO=/^(?:toggle|show|hide)$/,cP=new RegExp("^(?:([-+])=|)("+q+")([a-z%]*)$","i"),cQ=/queueHooks$/,cR=[cX],cS={"*":[function(a,b){var c,d,e,f=this.createTween(a,b),g=cP.exec(b),h=f.cur(),i=+h||0,j=1;if(g){c=+g[2],d=g[3]||(p.cssNumber[a]?"":"px");if(d!=="px"&&i){i=p.css(f.elem,a,!0)||c||1;do e=j=j||".5",i=i/j,p.style(f.elem,a,i+d),j=f.cur()/h;while(j!==1&&j!==e)}f.unit=d,f.start=i,f.end=g[1]?i+(g[1]+1)*c:c}return f}]};p.Animation=p.extend(cV,{tweener:function(a,b){p.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");var c,d=0,e=a.length;for(;d-1,j={},k={},l,m;i?(k=e.position(),l=k.top,m=k.left):(l=parseFloat(g)||0,m=parseFloat(h)||0),p.isFunction(b)&&(b=b.call(a,c,f)),b.top!=null&&(j.top=b.top-f.top+l),b.left!=null&&(j.left=b.left-f.left+m),"using"in b?b.using.call(a,j):e.css(j)}},p.fn.extend({position:function(){if(!this[0])return;var a=this[0],b=this.offsetParent(),c=this.offset(),d=c$.test(b[0].nodeName)?{top:0,left:0}:b.offset();return c.top-=parseFloat(p.css(a,"marginTop"))||0,c.left-=parseFloat(p.css(a,"marginLeft"))||0,d.top+=parseFloat(p.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(p.css(b[0],"borderLeftWidth"))||0,{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||e.body;while(a&&!c$.test(a.nodeName)&&p.css(a,"position")==="static")a=a.offsetParent;return a||e.body})}}),p.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);p.fn[a]=function(e){return p.access(this,function(a,e,f){var g=c_(a);if(f===b)return g?c in g?g[c]:g.document.documentElement[e]:a[e];g?g.scrollTo(d?p(g).scrollLeft():f,d?f:p(g).scrollTop()):a[e]=f},a,e,arguments.length,null)}}),p.each({Height:"height",Width:"width"},function(a,c){p.each({padding:"inner"+a,content:c,"":"outer"+a},function(d,e){p.fn[e]=function(e,f){var g=arguments.length&&(d||typeof e!="boolean"),h=d||(e===!0||f===!0?"margin":"border");return p.access(this,function(c,d,e){var f;return p.isWindow(c)?c.document.documentElement["client"+a]:c.nodeType===9?(f=c.documentElement,Math.max(c.body["scroll"+a],f["scroll"+a],c.body["offset"+a],f["offset"+a],f["client"+a])):e===b?p.css(c,d,e,h):p.style(c,d,e,h)},c,g?e:b,g)}})}),a.jQuery=a.$=p,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return p})})(window); \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/jquery.easyui.min.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/jquery.easyui.min.js deleted file mode 100644 index c53bd79..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/jquery.easyui.min.js +++ /dev/null @@ -1,12873 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -$.parser={auto:true,onComplete:function(_1){ -},plugins:["draggable","droppable","resizable","pagination","tooltip","linkbutton","menu","menubutton","splitbutton","progressbar","tree","combobox","combotree","combogrid","numberbox","validatebox","searchbox","numberspinner","timespinner","calendar","datebox","datetimebox","slider","layout","panel","datagrid","propertygrid","treegrid","tabs","accordion","window","dialog"],parse:function(_2){ -var aa=[]; -for(var i=0;i<$.parser.plugins.length;i++){ -var _3=$.parser.plugins[i]; -var r=$(".easyui-"+_3,_2); -if(r.length){ -if(r[_3]){ -r[_3](); -}else{ -aa.push({name:_3,jq:r}); -} -} -} -if(aa.length&&window.easyloader){ -var _4=[]; -for(var i=0;i
                                ").appendTo("body"); -d.width(100); -$._boxModel=parseInt(d.width())==100; -d.remove(); -if(!window.easyloader&&$.parser.auto){ -$.parser.parse(); -} -}); -$.fn._outerWidth=function(_c){ -if(_c==undefined){ -if(this[0]==window){ -return this.width()||document.body.clientWidth; -} -return this.outerWidth()||0; -} -return this.each(function(){ -if($._boxModel){ -$(this).width(_c-($(this).outerWidth()-$(this).width())); -}else{ -$(this).width(_c); -} -}); -}; -$.fn._outerHeight=function(_d){ -if(_d==undefined){ -if(this[0]==window){ -return this.height()||document.body.clientHeight; -} -return this.outerHeight()||0; -} -return this.each(function(){ -if($._boxModel){ -$(this).height(_d-($(this).outerHeight()-$(this).height())); -}else{ -$(this).height(_d); -} -}); -}; -$.fn._scrollLeft=function(_e){ -if(_e==undefined){ -return this.scrollLeft(); -}else{ -return this.each(function(){ -$(this).scrollLeft(_e); -}); -} -}; -$.fn._propAttr=$.fn.prop||$.fn.attr; -$.fn._fit=function(_f){ -_f=_f==undefined?true:_f; -var t=this[0]; -var p=(t.tagName=="BODY"?t:this.parent()[0]); -var _10=p.fcount||0; -if(_f){ -if(!t.fitted){ -t.fitted=true; -p.fcount=_10+1; -$(p).addClass("panel-noscroll"); -if(p.tagName=="BODY"){ -$("html").addClass("panel-fit"); -} -} -}else{ -if(t.fitted){ -t.fitted=false; -p.fcount=_10-1; -if(p.fcount==0){ -$(p).removeClass("panel-noscroll"); -if(p.tagName=="BODY"){ -$("html").removeClass("panel-fit"); -} -} -} -} -return {width:$(p).width(),height:$(p).height()}; -}; -})(jQuery); -(function($){ -var _11=null; -var _12=null; -var _13=false; -function _14(e){ -if(e.touches.length!=1){ -return; -} -if(!_13){ -_13=true; -dblClickTimer=setTimeout(function(){ -_13=false; -},500); -}else{ -clearTimeout(dblClickTimer); -_13=false; -_15(e,"dblclick"); -} -_11=setTimeout(function(){ -_15(e,"contextmenu",3); -},1000); -_15(e,"mousedown"); -if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ -e.preventDefault(); -} -}; -function _16(e){ -if(e.touches.length!=1){ -return; -} -if(_11){ -clearTimeout(_11); -} -_15(e,"mousemove"); -if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ -e.preventDefault(); -} -}; -function _17(e){ -if(_11){ -clearTimeout(_11); -} -_15(e,"mouseup"); -if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ -e.preventDefault(); -} -}; -function _15(e,_18,_19){ -var _1a=new $.Event(_18); -_1a.pageX=e.changedTouches[0].pageX; -_1a.pageY=e.changedTouches[0].pageY; -_1a.which=_19||1; -$(e.target).trigger(_1a); -}; -if(document.addEventListener){ -document.addEventListener("touchstart",_14,true); -document.addEventListener("touchmove",_16,true); -document.addEventListener("touchend",_17,true); -} -})(jQuery); -(function($){ -function _1b(e){ -var _1c=$.data(e.data.target,"draggable"); -var _1d=_1c.options; -var _1e=_1c.proxy; -var _1f=e.data; -var _20=_1f.startLeft+e.pageX-_1f.startX; -var top=_1f.startTop+e.pageY-_1f.startY; -if(_1e){ -if(_1e.parent()[0]==document.body){ -if(_1d.deltaX!=null&&_1d.deltaX!=undefined){ -_20=e.pageX+_1d.deltaX; -}else{ -_20=e.pageX-e.data.offsetWidth; -} -if(_1d.deltaY!=null&&_1d.deltaY!=undefined){ -top=e.pageY+_1d.deltaY; -}else{ -top=e.pageY-e.data.offsetHeight; -} -}else{ -if(_1d.deltaX!=null&&_1d.deltaX!=undefined){ -_20+=e.data.offsetWidth+_1d.deltaX; -} -if(_1d.deltaY!=null&&_1d.deltaY!=undefined){ -top+=e.data.offsetHeight+_1d.deltaY; -} -} -} -if(e.data.parent!=document.body){ -_20+=$(e.data.parent).scrollLeft(); -top+=$(e.data.parent).scrollTop(); -} -if(_1d.axis=="h"){ -_1f.left=_20; -}else{ -if(_1d.axis=="v"){ -_1f.top=top; -}else{ -_1f.left=_20; -_1f.top=top; -} -} -}; -function _21(e){ -var _22=$.data(e.data.target,"draggable"); -var _23=_22.options; -var _24=_22.proxy; -if(!_24){ -_24=$(e.data.target); -} -_24.css({left:e.data.left,top:e.data.top}); -$("body").css("cursor",_23.cursor); -}; -function _25(e){ -$.fn.draggable.isDragging=true; -var _26=$.data(e.data.target,"draggable"); -var _27=_26.options; -var _28=$(".droppable").filter(function(){ -return e.data.target!=this; -}).filter(function(){ -var _29=$.data(this,"droppable").options.accept; -if(_29){ -return $(_29).filter(function(){ -return this==e.data.target; -}).length>0; -}else{ -return true; -} -}); -_26.droppables=_28; -var _2a=_26.proxy; -if(!_2a){ -if(_27.proxy){ -if(_27.proxy=="clone"){ -_2a=$(e.data.target).clone().insertAfter(e.data.target); -}else{ -_2a=_27.proxy.call(e.data.target,e.data.target); -} -_26.proxy=_2a; -}else{ -_2a=$(e.data.target); -} -} -_2a.css("position","absolute"); -_1b(e); -_21(e); -_27.onStartDrag.call(e.data.target,e); -return false; -}; -function _2b(e){ -var _2c=$.data(e.data.target,"draggable"); -_1b(e); -if(_2c.options.onDrag.call(e.data.target,e)!=false){ -_21(e); -} -var _2d=e.data.target; -_2c.droppables.each(function(){ -var _2e=$(this); -if(_2e.droppable("options").disabled){ -return; -} -var p2=_2e.offset(); -if(e.pageX>p2.left&&e.pageXp2.top&&e.pageYp2.left&&e.pageXp2.top&&e.pageY_43.options.edge; -}; -}); -}; -$.fn.draggable.methods={options:function(jq){ -return $.data(jq[0],"draggable").options; -},proxy:function(jq){ -return $.data(jq[0],"draggable").proxy; -},enable:function(jq){ -return jq.each(function(){ -$(this).draggable({disabled:false}); -}); -},disable:function(jq){ -return jq.each(function(){ -$(this).draggable({disabled:true}); -}); -}}; -$.fn.draggable.parseOptions=function(_48){ -var t=$(_48); -return $.extend({},$.parser.parseOptions(_48,["cursor","handle","axis",{"revert":"boolean","deltaX":"number","deltaY":"number","edge":"number"}]),{disabled:(t.attr("disabled")?true:undefined)}); -}; -$.fn.draggable.defaults={proxy:null,revert:false,cursor:"move",deltaX:null,deltaY:null,handle:null,disabled:false,edge:0,axis:null,onBeforeDrag:function(e){ -},onStartDrag:function(e){ -},onDrag:function(e){ -},onStopDrag:function(e){ -}}; -$.fn.draggable.isDragging=false; -})(jQuery); -(function($){ -function _49(_4a){ -$(_4a).addClass("droppable"); -$(_4a).bind("_dragenter",function(e,_4b){ -$.data(_4a,"droppable").options.onDragEnter.apply(_4a,[e,_4b]); -}); -$(_4a).bind("_dragleave",function(e,_4c){ -$.data(_4a,"droppable").options.onDragLeave.apply(_4a,[e,_4c]); -}); -$(_4a).bind("_dragover",function(e,_4d){ -$.data(_4a,"droppable").options.onDragOver.apply(_4a,[e,_4d]); -}); -$(_4a).bind("_drop",function(e,_4e){ -$.data(_4a,"droppable").options.onDrop.apply(_4a,[e,_4e]); -}); -}; -$.fn.droppable=function(_4f,_50){ -if(typeof _4f=="string"){ -return $.fn.droppable.methods[_4f](this,_50); -} -_4f=_4f||{}; -return this.each(function(){ -var _51=$.data(this,"droppable"); -if(_51){ -$.extend(_51.options,_4f); -}else{ -_49(this); -$.data(this,"droppable",{options:$.extend({},$.fn.droppable.defaults,$.fn.droppable.parseOptions(this),_4f)}); -} -}); -}; -$.fn.droppable.methods={options:function(jq){ -return $.data(jq[0],"droppable").options; -},enable:function(jq){ -return jq.each(function(){ -$(this).droppable({disabled:false}); -}); -},disable:function(jq){ -return jq.each(function(){ -$(this).droppable({disabled:true}); -}); -}}; -$.fn.droppable.parseOptions=function(_52){ -var t=$(_52); -return $.extend({},$.parser.parseOptions(_52,["accept"]),{disabled:(t.attr("disabled")?true:undefined)}); -}; -$.fn.droppable.defaults={accept:null,disabled:false,onDragEnter:function(e,_53){ -},onDragOver:function(e,_54){ -},onDragLeave:function(e,_55){ -},onDrop:function(e,_56){ -}}; -})(jQuery); -(function($){ -$.fn.resizable=function(_57,_58){ -if(typeof _57=="string"){ -return $.fn.resizable.methods[_57](this,_58); -} -function _59(e){ -var _5a=e.data; -var _5b=$.data(_5a.target,"resizable").options; -if(_5a.dir.indexOf("e")!=-1){ -var _5c=_5a.startWidth+e.pageX-_5a.startX; -_5c=Math.min(Math.max(_5c,_5b.minWidth),_5b.maxWidth); -_5a.width=_5c; -} -if(_5a.dir.indexOf("s")!=-1){ -var _5d=_5a.startHeight+e.pageY-_5a.startY; -_5d=Math.min(Math.max(_5d,_5b.minHeight),_5b.maxHeight); -_5a.height=_5d; -} -if(_5a.dir.indexOf("w")!=-1){ -var _5c=_5a.startWidth-e.pageX+_5a.startX; -_5c=Math.min(Math.max(_5c,_5b.minWidth),_5b.maxWidth); -_5a.width=_5c; -_5a.left=_5a.startLeft+_5a.startWidth-_5a.width; -} -if(_5a.dir.indexOf("n")!=-1){ -var _5d=_5a.startHeight-e.pageY+_5a.startY; -_5d=Math.min(Math.max(_5d,_5b.minHeight),_5b.maxHeight); -_5a.height=_5d; -_5a.top=_5a.startTop+_5a.startHeight-_5a.height; -} -}; -function _5e(e){ -var _5f=e.data; -var t=$(_5f.target); -t.css({left:_5f.left,top:_5f.top}); -if(t.outerWidth()!=_5f.width){ -t._outerWidth(_5f.width); -} -if(t.outerHeight()!=_5f.height){ -t._outerHeight(_5f.height); -} -}; -function _60(e){ -$.fn.resizable.isResizing=true; -$.data(e.data.target,"resizable").options.onStartResize.call(e.data.target,e); -return false; -}; -function _61(e){ -_59(e); -if($.data(e.data.target,"resizable").options.onResize.call(e.data.target,e)!=false){ -_5e(e); -} -return false; -}; -function _62(e){ -$.fn.resizable.isResizing=false; -_59(e,true); -_5e(e); -$.data(e.data.target,"resizable").options.onStopResize.call(e.data.target,e); -$(document).unbind(".resizable"); -$("body").css("cursor",""); -return false; -}; -return this.each(function(){ -var _63=null; -var _64=$.data(this,"resizable"); -if(_64){ -$(this).unbind(".resizable"); -_63=$.extend(_64.options,_57||{}); -}else{ -_63=$.extend({},$.fn.resizable.defaults,$.fn.resizable.parseOptions(this),_57||{}); -$.data(this,"resizable",{options:_63}); -} -if(_63.disabled==true){ -return; -} -$(this).bind("mousemove.resizable",{target:this},function(e){ -if($.fn.resizable.isResizing){ -return; -} -var dir=_65(e); -if(dir==""){ -$(e.data.target).css("cursor",""); -}else{ -$(e.data.target).css("cursor",dir+"-resize"); -} -}).bind("mouseleave.resizable",{target:this},function(e){ -$(e.data.target).css("cursor",""); -}).bind("mousedown.resizable",{target:this},function(e){ -var dir=_65(e); -if(dir==""){ -return; -} -function _66(css){ -var val=parseInt($(e.data.target).css(css)); -if(isNaN(val)){ -return 0; -}else{ -return val; -} -}; -var _67={target:e.data.target,dir:dir,startLeft:_66("left"),startTop:_66("top"),left:_66("left"),top:_66("top"),startX:e.pageX,startY:e.pageY,startWidth:$(e.data.target).outerWidth(),startHeight:$(e.data.target).outerHeight(),width:$(e.data.target).outerWidth(),height:$(e.data.target).outerHeight(),deltaWidth:$(e.data.target).outerWidth()-$(e.data.target).width(),deltaHeight:$(e.data.target).outerHeight()-$(e.data.target).height()}; -$(document).bind("mousedown.resizable",_67,_60); -$(document).bind("mousemove.resizable",_67,_61); -$(document).bind("mouseup.resizable",_67,_62); -$("body").css("cursor",dir+"-resize"); -}); -function _65(e){ -var tt=$(e.data.target); -var dir=""; -var _68=tt.offset(); -var _69=tt.outerWidth(); -var _6a=tt.outerHeight(); -var _6b=_63.edge; -if(e.pageY>_68.top&&e.pageY<_68.top+_6b){ -dir+="n"; -}else{ -if(e.pageY<_68.top+_6a&&e.pageY>_68.top+_6a-_6b){ -dir+="s"; -} -} -if(e.pageX>_68.left&&e.pageX<_68.left+_6b){ -dir+="w"; -}else{ -if(e.pageX<_68.left+_69&&e.pageX>_68.left+_69-_6b){ -dir+="e"; -} -} -var _6c=_63.handles.split(","); -for(var i=0;i<_6c.length;i++){ -var _6d=_6c[i].replace(/(^\s*)|(\s*$)/g,""); -if(_6d=="all"||_6d==dir){ -return dir; -} -} -return ""; -}; -}); -}; -$.fn.resizable.methods={options:function(jq){ -return $.data(jq[0],"resizable").options; -},enable:function(jq){ -return jq.each(function(){ -$(this).resizable({disabled:false}); -}); -},disable:function(jq){ -return jq.each(function(){ -$(this).resizable({disabled:true}); -}); -}}; -$.fn.resizable.parseOptions=function(_6e){ -var t=$(_6e); -return $.extend({},$.parser.parseOptions(_6e,["handles",{minWidth:"number",minHeight:"number",maxWidth:"number",maxHeight:"number",edge:"number"}]),{disabled:(t.attr("disabled")?true:undefined)}); -}; -$.fn.resizable.defaults={disabled:false,handles:"n, e, s, w, ne, se, sw, nw, all",minWidth:10,minHeight:10,maxWidth:10000,maxHeight:10000,edge:5,onStartResize:function(e){ -},onResize:function(e){ -},onStopResize:function(e){ -}}; -$.fn.resizable.isResizing=false; -})(jQuery); -(function($){ -function _6f(_70){ -var _71=$.data(_70,"linkbutton").options; -var t=$(_70).empty(); -t.addClass("l-btn").removeClass("l-btn-plain l-btn-selected l-btn-plain-selected"); -t.removeClass("l-btn-small l-btn-medium l-btn-large").addClass("l-btn-"+_71.size); -if(_71.plain){ -t.addClass("l-btn-plain"); -} -if(_71.selected){ -t.addClass(_71.plain?"l-btn-selected l-btn-plain-selected":"l-btn-selected"); -} -t.attr("group",_71.group||""); -t.attr("id",_71.id||""); -var _72=$("").appendTo(t); -if(_71.text){ -$("").html(_71.text).appendTo(_72); -}else{ -$(" ").appendTo(_72); -} -if(_71.iconCls){ -$(" ").addClass(_71.iconCls).appendTo(_72); -_72.addClass("l-btn-icon-"+_71.iconAlign); -} -t.unbind(".linkbutton").bind("focus.linkbutton",function(){ -if(!_71.disabled){ -$(this).addClass("l-btn-focus"); -} -}).bind("blur.linkbutton",function(){ -$(this).removeClass("l-btn-focus"); -}).bind("click.linkbutton",function(){ -if(!_71.disabled){ -if(_71.toggle){ -if(_71.selected){ -$(this).linkbutton("unselect"); -}else{ -$(this).linkbutton("select"); -} -} -_71.onClick.call(this); -} -return false; -}); -_73(_70,_71.selected); -_74(_70,_71.disabled); -}; -function _73(_75,_76){ -var _77=$.data(_75,"linkbutton").options; -if(_76){ -if(_77.group){ -$("a.l-btn[group=\""+_77.group+"\"]").each(function(){ -var o=$(this).linkbutton("options"); -if(o.toggle){ -$(this).removeClass("l-btn-selected l-btn-plain-selected"); -o.selected=false; -} -}); -} -$(_75).addClass(_77.plain?"l-btn-selected l-btn-plain-selected":"l-btn-selected"); -_77.selected=true; -}else{ -if(!_77.group){ -$(_75).removeClass("l-btn-selected l-btn-plain-selected"); -_77.selected=false; -} -} -}; -function _74(_78,_79){ -var _7a=$.data(_78,"linkbutton"); -var _7b=_7a.options; -$(_78).removeClass("l-btn-disabled l-btn-plain-disabled"); -if(_79){ -_7b.disabled=true; -var _7c=$(_78).attr("href"); -if(_7c){ -_7a.href=_7c; -$(_78).attr("href","javascript:void(0)"); -} -if(_78.onclick){ -_7a.onclick=_78.onclick; -_78.onclick=null; -} -_7b.plain?$(_78).addClass("l-btn-disabled l-btn-plain-disabled"):$(_78).addClass("l-btn-disabled"); -}else{ -_7b.disabled=false; -if(_7a.href){ -$(_78).attr("href",_7a.href); -} -if(_7a.onclick){ -_78.onclick=_7a.onclick; -} -} -}; -$.fn.linkbutton=function(_7d,_7e){ -if(typeof _7d=="string"){ -return $.fn.linkbutton.methods[_7d](this,_7e); -} -_7d=_7d||{}; -return this.each(function(){ -var _7f=$.data(this,"linkbutton"); -if(_7f){ -$.extend(_7f.options,_7d); -}else{ -$.data(this,"linkbutton",{options:$.extend({},$.fn.linkbutton.defaults,$.fn.linkbutton.parseOptions(this),_7d)}); -$(this).removeAttr("disabled"); -} -_6f(this); -}); -}; -$.fn.linkbutton.methods={options:function(jq){ -return $.data(jq[0],"linkbutton").options; -},enable:function(jq){ -return jq.each(function(){ -_74(this,false); -}); -},disable:function(jq){ -return jq.each(function(){ -_74(this,true); -}); -},select:function(jq){ -return jq.each(function(){ -_73(this,true); -}); -},unselect:function(jq){ -return jq.each(function(){ -_73(this,false); -}); -}}; -$.fn.linkbutton.parseOptions=function(_80){ -var t=$(_80); -return $.extend({},$.parser.parseOptions(_80,["id","iconCls","iconAlign","group","size",{plain:"boolean",toggle:"boolean",selected:"boolean"}]),{disabled:(t.attr("disabled")?true:undefined),text:$.trim(t.html()),iconCls:(t.attr("icon")||t.attr("iconCls"))}); -}; -$.fn.linkbutton.defaults={id:null,disabled:false,toggle:false,selected:false,group:null,plain:false,text:"",iconCls:null,iconAlign:"left",size:"small",onClick:function(){ -}}; -})(jQuery); -(function($){ -function _81(_82){ -var _83=$.data(_82,"pagination"); -var _84=_83.options; -var bb=_83.bb={}; -var _85=$(_82).addClass("pagination").html("
                                "); -var tr=_85.find("tr"); -var aa=$.extend([],_84.layout); -if(!_84.showPageList){ -_86(aa,"list"); -} -if(!_84.showRefresh){ -_86(aa,"refresh"); -} -if(aa[0]=="sep"){ -aa.shift(); -} -if(aa[aa.length-1]=="sep"){ -aa.pop(); -} -for(var _87=0;_87"); -ps.bind("change",function(){ -_84.pageSize=parseInt($(this).val()); -_84.onChangePageSize.call(_82,_84.pageSize); -_8e(_82,_84.pageNumber); -}); -for(var i=0;i<_84.pageList.length;i++){ -$("").text(_84.pageList[i]).appendTo(ps); -} -$("").append(ps).appendTo(tr); -}else{ -if(_88=="sep"){ -$("
                                ").appendTo(tr); -}else{ -if(_88=="first"){ -bb.first=_89("first"); -}else{ -if(_88=="prev"){ -bb.prev=_89("prev"); -}else{ -if(_88=="next"){ -bb.next=_89("next"); -}else{ -if(_88=="last"){ -bb.last=_89("last"); -}else{ -if(_88=="manual"){ -$("").html(_84.beforePageText).appendTo(tr).wrap(""); -bb.num=$("").appendTo(tr).wrap(""); -bb.num.unbind(".pagination").bind("keydown.pagination",function(e){ -if(e.keyCode==13){ -var _8a=parseInt($(this).val())||1; -_8e(_82,_8a); -return false; -} -}); -bb.after=$("").appendTo(tr).wrap(""); -}else{ -if(_88=="refresh"){ -bb.refresh=_89("refresh"); -}else{ -if(_88=="links"){ -$("").appendTo(tr); -} -} -} -} -} -} -} -} -} -} -if(_84.buttons){ -$("
                                ").appendTo(tr); -if($.isArray(_84.buttons)){ -for(var i=0;i<_84.buttons.length;i++){ -var btn=_84.buttons[i]; -if(btn=="-"){ -$("
                                ").appendTo(tr); -}else{ -var td=$("").appendTo(tr); -var a=$("").appendTo(td); -a[0].onclick=eval(btn.handler||function(){ -}); -a.linkbutton($.extend({},btn,{plain:true})); -} -} -}else{ -var td=$("").appendTo(tr); -$(_84.buttons).appendTo(td).show(); -} -} -$("
                                ").appendTo(_85); -$("
                                ").appendTo(_85); -function _89(_8b){ -var btn=_84.nav[_8b]; -var a=$("").appendTo(tr); -a.wrap(""); -a.linkbutton({iconCls:btn.iconCls,plain:true}).unbind(".pagination").bind("click.pagination",function(){ -btn.handler.call(_82); -}); -return a; -}; -function _86(aa,_8c){ -var _8d=$.inArray(_8c,aa); -if(_8d>=0){ -aa.splice(_8d,1); -} -return aa; -}; -}; -function _8e(_8f,_90){ -var _91=$.data(_8f,"pagination").options; -_92(_8f,{pageNumber:_90}); -_91.onSelectPage.call(_8f,_91.pageNumber,_91.pageSize); -}; -function _92(_93,_94){ -var _95=$.data(_93,"pagination"); -var _96=_95.options; -var bb=_95.bb; -$.extend(_96,_94||{}); -var ps=$(_93).find("select.pagination-page-list"); -if(ps.length){ -ps.val(_96.pageSize+""); -_96.pageSize=parseInt(ps.val()); -} -var _97=Math.ceil(_96.total/_96.pageSize)||1; -if(_96.pageNumber<1){ -_96.pageNumber=1; -} -if(_96.pageNumber>_97){ -_96.pageNumber=_97; -} -if(bb.num){ -bb.num.val(_96.pageNumber); -} -if(bb.after){ -bb.after.html(_96.afterPageText.replace(/{pages}/,_97)); -} -var td=$(_93).find("td.pagination-links"); -if(td.length){ -td.empty(); -var _98=_96.pageNumber-Math.floor(_96.links/2); -if(_98<1){ -_98=1; -} -var _99=_98+_96.links-1; -if(_99>_97){ -_99=_97; -} -_98=_99-_96.links+1; -if(_98<1){ -_98=1; -} -for(var i=_98;i<=_99;i++){ -var a=$("").appendTo(td); -a.linkbutton({plain:true,text:i}); -if(i==_96.pageNumber){ -a.linkbutton("select"); -}else{ -a.unbind(".pagination").bind("click.pagination",{pageNumber:i},function(e){ -_8e(_93,e.data.pageNumber); -}); -} -} -} -var _9a=_96.displayMsg; -_9a=_9a.replace(/{from}/,_96.total==0?0:_96.pageSize*(_96.pageNumber-1)+1); -_9a=_9a.replace(/{to}/,Math.min(_96.pageSize*(_96.pageNumber),_96.total)); -_9a=_9a.replace(/{total}/,_96.total); -$(_93).find("div.pagination-info").html(_9a); -if(bb.first){ -bb.first.linkbutton({disabled:(_96.pageNumber==1)}); -} -if(bb.prev){ -bb.prev.linkbutton({disabled:(_96.pageNumber==1)}); -} -if(bb.next){ -bb.next.linkbutton({disabled:(_96.pageNumber==_97)}); -} -if(bb.last){ -bb.last.linkbutton({disabled:(_96.pageNumber==_97)}); -} -_9b(_93,_96.loading); -}; -function _9b(_9c,_9d){ -var _9e=$.data(_9c,"pagination"); -var _9f=_9e.options; -_9f.loading=_9d; -if(_9f.showRefresh&&_9e.bb.refresh){ -_9e.bb.refresh.linkbutton({iconCls:(_9f.loading?"pagination-loading":"pagination-load")}); -} -}; -$.fn.pagination=function(_a0,_a1){ -if(typeof _a0=="string"){ -return $.fn.pagination.methods[_a0](this,_a1); -} -_a0=_a0||{}; -return this.each(function(){ -var _a2; -var _a3=$.data(this,"pagination"); -if(_a3){ -_a2=$.extend(_a3.options,_a0); -}else{ -_a2=$.extend({},$.fn.pagination.defaults,$.fn.pagination.parseOptions(this),_a0); -$.data(this,"pagination",{options:_a2}); -} -_81(this); -_92(this); -}); -}; -$.fn.pagination.methods={options:function(jq){ -return $.data(jq[0],"pagination").options; -},loading:function(jq){ -return jq.each(function(){ -_9b(this,true); -}); -},loaded:function(jq){ -return jq.each(function(){ -_9b(this,false); -}); -},refresh:function(jq,_a4){ -return jq.each(function(){ -_92(this,_a4); -}); -},select:function(jq,_a5){ -return jq.each(function(){ -_8e(this,_a5); -}); -}}; -$.fn.pagination.parseOptions=function(_a6){ -var t=$(_a6); -return $.extend({},$.parser.parseOptions(_a6,[{total:"number",pageSize:"number",pageNumber:"number",links:"number"},{loading:"boolean",showPageList:"boolean",showRefresh:"boolean"}]),{pageList:(t.attr("pageList")?eval(t.attr("pageList")):undefined)}); -}; -$.fn.pagination.defaults={total:1,pageSize:10,pageNumber:1,pageList:[10,20,30,50],loading:false,buttons:null,showPageList:true,showRefresh:true,links:10,layout:["list","sep","first","prev","sep","manual","sep","next","last","sep","refresh"],onSelectPage:function(_a7,_a8){ -},onBeforeRefresh:function(_a9,_aa){ -},onRefresh:function(_ab,_ac){ -},onChangePageSize:function(_ad){ -},beforePageText:"Page",afterPageText:"of {pages}",displayMsg:"Displaying {from} to {to} of {total} items",nav:{first:{iconCls:"pagination-first",handler:function(){ -var _ae=$(this).pagination("options"); -if(_ae.pageNumber>1){ -$(this).pagination("select",1); -} -}},prev:{iconCls:"pagination-prev",handler:function(){ -var _af=$(this).pagination("options"); -if(_af.pageNumber>1){ -$(this).pagination("select",_af.pageNumber-1); -} -}},next:{iconCls:"pagination-next",handler:function(){ -var _b0=$(this).pagination("options"); -var _b1=Math.ceil(_b0.total/_b0.pageSize); -if(_b0.pageNumber<_b1){ -$(this).pagination("select",_b0.pageNumber+1); -} -}},last:{iconCls:"pagination-last",handler:function(){ -var _b2=$(this).pagination("options"); -var _b3=Math.ceil(_b2.total/_b2.pageSize); -if(_b2.pageNumber<_b3){ -$(this).pagination("select",_b3); -} -}},refresh:{iconCls:"pagination-refresh",handler:function(){ -var _b4=$(this).pagination("options"); -if(_b4.onBeforeRefresh.call(this,_b4.pageNumber,_b4.pageSize)!=false){ -$(this).pagination("select",_b4.pageNumber); -_b4.onRefresh.call(this,_b4.pageNumber,_b4.pageSize); -} -}}}}; -})(jQuery); -(function($){ -function _b5(_b6){ -var _b7=$(_b6); -_b7.addClass("tree"); -return _b7; -}; -function _b8(_b9){ -var _ba=$.data(_b9,"tree").options; -$(_b9).unbind().bind("mouseover",function(e){ -var tt=$(e.target); -var _bb=tt.closest("div.tree-node"); -if(!_bb.length){ -return; -} -_bb.addClass("tree-node-hover"); -if(tt.hasClass("tree-hit")){ -if(tt.hasClass("tree-expanded")){ -tt.addClass("tree-expanded-hover"); -}else{ -tt.addClass("tree-collapsed-hover"); -} -} -e.stopPropagation(); -}).bind("mouseout",function(e){ -var tt=$(e.target); -var _bc=tt.closest("div.tree-node"); -if(!_bc.length){ -return; -} -_bc.removeClass("tree-node-hover"); -if(tt.hasClass("tree-hit")){ -if(tt.hasClass("tree-expanded")){ -tt.removeClass("tree-expanded-hover"); -}else{ -tt.removeClass("tree-collapsed-hover"); -} -} -e.stopPropagation(); -}).bind("click",function(e){ -var tt=$(e.target); -var _bd=tt.closest("div.tree-node"); -if(!_bd.length){ -return; -} -if(tt.hasClass("tree-hit")){ -_125(_b9,_bd[0]); -return false; -}else{ -if(tt.hasClass("tree-checkbox")){ -_e8(_b9,_bd[0],!tt.hasClass("tree-checkbox1")); -return false; -}else{ -_16a(_b9,_bd[0]); -_ba.onClick.call(_b9,_c0(_b9,_bd[0])); -} -} -e.stopPropagation(); -}).bind("dblclick",function(e){ -var _be=$(e.target).closest("div.tree-node"); -if(!_be.length){ -return; -} -_16a(_b9,_be[0]); -_ba.onDblClick.call(_b9,_c0(_b9,_be[0])); -e.stopPropagation(); -}).bind("contextmenu",function(e){ -var _bf=$(e.target).closest("div.tree-node"); -if(!_bf.length){ -return; -} -_ba.onContextMenu.call(_b9,e,_c0(_b9,_bf[0])); -e.stopPropagation(); -}); -}; -function _c1(_c2){ -var _c3=$.data(_c2,"tree").options; -_c3.dnd=false; -var _c4=$(_c2).find("div.tree-node"); -_c4.draggable("disable"); -_c4.css("cursor","pointer"); -}; -function _c5(_c6){ -var _c7=$.data(_c6,"tree"); -var _c8=_c7.options; -var _c9=_c7.tree; -_c7.disabledNodes=[]; -_c8.dnd=true; -_c9.find("div.tree-node").draggable({disabled:false,revert:true,cursor:"pointer",proxy:function(_ca){ -var p=$("
                                ").appendTo("body"); -p.html(" "+$(_ca).find(".tree-title").html()); -p.hide(); -return p; -},deltaX:15,deltaY:15,onBeforeDrag:function(e){ -if(_c8.onBeforeDrag.call(_c6,_c0(_c6,this))==false){ -return false; -} -if($(e.target).hasClass("tree-hit")||$(e.target).hasClass("tree-checkbox")){ -return false; -} -if(e.which!=1){ -return false; -} -$(this).next("ul").find("div.tree-node").droppable({accept:"no-accept"}); -var _cb=$(this).find("span.tree-indent"); -if(_cb.length){ -e.data.offsetWidth-=_cb.length*_cb.width(); -} -},onStartDrag:function(){ -$(this).draggable("proxy").css({left:-10000,top:-10000}); -_c8.onStartDrag.call(_c6,_c0(_c6,this)); -var _cc=_c0(_c6,this); -if(_cc.id==undefined){ -_cc.id="easyui_tree_node_id_temp"; -_108(_c6,_cc); -} -_c7.draggingNodeId=_cc.id; -},onDrag:function(e){ -var x1=e.pageX,y1=e.pageY,x2=e.data.startX,y2=e.data.startY; -var d=Math.sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)); -if(d>3){ -$(this).draggable("proxy").show(); -} -this.pageY=e.pageY; -},onStopDrag:function(){ -$(this).next("ul").find("div.tree-node").droppable({accept:"div.tree-node"}); -for(var i=0;i<_c7.disabledNodes.length;i++){ -$(_c7.disabledNodes[i]).droppable("enable"); -} -_c7.disabledNodes=[]; -var _cd=_162(_c6,_c7.draggingNodeId); -if(_cd&&_cd.id=="easyui_tree_node_id_temp"){ -_cd.id=""; -_108(_c6,_cd); -} -_c8.onStopDrag.call(_c6,_cd); -}}).droppable({accept:"div.tree-node",onDragEnter:function(e,_ce){ -if(_c8.onDragEnter.call(_c6,this,_cf(_ce))==false){ -_d0(_ce,false); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -$(this).droppable("disable"); -_c7.disabledNodes.push(this); -} -},onDragOver:function(e,_d1){ -if($(this).droppable("options").disabled){ -return; -} -var _d2=_d1.pageY; -var top=$(this).offset().top; -var _d3=top+$(this).outerHeight(); -_d0(_d1,true); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -if(_d2>top+(_d3-top)/2){ -if(_d3-_d2<5){ -$(this).addClass("tree-node-bottom"); -}else{ -$(this).addClass("tree-node-append"); -} -}else{ -if(_d2-top<5){ -$(this).addClass("tree-node-top"); -}else{ -$(this).addClass("tree-node-append"); -} -} -if(_c8.onDragOver.call(_c6,this,_cf(_d1))==false){ -_d0(_d1,false); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -$(this).droppable("disable"); -_c7.disabledNodes.push(this); -} -},onDragLeave:function(e,_d4){ -_d0(_d4,false); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -_c8.onDragLeave.call(_c6,this,_cf(_d4)); -},onDrop:function(e,_d5){ -var _d6=this; -var _d7,_d8; -if($(this).hasClass("tree-node-append")){ -_d7=_d9; -_d8="append"; -}else{ -_d7=_da; -_d8=$(this).hasClass("tree-node-top")?"top":"bottom"; -} -if(_c8.onBeforeDrop.call(_c6,_d6,_cf(_d5),_d8)==false){ -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -return; -} -_d7(_d5,_d6,_d8); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -}}); -function _cf(_db,pop){ -return $(_db).closest("ul.tree").tree(pop?"pop":"getData",_db); -}; -function _d0(_dc,_dd){ -var _de=$(_dc).draggable("proxy").find("span.tree-dnd-icon"); -_de.removeClass("tree-dnd-yes tree-dnd-no").addClass(_dd?"tree-dnd-yes":"tree-dnd-no"); -}; -function _d9(_df,_e0){ -if(_c0(_c6,_e0).state=="closed"){ -_11d(_c6,_e0,function(){ -_e1(); -}); -}else{ -_e1(); -} -function _e1(){ -var _e2=_cf(_df,true); -$(_c6).tree("append",{parent:_e0,data:[_e2]}); -_c8.onDrop.call(_c6,_e0,_e2,"append"); -}; -}; -function _da(_e3,_e4,_e5){ -var _e6={}; -if(_e5=="top"){ -_e6.before=_e4; -}else{ -_e6.after=_e4; -} -var _e7=_cf(_e3,true); -_e6.data=_e7; -$(_c6).tree("insert",_e6); -_c8.onDrop.call(_c6,_e4,_e7,_e5); -}; -}; -function _e8(_e9,_ea,_eb){ -var _ec=$.data(_e9,"tree").options; -if(!_ec.checkbox){ -return; -} -var _ed=_c0(_e9,_ea); -if(_ec.onBeforeCheck.call(_e9,_ed,_eb)==false){ -return; -} -var _ee=$(_ea); -var ck=_ee.find(".tree-checkbox"); -ck.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); -if(_eb){ -ck.addClass("tree-checkbox1"); -}else{ -ck.addClass("tree-checkbox0"); -} -if(_ec.cascadeCheck){ -_ef(_ee); -_f0(_ee); -} -_ec.onCheck.call(_e9,_ed,_eb); -function _f0(_f1){ -var _f2=_f1.next().find(".tree-checkbox"); -_f2.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); -if(_f1.find(".tree-checkbox").hasClass("tree-checkbox1")){ -_f2.addClass("tree-checkbox1"); -}else{ -_f2.addClass("tree-checkbox0"); -} -}; -function _ef(_f3){ -var _f4=_130(_e9,_f3[0]); -if(_f4){ -var ck=$(_f4.target).find(".tree-checkbox"); -ck.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); -if(_f5(_f3)){ -ck.addClass("tree-checkbox1"); -}else{ -if(_f6(_f3)){ -ck.addClass("tree-checkbox0"); -}else{ -ck.addClass("tree-checkbox2"); -} -} -_ef($(_f4.target)); -} -function _f5(n){ -var ck=n.find(".tree-checkbox"); -if(ck.hasClass("tree-checkbox0")||ck.hasClass("tree-checkbox2")){ -return false; -} -var b=true; -n.parent().siblings().each(function(){ -if(!$(this).children("div.tree-node").children(".tree-checkbox").hasClass("tree-checkbox1")){ -b=false; -} -}); -return b; -}; -function _f6(n){ -var ck=n.find(".tree-checkbox"); -if(ck.hasClass("tree-checkbox1")||ck.hasClass("tree-checkbox2")){ -return false; -} -var b=true; -n.parent().siblings().each(function(){ -if(!$(this).children("div.tree-node").children(".tree-checkbox").hasClass("tree-checkbox0")){ -b=false; -} -}); -return b; -}; -}; -}; -function _f7(_f8,_f9){ -var _fa=$.data(_f8,"tree").options; -if(!_fa.checkbox){ -return; -} -var _fb=$(_f9); -if(_fc(_f8,_f9)){ -var ck=_fb.find(".tree-checkbox"); -if(ck.length){ -if(ck.hasClass("tree-checkbox1")){ -_e8(_f8,_f9,true); -}else{ -_e8(_f8,_f9,false); -} -}else{ -if(_fa.onlyLeafCheck){ -$("").insertBefore(_fb.find(".tree-title")); -} -} -}else{ -var ck=_fb.find(".tree-checkbox"); -if(_fa.onlyLeafCheck){ -ck.remove(); -}else{ -if(ck.hasClass("tree-checkbox1")){ -_e8(_f8,_f9,true); -}else{ -if(ck.hasClass("tree-checkbox2")){ -var _fd=true; -var _fe=true; -var _ff=_100(_f8,_f9); -for(var i=0;i<_ff.length;i++){ -if(_ff[i].checked){ -_fe=false; -}else{ -_fd=false; -} -} -if(_fd){ -_e8(_f8,_f9,true); -} -if(_fe){ -_e8(_f8,_f9,false); -} -} -} -} -} -}; -function _101(_102,ul,data,_103){ -var _104=$.data(_102,"tree"); -var opts=_104.options; -var _105=$(ul).prevAll("div.tree-node:first"); -data=opts.loadFilter.call(_102,data,_105[0]); -var _106=_107(_102,"domId",_105.attr("id")); -if(!_103){ -_106?_106.children=data:_104.data=data; -$(ul).empty(); -}else{ -if(_106){ -_106.children?_106.children=_106.children.concat(data):_106.children=data; -}else{ -_104.data=_104.data.concat(data); -} -} -opts.view.render.call(opts.view,_102,ul,data); -if(opts.dnd){ -_c5(_102); -} -if(_106){ -_108(_102,_106); -} -var _109=[]; -var _10a=[]; -for(var i=0;i1){ -$(_110[0].target).addClass("tree-root-first"); -}else{ -if(_110.length==1){ -$(_110[0].target).addClass("tree-root-one"); -} -} -} -$(ul).children("li").each(function(){ -var node=$(this).children("div.tree-node"); -var ul=node.next("ul"); -if(ul.length){ -if($(this).next().length){ -_111(node); -} -_10d(_10e,ul,_10f); -}else{ -_112(node); -} -}); -var _113=$(ul).children("li:last").children("div.tree-node").addClass("tree-node-last"); -_113.children("span.tree-join").removeClass("tree-join").addClass("tree-joinbottom"); -function _112(node,_114){ -var icon=node.find("span.tree-icon"); -icon.prev("span.tree-indent").addClass("tree-join"); -}; -function _111(node){ -var _115=node.find("span.tree-indent, span.tree-hit").length; -node.next().find("div.tree-node").each(function(){ -$(this).children("span:eq("+(_115-1)+")").addClass("tree-line"); -}); -}; -}; -function _116(_117,ul,_118,_119){ -var opts=$.data(_117,"tree").options; -_118=_118||{}; -var _11a=null; -if(_117!=ul){ -var node=$(ul).prev(); -_11a=_c0(_117,node[0]); -} -if(opts.onBeforeLoad.call(_117,_11a,_118)==false){ -return; -} -var _11b=$(ul).prev().children("span.tree-folder"); -_11b.addClass("tree-loading"); -var _11c=opts.loader.call(_117,_118,function(data){ -_11b.removeClass("tree-loading"); -_101(_117,ul,data); -if(_119){ -_119(); -} -},function(){ -_11b.removeClass("tree-loading"); -opts.onLoadError.apply(_117,arguments); -if(_119){ -_119(); -} -}); -if(_11c==false){ -_11b.removeClass("tree-loading"); -} -}; -function _11d(_11e,_11f,_120){ -var opts=$.data(_11e,"tree").options; -var hit=$(_11f).children("span.tree-hit"); -if(hit.length==0){ -return; -} -if(hit.hasClass("tree-expanded")){ -return; -} -var node=_c0(_11e,_11f); -if(opts.onBeforeExpand.call(_11e,node)==false){ -return; -} -hit.removeClass("tree-collapsed tree-collapsed-hover").addClass("tree-expanded"); -hit.next().addClass("tree-folder-open"); -var ul=$(_11f).next(); -if(ul.length){ -if(opts.animate){ -ul.slideDown("normal",function(){ -node.state="open"; -opts.onExpand.call(_11e,node); -if(_120){ -_120(); -} -}); -}else{ -ul.css("display","block"); -node.state="open"; -opts.onExpand.call(_11e,node); -if(_120){ -_120(); -} -} -}else{ -var _121=$("
                                  ").insertAfter(_11f); -_116(_11e,_121[0],{id:node.id},function(){ -if(_121.is(":empty")){ -_121.remove(); -} -if(opts.animate){ -_121.slideDown("normal",function(){ -node.state="open"; -opts.onExpand.call(_11e,node); -if(_120){ -_120(); -} -}); -}else{ -_121.css("display","block"); -node.state="open"; -opts.onExpand.call(_11e,node); -if(_120){ -_120(); -} -} -}); -} -}; -function _122(_123,_124){ -var opts=$.data(_123,"tree").options; -var hit=$(_124).children("span.tree-hit"); -if(hit.length==0){ -return; -} -if(hit.hasClass("tree-collapsed")){ -return; -} -var node=_c0(_123,_124); -if(opts.onBeforeCollapse.call(_123,node)==false){ -return; -} -hit.removeClass("tree-expanded tree-expanded-hover").addClass("tree-collapsed"); -hit.next().removeClass("tree-folder-open"); -var ul=$(_124).next(); -if(opts.animate){ -ul.slideUp("normal",function(){ -node.state="closed"; -opts.onCollapse.call(_123,node); -}); -}else{ -ul.css("display","none"); -node.state="closed"; -opts.onCollapse.call(_123,node); -} -}; -function _125(_126,_127){ -var hit=$(_127).children("span.tree-hit"); -if(hit.length==0){ -return; -} -if(hit.hasClass("tree-expanded")){ -_122(_126,_127); -}else{ -_11d(_126,_127); -} -}; -function _128(_129,_12a){ -var _12b=_100(_129,_12a); -if(_12a){ -_12b.unshift(_c0(_129,_12a)); -} -for(var i=0;i<_12b.length;i++){ -_11d(_129,_12b[i].target); -} -}; -function _12c(_12d,_12e){ -var _12f=[]; -var p=_130(_12d,_12e); -while(p){ -_12f.unshift(p); -p=_130(_12d,p.target); -} -for(var i=0;i<_12f.length;i++){ -_11d(_12d,_12f[i].target); -} -}; -function _131(_132,_133){ -var c=$(_132).parent(); -while(c[0].tagName!="BODY"&&c.css("overflow-y")!="auto"){ -c=c.parent(); -} -var n=$(_133); -var ntop=n.offset().top; -if(c[0].tagName!="BODY"){ -var ctop=c.offset().top; -if(ntopctop+c.outerHeight()-18){ -c.scrollTop(c.scrollTop()+ntop+n.outerHeight()-ctop-c.outerHeight()+18); -} -} -}else{ -c.scrollTop(ntop); -} -}; -function _134(_135,_136){ -var _137=_100(_135,_136); -if(_136){ -_137.unshift(_c0(_135,_136)); -} -for(var i=0;i<_137.length;i++){ -_122(_135,_137[i].target); -} -}; -function _138(_139,_13a){ -var node=$(_13a.parent); -var data=_13a.data; -if(!data){ -return; -} -data=$.isArray(data)?data:[data]; -if(!data.length){ -return; -} -var ul; -if(node.length==0){ -ul=$(_139); -}else{ -if(_fc(_139,node[0])){ -var _13b=node.find("span.tree-icon"); -_13b.removeClass("tree-file").addClass("tree-folder tree-folder-open"); -var hit=$("").insertBefore(_13b); -if(hit.prev().length){ -hit.prev().remove(); -} -} -ul=node.next(); -if(!ul.length){ -ul=$("
                                    ").insertAfter(node); -} -} -_101(_139,ul[0],data,true); -_f7(_139,ul.prev()); -}; -function _13c(_13d,_13e){ -var ref=_13e.before||_13e.after; -var _13f=_130(_13d,ref); -var data=_13e.data; -if(!data){ -return; -} -data=$.isArray(data)?data:[data]; -if(!data.length){ -return; -} -_138(_13d,{parent:(_13f?_13f.target:null),data:data}); -var _140=_13f?_13f.children:$(_13d).tree("getRoots"); -for(var i=0;i<_140.length;i++){ -if(_140[i].domId==$(ref).attr("id")){ -for(var j=data.length-1;j>=0;j--){ -_140.splice((_13e.before?i:(i+1)),0,data[j]); -} -_140.splice(_140.length-data.length,data.length); -break; -} -} -var li=$(); -for(var i=0;i").prependTo(node); -node.next().remove(); -} -_108(_142,_144); -_f7(_142,_144.target); -} -_10d(_142,_142); -function del(_145){ -var id=$(_145).attr("id"); -var _146=_130(_142,_145); -var cc=_146?_146.children:$.data(_142,"tree").data; -for(var i=0;i=0;i--){ -_169.unshift(node.children[i]); -} -} -} -}; -function _16a(_16b,_16c){ -var opts=$.data(_16b,"tree").options; -var node=_c0(_16b,_16c); -if(opts.onBeforeSelect.call(_16b,node)==false){ -return; -} -$(_16b).find("div.tree-node-selected").removeClass("tree-node-selected"); -$(_16c).addClass("tree-node-selected"); -opts.onSelect.call(_16b,node); -}; -function _fc(_16d,_16e){ -return $(_16e).children("span.tree-hit").length==0; -}; -function _16f(_170,_171){ -var opts=$.data(_170,"tree").options; -var node=_c0(_170,_171); -if(opts.onBeforeEdit.call(_170,node)==false){ -return; -} -$(_171).css("position","relative"); -var nt=$(_171).find(".tree-title"); -var _172=nt.outerWidth(); -nt.empty(); -var _173=$("").appendTo(nt); -_173.val(node.text).focus(); -_173.width(_172+20); -_173.height(document.compatMode=="CSS1Compat"?(18-(_173.outerHeight()-_173.height())):18); -_173.bind("click",function(e){ -return false; -}).bind("mousedown",function(e){ -e.stopPropagation(); -}).bind("mousemove",function(e){ -e.stopPropagation(); -}).bind("keydown",function(e){ -if(e.keyCode==13){ -_174(_170,_171); -return false; -}else{ -if(e.keyCode==27){ -_178(_170,_171); -return false; -} -} -}).bind("blur",function(e){ -e.stopPropagation(); -_174(_170,_171); -}); -}; -function _174(_175,_176){ -var opts=$.data(_175,"tree").options; -$(_176).css("position",""); -var _177=$(_176).find("input.tree-editor"); -var val=_177.val(); -_177.remove(); -var node=_c0(_175,_176); -node.text=val; -_108(_175,node); -opts.onAfterEdit.call(_175,node); -}; -function _178(_179,_17a){ -var opts=$.data(_179,"tree").options; -$(_17a).css("position",""); -$(_17a).find("input.tree-editor").remove(); -var node=_c0(_179,_17a); -_108(_179,node); -opts.onCancelEdit.call(_179,node); -}; -$.fn.tree=function(_17b,_17c){ -if(typeof _17b=="string"){ -return $.fn.tree.methods[_17b](this,_17c); -} -var _17b=_17b||{}; -return this.each(function(){ -var _17d=$.data(this,"tree"); -var opts; -if(_17d){ -opts=$.extend(_17d.options,_17b); -_17d.options=opts; -}else{ -opts=$.extend({},$.fn.tree.defaults,$.fn.tree.parseOptions(this),_17b); -$.data(this,"tree",{options:opts,tree:_b5(this),data:[]}); -var data=$.fn.tree.parseData(this); -if(data.length){ -_101(this,this,data); -} -} -_b8(this); -if(opts.data){ -_101(this,this,$.extend(true,[],opts.data)); -} -_116(this,this); -}); -}; -$.fn.tree.methods={options:function(jq){ -return $.data(jq[0],"tree").options; -},loadData:function(jq,data){ -return jq.each(function(){ -_101(this,this,data); -}); -},getNode:function(jq,_17e){ -return _c0(jq[0],_17e); -},getData:function(jq,_17f){ -return _15d(jq[0],_17f); -},reload:function(jq,_180){ -return jq.each(function(){ -if(_180){ -var node=$(_180); -var hit=node.children("span.tree-hit"); -hit.removeClass("tree-expanded tree-expanded-hover").addClass("tree-collapsed"); -node.next().remove(); -_11d(this,_180); -}else{ -$(this).empty(); -_116(this,this); -} -}); -},getRoot:function(jq){ -return _14a(jq[0]); -},getRoots:function(jq){ -return _14d(jq[0]); -},getParent:function(jq,_181){ -return _130(jq[0],_181); -},getChildren:function(jq,_182){ -return _100(jq[0],_182); -},getChecked:function(jq,_183){ -return _156(jq[0],_183); -},getSelected:function(jq){ -return _15b(jq[0]); -},isLeaf:function(jq,_184){ -return _fc(jq[0],_184); -},find:function(jq,id){ -return _162(jq[0],id); -},select:function(jq,_185){ -return jq.each(function(){ -_16a(this,_185); -}); -},check:function(jq,_186){ -return jq.each(function(){ -_e8(this,_186,true); -}); -},uncheck:function(jq,_187){ -return jq.each(function(){ -_e8(this,_187,false); -}); -},collapse:function(jq,_188){ -return jq.each(function(){ -_122(this,_188); -}); -},expand:function(jq,_189){ -return jq.each(function(){ -_11d(this,_189); -}); -},collapseAll:function(jq,_18a){ -return jq.each(function(){ -_134(this,_18a); -}); -},expandAll:function(jq,_18b){ -return jq.each(function(){ -_128(this,_18b); -}); -},expandTo:function(jq,_18c){ -return jq.each(function(){ -_12c(this,_18c); -}); -},scrollTo:function(jq,_18d){ -return jq.each(function(){ -_131(this,_18d); -}); -},toggle:function(jq,_18e){ -return jq.each(function(){ -_125(this,_18e); -}); -},append:function(jq,_18f){ -return jq.each(function(){ -_138(this,_18f); -}); -},insert:function(jq,_190){ -return jq.each(function(){ -_13c(this,_190); -}); -},remove:function(jq,_191){ -return jq.each(function(){ -_141(this,_191); -}); -},pop:function(jq,_192){ -var node=jq.tree("getData",_192); -jq.tree("remove",_192); -return node; -},update:function(jq,_193){ -return jq.each(function(){ -_108(this,_193); -}); -},enableDnd:function(jq){ -return jq.each(function(){ -_c5(this); -}); -},disableDnd:function(jq){ -return jq.each(function(){ -_c1(this); -}); -},beginEdit:function(jq,_194){ -return jq.each(function(){ -_16f(this,_194); -}); -},endEdit:function(jq,_195){ -return jq.each(function(){ -_174(this,_195); -}); -},cancelEdit:function(jq,_196){ -return jq.each(function(){ -_178(this,_196); -}); -}}; -$.fn.tree.parseOptions=function(_197){ -var t=$(_197); -return $.extend({},$.parser.parseOptions(_197,["url","method",{checkbox:"boolean",cascadeCheck:"boolean",onlyLeafCheck:"boolean"},{animate:"boolean",lines:"boolean",dnd:"boolean"}])); -}; -$.fn.tree.parseData=function(_198){ -var data=[]; -_199(data,$(_198)); -return data; -function _199(aa,tree){ -tree.children("li").each(function(){ -var node=$(this); -var item=$.extend({},$.parser.parseOptions(this,["id","iconCls","state"]),{checked:(node.attr("checked")?true:undefined)}); -item.text=node.children("span").html(); -if(!item.text){ -item.text=node.html(); -} -var _19a=node.children("ul"); -if(_19a.length){ -item.children=[]; -_199(item.children,_19a); -} -aa.push(item); -}); -}; -}; -var _19b=1; -var _19c={render:function(_19d,ul,data){ -var opts=$.data(_19d,"tree").options; -var _19e=$(ul).prev("div.tree-node").find("span.tree-indent, span.tree-hit").length; -var cc=_19f(_19e,data); -$(ul).append(cc.join("")); -function _19f(_1a0,_1a1){ -var cc=[]; -for(var i=0;i<_1a1.length;i++){ -var item=_1a1[i]; -if(item.state!="open"&&item.state!="closed"){ -item.state="open"; -} -item.domId="_easyui_tree_"+_19b++; -cc.push("
                                  • "); -cc.push("
                                    "); -for(var j=0;j<_1a0;j++){ -cc.push(""); -} -var _1a2=false; -if(item.state=="closed"){ -cc.push(""); -cc.push(""); -}else{ -if(item.children&&item.children.length){ -cc.push(""); -cc.push(""); -}else{ -cc.push(""); -cc.push(""); -_1a2=true; -} -} -if(opts.checkbox){ -if((!opts.onlyLeafCheck)||_1a2){ -cc.push(""); -} -} -cc.push(""+opts.formatter.call(_19d,item)+""); -cc.push("
                                    "); -if(item.children&&item.children.length){ -var tmp=_19f(_1a0+1,item.children); -cc.push("
                                      "); -cc=cc.concat(tmp); -cc.push("
                                    "); -} -cc.push("
                                  • "); -} -return cc; -}; -}}; -$.fn.tree.defaults={url:null,method:"post",animate:false,checkbox:false,cascadeCheck:true,onlyLeafCheck:false,lines:false,dnd:false,data:null,formatter:function(node){ -return node.text; -},loader:function(_1a3,_1a4,_1a5){ -var opts=$(this).tree("options"); -if(!opts.url){ -return false; -} -$.ajax({type:opts.method,url:opts.url,data:_1a3,dataType:"json",success:function(data){ -_1a4(data); -},error:function(){ -_1a5.apply(this,arguments); -}}); -},loadFilter:function(data,_1a6){ -return data; -},view:_19c,onBeforeLoad:function(node,_1a7){ -},onLoadSuccess:function(node,data){ -},onLoadError:function(){ -},onClick:function(node){ -},onDblClick:function(node){ -},onBeforeExpand:function(node){ -},onExpand:function(node){ -},onBeforeCollapse:function(node){ -},onCollapse:function(node){ -},onBeforeCheck:function(node,_1a8){ -},onCheck:function(node,_1a9){ -},onBeforeSelect:function(node){ -},onSelect:function(node){ -},onContextMenu:function(e,node){ -},onBeforeDrag:function(node){ -},onStartDrag:function(node){ -},onStopDrag:function(node){ -},onDragEnter:function(_1aa,_1ab){ -},onDragOver:function(_1ac,_1ad){ -},onDragLeave:function(_1ae,_1af){ -},onBeforeDrop:function(_1b0,_1b1,_1b2){ -},onDrop:function(_1b3,_1b4,_1b5){ -},onBeforeEdit:function(node){ -},onAfterEdit:function(node){ -},onCancelEdit:function(node){ -}}; -})(jQuery); -(function($){ -function init(_1b6){ -$(_1b6).addClass("progressbar"); -$(_1b6).html("
                                    "); -return $(_1b6); -}; -function _1b7(_1b8,_1b9){ -var opts=$.data(_1b8,"progressbar").options; -var bar=$.data(_1b8,"progressbar").bar; -if(_1b9){ -opts.width=_1b9; -} -bar._outerWidth(opts.width)._outerHeight(opts.height); -bar.find("div.progressbar-text").width(bar.width()); -bar.find("div.progressbar-text,div.progressbar-value").css({height:bar.height()+"px",lineHeight:bar.height()+"px"}); -}; -$.fn.progressbar=function(_1ba,_1bb){ -if(typeof _1ba=="string"){ -var _1bc=$.fn.progressbar.methods[_1ba]; -if(_1bc){ -return _1bc(this,_1bb); -} -} -_1ba=_1ba||{}; -return this.each(function(){ -var _1bd=$.data(this,"progressbar"); -if(_1bd){ -$.extend(_1bd.options,_1ba); -}else{ -_1bd=$.data(this,"progressbar",{options:$.extend({},$.fn.progressbar.defaults,$.fn.progressbar.parseOptions(this),_1ba),bar:init(this)}); -} -$(this).progressbar("setValue",_1bd.options.value); -_1b7(this); -}); -}; -$.fn.progressbar.methods={options:function(jq){ -return $.data(jq[0],"progressbar").options; -},resize:function(jq,_1be){ -return jq.each(function(){ -_1b7(this,_1be); -}); -},getValue:function(jq){ -return $.data(jq[0],"progressbar").options.value; -},setValue:function(jq,_1bf){ -if(_1bf<0){ -_1bf=0; -} -if(_1bf>100){ -_1bf=100; -} -return jq.each(function(){ -var opts=$.data(this,"progressbar").options; -var text=opts.text.replace(/{value}/,_1bf); -var _1c0=opts.value; -opts.value=_1bf; -$(this).find("div.progressbar-value").width(_1bf+"%"); -$(this).find("div.progressbar-text").html(text); -if(_1c0!=_1bf){ -opts.onChange.call(this,_1bf,_1c0); -} -}); -}}; -$.fn.progressbar.parseOptions=function(_1c1){ -return $.extend({},$.parser.parseOptions(_1c1,["width","height","text",{value:"number"}])); -}; -$.fn.progressbar.defaults={width:"auto",height:22,value:0,text:"{value}%",onChange:function(_1c2,_1c3){ -}}; -})(jQuery); -(function($){ -function init(_1c4){ -$(_1c4).addClass("tooltip-f"); -}; -function _1c5(_1c6){ -var opts=$.data(_1c6,"tooltip").options; -$(_1c6).unbind(".tooltip").bind(opts.showEvent+".tooltip",function(e){ -_1cd(_1c6,e); -}).bind(opts.hideEvent+".tooltip",function(e){ -_1d3(_1c6,e); -}).bind("mousemove.tooltip",function(e){ -if(opts.trackMouse){ -opts.trackMouseX=e.pageX; -opts.trackMouseY=e.pageY; -_1c7(_1c6); -} -}); -}; -function _1c8(_1c9){ -var _1ca=$.data(_1c9,"tooltip"); -if(_1ca.showTimer){ -clearTimeout(_1ca.showTimer); -_1ca.showTimer=null; -} -if(_1ca.hideTimer){ -clearTimeout(_1ca.hideTimer); -_1ca.hideTimer=null; -} -}; -function _1c7(_1cb){ -var _1cc=$.data(_1cb,"tooltip"); -if(!_1cc||!_1cc.tip){ -return; -} -var opts=_1cc.options; -var tip=_1cc.tip; -if(opts.trackMouse){ -t=$(); -var left=opts.trackMouseX+opts.deltaX; -var top=opts.trackMouseY+opts.deltaY; -}else{ -var t=$(_1cb); -var left=t.offset().left+opts.deltaX; -var top=t.offset().top+opts.deltaY; -} -switch(opts.position){ -case "right": -left+=t._outerWidth()+12+(opts.trackMouse?12:0); -top-=(tip._outerHeight()-t._outerHeight())/2; -break; -case "left": -left-=tip._outerWidth()+12+(opts.trackMouse?12:0); -top-=(tip._outerHeight()-t._outerHeight())/2; -break; -case "top": -left-=(tip._outerWidth()-t._outerWidth())/2; -top-=tip._outerHeight()+12+(opts.trackMouse?12:0); -break; -case "bottom": -left-=(tip._outerWidth()-t._outerWidth())/2; -top+=t._outerHeight()+12+(opts.trackMouse?12:0); -break; -} -if(!$(_1cb).is(":visible")){ -left=-100000; -top=-100000; -} -tip.css({left:left,top:top,zIndex:(opts.zIndex!=undefined?opts.zIndex:($.fn.window?$.fn.window.defaults.zIndex++:""))}); -opts.onPosition.call(_1cb,left,top); -}; -function _1cd(_1ce,e){ -var _1cf=$.data(_1ce,"tooltip"); -var opts=_1cf.options; -var tip=_1cf.tip; -if(!tip){ -tip=$("
                                    "+"
                                    "+"
                                    "+"
                                    "+"
                                    ").appendTo("body"); -_1cf.tip=tip; -_1d0(_1ce); -} -tip.removeClass("tooltip-top tooltip-bottom tooltip-left tooltip-right").addClass("tooltip-"+opts.position); -_1c8(_1ce); -_1cf.showTimer=setTimeout(function(){ -_1c7(_1ce); -tip.show(); -opts.onShow.call(_1ce,e); -var _1d1=tip.children(".tooltip-arrow-outer"); -var _1d2=tip.children(".tooltip-arrow"); -var bc="border-"+opts.position+"-color"; -_1d1.add(_1d2).css({borderTopColor:"",borderBottomColor:"",borderLeftColor:"",borderRightColor:""}); -_1d1.css(bc,tip.css(bc)); -_1d2.css(bc,tip.css("backgroundColor")); -},opts.showDelay); -}; -function _1d3(_1d4,e){ -var _1d5=$.data(_1d4,"tooltip"); -if(_1d5&&_1d5.tip){ -_1c8(_1d4); -_1d5.hideTimer=setTimeout(function(){ -_1d5.tip.hide(); -_1d5.options.onHide.call(_1d4,e); -},_1d5.options.hideDelay); -} -}; -function _1d0(_1d6,_1d7){ -var _1d8=$.data(_1d6,"tooltip"); -var opts=_1d8.options; -if(_1d7){ -opts.content=_1d7; -} -if(!_1d8.tip){ -return; -} -var cc=typeof opts.content=="function"?opts.content.call(_1d6):opts.content; -_1d8.tip.children(".tooltip-content").html(cc); -opts.onUpdate.call(_1d6,cc); -}; -function _1d9(_1da){ -var _1db=$.data(_1da,"tooltip"); -if(_1db){ -_1c8(_1da); -var opts=_1db.options; -if(_1db.tip){ -_1db.tip.remove(); -} -if(opts._title){ -$(_1da).attr("title",opts._title); -} -$.removeData(_1da,"tooltip"); -$(_1da).unbind(".tooltip").removeClass("tooltip-f"); -opts.onDestroy.call(_1da); -} -}; -$.fn.tooltip=function(_1dc,_1dd){ -if(typeof _1dc=="string"){ -return $.fn.tooltip.methods[_1dc](this,_1dd); -} -_1dc=_1dc||{}; -return this.each(function(){ -var _1de=$.data(this,"tooltip"); -if(_1de){ -$.extend(_1de.options,_1dc); -}else{ -$.data(this,"tooltip",{options:$.extend({},$.fn.tooltip.defaults,$.fn.tooltip.parseOptions(this),_1dc)}); -init(this); -} -_1c5(this); -_1d0(this); -}); -}; -$.fn.tooltip.methods={options:function(jq){ -return $.data(jq[0],"tooltip").options; -},tip:function(jq){ -return $.data(jq[0],"tooltip").tip; -},arrow:function(jq){ -return jq.tooltip("tip").children(".tooltip-arrow-outer,.tooltip-arrow"); -},show:function(jq,e){ -return jq.each(function(){ -_1cd(this,e); -}); -},hide:function(jq,e){ -return jq.each(function(){ -_1d3(this,e); -}); -},update:function(jq,_1df){ -return jq.each(function(){ -_1d0(this,_1df); -}); -},reposition:function(jq){ -return jq.each(function(){ -_1c7(this); -}); -},destroy:function(jq){ -return jq.each(function(){ -_1d9(this); -}); -}}; -$.fn.tooltip.parseOptions=function(_1e0){ -var t=$(_1e0); -var opts=$.extend({},$.parser.parseOptions(_1e0,["position","showEvent","hideEvent","content",{deltaX:"number",deltaY:"number",showDelay:"number",hideDelay:"number"}]),{_title:t.attr("title")}); -t.attr("title",""); -if(!opts.content){ -opts.content=opts._title; -} -return opts; -}; -$.fn.tooltip.defaults={position:"bottom",content:null,trackMouse:false,deltaX:0,deltaY:0,showEvent:"mouseenter",hideEvent:"mouseleave",showDelay:200,hideDelay:100,onShow:function(e){ -},onHide:function(e){ -},onUpdate:function(_1e1){ -},onPosition:function(left,top){ -},onDestroy:function(){ -}}; -})(jQuery); -(function($){ -$.fn._remove=function(){ -return this.each(function(){ -$(this).remove(); -try{ -this.outerHTML=""; -} -catch(err){ -} -}); -}; -function _1e2(node){ -node._remove(); -}; -function _1e3(_1e4,_1e5){ -var opts=$.data(_1e4,"panel").options; -var _1e6=$.data(_1e4,"panel").panel; -var _1e7=_1e6.children("div.panel-header"); -var _1e8=_1e6.children("div.panel-body"); -if(_1e5){ -$.extend(opts,{width:_1e5.width,height:_1e5.height,left:_1e5.left,top:_1e5.top}); -} -opts.fit?$.extend(opts,_1e6._fit()):_1e6._fit(false); -_1e6.css({left:opts.left,top:opts.top}); -if(!isNaN(opts.width)){ -_1e6._outerWidth(opts.width); -}else{ -_1e6.width("auto"); -} -_1e7.add(_1e8)._outerWidth(_1e6.width()); -if(!isNaN(opts.height)){ -_1e6._outerHeight(opts.height); -_1e8._outerHeight(_1e6.height()-_1e7._outerHeight()); -}else{ -_1e8.height("auto"); -} -_1e6.css("height",""); -opts.onResize.apply(_1e4,[opts.width,opts.height]); -$(_1e4).find(">div:visible,>form>div:visible").triggerHandler("_resize"); -}; -function _1e9(_1ea,_1eb){ -var opts=$.data(_1ea,"panel").options; -var _1ec=$.data(_1ea,"panel").panel; -if(_1eb){ -if(_1eb.left!=null){ -opts.left=_1eb.left; -} -if(_1eb.top!=null){ -opts.top=_1eb.top; -} -} -_1ec.css({left:opts.left,top:opts.top}); -opts.onMove.apply(_1ea,[opts.left,opts.top]); -}; -function _1ed(_1ee){ -$(_1ee).addClass("panel-body"); -var _1ef=$("
                                    ").insertBefore(_1ee); -_1ef[0].appendChild(_1ee); -_1ef.bind("_resize",function(){ -var opts=$.data(_1ee,"panel").options; -if(opts.fit==true){ -_1e3(_1ee); -} -return false; -}); -return _1ef; -}; -function _1f0(_1f1){ -var opts=$.data(_1f1,"panel").options; -var _1f2=$.data(_1f1,"panel").panel; -if(opts.tools&&typeof opts.tools=="string"){ -_1f2.find(">div.panel-header>div.panel-tool .panel-tool-a").appendTo(opts.tools); -} -_1e2(_1f2.children("div.panel-header")); -if(opts.title&&!opts.noheader){ -var _1f3=$("
                                    "+opts.title+"
                                    ").prependTo(_1f2); -if(opts.iconCls){ -_1f3.find(".panel-title").addClass("panel-with-icon"); -$("
                                    ").addClass(opts.iconCls).appendTo(_1f3); -} -var tool=$("
                                    ").appendTo(_1f3); -tool.bind("click",function(e){ -e.stopPropagation(); -}); -if(opts.tools){ -if($.isArray(opts.tools)){ -for(var i=0;i").addClass(opts.tools[i].iconCls).appendTo(tool); -if(opts.tools[i].handler){ -t.bind("click",eval(opts.tools[i].handler)); -} -} -}else{ -$(opts.tools).children().each(function(){ -$(this).addClass($(this).attr("iconCls")).addClass("panel-tool-a").appendTo(tool); -}); -} -} -if(opts.collapsible){ -$("").appendTo(tool).bind("click",function(){ -if(opts.collapsed==true){ -_210(_1f1,true); -}else{ -_205(_1f1,true); -} -return false; -}); -} -if(opts.minimizable){ -$("").appendTo(tool).bind("click",function(){ -_216(_1f1); -return false; -}); -} -if(opts.maximizable){ -$("").appendTo(tool).bind("click",function(){ -if(opts.maximized==true){ -_219(_1f1); -}else{ -_204(_1f1); -} -return false; -}); -} -if(opts.closable){ -$("").appendTo(tool).bind("click",function(){ -_1f4(_1f1); -return false; -}); -} -_1f2.children("div.panel-body").removeClass("panel-body-noheader"); -}else{ -_1f2.children("div.panel-body").addClass("panel-body-noheader"); -} -}; -function _1f5(_1f6,_1f7){ -var _1f8=$.data(_1f6,"panel"); -var opts=_1f8.options; -if(_1f9){ -opts.queryParams=_1f7; -} -if(opts.href){ -if(!_1f8.isLoaded||!opts.cache){ -var _1f9=$.extend({},opts.queryParams); -if(opts.onBeforeLoad.call(_1f6,_1f9)==false){ -return; -} -_1f8.isLoaded=false; -_1fa(_1f6); -if(opts.loadingMessage){ -$(_1f6).html($("
                                    ").html(opts.loadingMessage)); -} -opts.loader.call(_1f6,_1f9,function(data){ -_1fb(opts.extractor.call(_1f6,data)); -opts.onLoad.apply(_1f6,arguments); -_1f8.isLoaded=true; -},function(){ -opts.onLoadError.apply(_1f6,arguments); -}); -} -}else{ -if(opts.content){ -if(!_1f8.isLoaded){ -_1fa(_1f6); -_1fb(opts.content); -_1f8.isLoaded=true; -} -} -} -function _1fb(_1fc){ -$(_1f6).html(_1fc); -$.parser.parse($(_1f6)); -}; -}; -function _1fa(_1fd){ -var t=$(_1fd); -t.find(".combo-f").each(function(){ -$(this).combo("destroy"); -}); -t.find(".m-btn").each(function(){ -$(this).menubutton("destroy"); -}); -t.find(".s-btn").each(function(){ -$(this).splitbutton("destroy"); -}); -t.find(".tooltip-f").each(function(){ -$(this).tooltip("destroy"); -}); -t.children("div").each(function(){ -$(this)._fit(false); -}); -}; -function _1fe(_1ff){ -$(_1ff).find("div.panel:visible,div.accordion:visible,div.tabs-container:visible,div.layout:visible").each(function(){ -$(this).triggerHandler("_resize",[true]); -}); -}; -function _200(_201,_202){ -var opts=$.data(_201,"panel").options; -var _203=$.data(_201,"panel").panel; -if(_202!=true){ -if(opts.onBeforeOpen.call(_201)==false){ -return; -} -} -_203.show(); -opts.closed=false; -opts.minimized=false; -var tool=_203.children("div.panel-header").find("a.panel-tool-restore"); -if(tool.length){ -opts.maximized=true; -} -opts.onOpen.call(_201); -if(opts.maximized==true){ -opts.maximized=false; -_204(_201); -} -if(opts.collapsed==true){ -opts.collapsed=false; -_205(_201); -} -if(!opts.collapsed){ -_1f5(_201); -_1fe(_201); -} -}; -function _1f4(_206,_207){ -var opts=$.data(_206,"panel").options; -var _208=$.data(_206,"panel").panel; -if(_207!=true){ -if(opts.onBeforeClose.call(_206)==false){ -return; -} -} -_208._fit(false); -_208.hide(); -opts.closed=true; -opts.onClose.call(_206); -}; -function _209(_20a,_20b){ -var opts=$.data(_20a,"panel").options; -var _20c=$.data(_20a,"panel").panel; -if(_20b!=true){ -if(opts.onBeforeDestroy.call(_20a)==false){ -return; -} -} -_1fa(_20a); -_1e2(_20c); -opts.onDestroy.call(_20a); -}; -function _205(_20d,_20e){ -var opts=$.data(_20d,"panel").options; -var _20f=$.data(_20d,"panel").panel; -var body=_20f.children("div.panel-body"); -var tool=_20f.children("div.panel-header").find("a.panel-tool-collapse"); -if(opts.collapsed==true){ -return; -} -body.stop(true,true); -if(opts.onBeforeCollapse.call(_20d)==false){ -return; -} -tool.addClass("panel-tool-expand"); -if(_20e==true){ -body.slideUp("normal",function(){ -opts.collapsed=true; -opts.onCollapse.call(_20d); -}); -}else{ -body.hide(); -opts.collapsed=true; -opts.onCollapse.call(_20d); -} -}; -function _210(_211,_212){ -var opts=$.data(_211,"panel").options; -var _213=$.data(_211,"panel").panel; -var body=_213.children("div.panel-body"); -var tool=_213.children("div.panel-header").find("a.panel-tool-collapse"); -if(opts.collapsed==false){ -return; -} -body.stop(true,true); -if(opts.onBeforeExpand.call(_211)==false){ -return; -} -tool.removeClass("panel-tool-expand"); -if(_212==true){ -body.slideDown("normal",function(){ -opts.collapsed=false; -opts.onExpand.call(_211); -_1f5(_211); -_1fe(_211); -}); -}else{ -body.show(); -opts.collapsed=false; -opts.onExpand.call(_211); -_1f5(_211); -_1fe(_211); -} -}; -function _204(_214){ -var opts=$.data(_214,"panel").options; -var _215=$.data(_214,"panel").panel; -var tool=_215.children("div.panel-header").find("a.panel-tool-max"); -if(opts.maximized==true){ -return; -} -tool.addClass("panel-tool-restore"); -if(!$.data(_214,"panel").original){ -$.data(_214,"panel").original={width:opts.width,height:opts.height,left:opts.left,top:opts.top,fit:opts.fit}; -} -opts.left=0; -opts.top=0; -opts.fit=true; -_1e3(_214); -opts.minimized=false; -opts.maximized=true; -opts.onMaximize.call(_214); -}; -function _216(_217){ -var opts=$.data(_217,"panel").options; -var _218=$.data(_217,"panel").panel; -_218._fit(false); -_218.hide(); -opts.minimized=true; -opts.maximized=false; -opts.onMinimize.call(_217); -}; -function _219(_21a){ -var opts=$.data(_21a,"panel").options; -var _21b=$.data(_21a,"panel").panel; -var tool=_21b.children("div.panel-header").find("a.panel-tool-max"); -if(opts.maximized==false){ -return; -} -_21b.show(); -tool.removeClass("panel-tool-restore"); -$.extend(opts,$.data(_21a,"panel").original); -_1e3(_21a); -opts.minimized=false; -opts.maximized=false; -$.data(_21a,"panel").original=null; -opts.onRestore.call(_21a); -}; -function _21c(_21d){ -var opts=$.data(_21d,"panel").options; -var _21e=$.data(_21d,"panel").panel; -var _21f=$(_21d).panel("header"); -var body=$(_21d).panel("body"); -_21e.css(opts.style); -_21e.addClass(opts.cls); -if(opts.border){ -_21f.removeClass("panel-header-noborder"); -body.removeClass("panel-body-noborder"); -}else{ -_21f.addClass("panel-header-noborder"); -body.addClass("panel-body-noborder"); -} -_21f.addClass(opts.headerCls); -body.addClass(opts.bodyCls); -if(opts.id){ -$(_21d).attr("id",opts.id); -}else{ -$(_21d).attr("id",""); -} -}; -function _220(_221,_222){ -$.data(_221,"panel").options.title=_222; -$(_221).panel("header").find("div.panel-title").html(_222); -}; -var TO=false; -var _223=true; -$(window).unbind(".panel").bind("resize.panel",function(){ -if(!_223){ -return; -} -if(TO!==false){ -clearTimeout(TO); -} -TO=setTimeout(function(){ -_223=false; -var _224=$("body.layout"); -if(_224.length){ -_224.layout("resize"); -}else{ -$("body").children("div.panel:visible,div.accordion:visible,div.tabs-container:visible,div.layout:visible").triggerHandler("_resize"); -} -_223=true; -TO=false; -},200); -}); -$.fn.panel=function(_225,_226){ -if(typeof _225=="string"){ -return $.fn.panel.methods[_225](this,_226); -} -_225=_225||{}; -return this.each(function(){ -var _227=$.data(this,"panel"); -var opts; -if(_227){ -opts=$.extend(_227.options,_225); -_227.isLoaded=false; -}else{ -opts=$.extend({},$.fn.panel.defaults,$.fn.panel.parseOptions(this),_225); -$(this).attr("title",""); -_227=$.data(this,"panel",{options:opts,panel:_1ed(this),isLoaded:false}); -} -_1f0(this); -_21c(this); -if(opts.doSize==true){ -_227.panel.css("display","block"); -_1e3(this); -} -if(opts.closed==true||opts.minimized==true){ -_227.panel.hide(); -}else{ -_200(this); -} -}); -}; -$.fn.panel.methods={options:function(jq){ -return $.data(jq[0],"panel").options; -},panel:function(jq){ -return $.data(jq[0],"panel").panel; -},header:function(jq){ -return $.data(jq[0],"panel").panel.find(">div.panel-header"); -},body:function(jq){ -return $.data(jq[0],"panel").panel.find(">div.panel-body"); -},setTitle:function(jq,_228){ -return jq.each(function(){ -_220(this,_228); -}); -},open:function(jq,_229){ -return jq.each(function(){ -_200(this,_229); -}); -},close:function(jq,_22a){ -return jq.each(function(){ -_1f4(this,_22a); -}); -},destroy:function(jq,_22b){ -return jq.each(function(){ -_209(this,_22b); -}); -},refresh:function(jq,href){ -return jq.each(function(){ -var _22c=$.data(this,"panel"); -_22c.isLoaded=false; -if(href){ -if(typeof href=="string"){ -_22c.options.href=href; -}else{ -_22c.options.queryParams=href; -} -} -_1f5(this); -}); -},resize:function(jq,_22d){ -return jq.each(function(){ -_1e3(this,_22d); -}); -},move:function(jq,_22e){ -return jq.each(function(){ -_1e9(this,_22e); -}); -},maximize:function(jq){ -return jq.each(function(){ -_204(this); -}); -},minimize:function(jq){ -return jq.each(function(){ -_216(this); -}); -},restore:function(jq){ -return jq.each(function(){ -_219(this); -}); -},collapse:function(jq,_22f){ -return jq.each(function(){ -_205(this,_22f); -}); -},expand:function(jq,_230){ -return jq.each(function(){ -_210(this,_230); -}); -}}; -$.fn.panel.parseOptions=function(_231){ -var t=$(_231); -return $.extend({},$.parser.parseOptions(_231,["id","width","height","left","top","title","iconCls","cls","headerCls","bodyCls","tools","href","method",{cache:"boolean",fit:"boolean",border:"boolean",noheader:"boolean"},{collapsible:"boolean",minimizable:"boolean",maximizable:"boolean"},{closable:"boolean",collapsed:"boolean",minimized:"boolean",maximized:"boolean",closed:"boolean"}]),{loadingMessage:(t.attr("loadingMessage")!=undefined?t.attr("loadingMessage"):undefined)}); -}; -$.fn.panel.defaults={id:null,title:null,iconCls:null,width:"auto",height:"auto",left:null,top:null,cls:null,headerCls:null,bodyCls:null,style:{},href:null,cache:true,fit:false,border:true,doSize:true,noheader:false,content:null,collapsible:false,minimizable:false,maximizable:false,closable:false,collapsed:false,minimized:false,maximized:false,closed:false,tools:null,queryParams:{},method:"get",href:null,loadingMessage:"Loading...",loader:function(_232,_233,_234){ -var opts=$(this).panel("options"); -if(!opts.href){ -return false; -} -$.ajax({type:opts.method,url:opts.href,cache:false,data:_232,dataType:"html",success:function(data){ -_233(data); -},error:function(){ -_234.apply(this,arguments); -}}); -},extractor:function(data){ -var _235=/]*>((.|[\n\r])*)<\/body>/im; -var _236=_235.exec(data); -if(_236){ -return _236[1]; -}else{ -return data; -} -},onBeforeLoad:function(_237){ -},onLoad:function(){ -},onLoadError:function(){ -},onBeforeOpen:function(){ -},onOpen:function(){ -},onBeforeClose:function(){ -},onClose:function(){ -},onBeforeDestroy:function(){ -},onDestroy:function(){ -},onResize:function(_238,_239){ -},onMove:function(left,top){ -},onMaximize:function(){ -},onRestore:function(){ -},onMinimize:function(){ -},onBeforeCollapse:function(){ -},onBeforeExpand:function(){ -},onCollapse:function(){ -},onExpand:function(){ -}}; -})(jQuery); -(function($){ -function _23a(_23b,_23c){ -var opts=$.data(_23b,"window").options; -if(_23c){ -$.extend(opts,_23c); -} -$(_23b).panel("resize",opts); -}; -function _23d(_23e,_23f){ -var _240=$.data(_23e,"window"); -if(_23f){ -if(_23f.left!=null){ -_240.options.left=_23f.left; -} -if(_23f.top!=null){ -_240.options.top=_23f.top; -} -} -$(_23e).panel("move",_240.options); -if(_240.shadow){ -_240.shadow.css({left:_240.options.left,top:_240.options.top}); -} -}; -function _241(_242,_243){ -var _244=$.data(_242,"window"); -var opts=_244.options; -var _245=opts.width; -if(isNaN(_245)){ -_245=_244.window._outerWidth(); -} -if(opts.inline){ -var _246=_244.window.parent(); -opts.left=(_246.width()-_245)/2+_246.scrollLeft(); -}else{ -opts.left=($(window)._outerWidth()-_245)/2+$(document).scrollLeft(); -} -if(_243){ -_23d(_242); -} -}; -function _247(_248,_249){ -var _24a=$.data(_248,"window"); -var opts=_24a.options; -var _24b=opts.height; -if(isNaN(_24b)){ -_24b=_24a.window._outerHeight(); -} -if(opts.inline){ -var _24c=_24a.window.parent(); -opts.top=(_24c.height()-_24b)/2+_24c.scrollTop(); -}else{ -opts.top=($(window)._outerHeight()-_24b)/2+$(document).scrollTop(); -} -if(_249){ -_23d(_248); -} -}; -function _24d(_24e){ -var _24f=$.data(_24e,"window"); -var _250=_24f.options.closed; -var win=$(_24e).panel($.extend({},_24f.options,{border:false,doSize:true,closed:true,cls:"window",headerCls:"window-header",bodyCls:"window-body "+(_24f.options.noheader?"window-body-noheader":""),onBeforeDestroy:function(){ -if(_24f.options.onBeforeDestroy.call(_24e)==false){ -return false; -} -if(_24f.shadow){ -_24f.shadow.remove(); -} -if(_24f.mask){ -_24f.mask.remove(); -} -},onClose:function(){ -if(_24f.shadow){ -_24f.shadow.hide(); -} -if(_24f.mask){ -_24f.mask.hide(); -} -_24f.options.onClose.call(_24e); -},onOpen:function(){ -if(_24f.mask){ -_24f.mask.css({display:"block",zIndex:$.fn.window.defaults.zIndex++}); -} -if(_24f.shadow){ -_24f.shadow.css({display:"block",zIndex:$.fn.window.defaults.zIndex++,left:_24f.options.left,top:_24f.options.top,width:_24f.window._outerWidth(),height:_24f.window._outerHeight()}); -} -_24f.window.css("z-index",$.fn.window.defaults.zIndex++); -_24f.options.onOpen.call(_24e); -},onResize:function(_251,_252){ -var opts=$(this).panel("options"); -$.extend(_24f.options,{width:opts.width,height:opts.height,left:opts.left,top:opts.top}); -if(_24f.shadow){ -_24f.shadow.css({left:_24f.options.left,top:_24f.options.top,width:_24f.window._outerWidth(),height:_24f.window._outerHeight()}); -} -_24f.options.onResize.call(_24e,_251,_252); -},onMinimize:function(){ -if(_24f.shadow){ -_24f.shadow.hide(); -} -if(_24f.mask){ -_24f.mask.hide(); -} -_24f.options.onMinimize.call(_24e); -},onBeforeCollapse:function(){ -if(_24f.options.onBeforeCollapse.call(_24e)==false){ -return false; -} -if(_24f.shadow){ -_24f.shadow.hide(); -} -},onExpand:function(){ -if(_24f.shadow){ -_24f.shadow.show(); -} -_24f.options.onExpand.call(_24e); -}})); -_24f.window=win.panel("panel"); -if(_24f.mask){ -_24f.mask.remove(); -} -if(_24f.options.modal==true){ -_24f.mask=$("
                                    ").insertAfter(_24f.window); -_24f.mask.css({width:(_24f.options.inline?_24f.mask.parent().width():_253().width),height:(_24f.options.inline?_24f.mask.parent().height():_253().height),display:"none"}); -} -if(_24f.shadow){ -_24f.shadow.remove(); -} -if(_24f.options.shadow==true){ -_24f.shadow=$("
                                    ").insertAfter(_24f.window); -_24f.shadow.css({display:"none"}); -} -if(_24f.options.left==null){ -_241(_24e); -} -if(_24f.options.top==null){ -_247(_24e); -} -_23d(_24e); -if(!_250){ -win.window("open"); -} -}; -function _254(_255){ -var _256=$.data(_255,"window"); -_256.window.draggable({handle:">div.panel-header>div.panel-title",disabled:_256.options.draggable==false,onStartDrag:function(e){ -if(_256.mask){ -_256.mask.css("z-index",$.fn.window.defaults.zIndex++); -} -if(_256.shadow){ -_256.shadow.css("z-index",$.fn.window.defaults.zIndex++); -} -_256.window.css("z-index",$.fn.window.defaults.zIndex++); -if(!_256.proxy){ -_256.proxy=$("
                                    ").insertAfter(_256.window); -} -_256.proxy.css({display:"none",zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top}); -_256.proxy._outerWidth(_256.window._outerWidth()); -_256.proxy._outerHeight(_256.window._outerHeight()); -setTimeout(function(){ -if(_256.proxy){ -_256.proxy.show(); -} -},500); -},onDrag:function(e){ -_256.proxy.css({display:"block",left:e.data.left,top:e.data.top}); -return false; -},onStopDrag:function(e){ -_256.options.left=e.data.left; -_256.options.top=e.data.top; -$(_255).window("move"); -_256.proxy.remove(); -_256.proxy=null; -}}); -_256.window.resizable({disabled:_256.options.resizable==false,onStartResize:function(e){ -_256.pmask=$("
                                    ").insertAfter(_256.window); -_256.pmask.css({zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top,width:_256.window._outerWidth(),height:_256.window._outerHeight()}); -if(!_256.proxy){ -_256.proxy=$("
                                    ").insertAfter(_256.window); -} -_256.proxy.css({zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top}); -_256.proxy._outerWidth(e.data.width); -_256.proxy._outerHeight(e.data.height); -},onResize:function(e){ -_256.proxy.css({left:e.data.left,top:e.data.top}); -_256.proxy._outerWidth(e.data.width); -_256.proxy._outerHeight(e.data.height); -return false; -},onStopResize:function(e){ -$.extend(_256.options,{left:e.data.left,top:e.data.top,width:e.data.width,height:e.data.height}); -_23a(_255); -_256.pmask.remove(); -_256.pmask=null; -_256.proxy.remove(); -_256.proxy=null; -}}); -}; -function _253(){ -if(document.compatMode=="BackCompat"){ -return {width:Math.max(document.body.scrollWidth,document.body.clientWidth),height:Math.max(document.body.scrollHeight,document.body.clientHeight)}; -}else{ -return {width:Math.max(document.documentElement.scrollWidth,document.documentElement.clientWidth),height:Math.max(document.documentElement.scrollHeight,document.documentElement.clientHeight)}; -} -}; -$(window).resize(function(){ -$("body>div.window-mask").css({width:$(window)._outerWidth(),height:$(window)._outerHeight()}); -setTimeout(function(){ -$("body>div.window-mask").css({width:_253().width,height:_253().height}); -},50); -}); -$.fn.window=function(_257,_258){ -if(typeof _257=="string"){ -var _259=$.fn.window.methods[_257]; -if(_259){ -return _259(this,_258); -}else{ -return this.panel(_257,_258); -} -} -_257=_257||{}; -return this.each(function(){ -var _25a=$.data(this,"window"); -if(_25a){ -$.extend(_25a.options,_257); -}else{ -_25a=$.data(this,"window",{options:$.extend({},$.fn.window.defaults,$.fn.window.parseOptions(this),_257)}); -if(!_25a.options.inline){ -document.body.appendChild(this); -} -} -_24d(this); -_254(this); -}); -}; -$.fn.window.methods={options:function(jq){ -var _25b=jq.panel("options"); -var _25c=$.data(jq[0],"window").options; -return $.extend(_25c,{closed:_25b.closed,collapsed:_25b.collapsed,minimized:_25b.minimized,maximized:_25b.maximized}); -},window:function(jq){ -return $.data(jq[0],"window").window; -},resize:function(jq,_25d){ -return jq.each(function(){ -_23a(this,_25d); -}); -},move:function(jq,_25e){ -return jq.each(function(){ -_23d(this,_25e); -}); -},hcenter:function(jq){ -return jq.each(function(){ -_241(this,true); -}); -},vcenter:function(jq){ -return jq.each(function(){ -_247(this,true); -}); -},center:function(jq){ -return jq.each(function(){ -_241(this); -_247(this); -_23d(this); -}); -}}; -$.fn.window.parseOptions=function(_25f){ -return $.extend({},$.fn.panel.parseOptions(_25f),$.parser.parseOptions(_25f,[{draggable:"boolean",resizable:"boolean",shadow:"boolean",modal:"boolean",inline:"boolean"}])); -}; -$.fn.window.defaults=$.extend({},$.fn.panel.defaults,{zIndex:9000,draggable:true,resizable:true,shadow:true,modal:false,inline:false,title:"New Window",collapsible:true,minimizable:true,maximizable:true,closable:true,closed:false}); -})(jQuery); -(function($){ -function _260(_261){ -var cp=document.createElement("div"); -while(_261.firstChild){ -cp.appendChild(_261.firstChild); -} -_261.appendChild(cp); -var _262=$(cp); -_262.attr("style",$(_261).attr("style")); -$(_261).removeAttr("style").css("overflow","hidden"); -_262.panel({border:false,doSize:false,bodyCls:"dialog-content"}); -return _262; -}; -function _263(_264){ -var opts=$.data(_264,"dialog").options; -var _265=$.data(_264,"dialog").contentPanel; -if(opts.toolbar){ -if($.isArray(opts.toolbar)){ -$(_264).find("div.dialog-toolbar").remove(); -var _266=$("
                                    ").prependTo(_264); -var tr=_266.find("tr"); -for(var i=0;i
                                    ").appendTo(tr); -}else{ -var td=$("").appendTo(tr); -var tool=$("").appendTo(td); -tool[0].onclick=eval(btn.handler||function(){ -}); -tool.linkbutton($.extend({},btn,{plain:true})); -} -} -}else{ -$(opts.toolbar).addClass("dialog-toolbar").prependTo(_264); -$(opts.toolbar).show(); -} -}else{ -$(_264).find("div.dialog-toolbar").remove(); -} -if(opts.buttons){ -if($.isArray(opts.buttons)){ -$(_264).find("div.dialog-button").remove(); -var _267=$("
                                    ").appendTo(_264); -for(var i=0;i").appendTo(_267); -if(p.handler){ -_268[0].onclick=p.handler; -} -_268.linkbutton(p); -} -}else{ -$(opts.buttons).addClass("dialog-button").appendTo(_264); -$(opts.buttons).show(); -} -}else{ -$(_264).find("div.dialog-button").remove(); -} -var _269=opts.href; -var _26a=opts.content; -opts.href=null; -opts.content=null; -_265.panel({closed:opts.closed,cache:opts.cache,href:_269,content:_26a,onLoad:function(){ -if(opts.height=="auto"){ -$(_264).window("resize"); -} -opts.onLoad.apply(_264,arguments); -}}); -$(_264).window($.extend({},opts,{onOpen:function(){ -if(_265.panel("options").closed){ -_265.panel("open"); -} -if(opts.onOpen){ -opts.onOpen.call(_264); -} -},onResize:function(_26b,_26c){ -var _26d=$(_264); -_265.panel("panel").show(); -_265.panel("resize",{width:_26d.width(),height:(_26c=="auto")?"auto":_26d.height()-_26d.children("div.dialog-toolbar")._outerHeight()-_26d.children("div.dialog-button")._outerHeight()}); -if(opts.onResize){ -opts.onResize.call(_264,_26b,_26c); -} -}})); -opts.href=_269; -opts.content=_26a; -}; -function _26e(_26f,href){ -var _270=$.data(_26f,"dialog").contentPanel; -_270.panel("refresh",href); -}; -$.fn.dialog=function(_271,_272){ -if(typeof _271=="string"){ -var _273=$.fn.dialog.methods[_271]; -if(_273){ -return _273(this,_272); -}else{ -return this.window(_271,_272); -} -} -_271=_271||{}; -return this.each(function(){ -var _274=$.data(this,"dialog"); -if(_274){ -$.extend(_274.options,_271); -}else{ -$.data(this,"dialog",{options:$.extend({},$.fn.dialog.defaults,$.fn.dialog.parseOptions(this),_271),contentPanel:_260(this)}); -} -_263(this); -}); -}; -$.fn.dialog.methods={options:function(jq){ -var _275=$.data(jq[0],"dialog").options; -var _276=jq.panel("options"); -$.extend(_275,{closed:_276.closed,collapsed:_276.collapsed,minimized:_276.minimized,maximized:_276.maximized}); -var _277=$.data(jq[0],"dialog").contentPanel; -return _275; -},dialog:function(jq){ -return jq.window("window"); -},refresh:function(jq,href){ -return jq.each(function(){ -_26e(this,href); -}); -}}; -$.fn.dialog.parseOptions=function(_278){ -return $.extend({},$.fn.window.parseOptions(_278),$.parser.parseOptions(_278,["toolbar","buttons"])); -}; -$.fn.dialog.defaults=$.extend({},$.fn.window.defaults,{title:"New Dialog",collapsible:false,minimizable:false,maximizable:false,resizable:false,toolbar:null,buttons:null}); -})(jQuery); -(function($){ -function show(el,type,_279,_27a){ -var win=$(el).window("window"); -if(!win){ -return; -} -switch(type){ -case null: -win.show(); -break; -case "slide": -win.slideDown(_279); -break; -case "fade": -win.fadeIn(_279); -break; -case "show": -win.show(_279); -break; -} -var _27b=null; -if(_27a>0){ -_27b=setTimeout(function(){ -hide(el,type,_279); -},_27a); -} -win.hover(function(){ -if(_27b){ -clearTimeout(_27b); -} -},function(){ -if(_27a>0){ -_27b=setTimeout(function(){ -hide(el,type,_279); -},_27a); -} -}); -}; -function hide(el,type,_27c){ -if(el.locked==true){ -return; -} -el.locked=true; -var win=$(el).window("window"); -if(!win){ -return; -} -switch(type){ -case null: -win.hide(); -break; -case "slide": -win.slideUp(_27c); -break; -case "fade": -win.fadeOut(_27c); -break; -case "show": -win.hide(_27c); -break; -} -setTimeout(function(){ -$(el).window("destroy"); -},_27c); -}; -function _27d(_27e){ -var opts=$.extend({},$.fn.window.defaults,{collapsible:false,minimizable:false,maximizable:false,shadow:false,draggable:false,resizable:false,closed:true,style:{left:"",top:"",right:0,zIndex:$.fn.window.defaults.zIndex++,bottom:-document.body.scrollTop-document.documentElement.scrollTop},onBeforeOpen:function(){ -show(this,opts.showType,opts.showSpeed,opts.timeout); -return false; -},onBeforeClose:function(){ -hide(this,opts.showType,opts.showSpeed); -return false; -}},{title:"",width:250,height:100,showType:"slide",showSpeed:600,msg:"",timeout:4000},_27e); -opts.style.zIndex=$.fn.window.defaults.zIndex++; -var win=$("
                                    ").html(opts.msg).appendTo("body"); -win.window(opts); -win.window("window").css(opts.style); -win.window("open"); -return win; -}; -function _27f(_280,_281,_282){ -var win=$("
                                    ").appendTo("body"); -win.append(_281); -if(_282){ -var tb=$("
                                    ").appendTo(win); -for(var _283 in _282){ -$("").attr("href","javascript:void(0)").text(_283).css("margin-left",10).bind("click",eval(_282[_283])).appendTo(tb).linkbutton(); -} -} -win.window({title:_280,noheader:(_280?false:true),width:300,height:"auto",modal:true,collapsible:false,minimizable:false,maximizable:false,resizable:false,onClose:function(){ -setTimeout(function(){ -win.window("destroy"); -},100); -}}); -win.window("window").addClass("messager-window"); -win.children("div.messager-button").children("a:first").focus(); -return win; -}; -$.messager={show:function(_284){ -return _27d(_284); -},alert:function(_285,msg,icon,fn){ -var _286="
                                    "+msg+"
                                    "; -switch(icon){ -case "error": -_286="
                                    "+_286; -break; -case "info": -_286="
                                    "+_286; -break; -case "question": -_286="
                                    "+_286; -break; -case "warning": -_286="
                                    "+_286; -break; -} -_286+="
                                    "; -var _287={}; -_287[$.messager.defaults.ok]=function(){ -win.window("close"); -if(fn){ -fn(); -return false; -} -}; -var win=_27f(_285,_286,_287); -return win; -},confirm:function(_288,msg,fn){ -var _289="
                                    "+"
                                    "+msg+"
                                    "+"
                                    "; -var _28a={}; -_28a[$.messager.defaults.ok]=function(){ -win.window("close"); -if(fn){ -fn(true); -return false; -} -}; -_28a[$.messager.defaults.cancel]=function(){ -win.window("close"); -if(fn){ -fn(false); -return false; -} -}; -var win=_27f(_288,_289,_28a); -return win; -},prompt:function(_28b,msg,fn){ -var _28c="
                                    "+"
                                    "+msg+"
                                    "+"
                                    "+"
                                    "+"
                                    "; -var _28d={}; -_28d[$.messager.defaults.ok]=function(){ -win.window("close"); -if(fn){ -fn($(".messager-input",win).val()); -return false; -} -}; -_28d[$.messager.defaults.cancel]=function(){ -win.window("close"); -if(fn){ -fn(); -return false; -} -}; -var win=_27f(_28b,_28c,_28d); -win.children("input.messager-input").focus(); -return win; -},progress:function(_28e){ -var _28f={bar:function(){ -return $("body>div.messager-window").find("div.messager-p-bar"); -},close:function(){ -var win=$("body>div.messager-window>div.messager-body:has(div.messager-progress)"); -if(win.length){ -win.window("close"); -} -}}; -if(typeof _28e=="string"){ -var _290=_28f[_28e]; -return _290(); -} -var opts=$.extend({title:"",msg:"",text:undefined,interval:300},_28e||{}); -var _291="
                                    "; -var win=_27f(opts.title,_291,null); -win.find("div.messager-p-msg").html(opts.msg); -var bar=win.find("div.messager-p-bar"); -bar.progressbar({text:opts.text}); -win.window({closable:false,onClose:function(){ -if(this.timer){ -clearInterval(this.timer); -} -$(this).window("destroy"); -}}); -if(opts.interval){ -win[0].timer=setInterval(function(){ -var v=bar.progressbar("getValue"); -v+=10; -if(v>100){ -v=0; -} -bar.progressbar("setValue",v); -},opts.interval); -} -return win; -}}; -$.messager.defaults={ok:"Ok",cancel:"Cancel"}; -})(jQuery); -(function($){ -function _292(_293){ -var _294=$.data(_293,"accordion"); -var opts=_294.options; -var _295=_294.panels; -var cc=$(_293); -opts.fit?$.extend(opts,cc._fit()):cc._fit(false); -if(!isNaN(opts.width)){ -cc._outerWidth(opts.width); -}else{ -cc.css("width",""); -} -var _296=0; -var _297="auto"; -var _298=cc.find(">div.panel>div.accordion-header"); -if(_298.length){ -_296=$(_298[0]).css("height","")._outerHeight(); -} -if(!isNaN(opts.height)){ -cc._outerHeight(opts.height); -_297=cc.height()-_296*_298.length; -}else{ -cc.css("height",""); -} -_299(true,_297-_299(false)+1); -function _299(_29a,_29b){ -var _29c=0; -for(var i=0;i<_295.length;i++){ -var p=_295[i]; -var h=p.panel("header")._outerHeight(_296); -if(p.panel("options").collapsible==_29a){ -var _29d=isNaN(_29b)?undefined:(_29b+_296*h.length); -p.panel("resize",{width:cc.width(),height:(_29a?_29d:undefined)}); -_29c+=p.panel("panel").outerHeight()-_296; -} -} -return _29c; -}; -}; -function _29e(_29f,_2a0,_2a1,all){ -var _2a2=$.data(_29f,"accordion").panels; -var pp=[]; -for(var i=0;i<_2a2.length;i++){ -var p=_2a2[i]; -if(_2a0){ -if(p.panel("options")[_2a0]==_2a1){ -pp.push(p); -} -}else{ -if(p[0]==$(_2a1)[0]){ -return i; -} -} -} -if(_2a0){ -return all?pp:(pp.length?pp[0]:null); -}else{ -return -1; -} -}; -function _2a3(_2a4){ -return _29e(_2a4,"collapsed",false,true); -}; -function _2a5(_2a6){ -var pp=_2a3(_2a6); -return pp.length?pp[0]:null; -}; -function _2a7(_2a8,_2a9){ -return _29e(_2a8,null,_2a9); -}; -function _2aa(_2ab,_2ac){ -var _2ad=$.data(_2ab,"accordion").panels; -if(typeof _2ac=="number"){ -if(_2ac<0||_2ac>=_2ad.length){ -return null; -}else{ -return _2ad[_2ac]; -} -} -return _29e(_2ab,"title",_2ac); -}; -function _2ae(_2af){ -var opts=$.data(_2af,"accordion").options; -var cc=$(_2af); -if(opts.border){ -cc.removeClass("accordion-noborder"); -}else{ -cc.addClass("accordion-noborder"); -} -}; -function init(_2b0){ -var _2b1=$.data(_2b0,"accordion"); -var cc=$(_2b0); -cc.addClass("accordion"); -_2b1.panels=[]; -cc.children("div").each(function(){ -var opts=$.extend({},$.parser.parseOptions(this),{selected:($(this).attr("selected")?true:undefined)}); -var pp=$(this); -_2b1.panels.push(pp); -_2b3(_2b0,pp,opts); -}); -cc.bind("_resize",function(e,_2b2){ -var opts=$.data(_2b0,"accordion").options; -if(opts.fit==true||_2b2){ -_292(_2b0); -} -return false; -}); -}; -function _2b3(_2b4,pp,_2b5){ -var opts=$.data(_2b4,"accordion").options; -pp.panel($.extend({},{collapsible:true,minimizable:false,maximizable:false,closable:false,doSize:false,collapsed:true,headerCls:"accordion-header",bodyCls:"accordion-body"},_2b5,{onBeforeExpand:function(){ -if(_2b5.onBeforeExpand){ -if(_2b5.onBeforeExpand.call(this)==false){ -return false; -} -} -if(!opts.multiple){ -var all=$.grep(_2a3(_2b4),function(p){ -return p.panel("options").collapsible; -}); -for(var i=0;i").addClass("accordion-collapse accordion-expand").appendTo(tool); -t.bind("click",function(){ -var _2b9=_2a7(_2b4,pp); -if(pp.panel("options").collapsed){ -_2ba(_2b4,_2b9); -}else{ -_2be(_2b4,_2b9); -} -return false; -}); -pp.panel("options").collapsible?t.show():t.hide(); -_2b8.click(function(){ -$(this).find("a.accordion-collapse:visible").triggerHandler("click"); -return false; -}); -}; -function _2ba(_2bb,_2bc){ -var p=_2aa(_2bb,_2bc); -if(!p){ -return; -} -_2bd(_2bb); -var opts=$.data(_2bb,"accordion").options; -p.panel("expand",opts.animate); -}; -function _2be(_2bf,_2c0){ -var p=_2aa(_2bf,_2c0); -if(!p){ -return; -} -_2bd(_2bf); -var opts=$.data(_2bf,"accordion").options; -p.panel("collapse",opts.animate); -}; -function _2c1(_2c2){ -var opts=$.data(_2c2,"accordion").options; -var p=_29e(_2c2,"selected",true); -if(p){ -_2c3(_2a7(_2c2,p)); -}else{ -_2c3(opts.selected); -} -function _2c3(_2c4){ -var _2c5=opts.animate; -opts.animate=false; -_2ba(_2c2,_2c4); -opts.animate=_2c5; -}; -}; -function _2bd(_2c6){ -var _2c7=$.data(_2c6,"accordion").panels; -for(var i=0;i<_2c7.length;i++){ -_2c7[i].stop(true,true); -} -}; -function add(_2c8,_2c9){ -var _2ca=$.data(_2c8,"accordion"); -var opts=_2ca.options; -var _2cb=_2ca.panels; -if(_2c9.selected==undefined){ -_2c9.selected=true; -} -_2bd(_2c8); -var pp=$("
                                    ").appendTo(_2c8); -_2cb.push(pp); -_2b3(_2c8,pp,_2c9); -_292(_2c8); -opts.onAdd.call(_2c8,_2c9.title,_2cb.length-1); -if(_2c9.selected){ -_2ba(_2c8,_2cb.length-1); -} -}; -function _2cc(_2cd,_2ce){ -var _2cf=$.data(_2cd,"accordion"); -var opts=_2cf.options; -var _2d0=_2cf.panels; -_2bd(_2cd); -var _2d1=_2aa(_2cd,_2ce); -var _2d2=_2d1.panel("options").title; -var _2d3=_2a7(_2cd,_2d1); -if(!_2d1){ -return; -} -if(opts.onBeforeRemove.call(_2cd,_2d2,_2d3)==false){ -return; -} -_2d0.splice(_2d3,1); -_2d1.panel("destroy"); -if(_2d0.length){ -_292(_2cd); -var curr=_2a5(_2cd); -if(!curr){ -_2ba(_2cd,0); -} -} -opts.onRemove.call(_2cd,_2d2,_2d3); -}; -$.fn.accordion=function(_2d4,_2d5){ -if(typeof _2d4=="string"){ -return $.fn.accordion.methods[_2d4](this,_2d5); -} -_2d4=_2d4||{}; -return this.each(function(){ -var _2d6=$.data(this,"accordion"); -if(_2d6){ -$.extend(_2d6.options,_2d4); -}else{ -$.data(this,"accordion",{options:$.extend({},$.fn.accordion.defaults,$.fn.accordion.parseOptions(this),_2d4),accordion:$(this).addClass("accordion"),panels:[]}); -init(this); -} -_2ae(this); -_292(this); -_2c1(this); -}); -}; -$.fn.accordion.methods={options:function(jq){ -return $.data(jq[0],"accordion").options; -},panels:function(jq){ -return $.data(jq[0],"accordion").panels; -},resize:function(jq){ -return jq.each(function(){ -_292(this); -}); -},getSelections:function(jq){ -return _2a3(jq[0]); -},getSelected:function(jq){ -return _2a5(jq[0]); -},getPanel:function(jq,_2d7){ -return _2aa(jq[0],_2d7); -},getPanelIndex:function(jq,_2d8){ -return _2a7(jq[0],_2d8); -},select:function(jq,_2d9){ -return jq.each(function(){ -_2ba(this,_2d9); -}); -},unselect:function(jq,_2da){ -return jq.each(function(){ -_2be(this,_2da); -}); -},add:function(jq,_2db){ -return jq.each(function(){ -add(this,_2db); -}); -},remove:function(jq,_2dc){ -return jq.each(function(){ -_2cc(this,_2dc); -}); -}}; -$.fn.accordion.parseOptions=function(_2dd){ -var t=$(_2dd); -return $.extend({},$.parser.parseOptions(_2dd,["width","height",{fit:"boolean",border:"boolean",animate:"boolean",multiple:"boolean",selected:"number"}])); -}; -$.fn.accordion.defaults={width:"auto",height:"auto",fit:false,border:true,animate:true,multiple:false,selected:0,onSelect:function(_2de,_2df){ -},onUnselect:function(_2e0,_2e1){ -},onAdd:function(_2e2,_2e3){ -},onBeforeRemove:function(_2e4,_2e5){ -},onRemove:function(_2e6,_2e7){ -}}; -})(jQuery); -(function($){ -function _2e8(_2e9){ -var opts=$.data(_2e9,"tabs").options; -if(opts.tabPosition=="left"||opts.tabPosition=="right"||!opts.showHeader){ -return; -} -var _2ea=$(_2e9).children("div.tabs-header"); -var tool=_2ea.children("div.tabs-tool"); -var _2eb=_2ea.children("div.tabs-scroller-left"); -var _2ec=_2ea.children("div.tabs-scroller-right"); -var wrap=_2ea.children("div.tabs-wrap"); -var _2ed=_2ea.outerHeight(); -if(opts.plain){ -_2ed-=_2ed-_2ea.height(); -} -tool._outerHeight(_2ed); -var _2ee=0; -$("ul.tabs li",_2ea).each(function(){ -_2ee+=$(this).outerWidth(true); -}); -var _2ef=_2ea.width()-tool._outerWidth(); -if(_2ee>_2ef){ -_2eb.add(_2ec).show()._outerHeight(_2ed); -if(opts.toolPosition=="left"){ -tool.css({left:_2eb.outerWidth(),right:""}); -wrap.css({marginLeft:_2eb.outerWidth()+tool._outerWidth(),marginRight:_2ec._outerWidth(),width:_2ef-_2eb.outerWidth()-_2ec.outerWidth()}); -}else{ -tool.css({left:"",right:_2ec.outerWidth()}); -wrap.css({marginLeft:_2eb.outerWidth(),marginRight:_2ec.outerWidth()+tool._outerWidth(),width:_2ef-_2eb.outerWidth()-_2ec.outerWidth()}); -} -}else{ -_2eb.add(_2ec).hide(); -if(opts.toolPosition=="left"){ -tool.css({left:0,right:""}); -wrap.css({marginLeft:tool._outerWidth(),marginRight:0,width:_2ef}); -}else{ -tool.css({left:"",right:0}); -wrap.css({marginLeft:0,marginRight:tool._outerWidth(),width:_2ef}); -} -} -}; -function _2f0(_2f1){ -var opts=$.data(_2f1,"tabs").options; -var _2f2=$(_2f1).children("div.tabs-header"); -if(opts.tools){ -if(typeof opts.tools=="string"){ -$(opts.tools).addClass("tabs-tool").appendTo(_2f2); -$(opts.tools).show(); -}else{ -_2f2.children("div.tabs-tool").remove(); -var _2f3=$("
                                    ").appendTo(_2f2); -var tr=_2f3.find("tr"); -for(var i=0;i").appendTo(tr); -var tool=$("").appendTo(td); -tool[0].onclick=eval(opts.tools[i].handler||function(){ -}); -tool.linkbutton($.extend({},opts.tools[i],{plain:true})); -} -} -}else{ -_2f2.children("div.tabs-tool").remove(); -} -}; -function _2f4(_2f5){ -var _2f6=$.data(_2f5,"tabs"); -var opts=_2f6.options; -var cc=$(_2f5); -opts.fit?$.extend(opts,cc._fit()):cc._fit(false); -cc.width(opts.width).height(opts.height); -var _2f7=$(_2f5).children("div.tabs-header"); -var _2f8=$(_2f5).children("div.tabs-panels"); -var wrap=_2f7.find("div.tabs-wrap"); -var ul=wrap.find(".tabs"); -for(var i=0;i<_2f6.tabs.length;i++){ -var _2f9=_2f6.tabs[i].panel("options"); -var p_t=_2f9.tab.find("a.tabs-inner"); -var _2fa=parseInt(_2f9.tabWidth||opts.tabWidth)||undefined; -if(_2fa){ -p_t._outerWidth(_2fa); -}else{ -p_t.css("width",""); -} -p_t._outerHeight(opts.tabHeight); -p_t.css("lineHeight",p_t.height()+"px"); -} -if(opts.tabPosition=="left"||opts.tabPosition=="right"){ -_2f7._outerWidth(opts.showHeader?opts.headerWidth:0); -_2f8._outerWidth(cc.width()-_2f7.outerWidth()); -_2f7.add(_2f8)._outerHeight(opts.height); -wrap._outerWidth(_2f7.width()); -ul._outerWidth(wrap.width()).css("height",""); -}else{ -var lrt=_2f7.children("div.tabs-scroller-left,div.tabs-scroller-right,div.tabs-tool"); -_2f7._outerWidth(opts.width).css("height",""); -if(opts.showHeader){ -_2f7.css("background-color",""); -wrap.css("height",""); -lrt.show(); -}else{ -_2f7.css("background-color","transparent"); -_2f7._outerHeight(0); -wrap._outerHeight(0); -lrt.hide(); -} -ul._outerHeight(opts.tabHeight).css("width",""); -_2e8(_2f5); -var _2fb=opts.height; -if(!isNaN(_2fb)){ -_2f8._outerHeight(_2fb-_2f7.outerHeight()); -}else{ -_2f8.height("auto"); -} -var _2fa=opts.width; -if(!isNaN(_2fa)){ -_2f8._outerWidth(_2fa); -}else{ -_2f8.width("auto"); -} -} -}; -function _2fc(_2fd){ -var opts=$.data(_2fd,"tabs").options; -var tab=_2fe(_2fd); -if(tab){ -var _2ff=$(_2fd).children("div.tabs-panels"); -var _300=opts.width=="auto"?"auto":_2ff.width(); -var _301=opts.height=="auto"?"auto":_2ff.height(); -tab.panel("resize",{width:_300,height:_301}); -} -}; -function _302(_303){ -var tabs=$.data(_303,"tabs").tabs; -var cc=$(_303); -cc.addClass("tabs-container"); -var pp=$("
                                    ").insertBefore(cc); -cc.children("div").each(function(){ -pp[0].appendChild(this); -}); -cc[0].appendChild(pp[0]); -$("
                                    "+"
                                    "+"
                                    "+"
                                    "+"
                                      "+"
                                      "+"
                                      ").prependTo(_303); -cc.children("div.tabs-panels").children("div").each(function(i){ -var opts=$.extend({},$.parser.parseOptions(this),{selected:($(this).attr("selected")?true:undefined)}); -var pp=$(this); -tabs.push(pp); -_310(_303,pp,opts); -}); -cc.children("div.tabs-header").find(".tabs-scroller-left, .tabs-scroller-right").hover(function(){ -$(this).addClass("tabs-scroller-over"); -},function(){ -$(this).removeClass("tabs-scroller-over"); -}); -cc.bind("_resize",function(e,_304){ -var opts=$.data(_303,"tabs").options; -if(opts.fit==true||_304){ -_2f4(_303); -_2fc(_303); -} -return false; -}); -}; -function _305(_306){ -var _307=$.data(_306,"tabs"); -var opts=_307.options; -$(_306).children("div.tabs-header").unbind().bind("click",function(e){ -if($(e.target).hasClass("tabs-scroller-left")){ -$(_306).tabs("scrollBy",-opts.scrollIncrement); -}else{ -if($(e.target).hasClass("tabs-scroller-right")){ -$(_306).tabs("scrollBy",opts.scrollIncrement); -}else{ -var li=$(e.target).closest("li"); -if(li.hasClass("tabs-disabled")){ -return; -} -var a=$(e.target).closest("a.tabs-close"); -if(a.length){ -_321(_306,_308(li)); -}else{ -if(li.length){ -var _309=_308(li); -var _30a=_307.tabs[_309].panel("options"); -if(_30a.collapsible){ -_30a.closed?_317(_306,_309):_338(_306,_309); -}else{ -_317(_306,_309); -} -} -} -} -} -}).bind("contextmenu",function(e){ -var li=$(e.target).closest("li"); -if(li.hasClass("tabs-disabled")){ -return; -} -if(li.length){ -opts.onContextMenu.call(_306,e,li.find("span.tabs-title").html(),_308(li)); -} -}); -function _308(li){ -var _30b=0; -li.parent().children("li").each(function(i){ -if(li[0]==this){ -_30b=i; -return false; -} -}); -return _30b; -}; -}; -function _30c(_30d){ -var opts=$.data(_30d,"tabs").options; -var _30e=$(_30d).children("div.tabs-header"); -var _30f=$(_30d).children("div.tabs-panels"); -_30e.removeClass("tabs-header-top tabs-header-bottom tabs-header-left tabs-header-right"); -_30f.removeClass("tabs-panels-top tabs-panels-bottom tabs-panels-left tabs-panels-right"); -if(opts.tabPosition=="top"){ -_30e.insertBefore(_30f); -}else{ -if(opts.tabPosition=="bottom"){ -_30e.insertAfter(_30f); -_30e.addClass("tabs-header-bottom"); -_30f.addClass("tabs-panels-top"); -}else{ -if(opts.tabPosition=="left"){ -_30e.addClass("tabs-header-left"); -_30f.addClass("tabs-panels-right"); -}else{ -if(opts.tabPosition=="right"){ -_30e.addClass("tabs-header-right"); -_30f.addClass("tabs-panels-left"); -} -} -} -} -if(opts.plain==true){ -_30e.addClass("tabs-header-plain"); -}else{ -_30e.removeClass("tabs-header-plain"); -} -if(opts.border==true){ -_30e.removeClass("tabs-header-noborder"); -_30f.removeClass("tabs-panels-noborder"); -}else{ -_30e.addClass("tabs-header-noborder"); -_30f.addClass("tabs-panels-noborder"); -} -}; -function _310(_311,pp,_312){ -var _313=$.data(_311,"tabs"); -_312=_312||{}; -pp.panel($.extend({},_312,{border:false,noheader:true,closed:true,doSize:false,iconCls:(_312.icon?_312.icon:undefined),onLoad:function(){ -if(_312.onLoad){ -_312.onLoad.call(this,arguments); -} -_313.options.onLoad.call(_311,$(this)); -}})); -var opts=pp.panel("options"); -var tabs=$(_311).children("div.tabs-header").find("ul.tabs"); -opts.tab=$("
                                    • ").appendTo(tabs); -opts.tab.append(""+""+""+""); -$(_311).tabs("update",{tab:pp,options:opts}); -}; -function _314(_315,_316){ -var opts=$.data(_315,"tabs").options; -var tabs=$.data(_315,"tabs").tabs; -if(_316.selected==undefined){ -_316.selected=true; -} -var pp=$("
                                      ").appendTo($(_315).children("div.tabs-panels")); -tabs.push(pp); -_310(_315,pp,_316); -opts.onAdd.call(_315,_316.title,tabs.length-1); -_2f4(_315); -if(_316.selected){ -_317(_315,tabs.length-1); -} -}; -function _318(_319,_31a){ -var _31b=$.data(_319,"tabs").selectHis; -var pp=_31a.tab; -var _31c=pp.panel("options").title; -pp.panel($.extend({},_31a.options,{iconCls:(_31a.options.icon?_31a.options.icon:undefined)})); -var opts=pp.panel("options"); -var tab=opts.tab; -var _31d=tab.find("span.tabs-title"); -var _31e=tab.find("span.tabs-icon"); -_31d.html(opts.title); -_31e.attr("class","tabs-icon"); -tab.find("a.tabs-close").remove(); -if(opts.closable){ -_31d.addClass("tabs-closable"); -$("").appendTo(tab); -}else{ -_31d.removeClass("tabs-closable"); -} -if(opts.iconCls){ -_31d.addClass("tabs-with-icon"); -_31e.addClass(opts.iconCls); -}else{ -_31d.removeClass("tabs-with-icon"); -} -if(_31c!=opts.title){ -for(var i=0;i<_31b.length;i++){ -if(_31b[i]==_31c){ -_31b[i]=opts.title; -} -} -} -tab.find("span.tabs-p-tool").remove(); -if(opts.tools){ -var _31f=$("").insertAfter(tab.find("a.tabs-inner")); -if($.isArray(opts.tools)){ -for(var i=0;i").appendTo(_31f); -t.addClass(opts.tools[i].iconCls); -if(opts.tools[i].handler){ -t.bind("click",{handler:opts.tools[i].handler},function(e){ -if($(this).parents("li").hasClass("tabs-disabled")){ -return; -} -e.data.handler.call(this); -}); -} -} -}else{ -$(opts.tools).children().appendTo(_31f); -} -var pr=_31f.children().length*12; -if(opts.closable){ -pr+=8; -}else{ -pr-=3; -_31f.css("right","5px"); -} -_31d.css("padding-right",pr+"px"); -} -_2f4(_319); -$.data(_319,"tabs").options.onUpdate.call(_319,opts.title,_320(_319,pp)); -}; -function _321(_322,_323){ -var opts=$.data(_322,"tabs").options; -var tabs=$.data(_322,"tabs").tabs; -var _324=$.data(_322,"tabs").selectHis; -if(!_325(_322,_323)){ -return; -} -var tab=_326(_322,_323); -var _327=tab.panel("options").title; -var _328=_320(_322,tab); -if(opts.onBeforeClose.call(_322,_327,_328)==false){ -return; -} -var tab=_326(_322,_323,true); -tab.panel("options").tab.remove(); -tab.panel("destroy"); -opts.onClose.call(_322,_327,_328); -_2f4(_322); -for(var i=0;i<_324.length;i++){ -if(_324[i]==_327){ -_324.splice(i,1); -i--; -} -} -var _329=_324.pop(); -if(_329){ -_317(_322,_329); -}else{ -if(tabs.length){ -_317(_322,0); -} -} -}; -function _326(_32a,_32b,_32c){ -var tabs=$.data(_32a,"tabs").tabs; -if(typeof _32b=="number"){ -if(_32b<0||_32b>=tabs.length){ -return null; -}else{ -var tab=tabs[_32b]; -if(_32c){ -tabs.splice(_32b,1); -} -return tab; -} -} -for(var i=0;idiv.tabs-header>div.tabs-wrap"); -var left=tab.position().left; -var _33a=left+tab.outerWidth(); -if(left<0||_33a>wrap.width()){ -var _33b=left-(wrap.width()-tab.width())/2; -$(_332).tabs("scrollBy",_33b); -}else{ -$(_332).tabs("scrollBy",0); -} -_2fc(_332); -opts.onSelect.call(_332,_339,_320(_332,_336)); -}; -function _338(_33c,_33d){ -var _33e=$.data(_33c,"tabs"); -var p=_326(_33c,_33d); -if(p){ -var opts=p.panel("options"); -if(!opts.closed){ -p.panel("close"); -if(opts.closed){ -opts.tab.removeClass("tabs-selected"); -_33e.options.onUnselect.call(_33c,opts.title,_320(_33c,p)); -} -} -} -}; -function _325(_33f,_340){ -return _326(_33f,_340)!=null; -}; -function _341(_342,_343){ -var opts=$.data(_342,"tabs").options; -opts.showHeader=_343; -$(_342).tabs("resize"); -}; -$.fn.tabs=function(_344,_345){ -if(typeof _344=="string"){ -return $.fn.tabs.methods[_344](this,_345); -} -_344=_344||{}; -return this.each(function(){ -var _346=$.data(this,"tabs"); -var opts; -if(_346){ -opts=$.extend(_346.options,_344); -_346.options=opts; -}else{ -$.data(this,"tabs",{options:$.extend({},$.fn.tabs.defaults,$.fn.tabs.parseOptions(this),_344),tabs:[],selectHis:[]}); -_302(this); -} -_2f0(this); -_30c(this); -_2f4(this); -_305(this); -_32f(this); -}); -}; -$.fn.tabs.methods={options:function(jq){ -var cc=jq[0]; -var opts=$.data(cc,"tabs").options; -var s=_2fe(cc); -opts.selected=s?_320(cc,s):-1; -return opts; -},tabs:function(jq){ -return $.data(jq[0],"tabs").tabs; -},resize:function(jq){ -return jq.each(function(){ -_2f4(this); -_2fc(this); -}); -},add:function(jq,_347){ -return jq.each(function(){ -_314(this,_347); -}); -},close:function(jq,_348){ -return jq.each(function(){ -_321(this,_348); -}); -},getTab:function(jq,_349){ -return _326(jq[0],_349); -},getTabIndex:function(jq,tab){ -return _320(jq[0],tab); -},getSelected:function(jq){ -return _2fe(jq[0]); -},select:function(jq,_34a){ -return jq.each(function(){ -_317(this,_34a); -}); -},unselect:function(jq,_34b){ -return jq.each(function(){ -_338(this,_34b); -}); -},exists:function(jq,_34c){ -return _325(jq[0],_34c); -},update:function(jq,_34d){ -return jq.each(function(){ -_318(this,_34d); -}); -},enableTab:function(jq,_34e){ -return jq.each(function(){ -$(this).tabs("getTab",_34e).panel("options").tab.removeClass("tabs-disabled"); -}); -},disableTab:function(jq,_34f){ -return jq.each(function(){ -$(this).tabs("getTab",_34f).panel("options").tab.addClass("tabs-disabled"); -}); -},showHeader:function(jq){ -return jq.each(function(){ -_341(this,true); -}); -},hideHeader:function(jq){ -return jq.each(function(){ -_341(this,false); -}); -},scrollBy:function(jq,_350){ -return jq.each(function(){ -var opts=$(this).tabs("options"); -var wrap=$(this).find(">div.tabs-header>div.tabs-wrap"); -var pos=Math.min(wrap._scrollLeft()+_350,_351()); -wrap.animate({scrollLeft:pos},opts.scrollDuration); -function _351(){ -var w=0; -var ul=wrap.children("ul"); -ul.children("li").each(function(){ -w+=$(this).outerWidth(true); -}); -return w-wrap.width()+(ul.outerWidth()-ul.width()); -}; -}); -}}; -$.fn.tabs.parseOptions=function(_352){ -return $.extend({},$.parser.parseOptions(_352,["width","height","tools","toolPosition","tabPosition",{fit:"boolean",border:"boolean",plain:"boolean",headerWidth:"number",tabWidth:"number",tabHeight:"number",selected:"number",showHeader:"boolean"}])); -}; -$.fn.tabs.defaults={width:"auto",height:"auto",headerWidth:150,tabWidth:"auto",tabHeight:27,selected:0,showHeader:true,plain:false,fit:false,border:true,tools:null,toolPosition:"right",tabPosition:"top",scrollIncrement:100,scrollDuration:400,onLoad:function(_353){ -},onSelect:function(_354,_355){ -},onUnselect:function(_356,_357){ -},onBeforeClose:function(_358,_359){ -},onClose:function(_35a,_35b){ -},onAdd:function(_35c,_35d){ -},onUpdate:function(_35e,_35f){ -},onContextMenu:function(e,_360,_361){ -}}; -})(jQuery); -(function($){ -var _362=false; -function _363(_364){ -var _365=$.data(_364,"layout"); -var opts=_365.options; -var _366=_365.panels; -var cc=$(_364); -if(_364.tagName=="BODY"){ -cc._fit(); -}else{ -opts.fit?cc.css(cc._fit()):cc._fit(false); -} -var cpos={top:0,left:0,width:cc.width(),height:cc.height()}; -_367(_368(_366.expandNorth)?_366.expandNorth:_366.north,"n"); -_367(_368(_366.expandSouth)?_366.expandSouth:_366.south,"s"); -_369(_368(_366.expandEast)?_366.expandEast:_366.east,"e"); -_369(_368(_366.expandWest)?_366.expandWest:_366.west,"w"); -_366.center.panel("resize",cpos); -function _36a(pp){ -var opts=pp.panel("options"); -return Math.min(Math.max(opts.height,opts.minHeight),opts.maxHeight); -}; -function _36b(pp){ -var opts=pp.panel("options"); -return Math.min(Math.max(opts.width,opts.minWidth),opts.maxWidth); -}; -function _367(pp,type){ -if(!pp.length||!_368(pp)){ -return; -} -var opts=pp.panel("options"); -var _36c=_36a(pp); -pp.panel("resize",{width:cc.width(),height:_36c,left:0,top:(type=="n"?0:cc.height()-_36c)}); -cpos.height-=_36c; -if(type=="n"){ -cpos.top+=_36c; -if(!opts.split&&opts.border){ -cpos.top--; -} -} -if(!opts.split&&opts.border){ -cpos.height++; -} -}; -function _369(pp,type){ -if(!pp.length||!_368(pp)){ -return; -} -var opts=pp.panel("options"); -var _36d=_36b(pp); -pp.panel("resize",{width:_36d,height:cpos.height,left:(type=="e"?cc.width()-_36d:0),top:cpos.top}); -cpos.width-=_36d; -if(type=="w"){ -cpos.left+=_36d; -if(!opts.split&&opts.border){ -cpos.left--; -} -} -if(!opts.split&&opts.border){ -cpos.width++; -} -}; -}; -function init(_36e){ -var cc=$(_36e); -cc.addClass("layout"); -function _36f(cc){ -cc.children("div").each(function(){ -var opts=$.fn.layout.parsePanelOptions(this); -if("north,south,east,west,center".indexOf(opts.region)>=0){ -_371(_36e,opts,this); -} -}); -}; -cc.children("form").length?_36f(cc.children("form")):_36f(cc); -cc.append("
                                      "); -cc.bind("_resize",function(e,_370){ -var opts=$.data(_36e,"layout").options; -if(opts.fit==true||_370){ -_363(_36e); -} -return false; -}); -}; -function _371(_372,_373,el){ -_373.region=_373.region||"center"; -var _374=$.data(_372,"layout").panels; -var cc=$(_372); -var dir=_373.region; -if(_374[dir].length){ -return; -} -var pp=$(el); -if(!pp.length){ -pp=$("
                                      ").appendTo(cc); -} -var _375=$.extend({},$.fn.layout.paneldefaults,{width:(pp.length?parseInt(pp[0].style.width)||pp.outerWidth():"auto"),height:(pp.length?parseInt(pp[0].style.height)||pp.outerHeight():"auto"),doSize:false,collapsible:true,cls:("layout-panel layout-panel-"+dir),bodyCls:"layout-body",onOpen:function(){ -var tool=$(this).panel("header").children("div.panel-tool"); -tool.children("a.panel-tool-collapse").hide(); -var _376={north:"up",south:"down",east:"right",west:"left"}; -if(!_376[dir]){ -return; -} -var _377="layout-button-"+_376[dir]; -var t=tool.children("a."+_377); -if(!t.length){ -t=$("").addClass(_377).appendTo(tool); -t.bind("click",{dir:dir},function(e){ -_383(_372,e.data.dir); -return false; -}); -} -$(this).panel("options").collapsible?t.show():t.hide(); -}},_373); -pp.panel(_375); -_374[dir]=pp; -if(pp.panel("options").split){ -var _378=pp.panel("panel"); -_378.addClass("layout-split-"+dir); -var _379=""; -if(dir=="north"){ -_379="s"; -} -if(dir=="south"){ -_379="n"; -} -if(dir=="east"){ -_379="w"; -} -if(dir=="west"){ -_379="e"; -} -_378.resizable($.extend({},{handles:_379,onStartResize:function(e){ -_362=true; -if(dir=="north"||dir=="south"){ -var _37a=$(">div.layout-split-proxy-v",_372); -}else{ -var _37a=$(">div.layout-split-proxy-h",_372); -} -var top=0,left=0,_37b=0,_37c=0; -var pos={display:"block"}; -if(dir=="north"){ -pos.top=parseInt(_378.css("top"))+_378.outerHeight()-_37a.height(); -pos.left=parseInt(_378.css("left")); -pos.width=_378.outerWidth(); -pos.height=_37a.height(); -}else{ -if(dir=="south"){ -pos.top=parseInt(_378.css("top")); -pos.left=parseInt(_378.css("left")); -pos.width=_378.outerWidth(); -pos.height=_37a.height(); -}else{ -if(dir=="east"){ -pos.top=parseInt(_378.css("top"))||0; -pos.left=parseInt(_378.css("left"))||0; -pos.width=_37a.width(); -pos.height=_378.outerHeight(); -}else{ -if(dir=="west"){ -pos.top=parseInt(_378.css("top"))||0; -pos.left=_378.outerWidth()-_37a.width(); -pos.width=_37a.width(); -pos.height=_378.outerHeight(); -} -} -} -} -_37a.css(pos); -$("
                                      ").css({left:0,top:0,width:cc.width(),height:cc.height()}).appendTo(cc); -},onResize:function(e){ -if(dir=="north"||dir=="south"){ -var _37d=$(">div.layout-split-proxy-v",_372); -_37d.css("top",e.pageY-$(_372).offset().top-_37d.height()/2); -}else{ -var _37d=$(">div.layout-split-proxy-h",_372); -_37d.css("left",e.pageX-$(_372).offset().left-_37d.width()/2); -} -return false; -},onStopResize:function(e){ -cc.children("div.layout-split-proxy-v,div.layout-split-proxy-h").hide(); -pp.panel("resize",e.data); -_363(_372); -_362=false; -cc.find(">div.layout-mask").remove(); -}},_373)); -} -}; -function _37e(_37f,_380){ -var _381=$.data(_37f,"layout").panels; -if(_381[_380].length){ -_381[_380].panel("destroy"); -_381[_380]=$(); -var _382="expand"+_380.substring(0,1).toUpperCase()+_380.substring(1); -if(_381[_382]){ -_381[_382].panel("destroy"); -_381[_382]=undefined; -} -} -}; -function _383(_384,_385,_386){ -if(_386==undefined){ -_386="normal"; -} -var _387=$.data(_384,"layout").panels; -var p=_387[_385]; -var _388=p.panel("options"); -if(_388.onBeforeCollapse.call(p)==false){ -return; -} -var _389="expand"+_385.substring(0,1).toUpperCase()+_385.substring(1); -if(!_387[_389]){ -_387[_389]=_38a(_385); -_387[_389].panel("panel").bind("click",function(){ -var _38b=_38c(); -p.panel("expand",false).panel("open").panel("resize",_38b.collapse); -p.panel("panel").animate(_38b.expand,function(){ -$(this).unbind(".layout").bind("mouseleave.layout",{region:_385},function(e){ -if(_362==true){ -return; -} -_383(_384,e.data.region); -}); -}); -return false; -}); -} -var _38d=_38c(); -if(!_368(_387[_389])){ -_387.center.panel("resize",_38d.resizeC); -} -p.panel("panel").animate(_38d.collapse,_386,function(){ -p.panel("collapse",false).panel("close"); -_387[_389].panel("open").panel("resize",_38d.expandP); -$(this).unbind(".layout"); -}); -function _38a(dir){ -var icon; -if(dir=="east"){ -icon="layout-button-left"; -}else{ -if(dir=="west"){ -icon="layout-button-right"; -}else{ -if(dir=="north"){ -icon="layout-button-down"; -}else{ -if(dir=="south"){ -icon="layout-button-up"; -} -} -} -} -var p=$("
                                      ").appendTo(_384); -p.panel($.extend({},$.fn.layout.paneldefaults,{cls:("layout-expand layout-expand-"+dir),title:" ",closed:true,minWidth:0,minHeight:0,doSize:false,tools:[{iconCls:icon,handler:function(){ -_390(_384,_385); -return false; -}}]})); -p.panel("panel").hover(function(){ -$(this).addClass("layout-expand-over"); -},function(){ -$(this).removeClass("layout-expand-over"); -}); -return p; -}; -function _38c(){ -var cc=$(_384); -var _38e=_387.center.panel("options"); -var _38f=_388.collapsedSize; -if(_385=="east"){ -var ww=_38e.width+_388.width-_38f; -if(_388.split||!_388.border){ -ww++; -} -return {resizeC:{width:ww},expand:{left:cc.width()-_388.width},expandP:{top:_38e.top,left:cc.width()-_38f,width:_38f,height:_38e.height},collapse:{left:cc.width(),top:_38e.top,height:_38e.height}}; -}else{ -if(_385=="west"){ -var ww=_38e.width+_388.width-_38f; -if(_388.split||!_388.border){ -ww++; -} -return {resizeC:{width:ww,left:_38f-1},expand:{left:0},expandP:{left:0,top:_38e.top,width:_38f,height:_38e.height},collapse:{left:-_388.width,top:_38e.top,height:_38e.height}}; -}else{ -if(_385=="north"){ -var hh=_38e.height; -if(!_368(_387.expandNorth)){ -hh+=_388.height-_38f+((_388.split||!_388.border)?1:0); -} -_387.east.add(_387.west).add(_387.expandEast).add(_387.expandWest).panel("resize",{top:_38f-1,height:hh}); -return {resizeC:{top:_38f-1,height:hh},expand:{top:0},expandP:{top:0,left:0,width:cc.width(),height:_38f},collapse:{top:-_388.height,width:cc.width()}}; -}else{ -if(_385=="south"){ -var hh=_38e.height; -if(!_368(_387.expandSouth)){ -hh+=_388.height-_38f+((_388.split||!_388.border)?1:0); -} -_387.east.add(_387.west).add(_387.expandEast).add(_387.expandWest).panel("resize",{height:hh}); -return {resizeC:{height:hh},expand:{top:cc.height()-_388.height},expandP:{top:cc.height()-_38f,left:0,width:cc.width(),height:_38f},collapse:{top:cc.height(),width:cc.width()}}; -} -} -} -} -}; -}; -function _390(_391,_392){ -var _393=$.data(_391,"layout").panels; -var p=_393[_392]; -var _394=p.panel("options"); -if(_394.onBeforeExpand.call(p)==false){ -return; -} -var _395=_396(); -var _397="expand"+_392.substring(0,1).toUpperCase()+_392.substring(1); -if(_393[_397]){ -_393[_397].panel("close"); -p.panel("panel").stop(true,true); -p.panel("expand",false).panel("open").panel("resize",_395.collapse); -p.panel("panel").animate(_395.expand,function(){ -_363(_391); -}); -} -function _396(){ -var cc=$(_391); -var _398=_393.center.panel("options"); -if(_392=="east"&&_393.expandEast){ -return {collapse:{left:cc.width(),top:_398.top,height:_398.height},expand:{left:cc.width()-_393["east"].panel("options").width}}; -}else{ -if(_392=="west"&&_393.expandWest){ -return {collapse:{left:-_393["west"].panel("options").width,top:_398.top,height:_398.height},expand:{left:0}}; -}else{ -if(_392=="north"&&_393.expandNorth){ -return {collapse:{top:-_393["north"].panel("options").height,width:cc.width()},expand:{top:0}}; -}else{ -if(_392=="south"&&_393.expandSouth){ -return {collapse:{top:cc.height(),width:cc.width()},expand:{top:cc.height()-_393["south"].panel("options").height}}; -} -} -} -} -}; -}; -function _368(pp){ -if(!pp){ -return false; -} -if(pp.length){ -return pp.panel("panel").is(":visible"); -}else{ -return false; -} -}; -function _399(_39a){ -var _39b=$.data(_39a,"layout").panels; -if(_39b.east.length&&_39b.east.panel("options").collapsed){ -_383(_39a,"east",0); -} -if(_39b.west.length&&_39b.west.panel("options").collapsed){ -_383(_39a,"west",0); -} -if(_39b.north.length&&_39b.north.panel("options").collapsed){ -_383(_39a,"north",0); -} -if(_39b.south.length&&_39b.south.panel("options").collapsed){ -_383(_39a,"south",0); -} -}; -$.fn.layout=function(_39c,_39d){ -if(typeof _39c=="string"){ -return $.fn.layout.methods[_39c](this,_39d); -} -_39c=_39c||{}; -return this.each(function(){ -var _39e=$.data(this,"layout"); -if(_39e){ -$.extend(_39e.options,_39c); -}else{ -var opts=$.extend({},$.fn.layout.defaults,$.fn.layout.parseOptions(this),_39c); -$.data(this,"layout",{options:opts,panels:{center:$(),north:$(),south:$(),east:$(),west:$()}}); -init(this); -} -_363(this); -_399(this); -}); -}; -$.fn.layout.methods={resize:function(jq){ -return jq.each(function(){ -_363(this); -}); -},panel:function(jq,_39f){ -return $.data(jq[0],"layout").panels[_39f]; -},collapse:function(jq,_3a0){ -return jq.each(function(){ -_383(this,_3a0); -}); -},expand:function(jq,_3a1){ -return jq.each(function(){ -_390(this,_3a1); -}); -},add:function(jq,_3a2){ -return jq.each(function(){ -_371(this,_3a2); -_363(this); -if($(this).layout("panel",_3a2.region).panel("options").collapsed){ -_383(this,_3a2.region,0); -} -}); -},remove:function(jq,_3a3){ -return jq.each(function(){ -_37e(this,_3a3); -_363(this); -}); -}}; -$.fn.layout.parseOptions=function(_3a4){ -return $.extend({},$.parser.parseOptions(_3a4,[{fit:"boolean"}])); -}; -$.fn.layout.defaults={fit:false}; -$.fn.layout.parsePanelOptions=function(_3a5){ -var t=$(_3a5); -return $.extend({},$.fn.panel.parseOptions(_3a5),$.parser.parseOptions(_3a5,["region",{split:"boolean",collpasedSize:"number",minWidth:"number",minHeight:"number",maxWidth:"number",maxHeight:"number"}])); -}; -$.fn.layout.paneldefaults=$.extend({},$.fn.panel.defaults,{region:null,split:false,collapsedSize:28,minWidth:10,minHeight:10,maxWidth:10000,maxHeight:10000}); -})(jQuery); -(function($){ -function init(_3a6){ -$(_3a6).appendTo("body"); -$(_3a6).addClass("menu-top"); -$(document).unbind(".menu").bind("mousedown.menu",function(e){ -var m=$(e.target).closest("div.menu,div.combo-p"); -if(m.length){ -return; -} -$("body>div.menu-top:visible").menu("hide"); -}); -var _3a7=_3a8($(_3a6)); -for(var i=0;i<_3a7.length;i++){ -_3a9(_3a7[i]); -} -function _3a8(menu){ -var _3aa=[]; -menu.addClass("menu"); -_3aa.push(menu); -if(!menu.hasClass("menu-content")){ -menu.children("div").each(function(){ -var _3ab=$(this).children("div"); -if(_3ab.length){ -_3ab.insertAfter(_3a6); -this.submenu=_3ab; -var mm=_3a8(_3ab); -_3aa=_3aa.concat(mm); -} -}); -} -return _3aa; -}; -function _3a9(menu){ -var wh=$.parser.parseOptions(menu[0],["width","height"]); -menu[0].originalHeight=wh.height||0; -if(menu.hasClass("menu-content")){ -menu[0].originalWidth=wh.width||menu._outerWidth(); -}else{ -menu[0].originalWidth=wh.width||0; -menu.children("div").each(function(){ -var item=$(this); -var _3ac=$.extend({},$.parser.parseOptions(this,["name","iconCls","href",{separator:"boolean"}]),{disabled:(item.attr("disabled")?true:undefined)}); -if(_3ac.separator){ -item.addClass("menu-sep"); -} -if(!item.hasClass("menu-sep")){ -item[0].itemName=_3ac.name||""; -item[0].itemHref=_3ac.href||""; -var text=item.addClass("menu-item").html(); -item.empty().append($("
                                      ").html(text)); -if(_3ac.iconCls){ -$("
                                      ").addClass(_3ac.iconCls).appendTo(item); -} -if(_3ac.disabled){ -_3ad(_3a6,item[0],true); -} -if(item[0].submenu){ -$("
                                      ").appendTo(item); -} -_3ae(_3a6,item); -} -}); -$("
                                      ").prependTo(menu); -} -_3af(_3a6,menu); -menu.hide(); -_3b0(_3a6,menu); -}; -}; -function _3af(_3b1,menu){ -var opts=$.data(_3b1,"menu").options; -var _3b2=menu.attr("style")||""; -menu.css({display:"block",left:-10000,height:"auto",overflow:"hidden"}); -var el=menu[0]; -var _3b3=el.originalWidth||0; -if(!_3b3){ -_3b3=0; -menu.find("div.menu-text").each(function(){ -if(_3b3<$(this)._outerWidth()){ -_3b3=$(this)._outerWidth(); -} -$(this).closest("div.menu-item")._outerHeight($(this)._outerHeight()+2); -}); -_3b3+=40; -} -_3b3=Math.max(_3b3,opts.minWidth); -var _3b4=el.originalHeight||menu.outerHeight(); -var _3b5=Math.max(el.originalHeight,menu.outerHeight())-2; -menu._outerWidth(_3b3)._outerHeight(_3b4); -menu.children("div.menu-line")._outerHeight(_3b5); -_3b2+=";width:"+el.style.width+";height:"+el.style.height; -menu.attr("style",_3b2); -}; -function _3b0(_3b6,menu){ -var _3b7=$.data(_3b6,"menu"); -menu.unbind(".menu").bind("mouseenter.menu",function(){ -if(_3b7.timer){ -clearTimeout(_3b7.timer); -_3b7.timer=null; -} -}).bind("mouseleave.menu",function(){ -if(_3b7.options.hideOnUnhover){ -_3b7.timer=setTimeout(function(){ -_3b8(_3b6); -},100); -} -}); -}; -function _3ae(_3b9,item){ -if(!item.hasClass("menu-item")){ -return; -} -item.unbind(".menu"); -item.bind("click.menu",function(){ -if($(this).hasClass("menu-item-disabled")){ -return; -} -if(!this.submenu){ -_3b8(_3b9); -var href=$(this).attr("href"); -if(href){ -location.href=href; -} -} -var item=$(_3b9).menu("getItem",this); -$.data(_3b9,"menu").options.onClick.call(_3b9,item); -}).bind("mouseenter.menu",function(e){ -item.siblings().each(function(){ -if(this.submenu){ -_3bc(this.submenu); -} -$(this).removeClass("menu-active"); -}); -item.addClass("menu-active"); -if($(this).hasClass("menu-item-disabled")){ -item.addClass("menu-active-disabled"); -return; -} -var _3ba=item[0].submenu; -if(_3ba){ -$(_3b9).menu("show",{menu:_3ba,parent:item}); -} -}).bind("mouseleave.menu",function(e){ -item.removeClass("menu-active menu-active-disabled"); -var _3bb=item[0].submenu; -if(_3bb){ -if(e.pageX>=parseInt(_3bb.css("left"))){ -item.addClass("menu-active"); -}else{ -_3bc(_3bb); -} -}else{ -item.removeClass("menu-active"); -} -}); -}; -function _3b8(_3bd){ -var _3be=$.data(_3bd,"menu"); -if(_3be){ -if($(_3bd).is(":visible")){ -_3bc($(_3bd)); -_3be.options.onHide.call(_3bd); -} -} -return false; -}; -function _3bf(_3c0,_3c1){ -var left,top; -_3c1=_3c1||{}; -var menu=$(_3c1.menu||_3c0); -if(menu.hasClass("menu-top")){ -var opts=$.data(_3c0,"menu").options; -$.extend(opts,_3c1); -left=opts.left; -top=opts.top; -if(opts.alignTo){ -var at=$(opts.alignTo); -left=at.offset().left; -top=at.offset().top+at._outerHeight(); -if(opts.align=="right"){ -left+=at.outerWidth()-menu.outerWidth(); -} -} -if(left+menu.outerWidth()>$(window)._outerWidth()+$(document)._scrollLeft()){ -left=$(window)._outerWidth()+$(document).scrollLeft()-menu.outerWidth()-5; -} -if(left<0){ -left=0; -} -if(top+menu.outerHeight()>$(window)._outerHeight()+$(document).scrollTop()){ -top=$(window)._outerHeight()+$(document).scrollTop()-menu.outerHeight()-5; -} -}else{ -var _3c2=_3c1.parent; -left=_3c2.offset().left+_3c2.outerWidth()-2; -if(left+menu.outerWidth()+5>$(window)._outerWidth()+$(document).scrollLeft()){ -left=_3c2.offset().left-menu.outerWidth()+2; -} -var top=_3c2.offset().top-3; -if(top+menu.outerHeight()>$(window)._outerHeight()+$(document).scrollTop()){ -top=$(window)._outerHeight()+$(document).scrollTop()-menu.outerHeight()-5; -} -} -menu.css({left:left,top:top}); -menu.show(0,function(){ -if(!menu[0].shadow){ -menu[0].shadow=$("
                                      ").insertAfter(menu); -} -menu[0].shadow.css({display:"block",zIndex:$.fn.menu.defaults.zIndex++,left:menu.css("left"),top:menu.css("top"),width:menu.outerWidth(),height:menu.outerHeight()}); -menu.css("z-index",$.fn.menu.defaults.zIndex++); -if(menu.hasClass("menu-top")){ -$.data(menu[0],"menu").options.onShow.call(menu[0]); -} -}); -}; -function _3bc(menu){ -if(!menu){ -return; -} -_3c3(menu); -menu.find("div.menu-item").each(function(){ -if(this.submenu){ -_3bc(this.submenu); -} -$(this).removeClass("menu-active"); -}); -function _3c3(m){ -m.stop(true,true); -if(m[0].shadow){ -m[0].shadow.hide(); -} -m.hide(); -}; -}; -function _3c4(_3c5,text){ -var _3c6=null; -var tmp=$("
                                      "); -function find(menu){ -menu.children("div.menu-item").each(function(){ -var item=$(_3c5).menu("getItem",this); -var s=tmp.empty().html(item.text).text(); -if(text==$.trim(s)){ -_3c6=item; -}else{ -if(this.submenu&&!_3c6){ -find(this.submenu); -} -} -}); -}; -find($(_3c5)); -tmp.remove(); -return _3c6; -}; -function _3ad(_3c7,_3c8,_3c9){ -var t=$(_3c8); -if(!t.hasClass("menu-item")){ -return; -} -if(_3c9){ -t.addClass("menu-item-disabled"); -if(_3c8.onclick){ -_3c8.onclick1=_3c8.onclick; -_3c8.onclick=null; -} -}else{ -t.removeClass("menu-item-disabled"); -if(_3c8.onclick1){ -_3c8.onclick=_3c8.onclick1; -_3c8.onclick1=null; -} -} -}; -function _3ca(_3cb,_3cc){ -var menu=$(_3cb); -if(_3cc.parent){ -if(!_3cc.parent.submenu){ -var _3cd=$("
                                      ").appendTo("body"); -_3cd.hide(); -_3cc.parent.submenu=_3cd; -$("
                                      ").appendTo(_3cc.parent); -} -menu=_3cc.parent.submenu; -} -if(_3cc.separator){ -var item=$("
                                      ").appendTo(menu); -}else{ -var item=$("
                                      ").appendTo(menu); -$("
                                      ").html(_3cc.text).appendTo(item); -} -if(_3cc.iconCls){ -$("
                                      ").addClass(_3cc.iconCls).appendTo(item); -} -if(_3cc.id){ -item.attr("id",_3cc.id); -} -if(_3cc.name){ -item[0].itemName=_3cc.name; -} -if(_3cc.href){ -item[0].itemHref=_3cc.href; -} -if(_3cc.onclick){ -if(typeof _3cc.onclick=="string"){ -item.attr("onclick",_3cc.onclick); -}else{ -item[0].onclick=eval(_3cc.onclick); -} -} -if(_3cc.handler){ -item[0].onclick=eval(_3cc.handler); -} -if(_3cc.disabled){ -_3ad(_3cb,item[0],true); -} -_3ae(_3cb,item); -_3b0(_3cb,menu); -_3af(_3cb,menu); -}; -function _3ce(_3cf,_3d0){ -function _3d1(el){ -if(el.submenu){ -el.submenu.children("div.menu-item").each(function(){ -_3d1(this); -}); -var _3d2=el.submenu[0].shadow; -if(_3d2){ -_3d2.remove(); -} -el.submenu.remove(); -} -$(el).remove(); -}; -_3d1(_3d0); -}; -function _3d3(_3d4){ -$(_3d4).children("div.menu-item").each(function(){ -_3ce(_3d4,this); -}); -if(_3d4.shadow){ -_3d4.shadow.remove(); -} -$(_3d4).remove(); -}; -$.fn.menu=function(_3d5,_3d6){ -if(typeof _3d5=="string"){ -return $.fn.menu.methods[_3d5](this,_3d6); -} -_3d5=_3d5||{}; -return this.each(function(){ -var _3d7=$.data(this,"menu"); -if(_3d7){ -$.extend(_3d7.options,_3d5); -}else{ -_3d7=$.data(this,"menu",{options:$.extend({},$.fn.menu.defaults,$.fn.menu.parseOptions(this),_3d5)}); -init(this); -} -$(this).css({left:_3d7.options.left,top:_3d7.options.top}); -}); -}; -$.fn.menu.methods={options:function(jq){ -return $.data(jq[0],"menu").options; -},show:function(jq,pos){ -return jq.each(function(){ -_3bf(this,pos); -}); -},hide:function(jq){ -return jq.each(function(){ -_3b8(this); -}); -},destroy:function(jq){ -return jq.each(function(){ -_3d3(this); -}); -},setText:function(jq,_3d8){ -return jq.each(function(){ -$(_3d8.target).children("div.menu-text").html(_3d8.text); -}); -},setIcon:function(jq,_3d9){ -return jq.each(function(){ -$(_3d9.target).children("div.menu-icon").remove(); -if(_3d9.iconCls){ -$("
                                      ").addClass(_3d9.iconCls).appendTo(_3d9.target); -} -}); -},getItem:function(jq,_3da){ -var t=$(_3da); -var item={target:_3da,id:t.attr("id"),text:$.trim(t.children("div.menu-text").html()),disabled:t.hasClass("menu-item-disabled"),name:_3da.itemName,href:_3da.itemHref,onclick:_3da.onclick}; -var icon=t.children("div.menu-icon"); -if(icon.length){ -var cc=[]; -var aa=icon.attr("class").split(" "); -for(var i=0;i").addClass(opts.cls.arrow).appendTo(_3e1); -$("").addClass("m-btn-line").appendTo(_3e1); -if(opts.menu){ -$(opts.menu).menu(); -var _3e2=$(opts.menu).menu("options"); -var _3e3=_3e2.onShow; -var _3e4=_3e2.onHide; -$.extend(_3e2,{onShow:function(){ -var _3e5=$(this).menu("options"); -var btn=$(_3e5.alignTo); -var opts=btn.menubutton("options"); -btn.addClass((opts.plain==true)?opts.cls.btn2:opts.cls.btn1); -_3e3.call(this); -},onHide:function(){ -var _3e6=$(this).menu("options"); -var btn=$(_3e6.alignTo); -var opts=btn.menubutton("options"); -btn.removeClass((opts.plain==true)?opts.cls.btn2:opts.cls.btn1); -_3e4.call(this); -}}); -} -_3e7(_3e0,opts.disabled); -}; -function _3e7(_3e8,_3e9){ -var opts=$.data(_3e8,"menubutton").options; -opts.disabled=_3e9; -var btn=$(_3e8); -var t=btn.find("."+opts.cls.trigger); -if(!t.length){ -t=btn; -} -t.unbind(".menubutton"); -if(_3e9){ -btn.linkbutton("disable"); -}else{ -btn.linkbutton("enable"); -var _3ea=null; -t.bind("click.menubutton",function(){ -_3eb(_3e8); -return false; -}).bind("mouseenter.menubutton",function(){ -_3ea=setTimeout(function(){ -_3eb(_3e8); -},opts.duration); -return false; -}).bind("mouseleave.menubutton",function(){ -if(_3ea){ -clearTimeout(_3ea); -} -}); -} -}; -function _3eb(_3ec){ -var opts=$.data(_3ec,"menubutton").options; -if(opts.disabled||!opts.menu){ -return; -} -$("body>div.menu-top").menu("hide"); -var btn=$(_3ec); -var mm=$(opts.menu); -if(mm.length){ -mm.menu("options").alignTo=btn; -mm.menu("show",{alignTo:btn,align:opts.menuAlign}); -} -btn.blur(); -}; -$.fn.menubutton=function(_3ed,_3ee){ -if(typeof _3ed=="string"){ -var _3ef=$.fn.menubutton.methods[_3ed]; -if(_3ef){ -return _3ef(this,_3ee); -}else{ -return this.linkbutton(_3ed,_3ee); -} -} -_3ed=_3ed||{}; -return this.each(function(){ -var _3f0=$.data(this,"menubutton"); -if(_3f0){ -$.extend(_3f0.options,_3ed); -}else{ -$.data(this,"menubutton",{options:$.extend({},$.fn.menubutton.defaults,$.fn.menubutton.parseOptions(this),_3ed)}); -$(this).removeAttr("disabled"); -} -init(this); -}); -}; -$.fn.menubutton.methods={options:function(jq){ -var _3f1=jq.linkbutton("options"); -var _3f2=$.data(jq[0],"menubutton").options; -_3f2.toggle=_3f1.toggle; -_3f2.selected=_3f1.selected; -return _3f2; -},enable:function(jq){ -return jq.each(function(){ -_3e7(this,false); -}); -},disable:function(jq){ -return jq.each(function(){ -_3e7(this,true); -}); -},destroy:function(jq){ -return jq.each(function(){ -var opts=$(this).menubutton("options"); -if(opts.menu){ -$(opts.menu).menu("destroy"); -} -$(this).remove(); -}); -}}; -$.fn.menubutton.parseOptions=function(_3f3){ -var t=$(_3f3); -return $.extend({},$.fn.linkbutton.parseOptions(_3f3),$.parser.parseOptions(_3f3,["menu",{plain:"boolean",duration:"number"}])); -}; -$.fn.menubutton.defaults=$.extend({},$.fn.linkbutton.defaults,{plain:true,menu:null,menuAlign:"left",duration:100,cls:{btn1:"m-btn-active",btn2:"m-btn-plain-active",arrow:"m-btn-downarrow",trigger:"m-btn"}}); -})(jQuery); -(function($){ -function init(_3f4){ -var opts=$.data(_3f4,"splitbutton").options; -$(_3f4).menubutton(opts); -$(_3f4).addClass("s-btn"); -}; -$.fn.splitbutton=function(_3f5,_3f6){ -if(typeof _3f5=="string"){ -var _3f7=$.fn.splitbutton.methods[_3f5]; -if(_3f7){ -return _3f7(this,_3f6); -}else{ -return this.menubutton(_3f5,_3f6); -} -} -_3f5=_3f5||{}; -return this.each(function(){ -var _3f8=$.data(this,"splitbutton"); -if(_3f8){ -$.extend(_3f8.options,_3f5); -}else{ -$.data(this,"splitbutton",{options:$.extend({},$.fn.splitbutton.defaults,$.fn.splitbutton.parseOptions(this),_3f5)}); -$(this).removeAttr("disabled"); -} -init(this); -}); -}; -$.fn.splitbutton.methods={options:function(jq){ -var _3f9=jq.menubutton("options"); -var _3fa=$.data(jq[0],"splitbutton").options; -$.extend(_3fa,{disabled:_3f9.disabled,toggle:_3f9.toggle,selected:_3f9.selected}); -return _3fa; -}}; -$.fn.splitbutton.parseOptions=function(_3fb){ -var t=$(_3fb); -return $.extend({},$.fn.linkbutton.parseOptions(_3fb),$.parser.parseOptions(_3fb,["menu",{plain:"boolean",duration:"number"}])); -}; -$.fn.splitbutton.defaults=$.extend({},$.fn.linkbutton.defaults,{plain:true,menu:null,duration:100,cls:{btn1:"m-btn-active s-btn-active",btn2:"m-btn-plain-active s-btn-plain-active",arrow:"m-btn-downarrow",trigger:"m-btn-line"}}); -})(jQuery); -(function($){ -function init(_3fc){ -$(_3fc).addClass("searchbox-f").hide(); -var span=$("").insertAfter(_3fc); -var _3fd=$("").appendTo(span); -$("").appendTo(span); -var name=$(_3fc).attr("name"); -if(name){ -_3fd.attr("name",name); -$(_3fc).removeAttr("name").attr("searchboxName",name); -} -return span; -}; -function _3fe(_3ff,_400){ -var opts=$.data(_3ff,"searchbox").options; -var sb=$.data(_3ff,"searchbox").searchbox; -if(_400){ -opts.width=_400; -} -sb.appendTo("body"); -if(isNaN(opts.width)){ -opts.width=sb._outerWidth(); -} -var _401=sb.find("span.searchbox-button"); -var menu=sb.find("a.searchbox-menu"); -var _402=sb.find("input.searchbox-text"); -sb._outerWidth(opts.width)._outerHeight(opts.height); -_402._outerWidth(sb.width()-menu._outerWidth()-_401._outerWidth()); -_402.css({height:sb.height()+"px",lineHeight:sb.height()+"px"}); -menu._outerHeight(sb.height()); -_401._outerHeight(sb.height()); -var _403=menu.find("span.l-btn-left"); -_403._outerHeight(sb.height()); -_403.find("span.l-btn-text").css({height:_403.height()+"px",lineHeight:_403.height()+"px"}); -sb.insertAfter(_3ff); -}; -function _404(_405){ -var _406=$.data(_405,"searchbox"); -var opts=_406.options; -if(opts.menu){ -_406.menu=$(opts.menu).menu({onClick:function(item){ -_407(item); -}}); -var item=_406.menu.children("div.menu-item:first"); -_406.menu.children("div.menu-item").each(function(){ -var _408=$.extend({},$.parser.parseOptions(this),{selected:($(this).attr("selected")?true:undefined)}); -if(_408.selected){ -item=$(this); -return false; -} -}); -item.triggerHandler("click"); -}else{ -_406.searchbox.find("a.searchbox-menu").remove(); -_406.menu=null; -} -function _407(item){ -_406.searchbox.find("a.searchbox-menu").remove(); -var mb=$("").html(item.text); -mb.prependTo(_406.searchbox).menubutton({menu:_406.menu,iconCls:item.iconCls}); -_406.searchbox.find("input.searchbox-text").attr("name",item.name||item.text); -_3fe(_405); -}; -}; -function _409(_40a){ -var _40b=$.data(_40a,"searchbox"); -var opts=_40b.options; -var _40c=_40b.searchbox.find("input.searchbox-text"); -var _40d=_40b.searchbox.find(".searchbox-button"); -_40c.unbind(".searchbox"); -_40d.unbind(".searchbox"); -if(!opts.disabled){ -_40c.bind("blur.searchbox",function(e){ -opts.value=$(this).val(); -if(opts.value==""){ -$(this).val(opts.prompt); -$(this).addClass("searchbox-prompt"); -}else{ -$(this).removeClass("searchbox-prompt"); -} -}).bind("focus.searchbox",function(e){ -if($(this).val()!=opts.value){ -$(this).val(opts.value); -} -$(this).removeClass("searchbox-prompt"); -}).bind("keydown.searchbox",function(e){ -if(e.keyCode==13){ -e.preventDefault(); -opts.value=$(this).val(); -opts.searcher.call(_40a,opts.value,_40c._propAttr("name")); -return false; -} -}); -_40d.bind("click.searchbox",function(){ -opts.searcher.call(_40a,opts.value,_40c._propAttr("name")); -}).bind("mouseenter.searchbox",function(){ -$(this).addClass("searchbox-button-hover"); -}).bind("mouseleave.searchbox",function(){ -$(this).removeClass("searchbox-button-hover"); -}); -} -}; -function _40e(_40f,_410){ -var _411=$.data(_40f,"searchbox"); -var opts=_411.options; -var _412=_411.searchbox.find("input.searchbox-text"); -var mb=_411.searchbox.find("a.searchbox-menu"); -if(_410){ -opts.disabled=true; -$(_40f).attr("disabled",true); -_412.attr("disabled",true); -if(mb.length){ -mb.menubutton("disable"); -} -}else{ -opts.disabled=false; -$(_40f).removeAttr("disabled"); -_412.removeAttr("disabled"); -if(mb.length){ -mb.menubutton("enable"); -} -} -}; -function _413(_414){ -var _415=$.data(_414,"searchbox"); -var opts=_415.options; -var _416=_415.searchbox.find("input.searchbox-text"); -opts.originalValue=opts.value; -if(opts.value){ -_416.val(opts.value); -_416.removeClass("searchbox-prompt"); -}else{ -_416.val(opts.prompt); -_416.addClass("searchbox-prompt"); -} -}; -$.fn.searchbox=function(_417,_418){ -if(typeof _417=="string"){ -return $.fn.searchbox.methods[_417](this,_418); -} -_417=_417||{}; -return this.each(function(){ -var _419=$.data(this,"searchbox"); -if(_419){ -$.extend(_419.options,_417); -}else{ -_419=$.data(this,"searchbox",{options:$.extend({},$.fn.searchbox.defaults,$.fn.searchbox.parseOptions(this),_417),searchbox:init(this)}); -} -_404(this); -_413(this); -_409(this); -_40e(this,_419.options.disabled); -_3fe(this); -}); -}; -$.fn.searchbox.methods={options:function(jq){ -return $.data(jq[0],"searchbox").options; -},menu:function(jq){ -return $.data(jq[0],"searchbox").menu; -},textbox:function(jq){ -return $.data(jq[0],"searchbox").searchbox.find("input.searchbox-text"); -},getValue:function(jq){ -return $.data(jq[0],"searchbox").options.value; -},setValue:function(jq,_41a){ -return jq.each(function(){ -$(this).searchbox("options").value=_41a; -$(this).searchbox("textbox").val(_41a); -$(this).searchbox("textbox").blur(); -}); -},clear:function(jq){ -return jq.each(function(){ -$(this).searchbox("setValue",""); -}); -},reset:function(jq){ -return jq.each(function(){ -var opts=$(this).searchbox("options"); -$(this).searchbox("setValue",opts.originalValue); -}); -},getName:function(jq){ -return $.data(jq[0],"searchbox").searchbox.find("input.searchbox-text").attr("name"); -},selectName:function(jq,name){ -return jq.each(function(){ -var menu=$.data(this,"searchbox").menu; -if(menu){ -menu.children("div.menu-item[name=\""+name+"\"]").triggerHandler("click"); -} -}); -},destroy:function(jq){ -return jq.each(function(){ -var menu=$(this).searchbox("menu"); -if(menu){ -menu.menu("destroy"); -} -$.data(this,"searchbox").searchbox.remove(); -$(this).remove(); -}); -},resize:function(jq,_41b){ -return jq.each(function(){ -_3fe(this,_41b); -}); -},disable:function(jq){ -return jq.each(function(){ -_40e(this,true); -_409(this); -}); -},enable:function(jq){ -return jq.each(function(){ -_40e(this,false); -_409(this); -}); -}}; -$.fn.searchbox.parseOptions=function(_41c){ -var t=$(_41c); -return $.extend({},$.parser.parseOptions(_41c,["width","height","prompt","menu"]),{value:(t.val()||undefined),disabled:(t.attr("disabled")?true:undefined),searcher:(t.attr("searcher")?eval(t.attr("searcher")):undefined)}); -}; -$.fn.searchbox.defaults={width:"auto",height:22,prompt:"",value:"",menu:null,disabled:false,searcher:function(_41d,name){ -}}; -})(jQuery); -(function($){ -function init(_41e){ -$(_41e).addClass("validatebox-text"); -}; -function _41f(_420){ -var _421=$.data(_420,"validatebox"); -_421.validating=false; -if(_421.timer){ -clearTimeout(_421.timer); -} -$(_420).tooltip("destroy"); -$(_420).unbind(); -$(_420).remove(); -}; -function _422(_423){ -var box=$(_423); -var _424=$.data(_423,"validatebox"); -box.unbind(".validatebox"); -if(_424.options.novalidate){ -return; -} -box.bind("focus.validatebox",function(){ -_424.validating=true; -_424.value=undefined; -(function(){ -if(_424.validating){ -if(_424.value!=box.val()){ -_424.value=box.val(); -if(_424.timer){ -clearTimeout(_424.timer); -} -_424.timer=setTimeout(function(){ -$(_423).validatebox("validate"); -},_424.options.delay); -}else{ -_429(_423); -} -setTimeout(arguments.callee,200); -} -})(); -}).bind("blur.validatebox",function(){ -if(_424.timer){ -clearTimeout(_424.timer); -_424.timer=undefined; -} -_424.validating=false; -_425(_423); -}).bind("mouseenter.validatebox",function(){ -if(box.hasClass("validatebox-invalid")){ -_426(_423); -} -}).bind("mouseleave.validatebox",function(){ -if(!_424.validating){ -_425(_423); -} -}); -}; -function _426(_427){ -var _428=$.data(_427,"validatebox"); -var opts=_428.options; -$(_427).tooltip($.extend({},opts.tipOptions,{content:_428.message,position:opts.tipPosition,deltaX:opts.deltaX})).tooltip("show"); -_428.tip=true; -}; -function _429(_42a){ -var _42b=$.data(_42a,"validatebox"); -if(_42b&&_42b.tip){ -$(_42a).tooltip("reposition"); -} -}; -function _425(_42c){ -var _42d=$.data(_42c,"validatebox"); -_42d.tip=false; -$(_42c).tooltip("hide"); -}; -function _42e(_42f){ -var _430=$.data(_42f,"validatebox"); -var opts=_430.options; -var box=$(_42f); -var _431=box.val(); -function _432(msg){ -_430.message=msg; -}; -function _433(_434,_435){ -var _436=/([a-zA-Z_]+)(.*)/.exec(_434); -var rule=opts.rules[_436[1]]; -if(rule&&_431){ -var _437=_435||opts.validParams||eval(_436[2]); -if(!rule["validator"].call(_42f,_431,_437)){ -box.addClass("validatebox-invalid"); -var _438=rule["message"]; -if(_437){ -for(var i=0;i<_437.length;i++){ -_438=_438.replace(new RegExp("\\{"+i+"\\}","g"),_437[i]); -} -} -_432(opts.invalidMessage||_438); -if(_430.validating){ -_426(_42f); -} -return false; -} -} -return true; -}; -box.removeClass("validatebox-invalid"); -_425(_42f); -if(opts.novalidate||box.is(":disabled")){ -return true; -} -if(opts.required){ -if(_431==""){ -box.addClass("validatebox-invalid"); -_432(opts.missingMessage); -if(_430.validating){ -_426(_42f); -} -return false; -} -} -if(opts.validType){ -if($.isArray(opts.validType)){ -for(var i=0;i=_445[0]&&len<=_445[1]; -},message:"Please enter a value between {0} and {1}."},remote:{validator:function(_446,_447){ -var data={}; -data[_447[1]]=_446; -var _448=$.ajax({url:_447[0],dataType:"json",data:data,async:false,cache:false,type:"post"}).responseText; -return _448=="true"; -},message:"Please fix this field."}}}; -})(jQuery); -(function($){ -function _449(_44a,_44b){ -_44b=_44b||{}; -var _44c={}; -if(_44b.onSubmit){ -if(_44b.onSubmit.call(_44a,_44c)==false){ -return; -} -} -var form=$(_44a); -if(_44b.url){ -form.attr("action",_44b.url); -} -var _44d="easyui_frame_"+(new Date().getTime()); -var _44e=$("").attr("src",window.ActiveXObject?"javascript:false":"about:blank").css({position:"absolute",top:-1000,left:-1000}); -var t=form.attr("target"),a=form.attr("action"); -form.attr("target",_44d); -var _44f=$(); -try{ -_44e.appendTo("body"); -_44e.bind("load",cb); -for(var n in _44c){ -var f=$("").val(_44c[n]).appendTo(form); -_44f=_44f.add(f); -} -_450(); -form[0].submit(); -} -finally{ -form.attr("action",a); -t?form.attr("target",t):form.removeAttr("target"); -_44f.remove(); -} -function _450(){ -var f=$("#"+_44d); -if(!f.length){ -return; -} -try{ -var s=f.contents()[0].readyState; -if(s&&s.toLowerCase()=="uninitialized"){ -setTimeout(_450,100); -} -} -catch(e){ -cb(); -} -}; -var _451=10; -function cb(){ -var _452=$("#"+_44d); -if(!_452.length){ -return; -} -_452.unbind(); -var data=""; -try{ -var body=_452.contents().find("body"); -data=body.html(); -if(data==""){ -if(--_451){ -setTimeout(cb,100); -return; -} -} -var ta=body.find(">textarea"); -if(ta.length){ -data=ta.val(); -}else{ -var pre=body.find(">pre"); -if(pre.length){ -data=pre.html(); -} -} -} -catch(e){ -} -if(_44b.success){ -_44b.success(data); -} -setTimeout(function(){ -_452.unbind(); -_452.remove(); -},100); -}; -}; -function load(_453,data){ -if(!$.data(_453,"form")){ -$.data(_453,"form",{options:$.extend({},$.fn.form.defaults)}); -} -var opts=$.data(_453,"form").options; -if(typeof data=="string"){ -var _454={}; -if(opts.onBeforeLoad.call(_453,_454)==false){ -return; -} -$.ajax({url:data,data:_454,dataType:"json",success:function(data){ -_455(data); -},error:function(){ -opts.onLoadError.apply(_453,arguments); -}}); -}else{ -_455(data); -} -function _455(data){ -var form=$(_453); -for(var name in data){ -var val=data[name]; -var rr=_456(name,val); -if(!rr.length){ -var _457=_458(name,val); -if(!_457){ -$("input[name=\""+name+"\"]",form).val(val); -$("textarea[name=\""+name+"\"]",form).val(val); -$("select[name=\""+name+"\"]",form).val(val); -} -} -_459(name,val); -} -opts.onLoadSuccess.call(_453,data); -_460(_453); -}; -function _456(name,val){ -var rr=$(_453).find("input[name=\""+name+"\"][type=radio], input[name=\""+name+"\"][type=checkbox]"); -rr._propAttr("checked",false); -rr.each(function(){ -var f=$(this); -if(f.val()==String(val)||$.inArray(f.val(),$.isArray(val)?val:[val])>=0){ -f._propAttr("checked",true); -} -}); -return rr; -}; -function _458(name,val){ -var _45a=0; -var pp=["numberbox","slider"]; -for(var i=0;i").insertAfter(_472); -var name=$(_472).attr("name"); -if(name){ -v.attr("name",name); -$(_472).removeAttr("name").attr("numberboxName",name); -} -return v; -}; -function _473(_474){ -var opts=$.data(_474,"numberbox").options; -var fn=opts.onChange; -opts.onChange=function(){ -}; -_475(_474,opts.parser.call(_474,opts.value)); -opts.onChange=fn; -opts.originalValue=_476(_474); -}; -function _477(_478,_479){ -var opts=$.data(_478,"numberbox").options; -if(_479){ -opts.width=_479; -} -var t=$(_478); -var _47a=$("
                                      ").insertBefore(t); -t.appendTo("body"); -if(isNaN(opts.width)){ -opts.width=t.outerWidth(); -} -t._outerWidth(opts.width)._outerHeight(opts.height); -t.css("line-height",t.height()+"px"); -t.insertAfter(_47a); -_47a.remove(); -}; -function _476(_47b){ -return $.data(_47b,"numberbox").field.val(); -}; -function _475(_47c,_47d){ -var _47e=$.data(_47c,"numberbox"); -var opts=_47e.options; -var _47f=_476(_47c); -_47d=opts.parser.call(_47c,_47d); -opts.value=_47d; -_47e.field.val(_47d); -$(_47c).val(opts.formatter.call(_47c,_47d)); -if(_47f!=_47d){ -opts.onChange.call(_47c,_47d,_47f); -} -}; -function _480(_481){ -var opts=$.data(_481,"numberbox").options; -$(_481).unbind(".numberbox").bind("keypress.numberbox",function(e){ -return opts.filter.call(_481,e); -}).bind("blur.numberbox",function(){ -_475(_481,$(this).val()); -$(this).val(opts.formatter.call(_481,_476(_481))); -}).bind("focus.numberbox",function(){ -var vv=_476(_481); -if(vv!=opts.parser.call(_481,$(this).val())){ -$(this).val(opts.formatter.call(_481,vv)); -} -}); -}; -function _482(_483){ -if($.fn.validatebox){ -var opts=$.data(_483,"numberbox").options; -$(_483).validatebox(opts); -} -}; -function _484(_485,_486){ -var opts=$.data(_485,"numberbox").options; -if(_486){ -opts.disabled=true; -$(_485).attr("disabled",true); -}else{ -opts.disabled=false; -$(_485).removeAttr("disabled"); -} -}; -$.fn.numberbox=function(_487,_488){ -if(typeof _487=="string"){ -var _489=$.fn.numberbox.methods[_487]; -if(_489){ -return _489(this,_488); -}else{ -return this.validatebox(_487,_488); -} -} -_487=_487||{}; -return this.each(function(){ -var _48a=$.data(this,"numberbox"); -if(_48a){ -$.extend(_48a.options,_487); -}else{ -_48a=$.data(this,"numberbox",{options:$.extend({},$.fn.numberbox.defaults,$.fn.numberbox.parseOptions(this),_487),field:init(this)}); -$(this).removeAttr("disabled"); -$(this).css({imeMode:"disabled"}); -} -_484(this,_48a.options.disabled); -_477(this); -_480(this); -_482(this); -_473(this); -}); -}; -$.fn.numberbox.methods={options:function(jq){ -return $.data(jq[0],"numberbox").options; -},destroy:function(jq){ -return jq.each(function(){ -$.data(this,"numberbox").field.remove(); -$(this).validatebox("destroy"); -$(this).remove(); -}); -},resize:function(jq,_48b){ -return jq.each(function(){ -_477(this,_48b); -}); -},disable:function(jq){ -return jq.each(function(){ -_484(this,true); -}); -},enable:function(jq){ -return jq.each(function(){ -_484(this,false); -}); -},fix:function(jq){ -return jq.each(function(){ -_475(this,$(this).val()); -}); -},setValue:function(jq,_48c){ -return jq.each(function(){ -_475(this,_48c); -}); -},getValue:function(jq){ -return _476(jq[0]); -},clear:function(jq){ -return jq.each(function(){ -var _48d=$.data(this,"numberbox"); -_48d.field.val(""); -$(this).val(""); -}); -},reset:function(jq){ -return jq.each(function(){ -var opts=$(this).numberbox("options"); -$(this).numberbox("setValue",opts.originalValue); -}); -}}; -$.fn.numberbox.parseOptions=function(_48e){ -var t=$(_48e); -return $.extend({},$.fn.validatebox.parseOptions(_48e),$.parser.parseOptions(_48e,["width","height","decimalSeparator","groupSeparator","suffix",{min:"number",max:"number",precision:"number"}]),{prefix:(t.attr("prefix")?t.attr("prefix"):undefined),disabled:(t.attr("disabled")?true:undefined),value:(t.val()||undefined)}); -}; -$.fn.numberbox.defaults=$.extend({},$.fn.validatebox.defaults,{width:"auto",height:22,disabled:false,value:"",min:null,max:null,precision:0,decimalSeparator:".",groupSeparator:"",prefix:"",suffix:"",filter:function(e){ -var opts=$(this).numberbox("options"); -if(e.which==45){ -return ($(this).val().indexOf("-")==-1?true:false); -} -var c=String.fromCharCode(e.which); -if(c==opts.decimalSeparator){ -return ($(this).val().indexOf(c)==-1?true:false); -}else{ -if(c==opts.groupSeparator){ -return true; -}else{ -if((e.which>=48&&e.which<=57&&e.ctrlKey==false&&e.shiftKey==false)||e.which==0||e.which==8){ -return true; -}else{ -if(e.ctrlKey==true&&(e.which==99||e.which==118)){ -return true; -}else{ -return false; -} -} -} -} -},formatter:function(_48f){ -if(!_48f){ -return _48f; -} -_48f=_48f+""; -var opts=$(this).numberbox("options"); -var s1=_48f,s2=""; -var dpos=_48f.indexOf("."); -if(dpos>=0){ -s1=_48f.substring(0,dpos); -s2=_48f.substring(dpos+1,_48f.length); -} -if(opts.groupSeparator){ -var p=/(\d+)(\d{3})/; -while(p.test(s1)){ -s1=s1.replace(p,"$1"+opts.groupSeparator+"$2"); -} -} -if(s2){ -return opts.prefix+s1+opts.decimalSeparator+s2+opts.suffix; -}else{ -return opts.prefix+s1+opts.suffix; -} -},parser:function(s){ -s=s+""; -var opts=$(this).numberbox("options"); -if(parseFloat(s)!=s){ -if(opts.prefix){ -s=$.trim(s.replace(new RegExp("\\"+$.trim(opts.prefix),"g"),"")); -} -if(opts.suffix){ -s=$.trim(s.replace(new RegExp("\\"+$.trim(opts.suffix),"g"),"")); -} -if(opts.groupSeparator){ -s=$.trim(s.replace(new RegExp("\\"+opts.groupSeparator,"g"),"")); -} -if(opts.decimalSeparator){ -s=$.trim(s.replace(new RegExp("\\"+opts.decimalSeparator,"g"),".")); -} -s=s.replace(/\s/g,""); -} -var val=parseFloat(s).toFixed(opts.precision); -if(isNaN(val)){ -val=""; -}else{ -if(typeof (opts.min)=="number"&&valopts.max){ -val=opts.max.toFixed(opts.precision); -} -} -} -return val; -},onChange:function(_490,_491){ -}}); -})(jQuery); -(function($){ -function _492(_493){ -var opts=$.data(_493,"calendar").options; -var t=$(_493); -opts.fit?$.extend(opts,t._fit()):t._fit(false); -var _494=t.find(".calendar-header"); -t._outerWidth(opts.width); -t._outerHeight(opts.height); -t.find(".calendar-body")._outerHeight(t.height()-_494._outerHeight()); -}; -function init(_495){ -$(_495).addClass("calendar").html("
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"Aprial 2010"+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+""+""+""+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "); -$(_495).find(".calendar-title span").hover(function(){ -$(this).addClass("calendar-menu-hover"); -},function(){ -$(this).removeClass("calendar-menu-hover"); -}).click(function(){ -var menu=$(_495).find(".calendar-menu"); -if(menu.is(":visible")){ -menu.hide(); -}else{ -_49c(_495); -} -}); -$(".calendar-prevmonth,.calendar-nextmonth,.calendar-prevyear,.calendar-nextyear",_495).hover(function(){ -$(this).addClass("calendar-nav-hover"); -},function(){ -$(this).removeClass("calendar-nav-hover"); -}); -$(_495).find(".calendar-nextmonth").click(function(){ -_496(_495,1); -}); -$(_495).find(".calendar-prevmonth").click(function(){ -_496(_495,-1); -}); -$(_495).find(".calendar-nextyear").click(function(){ -_499(_495,1); -}); -$(_495).find(".calendar-prevyear").click(function(){ -_499(_495,-1); -}); -$(_495).bind("_resize",function(){ -var opts=$.data(_495,"calendar").options; -if(opts.fit==true){ -_492(_495); -} -return false; -}); -}; -function _496(_497,_498){ -var opts=$.data(_497,"calendar").options; -opts.month+=_498; -if(opts.month>12){ -opts.year++; -opts.month=1; -}else{ -if(opts.month<1){ -opts.year--; -opts.month=12; -} -} -show(_497); -var menu=$(_497).find(".calendar-menu-month-inner"); -menu.find("td.calendar-selected").removeClass("calendar-selected"); -menu.find("td:eq("+(opts.month-1)+")").addClass("calendar-selected"); -}; -function _499(_49a,_49b){ -var opts=$.data(_49a,"calendar").options; -opts.year+=_49b; -show(_49a); -var menu=$(_49a).find(".calendar-menu-year"); -menu.val(opts.year); -}; -function _49c(_49d){ -var opts=$.data(_49d,"calendar").options; -$(_49d).find(".calendar-menu").show(); -if($(_49d).find(".calendar-menu-month-inner").is(":empty")){ -$(_49d).find(".calendar-menu-month-inner").empty(); -var t=$("
                                      ").appendTo($(_49d).find(".calendar-menu-month-inner")); -var idx=0; -for(var i=0;i<3;i++){ -var tr=$("").appendTo(t); -for(var j=0;j<4;j++){ -$("").html(opts.months[idx++]).attr("abbr",idx).appendTo(tr); -} -} -$(_49d).find(".calendar-menu-prev,.calendar-menu-next").hover(function(){ -$(this).addClass("calendar-menu-hover"); -},function(){ -$(this).removeClass("calendar-menu-hover"); -}); -$(_49d).find(".calendar-menu-next").click(function(){ -var y=$(_49d).find(".calendar-menu-year"); -if(!isNaN(y.val())){ -y.val(parseInt(y.val())+1); -_49e(); -} -}); -$(_49d).find(".calendar-menu-prev").click(function(){ -var y=$(_49d).find(".calendar-menu-year"); -if(!isNaN(y.val())){ -y.val(parseInt(y.val()-1)); -_49e(); -} -}); -$(_49d).find(".calendar-menu-year").keypress(function(e){ -if(e.keyCode==13){ -_49e(true); -} -}); -$(_49d).find(".calendar-menu-month").hover(function(){ -$(this).addClass("calendar-menu-hover"); -},function(){ -$(this).removeClass("calendar-menu-hover"); -}).click(function(){ -var menu=$(_49d).find(".calendar-menu"); -menu.find(".calendar-selected").removeClass("calendar-selected"); -$(this).addClass("calendar-selected"); -_49e(true); -}); -} -function _49e(_49f){ -var menu=$(_49d).find(".calendar-menu"); -var year=menu.find(".calendar-menu-year").val(); -var _4a0=menu.find(".calendar-selected").attr("abbr"); -if(!isNaN(year)){ -opts.year=parseInt(year); -opts.month=parseInt(_4a0); -show(_49d); -} -if(_49f){ -menu.hide(); -} -}; -var body=$(_49d).find(".calendar-body"); -var sele=$(_49d).find(".calendar-menu"); -var _4a1=sele.find(".calendar-menu-year-inner"); -var _4a2=sele.find(".calendar-menu-month-inner"); -_4a1.find("input").val(opts.year).focus(); -_4a2.find("td.calendar-selected").removeClass("calendar-selected"); -_4a2.find("td:eq("+(opts.month-1)+")").addClass("calendar-selected"); -sele._outerWidth(body._outerWidth()); -sele._outerHeight(body._outerHeight()); -_4a2._outerHeight(sele.height()-_4a1._outerHeight()); -}; -function _4a3(_4a4,year,_4a5){ -var opts=$.data(_4a4,"calendar").options; -var _4a6=[]; -var _4a7=new Date(year,_4a5,0).getDate(); -for(var i=1;i<=_4a7;i++){ -_4a6.push([year,_4a5,i]); -} -var _4a8=[],week=[]; -var _4a9=-1; -while(_4a6.length>0){ -var date=_4a6.shift(); -week.push(date); -var day=new Date(date[0],date[1]-1,date[2]).getDay(); -if(_4a9==day){ -day=0; -}else{ -if(day==(opts.firstDay==0?7:opts.firstDay)-1){ -_4a8.push(week); -week=[]; -} -} -_4a9=day; -} -if(week.length){ -_4a8.push(week); -} -var _4aa=_4a8[0]; -if(_4aa.length<7){ -while(_4aa.length<7){ -var _4ab=_4aa[0]; -var date=new Date(_4ab[0],_4ab[1]-1,_4ab[2]-1); -_4aa.unshift([date.getFullYear(),date.getMonth()+1,date.getDate()]); -} -}else{ -var _4ab=_4aa[0]; -var week=[]; -for(var i=1;i<=7;i++){ -var date=new Date(_4ab[0],_4ab[1]-1,_4ab[2]-i); -week.unshift([date.getFullYear(),date.getMonth()+1,date.getDate()]); -} -_4a8.unshift(week); -} -var _4ac=_4a8[_4a8.length-1]; -while(_4ac.length<7){ -var _4ad=_4ac[_4ac.length-1]; -var date=new Date(_4ad[0],_4ad[1]-1,_4ad[2]+1); -_4ac.push([date.getFullYear(),date.getMonth()+1,date.getDate()]); -} -if(_4a8.length<6){ -var _4ad=_4ac[_4ac.length-1]; -var week=[]; -for(var i=1;i<=7;i++){ -var date=new Date(_4ad[0],_4ad[1]-1,_4ad[2]+i); -week.push([date.getFullYear(),date.getMonth()+1,date.getDate()]); -} -_4a8.push(week); -} -return _4a8; -}; -function show(_4ae){ -var opts=$.data(_4ae,"calendar").options; -if(opts.current&&!opts.validator.call(_4ae,opts.current)){ -opts.current=null; -} -var now=new Date(); -var _4af=now.getFullYear()+","+(now.getMonth()+1)+","+now.getDate(); -var _4b0=opts.current?(opts.current.getFullYear()+","+(opts.current.getMonth()+1)+","+opts.current.getDate()):""; -var _4b1=6-opts.firstDay; -var _4b2=_4b1+1; -if(_4b1>=7){ -_4b1-=7; -} -if(_4b2>=7){ -_4b2-=7; -} -$(_4ae).find(".calendar-title span").html(opts.months[opts.month-1]+" "+opts.year); -var body=$(_4ae).find("div.calendar-body"); -body.children("table").remove(); -var data=[""]; -data.push(""); -for(var i=opts.firstDay;i"+opts.weeks[i]+""); -} -for(var i=0;i"+opts.weeks[i]+""); -} -data.push(""); -data.push(""); -var _4b3=_4a3(_4ae,opts.year,opts.month); -for(var i=0;i<_4b3.length;i++){ -var week=_4b3[i]; -var cls=""; -if(i==0){ -cls="calendar-first"; -}else{ -if(i==_4b3.length-1){ -cls="calendar-last"; -} -} -data.push(""); -for(var j=0;j"+d+""); -} -data.push(""); -} -data.push(""); -data.push("
                                      "); -body.append(data.join("")); -var t=body.children("table.calendar-dtable").prependTo(body); -t.find("td.calendar-day:not(.calendar-disabled)").hover(function(){ -$(this).addClass("calendar-hover"); -},function(){ -$(this).removeClass("calendar-hover"); -}).click(function(){ -var _4b7=opts.current; -t.find(".calendar-selected").removeClass("calendar-selected"); -$(this).addClass("calendar-selected"); -var _4b8=$(this).attr("abbr").split(","); -opts.current=new Date(_4b8[0],parseInt(_4b8[1])-1,_4b8[2]); -opts.onSelect.call(_4ae,opts.current); -if(!_4b7||_4b7.getTime()!=opts.current.getTime()){ -opts.onChange.call(_4ae,opts.current,_4b7); -} -}); -}; -$.fn.calendar=function(_4b9,_4ba){ -if(typeof _4b9=="string"){ -return $.fn.calendar.methods[_4b9](this,_4ba); -} -_4b9=_4b9||{}; -return this.each(function(){ -var _4bb=$.data(this,"calendar"); -if(_4bb){ -$.extend(_4bb.options,_4b9); -}else{ -_4bb=$.data(this,"calendar",{options:$.extend({},$.fn.calendar.defaults,$.fn.calendar.parseOptions(this),_4b9)}); -init(this); -} -if(_4bb.options.border==false){ -$(this).addClass("calendar-noborder"); -} -_492(this); -show(this); -$(this).find("div.calendar-menu").hide(); -}); -}; -$.fn.calendar.methods={options:function(jq){ -return $.data(jq[0],"calendar").options; -},resize:function(jq){ -return jq.each(function(){ -_492(this); -}); -},moveTo:function(jq,date){ -return jq.each(function(){ -var opts=$(this).calendar("options"); -if(opts.validator.call(this,date)){ -var _4bc=opts.current; -$(this).calendar({year:date.getFullYear(),month:date.getMonth()+1,current:date}); -if(!_4bc||_4bc.getTime()!=date.getTime()){ -opts.onChange.call(this,opts.current,_4bc); -} -} -}); -}}; -$.fn.calendar.parseOptions=function(_4bd){ -var t=$(_4bd); -return $.extend({},$.parser.parseOptions(_4bd,["width","height",{firstDay:"number",fit:"boolean",border:"boolean"}])); -}; -$.fn.calendar.defaults={width:180,height:180,fit:false,border:true,firstDay:0,weeks:["S","M","T","W","T","F","S"],months:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],year:new Date().getFullYear(),month:new Date().getMonth()+1,current:(function(){ -var d=new Date(); -return new Date(d.getFullYear(),d.getMonth(),d.getDate()); -})(),formatter:function(date){ -return date.getDate(); -},styler:function(date){ -return ""; -},validator:function(date){ -return true; -},onSelect:function(date){ -},onChange:function(_4be,_4bf){ -}}; -})(jQuery); -(function($){ -function init(_4c0){ -var _4c1=$(""+""+""+""+""+"").insertAfter(_4c0); -$(_4c0).addClass("spinner-text spinner-f").prependTo(_4c1); -return _4c1; -}; -function _4c2(_4c3,_4c4){ -var opts=$.data(_4c3,"spinner").options; -var _4c5=$.data(_4c3,"spinner").spinner; -if(_4c4){ -opts.width=_4c4; -} -var _4c6=$("
                                      ").insertBefore(_4c5); -_4c5.appendTo("body"); -if(isNaN(opts.width)){ -opts.width=$(_4c3).outerWidth(); -} -var _4c7=_4c5.find(".spinner-arrow"); -_4c5._outerWidth(opts.width)._outerHeight(opts.height); -$(_4c3)._outerWidth(_4c5.width()-_4c7.outerWidth()); -$(_4c3).css({height:_4c5.height()+"px",lineHeight:_4c5.height()+"px"}); -_4c7._outerHeight(_4c5.height()); -_4c7.find("span")._outerHeight(_4c7.height()/2); -_4c5.insertAfter(_4c6); -_4c6.remove(); -}; -function _4c8(_4c9){ -var opts=$.data(_4c9,"spinner").options; -var _4ca=$.data(_4c9,"spinner").spinner; -$(_4c9).unbind(".spinner"); -_4ca.find(".spinner-arrow-up,.spinner-arrow-down").unbind(".spinner"); -if(!opts.disabled&&!opts.readonly){ -_4ca.find(".spinner-arrow-up").bind("mouseenter.spinner",function(){ -$(this).addClass("spinner-arrow-hover"); -}).bind("mouseleave.spinner",function(){ -$(this).removeClass("spinner-arrow-hover"); -}).bind("click.spinner",function(){ -opts.spin.call(_4c9,false); -opts.onSpinUp.call(_4c9); -$(_4c9).validatebox("validate"); -}); -_4ca.find(".spinner-arrow-down").bind("mouseenter.spinner",function(){ -$(this).addClass("spinner-arrow-hover"); -}).bind("mouseleave.spinner",function(){ -$(this).removeClass("spinner-arrow-hover"); -}).bind("click.spinner",function(){ -opts.spin.call(_4c9,true); -opts.onSpinDown.call(_4c9); -$(_4c9).validatebox("validate"); -}); -$(_4c9).bind("change.spinner",function(){ -$(this).spinner("setValue",$(this).val()); -}); -} -}; -function _4cb(_4cc,_4cd){ -var opts=$.data(_4cc,"spinner").options; -if(_4cd){ -opts.disabled=true; -$(_4cc).attr("disabled",true); -}else{ -opts.disabled=false; -$(_4cc).removeAttr("disabled"); -} -}; -function _4ce(_4cf,mode){ -var _4d0=$.data(_4cf,"spinner"); -var opts=_4d0.options; -opts.readonly=mode==undefined?true:mode; -var _4d1=opts.readonly?true:(!opts.editable); -$(_4cf).attr("readonly",_4d1).css("cursor",_4d1?"pointer":""); -}; -$.fn.spinner=function(_4d2,_4d3){ -if(typeof _4d2=="string"){ -var _4d4=$.fn.spinner.methods[_4d2]; -if(_4d4){ -return _4d4(this,_4d3); -}else{ -return this.validatebox(_4d2,_4d3); -} -} -_4d2=_4d2||{}; -return this.each(function(){ -var _4d5=$.data(this,"spinner"); -if(_4d5){ -$.extend(_4d5.options,_4d2); -}else{ -_4d5=$.data(this,"spinner",{options:$.extend({},$.fn.spinner.defaults,$.fn.spinner.parseOptions(this),_4d2),spinner:init(this)}); -$(this).removeAttr("disabled"); -} -_4d5.options.originalValue=_4d5.options.value; -$(this).val(_4d5.options.value); -_4cb(this,_4d5.options.disabled); -_4ce(this,_4d5.options.readonly); -_4c2(this); -$(this).validatebox(_4d5.options); -_4c8(this); -}); -}; -$.fn.spinner.methods={options:function(jq){ -var opts=$.data(jq[0],"spinner").options; -return $.extend(opts,{value:jq.val()}); -},destroy:function(jq){ -return jq.each(function(){ -var _4d6=$.data(this,"spinner").spinner; -$(this).validatebox("destroy"); -_4d6.remove(); -}); -},resize:function(jq,_4d7){ -return jq.each(function(){ -_4c2(this,_4d7); -}); -},enable:function(jq){ -return jq.each(function(){ -_4cb(this,false); -_4c8(this); -}); -},disable:function(jq){ -return jq.each(function(){ -_4cb(this,true); -_4c8(this); -}); -},readonly:function(jq,mode){ -return jq.each(function(){ -_4ce(this,mode); -_4c8(this); -}); -},getValue:function(jq){ -return jq.val(); -},setValue:function(jq,_4d8){ -return jq.each(function(){ -var opts=$.data(this,"spinner").options; -var _4d9=opts.value; -opts.value=_4d8; -$(this).val(_4d8); -if(_4d9!=_4d8){ -opts.onChange.call(this,_4d8,_4d9); -} -}); -},clear:function(jq){ -return jq.each(function(){ -var opts=$.data(this,"spinner").options; -opts.value=""; -$(this).val(""); -}); -},reset:function(jq){ -return jq.each(function(){ -var opts=$(this).spinner("options"); -$(this).spinner("setValue",opts.originalValue); -}); -}}; -$.fn.spinner.parseOptions=function(_4da){ -var t=$(_4da); -return $.extend({},$.fn.validatebox.parseOptions(_4da),$.parser.parseOptions(_4da,["width","height","min","max",{increment:"number",editable:"boolean"}]),{value:(t.val()||undefined),disabled:(t.attr("disabled")?true:undefined),readonly:(t.attr("readonly")?true:undefined)}); -}; -$.fn.spinner.defaults=$.extend({},$.fn.validatebox.defaults,{width:"auto",height:22,deltaX:19,value:"",min:null,max:null,increment:1,editable:true,disabled:false,readonly:false,spin:function(down){ -},onSpinUp:function(){ -},onSpinDown:function(){ -},onChange:function(_4db,_4dc){ -}}); -})(jQuery); -(function($){ -function _4dd(_4de){ -$(_4de).addClass("numberspinner-f"); -var opts=$.data(_4de,"numberspinner").options; -$(_4de).spinner(opts).numberbox($.extend({},opts,{width:"auto"})); -}; -function _4df(_4e0,down){ -var opts=$.data(_4e0,"numberspinner").options; -var v=parseFloat($(_4e0).numberbox("getValue")||opts.value)||0; -if(down==true){ -v-=opts.increment; -}else{ -v+=opts.increment; -} -$(_4e0).numberbox("setValue",v); -}; -$.fn.numberspinner=function(_4e1,_4e2){ -if(typeof _4e1=="string"){ -var _4e3=$.fn.numberspinner.methods[_4e1]; -if(_4e3){ -return _4e3(this,_4e2); -}else{ -return this.spinner(_4e1,_4e2); -} -} -_4e1=_4e1||{}; -return this.each(function(){ -var _4e4=$.data(this,"numberspinner"); -if(_4e4){ -$.extend(_4e4.options,_4e1); -}else{ -$.data(this,"numberspinner",{options:$.extend({},$.fn.numberspinner.defaults,$.fn.numberspinner.parseOptions(this),_4e1)}); -} -_4dd(this); -}); -}; -$.fn.numberspinner.methods={options:function(jq){ -var opts=$.data(jq[0],"numberspinner").options; -return $.extend(opts,{value:jq.numberbox("getValue"),originalValue:jq.numberbox("options").originalValue}); -},setValue:function(jq,_4e5){ -return jq.each(function(){ -$(this).numberbox("setValue",_4e5); -}); -},getValue:function(jq){ -return jq.numberbox("getValue"); -},clear:function(jq){ -return jq.each(function(){ -$(this).spinner("clear"); -$(this).numberbox("clear"); -}); -},reset:function(jq){ -return jq.each(function(){ -var opts=$(this).numberspinner("options"); -$(this).numberspinner("setValue",opts.originalValue); -}); -}}; -$.fn.numberspinner.parseOptions=function(_4e6){ -return $.extend({},$.fn.spinner.parseOptions(_4e6),$.fn.numberbox.parseOptions(_4e6),{}); -}; -$.fn.numberspinner.defaults=$.extend({},$.fn.spinner.defaults,$.fn.numberbox.defaults,{spin:function(down){ -_4df(this,down); -}}); -})(jQuery); -(function($){ -function _4e7(_4e8){ -var opts=$.data(_4e8,"timespinner").options; -$(_4e8).addClass("timespinner-f"); -$(_4e8).spinner(opts); -$(_4e8).unbind(".timespinner"); -$(_4e8).bind("click.timespinner",function(){ -var _4e9=0; -if(this.selectionStart!=null){ -_4e9=this.selectionStart; -}else{ -if(this.createTextRange){ -var _4ea=_4e8.createTextRange(); -var s=document.selection.createRange(); -s.setEndPoint("StartToStart",_4ea); -_4e9=s.text.length; -} -} -if(_4e9>=0&&_4e9<=2){ -opts.highlight=0; -}else{ -if(_4e9>=3&&_4e9<=5){ -opts.highlight=1; -}else{ -if(_4e9>=6&&_4e9<=8){ -opts.highlight=2; -} -} -} -_4ec(_4e8); -}).bind("blur.timespinner",function(){ -_4eb(_4e8); -}); -}; -function _4ec(_4ed){ -var opts=$.data(_4ed,"timespinner").options; -var _4ee=0,end=0; -if(opts.highlight==0){ -_4ee=0; -end=2; -}else{ -if(opts.highlight==1){ -_4ee=3; -end=5; -}else{ -if(opts.highlight==2){ -_4ee=6; -end=8; -} -} -} -if(_4ed.selectionStart!=null){ -_4ed.setSelectionRange(_4ee,end); -}else{ -if(_4ed.createTextRange){ -var _4ef=_4ed.createTextRange(); -_4ef.collapse(); -_4ef.moveEnd("character",end); -_4ef.moveStart("character",_4ee); -_4ef.select(); -} -} -$(_4ed).focus(); -}; -function _4f0(_4f1,_4f2){ -var opts=$.data(_4f1,"timespinner").options; -if(!_4f2){ -return null; -} -var vv=_4f2.split(opts.separator); -for(var i=0;itime){ -time=_4f5; -} -if(_4f6&&_4f6"]; -for(var i=0;i<_50b.length;i++){ -_50a.cache[_50b[i][0]]={width:_50b[i][1]}; -} -var _50c=0; -for(var s in _50a.cache){ -var item=_50a.cache[s]; -item.index=_50c++; -ss.push(s+"{width:"+item.width+"}"); -} -ss.push(""); -$(ss.join("\n")).appendTo(cc); -cc.children("style[easyui]:not(:last)").remove(); -},getRule:function(_50d){ -var _50e=cc.children("style[easyui]:last")[0]; -var _50f=_50e.styleSheet?_50e.styleSheet:(_50e.sheet||document.styleSheets[document.styleSheets.length-1]); -var _510=_50f.cssRules||_50f.rules; -return _510[_50d]; -},set:function(_511,_512){ -var item=_50a.cache[_511]; -if(item){ -item.width=_512; -var rule=this.getRule(item.index); -if(rule){ -rule.style["width"]=_512; -} -} -},remove:function(_513){ -var tmp=[]; -for(var s in _50a.cache){ -if(s.indexOf(_513)==-1){ -tmp.push([s,_50a.cache[s].width]); -} -} -_50a.cache={}; -this.add(tmp); -},dirty:function(_514){ -if(_514){ -_50a.dirty.push(_514); -} -},clean:function(){ -for(var i=0;i<_50a.dirty.length;i++){ -this.remove(_50a.dirty[i]); -} -_50a.dirty=[]; -}}; -}; -function _515(_516,_517){ -var opts=$.data(_516,"datagrid").options; -var _518=$.data(_516,"datagrid").panel; -if(_517){ -if(_517.width){ -opts.width=_517.width; -} -if(_517.height){ -opts.height=_517.height; -} -} -if(opts.fit==true){ -var p=_518.panel("panel").parent(); -opts.width=p.width(); -opts.height=p.height(); -} -_518.panel("resize",{width:opts.width,height:opts.height}); -}; -function _519(_51a){ -var opts=$.data(_51a,"datagrid").options; -var dc=$.data(_51a,"datagrid").dc; -var wrap=$.data(_51a,"datagrid").panel; -var _51b=wrap.width(); -var _51c=wrap.height(); -var view=dc.view; -var _51d=dc.view1; -var _51e=dc.view2; -var _51f=_51d.children("div.datagrid-header"); -var _520=_51e.children("div.datagrid-header"); -var _521=_51f.find("table"); -var _522=_520.find("table"); -view.width(_51b); -var _523=_51f.children("div.datagrid-header-inner").show(); -_51d.width(_523.find("table").width()); -if(!opts.showHeader){ -_523.hide(); -} -_51e.width(_51b-_51d._outerWidth()); -_51d.children("div.datagrid-header,div.datagrid-body,div.datagrid-footer").width(_51d.width()); -_51e.children("div.datagrid-header,div.datagrid-body,div.datagrid-footer").width(_51e.width()); -var hh; -_51f.css("height",""); -_520.css("height",""); -_521.css("height",""); -_522.css("height",""); -hh=Math.max(_521.height(),_522.height()); -_521.height(hh); -_522.height(hh); -_51f.add(_520)._outerHeight(hh); -if(opts.height!="auto"){ -var _524=_51c-_51e.children("div.datagrid-header")._outerHeight()-_51e.children("div.datagrid-footer")._outerHeight()-wrap.children("div.datagrid-toolbar")._outerHeight(); -wrap.children("div.datagrid-pager").each(function(){ -_524-=$(this)._outerHeight(); -}); -dc.body1.add(dc.body2).children("table.datagrid-btable-frozen").css({position:"absolute",top:dc.header2._outerHeight()}); -var _525=dc.body2.children("table.datagrid-btable-frozen")._outerHeight(); -_51d.add(_51e).children("div.datagrid-body").css({marginTop:_525,height:(_524-_525)}); -} -view.height(_51e.height()); -}; -function _526(_527,_528,_529){ -var rows=$.data(_527,"datagrid").data.rows; -var opts=$.data(_527,"datagrid").options; -var dc=$.data(_527,"datagrid").dc; -if(!dc.body1.is(":empty")&&(!opts.nowrap||opts.autoRowHeight||_529)){ -if(_528!=undefined){ -var tr1=opts.finder.getTr(_527,_528,"body",1); -var tr2=opts.finder.getTr(_527,_528,"body",2); -_52a(tr1,tr2); -}else{ -var tr1=opts.finder.getTr(_527,0,"allbody",1); -var tr2=opts.finder.getTr(_527,0,"allbody",2); -_52a(tr1,tr2); -if(opts.showFooter){ -var tr1=opts.finder.getTr(_527,0,"allfooter",1); -var tr2=opts.finder.getTr(_527,0,"allfooter",2); -_52a(tr1,tr2); -} -} -} -_519(_527); -if(opts.height=="auto"){ -var _52b=dc.body1.parent(); -var _52c=dc.body2; -var _52d=_52e(_52c); -var _52f=_52d.height; -if(_52d.width>_52c.width()){ -_52f+=18; -} -_52b.height(_52f); -_52c.height(_52f); -dc.view.height(dc.view2.height()); -} -dc.body2.triggerHandler("scroll"); -function _52a(trs1,trs2){ -for(var i=0;i"); -} -_537(true); -_537(false); -_519(_534); -function _537(_538){ -var _539=_538?1:2; -var tr=opts.finder.getTr(_534,_535,"body",_539); -(_538?dc.body1:dc.body2).children("table.datagrid-btable-frozen").append(tr); -}; -}; -function _53a(_53b,_53c){ -function _53d(){ -var _53e=[]; -var _53f=[]; -$(_53b).children("thead").each(function(){ -var opt=$.parser.parseOptions(this,[{frozen:"boolean"}]); -$(this).find("tr").each(function(){ -var cols=[]; -$(this).find("th").each(function(){ -var th=$(this); -var col=$.extend({},$.parser.parseOptions(this,["field","align","halign","order",{sortable:"boolean",checkbox:"boolean",resizable:"boolean",fixed:"boolean"},{rowspan:"number",colspan:"number",width:"number"}]),{title:(th.html()||undefined),hidden:(th.attr("hidden")?true:undefined),formatter:(th.attr("formatter")?eval(th.attr("formatter")):undefined),styler:(th.attr("styler")?eval(th.attr("styler")):undefined),sorter:(th.attr("sorter")?eval(th.attr("sorter")):undefined)}); -if(th.attr("editor")){ -var s=$.trim(th.attr("editor")); -if(s.substr(0,1)=="{"){ -col.editor=eval("("+s+")"); -}else{ -col.editor=s; -} -} -cols.push(col); -}); -opt.frozen?_53e.push(cols):_53f.push(cols); -}); -}); -return [_53e,_53f]; -}; -var _540=$("
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+""+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+"
                                      "+""+"
                                      "+"
                                      "+"
                                      "+"
                                      ").insertAfter(_53b); -_540.panel({doSize:false}); -_540.panel("panel").addClass("datagrid").bind("_resize",function(e,_541){ -var opts=$.data(_53b,"datagrid").options; -if(opts.fit==true||_541){ -_515(_53b); -setTimeout(function(){ -if($.data(_53b,"datagrid")){ -_542(_53b); -} -},0); -} -return false; -}); -$(_53b).hide().appendTo(_540.children("div.datagrid-view")); -var cc=_53d(); -var view=_540.children("div.datagrid-view"); -var _543=view.children("div.datagrid-view1"); -var _544=view.children("div.datagrid-view2"); -return {panel:_540,frozenColumns:cc[0],columns:cc[1],dc:{view:view,view1:_543,view2:_544,header1:_543.children("div.datagrid-header").children("div.datagrid-header-inner"),header2:_544.children("div.datagrid-header").children("div.datagrid-header-inner"),body1:_543.children("div.datagrid-body").children("div.datagrid-body-inner"),body2:_544.children("div.datagrid-body"),footer1:_543.children("div.datagrid-footer").children("div.datagrid-footer-inner"),footer2:_544.children("div.datagrid-footer").children("div.datagrid-footer-inner")}}; -}; -function _545(_546){ -var _547=$.data(_546,"datagrid"); -var opts=_547.options; -var dc=_547.dc; -var _548=_547.panel; -_547.ss=$(_546).datagrid("createStyleSheet"); -_548.panel($.extend({},opts,{id:null,doSize:false,onResize:function(_549,_54a){ -setTimeout(function(){ -if($.data(_546,"datagrid")){ -_519(_546); -_579(_546); -opts.onResize.call(_548,_549,_54a); -} -},0); -},onExpand:function(){ -_526(_546); -opts.onExpand.call(_548); -}})); -_547.rowIdPrefix="datagrid-row-r"+(++_501); -_547.cellClassPrefix="datagrid-cell-c"+_501; -_54b(dc.header1,opts.frozenColumns,true); -_54b(dc.header2,opts.columns,false); -_54c(); -dc.header1.add(dc.header2).css("display",opts.showHeader?"block":"none"); -dc.footer1.add(dc.footer2).css("display",opts.showFooter?"block":"none"); -if(opts.toolbar){ -if($.isArray(opts.toolbar)){ -$("div.datagrid-toolbar",_548).remove(); -var tb=$("
                                      ").prependTo(_548); -var tr=tb.find("tr"); -for(var i=0;i
                                      ").appendTo(tr); -}else{ -var td=$("").appendTo(tr); -var tool=$("").appendTo(td); -tool[0].onclick=eval(btn.handler||function(){ -}); -tool.linkbutton($.extend({},btn,{plain:true})); -} -} -}else{ -$(opts.toolbar).addClass("datagrid-toolbar").prependTo(_548); -$(opts.toolbar).show(); -} -}else{ -$("div.datagrid-toolbar",_548).remove(); -} -$("div.datagrid-pager",_548).remove(); -if(opts.pagination){ -var _54d=$("
                                      "); -if(opts.pagePosition=="bottom"){ -_54d.appendTo(_548); -}else{ -if(opts.pagePosition=="top"){ -_54d.addClass("datagrid-pager-top").prependTo(_548); -}else{ -var ptop=$("
                                      ").prependTo(_548); -_54d.appendTo(_548); -_54d=_54d.add(ptop); -} -} -_54d.pagination({total:(opts.pageNumber*opts.pageSize),pageNumber:opts.pageNumber,pageSize:opts.pageSize,pageList:opts.pageList,onSelectPage:function(_54e,_54f){ -opts.pageNumber=_54e; -opts.pageSize=_54f; -_54d.pagination("refresh",{pageNumber:_54e,pageSize:_54f}); -_577(_546); -}}); -opts.pageSize=_54d.pagination("options").pageSize; -} -function _54b(_550,_551,_552){ -if(!_551){ -return; -} -$(_550).show(); -$(_550).empty(); -var _553=[]; -var _554=[]; -if(opts.sortName){ -_553=opts.sortName.split(","); -_554=opts.sortOrder.split(","); -} -var t=$("
                                      ").appendTo(_550); -for(var i=0;i<_551.length;i++){ -var tr=$("").appendTo($("tbody",t)); -var cols=_551[i]; -for(var j=0;j").appendTo(tr); -if(col.checkbox){ -td.attr("field",col.field); -$("
                                      ").html("").appendTo(td); -}else{ -if(col.field){ -td.attr("field",col.field); -td.append("
                                      "); -$("span",td).html(col.title); -$("span.datagrid-sort-icon",td).html(" "); -var cell=td.find("div.datagrid-cell"); -var pos=_502(_553,col.field); -if(pos>=0){ -cell.addClass("datagrid-sort-"+_554[pos]); -} -if(col.resizable==false){ -cell.attr("resizable","false"); -} -if(col.width){ -cell._outerWidth(col.width); -col.boxWidth=parseInt(cell[0].style.width); -}else{ -col.auto=true; -} -cell.css("text-align",(col.halign||col.align||"")); -col.cellClass=_547.cellClassPrefix+"-"+col.field.replace(/[\.|\s]/g,"-"); -cell.addClass(col.cellClass).css("width",""); -}else{ -$("
                                      ").html(col.title).appendTo(td); -} -} -if(col.hidden){ -td.hide(); -} -} -} -if(_552&&opts.rownumbers){ -var td=$("
                                      "); -if($("tr",t).length==0){ -td.wrap("").parent().appendTo($("tbody",t)); -}else{ -td.prependTo($("tr:first",t)); -} -} -}; -function _54c(){ -var _555=[]; -var _556=_557(_546,true).concat(_557(_546)); -for(var i=0;i<_556.length;i++){ -var col=_558(_546,_556[i]); -if(col&&!col.checkbox){ -_555.push(["."+col.cellClass,col.boxWidth?col.boxWidth+"px":"auto"]); -} -} -_547.ss.add(_555); -_547.ss.dirty(_547.cellSelectorPrefix); -_547.cellSelectorPrefix="."+_547.cellClassPrefix; -}; -}; -function _559(_55a){ -var _55b=$.data(_55a,"datagrid"); -var _55c=_55b.panel; -var opts=_55b.options; -var dc=_55b.dc; -var _55d=dc.header1.add(dc.header2); -_55d.find("input[type=checkbox]").unbind(".datagrid").bind("click.datagrid",function(e){ -if(opts.singleSelect&&opts.selectOnCheck){ -return false; -} -if($(this).is(":checked")){ -_5df(_55a); -}else{ -_5e5(_55a); -} -e.stopPropagation(); -}); -var _55e=_55d.find("div.datagrid-cell"); -_55e.closest("td").unbind(".datagrid").bind("mouseenter.datagrid",function(){ -if(_55b.resizing){ -return; -} -$(this).addClass("datagrid-header-over"); -}).bind("mouseleave.datagrid",function(){ -$(this).removeClass("datagrid-header-over"); -}).bind("contextmenu.datagrid",function(e){ -var _55f=$(this).attr("field"); -opts.onHeaderContextMenu.call(_55a,e,_55f); -}); -_55e.unbind(".datagrid").bind("click.datagrid",function(e){ -var p1=$(this).offset().left+5; -var p2=$(this).offset().left+$(this)._outerWidth()-5; -if(e.pageXp1){ -_56c(_55a,$(this).parent().attr("field")); -} -}).bind("dblclick.datagrid",function(e){ -var p1=$(this).offset().left+5; -var p2=$(this).offset().left+$(this)._outerWidth()-5; -var cond=opts.resizeHandle=="right"?(e.pageX>p2):(opts.resizeHandle=="left"?(e.pageXp2)); -if(cond){ -var _560=$(this).parent().attr("field"); -var col=_558(_55a,_560); -if(col.resizable==false){ -return; -} -$(_55a).datagrid("autoSizeColumn",_560); -col.auto=false; -} -}); -var _561=opts.resizeHandle=="right"?"e":(opts.resizeHandle=="left"?"w":"e,w"); -_55e.each(function(){ -$(this).resizable({handles:_561,disabled:($(this).attr("resizable")?$(this).attr("resizable")=="false":false),minWidth:25,onStartResize:function(e){ -_55b.resizing=true; -_55d.css("cursor",$("body").css("cursor")); -if(!_55b.proxy){ -_55b.proxy=$("
                                      ").appendTo(dc.view); -} -_55b.proxy.css({left:e.pageX-$(_55c).offset().left-1,display:"none"}); -setTimeout(function(){ -if(_55b.proxy){ -_55b.proxy.show(); -} -},500); -},onResize:function(e){ -_55b.proxy.css({left:e.pageX-$(_55c).offset().left-1,display:"block"}); -return false; -},onStopResize:function(e){ -_55d.css("cursor",""); -$(this).css("height",""); -$(this)._outerWidth($(this)._outerWidth()); -var _562=$(this).parent().attr("field"); -var col=_558(_55a,_562); -col.width=$(this)._outerWidth(); -col.boxWidth=parseInt(this.style.width); -col.auto=undefined; -$(this).css("width",""); -_542(_55a,_562); -_55b.proxy.remove(); -_55b.proxy=null; -if($(this).parents("div:first.datagrid-header").parent().hasClass("datagrid-view1")){ -_519(_55a); -} -_579(_55a); -opts.onResizeColumn.call(_55a,_562,col.width); -setTimeout(function(){ -_55b.resizing=false; -},0); -}}); -}); -dc.body1.add(dc.body2).unbind().bind("mouseover",function(e){ -if(_55b.resizing){ -return; -} -var tr=$(e.target).closest("tr.datagrid-row"); -if(!_563(tr)){ -return; -} -var _564=_565(tr); -_5c7(_55a,_564); -e.stopPropagation(); -}).bind("mouseout",function(e){ -var tr=$(e.target).closest("tr.datagrid-row"); -if(!_563(tr)){ -return; -} -var _566=_565(tr); -opts.finder.getTr(_55a,_566).removeClass("datagrid-row-over"); -e.stopPropagation(); -}).bind("click",function(e){ -var tt=$(e.target); -var tr=tt.closest("tr.datagrid-row"); -if(!_563(tr)){ -return; -} -var _567=_565(tr); -if(tt.parent().hasClass("datagrid-cell-check")){ -if(opts.singleSelect&&opts.selectOnCheck){ -if(!opts.checkOnSelect){ -_5e5(_55a,true); -} -_5d2(_55a,_567); -}else{ -if(tt.is(":checked")){ -_5d2(_55a,_567); -}else{ -_5d9(_55a,_567); -} -} -}else{ -var row=opts.finder.getRow(_55a,_567); -var td=tt.closest("td[field]",tr); -if(td.length){ -var _568=td.attr("field"); -opts.onClickCell.call(_55a,_567,_568,row[_568]); -} -if(opts.singleSelect==true){ -_5cb(_55a,_567); -}else{ -if(opts.ctrlSelect){ -if(e.ctrlKey){ -if(tr.hasClass("datagrid-row-selected")){ -_5d3(_55a,_567); -}else{ -_5cb(_55a,_567); -} -}else{ -$(_55a).datagrid("clearSelections"); -_5cb(_55a,_567); -} -}else{ -if(tr.hasClass("datagrid-row-selected")){ -_5d3(_55a,_567); -}else{ -_5cb(_55a,_567); -} -} -} -opts.onClickRow.call(_55a,_567,row); -} -e.stopPropagation(); -}).bind("dblclick",function(e){ -var tt=$(e.target); -var tr=tt.closest("tr.datagrid-row"); -if(!_563(tr)){ -return; -} -var _569=_565(tr); -var row=opts.finder.getRow(_55a,_569); -var td=tt.closest("td[field]",tr); -if(td.length){ -var _56a=td.attr("field"); -opts.onDblClickCell.call(_55a,_569,_56a,row[_56a]); -} -opts.onDblClickRow.call(_55a,_569,row); -e.stopPropagation(); -}).bind("contextmenu",function(e){ -var tr=$(e.target).closest("tr.datagrid-row"); -if(!_563(tr)){ -return; -} -var _56b=_565(tr); -var row=opts.finder.getRow(_55a,_56b); -opts.onRowContextMenu.call(_55a,e,_56b,row); -e.stopPropagation(); -}); -dc.body2.bind("scroll",function(){ -var b1=dc.view1.children("div.datagrid-body"); -b1.scrollTop($(this).scrollTop()); -var c1=dc.body1.children(":first"); -var c2=dc.body2.children(":first"); -if(c1.length&&c2.length){ -var top1=c1.offset().top; -var top2=c2.offset().top; -if(top1!=top2){ -b1.scrollTop(b1.scrollTop()+top1-top2); -} -} -dc.view2.children("div.datagrid-header,div.datagrid-footer")._scrollLeft($(this)._scrollLeft()); -dc.body2.children("table.datagrid-btable-frozen").css("left",-$(this)._scrollLeft()); -}); -function _565(tr){ -if(tr.attr("datagrid-row-index")){ -return parseInt(tr.attr("datagrid-row-index")); -}else{ -return tr.attr("node-id"); -} -}; -function _563(tr){ -return tr.length&&tr.parent().length; -}; -}; -function _56c(_56d,_56e){ -var _56f=$.data(_56d,"datagrid"); -var opts=_56f.options; -_56e=_56e||{}; -var _570={sortName:opts.sortName,sortOrder:opts.sortOrder}; -if(typeof _56e=="object"){ -$.extend(_570,_56e); -} -var _571=[]; -var _572=[]; -if(_570.sortName){ -_571=_570.sortName.split(","); -_572=_570.sortOrder.split(","); -} -if(typeof _56e=="string"){ -var _573=_56e; -var col=_558(_56d,_573); -if(!col.sortable||_56f.resizing){ -return; -} -var _574=col.order||"asc"; -var pos=_502(_571,_573); -if(pos>=0){ -var _575=_572[pos]=="asc"?"desc":"asc"; -if(opts.multiSort&&_575==_574){ -_571.splice(pos,1); -_572.splice(pos,1); -}else{ -_572[pos]=_575; -} -}else{ -if(opts.multiSort){ -_571.push(_573); -_572.push(_574); -}else{ -_571=[_573]; -_572=[_574]; -} -} -_570.sortName=_571.join(","); -_570.sortOrder=_572.join(","); -} -if(opts.onBeforeSortColumn.call(_56d,_570.sortName,_570.sortOrder)==false){ -return; -} -$.extend(opts,_570); -var dc=_56f.dc; -var _576=dc.header1.add(dc.header2); -_576.find("div.datagrid-cell").removeClass("datagrid-sort-asc datagrid-sort-desc"); -for(var i=0;i<_571.length;i++){ -var col=_558(_56d,_571[i]); -_576.find("div."+col.cellClass).addClass("datagrid-sort-"+_572[i]); -} -if(opts.remoteSort){ -_577(_56d); -}else{ -_578(_56d,$(_56d).datagrid("getData")); -} -opts.onSortColumn.call(_56d,opts.sortName,opts.sortOrder); -}; -function _579(_57a){ -var _57b=$.data(_57a,"datagrid"); -var opts=_57b.options; -var dc=_57b.dc; -dc.body2.css("overflow-x",""); -if(!opts.fitColumns){ -return; -} -if(!_57b.leftWidth){ -_57b.leftWidth=0; -} -var _57c=dc.view2.children("div.datagrid-header"); -var _57d=0; -var _57e; -var _57f=_557(_57a,false); -for(var i=0;i<_57f.length;i++){ -var col=_558(_57a,_57f[i]); -if(_580(col)){ -_57d+=col.width; -_57e=col; -} -} -if(!_57d){ -return; -} -if(_57e){ -_581(_57e,-_57b.leftWidth); -} -var _582=_57c.children("div.datagrid-header-inner").show(); -var _583=_57c.width()-_57c.find("table").width()-opts.scrollbarSize+_57b.leftWidth; -var rate=_583/_57d; -if(!opts.showHeader){ -_582.hide(); -} -for(var i=0;i<_57f.length;i++){ -var col=_558(_57a,_57f[i]); -if(_580(col)){ -var _584=parseInt(col.width*rate); -_581(col,_584); -_583-=_584; -} -} -_57b.leftWidth=_583; -if(_57e){ -_581(_57e,_57b.leftWidth); -} -_542(_57a); -if(_57c.width()>=_57c.find("table").width()){ -dc.body2.css("overflow-x","hidden"); -} -function _581(col,_585){ -if(col.width+_585>0){ -col.width+=_585; -col.boxWidth+=_585; -} -}; -function _580(col){ -if(!col.hidden&&!col.checkbox&&!col.auto&&!col.fixed){ -return true; -} -}; -}; -function _586(_587,_588){ -var _589=$.data(_587,"datagrid"); -var opts=_589.options; -var dc=_589.dc; -var tmp=$("
                                      ").appendTo("body"); -if(_588){ -_515(_588); -if(opts.fitColumns){ -_519(_587); -_579(_587); -} -}else{ -var _58a=false; -var _58b=_557(_587,true).concat(_557(_587,false)); -for(var i=0;i<_58b.length;i++){ -var _588=_58b[i]; -var col=_558(_587,_588); -if(col.auto){ -_515(_588); -_58a=true; -} -} -if(_58a&&opts.fitColumns){ -_519(_587); -_579(_587); -} -} -tmp.remove(); -function _515(_58c){ -var _58d=dc.view.find("div.datagrid-header td[field=\""+_58c+"\"] div.datagrid-cell"); -_58d.css("width",""); -var col=$(_587).datagrid("getColumnOption",_58c); -col.width=undefined; -col.boxWidth=undefined; -col.auto=true; -$(_587).datagrid("fixColumnSize",_58c); -var _58e=Math.max(_58f("header"),_58f("allbody"),_58f("allfooter")); -_58d._outerWidth(_58e); -col.width=_58e; -col.boxWidth=parseInt(_58d[0].style.width); -_58d.css("width",""); -$(_587).datagrid("fixColumnSize",_58c); -opts.onResizeColumn.call(_587,_58c,col.width); -function _58f(type){ -var _590=0; -if(type=="header"){ -_590=_591(_58d); -}else{ -opts.finder.getTr(_587,0,type).find("td[field=\""+_58c+"\"] div.datagrid-cell").each(function(){ -var w=_591($(this)); -if(_590b?1:-1); -}; -r=_5ac(r1[sn],r2[sn])*(so=="asc"?1:-1); -if(r!=0){ -return r; -} -} -return r; -}); -} -if(opts.view.onBeforeRender){ -opts.view.onBeforeRender.call(opts.view,_5a8,data.rows); -} -opts.view.render.call(opts.view,_5a8,dc.body2,false); -opts.view.render.call(opts.view,_5a8,dc.body1,true); -if(opts.showFooter){ -opts.view.renderFooter.call(opts.view,_5a8,dc.footer2,false); -opts.view.renderFooter.call(opts.view,_5a8,dc.footer1,true); -} -if(opts.view.onAfterRender){ -opts.view.onAfterRender.call(opts.view,_5a8); -} -_5a9.ss.clean(); -opts.onLoadSuccess.call(_5a8,data); -var _5ad=$(_5a8).datagrid("getPager"); -if(_5ad.length){ -var _5ae=_5ad.pagination("options"); -if(_5ae.total!=data.total){ -_5ad.pagination("refresh",{total:data.total}); -if(opts.pageNumber!=_5ae.pageNumber){ -opts.pageNumber=_5ae.pageNumber; -_577(_5a8); -} -} -} -_526(_5a8); -dc.body2.triggerHandler("scroll"); -_5af(_5a8); -$(_5a8).datagrid("autoSizeColumn"); -}; -function _5af(_5b0){ -var _5b1=$.data(_5b0,"datagrid"); -var opts=_5b1.options; -if(opts.idField){ -var _5b2=$.data(_5b0,"treegrid")?true:false; -var _5b3=opts.onSelect; -var _5b4=opts.onCheck; -opts.onSelect=opts.onCheck=function(){ -}; -var rows=opts.finder.getRows(_5b0); -for(var i=0;i_5c5.height()-18){ -_5c5.scrollTop(_5c5.scrollTop()+top+tr._outerHeight()-_5c5.height()+18); -} -} -} -}; -function _5c7(_5c8,_5c9){ -var _5ca=$.data(_5c8,"datagrid"); -var opts=_5ca.options; -opts.finder.getTr(_5c8,_5ca.highlightIndex).removeClass("datagrid-row-over"); -opts.finder.getTr(_5c8,_5c9).addClass("datagrid-row-over"); -_5ca.highlightIndex=_5c9; -}; -function _5cb(_5cc,_5cd,_5ce){ -var _5cf=$.data(_5cc,"datagrid"); -var dc=_5cf.dc; -var opts=_5cf.options; -var _5d0=_5cf.selectedRows; -if(opts.singleSelect){ -_5d1(_5cc); -_5d0.splice(0,_5d0.length); -} -if(!_5ce&&opts.checkOnSelect){ -_5d2(_5cc,_5cd,true); -} -var row=opts.finder.getRow(_5cc,_5cd); -if(opts.idField){ -_505(_5d0,opts.idField,row); -} -opts.finder.getTr(_5cc,_5cd).addClass("datagrid-row-selected"); -opts.onSelect.call(_5cc,_5cd,row); -_5c0(_5cc,_5cd); -}; -function _5d3(_5d4,_5d5,_5d6){ -var _5d7=$.data(_5d4,"datagrid"); -var dc=_5d7.dc; -var opts=_5d7.options; -var _5d8=$.data(_5d4,"datagrid").selectedRows; -if(!_5d6&&opts.checkOnSelect){ -_5d9(_5d4,_5d5,true); -} -opts.finder.getTr(_5d4,_5d5).removeClass("datagrid-row-selected"); -var row=opts.finder.getRow(_5d4,_5d5); -if(opts.idField){ -_503(_5d8,opts.idField,row[opts.idField]); -} -opts.onUnselect.call(_5d4,_5d5,row); -}; -function _5da(_5db,_5dc){ -var _5dd=$.data(_5db,"datagrid"); -var opts=_5dd.options; -var rows=opts.finder.getRows(_5db); -var _5de=$.data(_5db,"datagrid").selectedRows; -if(!_5dc&&opts.checkOnSelect){ -_5df(_5db,true); -} -opts.finder.getTr(_5db,"","allbody").addClass("datagrid-row-selected"); -if(opts.idField){ -for(var _5e0=0;_5e0"); -cell.children("table").bind("click dblclick contextmenu",function(e){ -e.stopPropagation(); -}); -$.data(cell[0],"datagrid.editor",{actions:_615,target:_615.init(cell.find("td"),_614),field:_612,type:_613,oldHtml:_616}); -} -} -}); -_526(_610,_611,true); -}; -function _607(_618,_619){ -var opts=$.data(_618,"datagrid").options; -var tr=opts.finder.getTr(_618,_619); -tr.children("td").each(function(){ -var cell=$(this).find("div.datagrid-editable"); -if(cell.length){ -var ed=$.data(cell[0],"datagrid.editor"); -if(ed.actions.destroy){ -ed.actions.destroy(ed.target); -} -cell.html(ed.oldHtml); -$.removeData(cell[0],"datagrid.editor"); -cell.removeClass("datagrid-editable"); -cell.css("width",""); -} -}); -}; -function _5fc(_61a,_61b){ -var tr=$.data(_61a,"datagrid").options.finder.getTr(_61a,_61b); -if(!tr.hasClass("datagrid-row-editing")){ -return true; -} -var vbox=tr.find(".validatebox-text"); -vbox.validatebox("validate"); -vbox.trigger("mouseleave"); -var _61c=tr.find(".validatebox-invalid"); -return _61c.length==0; -}; -function _61d(_61e,_61f){ -var _620=$.data(_61e,"datagrid").insertedRows; -var _621=$.data(_61e,"datagrid").deletedRows; -var _622=$.data(_61e,"datagrid").updatedRows; -if(!_61f){ -var rows=[]; -rows=rows.concat(_620); -rows=rows.concat(_621); -rows=rows.concat(_622); -return rows; -}else{ -if(_61f=="inserted"){ -return _620; -}else{ -if(_61f=="deleted"){ -return _621; -}else{ -if(_61f=="updated"){ -return _622; -} -} -} -} -return []; -}; -function _623(_624,_625){ -var _626=$.data(_624,"datagrid"); -var opts=_626.options; -var data=_626.data; -var _627=_626.insertedRows; -var _628=_626.deletedRows; -$(_624).datagrid("cancelEdit",_625); -var row=opts.finder.getRow(_624,_625); -if(_502(_627,row)>=0){ -_503(_627,row); -}else{ -_628.push(row); -} -_503(_626.selectedRows,opts.idField,row[opts.idField]); -_503(_626.checkedRows,opts.idField,row[opts.idField]); -opts.view.deleteRow.call(opts.view,_624,_625); -if(opts.height=="auto"){ -_526(_624); -} -$(_624).datagrid("getPager").pagination("refresh",{total:data.total}); -}; -function _629(_62a,_62b){ -var data=$.data(_62a,"datagrid").data; -var view=$.data(_62a,"datagrid").options.view; -var _62c=$.data(_62a,"datagrid").insertedRows; -view.insertRow.call(view,_62a,_62b.index,_62b.row); -_62c.push(_62b.row); -$(_62a).datagrid("getPager").pagination("refresh",{total:data.total}); -}; -function _62d(_62e,row){ -var data=$.data(_62e,"datagrid").data; -var view=$.data(_62e,"datagrid").options.view; -var _62f=$.data(_62e,"datagrid").insertedRows; -view.insertRow.call(view,_62e,null,row); -_62f.push(row); -$(_62e).datagrid("getPager").pagination("refresh",{total:data.total}); -}; -function _630(_631){ -var _632=$.data(_631,"datagrid"); -var data=_632.data; -var rows=data.rows; -var _633=[]; -for(var i=0;i=0){ -(_640=="s"?_5cb:_5d2)(_637,_641,true); -} -} -}; -for(var i=0;i0){ -_578(this,data); -_630(this); -} -} -_577(this); -}); -}; -var _651={text:{init:function(_652,_653){ -var _654=$("").appendTo(_652); -return _654; -},getValue:function(_655){ -return $(_655).val(); -},setValue:function(_656,_657){ -$(_656).val(_657); -},resize:function(_658,_659){ -$(_658)._outerWidth(_659)._outerHeight(22); -}},textarea:{init:function(_65a,_65b){ -var _65c=$("").appendTo(_65a); -return _65c; -},getValue:function(_65d){ -return $(_65d).val(); -},setValue:function(_65e,_65f){ -$(_65e).val(_65f); -},resize:function(_660,_661){ -$(_660)._outerWidth(_661); -}},checkbox:{init:function(_662,_663){ -var _664=$("").appendTo(_662); -_664.val(_663.on); -_664.attr("offval",_663.off); -return _664; -},getValue:function(_665){ -if($(_665).is(":checked")){ -return $(_665).val(); -}else{ -return $(_665).attr("offval"); -} -},setValue:function(_666,_667){ -var _668=false; -if($(_666).val()==_667){ -_668=true; -} -$(_666)._propAttr("checked",_668); -}},numberbox:{init:function(_669,_66a){ -var _66b=$("").appendTo(_669); -_66b.numberbox(_66a); -return _66b; -},destroy:function(_66c){ -$(_66c).numberbox("destroy"); -},getValue:function(_66d){ -$(_66d).blur(); -return $(_66d).numberbox("getValue"); -},setValue:function(_66e,_66f){ -$(_66e).numberbox("setValue",_66f); -},resize:function(_670,_671){ -$(_670)._outerWidth(_671)._outerHeight(22); -}},validatebox:{init:function(_672,_673){ -var _674=$("").appendTo(_672); -_674.validatebox(_673); -return _674; -},destroy:function(_675){ -$(_675).validatebox("destroy"); -},getValue:function(_676){ -return $(_676).val(); -},setValue:function(_677,_678){ -$(_677).val(_678); -},resize:function(_679,_67a){ -$(_679)._outerWidth(_67a)._outerHeight(22); -}},datebox:{init:function(_67b,_67c){ -var _67d=$("").appendTo(_67b); -_67d.datebox(_67c); -return _67d; -},destroy:function(_67e){ -$(_67e).datebox("destroy"); -},getValue:function(_67f){ -return $(_67f).datebox("getValue"); -},setValue:function(_680,_681){ -$(_680).datebox("setValue",_681); -},resize:function(_682,_683){ -$(_682).datebox("resize",_683); -}},combobox:{init:function(_684,_685){ -var _686=$("").appendTo(_684); -_686.combobox(_685||{}); -return _686; -},destroy:function(_687){ -$(_687).combobox("destroy"); -},getValue:function(_688){ -var opts=$(_688).combobox("options"); -if(opts.multiple){ -return $(_688).combobox("getValues").join(opts.separator); -}else{ -return $(_688).combobox("getValue"); -} -},setValue:function(_689,_68a){ -var opts=$(_689).combobox("options"); -if(opts.multiple){ -if(_68a){ -$(_689).combobox("setValues",_68a.split(opts.separator)); -}else{ -$(_689).combobox("clear"); -} -}else{ -$(_689).combobox("setValue",_68a); -} -},resize:function(_68b,_68c){ -$(_68b).combobox("resize",_68c); -}},combotree:{init:function(_68d,_68e){ -var _68f=$("").appendTo(_68d); -_68f.combotree(_68e); -return _68f; -},destroy:function(_690){ -$(_690).combotree("destroy"); -},getValue:function(_691){ -var opts=$(_691).combotree("options"); -if(opts.multiple){ -return $(_691).combotree("getValues").join(opts.separator); -}else{ -return $(_691).combotree("getValue"); -} -},setValue:function(_692,_693){ -var opts=$(_692).combotree("options"); -if(opts.multiple){ -if(_693){ -$(_692).combotree("setValues",_693.split(opts.separator)); -}else{ -$(_692).combotree("clear"); -} -}else{ -$(_692).combotree("setValue",_693); -} -},resize:function(_694,_695){ -$(_694).combotree("resize",_695); -}},combogrid:{init:function(_696,_697){ -var _698=$("").appendTo(_696); -_698.combogrid(_697); -return _698; -},destroy:function(_699){ -$(_699).combogrid("destroy"); -},getValue:function(_69a){ -var opts=$(_69a).combogrid("options"); -if(opts.multiple){ -return $(_69a).combogrid("getValues").join(opts.separator); -}else{ -return $(_69a).combogrid("getValue"); -} -},setValue:function(_69b,_69c){ -var opts=$(_69b).combogrid("options"); -if(opts.multiple){ -if(_69c){ -$(_69b).combogrid("setValues",_69c.split(opts.separator)); -}else{ -$(_69b).combogrid("clear"); -} -}else{ -$(_69b).combogrid("setValue",_69c); -} -},resize:function(_69d,_69e){ -$(_69d).combogrid("resize",_69e); -}}}; -$.fn.datagrid.methods={options:function(jq){ -var _69f=$.data(jq[0],"datagrid").options; -var _6a0=$.data(jq[0],"datagrid").panel.panel("options"); -var opts=$.extend(_69f,{width:_6a0.width,height:_6a0.height,closed:_6a0.closed,collapsed:_6a0.collapsed,minimized:_6a0.minimized,maximized:_6a0.maximized}); -return opts; -},setSelectionState:function(jq){ -return jq.each(function(){ -_5af(this); -}); -},createStyleSheet:function(jq){ -return _506(jq[0]); -},getPanel:function(jq){ -return $.data(jq[0],"datagrid").panel; -},getPager:function(jq){ -return $.data(jq[0],"datagrid").panel.children("div.datagrid-pager"); -},getColumnFields:function(jq,_6a1){ -return _557(jq[0],_6a1); -},getColumnOption:function(jq,_6a2){ -return _558(jq[0],_6a2); -},resize:function(jq,_6a3){ -return jq.each(function(){ -_515(this,_6a3); -}); -},load:function(jq,_6a4){ -return jq.each(function(){ -var opts=$(this).datagrid("options"); -opts.pageNumber=1; -var _6a5=$(this).datagrid("getPager"); -_6a5.pagination("refresh",{pageNumber:1}); -_577(this,_6a4); -}); -},reload:function(jq,_6a6){ -return jq.each(function(){ -_577(this,_6a6); -}); -},reloadFooter:function(jq,_6a7){ -return jq.each(function(){ -var opts=$.data(this,"datagrid").options; -var dc=$.data(this,"datagrid").dc; -if(_6a7){ -$.data(this,"datagrid").footer=_6a7; -} -if(opts.showFooter){ -opts.view.renderFooter.call(opts.view,this,dc.footer2,false); -opts.view.renderFooter.call(opts.view,this,dc.footer1,true); -if(opts.view.onAfterRender){ -opts.view.onAfterRender.call(opts.view,this); -} -$(this).datagrid("fixRowHeight"); -} -}); -},loading:function(jq){ -return jq.each(function(){ -var opts=$.data(this,"datagrid").options; -$(this).datagrid("getPager").pagination("loading"); -if(opts.loadMsg){ -var _6a8=$(this).datagrid("getPanel"); -if(!_6a8.children("div.datagrid-mask").length){ -$("
                                      ").appendTo(_6a8); -var msg=$("
                                      ").html(opts.loadMsg).appendTo(_6a8); -msg._outerHeight(40); -msg.css({marginLeft:(-msg.outerWidth()/2),lineHeight:(msg.height()+"px")}); -} -} -}); -},loaded:function(jq){ -return jq.each(function(){ -$(this).datagrid("getPager").pagination("loaded"); -var _6a9=$(this).datagrid("getPanel"); -_6a9.children("div.datagrid-mask-msg").remove(); -_6a9.children("div.datagrid-mask").remove(); -}); -},fitColumns:function(jq){ -return jq.each(function(){ -_579(this); -}); -},fixColumnSize:function(jq,_6aa){ -return jq.each(function(){ -_542(this,_6aa); -}); -},fixRowHeight:function(jq,_6ab){ -return jq.each(function(){ -_526(this,_6ab); -}); -},freezeRow:function(jq,_6ac){ -return jq.each(function(){ -_533(this,_6ac); -}); -},autoSizeColumn:function(jq,_6ad){ -return jq.each(function(){ -_586(this,_6ad); -}); -},loadData:function(jq,data){ -return jq.each(function(){ -_578(this,data); -_630(this); -}); -},getData:function(jq){ -return $.data(jq[0],"datagrid").data; -},getRows:function(jq){ -return $.data(jq[0],"datagrid").data.rows; -},getFooterRows:function(jq){ -return $.data(jq[0],"datagrid").footer; -},getRowIndex:function(jq,id){ -return _5b7(jq[0],id); -},getChecked:function(jq){ -return _5bd(jq[0]); -},getSelected:function(jq){ -var rows=_5ba(jq[0]); -return rows.length>0?rows[0]:null; -},getSelections:function(jq){ -return _5ba(jq[0]); -},clearSelections:function(jq){ -return jq.each(function(){ -var _6ae=$.data(this,"datagrid"); -var _6af=_6ae.selectedRows; -var _6b0=_6ae.checkedRows; -_6af.splice(0,_6af.length); -_5d1(this); -if(_6ae.options.checkOnSelect){ -_6b0.splice(0,_6b0.length); -} -}); -},clearChecked:function(jq){ -return jq.each(function(){ -var _6b1=$.data(this,"datagrid"); -var _6b2=_6b1.selectedRows; -var _6b3=_6b1.checkedRows; -_6b3.splice(0,_6b3.length); -_5e5(this); -if(_6b1.options.selectOnCheck){ -_6b2.splice(0,_6b2.length); -} -}); -},scrollTo:function(jq,_6b4){ -return jq.each(function(){ -_5c0(this,_6b4); -}); -},highlightRow:function(jq,_6b5){ -return jq.each(function(){ -_5c7(this,_6b5); -_5c0(this,_6b5); -}); -},selectAll:function(jq){ -return jq.each(function(){ -_5da(this); -}); -},unselectAll:function(jq){ -return jq.each(function(){ -_5d1(this); -}); -},selectRow:function(jq,_6b6){ -return jq.each(function(){ -_5cb(this,_6b6); -}); -},selectRecord:function(jq,id){ -return jq.each(function(){ -var opts=$.data(this,"datagrid").options; -if(opts.idField){ -var _6b7=_5b7(this,id); -if(_6b7>=0){ -$(this).datagrid("selectRow",_6b7); -} -} -}); -},unselectRow:function(jq,_6b8){ -return jq.each(function(){ -_5d3(this,_6b8); -}); -},checkRow:function(jq,_6b9){ -return jq.each(function(){ -_5d2(this,_6b9); -}); -},uncheckRow:function(jq,_6ba){ -return jq.each(function(){ -_5d9(this,_6ba); -}); -},checkAll:function(jq){ -return jq.each(function(){ -_5df(this); -}); -},uncheckAll:function(jq){ -return jq.each(function(){ -_5e5(this); -}); -},beginEdit:function(jq,_6bb){ -return jq.each(function(){ -_5f7(this,_6bb); -}); -},endEdit:function(jq,_6bc){ -return jq.each(function(){ -_5fd(this,_6bc,false); -}); -},cancelEdit:function(jq,_6bd){ -return jq.each(function(){ -_5fd(this,_6bd,true); -}); -},getEditors:function(jq,_6be){ -return _608(jq[0],_6be); -},getEditor:function(jq,_6bf){ -return _60c(jq[0],_6bf); -},refreshRow:function(jq,_6c0){ -return jq.each(function(){ -var opts=$.data(this,"datagrid").options; -opts.view.refreshRow.call(opts.view,this,_6c0); -}); -},validateRow:function(jq,_6c1){ -return _5fc(jq[0],_6c1); -},updateRow:function(jq,_6c2){ -return jq.each(function(){ -var opts=$.data(this,"datagrid").options; -opts.view.updateRow.call(opts.view,this,_6c2.index,_6c2.row); -}); -},appendRow:function(jq,row){ -return jq.each(function(){ -_62d(this,row); -}); -},insertRow:function(jq,_6c3){ -return jq.each(function(){ -_629(this,_6c3); -}); -},deleteRow:function(jq,_6c4){ -return jq.each(function(){ -_623(this,_6c4); -}); -},getChanges:function(jq,_6c5){ -return _61d(jq[0],_6c5); -},acceptChanges:function(jq){ -return jq.each(function(){ -_634(this); -}); -},rejectChanges:function(jq){ -return jq.each(function(){ -_636(this); -}); -},mergeCells:function(jq,_6c6){ -return jq.each(function(){ -_649(this,_6c6); -}); -},showColumn:function(jq,_6c7){ -return jq.each(function(){ -var _6c8=$(this).datagrid("getPanel"); -_6c8.find("td[field=\""+_6c7+"\"]").show(); -$(this).datagrid("getColumnOption",_6c7).hidden=false; -$(this).datagrid("fitColumns"); -}); -},hideColumn:function(jq,_6c9){ -return jq.each(function(){ -var _6ca=$(this).datagrid("getPanel"); -_6ca.find("td[field=\""+_6c9+"\"]").hide(); -$(this).datagrid("getColumnOption",_6c9).hidden=true; -$(this).datagrid("fitColumns"); -}); -},sort:function(jq,_6cb){ -return jq.each(function(){ -_56c(this,_6cb); -}); -}}; -$.fn.datagrid.parseOptions=function(_6cc){ -var t=$(_6cc); -return $.extend({},$.fn.panel.parseOptions(_6cc),$.parser.parseOptions(_6cc,["url","toolbar","idField","sortName","sortOrder","pagePosition","resizeHandle",{sharedStyleSheet:"boolean",fitColumns:"boolean",autoRowHeight:"boolean",striped:"boolean",nowrap:"boolean"},{rownumbers:"boolean",singleSelect:"boolean",ctrlSelect:"boolean",checkOnSelect:"boolean",selectOnCheck:"boolean"},{pagination:"boolean",pageSize:"number",pageNumber:"number"},{multiSort:"boolean",remoteSort:"boolean",showHeader:"boolean",showFooter:"boolean"},{scrollbarSize:"number"}]),{pageList:(t.attr("pageList")?eval(t.attr("pageList")):undefined),loadMsg:(t.attr("loadMsg")!=undefined?t.attr("loadMsg"):undefined),rowStyler:(t.attr("rowStyler")?eval(t.attr("rowStyler")):undefined)}); -}; -$.fn.datagrid.parseData=function(_6cd){ -var t=$(_6cd); -var data={total:0,rows:[]}; -var _6ce=t.datagrid("getColumnFields",true).concat(t.datagrid("getColumnFields",false)); -t.find("tbody tr").each(function(){ -data.total++; -var row={}; -$.extend(row,$.parser.parseOptions(this,["iconCls","state"])); -for(var i=0;i<_6ce.length;i++){ -row[_6ce[i]]=$(this).find("td:eq("+i+")").html(); -} -data.rows.push(row); -}); -return data; -}; -var _6cf={render:function(_6d0,_6d1,_6d2){ -var _6d3=$.data(_6d0,"datagrid"); -var opts=_6d3.options; -var rows=_6d3.data.rows; -var _6d4=$(_6d0).datagrid("getColumnFields",_6d2); -if(_6d2){ -if(!(opts.rownumbers||(opts.frozenColumns&&opts.frozenColumns.length))){ -return; -} -} -var _6d5=[""]; -for(var i=0;i"); -_6d5.push(this.renderRow.call(this,_6d0,_6d4,_6d2,i,rows[i])); -_6d5.push(""); -} -_6d5.push("
                                      "); -$(_6d1).html(_6d5.join("")); -},renderFooter:function(_6da,_6db,_6dc){ -var opts=$.data(_6da,"datagrid").options; -var rows=$.data(_6da,"datagrid").footer||[]; -var _6dd=$(_6da).datagrid("getColumnFields",_6dc); -var _6de=[""]; -for(var i=0;i"); -_6de.push(this.renderRow.call(this,_6da,_6dd,_6dc,i,rows[i])); -_6de.push(""); -} -_6de.push("
                                      "); -$(_6db).html(_6de.join("")); -},renderRow:function(_6df,_6e0,_6e1,_6e2,_6e3){ -var opts=$.data(_6df,"datagrid").options; -var cc=[]; -if(_6e1&&opts.rownumbers){ -var _6e4=_6e2+1; -if(opts.pagination){ -_6e4+=(opts.pageNumber-1)*opts.pageSize; -} -cc.push("
                                      "+_6e4+"
                                      "); -} -for(var i=0;i<_6e0.length;i++){ -var _6e5=_6e0[i]; -var col=$(_6df).datagrid("getColumnOption",_6e5); -if(col){ -var _6e6=_6e3[_6e5]; -var css=col.styler?(col.styler(_6e6,_6e3,_6e2)||""):""; -var _6e7=""; -var _6e8=""; -if(typeof css=="string"){ -_6e8=css; -}else{ -if(css){ -_6e7=css["class"]||""; -_6e8=css["style"]||""; -} -} -var cls=_6e7?"class=\""+_6e7+"\"":""; -var _6e9=col.hidden?"style=\"display:none;"+_6e8+"\"":(_6e8?"style=\""+_6e8+"\"":""); -cc.push(""); -var _6e9=""; -if(!col.checkbox){ -if(col.align){ -_6e9+="text-align:"+col.align+";"; -} -if(!opts.nowrap){ -_6e9+="white-space:normal;height:auto;"; -}else{ -if(opts.autoRowHeight){ -_6e9+="height:auto;"; -} -} -} -cc.push("
                                      "); -if(col.checkbox){ -cc.push(""); -}else{ -if(col.formatter){ -cc.push(col.formatter(_6e6,_6e3,_6e2)); -}else{ -cc.push(_6e6); -} -} -cc.push("
                                      "); -cc.push(""); -} -} -return cc.join(""); -},refreshRow:function(_6ea,_6eb){ -this.updateRow.call(this,_6ea,_6eb,{}); -},updateRow:function(_6ec,_6ed,row){ -var opts=$.data(_6ec,"datagrid").options; -var rows=$(_6ec).datagrid("getRows"); -$.extend(rows[_6ed],row); -var css=opts.rowStyler?opts.rowStyler.call(_6ec,_6ed,rows[_6ed]):""; -var _6ee=""; -var _6ef=""; -if(typeof css=="string"){ -_6ef=css; -}else{ -if(css){ -_6ee=css["class"]||""; -_6ef=css["style"]||""; -} -} -var _6ee="datagrid-row "+(_6ed%2&&opts.striped?"datagrid-row-alt ":" ")+_6ee; -function _6f0(_6f1){ -var _6f2=$(_6ec).datagrid("getColumnFields",_6f1); -var tr=opts.finder.getTr(_6ec,_6ed,"body",(_6f1?1:2)); -var _6f3=tr.find("div.datagrid-cell-check input[type=checkbox]").is(":checked"); -tr.html(this.renderRow.call(this,_6ec,_6f2,_6f1,_6ed,rows[_6ed])); -tr.attr("style",_6ef).attr("class",tr.hasClass("datagrid-row-selected")?_6ee+" datagrid-row-selected":_6ee); -if(_6f3){ -tr.find("div.datagrid-cell-check input[type=checkbox]")._propAttr("checked",true); -} -}; -_6f0.call(this,true); -_6f0.call(this,false); -$(_6ec).datagrid("fixRowHeight",_6ed); -},insertRow:function(_6f4,_6f5,row){ -var _6f6=$.data(_6f4,"datagrid"); -var opts=_6f6.options; -var dc=_6f6.dc; -var data=_6f6.data; -if(_6f5==undefined||_6f5==null){ -_6f5=data.rows.length; -} -if(_6f5>data.rows.length){ -_6f5=data.rows.length; -} -function _6f7(_6f8){ -var _6f9=_6f8?1:2; -for(var i=data.rows.length-1;i>=_6f5;i--){ -var tr=opts.finder.getTr(_6f4,i,"body",_6f9); -tr.attr("datagrid-row-index",i+1); -tr.attr("id",_6f6.rowIdPrefix+"-"+_6f9+"-"+(i+1)); -if(_6f8&&opts.rownumbers){ -var _6fa=i+2; -if(opts.pagination){ -_6fa+=(opts.pageNumber-1)*opts.pageSize; -} -tr.find("div.datagrid-cell-rownumber").html(_6fa); -} -if(opts.striped){ -tr.removeClass("datagrid-row-alt").addClass((i+1)%2?"datagrid-row-alt":""); -} -} -}; -function _6fb(_6fc){ -var _6fd=_6fc?1:2; -var _6fe=$(_6f4).datagrid("getColumnFields",_6fc); -var _6ff=_6f6.rowIdPrefix+"-"+_6fd+"-"+_6f5; -var tr=""; -if(_6f5>=data.rows.length){ -if(data.rows.length){ -opts.finder.getTr(_6f4,"","last",_6fd).after(tr); -}else{ -var cc=_6fc?dc.body1:dc.body2; -cc.html(""+tr+"
                                      "); -} -}else{ -opts.finder.getTr(_6f4,_6f5+1,"body",_6fd).before(tr); -} -}; -_6f7.call(this,true); -_6f7.call(this,false); -_6fb.call(this,true); -_6fb.call(this,false); -data.total+=1; -data.rows.splice(_6f5,0,row); -this.refreshRow.call(this,_6f4,_6f5); -},deleteRow:function(_700,_701){ -var _702=$.data(_700,"datagrid"); -var opts=_702.options; -var data=_702.data; -function _703(_704){ -var _705=_704?1:2; -for(var i=_701+1;itable>tbody>tr[datagrid-row-index="+_710+"]"); -} -return tr; -}else{ -if(type=="footer"){ -return (_711==1?dc.footer1:dc.footer2).find(">table>tbody>tr[datagrid-row-index="+_710+"]"); -}else{ -if(type=="selected"){ -return (_711==1?dc.body1:dc.body2).find(">table>tbody>tr.datagrid-row-selected"); -}else{ -if(type=="highlight"){ -return (_711==1?dc.body1:dc.body2).find(">table>tbody>tr.datagrid-row-over"); -}else{ -if(type=="checked"){ -return (_711==1?dc.body1:dc.body2).find(">table>tbody>tr.datagrid-row-checked"); -}else{ -if(type=="last"){ -return (_711==1?dc.body1:dc.body2).find(">table>tbody>tr[datagrid-row-index]:last"); -}else{ -if(type=="allbody"){ -return (_711==1?dc.body1:dc.body2).find(">table>tbody>tr[datagrid-row-index]"); -}else{ -if(type=="allfooter"){ -return (_711==1?dc.footer1:dc.footer2).find(">table>tbody>tr[datagrid-row-index]"); -} -} -} -} -} -} -} -} -} -},getRow:function(_713,p){ -var _714=(typeof p=="object")?p.attr("datagrid-row-index"):p; -return $.data(_713,"datagrid").data.rows[parseInt(_714)]; -},getRows:function(_715){ -return $(_715).datagrid("getRows"); -}},view:_6cf,onBeforeLoad:function(_716){ -},onLoadSuccess:function(){ -},onLoadError:function(){ -},onClickRow:function(_717,_718){ -},onDblClickRow:function(_719,_71a){ -},onClickCell:function(_71b,_71c,_71d){ -},onDblClickCell:function(_71e,_71f,_720){ -},onBeforeSortColumn:function(sort,_721){ -},onSortColumn:function(sort,_722){ -},onResizeColumn:function(_723,_724){ -},onSelect:function(_725,_726){ -},onUnselect:function(_727,_728){ -},onSelectAll:function(rows){ -},onUnselectAll:function(rows){ -},onCheck:function(_729,_72a){ -},onUncheck:function(_72b,_72c){ -},onCheckAll:function(rows){ -},onUncheckAll:function(rows){ -},onBeforeEdit:function(_72d,_72e){ -},onBeginEdit:function(_72f,_730){ -},onEndEdit:function(_731,_732,_733){ -},onAfterEdit:function(_734,_735,_736){ -},onCancelEdit:function(_737,_738){ -},onHeaderContextMenu:function(e,_739){ -},onRowContextMenu:function(e,_73a,_73b){ -}}); -})(jQuery); -(function($){ -var _73c; -function _73d(_73e){ -var _73f=$.data(_73e,"propertygrid"); -var opts=$.data(_73e,"propertygrid").options; -$(_73e).datagrid($.extend({},opts,{cls:"propertygrid",view:(opts.showGroup?opts.groupView:opts.view),onClickRow:function(_740,row){ -if(_73c!=this){ -_741(_73c); -_73c=this; -} -if(opts.editIndex!=_740&&row.editor){ -var col=$(this).datagrid("getColumnOption","value"); -col.editor=row.editor; -_741(_73c); -$(this).datagrid("beginEdit",_740); -$(this).datagrid("getEditors",_740)[0].target.focus(); -opts.editIndex=_740; -} -opts.onClickRow.call(_73e,_740,row); -},loadFilter:function(data){ -_741(this); -return opts.loadFilter.call(this,data); -}})); -$(document).unbind(".propertygrid").bind("mousedown.propertygrid",function(e){ -var p=$(e.target).closest("div.datagrid-view,div.combo-panel"); -if(p.length){ -return; -} -_741(_73c); -_73c=undefined; -}); -}; -function _741(_742){ -var t=$(_742); -if(!t.length){ -return; -} -var opts=$.data(_742,"propertygrid").options; -var _743=opts.editIndex; -if(_743==undefined){ -return; -} -var ed=t.datagrid("getEditors",_743)[0]; -if(ed){ -ed.target.blur(); -if(t.datagrid("validateRow",_743)){ -t.datagrid("endEdit",_743); -}else{ -t.datagrid("cancelEdit",_743); -} -} -opts.editIndex=undefined; -}; -$.fn.propertygrid=function(_744,_745){ -if(typeof _744=="string"){ -var _746=$.fn.propertygrid.methods[_744]; -if(_746){ -return _746(this,_745); -}else{ -return this.datagrid(_744,_745); -} -} -_744=_744||{}; -return this.each(function(){ -var _747=$.data(this,"propertygrid"); -if(_747){ -$.extend(_747.options,_744); -}else{ -var opts=$.extend({},$.fn.propertygrid.defaults,$.fn.propertygrid.parseOptions(this),_744); -opts.frozenColumns=$.extend(true,[],opts.frozenColumns); -opts.columns=$.extend(true,[],opts.columns); -$.data(this,"propertygrid",{options:opts}); -} -_73d(this); -}); -}; -$.fn.propertygrid.methods={options:function(jq){ -return $.data(jq[0],"propertygrid").options; -}}; -$.fn.propertygrid.parseOptions=function(_748){ -return $.extend({},$.fn.datagrid.parseOptions(_748),$.parser.parseOptions(_748,[{showGroup:"boolean"}])); -}; -var _749=$.extend({},$.fn.datagrid.defaults.view,{render:function(_74a,_74b,_74c){ -var _74d=[]; -var _74e=this.groups; -for(var i=0;i<_74e.length;i++){ -_74d.push(this.renderGroup.call(this,_74a,i,_74e[i],_74c)); -} -$(_74b).html(_74d.join("")); -},renderGroup:function(_74f,_750,_751,_752){ -var _753=$.data(_74f,"datagrid"); -var opts=_753.options; -var _754=$(_74f).datagrid("getColumnFields",_752); -var _755=[]; -_755.push("
                                      "); -_755.push(""); -_755.push(""); -if((_752&&(opts.rownumbers||opts.frozenColumns.length))||(!_752&&!(opts.rownumbers||opts.frozenColumns.length))){ -_755.push(""); -} -_755.push(""); -_755.push(""); -_755.push("
                                       "); -if(!_752){ -_755.push(""); -_755.push(opts.groupFormatter.call(_74f,_751.value,_751.rows)); -_755.push(""); -} -_755.push("
                                      "); -_755.push("
                                      "); -_755.push(""); -var _756=_751.startIndex; -for(var j=0;j<_751.rows.length;j++){ -var css=opts.rowStyler?opts.rowStyler.call(_74f,_756,_751.rows[j]):""; -var _757=""; -var _758=""; -if(typeof css=="string"){ -_758=css; -}else{ -if(css){ -_757=css["class"]||""; -_758=css["style"]||""; -} -} -var cls="class=\"datagrid-row "+(_756%2&&opts.striped?"datagrid-row-alt ":" ")+_757+"\""; -var _759=_758?"style=\""+_758+"\"":""; -var _75a=_753.rowIdPrefix+"-"+(_752?1:2)+"-"+_756; -_755.push(""); -_755.push(this.renderRow.call(this,_74f,_754,_752,_756,_751.rows[j])); -_755.push(""); -_756++; -} -_755.push("
                                      "); -return _755.join(""); -},bindEvents:function(_75b){ -var _75c=$.data(_75b,"datagrid"); -var dc=_75c.dc; -var body=dc.body1.add(dc.body2); -var _75d=($.data(body[0],"events")||$._data(body[0],"events")).click[0].handler; -body.unbind("click").bind("click",function(e){ -var tt=$(e.target); -var _75e=tt.closest("span.datagrid-row-expander"); -if(_75e.length){ -var _75f=_75e.closest("div.datagrid-group").attr("group-index"); -if(_75e.hasClass("datagrid-row-collapse")){ -$(_75b).datagrid("collapseGroup",_75f); -}else{ -$(_75b).datagrid("expandGroup",_75f); -} -}else{ -_75d(e); -} -e.stopPropagation(); -}); -},onBeforeRender:function(_760,rows){ -var _761=$.data(_760,"datagrid"); -var opts=_761.options; -_762(); -var _763=[]; -for(var i=0;i"+".datagrid-group{height:25px;overflow:hidden;font-weight:bold;border-bottom:1px solid #ccc;}"+""); -} -}; -}}); -$.extend($.fn.datagrid.methods,{expandGroup:function(jq,_76a){ -return jq.each(function(){ -var view=$.data(this,"datagrid").dc.view; -var _76b=view.find(_76a!=undefined?"div.datagrid-group[group-index=\""+_76a+"\"]":"div.datagrid-group"); -var _76c=_76b.find("span.datagrid-row-expander"); -if(_76c.hasClass("datagrid-row-expand")){ -_76c.removeClass("datagrid-row-expand").addClass("datagrid-row-collapse"); -_76b.next("table").show(); -} -$(this).datagrid("fixRowHeight"); -}); -},collapseGroup:function(jq,_76d){ -return jq.each(function(){ -var view=$.data(this,"datagrid").dc.view; -var _76e=view.find(_76d!=undefined?"div.datagrid-group[group-index=\""+_76d+"\"]":"div.datagrid-group"); -var _76f=_76e.find("span.datagrid-row-expander"); -if(_76f.hasClass("datagrid-row-collapse")){ -_76f.removeClass("datagrid-row-collapse").addClass("datagrid-row-expand"); -_76e.next("table").hide(); -} -$(this).datagrid("fixRowHeight"); -}); -}}); -$.fn.propertygrid.defaults=$.extend({},$.fn.datagrid.defaults,{singleSelect:true,remoteSort:false,fitColumns:true,loadMsg:"",frozenColumns:[[{field:"f",width:16,resizable:false}]],columns:[[{field:"name",title:"Name",width:100,sortable:true},{field:"value",title:"Value",width:100,resizable:false}]],showGroup:false,groupView:_749,groupField:"group",groupFormatter:function(_770,rows){ -return _770; -}}); -})(jQuery); -(function($){ -function _771(_772){ -var _773=$.data(_772,"treegrid"); -var opts=_773.options; -$(_772).datagrid($.extend({},opts,{url:null,data:null,loader:function(){ -return false; -},onBeforeLoad:function(){ -return false; -},onLoadSuccess:function(){ -},onResizeColumn:function(_774,_775){ -_78b(_772); -opts.onResizeColumn.call(_772,_774,_775); -},onSortColumn:function(sort,_776){ -opts.sortName=sort; -opts.sortOrder=_776; -if(opts.remoteSort){ -_78a(_772); -}else{ -var data=$(_772).treegrid("getData"); -_7a0(_772,0,data); -} -opts.onSortColumn.call(_772,sort,_776); -},onBeforeEdit:function(_777,row){ -if(opts.onBeforeEdit.call(_772,row)==false){ -return false; -} -},onAfterEdit:function(_778,row,_779){ -opts.onAfterEdit.call(_772,row,_779); -},onCancelEdit:function(_77a,row){ -opts.onCancelEdit.call(_772,row); -},onSelect:function(_77b){ -opts.onSelect.call(_772,find(_772,_77b)); -},onUnselect:function(_77c){ -opts.onUnselect.call(_772,find(_772,_77c)); -},onCheck:function(_77d){ -opts.onCheck.call(_772,find(_772,_77d)); -},onUncheck:function(_77e){ -opts.onUncheck.call(_772,find(_772,_77e)); -},onClickRow:function(_77f){ -opts.onClickRow.call(_772,find(_772,_77f)); -},onDblClickRow:function(_780){ -opts.onDblClickRow.call(_772,find(_772,_780)); -},onClickCell:function(_781,_782){ -opts.onClickCell.call(_772,_782,find(_772,_781)); -},onDblClickCell:function(_783,_784){ -opts.onDblClickCell.call(_772,_784,find(_772,_783)); -},onRowContextMenu:function(e,_785){ -opts.onContextMenu.call(_772,e,find(_772,_785)); -}})); -if(!opts.columns){ -var _786=$.data(_772,"datagrid").options; -opts.columns=_786.columns; -opts.frozenColumns=_786.frozenColumns; -} -_773.dc=$.data(_772,"datagrid").dc; -if(opts.pagination){ -var _787=$(_772).datagrid("getPager"); -_787.pagination({pageNumber:opts.pageNumber,pageSize:opts.pageSize,pageList:opts.pageList,onSelectPage:function(_788,_789){ -opts.pageNumber=_788; -opts.pageSize=_789; -_78a(_772); -}}); -opts.pageSize=_787.pagination("options").pageSize; -} -}; -function _78b(_78c,_78d){ -var opts=$.data(_78c,"datagrid").options; -var dc=$.data(_78c,"datagrid").dc; -if(!dc.body1.is(":empty")&&(!opts.nowrap||opts.autoRowHeight)){ -if(_78d!=undefined){ -var _78e=_78f(_78c,_78d); -for(var i=0;i<_78e.length;i++){ -_790(_78e[i][opts.idField]); -} -} -} -$(_78c).datagrid("fixRowHeight",_78d); -function _790(_791){ -var tr1=opts.finder.getTr(_78c,_791,"body",1); -var tr2=opts.finder.getTr(_78c,_791,"body",2); -tr1.css("height",""); -tr2.css("height",""); -var _792=Math.max(tr1.height(),tr2.height()); -tr1.css("height",_792); -tr2.css("height",_792); -}; -}; -function _793(_794){ -var dc=$.data(_794,"datagrid").dc; -var opts=$.data(_794,"treegrid").options; -if(!opts.rownumbers){ -return; -} -dc.body1.find("div.datagrid-cell-rownumber").each(function(i){ -$(this).html(i+1); -}); -}; -function _795(_796){ -var dc=$.data(_796,"datagrid").dc; -var body=dc.body1.add(dc.body2); -var _797=($.data(body[0],"events")||$._data(body[0],"events")).click[0].handler; -dc.body1.add(dc.body2).bind("mouseover",function(e){ -var tt=$(e.target); -var tr=tt.closest("tr.datagrid-row"); -if(!tr.length){ -return; -} -if(tt.hasClass("tree-hit")){ -tt.hasClass("tree-expanded")?tt.addClass("tree-expanded-hover"):tt.addClass("tree-collapsed-hover"); -} -e.stopPropagation(); -}).bind("mouseout",function(e){ -var tt=$(e.target); -var tr=tt.closest("tr.datagrid-row"); -if(!tr.length){ -return; -} -if(tt.hasClass("tree-hit")){ -tt.hasClass("tree-expanded")?tt.removeClass("tree-expanded-hover"):tt.removeClass("tree-collapsed-hover"); -} -e.stopPropagation(); -}).unbind("click").bind("click",function(e){ -var tt=$(e.target); -var tr=tt.closest("tr.datagrid-row"); -if(!tr.length){ -return; -} -if(tt.hasClass("tree-hit")){ -_798(_796,tr.attr("node-id")); -}else{ -_797(e); -} -e.stopPropagation(); -}); -}; -function _799(_79a,_79b){ -var opts=$.data(_79a,"treegrid").options; -var tr1=opts.finder.getTr(_79a,_79b,"body",1); -var tr2=opts.finder.getTr(_79a,_79b,"body",2); -var _79c=$(_79a).datagrid("getColumnFields",true).length+(opts.rownumbers?1:0); -var _79d=$(_79a).datagrid("getColumnFields",false).length; -_79e(tr1,_79c); -_79e(tr2,_79d); -function _79e(tr,_79f){ -$(""+""+"
                                      "+""+"").insertAfter(tr); -}; -}; -function _7a0(_7a1,_7a2,data,_7a3){ -var _7a4=$.data(_7a1,"treegrid"); -var opts=_7a4.options; -var dc=_7a4.dc; -data=opts.loadFilter.call(_7a1,data,_7a2); -var node=find(_7a1,_7a2); -if(node){ -var _7a5=opts.finder.getTr(_7a1,_7a2,"body",1); -var _7a6=opts.finder.getTr(_7a1,_7a2,"body",2); -var cc1=_7a5.next("tr.treegrid-tr-tree").children("td").children("div"); -var cc2=_7a6.next("tr.treegrid-tr-tree").children("td").children("div"); -if(!_7a3){ -node.children=[]; -} -}else{ -var cc1=dc.body1; -var cc2=dc.body2; -if(!_7a3){ -_7a4.data=[]; -} -} -if(!_7a3){ -cc1.empty(); -cc2.empty(); -} -if(opts.view.onBeforeRender){ -opts.view.onBeforeRender.call(opts.view,_7a1,_7a2,data); -} -opts.view.render.call(opts.view,_7a1,cc1,true); -opts.view.render.call(opts.view,_7a1,cc2,false); -if(opts.showFooter){ -opts.view.renderFooter.call(opts.view,_7a1,dc.footer1,true); -opts.view.renderFooter.call(opts.view,_7a1,dc.footer2,false); -} -if(opts.view.onAfterRender){ -opts.view.onAfterRender.call(opts.view,_7a1); -} -opts.onLoadSuccess.call(_7a1,node,data); -if(!_7a2&&opts.pagination){ -var _7a7=$.data(_7a1,"treegrid").total; -var _7a8=$(_7a1).datagrid("getPager"); -if(_7a8.pagination("options").total!=_7a7){ -_7a8.pagination({total:_7a7}); -} -} -_78b(_7a1); -_793(_7a1); -$(_7a1).treegrid("setSelectionState"); -$(_7a1).treegrid("autoSizeColumn"); -}; -function _78a(_7a9,_7aa,_7ab,_7ac,_7ad){ -var opts=$.data(_7a9,"treegrid").options; -var body=$(_7a9).datagrid("getPanel").find("div.datagrid-body"); -if(_7ab){ -opts.queryParams=_7ab; -} -var _7ae=$.extend({},opts.queryParams); -if(opts.pagination){ -$.extend(_7ae,{page:opts.pageNumber,rows:opts.pageSize}); -} -if(opts.sortName){ -$.extend(_7ae,{sort:opts.sortName,order:opts.sortOrder}); -} -var row=find(_7a9,_7aa); -if(opts.onBeforeLoad.call(_7a9,row,_7ae)==false){ -return; -} -var _7af=body.find("tr[node-id=\""+_7aa+"\"] span.tree-folder"); -_7af.addClass("tree-loading"); -$(_7a9).treegrid("loading"); -var _7b0=opts.loader.call(_7a9,_7ae,function(data){ -_7af.removeClass("tree-loading"); -$(_7a9).treegrid("loaded"); -_7a0(_7a9,_7aa,data,_7ac); -if(_7ad){ -_7ad(); -} -},function(){ -_7af.removeClass("tree-loading"); -$(_7a9).treegrid("loaded"); -opts.onLoadError.apply(_7a9,arguments); -if(_7ad){ -_7ad(); -} -}); -if(_7b0==false){ -_7af.removeClass("tree-loading"); -$(_7a9).treegrid("loaded"); -} -}; -function _7b1(_7b2){ -var rows=_7b3(_7b2); -if(rows.length){ -return rows[0]; -}else{ -return null; -} -}; -function _7b3(_7b4){ -return $.data(_7b4,"treegrid").data; -}; -function _7b5(_7b6,_7b7){ -var row=find(_7b6,_7b7); -if(row._parentId){ -return find(_7b6,row._parentId); -}else{ -return null; -} -}; -function _78f(_7b8,_7b9){ -var opts=$.data(_7b8,"treegrid").options; -var body=$(_7b8).datagrid("getPanel").find("div.datagrid-view2 div.datagrid-body"); -var _7ba=[]; -if(_7b9){ -_7bb(_7b9); -}else{ -var _7bc=_7b3(_7b8); -for(var i=0;i<_7bc.length;i++){ -_7ba.push(_7bc[i]); -_7bb(_7bc[i][opts.idField]); -} -} -function _7bb(_7bd){ -var _7be=find(_7b8,_7bd); -if(_7be&&_7be.children){ -for(var i=0,len=_7be.children.length;i").insertBefore(_7de); -if(hit.prev().length){ -hit.prev().remove(); -} -} -} -_7a0(_7dc,_7dd.parent,_7dd.data,true); -}; -function _7df(_7e0,_7e1){ -var ref=_7e1.before||_7e1.after; -var opts=$.data(_7e0,"treegrid").options; -var _7e2=_7b5(_7e0,ref); -_7db(_7e0,{parent:(_7e2?_7e2[opts.idField]:null),data:[_7e1.data]}); -_7e3(true); -_7e3(false); -_793(_7e0); -function _7e3(_7e4){ -var _7e5=_7e4?1:2; -var tr=opts.finder.getTr(_7e0,_7e1.data[opts.idField],"body",_7e5); -var _7e6=tr.closest("table.datagrid-btable"); -tr=tr.parent().children(); -var dest=opts.finder.getTr(_7e0,ref,"body",_7e5); -if(_7e1.before){ -tr.insertBefore(dest); -}else{ -var sub=dest.next("tr.treegrid-tr-tree"); -tr.insertAfter(sub.length?sub:dest); -} -_7e6.remove(); -}; -}; -function _7e7(_7e8,_7e9){ -var _7ea=$.data(_7e8,"treegrid"); -$(_7e8).datagrid("deleteRow",_7e9); -_793(_7e8); -_7ea.total-=1; -$(_7e8).datagrid("getPager").pagination("refresh",{total:_7ea.total}); -}; -$.fn.treegrid=function(_7eb,_7ec){ -if(typeof _7eb=="string"){ -var _7ed=$.fn.treegrid.methods[_7eb]; -if(_7ed){ -return _7ed(this,_7ec); -}else{ -return this.datagrid(_7eb,_7ec); -} -} -_7eb=_7eb||{}; -return this.each(function(){ -var _7ee=$.data(this,"treegrid"); -if(_7ee){ -$.extend(_7ee.options,_7eb); -}else{ -_7ee=$.data(this,"treegrid",{options:$.extend({},$.fn.treegrid.defaults,$.fn.treegrid.parseOptions(this),_7eb),data:[]}); -} -_771(this); -if(_7ee.options.data){ -$(this).treegrid("loadData",_7ee.options.data); -} -_78a(this); -_795(this); -}); -}; -$.fn.treegrid.methods={options:function(jq){ -return $.data(jq[0],"treegrid").options; -},resize:function(jq,_7ef){ -return jq.each(function(){ -$(this).datagrid("resize",_7ef); -}); -},fixRowHeight:function(jq,_7f0){ -return jq.each(function(){ -_78b(this,_7f0); -}); -},loadData:function(jq,data){ -return jq.each(function(){ -_7a0(this,data.parent,data); -}); -},load:function(jq,_7f1){ -return jq.each(function(){ -$(this).treegrid("options").pageNumber=1; -$(this).treegrid("getPager").pagination({pageNumber:1}); -$(this).treegrid("reload",_7f1); -}); -},reload:function(jq,id){ -return jq.each(function(){ -var opts=$(this).treegrid("options"); -var _7f2={}; -if(typeof id=="object"){ -_7f2=id; -}else{ -_7f2=$.extend({},opts.queryParams); -_7f2.id=id; -} -if(_7f2.id){ -var node=$(this).treegrid("find",_7f2.id); -if(node.children){ -node.children.splice(0,node.children.length); -} -opts.queryParams=_7f2; -var tr=opts.finder.getTr(this,_7f2.id); -tr.next("tr.treegrid-tr-tree").remove(); -tr.find("span.tree-hit").removeClass("tree-expanded tree-expanded-hover").addClass("tree-collapsed"); -_7c8(this,_7f2.id); -}else{ -_78a(this,null,_7f2); -} -}); -},reloadFooter:function(jq,_7f3){ -return jq.each(function(){ -var opts=$.data(this,"treegrid").options; -var dc=$.data(this,"datagrid").dc; -if(_7f3){ -$.data(this,"treegrid").footer=_7f3; -} -if(opts.showFooter){ -opts.view.renderFooter.call(opts.view,this,dc.footer1,true); -opts.view.renderFooter.call(opts.view,this,dc.footer2,false); -if(opts.view.onAfterRender){ -opts.view.onAfterRender.call(opts.view,this); -} -$(this).treegrid("fixRowHeight"); -} -}); -},getData:function(jq){ -return $.data(jq[0],"treegrid").data; -},getFooterRows:function(jq){ -return $.data(jq[0],"treegrid").footer; -},getRoot:function(jq){ -return _7b1(jq[0]); -},getRoots:function(jq){ -return _7b3(jq[0]); -},getParent:function(jq,id){ -return _7b5(jq[0],id); -},getChildren:function(jq,id){ -return _78f(jq[0],id); -},getLevel:function(jq,id){ -return _7c0(jq[0],id); -},find:function(jq,id){ -return find(jq[0],id); -},isLeaf:function(jq,id){ -var opts=$.data(jq[0],"treegrid").options; -var tr=opts.finder.getTr(jq[0],id); -var hit=tr.find("span.tree-hit"); -return hit.length==0; -},select:function(jq,id){ -return jq.each(function(){ -$(this).datagrid("selectRow",id); -}); -},unselect:function(jq,id){ -return jq.each(function(){ -$(this).datagrid("unselectRow",id); -}); -},collapse:function(jq,id){ -return jq.each(function(){ -_7c5(this,id); -}); -},expand:function(jq,id){ -return jq.each(function(){ -_7c8(this,id); -}); -},toggle:function(jq,id){ -return jq.each(function(){ -_798(this,id); -}); -},collapseAll:function(jq,id){ -return jq.each(function(){ -_7d0(this,id); -}); -},expandAll:function(jq,id){ -return jq.each(function(){ -_7d4(this,id); -}); -},expandTo:function(jq,id){ -return jq.each(function(){ -_7d8(this,id); -}); -},append:function(jq,_7f4){ -return jq.each(function(){ -_7db(this,_7f4); -}); -},insert:function(jq,_7f5){ -return jq.each(function(){ -_7df(this,_7f5); -}); -},remove:function(jq,id){ -return jq.each(function(){ -_7e7(this,id); -}); -},pop:function(jq,id){ -var row=jq.treegrid("find",id); -jq.treegrid("remove",id); -return row; -},refresh:function(jq,id){ -return jq.each(function(){ -var opts=$.data(this,"treegrid").options; -opts.view.refreshRow.call(opts.view,this,id); -}); -},update:function(jq,_7f6){ -return jq.each(function(){ -var opts=$.data(this,"treegrid").options; -opts.view.updateRow.call(opts.view,this,_7f6.id,_7f6.row); -}); -},beginEdit:function(jq,id){ -return jq.each(function(){ -$(this).datagrid("beginEdit",id); -$(this).treegrid("fixRowHeight",id); -}); -},endEdit:function(jq,id){ -return jq.each(function(){ -$(this).datagrid("endEdit",id); -}); -},cancelEdit:function(jq,id){ -return jq.each(function(){ -$(this).datagrid("cancelEdit",id); -}); -}}; -$.fn.treegrid.parseOptions=function(_7f7){ -return $.extend({},$.fn.datagrid.parseOptions(_7f7),$.parser.parseOptions(_7f7,["treeField",{animate:"boolean"}])); -}; -var _7f8=$.extend({},$.fn.datagrid.defaults.view,{render:function(_7f9,_7fa,_7fb){ -var opts=$.data(_7f9,"treegrid").options; -var _7fc=$(_7f9).datagrid("getColumnFields",_7fb); -var _7fd=$.data(_7f9,"datagrid").rowIdPrefix; -if(_7fb){ -if(!(opts.rownumbers||(opts.frozenColumns&&opts.frozenColumns.length))){ -return; -} -} -var _7fe=0; -var view=this; -var _7ff=_800(_7fb,this.treeLevel,this.treeNodes); -$(_7fa).append(_7ff.join("")); -function _800(_801,_802,_803){ -var _804=[""]; -for(var i=0;i<_803.length;i++){ -var row=_803[i]; -if(row.state!="open"&&row.state!="closed"){ -row.state="open"; -} -var css=opts.rowStyler?opts.rowStyler.call(_7f9,row):""; -var _805=""; -var _806=""; -if(typeof css=="string"){ -_806=css; -}else{ -if(css){ -_805=css["class"]||""; -_806=css["style"]||""; -} -} -var cls="class=\"datagrid-row "+(_7fe++%2&&opts.striped?"datagrid-row-alt ":" ")+_805+"\""; -var _807=_806?"style=\""+_806+"\"":""; -var _808=_7fd+"-"+(_801?1:2)+"-"+row[opts.idField]; -_804.push(""); -_804=_804.concat(view.renderRow.call(view,_7f9,_7fc,_801,_802,row)); -_804.push(""); -if(row.children&&row.children.length){ -var tt=_800(_801,_802+1,row.children); -var v=row.state=="closed"?"none":"block"; -_804.push(""); -} -} -_804.push("
                                      "); -_804=_804.concat(tt); -_804.push("
                                      "); -return _804; -}; -},renderFooter:function(_809,_80a,_80b){ -var opts=$.data(_809,"treegrid").options; -var rows=$.data(_809,"treegrid").footer||[]; -var _80c=$(_809).datagrid("getColumnFields",_80b); -var _80d=[""]; -for(var i=0;i"); -_80d.push(this.renderRow.call(this,_809,_80c,_80b,0,row)); -_80d.push(""); -} -_80d.push("
                                      "); -$(_80a).html(_80d.join("")); -},renderRow:function(_80e,_80f,_810,_811,row){ -var opts=$.data(_80e,"treegrid").options; -var cc=[]; -if(_810&&opts.rownumbers){ -cc.push("
                                      0
                                      "); -} -for(var i=0;i<_80f.length;i++){ -var _812=_80f[i]; -var col=$(_80e).datagrid("getColumnOption",_812); -if(col){ -var css=col.styler?(col.styler(row[_812],row)||""):""; -var _813=""; -var _814=""; -if(typeof css=="string"){ -_814=css; -}else{ -if(cc){ -_813=css["class"]||""; -_814=css["style"]||""; -} -} -var cls=_813?"class=\""+_813+"\"":""; -var _815=col.hidden?"style=\"display:none;"+_814+"\"":(_814?"style=\""+_814+"\"":""); -cc.push(""); -var _815=""; -if(!col.checkbox){ -if(col.align){ -_815+="text-align:"+col.align+";"; -} -if(!opts.nowrap){ -_815+="white-space:normal;height:auto;"; -}else{ -if(opts.autoRowHeight){ -_815+="height:auto;"; -} -} -} -cc.push("
                                      "); -if(col.checkbox){ -if(row.checked){ -cc.push(""); -}else{ -var val=null; -if(col.formatter){ -val=col.formatter(row[_812],row); -}else{ -val=row[_812]; -} -if(_812==opts.treeField){ -for(var j=0;j<_811;j++){ -cc.push(""); -} -if(row.state=="closed"){ -cc.push(""); -cc.push(""); -}else{ -if(row.children&&row.children.length){ -cc.push(""); -cc.push(""); -}else{ -cc.push(""); -cc.push(""); -} -} -cc.push(""+val+""); -}else{ -cc.push(val); -} -} -cc.push("
                                      "); -cc.push(""); -} -} -return cc.join(""); -},refreshRow:function(_816,id){ -this.updateRow.call(this,_816,id,{}); -},updateRow:function(_817,id,row){ -var opts=$.data(_817,"treegrid").options; -var _818=$(_817).treegrid("find",id); -$.extend(_818,row); -var _819=$(_817).treegrid("getLevel",id)-1; -var _81a=opts.rowStyler?opts.rowStyler.call(_817,_818):""; -function _81b(_81c){ -var _81d=$(_817).treegrid("getColumnFields",_81c); -var tr=opts.finder.getTr(_817,id,"body",(_81c?1:2)); -var _81e=tr.find("div.datagrid-cell-rownumber").html(); -var _81f=tr.find("div.datagrid-cell-check input[type=checkbox]").is(":checked"); -tr.html(this.renderRow(_817,_81d,_81c,_819,_818)); -tr.attr("style",_81a||""); -tr.find("div.datagrid-cell-rownumber").html(_81e); -if(_81f){ -tr.find("div.datagrid-cell-check input[type=checkbox]")._propAttr("checked",true); -} -}; -_81b.call(this,true); -_81b.call(this,false); -$(_817).treegrid("fixRowHeight",id); -},deleteRow:function(_820,id){ -var opts=$.data(_820,"treegrid").options; -var tr=opts.finder.getTr(_820,id); -tr.next("tr.treegrid-tr-tree").remove(); -tr.remove(); -var _821=del(id); -if(_821){ -if(_821.children.length==0){ -tr=opts.finder.getTr(_820,_821[opts.idField]); -tr.next("tr.treegrid-tr-tree").remove(); -var cell=tr.children("td[field=\""+opts.treeField+"\"]").children("div.datagrid-cell"); -cell.find(".tree-icon").removeClass("tree-folder").addClass("tree-file"); -cell.find(".tree-hit").remove(); -$("").prependTo(cell); -} -} -function del(id){ -var cc; -var _822=$(_820).treegrid("getParent",id); -if(_822){ -cc=_822.children; -}else{ -cc=$(_820).treegrid("getData"); -} -for(var i=0;ib?1:-1); -}; -r=_82d(r1[sn],r2[sn])*(so=="asc"?1:-1); -if(r!=0){ -return r; -} -} -return r; -}); -for(var i=0;i"+""+""+""+"").insertAfter(_847); -var _848=$("
                                      ").appendTo("body"); -_848.panel({doSize:false,closed:true,cls:"combo-p",style:{position:"absolute",zIndex:10},onOpen:function(){ -var p=$(this).panel("panel"); -if($.fn.menu){ -p.css("z-index",$.fn.menu.defaults.zIndex++); -}else{ -if($.fn.window){ -p.css("z-index",$.fn.window.defaults.zIndex++); -} -} -$(this).panel("resize"); -},onBeforeClose:function(){ -_854(this); -},onClose:function(){ -var _849=$.data(_847,"combo"); -if(_849){ -_849.options.onHidePanel.call(_847); -} -}}); -var name=$(_847).attr("name"); -if(name){ -span.find("input.combo-value").attr("name",name); -$(_847).removeAttr("name").attr("comboName",name); -} -return {combo:span,panel:_848}; -}; -function _84a(_84b){ -var _84c=$.data(_84b,"combo"); -var opts=_84c.options; -var _84d=_84c.combo; -if(opts.hasDownArrow){ -_84d.find(".combo-arrow").show(); -}else{ -_84d.find(".combo-arrow").hide(); -} -_84e(_84b,opts.disabled); -_84f(_84b,opts.readonly); -}; -function _850(_851){ -var _852=$.data(_851,"combo"); -var _853=_852.combo.find("input.combo-text"); -_853.validatebox("destroy"); -_852.panel.panel("destroy"); -_852.combo.remove(); -$(_851).remove(); -}; -function _854(_855){ -$(_855).find(".combo-f").each(function(){ -var p=$(this).combo("panel"); -if(p.is(":visible")){ -p.panel("close"); -} -}); -}; -function _856(_857){ -var _858=$.data(_857,"combo"); -var opts=_858.options; -var _859=_858.panel; -var _85a=_858.combo; -var _85b=_85a.find(".combo-text"); -var _85c=_85a.find(".combo-arrow"); -$(document).unbind(".combo").bind("mousedown.combo",function(e){ -var p=$(e.target).closest("span.combo,div.combo-p"); -if(p.length){ -_854(p); -return; -} -$("body>div.combo-p>div.combo-panel:visible").panel("close"); -}); -_85b.unbind(".combo"); -_85c.unbind(".combo"); -if(!opts.disabled&&!opts.readonly){ -_85b.bind("click.combo",function(e){ -if(!opts.editable){ -_85d.call(this); -}else{ -var p=$(this).closest("div.combo-panel"); -$("div.combo-panel:visible").not(_859).not(p).panel("close"); -} -}).bind("keydown.combo paste.combo drop.combo",function(e){ -switch(e.keyCode){ -case 38: -opts.keyHandler.up.call(_857,e); -break; -case 40: -opts.keyHandler.down.call(_857,e); -break; -case 37: -opts.keyHandler.left.call(_857,e); -break; -case 39: -opts.keyHandler.right.call(_857,e); -break; -case 13: -e.preventDefault(); -opts.keyHandler.enter.call(_857,e); -return false; -case 9: -case 27: -_85e(_857); -break; -default: -if(opts.editable){ -if(_858.timer){ -clearTimeout(_858.timer); -} -_858.timer=setTimeout(function(){ -var q=_85b.val(); -if(_858.previousValue!=q){ -_858.previousValue=q; -$(_857).combo("showPanel"); -opts.keyHandler.query.call(_857,_85b.val(),e); -$(_857).combo("validate"); -} -},opts.delay); -} -} -}); -_85c.bind("click.combo",function(){ -_85d.call(this); -}).bind("mouseenter.combo",function(){ -$(this).addClass("combo-arrow-hover"); -}).bind("mouseleave.combo",function(){ -$(this).removeClass("combo-arrow-hover"); -}); -} -function _85d(){ -if(_859.is(":visible")){ -_85e(_857); -}else{ -var p=$(this).closest("div.combo-panel"); -$("div.combo-panel:visible").not(_859).not(p).panel("close"); -$(_857).combo("showPanel"); -} -_85b.focus(); -}; -}; -function _85f(_860){ -var _861=$.data(_860,"combo"); -var opts=_861.options; -var _862=_861.combo; -var _863=_861.panel; -_863.panel("move",{left:_864(),top:_865()}); -if(_863.panel("options").closed){ -_863.panel("open"); -opts.onShowPanel.call(_860); -} -(function(){ -if(_863.is(":visible")){ -_863.panel("move",{left:_864(),top:_865()}); -setTimeout(arguments.callee,200); -} -})(); -function _864(){ -var left=_862.offset().left; -if(opts.panelAlign=="right"){ -left+=_862._outerWidth()-_863._outerWidth(); -} -if(left+_863._outerWidth()>$(window)._outerWidth()+$(document).scrollLeft()){ -left=$(window)._outerWidth()+$(document).scrollLeft()-_863._outerWidth(); -} -if(left<0){ -left=0; -} -return left; -}; -function _865(){ -var top=_862.offset().top+_862._outerHeight(); -if(top+_863._outerHeight()>$(window)._outerHeight()+$(document).scrollTop()){ -top=_862.offset().top-_863._outerHeight(); -} -if(top<$(document).scrollTop()){ -top=_862.offset().top+_862._outerHeight(); -} -return top; -}; -}; -function _85e(_866){ -var _867=$.data(_866,"combo").panel; -_867.panel("close"); -}; -function _868(_869){ -var opts=$.data(_869,"combo").options; -var _86a=$(_869).combo("textbox"); -_86a.validatebox($.extend({},opts,{deltaX:(opts.hasDownArrow?opts.deltaX:(opts.deltaX>0?1:-1))})); -}; -function _84e(_86b,_86c){ -var _86d=$.data(_86b,"combo"); -var opts=_86d.options; -var _86e=_86d.combo; -if(_86c){ -opts.disabled=true; -$(_86b).attr("disabled",true); -_86e.find(".combo-value").attr("disabled",true); -_86e.find(".combo-text").attr("disabled",true); -}else{ -opts.disabled=false; -$(_86b).removeAttr("disabled"); -_86e.find(".combo-value").removeAttr("disabled"); -_86e.find(".combo-text").removeAttr("disabled"); -} -}; -function _84f(_86f,mode){ -var _870=$.data(_86f,"combo"); -var opts=_870.options; -opts.readonly=mode==undefined?true:mode; -var _871=opts.readonly?true:(!opts.editable); -_870.combo.find(".combo-text").attr("readonly",_871).css("cursor",_871?"pointer":""); -}; -function _872(_873){ -var _874=$.data(_873,"combo"); -var opts=_874.options; -var _875=_874.combo; -if(opts.multiple){ -_875.find("input.combo-value").remove(); -}else{ -_875.find("input.combo-value").val(""); -} -_875.find("input.combo-text").val(""); -}; -function _876(_877){ -var _878=$.data(_877,"combo").combo; -return _878.find("input.combo-text").val(); -}; -function _879(_87a,text){ -var _87b=$.data(_87a,"combo"); -var _87c=_87b.combo.find("input.combo-text"); -if(_87c.val()!=text){ -_87c.val(text); -$(_87a).combo("validate"); -_87b.previousValue=text; -} -}; -function _87d(_87e){ -var _87f=[]; -var _880=$.data(_87e,"combo").combo; -_880.find("input.combo-value").each(function(){ -_87f.push($(this).val()); -}); -return _87f; -}; -function _881(_882,_883){ -var opts=$.data(_882,"combo").options; -var _884=_87d(_882); -var _885=$.data(_882,"combo").combo; -_885.find("input.combo-value").remove(); -var name=$(_882).attr("comboName"); -for(var i=0;i<_883.length;i++){ -var _886=$("").appendTo(_885); -if(name){ -_886.attr("name",name); -} -_886.val(_883[i]); -} -var tmp=[]; -for(var i=0;i<_884.length;i++){ -tmp[i]=_884[i]; -} -var aa=[]; -for(var i=0;i<_883.length;i++){ -for(var j=0;j_8a3.height()){ -var h=_8a3.scrollTop()+item.position().top+item.outerHeight()-_8a3.height(); -_8a3.scrollTop(h); -} -} -} -}; -function nav(_8a4,dir){ -var opts=$.data(_8a4,"combobox").options; -var _8a5=$(_8a4).combobox("panel"); -var item=_8a5.children("div.combobox-item-hover"); -if(!item.length){ -item=_8a5.children("div.combobox-item-selected"); -} -item.removeClass("combobox-item-hover"); -var _8a6="div.combobox-item:visible:not(.combobox-item-disabled):first"; -var _8a7="div.combobox-item:visible:not(.combobox-item-disabled):last"; -if(!item.length){ -item=_8a5.children(dir=="next"?_8a6:_8a7); -}else{ -if(dir=="next"){ -item=item.nextAll(_8a6); -if(!item.length){ -item=_8a5.children(_8a6); -} -}else{ -item=item.prevAll(_8a6); -if(!item.length){ -item=_8a5.children(_8a7); -} -} -} -if(item.length){ -item.addClass("combobox-item-hover"); -var row=opts.finder.getRow(_8a4,item); -if(row){ -_8a0(_8a4,row[opts.valueField]); -if(opts.selectOnNavigation){ -_8a8(_8a4,row[opts.valueField]); -} -} -} -}; -function _8a8(_8a9,_8aa){ -var opts=$.data(_8a9,"combobox").options; -var _8ab=$(_8a9).combo("getValues"); -if($.inArray(_8aa+"",_8ab)==-1){ -if(opts.multiple){ -_8ab.push(_8aa); -}else{ -_8ab=[_8aa]; -} -_8ac(_8a9,_8ab); -opts.onSelect.call(_8a9,opts.finder.getRow(_8a9,_8aa)); -} -}; -function _8ad(_8ae,_8af){ -var opts=$.data(_8ae,"combobox").options; -var _8b0=$(_8ae).combo("getValues"); -var _8b1=$.inArray(_8af+"",_8b0); -if(_8b1>=0){ -_8b0.splice(_8b1,1); -_8ac(_8ae,_8b0); -opts.onUnselect.call(_8ae,opts.finder.getRow(_8ae,_8af)); -} -}; -function _8ac(_8b2,_8b3,_8b4){ -var opts=$.data(_8b2,"combobox").options; -var _8b5=$(_8b2).combo("panel"); -_8b5.find("div.combobox-item-selected").removeClass("combobox-item-selected"); -var vv=[],ss=[]; -for(var i=0;i<_8b3.length;i++){ -var v=_8b3[i]; -var s=v; -opts.finder.getEl(_8b2,v).addClass("combobox-item-selected"); -var row=opts.finder.getRow(_8b2,v); -if(row){ -s=row[opts.textField]; -} -vv.push(v); -ss.push(s); -} -$(_8b2).combo("setValues",vv); -if(!_8b4){ -$(_8b2).combo("setText",ss.join(opts.separator)); -} -}; -function _8b6(_8b7,data,_8b8){ -var _8b9=$.data(_8b7,"combobox"); -var opts=_8b9.options; -_8b9.data=opts.loadFilter.call(_8b7,data); -_8b9.groups=[]; -data=_8b9.data; -var _8ba=$(_8b7).combobox("getValues"); -var dd=[]; -var _8bb=undefined; -for(var i=0;i"); -dd.push(opts.groupFormatter?opts.groupFormatter.call(_8b7,g):g); -dd.push("
                                      "); -} -}else{ -_8bb=undefined; -} -var cls="combobox-item"+(row.disabled?" combobox-item-disabled":"")+(g?" combobox-gitem":""); -dd.push("
                                      "); -dd.push(opts.formatter?opts.formatter.call(_8b7,row):s); -dd.push("
                                      "); -if(row["selected"]&&$.inArray(v,_8ba)==-1){ -_8ba.push(v); -} -} -$(_8b7).combo("panel").html(dd.join("")); -if(opts.multiple){ -_8ac(_8b7,_8ba,_8b8); -}else{ -_8ac(_8b7,_8ba.length?[_8ba[_8ba.length-1]]:[],_8b8); -} -opts.onLoadSuccess.call(_8b7,data); -}; -function _8bc(_8bd,url,_8be,_8bf){ -var opts=$.data(_8bd,"combobox").options; -if(url){ -opts.url=url; -} -_8be=_8be||{}; -if(opts.onBeforeLoad.call(_8bd,_8be)==false){ -return; -} -opts.loader.call(_8bd,_8be,function(data){ -_8b6(_8bd,data,_8bf); -},function(){ -opts.onLoadError.apply(this,arguments); -}); -}; -function _8c0(_8c1,q){ -var _8c2=$.data(_8c1,"combobox"); -var opts=_8c2.options; -if(opts.multiple&&!q){ -_8ac(_8c1,[],true); -}else{ -_8ac(_8c1,[q],true); -} -if(opts.mode=="remote"){ -_8bc(_8c1,null,{q:q},true); -}else{ -var _8c3=$(_8c1).combo("panel"); -_8c3.find("div.combobox-item-selected,div.combobox-item-hover").removeClass("combobox-item-selected combobox-item-hover"); -_8c3.find("div.combobox-item,div.combobox-group").hide(); -var data=_8c2.data; -var vv=[]; -var qq=opts.multiple?q.split(opts.separator):[q]; -$.map(qq,function(q){ -q=$.trim(q); -var _8c4=undefined; -for(var i=0;i=0){ -vv.push(v); -} -}); -t.combobox("setValues",vv); -if(!opts.multiple){ -t.combobox("hidePanel"); -} -}; -function _8c9(_8ca){ -var _8cb=$.data(_8ca,"combobox"); -var opts=_8cb.options; -_89b++; -_8cb.itemIdPrefix="_easyui_combobox_i"+_89b; -_8cb.groupIdPrefix="_easyui_combobox_g"+_89b; -$(_8ca).addClass("combobox-f"); -$(_8ca).combo($.extend({},opts,{onShowPanel:function(){ -$(_8ca).combo("panel").find("div.combobox-item,div.combobox-group").show(); -_8a0(_8ca,$(_8ca).combobox("getValue")); -opts.onShowPanel.call(_8ca); -}})); -$(_8ca).combo("panel").unbind().bind("mouseover",function(e){ -$(this).children("div.combobox-item-hover").removeClass("combobox-item-hover"); -var item=$(e.target).closest("div.combobox-item"); -if(!item.hasClass("combobox-item-disabled")){ -item.addClass("combobox-item-hover"); -} -e.stopPropagation(); -}).bind("mouseout",function(e){ -$(e.target).closest("div.combobox-item").removeClass("combobox-item-hover"); -e.stopPropagation(); -}).bind("click",function(e){ -var item=$(e.target).closest("div.combobox-item"); -if(!item.length||item.hasClass("combobox-item-disabled")){ -return; -} -var row=opts.finder.getRow(_8ca,item); -if(!row){ -return; -} -var _8cc=row[opts.valueField]; -if(opts.multiple){ -if(item.hasClass("combobox-item-selected")){ -_8ad(_8ca,_8cc); -}else{ -_8a8(_8ca,_8cc); -} -}else{ -_8a8(_8ca,_8cc); -$(_8ca).combo("hidePanel"); -} -e.stopPropagation(); -}); -}; -$.fn.combobox=function(_8cd,_8ce){ -if(typeof _8cd=="string"){ -var _8cf=$.fn.combobox.methods[_8cd]; -if(_8cf){ -return _8cf(this,_8ce); -}else{ -return this.combo(_8cd,_8ce); -} -} -_8cd=_8cd||{}; -return this.each(function(){ -var _8d0=$.data(this,"combobox"); -if(_8d0){ -$.extend(_8d0.options,_8cd); -_8c9(this); -}else{ -_8d0=$.data(this,"combobox",{options:$.extend({},$.fn.combobox.defaults,$.fn.combobox.parseOptions(this),_8cd),data:[]}); -_8c9(this); -var data=$.fn.combobox.parseData(this); -if(data.length){ -_8b6(this,data); -} -} -if(_8d0.options.data){ -_8b6(this,_8d0.options.data); -} -_8bc(this); -}); -}; -$.fn.combobox.methods={options:function(jq){ -var _8d1=jq.combo("options"); -return $.extend($.data(jq[0],"combobox").options,{originalValue:_8d1.originalValue,disabled:_8d1.disabled,readonly:_8d1.readonly}); -},getData:function(jq){ -return $.data(jq[0],"combobox").data; -},setValues:function(jq,_8d2){ -return jq.each(function(){ -_8ac(this,_8d2); -}); -},setValue:function(jq,_8d3){ -return jq.each(function(){ -_8ac(this,[_8d3]); -}); -},clear:function(jq){ -return jq.each(function(){ -$(this).combo("clear"); -var _8d4=$(this).combo("panel"); -_8d4.find("div.combobox-item-selected").removeClass("combobox-item-selected"); -}); -},reset:function(jq){ -return jq.each(function(){ -var opts=$(this).combobox("options"); -if(opts.multiple){ -$(this).combobox("setValues",opts.originalValue); -}else{ -$(this).combobox("setValue",opts.originalValue); -} -}); -},loadData:function(jq,data){ -return jq.each(function(){ -_8b6(this,data); -}); -},reload:function(jq,url){ -return jq.each(function(){ -_8bc(this,url); -}); -},select:function(jq,_8d5){ -return jq.each(function(){ -_8a8(this,_8d5); -}); -},unselect:function(jq,_8d6){ -return jq.each(function(){ -_8ad(this,_8d6); -}); -}}; -$.fn.combobox.parseOptions=function(_8d7){ -var t=$(_8d7); -return $.extend({},$.fn.combo.parseOptions(_8d7),$.parser.parseOptions(_8d7,["valueField","textField","groupField","mode","method","url"])); -}; -$.fn.combobox.parseData=function(_8d8){ -var data=[]; -var opts=$(_8d8).combobox("options"); -$(_8d8).children().each(function(){ -if(this.tagName.toLowerCase()=="optgroup"){ -var _8d9=$(this).attr("label"); -$(this).children().each(function(){ -_8da(this,_8d9); -}); -}else{ -_8da(this); -} -}); -return data; -function _8da(el,_8db){ -var t=$(el); -var row={}; -row[opts.valueField]=t.attr("value")!=undefined?t.attr("value"):t.text(); -row[opts.textField]=t.text(); -row["selected"]=t.is(":selected"); -row["disabled"]=t.is(":disabled"); -if(_8db){ -opts.groupField=opts.groupField||"group"; -row[opts.groupField]=_8db; -} -data.push(row); -}; -}; -$.fn.combobox.defaults=$.extend({},$.fn.combo.defaults,{valueField:"value",textField:"text",groupField:null,groupFormatter:function(_8dc){ -return _8dc; -},mode:"local",method:"post",url:null,data:null,keyHandler:{up:function(e){ -nav(this,"prev"); -e.preventDefault(); -},down:function(e){ -nav(this,"next"); -e.preventDefault(); -},left:function(e){ -},right:function(e){ -},enter:function(e){ -_8c5(this); -},query:function(q,e){ -_8c0(this,q); -}},filter:function(q,row){ -var opts=$(this).combobox("options"); -return row[opts.textField].toLowerCase().indexOf(q.toLowerCase())==0; -},formatter:function(row){ -var opts=$(this).combobox("options"); -return row[opts.textField]; -},loader:function(_8dd,_8de,_8df){ -var opts=$(this).combobox("options"); -if(!opts.url){ -return false; -} -$.ajax({type:opts.method,url:opts.url,data:_8dd,dataType:"json",success:function(data){ -_8de(data); -},error:function(){ -_8df.apply(this,arguments); -}}); -},loadFilter:function(data){ -return data; -},finder:{getEl:function(_8e0,_8e1){ -var _8e2=_89c(_8e0,_8e1); -var id=$.data(_8e0,"combobox").itemIdPrefix+"_"+_8e2; -return $("#"+id); -},getRow:function(_8e3,p){ -var _8e4=$.data(_8e3,"combobox"); -var _8e5=(p instanceof jQuery)?p.attr("id").substr(_8e4.itemIdPrefix.length+1):_89c(_8e3,p); -return _8e4.data[parseInt(_8e5)]; -}},onBeforeLoad:function(_8e6){ -},onLoadSuccess:function(){ -},onLoadError:function(){ -},onSelect:function(_8e7){ -},onUnselect:function(_8e8){ -}}); -})(jQuery); -(function($){ -function _8e9(_8ea){ -var _8eb=$.data(_8ea,"combotree"); -var opts=_8eb.options; -var tree=_8eb.tree; -$(_8ea).addClass("combotree-f"); -$(_8ea).combo(opts); -var _8ec=$(_8ea).combo("panel"); -if(!tree){ -tree=$("
                                        ").appendTo(_8ec); -$.data(_8ea,"combotree").tree=tree; -} -tree.tree($.extend({},opts,{checkbox:opts.multiple,onLoadSuccess:function(node,data){ -var _8ed=$(_8ea).combotree("getValues"); -if(opts.multiple){ -var _8ee=tree.tree("getChecked"); -for(var i=0;i<_8ee.length;i++){ -var id=_8ee[i].id; -(function(){ -for(var i=0;i<_8ed.length;i++){ -if(id==_8ed[i]){ -return; -} -} -_8ed.push(id); -})(); -} -} -var _8ef=$(this).tree("options"); -var _8f0=_8ef.onCheck; -var _8f1=_8ef.onSelect; -_8ef.onCheck=_8ef.onSelect=function(){ -}; -$(_8ea).combotree("setValues",_8ed); -_8ef.onCheck=_8f0; -_8ef.onSelect=_8f1; -opts.onLoadSuccess.call(this,node,data); -},onClick:function(node){ -if(opts.multiple){ -$(this).tree(node.checked?"uncheck":"check",node.target); -}else{ -$(_8ea).combo("hidePanel"); -} -_8f3(_8ea); -opts.onClick.call(this,node); -},onCheck:function(node,_8f2){ -_8f3(_8ea); -opts.onCheck.call(this,node,_8f2); -}})); -}; -function _8f3(_8f4){ -var _8f5=$.data(_8f4,"combotree"); -var opts=_8f5.options; -var tree=_8f5.tree; -var vv=[],ss=[]; -if(opts.multiple){ -var _8f6=tree.tree("getChecked"); -for(var i=0;i<_8f6.length;i++){ -vv.push(_8f6[i].id); -ss.push(_8f6[i].text); -} -}else{ -var node=tree.tree("getSelected"); -if(node){ -vv.push(node.id); -ss.push(node.text); -} -} -$(_8f4).combo("setValues",vv).combo("setText",ss.join(opts.separator)); -}; -function _8f7(_8f8,_8f9){ -var opts=$.data(_8f8,"combotree").options; -var tree=$.data(_8f8,"combotree").tree; -tree.find("span.tree-checkbox").addClass("tree-checkbox0").removeClass("tree-checkbox1 tree-checkbox2"); -var vv=[],ss=[]; -for(var i=0;i<_8f9.length;i++){ -var v=_8f9[i]; -var s=v; -var node=tree.tree("find",v); -if(node){ -s=node.text; -tree.tree("check",node.target); -tree.tree("select",node.target); -} -vv.push(v); -ss.push(s); -} -$(_8f8).combo("setValues",vv).combo("setText",ss.join(opts.separator)); -}; -$.fn.combotree=function(_8fa,_8fb){ -if(typeof _8fa=="string"){ -var _8fc=$.fn.combotree.methods[_8fa]; -if(_8fc){ -return _8fc(this,_8fb); -}else{ -return this.combo(_8fa,_8fb); -} -} -_8fa=_8fa||{}; -return this.each(function(){ -var _8fd=$.data(this,"combotree"); -if(_8fd){ -$.extend(_8fd.options,_8fa); -}else{ -$.data(this,"combotree",{options:$.extend({},$.fn.combotree.defaults,$.fn.combotree.parseOptions(this),_8fa)}); -} -_8e9(this); -}); -}; -$.fn.combotree.methods={options:function(jq){ -var _8fe=jq.combo("options"); -return $.extend($.data(jq[0],"combotree").options,{originalValue:_8fe.originalValue,disabled:_8fe.disabled,readonly:_8fe.readonly}); -},tree:function(jq){ -return $.data(jq[0],"combotree").tree; -},loadData:function(jq,data){ -return jq.each(function(){ -var opts=$.data(this,"combotree").options; -opts.data=data; -var tree=$.data(this,"combotree").tree; -tree.tree("loadData",data); -}); -},reload:function(jq,url){ -return jq.each(function(){ -var opts=$.data(this,"combotree").options; -var tree=$.data(this,"combotree").tree; -if(url){ -opts.url=url; -} -tree.tree({url:opts.url}); -}); -},setValues:function(jq,_8ff){ -return jq.each(function(){ -_8f7(this,_8ff); -}); -},setValue:function(jq,_900){ -return jq.each(function(){ -_8f7(this,[_900]); -}); -},clear:function(jq){ -return jq.each(function(){ -var tree=$.data(this,"combotree").tree; -tree.find("div.tree-node-selected").removeClass("tree-node-selected"); -var cc=tree.tree("getChecked"); -for(var i=0;i").appendTo(_905); -_904.grid=grid; -} -grid.datagrid($.extend({},opts,{border:false,fit:true,singleSelect:(!opts.multiple),onLoadSuccess:function(data){ -var _906=$(_903).combo("getValues"); -var _907=opts.onSelect; -opts.onSelect=function(){ -}; -_911(_903,_906,_904.remainText); -opts.onSelect=_907; -opts.onLoadSuccess.apply(_903,arguments); -},onClickRow:_908,onSelect:function(_909,row){ -_90a(); -opts.onSelect.call(this,_909,row); -},onUnselect:function(_90b,row){ -_90a(); -opts.onUnselect.call(this,_90b,row); -},onSelectAll:function(rows){ -_90a(); -opts.onSelectAll.call(this,rows); -},onUnselectAll:function(rows){ -if(opts.multiple){ -_90a(); -} -opts.onUnselectAll.call(this,rows); -}})); -function _908(_90c,row){ -_904.remainText=false; -_90a(); -if(!opts.multiple){ -$(_903).combo("hidePanel"); -} -opts.onClickRow.call(this,_90c,row); -}; -function _90a(){ -var rows=grid.datagrid("getSelections"); -var vv=[],ss=[]; -for(var i=0;i=_90f){ -_910=0; -} -} -grid.datagrid("highlightRow",_910); -if(opts.selectOnNavigation){ -_90e.remainText=false; -grid.datagrid("selectRow",_910); -} -}; -function _911(_912,_913,_914){ -var _915=$.data(_912,"combogrid"); -var opts=_915.options; -var grid=_915.grid; -var rows=grid.datagrid("getRows"); -var ss=[]; -var _916=$(_912).combo("getValues"); -var _917=$(_912).combo("options"); -var _918=_917.onChange; -_917.onChange=function(){ -}; -grid.datagrid("clearSelections"); -for(var i=0;i<_913.length;i++){ -var _919=grid.datagrid("getRowIndex",_913[i]); -if(_919>=0){ -grid.datagrid("selectRow",_919); -ss.push(rows[_919][opts.textField]); -}else{ -ss.push(_913[i]); -} -} -$(_912).combo("setValues",_916); -_917.onChange=_918; -$(_912).combo("setValues",_913); -if(!_914){ -var s=ss.join(opts.separator); -if($(_912).combo("getText")!=s){ -$(_912).combo("setText",s); -} -} -}; -function _91a(_91b,q){ -var _91c=$.data(_91b,"combogrid"); -var opts=_91c.options; -var grid=_91c.grid; -_91c.remainText=true; -if(opts.multiple&&!q){ -_911(_91b,[],true); -}else{ -_911(_91b,[q],true); -} -if(opts.mode=="remote"){ -grid.datagrid("clearSelections"); -grid.datagrid("load",$.extend({},opts.queryParams,{q:q})); -}else{ -if(!q){ -return; -} -grid.datagrid("clearSelections").datagrid("highlightRow",-1); -var rows=grid.datagrid("getRows"); -var qq=opts.multiple?q.split(opts.separator):[q]; -$.map(qq,function(q){ -q=$.trim(q); -if(q){ -$.map(rows,function(row,i){ -if(q==row[opts.textField]){ -grid.datagrid("selectRow",i); -}else{ -if(opts.filter.call(_91b,q,row)){ -grid.datagrid("highlightRow",i); -} -} -}); -} -}); -} -}; -function _91d(_91e){ -var _91f=$.data(_91e,"combogrid"); -var opts=_91f.options; -var grid=_91f.grid; -var tr=opts.finder.getTr(grid[0],null,"highlight"); -_91f.remainText=false; -if(tr.length){ -var _920=parseInt(tr.attr("datagrid-row-index")); -if(opts.multiple){ -if(tr.hasClass("datagrid-row-selected")){ -grid.datagrid("unselectRow",_920); -}else{ -grid.datagrid("selectRow",_920); -} -}else{ -grid.datagrid("selectRow",_920); -} -} -var vv=[]; -$.map(grid.datagrid("getSelections"),function(row){ -vv.push(row[opts.idField]); -}); -$(_91e).combogrid("setValues",vv); -if(!opts.multiple){ -$(_91e).combogrid("hidePanel"); -} -}; -$.fn.combogrid=function(_921,_922){ -if(typeof _921=="string"){ -var _923=$.fn.combogrid.methods[_921]; -if(_923){ -return _923(this,_922); -}else{ -return this.combo(_921,_922); -} -} -_921=_921||{}; -return this.each(function(){ -var _924=$.data(this,"combogrid"); -if(_924){ -$.extend(_924.options,_921); -}else{ -_924=$.data(this,"combogrid",{options:$.extend({},$.fn.combogrid.defaults,$.fn.combogrid.parseOptions(this),_921)}); -} -_902(this); -}); -}; -$.fn.combogrid.methods={options:function(jq){ -var _925=jq.combo("options"); -return $.extend($.data(jq[0],"combogrid").options,{originalValue:_925.originalValue,disabled:_925.disabled,readonly:_925.readonly}); -},grid:function(jq){ -return $.data(jq[0],"combogrid").grid; -},setValues:function(jq,_926){ -return jq.each(function(){ -_911(this,_926); -}); -},setValue:function(jq,_927){ -return jq.each(function(){ -_911(this,[_927]); -}); -},clear:function(jq){ -return jq.each(function(){ -$(this).combogrid("grid").datagrid("clearSelections"); -$(this).combo("clear"); -}); -},reset:function(jq){ -return jq.each(function(){ -var opts=$(this).combogrid("options"); -if(opts.multiple){ -$(this).combogrid("setValues",opts.originalValue); -}else{ -$(this).combogrid("setValue",opts.originalValue); -} -}); -}}; -$.fn.combogrid.parseOptions=function(_928){ -var t=$(_928); -return $.extend({},$.fn.combo.parseOptions(_928),$.fn.datagrid.parseOptions(_928),$.parser.parseOptions(_928,["idField","textField","mode"])); -}; -$.fn.combogrid.defaults=$.extend({},$.fn.combo.defaults,$.fn.datagrid.defaults,{loadMsg:null,idField:null,textField:null,mode:"local",keyHandler:{up:function(e){ -nav(this,"prev"); -e.preventDefault(); -},down:function(e){ -nav(this,"next"); -e.preventDefault(); -},left:function(e){ -},right:function(e){ -},enter:function(e){ -_91d(this); -},query:function(q,e){ -_91a(this,q); -}},filter:function(q,row){ -var opts=$(this).combogrid("options"); -return row[opts.textField].toLowerCase().indexOf(q.toLowerCase())==0; -}}); -})(jQuery); -(function($){ -function _929(_92a){ -var _92b=$.data(_92a,"datebox"); -var opts=_92b.options; -$(_92a).addClass("datebox-f").combo($.extend({},opts,{onShowPanel:function(){ -_92c(); -_934(_92a,$(_92a).datebox("getText"),true); -opts.onShowPanel.call(_92a); -}})); -$(_92a).combo("textbox").parent().addClass("datebox"); -if(!_92b.calendar){ -_92d(); -} -_934(_92a,opts.value); -function _92d(){ -var _92e=$(_92a).combo("panel").css("overflow","hidden"); -_92e.panel("options").onBeforeDestroy=function(){ -var sc=$(this).find(".calendar-shared"); -if(sc.length){ -sc.insertBefore(sc[0].pholder); -} -}; -var cc=$("
                                        ").appendTo(_92e); -if(opts.sharedCalendar){ -var sc=$(opts.sharedCalendar); -if(!sc[0].pholder){ -sc[0].pholder=$("
                                        ").insertAfter(sc); -} -sc.addClass("calendar-shared").appendTo(cc); -if(!sc.hasClass("calendar")){ -sc.calendar(); -} -_92b.calendar=sc; -}else{ -_92b.calendar=$("
                                        ").appendTo(cc).calendar(); -} -$.extend(_92b.calendar.calendar("options"),{fit:true,border:false,onSelect:function(date){ -var opts=$(this.target).datebox("options"); -_934(this.target,opts.formatter.call(this.target,date)); -$(this.target).combo("hidePanel"); -opts.onSelect.call(_92a,date); -}}); -var _92f=$("
                                        ").appendTo(_92e); -var tr=_92f.find("tr"); -for(var i=0;i").appendTo(tr); -var btn=opts.buttons[i]; -var t=$("").html($.isFunction(btn.text)?btn.text(_92a):btn.text).appendTo(td); -t.bind("click",{target:_92a,handler:btn.handler},function(e){ -e.data.handler.call(this,e.data.target); -}); -} -tr.find("td").css("width",(100/opts.buttons.length)+"%"); -}; -function _92c(){ -var _930=$(_92a).combo("panel"); -var cc=_930.children("div.datebox-calendar-inner"); -_930.children()._outerWidth(_930.width()); -_92b.calendar.appendTo(cc); -_92b.calendar[0].target=_92a; -if(opts.panelHeight!="auto"){ -var _931=_930.height(); -_930.children().not(cc).each(function(){ -_931-=$(this).outerHeight(); -}); -cc._outerHeight(_931); -} -_92b.calendar.calendar("resize"); -}; -}; -function _932(_933,q){ -_934(_933,q,true); -}; -function _935(_936){ -var _937=$.data(_936,"datebox"); -var opts=_937.options; -var _938=_937.calendar.calendar("options").current; -if(_938){ -_934(_936,opts.formatter.call(_936,_938)); -$(_936).combo("hidePanel"); -} -}; -function _934(_939,_93a,_93b){ -var _93c=$.data(_939,"datebox"); -var opts=_93c.options; -var _93d=_93c.calendar; -$(_939).combo("setValue",_93a); -_93d.calendar("moveTo",opts.parser.call(_939,_93a)); -if(!_93b){ -if(_93a){ -_93a=opts.formatter.call(_939,_93d.calendar("options").current); -$(_939).combo("setValue",_93a).combo("setText",_93a); -}else{ -$(_939).combo("setText",_93a); -} -} -}; -$.fn.datebox=function(_93e,_93f){ -if(typeof _93e=="string"){ -var _940=$.fn.datebox.methods[_93e]; -if(_940){ -return _940(this,_93f); -}else{ -return this.combo(_93e,_93f); -} -} -_93e=_93e||{}; -return this.each(function(){ -var _941=$.data(this,"datebox"); -if(_941){ -$.extend(_941.options,_93e); -}else{ -$.data(this,"datebox",{options:$.extend({},$.fn.datebox.defaults,$.fn.datebox.parseOptions(this),_93e)}); -} -_929(this); -}); -}; -$.fn.datebox.methods={options:function(jq){ -var _942=jq.combo("options"); -return $.extend($.data(jq[0],"datebox").options,{originalValue:_942.originalValue,disabled:_942.disabled,readonly:_942.readonly}); -},calendar:function(jq){ -return $.data(jq[0],"datebox").calendar; -},setValue:function(jq,_943){ -return jq.each(function(){ -_934(this,_943); -}); -},reset:function(jq){ -return jq.each(function(){ -var opts=$(this).datebox("options"); -$(this).datebox("setValue",opts.originalValue); -}); -}}; -$.fn.datebox.parseOptions=function(_944){ -return $.extend({},$.fn.combo.parseOptions(_944),$.parser.parseOptions(_944,["sharedCalendar"])); -}; -$.fn.datebox.defaults=$.extend({},$.fn.combo.defaults,{panelWidth:180,panelHeight:"auto",sharedCalendar:null,keyHandler:{up:function(e){ -},down:function(e){ -},left:function(e){ -},right:function(e){ -},enter:function(e){ -_935(this); -},query:function(q,e){ -_932(this,q); -}},currentText:"Today",closeText:"Close",okText:"Ok",buttons:[{text:function(_945){ -return $(_945).datebox("options").currentText; -},handler:function(_946){ -$(_946).datebox("calendar").calendar({year:new Date().getFullYear(),month:new Date().getMonth()+1,current:new Date()}); -_935(_946); -}},{text:function(_947){ -return $(_947).datebox("options").closeText; -},handler:function(_948){ -$(this).closest("div.combo-panel").panel("close"); -}}],formatter:function(date){ -var y=date.getFullYear(); -var m=date.getMonth()+1; -var d=date.getDate(); -return m+"/"+d+"/"+y; -},parser:function(s){ -var t=Date.parse(s); -if(!isNaN(t)){ -return new Date(t); -}else{ -return new Date(); -} -},onSelect:function(date){ -}}); -})(jQuery); -(function($){ -function _949(_94a){ -var _94b=$.data(_94a,"datetimebox"); -var opts=_94b.options; -$(_94a).datebox($.extend({},opts,{onShowPanel:function(){ -var _94c=$(_94a).datetimebox("getValue"); -_94e(_94a,_94c,true); -opts.onShowPanel.call(_94a); -},formatter:$.fn.datebox.defaults.formatter,parser:$.fn.datebox.defaults.parser})); -$(_94a).removeClass("datebox-f").addClass("datetimebox-f"); -$(_94a).datebox("calendar").calendar({onSelect:function(date){ -opts.onSelect.call(_94a,date); -}}); -var _94d=$(_94a).datebox("panel"); -if(!_94b.spinner){ -var p=$("
                                        ").insertAfter(_94d.children("div.datebox-calendar-inner")); -_94b.spinner=p.children("input"); -} -_94b.spinner.timespinner({showSeconds:opts.showSeconds,separator:opts.timeSeparator}).unbind(".datetimebox").bind("mousedown.datetimebox",function(e){ -e.stopPropagation(); -}); -_94e(_94a,opts.value); -}; -function _94f(_950){ -var c=$(_950).datetimebox("calendar"); -var t=$(_950).datetimebox("spinner"); -var date=c.calendar("options").current; -return new Date(date.getFullYear(),date.getMonth(),date.getDate(),t.timespinner("getHours"),t.timespinner("getMinutes"),t.timespinner("getSeconds")); -}; -function _951(_952,q){ -_94e(_952,q,true); -}; -function _953(_954){ -var opts=$.data(_954,"datetimebox").options; -var date=_94f(_954); -_94e(_954,opts.formatter.call(_954,date)); -$(_954).combo("hidePanel"); -}; -function _94e(_955,_956,_957){ -var opts=$.data(_955,"datetimebox").options; -$(_955).combo("setValue",_956); -if(!_957){ -if(_956){ -var date=opts.parser.call(_955,_956); -$(_955).combo("setValue",opts.formatter.call(_955,date)); -$(_955).combo("setText",opts.formatter.call(_955,date)); -}else{ -$(_955).combo("setText",_956); -} -} -var date=opts.parser.call(_955,_956); -$(_955).datetimebox("calendar").calendar("moveTo",date); -$(_955).datetimebox("spinner").timespinner("setValue",_958(date)); -function _958(date){ -function _959(_95a){ -return (_95a<10?"0":"")+_95a; -}; -var tt=[_959(date.getHours()),_959(date.getMinutes())]; -if(opts.showSeconds){ -tt.push(_959(date.getSeconds())); -} -return tt.join($(_955).datetimebox("spinner").timespinner("options").separator); -}; -}; -$.fn.datetimebox=function(_95b,_95c){ -if(typeof _95b=="string"){ -var _95d=$.fn.datetimebox.methods[_95b]; -if(_95d){ -return _95d(this,_95c); -}else{ -return this.datebox(_95b,_95c); -} -} -_95b=_95b||{}; -return this.each(function(){ -var _95e=$.data(this,"datetimebox"); -if(_95e){ -$.extend(_95e.options,_95b); -}else{ -$.data(this,"datetimebox",{options:$.extend({},$.fn.datetimebox.defaults,$.fn.datetimebox.parseOptions(this),_95b)}); -} -_949(this); -}); -}; -$.fn.datetimebox.methods={options:function(jq){ -var _95f=jq.datebox("options"); -return $.extend($.data(jq[0],"datetimebox").options,{originalValue:_95f.originalValue,disabled:_95f.disabled,readonly:_95f.readonly}); -},spinner:function(jq){ -return $.data(jq[0],"datetimebox").spinner; -},setValue:function(jq,_960){ -return jq.each(function(){ -_94e(this,_960); -}); -},reset:function(jq){ -return jq.each(function(){ -var opts=$(this).datetimebox("options"); -$(this).datetimebox("setValue",opts.originalValue); -}); -}}; -$.fn.datetimebox.parseOptions=function(_961){ -var t=$(_961); -return $.extend({},$.fn.datebox.parseOptions(_961),$.parser.parseOptions(_961,["timeSeparator",{showSeconds:"boolean"}])); -}; -$.fn.datetimebox.defaults=$.extend({},$.fn.datebox.defaults,{showSeconds:true,timeSeparator:":",keyHandler:{up:function(e){ -},down:function(e){ -},left:function(e){ -},right:function(e){ -},enter:function(e){ -_953(this); -},query:function(q,e){ -_951(this,q); -}},buttons:[{text:function(_962){ -return $(_962).datetimebox("options").currentText; -},handler:function(_963){ -$(_963).datetimebox("calendar").calendar({year:new Date().getFullYear(),month:new Date().getMonth()+1,current:new Date()}); -_953(_963); -}},{text:function(_964){ -return $(_964).datetimebox("options").okText; -},handler:function(_965){ -_953(_965); -}},{text:function(_966){ -return $(_966).datetimebox("options").closeText; -},handler:function(_967){ -$(this).closest("div.combo-panel").panel("close"); -}}],formatter:function(date){ -var h=date.getHours(); -var M=date.getMinutes(); -var s=date.getSeconds(); -function _968(_969){ -return (_969<10?"0":"")+_969; -}; -var _96a=$(this).datetimebox("spinner").timespinner("options").separator; -var r=$.fn.datebox.defaults.formatter(date)+" "+_968(h)+_96a+_968(M); -if($(this).datetimebox("options").showSeconds){ -r+=_96a+_968(s); -} -return r; -},parser:function(s){ -if($.trim(s)==""){ -return new Date(); -} -var dt=s.split(" "); -var d=$.fn.datebox.defaults.parser(dt[0]); -if(dt.length<2){ -return d; -} -var _96b=$(this).datetimebox("spinner").timespinner("options").separator; -var tt=dt[1].split(_96b); -var hour=parseInt(tt[0],10)||0; -var _96c=parseInt(tt[1],10)||0; -var _96d=parseInt(tt[2],10)||0; -return new Date(d.getFullYear(),d.getMonth(),d.getDate(),hour,_96c,_96d); -}}); -})(jQuery); -(function($){ -function init(_96e){ -var _96f=$("
                                        "+"
                                        "+""+""+"
                                        "+"
                                        "+"
                                        "+"
                                        "+""+"
                                        ").insertAfter(_96e); -var t=$(_96e); -t.addClass("slider-f").hide(); -var name=t.attr("name"); -if(name){ -_96f.find("input.slider-value").attr("name",name); -t.removeAttr("name").attr("sliderName",name); -} -return _96f; -}; -function _970(_971,_972){ -var _973=$.data(_971,"slider"); -var opts=_973.options; -var _974=_973.slider; -if(_972){ -if(_972.width){ -opts.width=_972.width; -} -if(_972.height){ -opts.height=_972.height; -} -} -if(opts.mode=="h"){ -_974.css("height",""); -_974.children("div").css("height",""); -if(!isNaN(opts.width)){ -_974.width(opts.width); -} -}else{ -_974.css("width",""); -_974.children("div").css("width",""); -if(!isNaN(opts.height)){ -_974.height(opts.height); -_974.find("div.slider-rule").height(opts.height); -_974.find("div.slider-rulelabel").height(opts.height); -_974.find("div.slider-inner")._outerHeight(opts.height); -} -} -_975(_971); -}; -function _976(_977){ -var _978=$.data(_977,"slider"); -var opts=_978.options; -var _979=_978.slider; -var aa=opts.mode=="h"?opts.rule:opts.rule.slice(0).reverse(); -if(opts.reversed){ -aa=aa.slice(0).reverse(); -} -_97a(aa); -function _97a(aa){ -var rule=_979.find("div.slider-rule"); -var _97b=_979.find("div.slider-rulelabel"); -rule.empty(); -_97b.empty(); -for(var i=0;i").appendTo(rule); -span.css((opts.mode=="h"?"left":"top"),_97c); -if(aa[i]!="|"){ -span=$("").appendTo(_97b); -span.html(aa[i]); -if(opts.mode=="h"){ -span.css({left:_97c,marginLeft:-Math.round(span.outerWidth()/2)}); -}else{ -span.css({top:_97c,marginTop:-Math.round(span.outerHeight()/2)}); -} -} -} -}; -}; -function _97d(_97e){ -var _97f=$.data(_97e,"slider"); -var opts=_97f.options; -var _980=_97f.slider; -_980.removeClass("slider-h slider-v slider-disabled"); -_980.addClass(opts.mode=="h"?"slider-h":"slider-v"); -_980.addClass(opts.disabled?"slider-disabled":""); -_980.find("a.slider-handle").draggable({axis:opts.mode,cursor:"pointer",disabled:opts.disabled,onDrag:function(e){ -var left=e.data.left; -var _981=_980.width(); -if(opts.mode!="h"){ -left=e.data.top; -_981=_980.height(); -} -if(left<0||left>_981){ -return false; -}else{ -var _982=_994(_97e,left); -_983(_982); -return false; -} -},onBeforeDrag:function(){ -_97f.isDragging=true; -},onStartDrag:function(){ -opts.onSlideStart.call(_97e,opts.value); -},onStopDrag:function(e){ -var _984=_994(_97e,(opts.mode=="h"?e.data.left:e.data.top)); -_983(_984); -opts.onSlideEnd.call(_97e,opts.value); -opts.onComplete.call(_97e,opts.value); -_97f.isDragging=false; -}}); -_980.find("div.slider-inner").unbind(".slider").bind("mousedown.slider",function(e){ -if(_97f.isDragging){ -return; -} -var pos=$(this).offset(); -var _985=_994(_97e,(opts.mode=="h"?(e.pageX-pos.left):(e.pageY-pos.top))); -_983(_985); -opts.onComplete.call(_97e,opts.value); -}); -function _983(_986){ -var s=Math.abs(_986%opts.step); -if(sopts.max){ -_989=opts.max; -} -opts.value=_989; -$(_988).val(_989); -_98b.find("input.slider-value").val(_989); -var pos=_98d(_988,_989); -var tip=_98b.find(".slider-tip"); -if(opts.showTip){ -tip.show(); -tip.html(opts.tipFormatter.call(_988,opts.value)); -}else{ -tip.hide(); -} -if(opts.mode=="h"){ -var _98e="left:"+pos+"px;"; -_98b.find(".slider-handle").attr("style",_98e); -tip.attr("style",_98e+"margin-left:"+(-Math.round(tip.outerWidth()/2))+"px"); -}else{ -var _98e="top:"+pos+"px;"; -_98b.find(".slider-handle").attr("style",_98e); -tip.attr("style",_98e+"margin-left:"+(-Math.round(tip.outerWidth()))+"px"); -} -if(_98c!=_989){ -opts.onChange.call(_988,_989,_98c); -} -}; -function _975(_98f){ -var opts=$.data(_98f,"slider").options; -var fn=opts.onChange; -opts.onChange=function(){ -}; -_987(_98f,opts.value); -opts.onChange=fn; -}; -function _98d(_990,_991){ -var _992=$.data(_990,"slider"); -var opts=_992.options; -var _993=_992.slider; -var size=opts.mode=="h"?_993.width():_993.height(); -var pos=opts.converter.toPosition.call(_990,_991,size); -if(opts.mode=="v"){ -pos=_993.height()-pos; -} -if(opts.reversed){ -pos=size-pos; -} -return pos.toFixed(0); -}; -function _994(_995,pos){ -var _996=$.data(_995,"slider"); -var opts=_996.options; -var _997=_996.slider; -var size=opts.mode=="h"?_997.width():_997.height(); -var _998=opts.converter.toValue.call(_995,opts.mode=="h"?(opts.reversed?(size-pos):pos):(size-pos),size); -return _998.toFixed(0); -}; -$.fn.slider=function(_999,_99a){ -if(typeof _999=="string"){ -return $.fn.slider.methods[_999](this,_99a); -} -_999=_999||{}; -return this.each(function(){ -var _99b=$.data(this,"slider"); -if(_99b){ -$.extend(_99b.options,_999); -}else{ -_99b=$.data(this,"slider",{options:$.extend({},$.fn.slider.defaults,$.fn.slider.parseOptions(this),_999),slider:init(this)}); -$(this).removeAttr("disabled"); -} -var opts=_99b.options; -opts.min=parseFloat(opts.min); -opts.max=parseFloat(opts.max); -opts.value=parseFloat(opts.value); -opts.step=parseFloat(opts.step); -opts.originalValue=opts.value; -_97d(this); -_976(this); -_970(this); -}); -}; -$.fn.slider.methods={options:function(jq){ -return $.data(jq[0],"slider").options; -},destroy:function(jq){ -return jq.each(function(){ -$.data(this,"slider").slider.remove(); -$(this).remove(); -}); -},resize:function(jq,_99c){ -return jq.each(function(){ -_970(this,_99c); -}); -},getValue:function(jq){ -return jq.slider("options").value; -},setValue:function(jq,_99d){ -return jq.each(function(){ -_987(this,_99d); -}); -},clear:function(jq){ -return jq.each(function(){ -var opts=$(this).slider("options"); -_987(this,opts.min); -}); -},reset:function(jq){ -return jq.each(function(){ -var opts=$(this).slider("options"); -_987(this,opts.originalValue); -}); -},enable:function(jq){ -return jq.each(function(){ -$.data(this,"slider").options.disabled=false; -_97d(this); -}); -},disable:function(jq){ -return jq.each(function(){ -$.data(this,"slider").options.disabled=true; -_97d(this); -}); -}}; -$.fn.slider.parseOptions=function(_99e){ -var t=$(_99e); -return $.extend({},$.parser.parseOptions(_99e,["width","height","mode",{reversed:"boolean",showTip:"boolean",min:"number",max:"number",step:"number"}]),{value:(t.val()||undefined),disabled:(t.attr("disabled")?true:undefined),rule:(t.attr("rule")?eval(t.attr("rule")):undefined)}); -}; -$.fn.slider.defaults={width:"auto",height:"auto",mode:"h",reversed:false,showTip:false,disabled:false,value:0,min:0,max:100,step:1,rule:[],tipFormatter:function(_99f){ -return _99f; -},converter:{toPosition:function(_9a0,size){ -var opts=$(this).slider("options"); -return (_9a0-opts.min)/(opts.max-opts.min)*size; -},toValue:function(pos,size){ -var opts=$(this).slider("options"); -return opts.min+(opts.max-opts.min)*(pos/size); -}},onChange:function(_9a1,_9a2){ -},onSlideStart:function(_9a3){ -},onSlideEnd:function(_9a4){ -},onComplete:function(_9a5){ -}}; -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/jquery.min.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/jquery.min.js deleted file mode 100644 index b18e05a..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/jquery.min.js +++ /dev/null @@ -1,6 +0,0 @@ -/*! jQuery v2.0.0 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license -//@ sourceMappingURL=jquery.min.map -*/ -(function(e,undefined){var t,n,r=typeof undefined,i=e.location,o=e.document,s=o.documentElement,a=e.jQuery,u=e.$,l={},c=[],f="2.0.0",p=c.concat,h=c.push,d=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=f.trim,x=function(e,n){return new x.fn.init(e,n,t)},b=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,w=/\S+/g,T=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,k=/^-ms-/,N=/-([\da-z])/gi,E=function(e,t){return t.toUpperCase()},S=function(){o.removeEventListener("DOMContentLoaded",S,!1),e.removeEventListener("load",S,!1),x.ready()};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,t,n){var r,i;if(!e)return this;if("string"==typeof e){if(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:T.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:o,!0)),C.test(r[1])&&x.isPlainObject(t))for(r in t)x.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=o.getElementById(r[2]),i&&i.parentNode&&(this.length=1,this[0]=i),this.context=o,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?n.ready(e):(e.selector!==undefined&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return d.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,t,n,r,i,o,s=arguments[0]||{},a=1,u=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[1]||{},a=2),"object"==typeof s||x.isFunction(s)||(s={}),u===a&&(s=this,--a);u>a;a++)if(null!=(e=arguments[a]))for(t in e)n=s[t],r=e[t],s!==r&&(l&&r&&(x.isPlainObject(r)||(i=x.isArray(r)))?(i?(i=!1,o=n&&x.isArray(n)?n:[]):o=n&&x.isPlainObject(n)?n:{},s[t]=x.extend(l,o,r)):r!==undefined&&(s[t]=r));return s},x.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=a),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){(e===!0?--x.readyWait:x.isReady)||(x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(o,[x]),x.fn.trigger&&x(o).trigger("ready").off("ready")))},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[m.call(e)]||"object":typeof e},isPlainObject:function(e){if("object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}return!0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||o;var r=C.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:JSON.parse,parseXML:function(e){var t,n;if(!e||"string"!=typeof e)return null;try{n=new DOMParser,t=n.parseFromString(e,"text/xml")}catch(r){t=undefined}return(!t||t.getElementsByTagName("parsererror").length)&&x.error("Invalid XML: "+e),t},noop:function(){},globalEval:function(e){var t,n=eval;e=x.trim(e),e&&(1===e.indexOf("use strict")?(t=o.createElement("script"),t.text=e,o.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(k,"ms-").replace(N,E)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,s=j(e);if(n){if(s){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(s){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:function(e){return null==e?"":v.call(e)},makeArray:function(e,t){var n=t||[];return null!=e&&(j(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:g.call(t,e,n)},merge:function(e,t){var n=t.length,r=e.length,i=0;if("number"==typeof n)for(;n>i;i++)e[r++]=t[i];else while(t[i]!==undefined)e[r++]=t[i++];return e.length=r,e},grep:function(e,t,n){var r,i=[],o=0,s=e.length;for(n=!!n;s>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,s=j(e),a=[];if(s)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(a[a.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(a[a.length]=r);return p.apply([],a)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(n=e[t],t=e,e=n),x.isFunction(e)?(r=d.call(arguments,2),i=function(){return e.apply(t||this,r.concat(d.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):undefined},access:function(e,t,n,r,i,o,s){var a=0,u=e.length,l=null==n;if("object"===x.type(n)){i=!0;for(a in n)x.access(e,t,a,n[a],!0,o,s)}else if(r!==undefined&&(i=!0,x.isFunction(r)||(s=!0),l&&(s?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(x(e),n)})),t))for(;u>a;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return i?e:l?t.call(e):u?t(e[0],n):o},now:Date.now,swap:function(e,t,n,r){var i,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=s[o];return i}}),x.ready.promise=function(t){return n||(n=x.Deferred(),"complete"===o.readyState?setTimeout(x.ready):(o.addEventListener("DOMContentLoaded",S,!1),e.addEventListener("load",S,!1))),n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function j(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}t=x(o),function(e,undefined){var t,n,r,i,o,s,a,u,l,c,f,p,h,d,g,m,y="sizzle"+-new Date,v=e.document,b={},w=0,T=0,C=ot(),k=ot(),N=ot(),E=!1,S=function(){return 0},j=typeof undefined,D=1<<31,A=[],L=A.pop,q=A.push,H=A.push,O=A.slice,F=A.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=M.replace("w","w#"),$="\\["+R+"*("+M+")"+R+"*(?:([*^$|!~]?=)"+R+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+W+")|)|)"+R+"*\\]",B=":("+M+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+$.replace(3,8)+")*)|.*)\\)|)",I=RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),z=RegExp("^"+R+"*,"+R+"*"),_=RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),X=RegExp(R+"*[+~]"),U=RegExp("="+R+"*([^\\]'\"]*)"+R+"*\\]","g"),Y=RegExp(B),V=RegExp("^"+W+"$"),G={ID:RegExp("^#("+M+")"),CLASS:RegExp("^\\.("+M+")"),TAG:RegExp("^("+M.replace("w","w*")+")"),ATTR:RegExp("^"+$),PSEUDO:RegExp("^"+B),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),"boolean":RegExp("^(?:"+P+")$","i"),needsContext:RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},J=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,et=/'|\\/g,tt=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,nt=function(e,t){var n="0x"+t-65536;return n!==n?t:0>n?String.fromCharCode(n+65536):String.fromCharCode(55296|n>>10,56320|1023&n)};try{H.apply(A=O.call(v.childNodes),v.childNodes),A[v.childNodes.length].nodeType}catch(rt){H={apply:A.length?function(e,t){q.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function it(e){return J.test(e+"")}function ot(){var e,t=[];return e=function(n,i){return t.push(n+=" ")>r.cacheLength&&delete e[t.shift()],e[n]=i}}function st(e){return e[y]=!0,e}function at(e){var t=c.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ut(e,t,n,r){var i,o,s,a,u,f,d,g,x,w;if((t?t.ownerDocument||t:v)!==c&&l(t),t=t||c,n=n||[],!e||"string"!=typeof e)return n;if(1!==(a=t.nodeType)&&9!==a)return[];if(p&&!r){if(i=Q.exec(e))if(s=i[1]){if(9===a){if(o=t.getElementById(s),!o||!o.parentNode)return n;if(o.id===s)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(s))&&m(t,o)&&o.id===s)return n.push(o),n}else{if(i[2])return H.apply(n,t.getElementsByTagName(e)),n;if((s=i[3])&&b.getElementsByClassName&&t.getElementsByClassName)return H.apply(n,t.getElementsByClassName(s)),n}if(b.qsa&&(!h||!h.test(e))){if(g=d=y,x=t,w=9===a&&e,1===a&&"object"!==t.nodeName.toLowerCase()){f=gt(e),(d=t.getAttribute("id"))?g=d.replace(et,"\\$&"):t.setAttribute("id",g),g="[id='"+g+"'] ",u=f.length;while(u--)f[u]=g+mt(f[u]);x=X.test(e)&&t.parentNode||t,w=f.join(",")}if(w)try{return H.apply(n,x.querySelectorAll(w)),n}catch(T){}finally{d||t.removeAttribute("id")}}}return kt(e.replace(I,"$1"),t,n,r)}o=ut.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},l=ut.setDocument=function(e){var t=e?e.ownerDocument||e:v;return t!==c&&9===t.nodeType&&t.documentElement?(c=t,f=t.documentElement,p=!o(t),b.getElementsByTagName=at(function(e){return e.appendChild(t.createComment("")),!e.getElementsByTagName("*").length}),b.attributes=at(function(e){return e.className="i",!e.getAttribute("className")}),b.getElementsByClassName=at(function(e){return e.innerHTML="
                                        ",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),b.sortDetached=at(function(e){return 1&e.compareDocumentPosition(c.createElement("div"))}),b.getById=at(function(e){return f.appendChild(e).id=y,!t.getElementsByName||!t.getElementsByName(y).length}),b.getById?(r.find.ID=function(e,t){if(typeof t.getElementById!==j&&p){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},r.filter.ID=function(e){var t=e.replace(tt,nt);return function(e){return e.getAttribute("id")===t}}):(r.find.ID=function(e,t){if(typeof t.getElementById!==j&&p){var n=t.getElementById(e);return n?n.id===e||typeof n.getAttributeNode!==j&&n.getAttributeNode("id").value===e?[n]:undefined:[]}},r.filter.ID=function(e){var t=e.replace(tt,nt);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),r.find.TAG=b.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==j?t.getElementsByTagName(e):undefined}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=b.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==j&&p?t.getElementsByClassName(e):undefined},d=[],h=[],(b.qsa=it(t.querySelectorAll))&&(at(function(e){e.innerHTML="",e.querySelectorAll("[selected]").length||h.push("\\["+R+"*(?:value|"+P+")"),e.querySelectorAll(":checked").length||h.push(":checked")}),at(function(e){var t=c.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&h.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||h.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),h.push(",.*:")})),(b.matchesSelector=it(g=f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&at(function(e){b.disconnectedMatch=g.call(e,"div"),g.call(e,"[s!='']:x"),d.push("!=",B)}),h=h.length&&RegExp(h.join("|")),d=d.length&&RegExp(d.join("|")),m=it(f.contains)||f.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},S=f.compareDocumentPosition?function(e,n){if(e===n)return E=!0,0;var r=n.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(n);return r?1&r||!b.sortDetached&&n.compareDocumentPosition(e)===r?e===t||m(v,e)?-1:n===t||m(v,n)?1:u?F.call(u,e)-F.call(u,n):0:4&r?-1:1:e.compareDocumentPosition?-1:1}:function(e,n){var r,i=0,o=e.parentNode,s=n.parentNode,a=[e],l=[n];if(e===n)return E=!0,0;if(!o||!s)return e===t?-1:n===t?1:o?-1:s?1:u?F.call(u,e)-F.call(u,n):0;if(o===s)return lt(e,n);r=e;while(r=r.parentNode)a.unshift(r);r=n;while(r=r.parentNode)l.unshift(r);while(a[i]===l[i])i++;return i?lt(a[i],l[i]):a[i]===v?-1:l[i]===v?1:0},c):c},ut.matches=function(e,t){return ut(e,null,null,t)},ut.matchesSelector=function(e,t){if((e.ownerDocument||e)!==c&&l(e),t=t.replace(U,"='$1']"),!(!b.matchesSelector||!p||d&&d.test(t)||h&&h.test(t)))try{var n=g.call(e,t);if(n||b.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(r){}return ut(t,c,null,[e]).length>0},ut.contains=function(e,t){return(e.ownerDocument||e)!==c&&l(e),m(e,t)},ut.attr=function(e,t){(e.ownerDocument||e)!==c&&l(e);var n=r.attrHandle[t.toLowerCase()],i=n&&n(e,t,!p);return i===undefined?b.attributes||!p?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null:i},ut.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},ut.uniqueSort=function(e){var t,n=[],r=0,i=0;if(E=!b.detectDuplicates,u=!b.sortStable&&e.slice(0),e.sort(S),E){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)e.splice(n[r],1)}return e};function lt(e,t){var n=t&&e,r=n&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ct(e,t,n){var r;return n?undefined:(r=e.getAttributeNode(t))&&r.specified?r.value:e[t]===!0?t.toLowerCase():null}function ft(e,t,n){var r;return n?undefined:r=e.getAttribute(t,"type"===t.toLowerCase()?1:2)}function pt(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function ht(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function dt(e){return st(function(t){return t=+t,st(function(n,r){var i,o=e([],n.length,t),s=o.length;while(s--)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}i=ut.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r];r++)n+=i(t);return n},r=ut.selectors={cacheLength:50,createPseudo:st,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(tt,nt),e[3]=(e[4]||e[5]||"").replace(tt,nt),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ut.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ut.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return G.CHILD.test(e[0])?null:(e[4]?e[2]=e[4]:n&&Y.test(n)&&(t=gt(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(tt,nt).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&C(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=ut.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,h,d,g=o!==s?"nextSibling":"previousSibling",m=t.parentNode,v=a&&t.nodeName.toLowerCase(),x=!u&&!a;if(m){if(o){while(g){f=t;while(f=f[g])if(a?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;d=g="only"===e&&!d&&"nextSibling"}return!0}if(d=[s?m.firstChild:m.lastChild],s&&x){c=m[y]||(m[y]={}),l=c[e]||[],h=l[0]===w&&l[1],p=l[0]===w&&l[2],f=h&&m.childNodes[h];while(f=++h&&f&&f[g]||(p=h=0)||d.pop())if(1===f.nodeType&&++p&&f===t){c[e]=[w,h,p];break}}else if(x&&(l=(t[y]||(t[y]={}))[e])&&l[0]===w)p=l[1];else while(f=++h&&f&&f[g]||(p=h=0)||d.pop())if((a?f.nodeName.toLowerCase()===v:1===f.nodeType)&&++p&&(x&&((f[y]||(f[y]={}))[e]=[w,p]),f===t))break;return p-=i,p===r||0===p%r&&p/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ut.error("unsupported pseudo: "+e);return i[y]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?st(function(e,n){var r,o=i(e,t),s=o.length;while(s--)r=F.call(e,o[s]),e[r]=!(n[r]=o[s])}):function(e){return i(e,0,n)}):i}},pseudos:{not:st(function(e){var t=[],n=[],r=s(e.replace(I,"$1"));return r[y]?st(function(e,t,n,i){var o,s=r(e,null,i,[]),a=e.length;while(a--)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:st(function(e){return function(t){return ut(e,t).length>0}}),contains:st(function(e){return function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:st(function(e){return V.test(e||"")||ut.error("unsupported lang: "+e),e=e.replace(tt,nt).toLowerCase(),function(t){var n;do if(n=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===c.activeElement&&(!c.hasFocus||c.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Z.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:dt(function(){return[0]}),last:dt(function(e,t){return[t-1]}),eq:dt(function(e,t,n){return[0>n?n+t:n]}),even:dt(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:dt(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:dt(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:dt(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}};for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=pt(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=ht(t);function gt(e,t){var n,i,o,s,a,u,l,c=k[e+" "];if(c)return t?0:c.slice(0);a=e,u=[],l=r.preFilter;while(a){(!n||(i=z.exec(a)))&&(i&&(a=a.slice(i[0].length)||a),u.push(o=[])),n=!1,(i=_.exec(a))&&(n=i.shift(),o.push({value:n,type:i[0].replace(I," ")}),a=a.slice(n.length));for(s in r.filter)!(i=G[s].exec(a))||l[s]&&!(i=l[s](i))||(n=i.shift(),o.push({value:n,type:s,matches:i}),a=a.slice(n.length));if(!n)break}return t?a.length:a?ut.error(e):k(e,u).slice(0)}function mt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function yt(e,t,r){var i=t.dir,o=r&&"parentNode"===i,s=T++;return t.first?function(t,n,r){while(t=t[i])if(1===t.nodeType||o)return e(t,n,r)}:function(t,r,a){var u,l,c,f=w+" "+s;if(a){while(t=t[i])if((1===t.nodeType||o)&&e(t,r,a))return!0}else while(t=t[i])if(1===t.nodeType||o)if(c=t[y]||(t[y]={}),(l=c[i])&&l[0]===f){if((u=l[1])===!0||u===n)return u===!0}else if(l=c[i]=[f],l[1]=e(t,r,a)||n,l[1]===!0)return!0}}function vt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,s=[],a=0,u=e.length,l=null!=t;for(;u>a;a++)(o=e[a])&&(!n||n(o,r,i))&&(s.push(o),l&&t.push(a));return s}function bt(e,t,n,r,i,o){return r&&!r[y]&&(r=bt(r)),i&&!i[y]&&(i=bt(i,o)),st(function(o,s,a,u){var l,c,f,p=[],h=[],d=s.length,g=o||Ct(t||"*",a.nodeType?[a]:a,[]),m=!e||!o&&t?g:xt(g,p,e,a,u),y=n?i||(o?e:d||r)?[]:s:m;if(n&&n(m,y,a,u),r){l=xt(y,h),r(l,[],a,u),c=l.length;while(c--)(f=l[c])&&(y[h[c]]=!(m[h[c]]=f))}if(o){if(i||e){if(i){l=[],c=y.length;while(c--)(f=y[c])&&l.push(m[c]=f);i(null,y=[],l,u)}c=y.length;while(c--)(f=y[c])&&(l=i?F.call(o,f):p[c])>-1&&(o[l]=!(s[l]=f))}}else y=xt(y===s?y.splice(d,y.length):y),i?i(null,s,y,u):H.apply(s,y)})}function wt(e){var t,n,i,o=e.length,s=r.relative[e[0].type],u=s||r.relative[" "],l=s?1:0,c=yt(function(e){return e===t},u,!0),f=yt(function(e){return F.call(t,e)>-1},u,!0),p=[function(e,n,r){return!s&&(r||n!==a)||((t=n).nodeType?c(e,n,r):f(e,n,r))}];for(;o>l;l++)if(n=r.relative[e[l].type])p=[yt(vt(p),n)];else{if(n=r.filter[e[l].type].apply(null,e[l].matches),n[y]){for(i=++l;o>i;i++)if(r.relative[e[i].type])break;return bt(l>1&&vt(p),l>1&&mt(e.slice(0,l-1)).replace(I,"$1"),n,i>l&&wt(e.slice(l,i)),o>i&&wt(e=e.slice(i)),o>i&&mt(e))}p.push(n)}return vt(p)}function Tt(e,t){var i=0,o=t.length>0,s=e.length>0,u=function(u,l,f,p,h){var d,g,m,y=[],v=0,x="0",b=u&&[],T=null!=h,C=a,k=u||s&&r.find.TAG("*",h&&l.parentNode||l),N=w+=null==C?1:Math.random()||.1;for(T&&(a=l!==c&&l,n=i);null!=(d=k[x]);x++){if(s&&d){g=0;while(m=e[g++])if(m(d,l,f)){p.push(d);break}T&&(w=N,n=++i)}o&&((d=!m&&d)&&v--,u&&b.push(d))}if(v+=x,o&&x!==v){g=0;while(m=t[g++])m(b,y,l,f);if(u){if(v>0)while(x--)b[x]||y[x]||(y[x]=L.call(p));y=xt(y)}H.apply(p,y),T&&!u&&y.length>0&&v+t.length>1&&ut.uniqueSort(p)}return T&&(w=N,a=C),b};return o?st(u):u}s=ut.compile=function(e,t){var n,r=[],i=[],o=N[e+" "];if(!o){t||(t=gt(e)),n=t.length;while(n--)o=wt(t[n]),o[y]?r.push(o):i.push(o);o=N(e,Tt(i,r))}return o};function Ct(e,t,n){var r=0,i=t.length;for(;i>r;r++)ut(e,t[r],n);return n}function kt(e,t,n,i){var o,a,u,l,c,f=gt(e);if(!i&&1===f.length){if(a=f[0]=f[0].slice(0),a.length>2&&"ID"===(u=a[0]).type&&9===t.nodeType&&p&&r.relative[a[1].type]){if(t=(r.find.ID(u.matches[0].replace(tt,nt),t)||[])[0],!t)return n;e=e.slice(a.shift().value.length)}o=G.needsContext.test(e)?0:a.length;while(o--){if(u=a[o],r.relative[l=u.type])break;if((c=r.find[l])&&(i=c(u.matches[0].replace(tt,nt),X.test(a[0].type)&&t.parentNode||t))){if(a.splice(o,1),e=i.length&&mt(a),!e)return H.apply(n,i),n;break}}}return s(e,f)(i,t,!p,n,X.test(e)),n}r.pseudos.nth=r.pseudos.eq;function Nt(){}Nt.prototype=r.filters=r.pseudos,r.setFilters=new Nt,b.sortStable=y.split("").sort(S).join("")===y,l(),[0,0].sort(S),b.detectDuplicates=E,at(function(e){if(e.innerHTML="","#"!==e.firstChild.getAttribute("href")){var t="type|href|height|width".split("|"),n=t.length;while(n--)r.attrHandle[t[n]]=ft}}),at(function(e){if(null!=e.getAttribute("disabled")){var t=P.split("|"),n=t.length;while(n--)r.attrHandle[t[n]]=ct}}),x.find=ut,x.expr=ut.selectors,x.expr[":"]=x.expr.pseudos,x.unique=ut.uniqueSort,x.text=ut.getText,x.isXMLDoc=ut.isXML,x.contains=ut.contains}(e);var D={};function A(e){var t=D[e]={};return x.each(e.match(w)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?D[e]||A(e):x.extend({},e);var t,n,r,i,o,s,a=[],u=!e.once&&[],l=function(f){for(t=e.memory&&f,n=!0,s=i||0,i=0,o=a.length,r=!0;a&&o>s;s++)if(a[s].apply(f[0],f[1])===!1&&e.stopOnFalse){t=!1;break}r=!1,a&&(u?u.length&&l(u.shift()):t?a=[]:c.disable())},c={add:function(){if(a){var n=a.length;(function s(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&c.has(n)||a.push(n):n&&n.length&&"string"!==r&&s(n)})})(arguments),r?o=a.length:t&&(i=n,l(t))}return this},remove:function(){return a&&x.each(arguments,function(e,t){var n;while((n=x.inArray(t,a,n))>-1)a.splice(n,1),r&&(o>=n&&o--,s>=n&&s--)}),this},has:function(e){return e?x.inArray(e,a)>-1:!(!a||!a.length)},empty:function(){return a=[],o=0,this},disable:function(){return a=u=t=undefined,this},disabled:function(){return!a},lock:function(){return u=undefined,t||c.disable(),this},locked:function(){return!u},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],!a||n&&!u||(r?u.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var s=o[0],a=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var s=o[2],a=o[3];r[o[1]]=s.add,a&&s.add(function(){n=a},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=s.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=d.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),s=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?d.call(arguments):r,n===a?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},a,u,l;if(r>1)for(a=Array(r),u=Array(r),l=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(s(t,l,n)).fail(o.reject).progress(s(t,u,a)):--i;return i||o.resolveWith(l,n),o.promise()}}),x.support=function(t){var n=o.createElement("input"),r=o.createDocumentFragment(),i=o.createElement("div"),s=o.createElement("select"),a=s.appendChild(o.createElement("option"));return n.type?(n.type="checkbox",t.checkOn=""!==n.value,t.optSelected=a.selected,t.reliableMarginRight=!0,t.boxSizingReliable=!0,t.pixelPosition=!1,n.checked=!0,t.noCloneChecked=n.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!a.disabled,n=o.createElement("input"),n.value="t",n.type="radio",t.radioValue="t"===n.value,n.setAttribute("checked","t"),n.setAttribute("name","t"),r.appendChild(n),t.checkClone=r.cloneNode(!0).cloneNode(!0).lastChild.checked,t.focusinBubbles="onfocusin"in e,i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===i.style.backgroundClip,x(function(){var n,r,s="padding:0;margin:0;border:0;display:block;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box",a=o.getElementsByTagName("body")[0];a&&(n=o.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",a.appendChild(n).appendChild(i),i.innerHTML="",i.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%",x.swap(a,null!=a.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===i.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(i,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(i,null)||{width:"4px"}).width,r=i.appendChild(o.createElement("div")),r.style.cssText=i.style.cssText=s,r.style.marginRight=r.style.width="0",i.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),a.removeChild(n))}),t):t}({});var L,q,H=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,O=/([A-Z])/g;function F(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=x.expando+Math.random()}F.uid=1,F.accepts=function(e){return e.nodeType?1===e.nodeType||9===e.nodeType:!0},F.prototype={key:function(e){if(!F.accepts(e))return 0;var t={},n=e[this.expando];if(!n){n=F.uid++;try{t[this.expando]={value:n},Object.defineProperties(e,t)}catch(r){t[this.expando]=n,x.extend(e,t)}}return this.cache[n]||(this.cache[n]={}),n},set:function(e,t,n){var r,i=this.key(e),o=this.cache[i];if("string"==typeof t)o[t]=n;else if(x.isEmptyObject(o))this.cache[i]=t;else for(r in t)o[r]=t[r]},get:function(e,t){var n=this.cache[this.key(e)];return t===undefined?n:n[t]},access:function(e,t,n){return t===undefined||t&&"string"==typeof t&&n===undefined?this.get(e,t):(this.set(e,t,n),n!==undefined?n:t)},remove:function(e,t){var n,r,i=this.key(e),o=this.cache[i];if(t===undefined)this.cache[i]={};else{x.isArray(t)?r=t.concat(t.map(x.camelCase)):t in o?r=[t]:(r=x.camelCase(t),r=r in o?[r]:r.match(w)||[]),n=r.length;while(n--)delete o[r[n]]}},hasData:function(e){return!x.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){delete this.cache[this.key(e)]}},L=new F,q=new F,x.extend({acceptData:F.accepts,hasData:function(e){return L.hasData(e)||q.hasData(e)},data:function(e,t,n){return L.access(e,t,n)},removeData:function(e,t){L.remove(e,t)},_data:function(e,t,n){return q.access(e,t,n)},_removeData:function(e,t){q.remove(e,t)}}),x.fn.extend({data:function(e,t){var n,r,i=this[0],o=0,s=null;if(e===undefined){if(this.length&&(s=L.get(i),1===i.nodeType&&!q.get(i,"hasDataAttrs"))){for(n=i.attributes;n.length>o;o++)r=n[o].name,0===r.indexOf("data-")&&(r=x.camelCase(r.substring(5)),P(i,r,s[r]));q.set(i,"hasDataAttrs",!0)}return s}return"object"==typeof e?this.each(function(){L.set(this,e)}):x.access(this,function(t){var n,r=x.camelCase(e);if(i&&t===undefined){if(n=L.get(i,e),n!==undefined)return n;if(n=L.get(i,r),n!==undefined)return n;if(n=P(i,r,undefined),n!==undefined)return n}else this.each(function(){var n=L.get(this,r);L.set(this,r,t),-1!==e.indexOf("-")&&n!==undefined&&L.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){L.remove(this,e)})}});function P(e,t,n){var r;if(n===undefined&&1===e.nodeType)if(r="data-"+t.replace(O,"-$1").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:H.test(n)?JSON.parse(n):n}catch(i){}L.set(e,t,n)}else n=undefined;return n}x.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=q.get(e,t),n&&(!r||x.isArray(n)?r=q.access(e,t,x.makeArray(n)):r.push(n)),r||[]):undefined},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),s=function(){x.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),o.cur=i,i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,s,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return q.get(e,n)||q.access(e,n,{empty:x.Callbacks("once memory").add(function(){q.remove(e,[t+"queue",n])})})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),n>arguments.length?x.queue(this[0],e):t===undefined?this:this.each(function(){var n=x.queue(this,e,t); -x._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=x.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=undefined),e=e||"fx";while(s--)n=q.get(o[s],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(t)}});var R,M,W=/[\t\r\n]/g,$=/\r/g,B=/^(?:input|select|textarea|button)$/i;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})},addClass:function(e){var t,n,r,i,o,s=0,a=this.length,u="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];a>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(W," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,s=0,a=this.length,u=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];a>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(W," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e,i="boolean"==typeof t;return x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var o,s=0,a=x(this),u=t,l=e.match(w)||[];while(o=l[s++])u=i?u:!a.hasClass(o),a[u?"addClass":"removeClass"](o)}else(n===r||"boolean"===n)&&(this.className&&q.set(this,"__className__",this.className),this.className=this.className||e===!1?"":q.get(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(W," ").indexOf(t)>=0)return!0;return!1},val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=x.isFunction(e),this.each(function(n){var i,o=x(this);1===this.nodeType&&(i=r?e.call(this,n,o.val()):e,null==i?i="":"number"==typeof i?i+="":x.isArray(i)&&(i=x.map(i,function(e){return null==e?"":e+""})),t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&t.set(this,i,"value")!==undefined||(this.value=i))});if(i)return t=x.valHooks[i.type]||x.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&(n=t.get(i,"value"))!==undefined?n:(n=i.value,"string"==typeof n?n.replace($,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,s=o?null:[],a=o?i+1:r.length,u=0>i?a:o?i:0;for(;a>u;u++)if(n=r[u],!(!n.selected&&u!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),s=i.length;while(s--)r=i[s],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,t,n){var i,o,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===r?x.prop(e,t,n):(1===s&&x.isXMLDoc(e)||(t=t.toLowerCase(),i=x.attrHooks[t]||(x.expr.match.boolean.test(t)?M:R)),n===undefined?i&&"get"in i&&null!==(o=i.get(e,t))?o:(o=x.find.attr(e,t),null==o?undefined:o):null!==n?i&&"set"in i&&(o=i.set(e,n,t))!==undefined?o:(e.setAttribute(t,n+""),n):(x.removeAttr(e,t),undefined))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(w);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.boolean.test(n)&&(e[r]=!1),e.removeAttribute(n)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,o,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return o=1!==s||!x.isXMLDoc(e),o&&(t=x.propFix[t]||t,i=x.propHooks[t]),n!==undefined?i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||B.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),M={set:function(e,t,n){return t===!1?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.boolean.source.match(/\w+/g),function(e,t){var n=x.expr.attrHandle[t]||x.find.attr;x.expr.attrHandle[t]=function(e,t,r){var i=x.expr.attrHandle[t],o=r?undefined:(x.expr.attrHandle[t]=undefined)!=n(e,t,r)?t.toLowerCase():null;return x.expr.attrHandle[t]=i,o}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){return x.isArray(t)?e.checked=x.inArray(x(e).val(),t)>=0:undefined}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var I=/^key/,z=/^(?:mouse|contextmenu)|click/,_=/^(?:focusinfocus|focusoutblur)$/,X=/^([^.]*)(?:\.(.+)|)$/;function U(){return!0}function Y(){return!1}function V(){try{return o.activeElement}catch(e){}}x.event={global:{},add:function(e,t,n,i,o){var s,a,u,l,c,f,p,h,d,g,m,y=q.get(e);if(y){n.handler&&(s=n,n=s.handler,o=s.selector),n.guid||(n.guid=x.guid++),(l=y.events)||(l=y.events={}),(a=y.handle)||(a=y.handle=function(e){return typeof x===r||e&&x.event.triggered===e.type?undefined:x.event.dispatch.apply(a.elem,arguments)},a.elem=e),t=(t||"").match(w)||[""],c=t.length;while(c--)u=X.exec(t[c])||[],d=m=u[1],g=(u[2]||"").split(".").sort(),d&&(p=x.event.special[d]||{},d=(o?p.delegateType:p.bindType)||d,p=x.event.special[d]||{},f=x.extend({type:d,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&x.expr.match.needsContext.test(o),namespace:g.join(".")},s),(h=l[d])||(h=l[d]=[],h.delegateCount=0,p.setup&&p.setup.call(e,i,g,a)!==!1||e.addEventListener&&e.addEventListener(d,a,!1)),p.add&&(p.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),o?h.splice(h.delegateCount++,0,f):h.push(f),x.event.global[d]=!0);e=null}},remove:function(e,t,n,r,i){var o,s,a,u,l,c,f,p,h,d,g,m=q.hasData(e)&&q.get(e);if(m&&(u=m.events)){t=(t||"").match(w)||[""],l=t.length;while(l--)if(a=X.exec(t[l])||[],h=g=a[1],d=(a[2]||"").split(".").sort(),h){f=x.event.special[h]||{},h=(r?f.delegateType:f.bindType)||h,p=u[h]||[],a=a[2]&&RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));s&&!p.length&&(f.teardown&&f.teardown.call(e,d,m.handle)!==!1||x.removeEvent(e,h,m.handle),delete u[h])}else for(h in u)x.event.remove(e,h+t[l],n,r,!0);x.isEmptyObject(u)&&(delete m.handle,q.remove(e,"events"))}},trigger:function(t,n,r,i){var s,a,u,l,c,f,p,h=[r||o],d=y.call(t,"type")?t.type:t,g=y.call(t,"namespace")?t.namespace.split("."):[];if(a=u=r=r||o,3!==r.nodeType&&8!==r.nodeType&&!_.test(d+x.event.triggered)&&(d.indexOf(".")>=0&&(g=d.split("."),d=g.shift(),g.sort()),c=0>d.indexOf(":")&&"on"+d,t=t[x.expando]?t:new x.Event(d,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=g.join("."),t.namespace_re=t.namespace?RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=r),n=null==n?[t]:x.makeArray(n,[t]),p=x.event.special[d]||{},i||!p.trigger||p.trigger.apply(r,n)!==!1)){if(!i&&!p.noBubble&&!x.isWindow(r)){for(l=p.delegateType||d,_.test(l+d)||(a=a.parentNode);a;a=a.parentNode)h.push(a),u=a;u===(r.ownerDocument||o)&&h.push(u.defaultView||u.parentWindow||e)}s=0;while((a=h[s++])&&!t.isPropagationStopped())t.type=s>1?l:p.bindType||d,f=(q.get(a,"events")||{})[t.type]&&q.get(a,"handle"),f&&f.apply(a,n),f=c&&a[c],f&&x.acceptData(a)&&f.apply&&f.apply(a,n)===!1&&t.preventDefault();return t.type=d,i||t.isDefaultPrevented()||p._default&&p._default.apply(h.pop(),n)!==!1||!x.acceptData(r)||c&&x.isFunction(r[d])&&!x.isWindow(r)&&(u=r[c],u&&(r[c]=null),x.event.triggered=d,r[d](),x.event.triggered=undefined,u&&(r[c]=u)),t.result}},dispatch:function(e){e=x.event.fix(e);var t,n,r,i,o,s=[],a=d.call(arguments),u=(q.get(this,"events")||{})[e.type]||[],l=x.event.special[e.type]||{};if(a[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),t=0;while((i=s[t++])&&!e.isPropagationStopped()){e.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(o.namespace))&&(e.handleObj=o,e.data=o.data,r=((x.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a),r!==undefined&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,s=[],a=t.delegateCount,u=e.target;if(a&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!==this;u=u.parentNode||this)if(u.disabled!==!0||"click"!==e.type){for(r=[],n=0;a>n;n++)o=t[n],i=o.selector+" ",r[i]===undefined&&(r[i]=o.needsContext?x(i,this).index(u)>=0:x.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&s.push({elem:u,handlers:r})}return t.length>a&&s.push({elem:this,handlers:t.slice(a)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,s=t.button;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||o,r=n.documentElement,i=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),e.which||s===undefined||(e.which=1&s?1:2&s?3:4&s?2:0),e}},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=z.test(i)?this.mouseHooks:I.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new x.Event(o),t=r.length;while(t--)n=r[t],e[n]=o[n];return 3===e.target.nodeType&&(e.target=e.target.parentNode),s.filter?s.filter(e,o):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==V()&&this.focus?(this.focus(),!1):undefined},delegateType:"focusin"},blur:{trigger:function(){return this===V()&&this.blur?(this.blur(),!1):undefined},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&x.nodeName(this,"input")?(this.click(),!1):undefined},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)},x.Event=function(e,t){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.getPreventDefault&&e.getPreventDefault()?U:Y):this.type=e,t&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,undefined):new x.Event(e,t)},x.Event.prototype={isDefaultPrevented:Y,isPropagationStopped:Y,isImmediatePropagationStopped:Y,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=U,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=U,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=U,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&o.addEventListener(e,r,!0)},teardown:function(){0===--n&&o.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,t,n,r,i){var o,s;if("object"==typeof e){"string"!=typeof t&&(n=n||t,t=undefined);for(s in e)this.on(s,t,n,e[s],i);return this}if(null==n&&null==r?(r=t,n=t=undefined):null==r&&("string"==typeof t?(r=n,n=undefined):(r=n,n=t,t=undefined)),r===!1)r=Y;else if(!r)return this;return 1===i&&(o=r,r=function(e){return x().off(e),o.apply(this,arguments)},r.guid=o.guid||(o.guid=x.guid++)),this.each(function(){x.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,x(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return(t===!1||"function"==typeof t)&&(n=t,t=undefined),n===!1&&(n=Y),this.each(function(){x.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?x.event.trigger(e,t,n,!0):undefined}});var G=/^.[^:#\[\.,]*$/,J=x.expr.match.needsContext,Q={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n,r,i=this.length;if("string"!=typeof e)return t=this,this.pushStack(x(e).filter(function(){for(r=0;i>r;r++)if(x.contains(t[r],this))return!0}));for(n=[],r=0;i>r;r++)x.find(e,this[r],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=(this.selector?this.selector+" ":"")+e,n},has:function(e){var t=x(e,this),n=t.length;return this.filter(function(){var e=0;for(;n>e;e++)if(x.contains(this,t[e]))return!0})},not:function(e){return this.pushStack(Z(this,e||[],!0))},filter:function(e){return this.pushStack(Z(this,e||[],!1))},is:function(e){return!!e&&("string"==typeof e?J.test(e)?x(e,this.context).index(this[0])>=0:x.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,o=[],s=J.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(s?s.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?g.call(x(e),this[0]):g.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function K(e,t){while((e=e[t])&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return K(e,"nextSibling")},prev:function(e){return K(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return x.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(Q[e]||x.unique(i),"p"===e[0]&&i.reverse()),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,t,n){var r=[],i=n!==undefined;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&x(e).is(n))break;r.push(e)}return r},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function Z(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(G.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return g.call(t,e)>=0!==n})}var et=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,tt=/<([\w:]+)/,nt=/<|&#?\w+;/,rt=/<(?:script|style|link)/i,it=/^(?:checkbox|radio)$/i,ot=/checked\s*(?:[^=]|=\s*.checked.)/i,st=/^$|\/(?:java|ecma)script/i,at=/^true\/(.*)/,ut=/^\s*\s*$/g,lt={option:[1,""],thead:[1,"","
                                        "],tr:[2,"","
                                        "],td:[3,"","
                                        "],_default:[0,"",""]};lt.optgroup=lt.option,lt.tbody=lt.tfoot=lt.colgroup=lt.caption=lt.col=lt.thead,lt.th=lt.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===undefined?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||o).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ct(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=ct(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(gt(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&ht(gt(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(gt(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!rt.test(e)&&!lt[(tt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(et,"<$1>");try{for(;r>n;n++)t=this[n]||{},1===t.nodeType&&(x.cleanData(gt(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=p.apply([],e);var r,i,o,s,a,u,l=0,c=this.length,f=this,h=c-1,d=e[0],g=x.isFunction(d);if(g||!(1>=c||"string"!=typeof d||x.support.checkClone)&&ot.test(d))return this.each(function(r){var i=f.eq(r);g&&(e[0]=d.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(r=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),i=r.firstChild,1===r.childNodes.length&&(r=i),i)){for(o=x.map(gt(r,"script"),ft),s=o.length;c>l;l++)a=r,l!==h&&(a=x.clone(a,!0,!0),s&&x.merge(o,gt(a,"script"))),t.call(this[l],a,l);if(s)for(u=o[o.length-1].ownerDocument,x.map(o,pt),l=0;s>l;l++)a=o[l],st.test(a.type||"")&&!q.access(a,"globalEval")&&x.contains(u,a)&&(a.src?x._evalUrl(a.src):x.globalEval(a.textContent.replace(ut,"")))}return this}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=[],i=x(e),o=i.length-1,s=0;for(;o>=s;s++)n=s===o?this:this.clone(!0),x(i[s])[t](n),h.apply(r,n.get());return this.pushStack(r)}}),x.extend({clone:function(e,t,n){var r,i,o,s,a=e.cloneNode(!0),u=x.contains(e.ownerDocument,e);if(!(x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(s=gt(a),o=gt(e),r=0,i=o.length;i>r;r++)mt(o[r],s[r]);if(t)if(n)for(o=o||gt(e),s=s||gt(a),r=0,i=o.length;i>r;r++)dt(o[r],s[r]);else dt(e,a);return s=gt(a,"script"),s.length>0&&ht(s,!u&>(e,"script")),a},buildFragment:function(e,t,n,r){var i,o,s,a,u,l,c=0,f=e.length,p=t.createDocumentFragment(),h=[];for(;f>c;c++)if(i=e[c],i||0===i)if("object"===x.type(i))x.merge(h,i.nodeType?[i]:i);else if(nt.test(i)){o=o||p.appendChild(t.createElement("div")),s=(tt.exec(i)||["",""])[1].toLowerCase(),a=lt[s]||lt._default,o.innerHTML=a[1]+i.replace(et,"<$1>")+a[2],l=a[0];while(l--)o=o.firstChild;x.merge(h,o.childNodes),o=p.firstChild,o.textContent=""}else h.push(t.createTextNode(i));p.textContent="",c=0;while(i=h[c++])if((!r||-1===x.inArray(i,r))&&(u=x.contains(i.ownerDocument,i),o=gt(p.appendChild(i),"script"),u&&ht(o),n)){l=0;while(i=o[l++])st.test(i.type||"")&&n.push(i)}return p},cleanData:function(e){var t,n,r,i=e.length,o=0,s=x.event.special;for(;i>o;o++){if(n=e[o],x.acceptData(n)&&(t=q.access(n)))for(r in t.events)s[r]?x.event.remove(n,r):x.removeEvent(n,r,t.handle);L.discard(n),q.discard(n)}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"text",async:!1,global:!1,success:x.globalEval})}});function ct(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ft(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function pt(e){var t=at.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function ht(e,t){var n=e.length,r=0;for(;n>r;r++)q.set(e[r],"globalEval",!t||q.get(t[r],"globalEval"))}function dt(e,t){var n,r,i,o,s,a,u,l;if(1===t.nodeType){if(q.hasData(e)&&(o=q.access(e),s=x.extend({},o),l=o.events,q.set(t,s),l)){delete s.handle,s.events={};for(i in l)for(n=0,r=l[i].length;r>n;n++)x.event.add(t,i,l[i][n])}L.hasData(e)&&(a=L.access(e),u=x.extend({},a),L.set(t,u))}}function gt(e,t){var n=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return t===undefined||t&&x.nodeName(e,t)?x.merge([e],n):n}function mt(e,t){var n=t.nodeName.toLowerCase();"input"===n&&it.test(e.type)?t.checked=e.checked:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}x.fn.extend({wrapAll:function(e){var t;return x.isFunction(e)?this.each(function(t){x(this).wrapAll(e.call(this,t))}):(this[0]&&(t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var yt,vt,xt=/^(none|table(?!-c[ea]).+)/,bt=/^margin/,wt=RegExp("^("+b+")(.*)$","i"),Tt=RegExp("^("+b+")(?!px)[a-z%]+$","i"),Ct=RegExp("^([+-])=("+b+")","i"),kt={BODY:"block"},Nt={position:"absolute",visibility:"hidden",display:"block"},Et={letterSpacing:0,fontWeight:400},St=["Top","Right","Bottom","Left"],jt=["Webkit","O","Moz","ms"];function Dt(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=jt.length;while(i--)if(t=jt[i]+n,t in e)return t;return r}function At(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function Lt(t){return e.getComputedStyle(t,null)}function qt(e,t){var n,r,i,o=[],s=0,a=e.length;for(;a>s;s++)r=e[s],r.style&&(o[s]=q.get(r,"olddisplay"),n=r.style.display,t?(o[s]||"none"!==n||(r.style.display=""),""===r.style.display&&At(r)&&(o[s]=q.access(r,"olddisplay",Pt(r.nodeName)))):o[s]||(i=At(r),(n&&"none"!==n||!i)&&q.set(r,"olddisplay",i?n:x.css(r,"display"))));for(s=0;a>s;s++)r=e[s],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[s]||"":"none"));return e}x.fn.extend({css:function(e,t){return x.access(this,function(e,t,n){var r,i,o={},s=0;if(x.isArray(t)){for(r=Lt(e),i=t.length;i>s;s++)o[t[s]]=x.css(e,t[s],!1,r);return o}return n!==undefined?x.style(e,t,n):x.css(e,t)},e,t,arguments.length>1)},show:function(){return qt(this,!0)},hide:function(){return qt(this)},toggle:function(e){var t="boolean"==typeof e;return this.each(function(){(t?e:At(this))?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=yt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=x.camelCase(t),u=e.style;return t=x.cssProps[a]||(x.cssProps[a]=Dt(u,a)),s=x.cssHooks[t]||x.cssHooks[a],n===undefined?s&&"get"in s&&(i=s.get(e,!1,r))!==undefined?i:u[t]:(o=typeof n,"string"===o&&(i=Ct.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(x.css(e,t)),o="number"),null==n||"number"===o&&isNaN(n)||("number"!==o||x.cssNumber[a]||(n+="px"),x.support.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&(n=s.set(e,n,r))===undefined||(u[t]=n)),undefined)}},css:function(e,t,n,r){var i,o,s,a=x.camelCase(t);return t=x.cssProps[a]||(x.cssProps[a]=Dt(e.style,a)),s=x.cssHooks[t]||x.cssHooks[a],s&&"get"in s&&(i=s.get(e,!0,n)),i===undefined&&(i=yt(e,t,r)),"normal"===i&&t in Et&&(i=Et[t]),""===n||n?(o=parseFloat(i),n===!0||x.isNumeric(o)?o||0:i):i}}),yt=function(e,t,n){var r,i,o,s=n||Lt(e),a=s?s.getPropertyValue(t)||s[t]:undefined,u=e.style;return s&&(""!==a||x.contains(e.ownerDocument,e)||(a=x.style(e,t)),Tt.test(a)&&bt.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=s.width,u.width=r,u.minWidth=i,u.maxWidth=o)),a};function Ht(e,t,n){var r=wt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function Ot(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,s=0;for(;4>o;o+=2)"margin"===n&&(s+=x.css(e,n+St[o],!0,i)),r?("content"===n&&(s-=x.css(e,"padding"+St[o],!0,i)),"margin"!==n&&(s-=x.css(e,"border"+St[o]+"Width",!0,i))):(s+=x.css(e,"padding"+St[o],!0,i),"padding"!==n&&(s+=x.css(e,"border"+St[o]+"Width",!0,i)));return s}function Ft(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Lt(e),s=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=yt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Tt.test(i))return i;r=s&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+Ot(e,t,n||(s?"border":"content"),r,o)+"px"}function Pt(e){var t=o,n=kt[e];return n||(n=Rt(e,t),"none"!==n&&n||(vt=(vt||x("").attr("src",window.ActiveXObject?"javascript:false":"about:blank").css({position:"absolute",top:-1000,left:-1000}); -var t=_5.attr("target"),a=_5.attr("action"); -_5.attr("target",_6); -var _8=$(); -try{ -_7.appendTo("body"); -_7.bind("load",cb); -for(var n in _4){ -var f=$("").val(_4[n]).appendTo(_5); -_8=_8.add(f); -} -_9(); -_5[0].submit(); -} -finally{ -_5.attr("action",a); -t?_5.attr("target",t):_5.removeAttr("target"); -_8.remove(); -} -function _9(){ -var f=$("#"+_6); -if(!f.length){ -return; -} -try{ -var s=f.contents()[0].readyState; -if(s&&s.toLowerCase()=="uninitialized"){ -setTimeout(_9,100); -} -} -catch(e){ -cb(); -} -}; -var _a=10; -function cb(){ -var _b=$("#"+_6); -if(!_b.length){ -return; -} -_b.unbind(); -var _c=""; -try{ -var _d=_b.contents().find("body"); -_c=_d.html(); -if(_c==""){ -if(--_a){ -setTimeout(cb,100); -return; -} -} -var ta=_d.find(">textarea"); -if(ta.length){ -_c=ta.val(); -}else{ -var _e=_d.find(">pre"); -if(_e.length){ -_c=_e.html(); -} -} -} -catch(e){ -} -if(_3.success){ -_3.success(_c); -} -setTimeout(function(){ -_b.unbind(); -_b.remove(); -},100); -}; -}; -function _f(_10,_11){ -if(!$.data(_10,"form")){ -$.data(_10,"form",{options:$.extend({},$.fn.form.defaults)}); -} -var _12=$.data(_10,"form").options; -if(typeof _11=="string"){ -var _13={}; -if(_12.onBeforeLoad.call(_10,_13)==false){ -return; -} -$.ajax({url:_11,data:_13,dataType:"json",success:function(_14){ -_15(_14); -},error:function(){ -_12.onLoadError.apply(_10,arguments); -}}); -}else{ -_15(_11); -} -function _15(_16){ -var _17=$(_10); -for(var _18 in _16){ -var val=_16[_18]; -var rr=_19(_18,val); -if(!rr.length){ -var _1a=_1b(_18,val); -if(!_1a){ -$("input[name=\""+_18+"\"]",_17).val(val); -$("textarea[name=\""+_18+"\"]",_17).val(val); -$("select[name=\""+_18+"\"]",_17).val(val); -} -} -_1c(_18,val); -} -_12.onLoadSuccess.call(_10,_16); -_29(_10); -}; -function _19(_1d,val){ -var rr=$(_10).find("input[name=\""+_1d+"\"][type=radio], input[name=\""+_1d+"\"][type=checkbox]"); -rr._propAttr("checked",false); -rr.each(function(){ -var f=$(this); -if(f.val()==String(val)||$.inArray(f.val(),$.isArray(val)?val:[val])>=0){ -f._propAttr("checked",true); -} -}); -return rr; -}; -function _1b(_1e,val){ -var _1f=0; -var pp=["numberbox","slider"]; -for(var i=0;i=0){ -_1b(_16,_18,this); -} -}); -}; -cc.children("form").length?_17(cc.children("form")):_17(cc); -cc.append("
                                        "); -cc.bind("_resize",function(e,_19){ -var _1a=$.data(_16,"layout").options; -if(_1a.fit==true||_19){ -_2(_16); -} -return false; -}); -}; -function _1b(_1c,_1d,el){ -_1d.region=_1d.region||"center"; -var _1e=$.data(_1c,"layout").panels; -var cc=$(_1c); -var dir=_1d.region; -if(_1e[dir].length){ -return; -} -var pp=$(el); -if(!pp.length){ -pp=$("
                                        ").appendTo(cc); -} -var _1f=$.extend({},$.fn.layout.paneldefaults,{width:(pp.length?parseInt(pp[0].style.width)||pp.outerWidth():"auto"),height:(pp.length?parseInt(pp[0].style.height)||pp.outerHeight():"auto"),doSize:false,collapsible:true,cls:("layout-panel layout-panel-"+dir),bodyCls:"layout-body",onOpen:function(){ -var _20=$(this).panel("header").children("div.panel-tool"); -_20.children("a.panel-tool-collapse").hide(); -var _21={north:"up",south:"down",east:"right",west:"left"}; -if(!_21[dir]){ -return; -} -var _22="layout-button-"+_21[dir]; -var t=_20.children("a."+_22); -if(!t.length){ -t=$("").addClass(_22).appendTo(_20); -t.bind("click",{dir:dir},function(e){ -_2f(_1c,e.data.dir); -return false; -}); -} -$(this).panel("options").collapsible?t.show():t.hide(); -}},_1d); -pp.panel(_1f); -_1e[dir]=pp; -if(pp.panel("options").split){ -var _23=pp.panel("panel"); -_23.addClass("layout-split-"+dir); -var _24=""; -if(dir=="north"){ -_24="s"; -} -if(dir=="south"){ -_24="n"; -} -if(dir=="east"){ -_24="w"; -} -if(dir=="west"){ -_24="e"; -} -_23.resizable($.extend({},{handles:_24,onStartResize:function(e){ -_1=true; -if(dir=="north"||dir=="south"){ -var _25=$(">div.layout-split-proxy-v",_1c); -}else{ -var _25=$(">div.layout-split-proxy-h",_1c); -} -var top=0,_26=0,_27=0,_28=0; -var pos={display:"block"}; -if(dir=="north"){ -pos.top=parseInt(_23.css("top"))+_23.outerHeight()-_25.height(); -pos.left=parseInt(_23.css("left")); -pos.width=_23.outerWidth(); -pos.height=_25.height(); -}else{ -if(dir=="south"){ -pos.top=parseInt(_23.css("top")); -pos.left=parseInt(_23.css("left")); -pos.width=_23.outerWidth(); -pos.height=_25.height(); -}else{ -if(dir=="east"){ -pos.top=parseInt(_23.css("top"))||0; -pos.left=parseInt(_23.css("left"))||0; -pos.width=_25.width(); -pos.height=_23.outerHeight(); -}else{ -if(dir=="west"){ -pos.top=parseInt(_23.css("top"))||0; -pos.left=_23.outerWidth()-_25.width(); -pos.width=_25.width(); -pos.height=_23.outerHeight(); -} -} -} -} -_25.css(pos); -$("
                                        ").css({left:0,top:0,width:cc.width(),height:cc.height()}).appendTo(cc); -},onResize:function(e){ -if(dir=="north"||dir=="south"){ -var _29=$(">div.layout-split-proxy-v",_1c); -_29.css("top",e.pageY-$(_1c).offset().top-_29.height()/2); -}else{ -var _29=$(">div.layout-split-proxy-h",_1c); -_29.css("left",e.pageX-$(_1c).offset().left-_29.width()/2); -} -return false; -},onStopResize:function(e){ -cc.children("div.layout-split-proxy-v,div.layout-split-proxy-h").hide(); -pp.panel("resize",e.data); -_2(_1c); -_1=false; -cc.find(">div.layout-mask").remove(); -}},_1d)); -} -}; -function _2a(_2b,_2c){ -var _2d=$.data(_2b,"layout").panels; -if(_2d[_2c].length){ -_2d[_2c].panel("destroy"); -_2d[_2c]=$(); -var _2e="expand"+_2c.substring(0,1).toUpperCase()+_2c.substring(1); -if(_2d[_2e]){ -_2d[_2e].panel("destroy"); -_2d[_2e]=undefined; -} -} -}; -function _2f(_30,_31,_32){ -if(_32==undefined){ -_32="normal"; -} -var _33=$.data(_30,"layout").panels; -var p=_33[_31]; -var _34=p.panel("options"); -if(_34.onBeforeCollapse.call(p)==false){ -return; -} -var _35="expand"+_31.substring(0,1).toUpperCase()+_31.substring(1); -if(!_33[_35]){ -_33[_35]=_36(_31); -_33[_35].panel("panel").bind("click",function(){ -var _37=_38(); -p.panel("expand",false).panel("open").panel("resize",_37.collapse); -p.panel("panel").animate(_37.expand,function(){ -$(this).unbind(".layout").bind("mouseleave.layout",{region:_31},function(e){ -if(_1==true){ -return; -} -_2f(_30,e.data.region); -}); -}); -return false; -}); -} -var _39=_38(); -if(!_9(_33[_35])){ -_33.center.panel("resize",_39.resizeC); -} -p.panel("panel").animate(_39.collapse,_32,function(){ -p.panel("collapse",false).panel("close"); -_33[_35].panel("open").panel("resize",_39.expandP); -$(this).unbind(".layout"); -}); -function _36(dir){ -var _3a; -if(dir=="east"){ -_3a="layout-button-left"; -}else{ -if(dir=="west"){ -_3a="layout-button-right"; -}else{ -if(dir=="north"){ -_3a="layout-button-down"; -}else{ -if(dir=="south"){ -_3a="layout-button-up"; -} -} -} -} -var p=$("
                                        ").appendTo(_30); -p.panel($.extend({},$.fn.layout.paneldefaults,{cls:("layout-expand layout-expand-"+dir),title:" ",closed:true,minWidth:0,minHeight:0,doSize:false,tools:[{iconCls:_3a,handler:function(){ -_3d(_30,_31); -return false; -}}]})); -p.panel("panel").hover(function(){ -$(this).addClass("layout-expand-over"); -},function(){ -$(this).removeClass("layout-expand-over"); -}); -return p; -}; -function _38(){ -var cc=$(_30); -var _3b=_33.center.panel("options"); -var _3c=_34.collapsedSize; -if(_31=="east"){ -var ww=_3b.width+_34.width-_3c; -if(_34.split||!_34.border){ -ww++; -} -return {resizeC:{width:ww},expand:{left:cc.width()-_34.width},expandP:{top:_3b.top,left:cc.width()-_3c,width:_3c,height:_3b.height},collapse:{left:cc.width(),top:_3b.top,height:_3b.height}}; -}else{ -if(_31=="west"){ -var ww=_3b.width+_34.width-_3c; -if(_34.split||!_34.border){ -ww++; -} -return {resizeC:{width:ww,left:_3c-1},expand:{left:0},expandP:{left:0,top:_3b.top,width:_3c,height:_3b.height},collapse:{left:-_34.width,top:_3b.top,height:_3b.height}}; -}else{ -if(_31=="north"){ -var hh=_3b.height; -if(!_9(_33.expandNorth)){ -hh+=_34.height-_3c+((_34.split||!_34.border)?1:0); -} -_33.east.add(_33.west).add(_33.expandEast).add(_33.expandWest).panel("resize",{top:_3c-1,height:hh}); -return {resizeC:{top:_3c-1,height:hh},expand:{top:0},expandP:{top:0,left:0,width:cc.width(),height:_3c},collapse:{top:-_34.height,width:cc.width()}}; -}else{ -if(_31=="south"){ -var hh=_3b.height; -if(!_9(_33.expandSouth)){ -hh+=_34.height-_3c+((_34.split||!_34.border)?1:0); -} -_33.east.add(_33.west).add(_33.expandEast).add(_33.expandWest).panel("resize",{height:hh}); -return {resizeC:{height:hh},expand:{top:cc.height()-_34.height},expandP:{top:cc.height()-_3c,left:0,width:cc.width(),height:_3c},collapse:{top:cc.height(),width:cc.width()}}; -} -} -} -} -}; -}; -function _3d(_3e,_3f){ -var _40=$.data(_3e,"layout").panels; -var p=_40[_3f]; -var _41=p.panel("options"); -if(_41.onBeforeExpand.call(p)==false){ -return; -} -var _42=_43(); -var _44="expand"+_3f.substring(0,1).toUpperCase()+_3f.substring(1); -if(_40[_44]){ -_40[_44].panel("close"); -p.panel("panel").stop(true,true); -p.panel("expand",false).panel("open").panel("resize",_42.collapse); -p.panel("panel").animate(_42.expand,function(){ -_2(_3e); -}); -} -function _43(){ -var cc=$(_3e); -var _45=_40.center.panel("options"); -if(_3f=="east"&&_40.expandEast){ -return {collapse:{left:cc.width(),top:_45.top,height:_45.height},expand:{left:cc.width()-_40["east"].panel("options").width}}; -}else{ -if(_3f=="west"&&_40.expandWest){ -return {collapse:{left:-_40["west"].panel("options").width,top:_45.top,height:_45.height},expand:{left:0}}; -}else{ -if(_3f=="north"&&_40.expandNorth){ -return {collapse:{top:-_40["north"].panel("options").height,width:cc.width()},expand:{top:0}}; -}else{ -if(_3f=="south"&&_40.expandSouth){ -return {collapse:{top:cc.height(),width:cc.width()},expand:{top:cc.height()-_40["south"].panel("options").height}}; -} -} -} -} -}; -}; -function _9(pp){ -if(!pp){ -return false; -} -if(pp.length){ -return pp.panel("panel").is(":visible"); -}else{ -return false; -} -}; -function _46(_47){ -var _48=$.data(_47,"layout").panels; -if(_48.east.length&&_48.east.panel("options").collapsed){ -_2f(_47,"east",0); -} -if(_48.west.length&&_48.west.panel("options").collapsed){ -_2f(_47,"west",0); -} -if(_48.north.length&&_48.north.panel("options").collapsed){ -_2f(_47,"north",0); -} -if(_48.south.length&&_48.south.panel("options").collapsed){ -_2f(_47,"south",0); -} -}; -$.fn.layout=function(_49,_4a){ -if(typeof _49=="string"){ -return $.fn.layout.methods[_49](this,_4a); -} -_49=_49||{}; -return this.each(function(){ -var _4b=$.data(this,"layout"); -if(_4b){ -$.extend(_4b.options,_49); -}else{ -var _4c=$.extend({},$.fn.layout.defaults,$.fn.layout.parseOptions(this),_49); -$.data(this,"layout",{options:_4c,panels:{center:$(),north:$(),south:$(),east:$(),west:$()}}); -_15(this); -} -_2(this); -_46(this); -}); -}; -$.fn.layout.methods={resize:function(jq){ -return jq.each(function(){ -_2(this); -}); -},panel:function(jq,_4d){ -return $.data(jq[0],"layout").panels[_4d]; -},collapse:function(jq,_4e){ -return jq.each(function(){ -_2f(this,_4e); -}); -},expand:function(jq,_4f){ -return jq.each(function(){ -_3d(this,_4f); -}); -},add:function(jq,_50){ -return jq.each(function(){ -_1b(this,_50); -_2(this); -if($(this).layout("panel",_50.region).panel("options").collapsed){ -_2f(this,_50.region,0); -} -}); -},remove:function(jq,_51){ -return jq.each(function(){ -_2a(this,_51); -_2(this); -}); -}}; -$.fn.layout.parseOptions=function(_52){ -return $.extend({},$.parser.parseOptions(_52,[{fit:"boolean"}])); -}; -$.fn.layout.defaults={fit:false}; -$.fn.layout.parsePanelOptions=function(_53){ -var t=$(_53); -return $.extend({},$.fn.panel.parseOptions(_53),$.parser.parseOptions(_53,["region",{split:"boolean",collpasedSize:"number",minWidth:"number",minHeight:"number",maxWidth:"number",maxHeight:"number"}])); -}; -$.fn.layout.paneldefaults=$.extend({},$.fn.panel.defaults,{region:null,split:false,collapsedSize:28,minWidth:10,minHeight:10,maxWidth:10000,maxHeight:10000}); -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.linkbutton.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.linkbutton.js deleted file mode 100644 index b11b919..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.linkbutton.js +++ /dev/null @@ -1,145 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -function _1(_2){ -var _3=$.data(_2,"linkbutton").options; -var t=$(_2).empty(); -t.addClass("l-btn").removeClass("l-btn-plain l-btn-selected l-btn-plain-selected"); -t.removeClass("l-btn-small l-btn-medium l-btn-large").addClass("l-btn-"+_3.size); -if(_3.plain){ -t.addClass("l-btn-plain"); -} -if(_3.selected){ -t.addClass(_3.plain?"l-btn-selected l-btn-plain-selected":"l-btn-selected"); -} -t.attr("group",_3.group||""); -t.attr("id",_3.id||""); -var _4=$("").appendTo(t); -if(_3.text){ -$("").html(_3.text).appendTo(_4); -}else{ -$(" ").appendTo(_4); -} -if(_3.iconCls){ -$(" ").addClass(_3.iconCls).appendTo(_4); -_4.addClass("l-btn-icon-"+_3.iconAlign); -} -t.unbind(".linkbutton").bind("focus.linkbutton",function(){ -if(!_3.disabled){ -$(this).addClass("l-btn-focus"); -} -}).bind("blur.linkbutton",function(){ -$(this).removeClass("l-btn-focus"); -}).bind("click.linkbutton",function(){ -if(!_3.disabled){ -if(_3.toggle){ -if(_3.selected){ -$(this).linkbutton("unselect"); -}else{ -$(this).linkbutton("select"); -} -} -_3.onClick.call(this); -} -return false; -}); -_5(_2,_3.selected); -_6(_2,_3.disabled); -}; -function _5(_7,_8){ -var _9=$.data(_7,"linkbutton").options; -if(_8){ -if(_9.group){ -$("a.l-btn[group=\""+_9.group+"\"]").each(function(){ -var o=$(this).linkbutton("options"); -if(o.toggle){ -$(this).removeClass("l-btn-selected l-btn-plain-selected"); -o.selected=false; -} -}); -} -$(_7).addClass(_9.plain?"l-btn-selected l-btn-plain-selected":"l-btn-selected"); -_9.selected=true; -}else{ -if(!_9.group){ -$(_7).removeClass("l-btn-selected l-btn-plain-selected"); -_9.selected=false; -} -} -}; -function _6(_a,_b){ -var _c=$.data(_a,"linkbutton"); -var _d=_c.options; -$(_a).removeClass("l-btn-disabled l-btn-plain-disabled"); -if(_b){ -_d.disabled=true; -var _e=$(_a).attr("href"); -if(_e){ -_c.href=_e; -$(_a).attr("href","javascript:void(0)"); -} -if(_a.onclick){ -_c.onclick=_a.onclick; -_a.onclick=null; -} -_d.plain?$(_a).addClass("l-btn-disabled l-btn-plain-disabled"):$(_a).addClass("l-btn-disabled"); -}else{ -_d.disabled=false; -if(_c.href){ -$(_a).attr("href",_c.href); -} -if(_c.onclick){ -_a.onclick=_c.onclick; -} -} -}; -$.fn.linkbutton=function(_f,_10){ -if(typeof _f=="string"){ -return $.fn.linkbutton.methods[_f](this,_10); -} -_f=_f||{}; -return this.each(function(){ -var _11=$.data(this,"linkbutton"); -if(_11){ -$.extend(_11.options,_f); -}else{ -$.data(this,"linkbutton",{options:$.extend({},$.fn.linkbutton.defaults,$.fn.linkbutton.parseOptions(this),_f)}); -$(this).removeAttr("disabled"); -} -_1(this); -}); -}; -$.fn.linkbutton.methods={options:function(jq){ -return $.data(jq[0],"linkbutton").options; -},enable:function(jq){ -return jq.each(function(){ -_6(this,false); -}); -},disable:function(jq){ -return jq.each(function(){ -_6(this,true); -}); -},select:function(jq){ -return jq.each(function(){ -_5(this,true); -}); -},unselect:function(jq){ -return jq.each(function(){ -_5(this,false); -}); -}}; -$.fn.linkbutton.parseOptions=function(_12){ -var t=$(_12); -return $.extend({},$.parser.parseOptions(_12,["id","iconCls","iconAlign","group","size",{plain:"boolean",toggle:"boolean",selected:"boolean"}]),{disabled:(t.attr("disabled")?true:undefined),text:$.trim(t.html()),iconCls:(t.attr("icon")||t.attr("iconCls"))}); -}; -$.fn.linkbutton.defaults={id:null,disabled:false,toggle:false,selected:false,group:null,plain:false,text:"",iconCls:null,iconAlign:"left",size:"small",onClick:function(){ -}}; -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.menu.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.menu.js deleted file mode 100644 index 8651e9c..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.menu.js +++ /dev/null @@ -1,437 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -function _1(_2){ -$(_2).appendTo("body"); -$(_2).addClass("menu-top"); -$(document).unbind(".menu").bind("mousedown.menu",function(e){ -var m=$(e.target).closest("div.menu,div.combo-p"); -if(m.length){ -return; -} -$("body>div.menu-top:visible").menu("hide"); -}); -var _3=_4($(_2)); -for(var i=0;i<_3.length;i++){ -_5(_3[i]); -} -function _4(_6){ -var _7=[]; -_6.addClass("menu"); -_7.push(_6); -if(!_6.hasClass("menu-content")){ -_6.children("div").each(function(){ -var _8=$(this).children("div"); -if(_8.length){ -_8.insertAfter(_2); -this.submenu=_8; -var mm=_4(_8); -_7=_7.concat(mm); -} -}); -} -return _7; -}; -function _5(_9){ -var wh=$.parser.parseOptions(_9[0],["width","height"]); -_9[0].originalHeight=wh.height||0; -if(_9.hasClass("menu-content")){ -_9[0].originalWidth=wh.width||_9._outerWidth(); -}else{ -_9[0].originalWidth=wh.width||0; -_9.children("div").each(function(){ -var _a=$(this); -var _b=$.extend({},$.parser.parseOptions(this,["name","iconCls","href",{separator:"boolean"}]),{disabled:(_a.attr("disabled")?true:undefined)}); -if(_b.separator){ -_a.addClass("menu-sep"); -} -if(!_a.hasClass("menu-sep")){ -_a[0].itemName=_b.name||""; -_a[0].itemHref=_b.href||""; -var _c=_a.addClass("menu-item").html(); -_a.empty().append($("
                                        ").html(_c)); -if(_b.iconCls){ -$("
                                        ").addClass(_b.iconCls).appendTo(_a); -} -if(_b.disabled){ -_d(_2,_a[0],true); -} -if(_a[0].submenu){ -$("
                                        ").appendTo(_a); -} -_e(_2,_a); -} -}); -$("
                                        ").prependTo(_9); -} -_f(_2,_9); -_9.hide(); -_10(_2,_9); -}; -}; -function _f(_11,_12){ -var _13=$.data(_11,"menu").options; -var _14=_12.attr("style")||""; -_12.css({display:"block",left:-10000,height:"auto",overflow:"hidden"}); -var el=_12[0]; -var _15=el.originalWidth||0; -if(!_15){ -_15=0; -_12.find("div.menu-text").each(function(){ -if(_15<$(this)._outerWidth()){ -_15=$(this)._outerWidth(); -} -$(this).closest("div.menu-item")._outerHeight($(this)._outerHeight()+2); -}); -_15+=40; -} -_15=Math.max(_15,_13.minWidth); -var _16=el.originalHeight||_12.outerHeight(); -var _17=Math.max(el.originalHeight,_12.outerHeight())-2; -_12._outerWidth(_15)._outerHeight(_16); -_12.children("div.menu-line")._outerHeight(_17); -_14+=";width:"+el.style.width+";height:"+el.style.height; -_12.attr("style",_14); -}; -function _10(_18,_19){ -var _1a=$.data(_18,"menu"); -_19.unbind(".menu").bind("mouseenter.menu",function(){ -if(_1a.timer){ -clearTimeout(_1a.timer); -_1a.timer=null; -} -}).bind("mouseleave.menu",function(){ -if(_1a.options.hideOnUnhover){ -_1a.timer=setTimeout(function(){ -_1b(_18); -},100); -} -}); -}; -function _e(_1c,_1d){ -if(!_1d.hasClass("menu-item")){ -return; -} -_1d.unbind(".menu"); -_1d.bind("click.menu",function(){ -if($(this).hasClass("menu-item-disabled")){ -return; -} -if(!this.submenu){ -_1b(_1c); -var _1e=$(this).attr("href"); -if(_1e){ -location.href=_1e; -} -} -var _1f=$(_1c).menu("getItem",this); -$.data(_1c,"menu").options.onClick.call(_1c,_1f); -}).bind("mouseenter.menu",function(e){ -_1d.siblings().each(function(){ -if(this.submenu){ -_22(this.submenu); -} -$(this).removeClass("menu-active"); -}); -_1d.addClass("menu-active"); -if($(this).hasClass("menu-item-disabled")){ -_1d.addClass("menu-active-disabled"); -return; -} -var _20=_1d[0].submenu; -if(_20){ -$(_1c).menu("show",{menu:_20,parent:_1d}); -} -}).bind("mouseleave.menu",function(e){ -_1d.removeClass("menu-active menu-active-disabled"); -var _21=_1d[0].submenu; -if(_21){ -if(e.pageX>=parseInt(_21.css("left"))){ -_1d.addClass("menu-active"); -}else{ -_22(_21); -} -}else{ -_1d.removeClass("menu-active"); -} -}); -}; -function _1b(_23){ -var _24=$.data(_23,"menu"); -if(_24){ -if($(_23).is(":visible")){ -_22($(_23)); -_24.options.onHide.call(_23); -} -} -return false; -}; -function _25(_26,_27){ -var _28,top; -_27=_27||{}; -var _29=$(_27.menu||_26); -if(_29.hasClass("menu-top")){ -var _2a=$.data(_26,"menu").options; -$.extend(_2a,_27); -_28=_2a.left; -top=_2a.top; -if(_2a.alignTo){ -var at=$(_2a.alignTo); -_28=at.offset().left; -top=at.offset().top+at._outerHeight(); -if(_2a.align=="right"){ -_28+=at.outerWidth()-_29.outerWidth(); -} -} -if(_28+_29.outerWidth()>$(window)._outerWidth()+$(document)._scrollLeft()){ -_28=$(window)._outerWidth()+$(document).scrollLeft()-_29.outerWidth()-5; -} -if(_28<0){ -_28=0; -} -if(top+_29.outerHeight()>$(window)._outerHeight()+$(document).scrollTop()){ -top=$(window)._outerHeight()+$(document).scrollTop()-_29.outerHeight()-5; -} -}else{ -var _2b=_27.parent; -_28=_2b.offset().left+_2b.outerWidth()-2; -if(_28+_29.outerWidth()+5>$(window)._outerWidth()+$(document).scrollLeft()){ -_28=_2b.offset().left-_29.outerWidth()+2; -} -var top=_2b.offset().top-3; -if(top+_29.outerHeight()>$(window)._outerHeight()+$(document).scrollTop()){ -top=$(window)._outerHeight()+$(document).scrollTop()-_29.outerHeight()-5; -} -} -_29.css({left:_28,top:top}); -_29.show(0,function(){ -if(!_29[0].shadow){ -_29[0].shadow=$("
                                        ").insertAfter(_29); -} -_29[0].shadow.css({display:"block",zIndex:$.fn.menu.defaults.zIndex++,left:_29.css("left"),top:_29.css("top"),width:_29.outerWidth(),height:_29.outerHeight()}); -_29.css("z-index",$.fn.menu.defaults.zIndex++); -if(_29.hasClass("menu-top")){ -$.data(_29[0],"menu").options.onShow.call(_29[0]); -} -}); -}; -function _22(_2c){ -if(!_2c){ -return; -} -_2d(_2c); -_2c.find("div.menu-item").each(function(){ -if(this.submenu){ -_22(this.submenu); -} -$(this).removeClass("menu-active"); -}); -function _2d(m){ -m.stop(true,true); -if(m[0].shadow){ -m[0].shadow.hide(); -} -m.hide(); -}; -}; -function _2e(_2f,_30){ -var _31=null; -var tmp=$("
                                        "); -function _32(_33){ -_33.children("div.menu-item").each(function(){ -var _34=$(_2f).menu("getItem",this); -var s=tmp.empty().html(_34.text).text(); -if(_30==$.trim(s)){ -_31=_34; -}else{ -if(this.submenu&&!_31){ -_32(this.submenu); -} -} -}); -}; -_32($(_2f)); -tmp.remove(); -return _31; -}; -function _d(_35,_36,_37){ -var t=$(_36); -if(!t.hasClass("menu-item")){ -return; -} -if(_37){ -t.addClass("menu-item-disabled"); -if(_36.onclick){ -_36.onclick1=_36.onclick; -_36.onclick=null; -} -}else{ -t.removeClass("menu-item-disabled"); -if(_36.onclick1){ -_36.onclick=_36.onclick1; -_36.onclick1=null; -} -} -}; -function _38(_39,_3a){ -var _3b=$(_39); -if(_3a.parent){ -if(!_3a.parent.submenu){ -var _3c=$("
                                        ").appendTo("body"); -_3c.hide(); -_3a.parent.submenu=_3c; -$("
                                        ").appendTo(_3a.parent); -} -_3b=_3a.parent.submenu; -} -if(_3a.separator){ -var _3d=$("
                                        ").appendTo(_3b); -}else{ -var _3d=$("
                                        ").appendTo(_3b); -$("
                                        ").html(_3a.text).appendTo(_3d); -} -if(_3a.iconCls){ -$("
                                        ").addClass(_3a.iconCls).appendTo(_3d); -} -if(_3a.id){ -_3d.attr("id",_3a.id); -} -if(_3a.name){ -_3d[0].itemName=_3a.name; -} -if(_3a.href){ -_3d[0].itemHref=_3a.href; -} -if(_3a.onclick){ -if(typeof _3a.onclick=="string"){ -_3d.attr("onclick",_3a.onclick); -}else{ -_3d[0].onclick=eval(_3a.onclick); -} -} -if(_3a.handler){ -_3d[0].onclick=eval(_3a.handler); -} -if(_3a.disabled){ -_d(_39,_3d[0],true); -} -_e(_39,_3d); -_10(_39,_3b); -_f(_39,_3b); -}; -function _3e(_3f,_40){ -function _41(el){ -if(el.submenu){ -el.submenu.children("div.menu-item").each(function(){ -_41(this); -}); -var _42=el.submenu[0].shadow; -if(_42){ -_42.remove(); -} -el.submenu.remove(); -} -$(el).remove(); -}; -_41(_40); -}; -function _43(_44){ -$(_44).children("div.menu-item").each(function(){ -_3e(_44,this); -}); -if(_44.shadow){ -_44.shadow.remove(); -} -$(_44).remove(); -}; -$.fn.menu=function(_45,_46){ -if(typeof _45=="string"){ -return $.fn.menu.methods[_45](this,_46); -} -_45=_45||{}; -return this.each(function(){ -var _47=$.data(this,"menu"); -if(_47){ -$.extend(_47.options,_45); -}else{ -_47=$.data(this,"menu",{options:$.extend({},$.fn.menu.defaults,$.fn.menu.parseOptions(this),_45)}); -_1(this); -} -$(this).css({left:_47.options.left,top:_47.options.top}); -}); -}; -$.fn.menu.methods={options:function(jq){ -return $.data(jq[0],"menu").options; -},show:function(jq,pos){ -return jq.each(function(){ -_25(this,pos); -}); -},hide:function(jq){ -return jq.each(function(){ -_1b(this); -}); -},destroy:function(jq){ -return jq.each(function(){ -_43(this); -}); -},setText:function(jq,_48){ -return jq.each(function(){ -$(_48.target).children("div.menu-text").html(_48.text); -}); -},setIcon:function(jq,_49){ -return jq.each(function(){ -$(_49.target).children("div.menu-icon").remove(); -if(_49.iconCls){ -$("
                                        ").addClass(_49.iconCls).appendTo(_49.target); -} -}); -},getItem:function(jq,_4a){ -var t=$(_4a); -var _4b={target:_4a,id:t.attr("id"),text:$.trim(t.children("div.menu-text").html()),disabled:t.hasClass("menu-item-disabled"),name:_4a.itemName,href:_4a.itemHref,onclick:_4a.onclick}; -var _4c=t.children("div.menu-icon"); -if(_4c.length){ -var cc=[]; -var aa=_4c.attr("class").split(" "); -for(var i=0;i").addClass(_3.cls.arrow).appendTo(_5); -$("").addClass("m-btn-line").appendTo(_5); -if(_3.menu){ -$(_3.menu).menu(); -var _6=$(_3.menu).menu("options"); -var _7=_6.onShow; -var _8=_6.onHide; -$.extend(_6,{onShow:function(){ -var _9=$(this).menu("options"); -var _a=$(_9.alignTo); -var _b=_a.menubutton("options"); -_a.addClass((_b.plain==true)?_b.cls.btn2:_b.cls.btn1); -_7.call(this); -},onHide:function(){ -var _c=$(this).menu("options"); -var _d=$(_c.alignTo); -var _e=_d.menubutton("options"); -_d.removeClass((_e.plain==true)?_e.cls.btn2:_e.cls.btn1); -_8.call(this); -}}); -} -_f(_2,_3.disabled); -}; -function _f(_10,_11){ -var _12=$.data(_10,"menubutton").options; -_12.disabled=_11; -var btn=$(_10); -var t=btn.find("."+_12.cls.trigger); -if(!t.length){ -t=btn; -} -t.unbind(".menubutton"); -if(_11){ -btn.linkbutton("disable"); -}else{ -btn.linkbutton("enable"); -var _13=null; -t.bind("click.menubutton",function(){ -_14(_10); -return false; -}).bind("mouseenter.menubutton",function(){ -_13=setTimeout(function(){ -_14(_10); -},_12.duration); -return false; -}).bind("mouseleave.menubutton",function(){ -if(_13){ -clearTimeout(_13); -} -}); -} -}; -function _14(_15){ -var _16=$.data(_15,"menubutton").options; -if(_16.disabled||!_16.menu){ -return; -} -$("body>div.menu-top").menu("hide"); -var btn=$(_15); -var mm=$(_16.menu); -if(mm.length){ -mm.menu("options").alignTo=btn; -mm.menu("show",{alignTo:btn,align:_16.menuAlign}); -} -btn.blur(); -}; -$.fn.menubutton=function(_17,_18){ -if(typeof _17=="string"){ -var _19=$.fn.menubutton.methods[_17]; -if(_19){ -return _19(this,_18); -}else{ -return this.linkbutton(_17,_18); -} -} -_17=_17||{}; -return this.each(function(){ -var _1a=$.data(this,"menubutton"); -if(_1a){ -$.extend(_1a.options,_17); -}else{ -$.data(this,"menubutton",{options:$.extend({},$.fn.menubutton.defaults,$.fn.menubutton.parseOptions(this),_17)}); -$(this).removeAttr("disabled"); -} -_1(this); -}); -}; -$.fn.menubutton.methods={options:function(jq){ -var _1b=jq.linkbutton("options"); -var _1c=$.data(jq[0],"menubutton").options; -_1c.toggle=_1b.toggle; -_1c.selected=_1b.selected; -return _1c; -},enable:function(jq){ -return jq.each(function(){ -_f(this,false); -}); -},disable:function(jq){ -return jq.each(function(){ -_f(this,true); -}); -},destroy:function(jq){ -return jq.each(function(){ -var _1d=$(this).menubutton("options"); -if(_1d.menu){ -$(_1d.menu).menu("destroy"); -} -$(this).remove(); -}); -}}; -$.fn.menubutton.parseOptions=function(_1e){ -var t=$(_1e); -return $.extend({},$.fn.linkbutton.parseOptions(_1e),$.parser.parseOptions(_1e,["menu",{plain:"boolean",duration:"number"}])); -}; -$.fn.menubutton.defaults=$.extend({},$.fn.linkbutton.defaults,{plain:true,menu:null,menuAlign:"left",duration:100,cls:{btn1:"m-btn-active",btn2:"m-btn-plain-active",arrow:"m-btn-downarrow",trigger:"m-btn"}}); -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.messager.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.messager.js deleted file mode 100644 index e68fb47..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.messager.js +++ /dev/null @@ -1,215 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -function _1(el,_2,_3,_4){ -var _5=$(el).window("window"); -if(!_5){ -return; -} -switch(_2){ -case null: -_5.show(); -break; -case "slide": -_5.slideDown(_3); -break; -case "fade": -_5.fadeIn(_3); -break; -case "show": -_5.show(_3); -break; -} -var _6=null; -if(_4>0){ -_6=setTimeout(function(){ -_7(el,_2,_3); -},_4); -} -_5.hover(function(){ -if(_6){ -clearTimeout(_6); -} -},function(){ -if(_4>0){ -_6=setTimeout(function(){ -_7(el,_2,_3); -},_4); -} -}); -}; -function _7(el,_8,_9){ -if(el.locked==true){ -return; -} -el.locked=true; -var _a=$(el).window("window"); -if(!_a){ -return; -} -switch(_8){ -case null: -_a.hide(); -break; -case "slide": -_a.slideUp(_9); -break; -case "fade": -_a.fadeOut(_9); -break; -case "show": -_a.hide(_9); -break; -} -setTimeout(function(){ -$(el).window("destroy"); -},_9); -}; -function _b(_c){ -var _d=$.extend({},$.fn.window.defaults,{collapsible:false,minimizable:false,maximizable:false,shadow:false,draggable:false,resizable:false,closed:true,style:{left:"",top:"",right:0,zIndex:$.fn.window.defaults.zIndex++,bottom:-document.body.scrollTop-document.documentElement.scrollTop},onBeforeOpen:function(){ -_1(this,_d.showType,_d.showSpeed,_d.timeout); -return false; -},onBeforeClose:function(){ -_7(this,_d.showType,_d.showSpeed); -return false; -}},{title:"",width:250,height:100,showType:"slide",showSpeed:600,msg:"",timeout:4000},_c); -_d.style.zIndex=$.fn.window.defaults.zIndex++; -var _e=$("
                                        ").html(_d.msg).appendTo("body"); -_e.window(_d); -_e.window("window").css(_d.style); -_e.window("open"); -return _e; -}; -function _f(_10,_11,_12){ -var win=$("
                                        ").appendTo("body"); -win.append(_11); -if(_12){ -var tb=$("
                                        ").appendTo(win); -for(var _13 in _12){ -$("").attr("href","javascript:void(0)").text(_13).css("margin-left",10).bind("click",eval(_12[_13])).appendTo(tb).linkbutton(); -} -} -win.window({title:_10,noheader:(_10?false:true),width:300,height:"auto",modal:true,collapsible:false,minimizable:false,maximizable:false,resizable:false,onClose:function(){ -setTimeout(function(){ -win.window("destroy"); -},100); -}}); -win.window("window").addClass("messager-window"); -win.children("div.messager-button").children("a:first").focus(); -return win; -}; -$.messager={show:function(_14){ -return _b(_14); -},alert:function(_15,msg,_16,fn){ -var _17="
                                        "+msg+"
                                        "; -switch(_16){ -case "error": -_17="
                                        "+_17; -break; -case "info": -_17="
                                        "+_17; -break; -case "question": -_17="
                                        "+_17; -break; -case "warning": -_17="
                                        "+_17; -break; -} -_17+="
                                        "; -var _18={}; -_18[$.messager.defaults.ok]=function(){ -win.window("close"); -if(fn){ -fn(); -return false; -} -}; -var win=_f(_15,_17,_18); -return win; -},confirm:function(_19,msg,fn){ -var _1a="
                                        "+"
                                        "+msg+"
                                        "+"
                                        "; -var _1b={}; -_1b[$.messager.defaults.ok]=function(){ -win.window("close"); -if(fn){ -fn(true); -return false; -} -}; -_1b[$.messager.defaults.cancel]=function(){ -win.window("close"); -if(fn){ -fn(false); -return false; -} -}; -var win=_f(_19,_1a,_1b); -return win; -},prompt:function(_1c,msg,fn){ -var _1d="
                                        "+"
                                        "+msg+"
                                        "+"
                                        "+"
                                        "+"
                                        "; -var _1e={}; -_1e[$.messager.defaults.ok]=function(){ -win.window("close"); -if(fn){ -fn($(".messager-input",win).val()); -return false; -} -}; -_1e[$.messager.defaults.cancel]=function(){ -win.window("close"); -if(fn){ -fn(); -return false; -} -}; -var win=_f(_1c,_1d,_1e); -win.children("input.messager-input").focus(); -return win; -},progress:function(_1f){ -var _20={bar:function(){ -return $("body>div.messager-window").find("div.messager-p-bar"); -},close:function(){ -var win=$("body>div.messager-window>div.messager-body:has(div.messager-progress)"); -if(win.length){ -win.window("close"); -} -}}; -if(typeof _1f=="string"){ -var _21=_20[_1f]; -return _21(); -} -var _22=$.extend({title:"",msg:"",text:undefined,interval:300},_1f||{}); -var _23="
                                        "; -var win=_f(_22.title,_23,null); -win.find("div.messager-p-msg").html(_22.msg); -var bar=win.find("div.messager-p-bar"); -bar.progressbar({text:_22.text}); -win.window({closable:false,onClose:function(){ -if(this.timer){ -clearInterval(this.timer); -} -$(this).window("destroy"); -}}); -if(_22.interval){ -win[0].timer=setInterval(function(){ -var v=bar.progressbar("getValue"); -v+=10; -if(v>100){ -v=0; -} -bar.progressbar("setValue",v); -},_22.interval); -} -return win; -}}; -$.messager.defaults={ok:"Ok",cancel:"Cancel"}; -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.numberbox.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.numberbox.js deleted file mode 100644 index 709379d..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.numberbox.js +++ /dev/null @@ -1,243 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -function _1(_2){ -$(_2).addClass("numberbox numberbox-f"); -var v=$("").insertAfter(_2); -var _3=$(_2).attr("name"); -if(_3){ -v.attr("name",_3); -$(_2).removeAttr("name").attr("numberboxName",_3); -} -return v; -}; -function _4(_5){ -var _6=$.data(_5,"numberbox").options; -var fn=_6.onChange; -_6.onChange=function(){ -}; -_7(_5,_6.parser.call(_5,_6.value)); -_6.onChange=fn; -_6.originalValue=_8(_5); -}; -function _9(_a,_b){ -var _c=$.data(_a,"numberbox").options; -if(_b){ -_c.width=_b; -} -var t=$(_a); -var _d=$("
                                        ").insertBefore(t); -t.appendTo("body"); -if(isNaN(_c.width)){ -_c.width=t.outerWidth(); -} -t._outerWidth(_c.width)._outerHeight(_c.height); -t.css("line-height",t.height()+"px"); -t.insertAfter(_d); -_d.remove(); -}; -function _8(_e){ -return $.data(_e,"numberbox").field.val(); -}; -function _7(_f,_10){ -var _11=$.data(_f,"numberbox"); -var _12=_11.options; -var _13=_8(_f); -_10=_12.parser.call(_f,_10); -_12.value=_10; -_11.field.val(_10); -$(_f).val(_12.formatter.call(_f,_10)); -if(_13!=_10){ -_12.onChange.call(_f,_10,_13); -} -}; -function _14(_15){ -var _16=$.data(_15,"numberbox").options; -$(_15).unbind(".numberbox").bind("keypress.numberbox",function(e){ -return _16.filter.call(_15,e); -}).bind("blur.numberbox",function(){ -_7(_15,$(this).val()); -$(this).val(_16.formatter.call(_15,_8(_15))); -}).bind("focus.numberbox",function(){ -var vv=_8(_15); -if(vv!=_16.parser.call(_15,$(this).val())){ -$(this).val(_16.formatter.call(_15,vv)); -} -}); -}; -function _17(_18){ -if($.fn.validatebox){ -var _19=$.data(_18,"numberbox").options; -$(_18).validatebox(_19); -} -}; -function _1a(_1b,_1c){ -var _1d=$.data(_1b,"numberbox").options; -if(_1c){ -_1d.disabled=true; -$(_1b).attr("disabled",true); -}else{ -_1d.disabled=false; -$(_1b).removeAttr("disabled"); -} -}; -$.fn.numberbox=function(_1e,_1f){ -if(typeof _1e=="string"){ -var _20=$.fn.numberbox.methods[_1e]; -if(_20){ -return _20(this,_1f); -}else{ -return this.validatebox(_1e,_1f); -} -} -_1e=_1e||{}; -return this.each(function(){ -var _21=$.data(this,"numberbox"); -if(_21){ -$.extend(_21.options,_1e); -}else{ -_21=$.data(this,"numberbox",{options:$.extend({},$.fn.numberbox.defaults,$.fn.numberbox.parseOptions(this),_1e),field:_1(this)}); -$(this).removeAttr("disabled"); -$(this).css({imeMode:"disabled"}); -} -_1a(this,_21.options.disabled); -_9(this); -_14(this); -_17(this); -_4(this); -}); -}; -$.fn.numberbox.methods={options:function(jq){ -return $.data(jq[0],"numberbox").options; -},destroy:function(jq){ -return jq.each(function(){ -$.data(this,"numberbox").field.remove(); -$(this).validatebox("destroy"); -$(this).remove(); -}); -},resize:function(jq,_22){ -return jq.each(function(){ -_9(this,_22); -}); -},disable:function(jq){ -return jq.each(function(){ -_1a(this,true); -}); -},enable:function(jq){ -return jq.each(function(){ -_1a(this,false); -}); -},fix:function(jq){ -return jq.each(function(){ -_7(this,$(this).val()); -}); -},setValue:function(jq,_23){ -return jq.each(function(){ -_7(this,_23); -}); -},getValue:function(jq){ -return _8(jq[0]); -},clear:function(jq){ -return jq.each(function(){ -var _24=$.data(this,"numberbox"); -_24.field.val(""); -$(this).val(""); -}); -},reset:function(jq){ -return jq.each(function(){ -var _25=$(this).numberbox("options"); -$(this).numberbox("setValue",_25.originalValue); -}); -}}; -$.fn.numberbox.parseOptions=function(_26){ -var t=$(_26); -return $.extend({},$.fn.validatebox.parseOptions(_26),$.parser.parseOptions(_26,["width","height","decimalSeparator","groupSeparator","suffix",{min:"number",max:"number",precision:"number"}]),{prefix:(t.attr("prefix")?t.attr("prefix"):undefined),disabled:(t.attr("disabled")?true:undefined),value:(t.val()||undefined)}); -}; -$.fn.numberbox.defaults=$.extend({},$.fn.validatebox.defaults,{width:"auto",height:22,disabled:false,value:"",min:null,max:null,precision:0,decimalSeparator:".",groupSeparator:"",prefix:"",suffix:"",filter:function(e){ -var _27=$(this).numberbox("options"); -if(e.which==45){ -return ($(this).val().indexOf("-")==-1?true:false); -} -var c=String.fromCharCode(e.which); -if(c==_27.decimalSeparator){ -return ($(this).val().indexOf(c)==-1?true:false); -}else{ -if(c==_27.groupSeparator){ -return true; -}else{ -if((e.which>=48&&e.which<=57&&e.ctrlKey==false&&e.shiftKey==false)||e.which==0||e.which==8){ -return true; -}else{ -if(e.ctrlKey==true&&(e.which==99||e.which==118)){ -return true; -}else{ -return false; -} -} -} -} -},formatter:function(_28){ -if(!_28){ -return _28; -} -_28=_28+""; -var _29=$(this).numberbox("options"); -var s1=_28,s2=""; -var _2a=_28.indexOf("."); -if(_2a>=0){ -s1=_28.substring(0,_2a); -s2=_28.substring(_2a+1,_28.length); -} -if(_29.groupSeparator){ -var p=/(\d+)(\d{3})/; -while(p.test(s1)){ -s1=s1.replace(p,"$1"+_29.groupSeparator+"$2"); -} -} -if(s2){ -return _29.prefix+s1+_29.decimalSeparator+s2+_29.suffix; -}else{ -return _29.prefix+s1+_29.suffix; -} -},parser:function(s){ -s=s+""; -var _2b=$(this).numberbox("options"); -if(parseFloat(s)!=s){ -if(_2b.prefix){ -s=$.trim(s.replace(new RegExp("\\"+$.trim(_2b.prefix),"g"),"")); -} -if(_2b.suffix){ -s=$.trim(s.replace(new RegExp("\\"+$.trim(_2b.suffix),"g"),"")); -} -if(_2b.groupSeparator){ -s=$.trim(s.replace(new RegExp("\\"+_2b.groupSeparator,"g"),"")); -} -if(_2b.decimalSeparator){ -s=$.trim(s.replace(new RegExp("\\"+_2b.decimalSeparator,"g"),".")); -} -s=s.replace(/\s/g,""); -} -var val=parseFloat(s).toFixed(_2b.precision); -if(isNaN(val)){ -val=""; -}else{ -if(typeof (_2b.min)=="number"&&val<_2b.min){ -val=_2b.min.toFixed(_2b.precision); -}else{ -if(typeof (_2b.max)=="number"&&val>_2b.max){ -val=_2b.max.toFixed(_2b.precision); -} -} -} -return val; -},onChange:function(_2c,_2d){ -}}); -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.numberspinner.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.numberspinner.js deleted file mode 100644 index 97b4097..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.numberspinner.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -function _1(_2){ -$(_2).addClass("numberspinner-f"); -var _3=$.data(_2,"numberspinner").options; -$(_2).spinner(_3).numberbox($.extend({},_3,{width:"auto"})); -}; -function _4(_5,_6){ -var _7=$.data(_5,"numberspinner").options; -var v=parseFloat($(_5).numberbox("getValue")||_7.value)||0; -if(_6==true){ -v-=_7.increment; -}else{ -v+=_7.increment; -} -$(_5).numberbox("setValue",v); -}; -$.fn.numberspinner=function(_8,_9){ -if(typeof _8=="string"){ -var _a=$.fn.numberspinner.methods[_8]; -if(_a){ -return _a(this,_9); -}else{ -return this.spinner(_8,_9); -} -} -_8=_8||{}; -return this.each(function(){ -var _b=$.data(this,"numberspinner"); -if(_b){ -$.extend(_b.options,_8); -}else{ -$.data(this,"numberspinner",{options:$.extend({},$.fn.numberspinner.defaults,$.fn.numberspinner.parseOptions(this),_8)}); -} -_1(this); -}); -}; -$.fn.numberspinner.methods={options:function(jq){ -var _c=$.data(jq[0],"numberspinner").options; -return $.extend(_c,{value:jq.numberbox("getValue"),originalValue:jq.numberbox("options").originalValue}); -},setValue:function(jq,_d){ -return jq.each(function(){ -$(this).numberbox("setValue",_d); -}); -},getValue:function(jq){ -return jq.numberbox("getValue"); -},clear:function(jq){ -return jq.each(function(){ -$(this).spinner("clear"); -$(this).numberbox("clear"); -}); -},reset:function(jq){ -return jq.each(function(){ -var _e=$(this).numberspinner("options"); -$(this).numberspinner("setValue",_e.originalValue); -}); -}}; -$.fn.numberspinner.parseOptions=function(_f){ -return $.extend({},$.fn.spinner.parseOptions(_f),$.fn.numberbox.parseOptions(_f),{}); -}; -$.fn.numberspinner.defaults=$.extend({},$.fn.spinner.defaults,$.fn.numberbox.defaults,{spin:function(_10){ -_4(this,_10); -}}); -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.pagination.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.pagination.js deleted file mode 100644 index 0b4ddfd..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.pagination.js +++ /dev/null @@ -1,282 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -function _1(_2){ -var _3=$.data(_2,"pagination"); -var _4=_3.options; -var bb=_3.bb={}; -var _5=$(_2).addClass("pagination").html("
                                        "); -var tr=_5.find("tr"); -var aa=$.extend([],_4.layout); -if(!_4.showPageList){ -_6(aa,"list"); -} -if(!_4.showRefresh){ -_6(aa,"refresh"); -} -if(aa[0]=="sep"){ -aa.shift(); -} -if(aa[aa.length-1]=="sep"){ -aa.pop(); -} -for(var _7=0;_7"); -ps.bind("change",function(){ -_4.pageSize=parseInt($(this).val()); -_4.onChangePageSize.call(_2,_4.pageSize); -_10(_2,_4.pageNumber); -}); -for(var i=0;i<_4.pageList.length;i++){ -$("").text(_4.pageList[i]).appendTo(ps); -} -$("").append(ps).appendTo(tr); -}else{ -if(_8=="sep"){ -$("
                                        ").appendTo(tr); -}else{ -if(_8=="first"){ -bb.first=_9("first"); -}else{ -if(_8=="prev"){ -bb.prev=_9("prev"); -}else{ -if(_8=="next"){ -bb.next=_9("next"); -}else{ -if(_8=="last"){ -bb.last=_9("last"); -}else{ -if(_8=="manual"){ -$("").html(_4.beforePageText).appendTo(tr).wrap(""); -bb.num=$("").appendTo(tr).wrap(""); -bb.num.unbind(".pagination").bind("keydown.pagination",function(e){ -if(e.keyCode==13){ -var _a=parseInt($(this).val())||1; -_10(_2,_a); -return false; -} -}); -bb.after=$("").appendTo(tr).wrap(""); -}else{ -if(_8=="refresh"){ -bb.refresh=_9("refresh"); -}else{ -if(_8=="links"){ -$("").appendTo(tr); -} -} -} -} -} -} -} -} -} -} -if(_4.buttons){ -$("
                                        ").appendTo(tr); -if($.isArray(_4.buttons)){ -for(var i=0;i<_4.buttons.length;i++){ -var _b=_4.buttons[i]; -if(_b=="-"){ -$("
                                        ").appendTo(tr); -}else{ -var td=$("").appendTo(tr); -var a=$("").appendTo(td); -a[0].onclick=eval(_b.handler||function(){ -}); -a.linkbutton($.extend({},_b,{plain:true})); -} -} -}else{ -var td=$("").appendTo(tr); -$(_4.buttons).appendTo(td).show(); -} -} -$("
                                        ").appendTo(_5); -$("
                                        ").appendTo(_5); -function _9(_c){ -var _d=_4.nav[_c]; -var a=$("").appendTo(tr); -a.wrap(""); -a.linkbutton({iconCls:_d.iconCls,plain:true}).unbind(".pagination").bind("click.pagination",function(){ -_d.handler.call(_2); -}); -return a; -}; -function _6(aa,_e){ -var _f=$.inArray(_e,aa); -if(_f>=0){ -aa.splice(_f,1); -} -return aa; -}; -}; -function _10(_11,_12){ -var _13=$.data(_11,"pagination").options; -_14(_11,{pageNumber:_12}); -_13.onSelectPage.call(_11,_13.pageNumber,_13.pageSize); -}; -function _14(_15,_16){ -var _17=$.data(_15,"pagination"); -var _18=_17.options; -var bb=_17.bb; -$.extend(_18,_16||{}); -var ps=$(_15).find("select.pagination-page-list"); -if(ps.length){ -ps.val(_18.pageSize+""); -_18.pageSize=parseInt(ps.val()); -} -var _19=Math.ceil(_18.total/_18.pageSize)||1; -if(_18.pageNumber<1){ -_18.pageNumber=1; -} -if(_18.pageNumber>_19){ -_18.pageNumber=_19; -} -if(bb.num){ -bb.num.val(_18.pageNumber); -} -if(bb.after){ -bb.after.html(_18.afterPageText.replace(/{pages}/,_19)); -} -var td=$(_15).find("td.pagination-links"); -if(td.length){ -td.empty(); -var _1a=_18.pageNumber-Math.floor(_18.links/2); -if(_1a<1){ -_1a=1; -} -var _1b=_1a+_18.links-1; -if(_1b>_19){ -_1b=_19; -} -_1a=_1b-_18.links+1; -if(_1a<1){ -_1a=1; -} -for(var i=_1a;i<=_1b;i++){ -var a=$("").appendTo(td); -a.linkbutton({plain:true,text:i}); -if(i==_18.pageNumber){ -a.linkbutton("select"); -}else{ -a.unbind(".pagination").bind("click.pagination",{pageNumber:i},function(e){ -_10(_15,e.data.pageNumber); -}); -} -} -} -var _1c=_18.displayMsg; -_1c=_1c.replace(/{from}/,_18.total==0?0:_18.pageSize*(_18.pageNumber-1)+1); -_1c=_1c.replace(/{to}/,Math.min(_18.pageSize*(_18.pageNumber),_18.total)); -_1c=_1c.replace(/{total}/,_18.total); -$(_15).find("div.pagination-info").html(_1c); -if(bb.first){ -bb.first.linkbutton({disabled:(_18.pageNumber==1)}); -} -if(bb.prev){ -bb.prev.linkbutton({disabled:(_18.pageNumber==1)}); -} -if(bb.next){ -bb.next.linkbutton({disabled:(_18.pageNumber==_19)}); -} -if(bb.last){ -bb.last.linkbutton({disabled:(_18.pageNumber==_19)}); -} -_1d(_15,_18.loading); -}; -function _1d(_1e,_1f){ -var _20=$.data(_1e,"pagination"); -var _21=_20.options; -_21.loading=_1f; -if(_21.showRefresh&&_20.bb.refresh){ -_20.bb.refresh.linkbutton({iconCls:(_21.loading?"pagination-loading":"pagination-load")}); -} -}; -$.fn.pagination=function(_22,_23){ -if(typeof _22=="string"){ -return $.fn.pagination.methods[_22](this,_23); -} -_22=_22||{}; -return this.each(function(){ -var _24; -var _25=$.data(this,"pagination"); -if(_25){ -_24=$.extend(_25.options,_22); -}else{ -_24=$.extend({},$.fn.pagination.defaults,$.fn.pagination.parseOptions(this),_22); -$.data(this,"pagination",{options:_24}); -} -_1(this); -_14(this); -}); -}; -$.fn.pagination.methods={options:function(jq){ -return $.data(jq[0],"pagination").options; -},loading:function(jq){ -return jq.each(function(){ -_1d(this,true); -}); -},loaded:function(jq){ -return jq.each(function(){ -_1d(this,false); -}); -},refresh:function(jq,_26){ -return jq.each(function(){ -_14(this,_26); -}); -},select:function(jq,_27){ -return jq.each(function(){ -_10(this,_27); -}); -}}; -$.fn.pagination.parseOptions=function(_28){ -var t=$(_28); -return $.extend({},$.parser.parseOptions(_28,[{total:"number",pageSize:"number",pageNumber:"number",links:"number"},{loading:"boolean",showPageList:"boolean",showRefresh:"boolean"}]),{pageList:(t.attr("pageList")?eval(t.attr("pageList")):undefined)}); -}; -$.fn.pagination.defaults={total:1,pageSize:10,pageNumber:1,pageList:[10,20,30,50],loading:false,buttons:null,showPageList:true,showRefresh:true,links:10,layout:["list","sep","first","prev","sep","manual","sep","next","last","sep","refresh"],onSelectPage:function(_29,_2a){ -},onBeforeRefresh:function(_2b,_2c){ -},onRefresh:function(_2d,_2e){ -},onChangePageSize:function(_2f){ -},beforePageText:"Page",afterPageText:"of {pages}",displayMsg:"Displaying {from} to {to} of {total} items",nav:{first:{iconCls:"pagination-first",handler:function(){ -var _30=$(this).pagination("options"); -if(_30.pageNumber>1){ -$(this).pagination("select",1); -} -}},prev:{iconCls:"pagination-prev",handler:function(){ -var _31=$(this).pagination("options"); -if(_31.pageNumber>1){ -$(this).pagination("select",_31.pageNumber-1); -} -}},next:{iconCls:"pagination-next",handler:function(){ -var _32=$(this).pagination("options"); -var _33=Math.ceil(_32.total/_32.pageSize); -if(_32.pageNumber<_33){ -$(this).pagination("select",_32.pageNumber+1); -} -}},last:{iconCls:"pagination-last",handler:function(){ -var _34=$(this).pagination("options"); -var _35=Math.ceil(_34.total/_34.pageSize); -if(_34.pageNumber<_35){ -$(this).pagination("select",_35); -} -}},refresh:{iconCls:"pagination-refresh",handler:function(){ -var _36=$(this).pagination("options"); -if(_36.onBeforeRefresh.call(this,_36.pageNumber,_36.pageSize)!=false){ -$(this).pagination("select",_36.pageNumber); -_36.onRefresh.call(this,_36.pageNumber,_36.pageSize); -} -}}}}; -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.panel.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.panel.js deleted file mode 100644 index 18a5d5f..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.panel.js +++ /dev/null @@ -1,541 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -$.fn._remove=function(){ -return this.each(function(){ -$(this).remove(); -try{ -this.outerHTML=""; -} -catch(err){ -} -}); -}; -function _1(_2){ -_2._remove(); -}; -function _3(_4,_5){ -var _6=$.data(_4,"panel").options; -var _7=$.data(_4,"panel").panel; -var _8=_7.children("div.panel-header"); -var _9=_7.children("div.panel-body"); -if(_5){ -$.extend(_6,{width:_5.width,height:_5.height,left:_5.left,top:_5.top}); -} -_6.fit?$.extend(_6,_7._fit()):_7._fit(false); -_7.css({left:_6.left,top:_6.top}); -if(!isNaN(_6.width)){ -_7._outerWidth(_6.width); -}else{ -_7.width("auto"); -} -_8.add(_9)._outerWidth(_7.width()); -if(!isNaN(_6.height)){ -_7._outerHeight(_6.height); -_9._outerHeight(_7.height()-_8._outerHeight()); -}else{ -_9.height("auto"); -} -_7.css("height",""); -_6.onResize.apply(_4,[_6.width,_6.height]); -$(_4).find(">div:visible,>form>div:visible").triggerHandler("_resize"); -}; -function _a(_b,_c){ -var _d=$.data(_b,"panel").options; -var _e=$.data(_b,"panel").panel; -if(_c){ -if(_c.left!=null){ -_d.left=_c.left; -} -if(_c.top!=null){ -_d.top=_c.top; -} -} -_e.css({left:_d.left,top:_d.top}); -_d.onMove.apply(_b,[_d.left,_d.top]); -}; -function _f(_10){ -$(_10).addClass("panel-body"); -var _11=$("
                                        ").insertBefore(_10); -_11[0].appendChild(_10); -_11.bind("_resize",function(){ -var _12=$.data(_10,"panel").options; -if(_12.fit==true){ -_3(_10); -} -return false; -}); -return _11; -}; -function _13(_14){ -var _15=$.data(_14,"panel").options; -var _16=$.data(_14,"panel").panel; -if(_15.tools&&typeof _15.tools=="string"){ -_16.find(">div.panel-header>div.panel-tool .panel-tool-a").appendTo(_15.tools); -} -_1(_16.children("div.panel-header")); -if(_15.title&&!_15.noheader){ -var _17=$("
                                        "+_15.title+"
                                        ").prependTo(_16); -if(_15.iconCls){ -_17.find(".panel-title").addClass("panel-with-icon"); -$("
                                        ").addClass(_15.iconCls).appendTo(_17); -} -var _18=$("
                                        ").appendTo(_17); -_18.bind("click",function(e){ -e.stopPropagation(); -}); -if(_15.tools){ -if($.isArray(_15.tools)){ -for(var i=0;i<_15.tools.length;i++){ -var t=$("").addClass(_15.tools[i].iconCls).appendTo(_18); -if(_15.tools[i].handler){ -t.bind("click",eval(_15.tools[i].handler)); -} -} -}else{ -$(_15.tools).children().each(function(){ -$(this).addClass($(this).attr("iconCls")).addClass("panel-tool-a").appendTo(_18); -}); -} -} -if(_15.collapsible){ -$("").appendTo(_18).bind("click",function(){ -if(_15.collapsed==true){ -_3e(_14,true); -}else{ -_2e(_14,true); -} -return false; -}); -} -if(_15.minimizable){ -$("").appendTo(_18).bind("click",function(){ -_49(_14); -return false; -}); -} -if(_15.maximizable){ -$("").appendTo(_18).bind("click",function(){ -if(_15.maximized==true){ -_4d(_14); -}else{ -_2d(_14); -} -return false; -}); -} -if(_15.closable){ -$("").appendTo(_18).bind("click",function(){ -_19(_14); -return false; -}); -} -_16.children("div.panel-body").removeClass("panel-body-noheader"); -}else{ -_16.children("div.panel-body").addClass("panel-body-noheader"); -} -}; -function _1a(_1b,_1c){ -var _1d=$.data(_1b,"panel"); -var _1e=_1d.options; -if(_1f){ -_1e.queryParams=_1c; -} -if(_1e.href){ -if(!_1d.isLoaded||!_1e.cache){ -var _1f=$.extend({},_1e.queryParams); -if(_1e.onBeforeLoad.call(_1b,_1f)==false){ -return; -} -_1d.isLoaded=false; -_20(_1b); -if(_1e.loadingMessage){ -$(_1b).html($("
                                        ").html(_1e.loadingMessage)); -} -_1e.loader.call(_1b,_1f,function(_21){ -_22(_1e.extractor.call(_1b,_21)); -_1e.onLoad.apply(_1b,arguments); -_1d.isLoaded=true; -},function(){ -_1e.onLoadError.apply(_1b,arguments); -}); -} -}else{ -if(_1e.content){ -if(!_1d.isLoaded){ -_20(_1b); -_22(_1e.content); -_1d.isLoaded=true; -} -} -} -function _22(_23){ -$(_1b).html(_23); -$.parser.parse($(_1b)); -}; -}; -function _20(_24){ -var t=$(_24); -t.find(".combo-f").each(function(){ -$(this).combo("destroy"); -}); -t.find(".m-btn").each(function(){ -$(this).menubutton("destroy"); -}); -t.find(".s-btn").each(function(){ -$(this).splitbutton("destroy"); -}); -t.find(".tooltip-f").each(function(){ -$(this).tooltip("destroy"); -}); -t.children("div").each(function(){ -$(this)._fit(false); -}); -}; -function _25(_26){ -$(_26).find("div.panel:visible,div.accordion:visible,div.tabs-container:visible,div.layout:visible").each(function(){ -$(this).triggerHandler("_resize",[true]); -}); -}; -function _27(_28,_29){ -var _2a=$.data(_28,"panel").options; -var _2b=$.data(_28,"panel").panel; -if(_29!=true){ -if(_2a.onBeforeOpen.call(_28)==false){ -return; -} -} -_2b.show(); -_2a.closed=false; -_2a.minimized=false; -var _2c=_2b.children("div.panel-header").find("a.panel-tool-restore"); -if(_2c.length){ -_2a.maximized=true; -} -_2a.onOpen.call(_28); -if(_2a.maximized==true){ -_2a.maximized=false; -_2d(_28); -} -if(_2a.collapsed==true){ -_2a.collapsed=false; -_2e(_28); -} -if(!_2a.collapsed){ -_1a(_28); -_25(_28); -} -}; -function _19(_2f,_30){ -var _31=$.data(_2f,"panel").options; -var _32=$.data(_2f,"panel").panel; -if(_30!=true){ -if(_31.onBeforeClose.call(_2f)==false){ -return; -} -} -_32._fit(false); -_32.hide(); -_31.closed=true; -_31.onClose.call(_2f); -}; -function _33(_34,_35){ -var _36=$.data(_34,"panel").options; -var _37=$.data(_34,"panel").panel; -if(_35!=true){ -if(_36.onBeforeDestroy.call(_34)==false){ -return; -} -} -_20(_34); -_1(_37); -_36.onDestroy.call(_34); -}; -function _2e(_38,_39){ -var _3a=$.data(_38,"panel").options; -var _3b=$.data(_38,"panel").panel; -var _3c=_3b.children("div.panel-body"); -var _3d=_3b.children("div.panel-header").find("a.panel-tool-collapse"); -if(_3a.collapsed==true){ -return; -} -_3c.stop(true,true); -if(_3a.onBeforeCollapse.call(_38)==false){ -return; -} -_3d.addClass("panel-tool-expand"); -if(_39==true){ -_3c.slideUp("normal",function(){ -_3a.collapsed=true; -_3a.onCollapse.call(_38); -}); -}else{ -_3c.hide(); -_3a.collapsed=true; -_3a.onCollapse.call(_38); -} -}; -function _3e(_3f,_40){ -var _41=$.data(_3f,"panel").options; -var _42=$.data(_3f,"panel").panel; -var _43=_42.children("div.panel-body"); -var _44=_42.children("div.panel-header").find("a.panel-tool-collapse"); -if(_41.collapsed==false){ -return; -} -_43.stop(true,true); -if(_41.onBeforeExpand.call(_3f)==false){ -return; -} -_44.removeClass("panel-tool-expand"); -if(_40==true){ -_43.slideDown("normal",function(){ -_41.collapsed=false; -_41.onExpand.call(_3f); -_1a(_3f); -_25(_3f); -}); -}else{ -_43.show(); -_41.collapsed=false; -_41.onExpand.call(_3f); -_1a(_3f); -_25(_3f); -} -}; -function _2d(_45){ -var _46=$.data(_45,"panel").options; -var _47=$.data(_45,"panel").panel; -var _48=_47.children("div.panel-header").find("a.panel-tool-max"); -if(_46.maximized==true){ -return; -} -_48.addClass("panel-tool-restore"); -if(!$.data(_45,"panel").original){ -$.data(_45,"panel").original={width:_46.width,height:_46.height,left:_46.left,top:_46.top,fit:_46.fit}; -} -_46.left=0; -_46.top=0; -_46.fit=true; -_3(_45); -_46.minimized=false; -_46.maximized=true; -_46.onMaximize.call(_45); -}; -function _49(_4a){ -var _4b=$.data(_4a,"panel").options; -var _4c=$.data(_4a,"panel").panel; -_4c._fit(false); -_4c.hide(); -_4b.minimized=true; -_4b.maximized=false; -_4b.onMinimize.call(_4a); -}; -function _4d(_4e){ -var _4f=$.data(_4e,"panel").options; -var _50=$.data(_4e,"panel").panel; -var _51=_50.children("div.panel-header").find("a.panel-tool-max"); -if(_4f.maximized==false){ -return; -} -_50.show(); -_51.removeClass("panel-tool-restore"); -$.extend(_4f,$.data(_4e,"panel").original); -_3(_4e); -_4f.minimized=false; -_4f.maximized=false; -$.data(_4e,"panel").original=null; -_4f.onRestore.call(_4e); -}; -function _52(_53){ -var _54=$.data(_53,"panel").options; -var _55=$.data(_53,"panel").panel; -var _56=$(_53).panel("header"); -var _57=$(_53).panel("body"); -_55.css(_54.style); -_55.addClass(_54.cls); -if(_54.border){ -_56.removeClass("panel-header-noborder"); -_57.removeClass("panel-body-noborder"); -}else{ -_56.addClass("panel-header-noborder"); -_57.addClass("panel-body-noborder"); -} -_56.addClass(_54.headerCls); -_57.addClass(_54.bodyCls); -if(_54.id){ -$(_53).attr("id",_54.id); -}else{ -$(_53).attr("id",""); -} -}; -function _58(_59,_5a){ -$.data(_59,"panel").options.title=_5a; -$(_59).panel("header").find("div.panel-title").html(_5a); -}; -var TO=false; -var _5b=true; -$(window).unbind(".panel").bind("resize.panel",function(){ -if(!_5b){ -return; -} -if(TO!==false){ -clearTimeout(TO); -} -TO=setTimeout(function(){ -_5b=false; -var _5c=$("body.layout"); -if(_5c.length){ -_5c.layout("resize"); -}else{ -$("body").children("div.panel:visible,div.accordion:visible,div.tabs-container:visible,div.layout:visible").triggerHandler("_resize"); -} -_5b=true; -TO=false; -},200); -}); -$.fn.panel=function(_5d,_5e){ -if(typeof _5d=="string"){ -return $.fn.panel.methods[_5d](this,_5e); -} -_5d=_5d||{}; -return this.each(function(){ -var _5f=$.data(this,"panel"); -var _60; -if(_5f){ -_60=$.extend(_5f.options,_5d); -_5f.isLoaded=false; -}else{ -_60=$.extend({},$.fn.panel.defaults,$.fn.panel.parseOptions(this),_5d); -$(this).attr("title",""); -_5f=$.data(this,"panel",{options:_60,panel:_f(this),isLoaded:false}); -} -_13(this); -_52(this); -if(_60.doSize==true){ -_5f.panel.css("display","block"); -_3(this); -} -if(_60.closed==true||_60.minimized==true){ -_5f.panel.hide(); -}else{ -_27(this); -} -}); -}; -$.fn.panel.methods={options:function(jq){ -return $.data(jq[0],"panel").options; -},panel:function(jq){ -return $.data(jq[0],"panel").panel; -},header:function(jq){ -return $.data(jq[0],"panel").panel.find(">div.panel-header"); -},body:function(jq){ -return $.data(jq[0],"panel").panel.find(">div.panel-body"); -},setTitle:function(jq,_61){ -return jq.each(function(){ -_58(this,_61); -}); -},open:function(jq,_62){ -return jq.each(function(){ -_27(this,_62); -}); -},close:function(jq,_63){ -return jq.each(function(){ -_19(this,_63); -}); -},destroy:function(jq,_64){ -return jq.each(function(){ -_33(this,_64); -}); -},refresh:function(jq,_65){ -return jq.each(function(){ -var _66=$.data(this,"panel"); -_66.isLoaded=false; -if(_65){ -if(typeof _65=="string"){ -_66.options.href=_65; -}else{ -_66.options.queryParams=_65; -} -} -_1a(this); -}); -},resize:function(jq,_67){ -return jq.each(function(){ -_3(this,_67); -}); -},move:function(jq,_68){ -return jq.each(function(){ -_a(this,_68); -}); -},maximize:function(jq){ -return jq.each(function(){ -_2d(this); -}); -},minimize:function(jq){ -return jq.each(function(){ -_49(this); -}); -},restore:function(jq){ -return jq.each(function(){ -_4d(this); -}); -},collapse:function(jq,_69){ -return jq.each(function(){ -_2e(this,_69); -}); -},expand:function(jq,_6a){ -return jq.each(function(){ -_3e(this,_6a); -}); -}}; -$.fn.panel.parseOptions=function(_6b){ -var t=$(_6b); -return $.extend({},$.parser.parseOptions(_6b,["id","width","height","left","top","title","iconCls","cls","headerCls","bodyCls","tools","href","method",{cache:"boolean",fit:"boolean",border:"boolean",noheader:"boolean"},{collapsible:"boolean",minimizable:"boolean",maximizable:"boolean"},{closable:"boolean",collapsed:"boolean",minimized:"boolean",maximized:"boolean",closed:"boolean"}]),{loadingMessage:(t.attr("loadingMessage")!=undefined?t.attr("loadingMessage"):undefined)}); -}; -$.fn.panel.defaults={id:null,title:null,iconCls:null,width:"auto",height:"auto",left:null,top:null,cls:null,headerCls:null,bodyCls:null,style:{},href:null,cache:true,fit:false,border:true,doSize:true,noheader:false,content:null,collapsible:false,minimizable:false,maximizable:false,closable:false,collapsed:false,minimized:false,maximized:false,closed:false,tools:null,queryParams:{},method:"get",href:null,loadingMessage:"Loading...",loader:function(_6c,_6d,_6e){ -var _6f=$(this).panel("options"); -if(!_6f.href){ -return false; -} -$.ajax({type:_6f.method,url:_6f.href,cache:false,data:_6c,dataType:"html",success:function(_70){ -_6d(_70); -},error:function(){ -_6e.apply(this,arguments); -}}); -},extractor:function(_71){ -var _72=/]*>((.|[\n\r])*)<\/body>/im; -var _73=_72.exec(_71); -if(_73){ -return _73[1]; -}else{ -return _71; -} -},onBeforeLoad:function(_74){ -},onLoad:function(){ -},onLoadError:function(){ -},onBeforeOpen:function(){ -},onOpen:function(){ -},onBeforeClose:function(){ -},onClose:function(){ -},onBeforeDestroy:function(){ -},onDestroy:function(){ -},onResize:function(_75,_76){ -},onMove:function(_77,top){ -},onMaximize:function(){ -},onRestore:function(){ -},onMinimize:function(){ -},onBeforeCollapse:function(){ -},onBeforeExpand:function(){ -},onCollapse:function(){ -},onExpand:function(){ -}}; -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.parser.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.parser.js deleted file mode 100644 index 69c2ba8..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.parser.js +++ /dev/null @@ -1,216 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -$.parser={auto:true,onComplete:function(_1){ -},plugins:["draggable","droppable","resizable","pagination","tooltip","linkbutton","menu","menubutton","splitbutton","progressbar","tree","combobox","combotree","combogrid","numberbox","validatebox","searchbox","numberspinner","timespinner","calendar","datebox","datetimebox","slider","layout","panel","datagrid","propertygrid","treegrid","tabs","accordion","window","dialog"],parse:function(_2){ -var aa=[]; -for(var i=0;i<$.parser.plugins.length;i++){ -var _3=$.parser.plugins[i]; -var r=$(".easyui-"+_3,_2); -if(r.length){ -if(r[_3]){ -r[_3](); -}else{ -aa.push({name:_3,jq:r}); -} -} -} -if(aa.length&&window.easyloader){ -var _4=[]; -for(var i=0;i
                                        ").appendTo("body"); -d.width(100); -$._boxModel=parseInt(d.width())==100; -d.remove(); -if(!window.easyloader&&$.parser.auto){ -$.parser.parse(); -} -}); -$.fn._outerWidth=function(_c){ -if(_c==undefined){ -if(this[0]==window){ -return this.width()||document.body.clientWidth; -} -return this.outerWidth()||0; -} -return this.each(function(){ -if($._boxModel){ -$(this).width(_c-($(this).outerWidth()-$(this).width())); -}else{ -$(this).width(_c); -} -}); -}; -$.fn._outerHeight=function(_d){ -if(_d==undefined){ -if(this[0]==window){ -return this.height()||document.body.clientHeight; -} -return this.outerHeight()||0; -} -return this.each(function(){ -if($._boxModel){ -$(this).height(_d-($(this).outerHeight()-$(this).height())); -}else{ -$(this).height(_d); -} -}); -}; -$.fn._scrollLeft=function(_e){ -if(_e==undefined){ -return this.scrollLeft(); -}else{ -return this.each(function(){ -$(this).scrollLeft(_e); -}); -} -}; -$.fn._propAttr=$.fn.prop||$.fn.attr; -$.fn._fit=function(_f){ -_f=_f==undefined?true:_f; -var t=this[0]; -var p=(t.tagName=="BODY"?t:this.parent()[0]); -var _10=p.fcount||0; -if(_f){ -if(!t.fitted){ -t.fitted=true; -p.fcount=_10+1; -$(p).addClass("panel-noscroll"); -if(p.tagName=="BODY"){ -$("html").addClass("panel-fit"); -} -} -}else{ -if(t.fitted){ -t.fitted=false; -p.fcount=_10-1; -if(p.fcount==0){ -$(p).removeClass("panel-noscroll"); -if(p.tagName=="BODY"){ -$("html").removeClass("panel-fit"); -} -} -} -} -return {width:$(p).width(),height:$(p).height()}; -}; -})(jQuery); -(function($){ -var _11=null; -var _12=null; -var _13=false; -function _14(e){ -if(e.touches.length!=1){ -return; -} -if(!_13){ -_13=true; -dblClickTimer=setTimeout(function(){ -_13=false; -},500); -}else{ -clearTimeout(dblClickTimer); -_13=false; -_15(e,"dblclick"); -} -_11=setTimeout(function(){ -_15(e,"contextmenu",3); -},1000); -_15(e,"mousedown"); -if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ -e.preventDefault(); -} -}; -function _16(e){ -if(e.touches.length!=1){ -return; -} -if(_11){ -clearTimeout(_11); -} -_15(e,"mousemove"); -if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ -e.preventDefault(); -} -}; -function _17(e){ -if(_11){ -clearTimeout(_11); -} -_15(e,"mouseup"); -if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ -e.preventDefault(); -} -}; -function _15(e,_18,_19){ -var _1a=new $.Event(_18); -_1a.pageX=e.changedTouches[0].pageX; -_1a.pageY=e.changedTouches[0].pageY; -_1a.which=_19||1; -$(e.target).trigger(_1a); -}; -if(document.addEventListener){ -document.addEventListener("touchstart",_14,true); -document.addEventListener("touchmove",_16,true); -document.addEventListener("touchend",_17,true); -} -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.progressbar.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.progressbar.js deleted file mode 100644 index 71eae68..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.progressbar.js +++ /dev/null @@ -1,78 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -function _1(_2){ -$(_2).addClass("progressbar"); -$(_2).html("
                                        "); -return $(_2); -}; -function _3(_4,_5){ -var _6=$.data(_4,"progressbar").options; -var _7=$.data(_4,"progressbar").bar; -if(_5){ -_6.width=_5; -} -_7._outerWidth(_6.width)._outerHeight(_6.height); -_7.find("div.progressbar-text").width(_7.width()); -_7.find("div.progressbar-text,div.progressbar-value").css({height:_7.height()+"px",lineHeight:_7.height()+"px"}); -}; -$.fn.progressbar=function(_8,_9){ -if(typeof _8=="string"){ -var _a=$.fn.progressbar.methods[_8]; -if(_a){ -return _a(this,_9); -} -} -_8=_8||{}; -return this.each(function(){ -var _b=$.data(this,"progressbar"); -if(_b){ -$.extend(_b.options,_8); -}else{ -_b=$.data(this,"progressbar",{options:$.extend({},$.fn.progressbar.defaults,$.fn.progressbar.parseOptions(this),_8),bar:_1(this)}); -} -$(this).progressbar("setValue",_b.options.value); -_3(this); -}); -}; -$.fn.progressbar.methods={options:function(jq){ -return $.data(jq[0],"progressbar").options; -},resize:function(jq,_c){ -return jq.each(function(){ -_3(this,_c); -}); -},getValue:function(jq){ -return $.data(jq[0],"progressbar").options.value; -},setValue:function(jq,_d){ -if(_d<0){ -_d=0; -} -if(_d>100){ -_d=100; -} -return jq.each(function(){ -var _e=$.data(this,"progressbar").options; -var _f=_e.text.replace(/{value}/,_d); -var _10=_e.value; -_e.value=_d; -$(this).find("div.progressbar-value").width(_d+"%"); -$(this).find("div.progressbar-text").html(_f); -if(_10!=_d){ -_e.onChange.call(this,_d,_10); -} -}); -}}; -$.fn.progressbar.parseOptions=function(_11){ -return $.extend({},$.parser.parseOptions(_11,["width","height","text",{value:"number"}])); -}; -$.fn.progressbar.defaults={width:"auto",height:22,value:0,text:"{value}%",onChange:function(_12,_13){ -}}; -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.propertygrid.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.propertygrid.js deleted file mode 100644 index 8484775..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.propertygrid.js +++ /dev/null @@ -1,235 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -var _1; -function _2(_3){ -var _4=$.data(_3,"propertygrid"); -var _5=$.data(_3,"propertygrid").options; -$(_3).datagrid($.extend({},_5,{cls:"propertygrid",view:(_5.showGroup?_5.groupView:_5.view),onClickRow:function(_6,_7){ -if(_1!=this){ -_a(_1); -_1=this; -} -if(_5.editIndex!=_6&&_7.editor){ -var _8=$(this).datagrid("getColumnOption","value"); -_8.editor=_7.editor; -_a(_1); -$(this).datagrid("beginEdit",_6); -$(this).datagrid("getEditors",_6)[0].target.focus(); -_5.editIndex=_6; -} -_5.onClickRow.call(_3,_6,_7); -},loadFilter:function(_9){ -_a(this); -return _5.loadFilter.call(this,_9); -}})); -$(document).unbind(".propertygrid").bind("mousedown.propertygrid",function(e){ -var p=$(e.target).closest("div.datagrid-view,div.combo-panel"); -if(p.length){ -return; -} -_a(_1); -_1=undefined; -}); -}; -function _a(_b){ -var t=$(_b); -if(!t.length){ -return; -} -var _c=$.data(_b,"propertygrid").options; -var _d=_c.editIndex; -if(_d==undefined){ -return; -} -var ed=t.datagrid("getEditors",_d)[0]; -if(ed){ -ed.target.blur(); -if(t.datagrid("validateRow",_d)){ -t.datagrid("endEdit",_d); -}else{ -t.datagrid("cancelEdit",_d); -} -} -_c.editIndex=undefined; -}; -$.fn.propertygrid=function(_e,_f){ -if(typeof _e=="string"){ -var _10=$.fn.propertygrid.methods[_e]; -if(_10){ -return _10(this,_f); -}else{ -return this.datagrid(_e,_f); -} -} -_e=_e||{}; -return this.each(function(){ -var _11=$.data(this,"propertygrid"); -if(_11){ -$.extend(_11.options,_e); -}else{ -var _12=$.extend({},$.fn.propertygrid.defaults,$.fn.propertygrid.parseOptions(this),_e); -_12.frozenColumns=$.extend(true,[],_12.frozenColumns); -_12.columns=$.extend(true,[],_12.columns); -$.data(this,"propertygrid",{options:_12}); -} -_2(this); -}); -}; -$.fn.propertygrid.methods={options:function(jq){ -return $.data(jq[0],"propertygrid").options; -}}; -$.fn.propertygrid.parseOptions=function(_13){ -return $.extend({},$.fn.datagrid.parseOptions(_13),$.parser.parseOptions(_13,[{showGroup:"boolean"}])); -}; -var _14=$.extend({},$.fn.datagrid.defaults.view,{render:function(_15,_16,_17){ -var _18=[]; -var _19=this.groups; -for(var i=0;i<_19.length;i++){ -_18.push(this.renderGroup.call(this,_15,i,_19[i],_17)); -} -$(_16).html(_18.join("")); -},renderGroup:function(_1a,_1b,_1c,_1d){ -var _1e=$.data(_1a,"datagrid"); -var _1f=_1e.options; -var _20=$(_1a).datagrid("getColumnFields",_1d); -var _21=[]; -_21.push("
                                        "); -_21.push(""); -_21.push(""); -if((_1d&&(_1f.rownumbers||_1f.frozenColumns.length))||(!_1d&&!(_1f.rownumbers||_1f.frozenColumns.length))){ -_21.push(""); -} -_21.push(""); -_21.push(""); -_21.push("
                                         "); -if(!_1d){ -_21.push(""); -_21.push(_1f.groupFormatter.call(_1a,_1c.value,_1c.rows)); -_21.push(""); -} -_21.push("
                                        "); -_21.push("
                                        "); -_21.push(""); -var _22=_1c.startIndex; -for(var j=0;j<_1c.rows.length;j++){ -var css=_1f.rowStyler?_1f.rowStyler.call(_1a,_22,_1c.rows[j]):""; -var _23=""; -var _24=""; -if(typeof css=="string"){ -_24=css; -}else{ -if(css){ -_23=css["class"]||""; -_24=css["style"]||""; -} -} -var cls="class=\"datagrid-row "+(_22%2&&_1f.striped?"datagrid-row-alt ":" ")+_23+"\""; -var _25=_24?"style=\""+_24+"\"":""; -var _26=_1e.rowIdPrefix+"-"+(_1d?1:2)+"-"+_22; -_21.push(""); -_21.push(this.renderRow.call(this,_1a,_20,_1d,_22,_1c.rows[j])); -_21.push(""); -_22++; -} -_21.push("
                                        "); -return _21.join(""); -},bindEvents:function(_27){ -var _28=$.data(_27,"datagrid"); -var dc=_28.dc; -var _29=dc.body1.add(dc.body2); -var _2a=($.data(_29[0],"events")||$._data(_29[0],"events")).click[0].handler; -_29.unbind("click").bind("click",function(e){ -var tt=$(e.target); -var _2b=tt.closest("span.datagrid-row-expander"); -if(_2b.length){ -var _2c=_2b.closest("div.datagrid-group").attr("group-index"); -if(_2b.hasClass("datagrid-row-collapse")){ -$(_27).datagrid("collapseGroup",_2c); -}else{ -$(_27).datagrid("expandGroup",_2c); -} -}else{ -_2a(e); -} -e.stopPropagation(); -}); -},onBeforeRender:function(_2d,_2e){ -var _2f=$.data(_2d,"datagrid"); -var _30=_2f.options; -_31(); -var _32=[]; -for(var i=0;i<_2e.length;i++){ -var row=_2e[i]; -var _33=_34(row[_30.groupField]); -if(!_33){ -_33={value:row[_30.groupField],rows:[row]}; -_32.push(_33); -}else{ -_33.rows.push(row); -} -} -var _35=0; -var _36=[]; -for(var i=0;i<_32.length;i++){ -var _33=_32[i]; -_33.startIndex=_35; -_35+=_33.rows.length; -_36=_36.concat(_33.rows); -} -_2f.data.rows=_36; -this.groups=_32; -var _37=this; -setTimeout(function(){ -_37.bindEvents(_2d); -},0); -function _34(_38){ -for(var i=0;i<_32.length;i++){ -var _39=_32[i]; -if(_39.value==_38){ -return _39; -} -} -return null; -}; -function _31(){ -if(!$("#datagrid-group-style").length){ -$("head").append(""); -} -}; -}}); -$.extend($.fn.datagrid.methods,{expandGroup:function(jq,_3a){ -return jq.each(function(){ -var _3b=$.data(this,"datagrid").dc.view; -var _3c=_3b.find(_3a!=undefined?"div.datagrid-group[group-index=\""+_3a+"\"]":"div.datagrid-group"); -var _3d=_3c.find("span.datagrid-row-expander"); -if(_3d.hasClass("datagrid-row-expand")){ -_3d.removeClass("datagrid-row-expand").addClass("datagrid-row-collapse"); -_3c.next("table").show(); -} -$(this).datagrid("fixRowHeight"); -}); -},collapseGroup:function(jq,_3e){ -return jq.each(function(){ -var _3f=$.data(this,"datagrid").dc.view; -var _40=_3f.find(_3e!=undefined?"div.datagrid-group[group-index=\""+_3e+"\"]":"div.datagrid-group"); -var _41=_40.find("span.datagrid-row-expander"); -if(_41.hasClass("datagrid-row-collapse")){ -_41.removeClass("datagrid-row-collapse").addClass("datagrid-row-expand"); -_40.next("table").hide(); -} -$(this).datagrid("fixRowHeight"); -}); -}}); -$.fn.propertygrid.defaults=$.extend({},$.fn.datagrid.defaults,{singleSelect:true,remoteSort:false,fitColumns:true,loadMsg:"",frozenColumns:[[{field:"f",width:16,resizable:false}]],columns:[[{field:"name",title:"Name",width:100,sortable:true},{field:"value",title:"Value",width:100,resizable:false}]],showGroup:false,groupView:_14,groupField:"group",groupFormatter:function(_42,_43){ -return _42; -}}); -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.resizable.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.resizable.js deleted file mode 100644 index fa3b62e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.resizable.js +++ /dev/null @@ -1,170 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -$.fn.resizable=function(_1,_2){ -if(typeof _1=="string"){ -return $.fn.resizable.methods[_1](this,_2); -} -function _3(e){ -var _4=e.data; -var _5=$.data(_4.target,"resizable").options; -if(_4.dir.indexOf("e")!=-1){ -var _6=_4.startWidth+e.pageX-_4.startX; -_6=Math.min(Math.max(_6,_5.minWidth),_5.maxWidth); -_4.width=_6; -} -if(_4.dir.indexOf("s")!=-1){ -var _7=_4.startHeight+e.pageY-_4.startY; -_7=Math.min(Math.max(_7,_5.minHeight),_5.maxHeight); -_4.height=_7; -} -if(_4.dir.indexOf("w")!=-1){ -var _6=_4.startWidth-e.pageX+_4.startX; -_6=Math.min(Math.max(_6,_5.minWidth),_5.maxWidth); -_4.width=_6; -_4.left=_4.startLeft+_4.startWidth-_4.width; -} -if(_4.dir.indexOf("n")!=-1){ -var _7=_4.startHeight-e.pageY+_4.startY; -_7=Math.min(Math.max(_7,_5.minHeight),_5.maxHeight); -_4.height=_7; -_4.top=_4.startTop+_4.startHeight-_4.height; -} -}; -function _8(e){ -var _9=e.data; -var t=$(_9.target); -t.css({left:_9.left,top:_9.top}); -if(t.outerWidth()!=_9.width){ -t._outerWidth(_9.width); -} -if(t.outerHeight()!=_9.height){ -t._outerHeight(_9.height); -} -}; -function _a(e){ -$.fn.resizable.isResizing=true; -$.data(e.data.target,"resizable").options.onStartResize.call(e.data.target,e); -return false; -}; -function _b(e){ -_3(e); -if($.data(e.data.target,"resizable").options.onResize.call(e.data.target,e)!=false){ -_8(e); -} -return false; -}; -function _c(e){ -$.fn.resizable.isResizing=false; -_3(e,true); -_8(e); -$.data(e.data.target,"resizable").options.onStopResize.call(e.data.target,e); -$(document).unbind(".resizable"); -$("body").css("cursor",""); -return false; -}; -return this.each(function(){ -var _d=null; -var _e=$.data(this,"resizable"); -if(_e){ -$(this).unbind(".resizable"); -_d=$.extend(_e.options,_1||{}); -}else{ -_d=$.extend({},$.fn.resizable.defaults,$.fn.resizable.parseOptions(this),_1||{}); -$.data(this,"resizable",{options:_d}); -} -if(_d.disabled==true){ -return; -} -$(this).bind("mousemove.resizable",{target:this},function(e){ -if($.fn.resizable.isResizing){ -return; -} -var _f=_10(e); -if(_f==""){ -$(e.data.target).css("cursor",""); -}else{ -$(e.data.target).css("cursor",_f+"-resize"); -} -}).bind("mouseleave.resizable",{target:this},function(e){ -$(e.data.target).css("cursor",""); -}).bind("mousedown.resizable",{target:this},function(e){ -var dir=_10(e); -if(dir==""){ -return; -} -function _11(css){ -var val=parseInt($(e.data.target).css(css)); -if(isNaN(val)){ -return 0; -}else{ -return val; -} -}; -var _12={target:e.data.target,dir:dir,startLeft:_11("left"),startTop:_11("top"),left:_11("left"),top:_11("top"),startX:e.pageX,startY:e.pageY,startWidth:$(e.data.target).outerWidth(),startHeight:$(e.data.target).outerHeight(),width:$(e.data.target).outerWidth(),height:$(e.data.target).outerHeight(),deltaWidth:$(e.data.target).outerWidth()-$(e.data.target).width(),deltaHeight:$(e.data.target).outerHeight()-$(e.data.target).height()}; -$(document).bind("mousedown.resizable",_12,_a); -$(document).bind("mousemove.resizable",_12,_b); -$(document).bind("mouseup.resizable",_12,_c); -$("body").css("cursor",dir+"-resize"); -}); -function _10(e){ -var tt=$(e.data.target); -var dir=""; -var _13=tt.offset(); -var _14=tt.outerWidth(); -var _15=tt.outerHeight(); -var _16=_d.edge; -if(e.pageY>_13.top&&e.pageY<_13.top+_16){ -dir+="n"; -}else{ -if(e.pageY<_13.top+_15&&e.pageY>_13.top+_15-_16){ -dir+="s"; -} -} -if(e.pageX>_13.left&&e.pageX<_13.left+_16){ -dir+="w"; -}else{ -if(e.pageX<_13.left+_14&&e.pageX>_13.left+_14-_16){ -dir+="e"; -} -} -var _17=_d.handles.split(","); -for(var i=0;i<_17.length;i++){ -var _18=_17[i].replace(/(^\s*)|(\s*$)/g,""); -if(_18=="all"||_18==dir){ -return dir; -} -} -return ""; -}; -}); -}; -$.fn.resizable.methods={options:function(jq){ -return $.data(jq[0],"resizable").options; -},enable:function(jq){ -return jq.each(function(){ -$(this).resizable({disabled:false}); -}); -},disable:function(jq){ -return jq.each(function(){ -$(this).resizable({disabled:true}); -}); -}}; -$.fn.resizable.parseOptions=function(_19){ -var t=$(_19); -return $.extend({},$.parser.parseOptions(_19,["handles",{minWidth:"number",minHeight:"number",maxWidth:"number",maxHeight:"number",edge:"number"}]),{disabled:(t.attr("disabled")?true:undefined)}); -}; -$.fn.resizable.defaults={disabled:false,handles:"n, e, s, w, ne, se, sw, nw, all",minWidth:10,minHeight:10,maxWidth:10000,maxHeight:10000,edge:5,onStartResize:function(e){ -},onResize:function(e){ -},onStopResize:function(e){ -}}; -$.fn.resizable.isResizing=false; -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.searchbox.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.searchbox.js deleted file mode 100644 index b8916b9..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.searchbox.js +++ /dev/null @@ -1,228 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -function _1(_2){ -$(_2).addClass("searchbox-f").hide(); -var _3=$("").insertAfter(_2); -var _4=$("").appendTo(_3); -$("").appendTo(_3); -var _5=$(_2).attr("name"); -if(_5){ -_4.attr("name",_5); -$(_2).removeAttr("name").attr("searchboxName",_5); -} -return _3; -}; -function _6(_7,_8){ -var _9=$.data(_7,"searchbox").options; -var sb=$.data(_7,"searchbox").searchbox; -if(_8){ -_9.width=_8; -} -sb.appendTo("body"); -if(isNaN(_9.width)){ -_9.width=sb._outerWidth(); -} -var _a=sb.find("span.searchbox-button"); -var _b=sb.find("a.searchbox-menu"); -var _c=sb.find("input.searchbox-text"); -sb._outerWidth(_9.width)._outerHeight(_9.height); -_c._outerWidth(sb.width()-_b._outerWidth()-_a._outerWidth()); -_c.css({height:sb.height()+"px",lineHeight:sb.height()+"px"}); -_b._outerHeight(sb.height()); -_a._outerHeight(sb.height()); -var _d=_b.find("span.l-btn-left"); -_d._outerHeight(sb.height()); -_d.find("span.l-btn-text").css({height:_d.height()+"px",lineHeight:_d.height()+"px"}); -sb.insertAfter(_7); -}; -function _e(_f){ -var _10=$.data(_f,"searchbox"); -var _11=_10.options; -if(_11.menu){ -_10.menu=$(_11.menu).menu({onClick:function(_12){ -_13(_12); -}}); -var _14=_10.menu.children("div.menu-item:first"); -_10.menu.children("div.menu-item").each(function(){ -var _15=$.extend({},$.parser.parseOptions(this),{selected:($(this).attr("selected")?true:undefined)}); -if(_15.selected){ -_14=$(this); -return false; -} -}); -_14.triggerHandler("click"); -}else{ -_10.searchbox.find("a.searchbox-menu").remove(); -_10.menu=null; -} -function _13(_16){ -_10.searchbox.find("a.searchbox-menu").remove(); -var mb=$("").html(_16.text); -mb.prependTo(_10.searchbox).menubutton({menu:_10.menu,iconCls:_16.iconCls}); -_10.searchbox.find("input.searchbox-text").attr("name",_16.name||_16.text); -_6(_f); -}; -}; -function _17(_18){ -var _19=$.data(_18,"searchbox"); -var _1a=_19.options; -var _1b=_19.searchbox.find("input.searchbox-text"); -var _1c=_19.searchbox.find(".searchbox-button"); -_1b.unbind(".searchbox"); -_1c.unbind(".searchbox"); -if(!_1a.disabled){ -_1b.bind("blur.searchbox",function(e){ -_1a.value=$(this).val(); -if(_1a.value==""){ -$(this).val(_1a.prompt); -$(this).addClass("searchbox-prompt"); -}else{ -$(this).removeClass("searchbox-prompt"); -} -}).bind("focus.searchbox",function(e){ -if($(this).val()!=_1a.value){ -$(this).val(_1a.value); -} -$(this).removeClass("searchbox-prompt"); -}).bind("keydown.searchbox",function(e){ -if(e.keyCode==13){ -e.preventDefault(); -_1a.value=$(this).val(); -_1a.searcher.call(_18,_1a.value,_1b._propAttr("name")); -return false; -} -}); -_1c.bind("click.searchbox",function(){ -_1a.searcher.call(_18,_1a.value,_1b._propAttr("name")); -}).bind("mouseenter.searchbox",function(){ -$(this).addClass("searchbox-button-hover"); -}).bind("mouseleave.searchbox",function(){ -$(this).removeClass("searchbox-button-hover"); -}); -} -}; -function _1d(_1e,_1f){ -var _20=$.data(_1e,"searchbox"); -var _21=_20.options; -var _22=_20.searchbox.find("input.searchbox-text"); -var mb=_20.searchbox.find("a.searchbox-menu"); -if(_1f){ -_21.disabled=true; -$(_1e).attr("disabled",true); -_22.attr("disabled",true); -if(mb.length){ -mb.menubutton("disable"); -} -}else{ -_21.disabled=false; -$(_1e).removeAttr("disabled"); -_22.removeAttr("disabled"); -if(mb.length){ -mb.menubutton("enable"); -} -} -}; -function _23(_24){ -var _25=$.data(_24,"searchbox"); -var _26=_25.options; -var _27=_25.searchbox.find("input.searchbox-text"); -_26.originalValue=_26.value; -if(_26.value){ -_27.val(_26.value); -_27.removeClass("searchbox-prompt"); -}else{ -_27.val(_26.prompt); -_27.addClass("searchbox-prompt"); -} -}; -$.fn.searchbox=function(_28,_29){ -if(typeof _28=="string"){ -return $.fn.searchbox.methods[_28](this,_29); -} -_28=_28||{}; -return this.each(function(){ -var _2a=$.data(this,"searchbox"); -if(_2a){ -$.extend(_2a.options,_28); -}else{ -_2a=$.data(this,"searchbox",{options:$.extend({},$.fn.searchbox.defaults,$.fn.searchbox.parseOptions(this),_28),searchbox:_1(this)}); -} -_e(this); -_23(this); -_17(this); -_1d(this,_2a.options.disabled); -_6(this); -}); -}; -$.fn.searchbox.methods={options:function(jq){ -return $.data(jq[0],"searchbox").options; -},menu:function(jq){ -return $.data(jq[0],"searchbox").menu; -},textbox:function(jq){ -return $.data(jq[0],"searchbox").searchbox.find("input.searchbox-text"); -},getValue:function(jq){ -return $.data(jq[0],"searchbox").options.value; -},setValue:function(jq,_2b){ -return jq.each(function(){ -$(this).searchbox("options").value=_2b; -$(this).searchbox("textbox").val(_2b); -$(this).searchbox("textbox").blur(); -}); -},clear:function(jq){ -return jq.each(function(){ -$(this).searchbox("setValue",""); -}); -},reset:function(jq){ -return jq.each(function(){ -var _2c=$(this).searchbox("options"); -$(this).searchbox("setValue",_2c.originalValue); -}); -},getName:function(jq){ -return $.data(jq[0],"searchbox").searchbox.find("input.searchbox-text").attr("name"); -},selectName:function(jq,_2d){ -return jq.each(function(){ -var _2e=$.data(this,"searchbox").menu; -if(_2e){ -_2e.children("div.menu-item[name=\""+_2d+"\"]").triggerHandler("click"); -} -}); -},destroy:function(jq){ -return jq.each(function(){ -var _2f=$(this).searchbox("menu"); -if(_2f){ -_2f.menu("destroy"); -} -$.data(this,"searchbox").searchbox.remove(); -$(this).remove(); -}); -},resize:function(jq,_30){ -return jq.each(function(){ -_6(this,_30); -}); -},disable:function(jq){ -return jq.each(function(){ -_1d(this,true); -_17(this); -}); -},enable:function(jq){ -return jq.each(function(){ -_1d(this,false); -_17(this); -}); -}}; -$.fn.searchbox.parseOptions=function(_31){ -var t=$(_31); -return $.extend({},$.parser.parseOptions(_31,["width","height","prompt","menu"]),{value:(t.val()||undefined),disabled:(t.attr("disabled")?true:undefined),searcher:(t.attr("searcher")?eval(t.attr("searcher")):undefined)}); -}; -$.fn.searchbox.defaults={width:"auto",height:22,prompt:"",value:"",menu:null,disabled:false,searcher:function(_32,_33){ -}}; -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.slider.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.slider.js deleted file mode 100644 index a2dfb4c..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.slider.js +++ /dev/null @@ -1,278 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -function _1(_2){ -var _3=$("
                                        "+"
                                        "+""+""+"
                                        "+"
                                        "+"
                                        "+"
                                        "+""+"
                                        ").insertAfter(_2); -var t=$(_2); -t.addClass("slider-f").hide(); -var _4=t.attr("name"); -if(_4){ -_3.find("input.slider-value").attr("name",_4); -t.removeAttr("name").attr("sliderName",_4); -} -return _3; -}; -function _5(_6,_7){ -var _8=$.data(_6,"slider"); -var _9=_8.options; -var _a=_8.slider; -if(_7){ -if(_7.width){ -_9.width=_7.width; -} -if(_7.height){ -_9.height=_7.height; -} -} -if(_9.mode=="h"){ -_a.css("height",""); -_a.children("div").css("height",""); -if(!isNaN(_9.width)){ -_a.width(_9.width); -} -}else{ -_a.css("width",""); -_a.children("div").css("width",""); -if(!isNaN(_9.height)){ -_a.height(_9.height); -_a.find("div.slider-rule").height(_9.height); -_a.find("div.slider-rulelabel").height(_9.height); -_a.find("div.slider-inner")._outerHeight(_9.height); -} -} -_b(_6); -}; -function _c(_d){ -var _e=$.data(_d,"slider"); -var _f=_e.options; -var _10=_e.slider; -var aa=_f.mode=="h"?_f.rule:_f.rule.slice(0).reverse(); -if(_f.reversed){ -aa=aa.slice(0).reverse(); -} -_11(aa); -function _11(aa){ -var _12=_10.find("div.slider-rule"); -var _13=_10.find("div.slider-rulelabel"); -_12.empty(); -_13.empty(); -for(var i=0;i").appendTo(_12); -_15.css((_f.mode=="h"?"left":"top"),_14); -if(aa[i]!="|"){ -_15=$("").appendTo(_13); -_15.html(aa[i]); -if(_f.mode=="h"){ -_15.css({left:_14,marginLeft:-Math.round(_15.outerWidth()/2)}); -}else{ -_15.css({top:_14,marginTop:-Math.round(_15.outerHeight()/2)}); -} -} -} -}; -}; -function _16(_17){ -var _18=$.data(_17,"slider"); -var _19=_18.options; -var _1a=_18.slider; -_1a.removeClass("slider-h slider-v slider-disabled"); -_1a.addClass(_19.mode=="h"?"slider-h":"slider-v"); -_1a.addClass(_19.disabled?"slider-disabled":""); -_1a.find("a.slider-handle").draggable({axis:_19.mode,cursor:"pointer",disabled:_19.disabled,onDrag:function(e){ -var _1b=e.data.left; -var _1c=_1a.width(); -if(_19.mode!="h"){ -_1b=e.data.top; -_1c=_1a.height(); -} -if(_1b<0||_1b>_1c){ -return false; -}else{ -var _1d=_33(_17,_1b); -_1e(_1d); -return false; -} -},onBeforeDrag:function(){ -_18.isDragging=true; -},onStartDrag:function(){ -_19.onSlideStart.call(_17,_19.value); -},onStopDrag:function(e){ -var _1f=_33(_17,(_19.mode=="h"?e.data.left:e.data.top)); -_1e(_1f); -_19.onSlideEnd.call(_17,_19.value); -_19.onComplete.call(_17,_19.value); -_18.isDragging=false; -}}); -_1a.find("div.slider-inner").unbind(".slider").bind("mousedown.slider",function(e){ -if(_18.isDragging){ -return; -} -var pos=$(this).offset(); -var _20=_33(_17,(_19.mode=="h"?(e.pageX-pos.left):(e.pageY-pos.top))); -_1e(_20); -_19.onComplete.call(_17,_19.value); -}); -function _1e(_21){ -var s=Math.abs(_21%_19.step); -if(s<_19.step/2){ -_21-=s; -}else{ -_21=_21-s+_19.step; -} -_22(_17,_21); -}; -}; -function _22(_23,_24){ -var _25=$.data(_23,"slider"); -var _26=_25.options; -var _27=_25.slider; -var _28=_26.value; -if(_24<_26.min){ -_24=_26.min; -} -if(_24>_26.max){ -_24=_26.max; -} -_26.value=_24; -$(_23).val(_24); -_27.find("input.slider-value").val(_24); -var pos=_29(_23,_24); -var tip=_27.find(".slider-tip"); -if(_26.showTip){ -tip.show(); -tip.html(_26.tipFormatter.call(_23,_26.value)); -}else{ -tip.hide(); -} -if(_26.mode=="h"){ -var _2a="left:"+pos+"px;"; -_27.find(".slider-handle").attr("style",_2a); -tip.attr("style",_2a+"margin-left:"+(-Math.round(tip.outerWidth()/2))+"px"); -}else{ -var _2a="top:"+pos+"px;"; -_27.find(".slider-handle").attr("style",_2a); -tip.attr("style",_2a+"margin-left:"+(-Math.round(tip.outerWidth()))+"px"); -} -if(_28!=_24){ -_26.onChange.call(_23,_24,_28); -} -}; -function _b(_2b){ -var _2c=$.data(_2b,"slider").options; -var fn=_2c.onChange; -_2c.onChange=function(){ -}; -_22(_2b,_2c.value); -_2c.onChange=fn; -}; -function _29(_2d,_2e){ -var _2f=$.data(_2d,"slider"); -var _30=_2f.options; -var _31=_2f.slider; -var _32=_30.mode=="h"?_31.width():_31.height(); -var pos=_30.converter.toPosition.call(_2d,_2e,_32); -if(_30.mode=="v"){ -pos=_31.height()-pos; -} -if(_30.reversed){ -pos=_32-pos; -} -return pos.toFixed(0); -}; -function _33(_34,pos){ -var _35=$.data(_34,"slider"); -var _36=_35.options; -var _37=_35.slider; -var _38=_36.mode=="h"?_37.width():_37.height(); -var _39=_36.converter.toValue.call(_34,_36.mode=="h"?(_36.reversed?(_38-pos):pos):(_38-pos),_38); -return _39.toFixed(0); -}; -$.fn.slider=function(_3a,_3b){ -if(typeof _3a=="string"){ -return $.fn.slider.methods[_3a](this,_3b); -} -_3a=_3a||{}; -return this.each(function(){ -var _3c=$.data(this,"slider"); -if(_3c){ -$.extend(_3c.options,_3a); -}else{ -_3c=$.data(this,"slider",{options:$.extend({},$.fn.slider.defaults,$.fn.slider.parseOptions(this),_3a),slider:_1(this)}); -$(this).removeAttr("disabled"); -} -var _3d=_3c.options; -_3d.min=parseFloat(_3d.min); -_3d.max=parseFloat(_3d.max); -_3d.value=parseFloat(_3d.value); -_3d.step=parseFloat(_3d.step); -_3d.originalValue=_3d.value; -_16(this); -_c(this); -_5(this); -}); -}; -$.fn.slider.methods={options:function(jq){ -return $.data(jq[0],"slider").options; -},destroy:function(jq){ -return jq.each(function(){ -$.data(this,"slider").slider.remove(); -$(this).remove(); -}); -},resize:function(jq,_3e){ -return jq.each(function(){ -_5(this,_3e); -}); -},getValue:function(jq){ -return jq.slider("options").value; -},setValue:function(jq,_3f){ -return jq.each(function(){ -_22(this,_3f); -}); -},clear:function(jq){ -return jq.each(function(){ -var _40=$(this).slider("options"); -_22(this,_40.min); -}); -},reset:function(jq){ -return jq.each(function(){ -var _41=$(this).slider("options"); -_22(this,_41.originalValue); -}); -},enable:function(jq){ -return jq.each(function(){ -$.data(this,"slider").options.disabled=false; -_16(this); -}); -},disable:function(jq){ -return jq.each(function(){ -$.data(this,"slider").options.disabled=true; -_16(this); -}); -}}; -$.fn.slider.parseOptions=function(_42){ -var t=$(_42); -return $.extend({},$.parser.parseOptions(_42,["width","height","mode",{reversed:"boolean",showTip:"boolean",min:"number",max:"number",step:"number"}]),{value:(t.val()||undefined),disabled:(t.attr("disabled")?true:undefined),rule:(t.attr("rule")?eval(t.attr("rule")):undefined)}); -}; -$.fn.slider.defaults={width:"auto",height:"auto",mode:"h",reversed:false,showTip:false,disabled:false,value:0,min:0,max:100,step:1,rule:[],tipFormatter:function(_43){ -return _43; -},converter:{toPosition:function(_44,_45){ -var _46=$(this).slider("options"); -return (_44-_46.min)/(_46.max-_46.min)*_45; -},toValue:function(pos,_47){ -var _48=$(this).slider("options"); -return _48.min+(_48.max-_48.min)*(pos/_47); -}},onChange:function(_49,_4a){ -},onSlideStart:function(_4b){ -},onSlideEnd:function(_4c){ -},onComplete:function(_4d){ -}}; -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.spinner.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.spinner.js deleted file mode 100644 index 37616e8..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.spinner.js +++ /dev/null @@ -1,171 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -function _1(_2){ -var _3=$(""+""+""+""+""+"").insertAfter(_2); -$(_2).addClass("spinner-text spinner-f").prependTo(_3); -return _3; -}; -function _4(_5,_6){ -var _7=$.data(_5,"spinner").options; -var _8=$.data(_5,"spinner").spinner; -if(_6){ -_7.width=_6; -} -var _9=$("
                                        ").insertBefore(_8); -_8.appendTo("body"); -if(isNaN(_7.width)){ -_7.width=$(_5).outerWidth(); -} -var _a=_8.find(".spinner-arrow"); -_8._outerWidth(_7.width)._outerHeight(_7.height); -$(_5)._outerWidth(_8.width()-_a.outerWidth()); -$(_5).css({height:_8.height()+"px",lineHeight:_8.height()+"px"}); -_a._outerHeight(_8.height()); -_a.find("span")._outerHeight(_a.height()/2); -_8.insertAfter(_9); -_9.remove(); -}; -function _b(_c){ -var _d=$.data(_c,"spinner").options; -var _e=$.data(_c,"spinner").spinner; -$(_c).unbind(".spinner"); -_e.find(".spinner-arrow-up,.spinner-arrow-down").unbind(".spinner"); -if(!_d.disabled&&!_d.readonly){ -_e.find(".spinner-arrow-up").bind("mouseenter.spinner",function(){ -$(this).addClass("spinner-arrow-hover"); -}).bind("mouseleave.spinner",function(){ -$(this).removeClass("spinner-arrow-hover"); -}).bind("click.spinner",function(){ -_d.spin.call(_c,false); -_d.onSpinUp.call(_c); -$(_c).validatebox("validate"); -}); -_e.find(".spinner-arrow-down").bind("mouseenter.spinner",function(){ -$(this).addClass("spinner-arrow-hover"); -}).bind("mouseleave.spinner",function(){ -$(this).removeClass("spinner-arrow-hover"); -}).bind("click.spinner",function(){ -_d.spin.call(_c,true); -_d.onSpinDown.call(_c); -$(_c).validatebox("validate"); -}); -$(_c).bind("change.spinner",function(){ -$(this).spinner("setValue",$(this).val()); -}); -} -}; -function _f(_10,_11){ -var _12=$.data(_10,"spinner").options; -if(_11){ -_12.disabled=true; -$(_10).attr("disabled",true); -}else{ -_12.disabled=false; -$(_10).removeAttr("disabled"); -} -}; -function _13(_14,_15){ -var _16=$.data(_14,"spinner"); -var _17=_16.options; -_17.readonly=_15==undefined?true:_15; -var _18=_17.readonly?true:(!_17.editable); -$(_14).attr("readonly",_18).css("cursor",_18?"pointer":""); -}; -$.fn.spinner=function(_19,_1a){ -if(typeof _19=="string"){ -var _1b=$.fn.spinner.methods[_19]; -if(_1b){ -return _1b(this,_1a); -}else{ -return this.validatebox(_19,_1a); -} -} -_19=_19||{}; -return this.each(function(){ -var _1c=$.data(this,"spinner"); -if(_1c){ -$.extend(_1c.options,_19); -}else{ -_1c=$.data(this,"spinner",{options:$.extend({},$.fn.spinner.defaults,$.fn.spinner.parseOptions(this),_19),spinner:_1(this)}); -$(this).removeAttr("disabled"); -} -_1c.options.originalValue=_1c.options.value; -$(this).val(_1c.options.value); -_f(this,_1c.options.disabled); -_13(this,_1c.options.readonly); -_4(this); -$(this).validatebox(_1c.options); -_b(this); -}); -}; -$.fn.spinner.methods={options:function(jq){ -var _1d=$.data(jq[0],"spinner").options; -return $.extend(_1d,{value:jq.val()}); -},destroy:function(jq){ -return jq.each(function(){ -var _1e=$.data(this,"spinner").spinner; -$(this).validatebox("destroy"); -_1e.remove(); -}); -},resize:function(jq,_1f){ -return jq.each(function(){ -_4(this,_1f); -}); -},enable:function(jq){ -return jq.each(function(){ -_f(this,false); -_b(this); -}); -},disable:function(jq){ -return jq.each(function(){ -_f(this,true); -_b(this); -}); -},readonly:function(jq,_20){ -return jq.each(function(){ -_13(this,_20); -_b(this); -}); -},getValue:function(jq){ -return jq.val(); -},setValue:function(jq,_21){ -return jq.each(function(){ -var _22=$.data(this,"spinner").options; -var _23=_22.value; -_22.value=_21; -$(this).val(_21); -if(_23!=_21){ -_22.onChange.call(this,_21,_23); -} -}); -},clear:function(jq){ -return jq.each(function(){ -var _24=$.data(this,"spinner").options; -_24.value=""; -$(this).val(""); -}); -},reset:function(jq){ -return jq.each(function(){ -var _25=$(this).spinner("options"); -$(this).spinner("setValue",_25.originalValue); -}); -}}; -$.fn.spinner.parseOptions=function(_26){ -var t=$(_26); -return $.extend({},$.fn.validatebox.parseOptions(_26),$.parser.parseOptions(_26,["width","height","min","max",{increment:"number",editable:"boolean"}]),{value:(t.val()||undefined),disabled:(t.attr("disabled")?true:undefined),readonly:(t.attr("readonly")?true:undefined)}); -}; -$.fn.spinner.defaults=$.extend({},$.fn.validatebox.defaults,{width:"auto",height:22,deltaX:19,value:"",min:null,max:null,increment:1,editable:true,disabled:false,readonly:false,spin:function(_27){ -},onSpinUp:function(){ -},onSpinDown:function(){ -},onChange:function(_28,_29){ -}}); -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.splitbutton.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.splitbutton.js deleted file mode 100644 index 120c49b..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.splitbutton.js +++ /dev/null @@ -1,49 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -function _1(_2){ -var _3=$.data(_2,"splitbutton").options; -$(_2).menubutton(_3); -$(_2).addClass("s-btn"); -}; -$.fn.splitbutton=function(_4,_5){ -if(typeof _4=="string"){ -var _6=$.fn.splitbutton.methods[_4]; -if(_6){ -return _6(this,_5); -}else{ -return this.menubutton(_4,_5); -} -} -_4=_4||{}; -return this.each(function(){ -var _7=$.data(this,"splitbutton"); -if(_7){ -$.extend(_7.options,_4); -}else{ -$.data(this,"splitbutton",{options:$.extend({},$.fn.splitbutton.defaults,$.fn.splitbutton.parseOptions(this),_4)}); -$(this).removeAttr("disabled"); -} -_1(this); -}); -}; -$.fn.splitbutton.methods={options:function(jq){ -var _8=jq.menubutton("options"); -var _9=$.data(jq[0],"splitbutton").options; -$.extend(_9,{disabled:_8.disabled,toggle:_8.toggle,selected:_8.selected}); -return _9; -}}; -$.fn.splitbutton.parseOptions=function(_a){ -var t=$(_a); -return $.extend({},$.fn.linkbutton.parseOptions(_a),$.parser.parseOptions(_a,["menu",{plain:"boolean",duration:"number"}])); -}; -$.fn.splitbutton.defaults=$.extend({},$.fn.linkbutton.defaults,{plain:true,menu:null,duration:100,cls:{btn1:"m-btn-active s-btn-active",btn2:"m-btn-plain-active s-btn-plain-active",arrow:"m-btn-downarrow",trigger:"m-btn-line"}}); -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.tabs.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.tabs.js deleted file mode 100644 index 647551a..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.tabs.js +++ /dev/null @@ -1,608 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -function _1(_2){ -var _3=$.data(_2,"tabs").options; -if(_3.tabPosition=="left"||_3.tabPosition=="right"||!_3.showHeader){ -return; -} -var _4=$(_2).children("div.tabs-header"); -var _5=_4.children("div.tabs-tool"); -var _6=_4.children("div.tabs-scroller-left"); -var _7=_4.children("div.tabs-scroller-right"); -var _8=_4.children("div.tabs-wrap"); -var _9=_4.outerHeight(); -if(_3.plain){ -_9-=_9-_4.height(); -} -_5._outerHeight(_9); -var _a=0; -$("ul.tabs li",_4).each(function(){ -_a+=$(this).outerWidth(true); -}); -var _b=_4.width()-_5._outerWidth(); -if(_a>_b){ -_6.add(_7).show()._outerHeight(_9); -if(_3.toolPosition=="left"){ -_5.css({left:_6.outerWidth(),right:""}); -_8.css({marginLeft:_6.outerWidth()+_5._outerWidth(),marginRight:_7._outerWidth(),width:_b-_6.outerWidth()-_7.outerWidth()}); -}else{ -_5.css({left:"",right:_7.outerWidth()}); -_8.css({marginLeft:_6.outerWidth(),marginRight:_7.outerWidth()+_5._outerWidth(),width:_b-_6.outerWidth()-_7.outerWidth()}); -} -}else{ -_6.add(_7).hide(); -if(_3.toolPosition=="left"){ -_5.css({left:0,right:""}); -_8.css({marginLeft:_5._outerWidth(),marginRight:0,width:_b}); -}else{ -_5.css({left:"",right:0}); -_8.css({marginLeft:0,marginRight:_5._outerWidth(),width:_b}); -} -} -}; -function _c(_d){ -var _e=$.data(_d,"tabs").options; -var _f=$(_d).children("div.tabs-header"); -if(_e.tools){ -if(typeof _e.tools=="string"){ -$(_e.tools).addClass("tabs-tool").appendTo(_f); -$(_e.tools).show(); -}else{ -_f.children("div.tabs-tool").remove(); -var _10=$("
                                        ").appendTo(_f); -var tr=_10.find("tr"); -for(var i=0;i<_e.tools.length;i++){ -var td=$("").appendTo(tr); -var _11=$("").appendTo(td); -_11[0].onclick=eval(_e.tools[i].handler||function(){ -}); -_11.linkbutton($.extend({},_e.tools[i],{plain:true})); -} -} -}else{ -_f.children("div.tabs-tool").remove(); -} -}; -function _12(_13){ -var _14=$.data(_13,"tabs"); -var _15=_14.options; -var cc=$(_13); -_15.fit?$.extend(_15,cc._fit()):cc._fit(false); -cc.width(_15.width).height(_15.height); -var _16=$(_13).children("div.tabs-header"); -var _17=$(_13).children("div.tabs-panels"); -var _18=_16.find("div.tabs-wrap"); -var ul=_18.find(".tabs"); -for(var i=0;i<_14.tabs.length;i++){ -var _19=_14.tabs[i].panel("options"); -var p_t=_19.tab.find("a.tabs-inner"); -var _1a=parseInt(_19.tabWidth||_15.tabWidth)||undefined; -if(_1a){ -p_t._outerWidth(_1a); -}else{ -p_t.css("width",""); -} -p_t._outerHeight(_15.tabHeight); -p_t.css("lineHeight",p_t.height()+"px"); -} -if(_15.tabPosition=="left"||_15.tabPosition=="right"){ -_16._outerWidth(_15.showHeader?_15.headerWidth:0); -_17._outerWidth(cc.width()-_16.outerWidth()); -_16.add(_17)._outerHeight(_15.height); -_18._outerWidth(_16.width()); -ul._outerWidth(_18.width()).css("height",""); -}else{ -var lrt=_16.children("div.tabs-scroller-left,div.tabs-scroller-right,div.tabs-tool"); -_16._outerWidth(_15.width).css("height",""); -if(_15.showHeader){ -_16.css("background-color",""); -_18.css("height",""); -lrt.show(); -}else{ -_16.css("background-color","transparent"); -_16._outerHeight(0); -_18._outerHeight(0); -lrt.hide(); -} -ul._outerHeight(_15.tabHeight).css("width",""); -_1(_13); -var _1b=_15.height; -if(!isNaN(_1b)){ -_17._outerHeight(_1b-_16.outerHeight()); -}else{ -_17.height("auto"); -} -var _1a=_15.width; -if(!isNaN(_1a)){ -_17._outerWidth(_1a); -}else{ -_17.width("auto"); -} -} -}; -function _1c(_1d){ -var _1e=$.data(_1d,"tabs").options; -var tab=_1f(_1d); -if(tab){ -var _20=$(_1d).children("div.tabs-panels"); -var _21=_1e.width=="auto"?"auto":_20.width(); -var _22=_1e.height=="auto"?"auto":_20.height(); -tab.panel("resize",{width:_21,height:_22}); -} -}; -function _23(_24){ -var _25=$.data(_24,"tabs").tabs; -var cc=$(_24); -cc.addClass("tabs-container"); -var pp=$("
                                        ").insertBefore(cc); -cc.children("div").each(function(){ -pp[0].appendChild(this); -}); -cc[0].appendChild(pp[0]); -$("
                                        "+"
                                        "+"
                                        "+"
                                        "+"
                                          "+"
                                          "+"
                                          ").prependTo(_24); -cc.children("div.tabs-panels").children("div").each(function(i){ -var _26=$.extend({},$.parser.parseOptions(this),{selected:($(this).attr("selected")?true:undefined)}); -var pp=$(this); -_25.push(pp); -_36(_24,pp,_26); -}); -cc.children("div.tabs-header").find(".tabs-scroller-left, .tabs-scroller-right").hover(function(){ -$(this).addClass("tabs-scroller-over"); -},function(){ -$(this).removeClass("tabs-scroller-over"); -}); -cc.bind("_resize",function(e,_27){ -var _28=$.data(_24,"tabs").options; -if(_28.fit==true||_27){ -_12(_24); -_1c(_24); -} -return false; -}); -}; -function _29(_2a){ -var _2b=$.data(_2a,"tabs"); -var _2c=_2b.options; -$(_2a).children("div.tabs-header").unbind().bind("click",function(e){ -if($(e.target).hasClass("tabs-scroller-left")){ -$(_2a).tabs("scrollBy",-_2c.scrollIncrement); -}else{ -if($(e.target).hasClass("tabs-scroller-right")){ -$(_2a).tabs("scrollBy",_2c.scrollIncrement); -}else{ -var li=$(e.target).closest("li"); -if(li.hasClass("tabs-disabled")){ -return; -} -var a=$(e.target).closest("a.tabs-close"); -if(a.length){ -_4c(_2a,_2d(li)); -}else{ -if(li.length){ -var _2e=_2d(li); -var _2f=_2b.tabs[_2e].panel("options"); -if(_2f.collapsible){ -_2f.closed?_41(_2a,_2e):_6b(_2a,_2e); -}else{ -_41(_2a,_2e); -} -} -} -} -} -}).bind("contextmenu",function(e){ -var li=$(e.target).closest("li"); -if(li.hasClass("tabs-disabled")){ -return; -} -if(li.length){ -_2c.onContextMenu.call(_2a,e,li.find("span.tabs-title").html(),_2d(li)); -} -}); -function _2d(li){ -var _30=0; -li.parent().children("li").each(function(i){ -if(li[0]==this){ -_30=i; -return false; -} -}); -return _30; -}; -}; -function _31(_32){ -var _33=$.data(_32,"tabs").options; -var _34=$(_32).children("div.tabs-header"); -var _35=$(_32).children("div.tabs-panels"); -_34.removeClass("tabs-header-top tabs-header-bottom tabs-header-left tabs-header-right"); -_35.removeClass("tabs-panels-top tabs-panels-bottom tabs-panels-left tabs-panels-right"); -if(_33.tabPosition=="top"){ -_34.insertBefore(_35); -}else{ -if(_33.tabPosition=="bottom"){ -_34.insertAfter(_35); -_34.addClass("tabs-header-bottom"); -_35.addClass("tabs-panels-top"); -}else{ -if(_33.tabPosition=="left"){ -_34.addClass("tabs-header-left"); -_35.addClass("tabs-panels-right"); -}else{ -if(_33.tabPosition=="right"){ -_34.addClass("tabs-header-right"); -_35.addClass("tabs-panels-left"); -} -} -} -} -if(_33.plain==true){ -_34.addClass("tabs-header-plain"); -}else{ -_34.removeClass("tabs-header-plain"); -} -if(_33.border==true){ -_34.removeClass("tabs-header-noborder"); -_35.removeClass("tabs-panels-noborder"); -}else{ -_34.addClass("tabs-header-noborder"); -_35.addClass("tabs-panels-noborder"); -} -}; -function _36(_37,pp,_38){ -var _39=$.data(_37,"tabs"); -_38=_38||{}; -pp.panel($.extend({},_38,{border:false,noheader:true,closed:true,doSize:false,iconCls:(_38.icon?_38.icon:undefined),onLoad:function(){ -if(_38.onLoad){ -_38.onLoad.call(this,arguments); -} -_39.options.onLoad.call(_37,$(this)); -}})); -var _3a=pp.panel("options"); -var _3b=$(_37).children("div.tabs-header").find("ul.tabs"); -_3a.tab=$("
                                        • ").appendTo(_3b); -_3a.tab.append(""+""+""+""); -$(_37).tabs("update",{tab:pp,options:_3a}); -}; -function _3c(_3d,_3e){ -var _3f=$.data(_3d,"tabs").options; -var _40=$.data(_3d,"tabs").tabs; -if(_3e.selected==undefined){ -_3e.selected=true; -} -var pp=$("
                                          ").appendTo($(_3d).children("div.tabs-panels")); -_40.push(pp); -_36(_3d,pp,_3e); -_3f.onAdd.call(_3d,_3e.title,_40.length-1); -_12(_3d); -if(_3e.selected){ -_41(_3d,_40.length-1); -} -}; -function _42(_43,_44){ -var _45=$.data(_43,"tabs").selectHis; -var pp=_44.tab; -var _46=pp.panel("options").title; -pp.panel($.extend({},_44.options,{iconCls:(_44.options.icon?_44.options.icon:undefined)})); -var _47=pp.panel("options"); -var tab=_47.tab; -var _48=tab.find("span.tabs-title"); -var _49=tab.find("span.tabs-icon"); -_48.html(_47.title); -_49.attr("class","tabs-icon"); -tab.find("a.tabs-close").remove(); -if(_47.closable){ -_48.addClass("tabs-closable"); -$("").appendTo(tab); -}else{ -_48.removeClass("tabs-closable"); -} -if(_47.iconCls){ -_48.addClass("tabs-with-icon"); -_49.addClass(_47.iconCls); -}else{ -_48.removeClass("tabs-with-icon"); -} -if(_46!=_47.title){ -for(var i=0;i<_45.length;i++){ -if(_45[i]==_46){ -_45[i]=_47.title; -} -} -} -tab.find("span.tabs-p-tool").remove(); -if(_47.tools){ -var _4a=$("").insertAfter(tab.find("a.tabs-inner")); -if($.isArray(_47.tools)){ -for(var i=0;i<_47.tools.length;i++){ -var t=$("").appendTo(_4a); -t.addClass(_47.tools[i].iconCls); -if(_47.tools[i].handler){ -t.bind("click",{handler:_47.tools[i].handler},function(e){ -if($(this).parents("li").hasClass("tabs-disabled")){ -return; -} -e.data.handler.call(this); -}); -} -} -}else{ -$(_47.tools).children().appendTo(_4a); -} -var pr=_4a.children().length*12; -if(_47.closable){ -pr+=8; -}else{ -pr-=3; -_4a.css("right","5px"); -} -_48.css("padding-right",pr+"px"); -} -_12(_43); -$.data(_43,"tabs").options.onUpdate.call(_43,_47.title,_4b(_43,pp)); -}; -function _4c(_4d,_4e){ -var _4f=$.data(_4d,"tabs").options; -var _50=$.data(_4d,"tabs").tabs; -var _51=$.data(_4d,"tabs").selectHis; -if(!_52(_4d,_4e)){ -return; -} -var tab=_53(_4d,_4e); -var _54=tab.panel("options").title; -var _55=_4b(_4d,tab); -if(_4f.onBeforeClose.call(_4d,_54,_55)==false){ -return; -} -var tab=_53(_4d,_4e,true); -tab.panel("options").tab.remove(); -tab.panel("destroy"); -_4f.onClose.call(_4d,_54,_55); -_12(_4d); -for(var i=0;i<_51.length;i++){ -if(_51[i]==_54){ -_51.splice(i,1); -i--; -} -} -var _56=_51.pop(); -if(_56){ -_41(_4d,_56); -}else{ -if(_50.length){ -_41(_4d,0); -} -} -}; -function _53(_57,_58,_59){ -var _5a=$.data(_57,"tabs").tabs; -if(typeof _58=="number"){ -if(_58<0||_58>=_5a.length){ -return null; -}else{ -var tab=_5a[_58]; -if(_59){ -_5a.splice(_58,1); -} -return tab; -} -} -for(var i=0;i<_5a.length;i++){ -var tab=_5a[i]; -if(tab.panel("options").title==_58){ -if(_59){ -_5a.splice(i,1); -} -return tab; -} -} -return null; -}; -function _4b(_5b,tab){ -var _5c=$.data(_5b,"tabs").tabs; -for(var i=0;i<_5c.length;i++){ -if(_5c[i][0]==$(tab)[0]){ -return i; -} -} -return -1; -}; -function _1f(_5d){ -var _5e=$.data(_5d,"tabs").tabs; -for(var i=0;i<_5e.length;i++){ -var tab=_5e[i]; -if(tab.panel("options").closed==false){ -return tab; -} -} -return null; -}; -function _5f(_60){ -var _61=$.data(_60,"tabs"); -var _62=_61.tabs; -for(var i=0;i<_62.length;i++){ -if(_62[i].panel("options").selected){ -_41(_60,i); -return; -} -} -_41(_60,_61.options.selected); -}; -function _41(_63,_64){ -var _65=$.data(_63,"tabs"); -var _66=_65.options; -var _67=_65.tabs; -var _68=_65.selectHis; -if(_67.length==0){ -return; -} -var _69=_53(_63,_64); -if(!_69){ -return; -} -var _6a=_1f(_63); -if(_6a){ -if(_69[0]==_6a[0]){ -_1c(_63); -return; -} -_6b(_63,_4b(_63,_6a)); -if(!_6a.panel("options").closed){ -return; -} -} -_69.panel("open"); -var _6c=_69.panel("options").title; -_68.push(_6c); -var tab=_69.panel("options").tab; -tab.addClass("tabs-selected"); -var _6d=$(_63).find(">div.tabs-header>div.tabs-wrap"); -var _6e=tab.position().left; -var _6f=_6e+tab.outerWidth(); -if(_6e<0||_6f>_6d.width()){ -var _70=_6e-(_6d.width()-tab.width())/2; -$(_63).tabs("scrollBy",_70); -}else{ -$(_63).tabs("scrollBy",0); -} -_1c(_63); -_66.onSelect.call(_63,_6c,_4b(_63,_69)); -}; -function _6b(_71,_72){ -var _73=$.data(_71,"tabs"); -var p=_53(_71,_72); -if(p){ -var _74=p.panel("options"); -if(!_74.closed){ -p.panel("close"); -if(_74.closed){ -_74.tab.removeClass("tabs-selected"); -_73.options.onUnselect.call(_71,_74.title,_4b(_71,p)); -} -} -} -}; -function _52(_75,_76){ -return _53(_75,_76)!=null; -}; -function _77(_78,_79){ -var _7a=$.data(_78,"tabs").options; -_7a.showHeader=_79; -$(_78).tabs("resize"); -}; -$.fn.tabs=function(_7b,_7c){ -if(typeof _7b=="string"){ -return $.fn.tabs.methods[_7b](this,_7c); -} -_7b=_7b||{}; -return this.each(function(){ -var _7d=$.data(this,"tabs"); -var _7e; -if(_7d){ -_7e=$.extend(_7d.options,_7b); -_7d.options=_7e; -}else{ -$.data(this,"tabs",{options:$.extend({},$.fn.tabs.defaults,$.fn.tabs.parseOptions(this),_7b),tabs:[],selectHis:[]}); -_23(this); -} -_c(this); -_31(this); -_12(this); -_29(this); -_5f(this); -}); -}; -$.fn.tabs.methods={options:function(jq){ -var cc=jq[0]; -var _7f=$.data(cc,"tabs").options; -var s=_1f(cc); -_7f.selected=s?_4b(cc,s):-1; -return _7f; -},tabs:function(jq){ -return $.data(jq[0],"tabs").tabs; -},resize:function(jq){ -return jq.each(function(){ -_12(this); -_1c(this); -}); -},add:function(jq,_80){ -return jq.each(function(){ -_3c(this,_80); -}); -},close:function(jq,_81){ -return jq.each(function(){ -_4c(this,_81); -}); -},getTab:function(jq,_82){ -return _53(jq[0],_82); -},getTabIndex:function(jq,tab){ -return _4b(jq[0],tab); -},getSelected:function(jq){ -return _1f(jq[0]); -},select:function(jq,_83){ -return jq.each(function(){ -_41(this,_83); -}); -},unselect:function(jq,_84){ -return jq.each(function(){ -_6b(this,_84); -}); -},exists:function(jq,_85){ -return _52(jq[0],_85); -},update:function(jq,_86){ -return jq.each(function(){ -_42(this,_86); -}); -},enableTab:function(jq,_87){ -return jq.each(function(){ -$(this).tabs("getTab",_87).panel("options").tab.removeClass("tabs-disabled"); -}); -},disableTab:function(jq,_88){ -return jq.each(function(){ -$(this).tabs("getTab",_88).panel("options").tab.addClass("tabs-disabled"); -}); -},showHeader:function(jq){ -return jq.each(function(){ -_77(this,true); -}); -},hideHeader:function(jq){ -return jq.each(function(){ -_77(this,false); -}); -},scrollBy:function(jq,_89){ -return jq.each(function(){ -var _8a=$(this).tabs("options"); -var _8b=$(this).find(">div.tabs-header>div.tabs-wrap"); -var pos=Math.min(_8b._scrollLeft()+_89,_8c()); -_8b.animate({scrollLeft:pos},_8a.scrollDuration); -function _8c(){ -var w=0; -var ul=_8b.children("ul"); -ul.children("li").each(function(){ -w+=$(this).outerWidth(true); -}); -return w-_8b.width()+(ul.outerWidth()-ul.width()); -}; -}); -}}; -$.fn.tabs.parseOptions=function(_8d){ -return $.extend({},$.parser.parseOptions(_8d,["width","height","tools","toolPosition","tabPosition",{fit:"boolean",border:"boolean",plain:"boolean",headerWidth:"number",tabWidth:"number",tabHeight:"number",selected:"number",showHeader:"boolean"}])); -}; -$.fn.tabs.defaults={width:"auto",height:"auto",headerWidth:150,tabWidth:"auto",tabHeight:27,selected:0,showHeader:true,plain:false,fit:false,border:true,tools:null,toolPosition:"right",tabPosition:"top",scrollIncrement:100,scrollDuration:400,onLoad:function(_8e){ -},onSelect:function(_8f,_90){ -},onUnselect:function(_91,_92){ -},onBeforeClose:function(_93,_94){ -},onClose:function(_95,_96){ -},onAdd:function(_97,_98){ -},onUpdate:function(_99,_9a){ -},onContextMenu:function(e,_9b,_9c){ -}}; -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.timespinner.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.timespinner.js deleted file mode 100644 index b071de0..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.timespinner.js +++ /dev/null @@ -1,185 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -function _1(_2){ -var _3=$.data(_2,"timespinner").options; -$(_2).addClass("timespinner-f"); -$(_2).spinner(_3); -$(_2).unbind(".timespinner"); -$(_2).bind("click.timespinner",function(){ -var _4=0; -if(this.selectionStart!=null){ -_4=this.selectionStart; -}else{ -if(this.createTextRange){ -var _5=_2.createTextRange(); -var s=document.selection.createRange(); -s.setEndPoint("StartToStart",_5); -_4=s.text.length; -} -} -if(_4>=0&&_4<=2){ -_3.highlight=0; -}else{ -if(_4>=3&&_4<=5){ -_3.highlight=1; -}else{ -if(_4>=6&&_4<=8){ -_3.highlight=2; -} -} -} -_7(_2); -}).bind("blur.timespinner",function(){ -_6(_2); -}); -}; -function _7(_8){ -var _9=$.data(_8,"timespinner").options; -var _a=0,_b=0; -if(_9.highlight==0){ -_a=0; -_b=2; -}else{ -if(_9.highlight==1){ -_a=3; -_b=5; -}else{ -if(_9.highlight==2){ -_a=6; -_b=8; -} -} -} -if(_8.selectionStart!=null){ -_8.setSelectionRange(_a,_b); -}else{ -if(_8.createTextRange){ -var _c=_8.createTextRange(); -_c.collapse(); -_c.moveEnd("character",_b); -_c.moveStart("character",_a); -_c.select(); -} -} -$(_8).focus(); -}; -function _d(_e,_f){ -var _10=$.data(_e,"timespinner").options; -if(!_f){ -return null; -} -var vv=_f.split(_10.separator); -for(var i=0;i_14){ -_14=_15; -} -if(_16&&_16<_14){ -_14=_16; -} -var tt=[_17(_14.getHours()),_17(_14.getMinutes())]; -if(_12.showSeconds){ -tt.push(_17(_14.getSeconds())); -} -var val=tt.join(_12.separator); -_12.value=val; -$(_11).spinner("setValue",val); -function _17(_18){ -return (_18<10?"0":"")+_18; -}; -}; -function _19(_1a,_1b){ -var _1c=$.data(_1a,"timespinner").options; -var val=$(_1a).val(); -if(val==""){ -val=[0,0,0].join(_1c.separator); -} -var vv=val.split(_1c.separator); -for(var i=0;i"+"
                                          "+"
                                          "+"
                                          "+"
                                          ").appendTo("body"); -_12.tip=tip; -_14(_11); -} -tip.removeClass("tooltip-top tooltip-bottom tooltip-left tooltip-right").addClass("tooltip-"+_13.position); -_7(_11); -_12.showTimer=setTimeout(function(){ -_6(_11); -tip.show(); -_13.onShow.call(_11,e); -var _15=tip.children(".tooltip-arrow-outer"); -var _16=tip.children(".tooltip-arrow"); -var bc="border-"+_13.position+"-color"; -_15.add(_16).css({borderTopColor:"",borderBottomColor:"",borderLeftColor:"",borderRightColor:""}); -_15.css(bc,tip.css(bc)); -_16.css(bc,tip.css("backgroundColor")); -},_13.showDelay); -}; -function _17(_18,e){ -var _19=$.data(_18,"tooltip"); -if(_19&&_19.tip){ -_7(_18); -_19.hideTimer=setTimeout(function(){ -_19.tip.hide(); -_19.options.onHide.call(_18,e); -},_19.options.hideDelay); -} -}; -function _14(_1a,_1b){ -var _1c=$.data(_1a,"tooltip"); -var _1d=_1c.options; -if(_1b){ -_1d.content=_1b; -} -if(!_1c.tip){ -return; -} -var cc=typeof _1d.content=="function"?_1d.content.call(_1a):_1d.content; -_1c.tip.children(".tooltip-content").html(cc); -_1d.onUpdate.call(_1a,cc); -}; -function _1e(_1f){ -var _20=$.data(_1f,"tooltip"); -if(_20){ -_7(_1f); -var _21=_20.options; -if(_20.tip){ -_20.tip.remove(); -} -if(_21._title){ -$(_1f).attr("title",_21._title); -} -$.removeData(_1f,"tooltip"); -$(_1f).unbind(".tooltip").removeClass("tooltip-f"); -_21.onDestroy.call(_1f); -} -}; -$.fn.tooltip=function(_22,_23){ -if(typeof _22=="string"){ -return $.fn.tooltip.methods[_22](this,_23); -} -_22=_22||{}; -return this.each(function(){ -var _24=$.data(this,"tooltip"); -if(_24){ -$.extend(_24.options,_22); -}else{ -$.data(this,"tooltip",{options:$.extend({},$.fn.tooltip.defaults,$.fn.tooltip.parseOptions(this),_22)}); -_1(this); -} -_3(this); -_14(this); -}); -}; -$.fn.tooltip.methods={options:function(jq){ -return $.data(jq[0],"tooltip").options; -},tip:function(jq){ -return $.data(jq[0],"tooltip").tip; -},arrow:function(jq){ -return jq.tooltip("tip").children(".tooltip-arrow-outer,.tooltip-arrow"); -},show:function(jq,e){ -return jq.each(function(){ -_10(this,e); -}); -},hide:function(jq,e){ -return jq.each(function(){ -_17(this,e); -}); -},update:function(jq,_25){ -return jq.each(function(){ -_14(this,_25); -}); -},reposition:function(jq){ -return jq.each(function(){ -_6(this); -}); -},destroy:function(jq){ -return jq.each(function(){ -_1e(this); -}); -}}; -$.fn.tooltip.parseOptions=function(_26){ -var t=$(_26); -var _27=$.extend({},$.parser.parseOptions(_26,["position","showEvent","hideEvent","content",{deltaX:"number",deltaY:"number",showDelay:"number",hideDelay:"number"}]),{_title:t.attr("title")}); -t.attr("title",""); -if(!_27.content){ -_27.content=_27._title; -} -return _27; -}; -$.fn.tooltip.defaults={position:"bottom",content:null,trackMouse:false,deltaX:0,deltaY:0,showEvent:"mouseenter",hideEvent:"mouseleave",showDelay:200,hideDelay:100,onShow:function(e){ -},onHide:function(e){ -},onUpdate:function(_28){ -},onPosition:function(_29,top){ -},onDestroy:function(){ -}}; -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.tree.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.tree.js deleted file mode 100644 index f4a0752..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.tree.js +++ /dev/null @@ -1,1172 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -function _1(_2){ -var _3=$(_2); -_3.addClass("tree"); -return _3; -}; -function _4(_5){ -var _6=$.data(_5,"tree").options; -$(_5).unbind().bind("mouseover",function(e){ -var tt=$(e.target); -var _7=tt.closest("div.tree-node"); -if(!_7.length){ -return; -} -_7.addClass("tree-node-hover"); -if(tt.hasClass("tree-hit")){ -if(tt.hasClass("tree-expanded")){ -tt.addClass("tree-expanded-hover"); -}else{ -tt.addClass("tree-collapsed-hover"); -} -} -e.stopPropagation(); -}).bind("mouseout",function(e){ -var tt=$(e.target); -var _8=tt.closest("div.tree-node"); -if(!_8.length){ -return; -} -_8.removeClass("tree-node-hover"); -if(tt.hasClass("tree-hit")){ -if(tt.hasClass("tree-expanded")){ -tt.removeClass("tree-expanded-hover"); -}else{ -tt.removeClass("tree-collapsed-hover"); -} -} -e.stopPropagation(); -}).bind("click",function(e){ -var tt=$(e.target); -var _9=tt.closest("div.tree-node"); -if(!_9.length){ -return; -} -if(tt.hasClass("tree-hit")){ -_81(_5,_9[0]); -return false; -}else{ -if(tt.hasClass("tree-checkbox")){ -_34(_5,_9[0],!tt.hasClass("tree-checkbox1")); -return false; -}else{ -_da(_5,_9[0]); -_6.onClick.call(_5,_c(_5,_9[0])); -} -} -e.stopPropagation(); -}).bind("dblclick",function(e){ -var _a=$(e.target).closest("div.tree-node"); -if(!_a.length){ -return; -} -_da(_5,_a[0]); -_6.onDblClick.call(_5,_c(_5,_a[0])); -e.stopPropagation(); -}).bind("contextmenu",function(e){ -var _b=$(e.target).closest("div.tree-node"); -if(!_b.length){ -return; -} -_6.onContextMenu.call(_5,e,_c(_5,_b[0])); -e.stopPropagation(); -}); -}; -function _d(_e){ -var _f=$.data(_e,"tree").options; -_f.dnd=false; -var _10=$(_e).find("div.tree-node"); -_10.draggable("disable"); -_10.css("cursor","pointer"); -}; -function _11(_12){ -var _13=$.data(_12,"tree"); -var _14=_13.options; -var _15=_13.tree; -_13.disabledNodes=[]; -_14.dnd=true; -_15.find("div.tree-node").draggable({disabled:false,revert:true,cursor:"pointer",proxy:function(_16){ -var p=$("
                                          ").appendTo("body"); -p.html(" "+$(_16).find(".tree-title").html()); -p.hide(); -return p; -},deltaX:15,deltaY:15,onBeforeDrag:function(e){ -if(_14.onBeforeDrag.call(_12,_c(_12,this))==false){ -return false; -} -if($(e.target).hasClass("tree-hit")||$(e.target).hasClass("tree-checkbox")){ -return false; -} -if(e.which!=1){ -return false; -} -$(this).next("ul").find("div.tree-node").droppable({accept:"no-accept"}); -var _17=$(this).find("span.tree-indent"); -if(_17.length){ -e.data.offsetWidth-=_17.length*_17.width(); -} -},onStartDrag:function(){ -$(this).draggable("proxy").css({left:-10000,top:-10000}); -_14.onStartDrag.call(_12,_c(_12,this)); -var _18=_c(_12,this); -if(_18.id==undefined){ -_18.id="easyui_tree_node_id_temp"; -_56(_12,_18); -} -_13.draggingNodeId=_18.id; -},onDrag:function(e){ -var x1=e.pageX,y1=e.pageY,x2=e.data.startX,y2=e.data.startY; -var d=Math.sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)); -if(d>3){ -$(this).draggable("proxy").show(); -} -this.pageY=e.pageY; -},onStopDrag:function(){ -$(this).next("ul").find("div.tree-node").droppable({accept:"div.tree-node"}); -for(var i=0;i<_13.disabledNodes.length;i++){ -$(_13.disabledNodes[i]).droppable("enable"); -} -_13.disabledNodes=[]; -var _19=_cd(_12,_13.draggingNodeId); -if(_19&&_19.id=="easyui_tree_node_id_temp"){ -_19.id=""; -_56(_12,_19); -} -_14.onStopDrag.call(_12,_19); -}}).droppable({accept:"div.tree-node",onDragEnter:function(e,_1a){ -if(_14.onDragEnter.call(_12,this,_1b(_1a))==false){ -_1c(_1a,false); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -$(this).droppable("disable"); -_13.disabledNodes.push(this); -} -},onDragOver:function(e,_1d){ -if($(this).droppable("options").disabled){ -return; -} -var _1e=_1d.pageY; -var top=$(this).offset().top; -var _1f=top+$(this).outerHeight(); -_1c(_1d,true); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -if(_1e>top+(_1f-top)/2){ -if(_1f-_1e<5){ -$(this).addClass("tree-node-bottom"); -}else{ -$(this).addClass("tree-node-append"); -} -}else{ -if(_1e-top<5){ -$(this).addClass("tree-node-top"); -}else{ -$(this).addClass("tree-node-append"); -} -} -if(_14.onDragOver.call(_12,this,_1b(_1d))==false){ -_1c(_1d,false); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -$(this).droppable("disable"); -_13.disabledNodes.push(this); -} -},onDragLeave:function(e,_20){ -_1c(_20,false); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -_14.onDragLeave.call(_12,this,_1b(_20)); -},onDrop:function(e,_21){ -var _22=this; -var _23,_24; -if($(this).hasClass("tree-node-append")){ -_23=_25; -_24="append"; -}else{ -_23=_26; -_24=$(this).hasClass("tree-node-top")?"top":"bottom"; -} -if(_14.onBeforeDrop.call(_12,_22,_1b(_21),_24)==false){ -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -return; -} -_23(_21,_22,_24); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -}}); -function _1b(_27,pop){ -return $(_27).closest("ul.tree").tree(pop?"pop":"getData",_27); -}; -function _1c(_28,_29){ -var _2a=$(_28).draggable("proxy").find("span.tree-dnd-icon"); -_2a.removeClass("tree-dnd-yes tree-dnd-no").addClass(_29?"tree-dnd-yes":"tree-dnd-no"); -}; -function _25(_2b,_2c){ -if(_c(_12,_2c).state=="closed"){ -_75(_12,_2c,function(){ -_2d(); -}); -}else{ -_2d(); -} -function _2d(){ -var _2e=_1b(_2b,true); -$(_12).tree("append",{parent:_2c,data:[_2e]}); -_14.onDrop.call(_12,_2c,_2e,"append"); -}; -}; -function _26(_2f,_30,_31){ -var _32={}; -if(_31=="top"){ -_32.before=_30; -}else{ -_32.after=_30; -} -var _33=_1b(_2f,true); -_32.data=_33; -$(_12).tree("insert",_32); -_14.onDrop.call(_12,_30,_33,_31); -}; -}; -function _34(_35,_36,_37){ -var _38=$.data(_35,"tree").options; -if(!_38.checkbox){ -return; -} -var _39=_c(_35,_36); -if(_38.onBeforeCheck.call(_35,_39,_37)==false){ -return; -} -var _3a=$(_36); -var ck=_3a.find(".tree-checkbox"); -ck.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); -if(_37){ -ck.addClass("tree-checkbox1"); -}else{ -ck.addClass("tree-checkbox0"); -} -if(_38.cascadeCheck){ -_3b(_3a); -_3c(_3a); -} -_38.onCheck.call(_35,_39,_37); -function _3c(_3d){ -var _3e=_3d.next().find(".tree-checkbox"); -_3e.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); -if(_3d.find(".tree-checkbox").hasClass("tree-checkbox1")){ -_3e.addClass("tree-checkbox1"); -}else{ -_3e.addClass("tree-checkbox0"); -} -}; -function _3b(_3f){ -var _40=_8c(_35,_3f[0]); -if(_40){ -var ck=$(_40.target).find(".tree-checkbox"); -ck.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); -if(_41(_3f)){ -ck.addClass("tree-checkbox1"); -}else{ -if(_42(_3f)){ -ck.addClass("tree-checkbox0"); -}else{ -ck.addClass("tree-checkbox2"); -} -} -_3b($(_40.target)); -} -function _41(n){ -var ck=n.find(".tree-checkbox"); -if(ck.hasClass("tree-checkbox0")||ck.hasClass("tree-checkbox2")){ -return false; -} -var b=true; -n.parent().siblings().each(function(){ -if(!$(this).children("div.tree-node").children(".tree-checkbox").hasClass("tree-checkbox1")){ -b=false; -} -}); -return b; -}; -function _42(n){ -var ck=n.find(".tree-checkbox"); -if(ck.hasClass("tree-checkbox1")||ck.hasClass("tree-checkbox2")){ -return false; -} -var b=true; -n.parent().siblings().each(function(){ -if(!$(this).children("div.tree-node").children(".tree-checkbox").hasClass("tree-checkbox0")){ -b=false; -} -}); -return b; -}; -}; -}; -function _43(_44,_45){ -var _46=$.data(_44,"tree").options; -if(!_46.checkbox){ -return; -} -var _47=$(_45); -if(_48(_44,_45)){ -var ck=_47.find(".tree-checkbox"); -if(ck.length){ -if(ck.hasClass("tree-checkbox1")){ -_34(_44,_45,true); -}else{ -_34(_44,_45,false); -} -}else{ -if(_46.onlyLeafCheck){ -$("").insertBefore(_47.find(".tree-title")); -} -} -}else{ -var ck=_47.find(".tree-checkbox"); -if(_46.onlyLeafCheck){ -ck.remove(); -}else{ -if(ck.hasClass("tree-checkbox1")){ -_34(_44,_45,true); -}else{ -if(ck.hasClass("tree-checkbox2")){ -var _49=true; -var _4a=true; -var _4b=_4c(_44,_45); -for(var i=0;i<_4b.length;i++){ -if(_4b[i].checked){ -_4a=false; -}else{ -_49=false; -} -} -if(_49){ -_34(_44,_45,true); -} -if(_4a){ -_34(_44,_45,false); -} -} -} -} -} -}; -function _4d(_4e,ul,_4f,_50){ -var _51=$.data(_4e,"tree"); -var _52=_51.options; -var _53=$(ul).prevAll("div.tree-node:first"); -_4f=_52.loadFilter.call(_4e,_4f,_53[0]); -var _54=_55(_4e,"domId",_53.attr("id")); -if(!_50){ -_54?_54.children=_4f:_51.data=_4f; -$(ul).empty(); -}else{ -if(_54){ -_54.children?_54.children=_54.children.concat(_4f):_54.children=_4f; -}else{ -_51.data=_51.data.concat(_4f); -} -} -_52.view.render.call(_52.view,_4e,ul,_4f); -if(_52.dnd){ -_11(_4e); -} -if(_54){ -_56(_4e,_54); -} -var _57=[]; -var _58=[]; -for(var i=0;i<_4f.length;i++){ -var _59=_4f[i]; -if(!_59.checked){ -_57.push(_59); -} -} -_5a(_4f,function(_5b){ -if(_5b.checked){ -_58.push(_5b); -} -}); -var _5c=_52.onCheck; -_52.onCheck=function(){ -}; -if(_57.length){ -_34(_4e,$("#"+_57[0].domId)[0],false); -} -for(var i=0;i<_58.length;i++){ -_34(_4e,$("#"+_58[i].domId)[0],true); -} -_52.onCheck=_5c; -setTimeout(function(){ -_5d(_4e,_4e); -},0); -_52.onLoadSuccess.call(_4e,_54,_4f); -}; -function _5d(_5e,ul,_5f){ -var _60=$.data(_5e,"tree").options; -if(_60.lines){ -$(_5e).addClass("tree-lines"); -}else{ -$(_5e).removeClass("tree-lines"); -return; -} -if(!_5f){ -_5f=true; -$(_5e).find("span.tree-indent").removeClass("tree-line tree-join tree-joinbottom"); -$(_5e).find("div.tree-node").removeClass("tree-node-last tree-root-first tree-root-one"); -var _61=$(_5e).tree("getRoots"); -if(_61.length>1){ -$(_61[0].target).addClass("tree-root-first"); -}else{ -if(_61.length==1){ -$(_61[0].target).addClass("tree-root-one"); -} -} -} -$(ul).children("li").each(function(){ -var _62=$(this).children("div.tree-node"); -var ul=_62.next("ul"); -if(ul.length){ -if($(this).next().length){ -_63(_62); -} -_5d(_5e,ul,_5f); -}else{ -_64(_62); -} -}); -var _65=$(ul).children("li:last").children("div.tree-node").addClass("tree-node-last"); -_65.children("span.tree-join").removeClass("tree-join").addClass("tree-joinbottom"); -function _64(_66,_67){ -var _68=_66.find("span.tree-icon"); -_68.prev("span.tree-indent").addClass("tree-join"); -}; -function _63(_69){ -var _6a=_69.find("span.tree-indent, span.tree-hit").length; -_69.next().find("div.tree-node").each(function(){ -$(this).children("span:eq("+(_6a-1)+")").addClass("tree-line"); -}); -}; -}; -function _6b(_6c,ul,_6d,_6e){ -var _6f=$.data(_6c,"tree").options; -_6d=_6d||{}; -var _70=null; -if(_6c!=ul){ -var _71=$(ul).prev(); -_70=_c(_6c,_71[0]); -} -if(_6f.onBeforeLoad.call(_6c,_70,_6d)==false){ -return; -} -var _72=$(ul).prev().children("span.tree-folder"); -_72.addClass("tree-loading"); -var _73=_6f.loader.call(_6c,_6d,function(_74){ -_72.removeClass("tree-loading"); -_4d(_6c,ul,_74); -if(_6e){ -_6e(); -} -},function(){ -_72.removeClass("tree-loading"); -_6f.onLoadError.apply(_6c,arguments); -if(_6e){ -_6e(); -} -}); -if(_73==false){ -_72.removeClass("tree-loading"); -} -}; -function _75(_76,_77,_78){ -var _79=$.data(_76,"tree").options; -var hit=$(_77).children("span.tree-hit"); -if(hit.length==0){ -return; -} -if(hit.hasClass("tree-expanded")){ -return; -} -var _7a=_c(_76,_77); -if(_79.onBeforeExpand.call(_76,_7a)==false){ -return; -} -hit.removeClass("tree-collapsed tree-collapsed-hover").addClass("tree-expanded"); -hit.next().addClass("tree-folder-open"); -var ul=$(_77).next(); -if(ul.length){ -if(_79.animate){ -ul.slideDown("normal",function(){ -_7a.state="open"; -_79.onExpand.call(_76,_7a); -if(_78){ -_78(); -} -}); -}else{ -ul.css("display","block"); -_7a.state="open"; -_79.onExpand.call(_76,_7a); -if(_78){ -_78(); -} -} -}else{ -var _7b=$("
                                            ").insertAfter(_77); -_6b(_76,_7b[0],{id:_7a.id},function(){ -if(_7b.is(":empty")){ -_7b.remove(); -} -if(_79.animate){ -_7b.slideDown("normal",function(){ -_7a.state="open"; -_79.onExpand.call(_76,_7a); -if(_78){ -_78(); -} -}); -}else{ -_7b.css("display","block"); -_7a.state="open"; -_79.onExpand.call(_76,_7a); -if(_78){ -_78(); -} -} -}); -} -}; -function _7c(_7d,_7e){ -var _7f=$.data(_7d,"tree").options; -var hit=$(_7e).children("span.tree-hit"); -if(hit.length==0){ -return; -} -if(hit.hasClass("tree-collapsed")){ -return; -} -var _80=_c(_7d,_7e); -if(_7f.onBeforeCollapse.call(_7d,_80)==false){ -return; -} -hit.removeClass("tree-expanded tree-expanded-hover").addClass("tree-collapsed"); -hit.next().removeClass("tree-folder-open"); -var ul=$(_7e).next(); -if(_7f.animate){ -ul.slideUp("normal",function(){ -_80.state="closed"; -_7f.onCollapse.call(_7d,_80); -}); -}else{ -ul.css("display","none"); -_80.state="closed"; -_7f.onCollapse.call(_7d,_80); -} -}; -function _81(_82,_83){ -var hit=$(_83).children("span.tree-hit"); -if(hit.length==0){ -return; -} -if(hit.hasClass("tree-expanded")){ -_7c(_82,_83); -}else{ -_75(_82,_83); -} -}; -function _84(_85,_86){ -var _87=_4c(_85,_86); -if(_86){ -_87.unshift(_c(_85,_86)); -} -for(var i=0;i<_87.length;i++){ -_75(_85,_87[i].target); -} -}; -function _88(_89,_8a){ -var _8b=[]; -var p=_8c(_89,_8a); -while(p){ -_8b.unshift(p); -p=_8c(_89,p.target); -} -for(var i=0;i<_8b.length;i++){ -_75(_89,_8b[i].target); -} -}; -function _8d(_8e,_8f){ -var c=$(_8e).parent(); -while(c[0].tagName!="BODY"&&c.css("overflow-y")!="auto"){ -c=c.parent(); -} -var n=$(_8f); -var _90=n.offset().top; -if(c[0].tagName!="BODY"){ -var _91=c.offset().top; -if(_90<_91){ -c.scrollTop(c.scrollTop()+_90-_91); -}else{ -if(_90+n.outerHeight()>_91+c.outerHeight()-18){ -c.scrollTop(c.scrollTop()+_90+n.outerHeight()-_91-c.outerHeight()+18); -} -} -}else{ -c.scrollTop(_90); -} -}; -function _92(_93,_94){ -var _95=_4c(_93,_94); -if(_94){ -_95.unshift(_c(_93,_94)); -} -for(var i=0;i<_95.length;i++){ -_7c(_93,_95[i].target); -} -}; -function _96(_97,_98){ -var _99=$(_98.parent); -var _9a=_98.data; -if(!_9a){ -return; -} -_9a=$.isArray(_9a)?_9a:[_9a]; -if(!_9a.length){ -return; -} -var ul; -if(_99.length==0){ -ul=$(_97); -}else{ -if(_48(_97,_99[0])){ -var _9b=_99.find("span.tree-icon"); -_9b.removeClass("tree-file").addClass("tree-folder tree-folder-open"); -var hit=$("").insertBefore(_9b); -if(hit.prev().length){ -hit.prev().remove(); -} -} -ul=_99.next(); -if(!ul.length){ -ul=$("
                                              ").insertAfter(_99); -} -} -_4d(_97,ul[0],_9a,true); -_43(_97,ul.prev()); -}; -function _9c(_9d,_9e){ -var ref=_9e.before||_9e.after; -var _9f=_8c(_9d,ref); -var _a0=_9e.data; -if(!_a0){ -return; -} -_a0=$.isArray(_a0)?_a0:[_a0]; -if(!_a0.length){ -return; -} -_96(_9d,{parent:(_9f?_9f.target:null),data:_a0}); -var _a1=_9f?_9f.children:$(_9d).tree("getRoots"); -for(var i=0;i<_a1.length;i++){ -if(_a1[i].domId==$(ref).attr("id")){ -for(var j=_a0.length-1;j>=0;j--){ -_a1.splice((_9e.before?i:(i+1)),0,_a0[j]); -} -_a1.splice(_a1.length-_a0.length,_a0.length); -break; -} -} -var li=$(); -for(var i=0;i<_a0.length;i++){ -li=li.add($("#"+_a0[i].domId).parent()); -} -if(_9e.before){ -li.insertBefore($(ref).parent()); -}else{ -li.insertAfter($(ref).parent()); -} -}; -function _a2(_a3,_a4){ -var _a5=del(_a4); -$(_a4).parent().remove(); -if(_a5){ -if(!_a5.children||!_a5.children.length){ -var _a6=$(_a5.target); -_a6.find(".tree-icon").removeClass("tree-folder").addClass("tree-file"); -_a6.find(".tree-hit").remove(); -$("").prependTo(_a6); -_a6.next().remove(); -} -_56(_a3,_a5); -_43(_a3,_a5.target); -} -_5d(_a3,_a3); -function del(_a7){ -var id=$(_a7).attr("id"); -var _a8=_8c(_a3,_a7); -var cc=_a8?_a8.children:$.data(_a3,"tree").data; -for(var i=0;i=0;i--){ -_d8.unshift(_d9.children[i]); -} -} -} -}; -function _da(_db,_dc){ -var _dd=$.data(_db,"tree").options; -var _de=_c(_db,_dc); -if(_dd.onBeforeSelect.call(_db,_de)==false){ -return; -} -$(_db).find("div.tree-node-selected").removeClass("tree-node-selected"); -$(_dc).addClass("tree-node-selected"); -_dd.onSelect.call(_db,_de); -}; -function _48(_df,_e0){ -return $(_e0).children("span.tree-hit").length==0; -}; -function _e1(_e2,_e3){ -var _e4=$.data(_e2,"tree").options; -var _e5=_c(_e2,_e3); -if(_e4.onBeforeEdit.call(_e2,_e5)==false){ -return; -} -$(_e3).css("position","relative"); -var nt=$(_e3).find(".tree-title"); -var _e6=nt.outerWidth(); -nt.empty(); -var _e7=$("").appendTo(nt); -_e7.val(_e5.text).focus(); -_e7.width(_e6+20); -_e7.height(document.compatMode=="CSS1Compat"?(18-(_e7.outerHeight()-_e7.height())):18); -_e7.bind("click",function(e){ -return false; -}).bind("mousedown",function(e){ -e.stopPropagation(); -}).bind("mousemove",function(e){ -e.stopPropagation(); -}).bind("keydown",function(e){ -if(e.keyCode==13){ -_e8(_e2,_e3); -return false; -}else{ -if(e.keyCode==27){ -_ee(_e2,_e3); -return false; -} -} -}).bind("blur",function(e){ -e.stopPropagation(); -_e8(_e2,_e3); -}); -}; -function _e8(_e9,_ea){ -var _eb=$.data(_e9,"tree").options; -$(_ea).css("position",""); -var _ec=$(_ea).find("input.tree-editor"); -var val=_ec.val(); -_ec.remove(); -var _ed=_c(_e9,_ea); -_ed.text=val; -_56(_e9,_ed); -_eb.onAfterEdit.call(_e9,_ed); -}; -function _ee(_ef,_f0){ -var _f1=$.data(_ef,"tree").options; -$(_f0).css("position",""); -$(_f0).find("input.tree-editor").remove(); -var _f2=_c(_ef,_f0); -_56(_ef,_f2); -_f1.onCancelEdit.call(_ef,_f2); -}; -$.fn.tree=function(_f3,_f4){ -if(typeof _f3=="string"){ -return $.fn.tree.methods[_f3](this,_f4); -} -var _f3=_f3||{}; -return this.each(function(){ -var _f5=$.data(this,"tree"); -var _f6; -if(_f5){ -_f6=$.extend(_f5.options,_f3); -_f5.options=_f6; -}else{ -_f6=$.extend({},$.fn.tree.defaults,$.fn.tree.parseOptions(this),_f3); -$.data(this,"tree",{options:_f6,tree:_1(this),data:[]}); -var _f7=$.fn.tree.parseData(this); -if(_f7.length){ -_4d(this,this,_f7); -} -} -_4(this); -if(_f6.data){ -_4d(this,this,$.extend(true,[],_f6.data)); -} -_6b(this,this); -}); -}; -$.fn.tree.methods={options:function(jq){ -return $.data(jq[0],"tree").options; -},loadData:function(jq,_f8){ -return jq.each(function(){ -_4d(this,this,_f8); -}); -},getNode:function(jq,_f9){ -return _c(jq[0],_f9); -},getData:function(jq,_fa){ -return _c6(jq[0],_fa); -},reload:function(jq,_fb){ -return jq.each(function(){ -if(_fb){ -var _fc=$(_fb); -var hit=_fc.children("span.tree-hit"); -hit.removeClass("tree-expanded tree-expanded-hover").addClass("tree-collapsed"); -_fc.next().remove(); -_75(this,_fb); -}else{ -$(this).empty(); -_6b(this,this); -} -}); -},getRoot:function(jq){ -return _af(jq[0]); -},getRoots:function(jq){ -return _b2(jq[0]); -},getParent:function(jq,_fd){ -return _8c(jq[0],_fd); -},getChildren:function(jq,_fe){ -return _4c(jq[0],_fe); -},getChecked:function(jq,_ff){ -return _bd(jq[0],_ff); -},getSelected:function(jq){ -return _c3(jq[0]); -},isLeaf:function(jq,_100){ -return _48(jq[0],_100); -},find:function(jq,id){ -return _cd(jq[0],id); -},select:function(jq,_101){ -return jq.each(function(){ -_da(this,_101); -}); -},check:function(jq,_102){ -return jq.each(function(){ -_34(this,_102,true); -}); -},uncheck:function(jq,_103){ -return jq.each(function(){ -_34(this,_103,false); -}); -},collapse:function(jq,_104){ -return jq.each(function(){ -_7c(this,_104); -}); -},expand:function(jq,_105){ -return jq.each(function(){ -_75(this,_105); -}); -},collapseAll:function(jq,_106){ -return jq.each(function(){ -_92(this,_106); -}); -},expandAll:function(jq,_107){ -return jq.each(function(){ -_84(this,_107); -}); -},expandTo:function(jq,_108){ -return jq.each(function(){ -_88(this,_108); -}); -},scrollTo:function(jq,_109){ -return jq.each(function(){ -_8d(this,_109); -}); -},toggle:function(jq,_10a){ -return jq.each(function(){ -_81(this,_10a); -}); -},append:function(jq,_10b){ -return jq.each(function(){ -_96(this,_10b); -}); -},insert:function(jq,_10c){ -return jq.each(function(){ -_9c(this,_10c); -}); -},remove:function(jq,_10d){ -return jq.each(function(){ -_a2(this,_10d); -}); -},pop:function(jq,_10e){ -var node=jq.tree("getData",_10e); -jq.tree("remove",_10e); -return node; -},update:function(jq,_10f){ -return jq.each(function(){ -_56(this,_10f); -}); -},enableDnd:function(jq){ -return jq.each(function(){ -_11(this); -}); -},disableDnd:function(jq){ -return jq.each(function(){ -_d(this); -}); -},beginEdit:function(jq,_110){ -return jq.each(function(){ -_e1(this,_110); -}); -},endEdit:function(jq,_111){ -return jq.each(function(){ -_e8(this,_111); -}); -},cancelEdit:function(jq,_112){ -return jq.each(function(){ -_ee(this,_112); -}); -}}; -$.fn.tree.parseOptions=function(_113){ -var t=$(_113); -return $.extend({},$.parser.parseOptions(_113,["url","method",{checkbox:"boolean",cascadeCheck:"boolean",onlyLeafCheck:"boolean"},{animate:"boolean",lines:"boolean",dnd:"boolean"}])); -}; -$.fn.tree.parseData=function(_114){ -var data=[]; -_115(data,$(_114)); -return data; -function _115(aa,tree){ -tree.children("li").each(function(){ -var node=$(this); -var item=$.extend({},$.parser.parseOptions(this,["id","iconCls","state"]),{checked:(node.attr("checked")?true:undefined)}); -item.text=node.children("span").html(); -if(!item.text){ -item.text=node.html(); -} -var _116=node.children("ul"); -if(_116.length){ -item.children=[]; -_115(item.children,_116); -} -aa.push(item); -}); -}; -}; -var _117=1; -var _118={render:function(_119,ul,data){ -var opts=$.data(_119,"tree").options; -var _11a=$(ul).prev("div.tree-node").find("span.tree-indent, span.tree-hit").length; -var cc=_11b(_11a,data); -$(ul).append(cc.join("")); -function _11b(_11c,_11d){ -var cc=[]; -for(var i=0;i<_11d.length;i++){ -var item=_11d[i]; -if(item.state!="open"&&item.state!="closed"){ -item.state="open"; -} -item.domId="_easyui_tree_"+_117++; -cc.push("
                                            • "); -cc.push("
                                              "); -for(var j=0;j<_11c;j++){ -cc.push(""); -} -var _11e=false; -if(item.state=="closed"){ -cc.push(""); -cc.push(""); -}else{ -if(item.children&&item.children.length){ -cc.push(""); -cc.push(""); -}else{ -cc.push(""); -cc.push(""); -_11e=true; -} -} -if(opts.checkbox){ -if((!opts.onlyLeafCheck)||_11e){ -cc.push(""); -} -} -cc.push(""+opts.formatter.call(_119,item)+""); -cc.push("
                                              "); -if(item.children&&item.children.length){ -var tmp=_11b(_11c+1,item.children); -cc.push("
                                                "); -cc=cc.concat(tmp); -cc.push("
                                              "); -} -cc.push("
                                            • "); -} -return cc; -}; -}}; -$.fn.tree.defaults={url:null,method:"post",animate:false,checkbox:false,cascadeCheck:true,onlyLeafCheck:false,lines:false,dnd:false,data:null,formatter:function(node){ -return node.text; -},loader:function(_11f,_120,_121){ -var opts=$(this).tree("options"); -if(!opts.url){ -return false; -} -$.ajax({type:opts.method,url:opts.url,data:_11f,dataType:"json",success:function(data){ -_120(data); -},error:function(){ -_121.apply(this,arguments); -}}); -},loadFilter:function(data,_122){ -return data; -},view:_118,onBeforeLoad:function(node,_123){ -},onLoadSuccess:function(node,data){ -},onLoadError:function(){ -},onClick:function(node){ -},onDblClick:function(node){ -},onBeforeExpand:function(node){ -},onExpand:function(node){ -},onBeforeCollapse:function(node){ -},onCollapse:function(node){ -},onBeforeCheck:function(node,_124){ -},onCheck:function(node,_125){ -},onBeforeSelect:function(node){ -},onSelect:function(node){ -},onContextMenu:function(e,node){ -},onBeforeDrag:function(node){ -},onStartDrag:function(node){ -},onStopDrag:function(node){ -},onDragEnter:function(_126,_127){ -},onDragOver:function(_128,_129){ -},onDragLeave:function(_12a,_12b){ -},onBeforeDrop:function(_12c,_12d,_12e){ -},onDrop:function(_12f,_130,_131){ -},onBeforeEdit:function(node){ -},onAfterEdit:function(node){ -},onCancelEdit:function(node){ -}}; -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.treegrid.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.treegrid.js deleted file mode 100644 index 334adfb..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.treegrid.js +++ /dev/null @@ -1,1075 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -function _1(_2){ -var _3=$.data(_2,"treegrid"); -var _4=_3.options; -$(_2).datagrid($.extend({},_4,{url:null,data:null,loader:function(){ -return false; -},onBeforeLoad:function(){ -return false; -},onLoadSuccess:function(){ -},onResizeColumn:function(_5,_6){ -_20(_2); -_4.onResizeColumn.call(_2,_5,_6); -},onSortColumn:function(_7,_8){ -_4.sortName=_7; -_4.sortOrder=_8; -if(_4.remoteSort){ -_1f(_2); -}else{ -var _9=$(_2).treegrid("getData"); -_39(_2,0,_9); -} -_4.onSortColumn.call(_2,_7,_8); -},onBeforeEdit:function(_a,_b){ -if(_4.onBeforeEdit.call(_2,_b)==false){ -return false; -} -},onAfterEdit:function(_c,_d,_e){ -_4.onAfterEdit.call(_2,_d,_e); -},onCancelEdit:function(_f,row){ -_4.onCancelEdit.call(_2,row); -},onSelect:function(_10){ -_4.onSelect.call(_2,_41(_2,_10)); -},onUnselect:function(_11){ -_4.onUnselect.call(_2,_41(_2,_11)); -},onCheck:function(_12){ -_4.onCheck.call(_2,_41(_2,_12)); -},onUncheck:function(_13){ -_4.onUncheck.call(_2,_41(_2,_13)); -},onClickRow:function(_14){ -_4.onClickRow.call(_2,_41(_2,_14)); -},onDblClickRow:function(_15){ -_4.onDblClickRow.call(_2,_41(_2,_15)); -},onClickCell:function(_16,_17){ -_4.onClickCell.call(_2,_17,_41(_2,_16)); -},onDblClickCell:function(_18,_19){ -_4.onDblClickCell.call(_2,_19,_41(_2,_18)); -},onRowContextMenu:function(e,_1a){ -_4.onContextMenu.call(_2,e,_41(_2,_1a)); -}})); -if(!_4.columns){ -var _1b=$.data(_2,"datagrid").options; -_4.columns=_1b.columns; -_4.frozenColumns=_1b.frozenColumns; -} -_3.dc=$.data(_2,"datagrid").dc; -if(_4.pagination){ -var _1c=$(_2).datagrid("getPager"); -_1c.pagination({pageNumber:_4.pageNumber,pageSize:_4.pageSize,pageList:_4.pageList,onSelectPage:function(_1d,_1e){ -_4.pageNumber=_1d; -_4.pageSize=_1e; -_1f(_2); -}}); -_4.pageSize=_1c.pagination("options").pageSize; -} -}; -function _20(_21,_22){ -var _23=$.data(_21,"datagrid").options; -var dc=$.data(_21,"datagrid").dc; -if(!dc.body1.is(":empty")&&(!_23.nowrap||_23.autoRowHeight)){ -if(_22!=undefined){ -var _24=_25(_21,_22); -for(var i=0;i<_24.length;i++){ -_26(_24[i][_23.idField]); -} -} -} -$(_21).datagrid("fixRowHeight",_22); -function _26(_27){ -var tr1=_23.finder.getTr(_21,_27,"body",1); -var tr2=_23.finder.getTr(_21,_27,"body",2); -tr1.css("height",""); -tr2.css("height",""); -var _28=Math.max(tr1.height(),tr2.height()); -tr1.css("height",_28); -tr2.css("height",_28); -}; -}; -function _29(_2a){ -var dc=$.data(_2a,"datagrid").dc; -var _2b=$.data(_2a,"treegrid").options; -if(!_2b.rownumbers){ -return; -} -dc.body1.find("div.datagrid-cell-rownumber").each(function(i){ -$(this).html(i+1); -}); -}; -function _2c(_2d){ -var dc=$.data(_2d,"datagrid").dc; -var _2e=dc.body1.add(dc.body2); -var _2f=($.data(_2e[0],"events")||$._data(_2e[0],"events")).click[0].handler; -dc.body1.add(dc.body2).bind("mouseover",function(e){ -var tt=$(e.target); -var tr=tt.closest("tr.datagrid-row"); -if(!tr.length){ -return; -} -if(tt.hasClass("tree-hit")){ -tt.hasClass("tree-expanded")?tt.addClass("tree-expanded-hover"):tt.addClass("tree-collapsed-hover"); -} -e.stopPropagation(); -}).bind("mouseout",function(e){ -var tt=$(e.target); -var tr=tt.closest("tr.datagrid-row"); -if(!tr.length){ -return; -} -if(tt.hasClass("tree-hit")){ -tt.hasClass("tree-expanded")?tt.removeClass("tree-expanded-hover"):tt.removeClass("tree-collapsed-hover"); -} -e.stopPropagation(); -}).unbind("click").bind("click",function(e){ -var tt=$(e.target); -var tr=tt.closest("tr.datagrid-row"); -if(!tr.length){ -return; -} -if(tt.hasClass("tree-hit")){ -_30(_2d,tr.attr("node-id")); -}else{ -_2f(e); -} -e.stopPropagation(); -}); -}; -function _31(_32,_33){ -var _34=$.data(_32,"treegrid").options; -var tr1=_34.finder.getTr(_32,_33,"body",1); -var tr2=_34.finder.getTr(_32,_33,"body",2); -var _35=$(_32).datagrid("getColumnFields",true).length+(_34.rownumbers?1:0); -var _36=$(_32).datagrid("getColumnFields",false).length; -_37(tr1,_35); -_37(tr2,_36); -function _37(tr,_38){ -$(""+""+"
                                              "+""+"").insertAfter(tr); -}; -}; -function _39(_3a,_3b,_3c,_3d){ -var _3e=$.data(_3a,"treegrid"); -var _3f=_3e.options; -var dc=_3e.dc; -_3c=_3f.loadFilter.call(_3a,_3c,_3b); -var _40=_41(_3a,_3b); -if(_40){ -var _42=_3f.finder.getTr(_3a,_3b,"body",1); -var _43=_3f.finder.getTr(_3a,_3b,"body",2); -var cc1=_42.next("tr.treegrid-tr-tree").children("td").children("div"); -var cc2=_43.next("tr.treegrid-tr-tree").children("td").children("div"); -if(!_3d){ -_40.children=[]; -} -}else{ -var cc1=dc.body1; -var cc2=dc.body2; -if(!_3d){ -_3e.data=[]; -} -} -if(!_3d){ -cc1.empty(); -cc2.empty(); -} -if(_3f.view.onBeforeRender){ -_3f.view.onBeforeRender.call(_3f.view,_3a,_3b,_3c); -} -_3f.view.render.call(_3f.view,_3a,cc1,true); -_3f.view.render.call(_3f.view,_3a,cc2,false); -if(_3f.showFooter){ -_3f.view.renderFooter.call(_3f.view,_3a,dc.footer1,true); -_3f.view.renderFooter.call(_3f.view,_3a,dc.footer2,false); -} -if(_3f.view.onAfterRender){ -_3f.view.onAfterRender.call(_3f.view,_3a); -} -_3f.onLoadSuccess.call(_3a,_40,_3c); -if(!_3b&&_3f.pagination){ -var _44=$.data(_3a,"treegrid").total; -var _45=$(_3a).datagrid("getPager"); -if(_45.pagination("options").total!=_44){ -_45.pagination({total:_44}); -} -} -_20(_3a); -_29(_3a); -$(_3a).treegrid("setSelectionState"); -$(_3a).treegrid("autoSizeColumn"); -}; -function _1f(_46,_47,_48,_49,_4a){ -var _4b=$.data(_46,"treegrid").options; -var _4c=$(_46).datagrid("getPanel").find("div.datagrid-body"); -if(_48){ -_4b.queryParams=_48; -} -var _4d=$.extend({},_4b.queryParams); -if(_4b.pagination){ -$.extend(_4d,{page:_4b.pageNumber,rows:_4b.pageSize}); -} -if(_4b.sortName){ -$.extend(_4d,{sort:_4b.sortName,order:_4b.sortOrder}); -} -var row=_41(_46,_47); -if(_4b.onBeforeLoad.call(_46,row,_4d)==false){ -return; -} -var _4e=_4c.find("tr[node-id=\""+_47+"\"] span.tree-folder"); -_4e.addClass("tree-loading"); -$(_46).treegrid("loading"); -var _4f=_4b.loader.call(_46,_4d,function(_50){ -_4e.removeClass("tree-loading"); -$(_46).treegrid("loaded"); -_39(_46,_47,_50,_49); -if(_4a){ -_4a(); -} -},function(){ -_4e.removeClass("tree-loading"); -$(_46).treegrid("loaded"); -_4b.onLoadError.apply(_46,arguments); -if(_4a){ -_4a(); -} -}); -if(_4f==false){ -_4e.removeClass("tree-loading"); -$(_46).treegrid("loaded"); -} -}; -function _51(_52){ -var _53=_54(_52); -if(_53.length){ -return _53[0]; -}else{ -return null; -} -}; -function _54(_55){ -return $.data(_55,"treegrid").data; -}; -function _56(_57,_58){ -var row=_41(_57,_58); -if(row._parentId){ -return _41(_57,row._parentId); -}else{ -return null; -} -}; -function _25(_59,_5a){ -var _5b=$.data(_59,"treegrid").options; -var _5c=$(_59).datagrid("getPanel").find("div.datagrid-view2 div.datagrid-body"); -var _5d=[]; -if(_5a){ -_5e(_5a); -}else{ -var _5f=_54(_59); -for(var i=0;i<_5f.length;i++){ -_5d.push(_5f[i]); -_5e(_5f[i][_5b.idField]); -} -} -function _5e(_60){ -var _61=_41(_59,_60); -if(_61&&_61.children){ -for(var i=0,len=_61.children.length;i").insertBefore(_8f); -if(hit.prev().length){ -hit.prev().remove(); -} -} -} -_39(_8b,_8c.parent,_8c.data,true); -}; -function _90(_91,_92){ -var ref=_92.before||_92.after; -var _93=$.data(_91,"treegrid").options; -var _94=_56(_91,ref); -_8a(_91,{parent:(_94?_94[_93.idField]:null),data:[_92.data]}); -_95(true); -_95(false); -_29(_91); -function _95(_96){ -var _97=_96?1:2; -var tr=_93.finder.getTr(_91,_92.data[_93.idField],"body",_97); -var _98=tr.closest("table.datagrid-btable"); -tr=tr.parent().children(); -var _99=_93.finder.getTr(_91,ref,"body",_97); -if(_92.before){ -tr.insertBefore(_99); -}else{ -var sub=_99.next("tr.treegrid-tr-tree"); -tr.insertAfter(sub.length?sub:_99); -} -_98.remove(); -}; -}; -function _9a(_9b,_9c){ -var _9d=$.data(_9b,"treegrid"); -$(_9b).datagrid("deleteRow",_9c); -_29(_9b); -_9d.total-=1; -$(_9b).datagrid("getPager").pagination("refresh",{total:_9d.total}); -}; -$.fn.treegrid=function(_9e,_9f){ -if(typeof _9e=="string"){ -var _a0=$.fn.treegrid.methods[_9e]; -if(_a0){ -return _a0(this,_9f); -}else{ -return this.datagrid(_9e,_9f); -} -} -_9e=_9e||{}; -return this.each(function(){ -var _a1=$.data(this,"treegrid"); -if(_a1){ -$.extend(_a1.options,_9e); -}else{ -_a1=$.data(this,"treegrid",{options:$.extend({},$.fn.treegrid.defaults,$.fn.treegrid.parseOptions(this),_9e),data:[]}); -} -_1(this); -if(_a1.options.data){ -$(this).treegrid("loadData",_a1.options.data); -} -_1f(this); -_2c(this); -}); -}; -$.fn.treegrid.methods={options:function(jq){ -return $.data(jq[0],"treegrid").options; -},resize:function(jq,_a2){ -return jq.each(function(){ -$(this).datagrid("resize",_a2); -}); -},fixRowHeight:function(jq,_a3){ -return jq.each(function(){ -_20(this,_a3); -}); -},loadData:function(jq,_a4){ -return jq.each(function(){ -_39(this,_a4.parent,_a4); -}); -},load:function(jq,_a5){ -return jq.each(function(){ -$(this).treegrid("options").pageNumber=1; -$(this).treegrid("getPager").pagination({pageNumber:1}); -$(this).treegrid("reload",_a5); -}); -},reload:function(jq,id){ -return jq.each(function(){ -var _a6=$(this).treegrid("options"); -var _a7={}; -if(typeof id=="object"){ -_a7=id; -}else{ -_a7=$.extend({},_a6.queryParams); -_a7.id=id; -} -if(_a7.id){ -var _a8=$(this).treegrid("find",_a7.id); -if(_a8.children){ -_a8.children.splice(0,_a8.children.length); -} -_a6.queryParams=_a7; -var tr=_a6.finder.getTr(this,_a7.id); -tr.next("tr.treegrid-tr-tree").remove(); -tr.find("span.tree-hit").removeClass("tree-expanded tree-expanded-hover").addClass("tree-collapsed"); -_72(this,_a7.id); -}else{ -_1f(this,null,_a7); -} -}); -},reloadFooter:function(jq,_a9){ -return jq.each(function(){ -var _aa=$.data(this,"treegrid").options; -var dc=$.data(this,"datagrid").dc; -if(_a9){ -$.data(this,"treegrid").footer=_a9; -} -if(_aa.showFooter){ -_aa.view.renderFooter.call(_aa.view,this,dc.footer1,true); -_aa.view.renderFooter.call(_aa.view,this,dc.footer2,false); -if(_aa.view.onAfterRender){ -_aa.view.onAfterRender.call(_aa.view,this); -} -$(this).treegrid("fixRowHeight"); -} -}); -},getData:function(jq){ -return $.data(jq[0],"treegrid").data; -},getFooterRows:function(jq){ -return $.data(jq[0],"treegrid").footer; -},getRoot:function(jq){ -return _51(jq[0]); -},getRoots:function(jq){ -return _54(jq[0]); -},getParent:function(jq,id){ -return _56(jq[0],id); -},getChildren:function(jq,id){ -return _25(jq[0],id); -},getLevel:function(jq,id){ -return _63(jq[0],id); -},find:function(jq,id){ -return _41(jq[0],id); -},isLeaf:function(jq,id){ -var _ab=$.data(jq[0],"treegrid").options; -var tr=_ab.finder.getTr(jq[0],id); -var hit=tr.find("span.tree-hit"); -return hit.length==0; -},select:function(jq,id){ -return jq.each(function(){ -$(this).datagrid("selectRow",id); -}); -},unselect:function(jq,id){ -return jq.each(function(){ -$(this).datagrid("unselectRow",id); -}); -},collapse:function(jq,id){ -return jq.each(function(){ -_6e(this,id); -}); -},expand:function(jq,id){ -return jq.each(function(){ -_72(this,id); -}); -},toggle:function(jq,id){ -return jq.each(function(){ -_30(this,id); -}); -},collapseAll:function(jq,id){ -return jq.each(function(){ -_7c(this,id); -}); -},expandAll:function(jq,id){ -return jq.each(function(){ -_81(this,id); -}); -},expandTo:function(jq,id){ -return jq.each(function(){ -_86(this,id); -}); -},append:function(jq,_ac){ -return jq.each(function(){ -_8a(this,_ac); -}); -},insert:function(jq,_ad){ -return jq.each(function(){ -_90(this,_ad); -}); -},remove:function(jq,id){ -return jq.each(function(){ -_9a(this,id); -}); -},pop:function(jq,id){ -var row=jq.treegrid("find",id); -jq.treegrid("remove",id); -return row; -},refresh:function(jq,id){ -return jq.each(function(){ -var _ae=$.data(this,"treegrid").options; -_ae.view.refreshRow.call(_ae.view,this,id); -}); -},update:function(jq,_af){ -return jq.each(function(){ -var _b0=$.data(this,"treegrid").options; -_b0.view.updateRow.call(_b0.view,this,_af.id,_af.row); -}); -},beginEdit:function(jq,id){ -return jq.each(function(){ -$(this).datagrid("beginEdit",id); -$(this).treegrid("fixRowHeight",id); -}); -},endEdit:function(jq,id){ -return jq.each(function(){ -$(this).datagrid("endEdit",id); -}); -},cancelEdit:function(jq,id){ -return jq.each(function(){ -$(this).datagrid("cancelEdit",id); -}); -}}; -$.fn.treegrid.parseOptions=function(_b1){ -return $.extend({},$.fn.datagrid.parseOptions(_b1),$.parser.parseOptions(_b1,["treeField",{animate:"boolean"}])); -}; -var _b2=$.extend({},$.fn.datagrid.defaults.view,{render:function(_b3,_b4,_b5){ -var _b6=$.data(_b3,"treegrid").options; -var _b7=$(_b3).datagrid("getColumnFields",_b5); -var _b8=$.data(_b3,"datagrid").rowIdPrefix; -if(_b5){ -if(!(_b6.rownumbers||(_b6.frozenColumns&&_b6.frozenColumns.length))){ -return; -} -} -var _b9=0; -var _ba=this; -var _bb=_bc(_b5,this.treeLevel,this.treeNodes); -$(_b4).append(_bb.join("")); -function _bc(_bd,_be,_bf){ -var _c0=[""]; -for(var i=0;i<_bf.length;i++){ -var row=_bf[i]; -if(row.state!="open"&&row.state!="closed"){ -row.state="open"; -} -var css=_b6.rowStyler?_b6.rowStyler.call(_b3,row):""; -var _c1=""; -var _c2=""; -if(typeof css=="string"){ -_c2=css; -}else{ -if(css){ -_c1=css["class"]||""; -_c2=css["style"]||""; -} -} -var cls="class=\"datagrid-row "+(_b9++%2&&_b6.striped?"datagrid-row-alt ":" ")+_c1+"\""; -var _c3=_c2?"style=\""+_c2+"\"":""; -var _c4=_b8+"-"+(_bd?1:2)+"-"+row[_b6.idField]; -_c0.push(""); -_c0=_c0.concat(_ba.renderRow.call(_ba,_b3,_b7,_bd,_be,row)); -_c0.push(""); -if(row.children&&row.children.length){ -var tt=_bc(_bd,_be+1,row.children); -var v=row.state=="closed"?"none":"block"; -_c0.push(""); -} -} -_c0.push("
                                              "); -_c0=_c0.concat(tt); -_c0.push("
                                              "); -return _c0; -}; -},renderFooter:function(_c5,_c6,_c7){ -var _c8=$.data(_c5,"treegrid").options; -var _c9=$.data(_c5,"treegrid").footer||[]; -var _ca=$(_c5).datagrid("getColumnFields",_c7); -var _cb=[""]; -for(var i=0;i<_c9.length;i++){ -var row=_c9[i]; -row[_c8.idField]=row[_c8.idField]||("foot-row-id"+i); -_cb.push(""); -_cb.push(this.renderRow.call(this,_c5,_ca,_c7,0,row)); -_cb.push(""); -} -_cb.push("
                                              "); -$(_c6).html(_cb.join("")); -},renderRow:function(_cc,_cd,_ce,_cf,row){ -var _d0=$.data(_cc,"treegrid").options; -var cc=[]; -if(_ce&&_d0.rownumbers){ -cc.push("
                                              0
                                              "); -} -for(var i=0;i<_cd.length;i++){ -var _d1=_cd[i]; -var col=$(_cc).datagrid("getColumnOption",_d1); -if(col){ -var css=col.styler?(col.styler(row[_d1],row)||""):""; -var _d2=""; -var _d3=""; -if(typeof css=="string"){ -_d3=css; -}else{ -if(cc){ -_d2=css["class"]||""; -_d3=css["style"]||""; -} -} -var cls=_d2?"class=\""+_d2+"\"":""; -var _d4=col.hidden?"style=\"display:none;"+_d3+"\"":(_d3?"style=\""+_d3+"\"":""); -cc.push(""); -var _d4=""; -if(!col.checkbox){ -if(col.align){ -_d4+="text-align:"+col.align+";"; -} -if(!_d0.nowrap){ -_d4+="white-space:normal;height:auto;"; -}else{ -if(_d0.autoRowHeight){ -_d4+="height:auto;"; -} -} -} -cc.push("
                                              "); -if(col.checkbox){ -if(row.checked){ -cc.push(""); -}else{ -var val=null; -if(col.formatter){ -val=col.formatter(row[_d1],row); -}else{ -val=row[_d1]; -} -if(_d1==_d0.treeField){ -for(var j=0;j<_cf;j++){ -cc.push(""); -} -if(row.state=="closed"){ -cc.push(""); -cc.push(""); -}else{ -if(row.children&&row.children.length){ -cc.push(""); -cc.push(""); -}else{ -cc.push(""); -cc.push(""); -} -} -cc.push(""+val+""); -}else{ -cc.push(val); -} -} -cc.push("
                                              "); -cc.push(""); -} -} -return cc.join(""); -},refreshRow:function(_d5,id){ -this.updateRow.call(this,_d5,id,{}); -},updateRow:function(_d6,id,row){ -var _d7=$.data(_d6,"treegrid").options; -var _d8=$(_d6).treegrid("find",id); -$.extend(_d8,row); -var _d9=$(_d6).treegrid("getLevel",id)-1; -var _da=_d7.rowStyler?_d7.rowStyler.call(_d6,_d8):""; -function _db(_dc){ -var _dd=$(_d6).treegrid("getColumnFields",_dc); -var tr=_d7.finder.getTr(_d6,id,"body",(_dc?1:2)); -var _de=tr.find("div.datagrid-cell-rownumber").html(); -var _df=tr.find("div.datagrid-cell-check input[type=checkbox]").is(":checked"); -tr.html(this.renderRow(_d6,_dd,_dc,_d9,_d8)); -tr.attr("style",_da||""); -tr.find("div.datagrid-cell-rownumber").html(_de); -if(_df){ -tr.find("div.datagrid-cell-check input[type=checkbox]")._propAttr("checked",true); -} -}; -_db.call(this,true); -_db.call(this,false); -$(_d6).treegrid("fixRowHeight",id); -},deleteRow:function(_e0,id){ -var _e1=$.data(_e0,"treegrid").options; -var tr=_e1.finder.getTr(_e0,id); -tr.next("tr.treegrid-tr-tree").remove(); -tr.remove(); -var _e2=del(id); -if(_e2){ -if(_e2.children.length==0){ -tr=_e1.finder.getTr(_e0,_e2[_e1.idField]); -tr.next("tr.treegrid-tr-tree").remove(); -var _e3=tr.children("td[field=\""+_e1.treeField+"\"]").children("div.datagrid-cell"); -_e3.find(".tree-icon").removeClass("tree-folder").addClass("tree-file"); -_e3.find(".tree-hit").remove(); -$("").prependTo(_e3); -} -} -function del(id){ -var cc; -var _e4=$(_e0).treegrid("getParent",id); -if(_e4){ -cc=_e4.children; -}else{ -cc=$(_e0).treegrid("getData"); -} -for(var i=0;ib?1:-1); -}; -r=_f5(r1[sn],r2[sn])*(so=="asc"?1:-1); -if(r!=0){ -return r; -} -} -return r; -}); -for(var i=0;i<_f4.length;i++){ -var _f6=_f4[i].children; -if(_f6&&_f6.length){ -_f3(_f6); -} -} -}; -},transfer:function(_f7,_f8,_f9){ -var _fa=$.data(_f7,"treegrid").options; -var _fb=[]; -for(var i=0;i<_f9.length;i++){ -_fb.push(_f9[i]); -} -var _fc=[]; -for(var i=0;i<_fb.length;i++){ -var row=_fb[i]; -if(!_f8){ -if(!row._parentId){ -_fc.push(row); -_fb.splice(i,1); -i--; -} -}else{ -if(row._parentId==_f8){ -_fc.push(row); -_fb.splice(i,1); -i--; -} -} -} -var _fd=[]; -for(var i=0;i<_fc.length;i++){ -_fd.push(_fc[i]); -} -while(_fd.length){ -var _fe=_fd.shift(); -for(var i=0;i<_fb.length;i++){ -var row=_fb[i]; -if(row._parentId==_fe[_fa.idField]){ -if(_fe.children){ -_fe.children.push(row); -}else{ -_fe.children=[row]; -} -_fd.push(row); -_fb.splice(i,1); -i--; -} -} -} -return _fc; -}}); -$.fn.treegrid.defaults=$.extend({},$.fn.datagrid.defaults,{treeField:null,animate:false,singleSelect:true,view:_b2,loader:function(_ff,_100,_101){ -var opts=$(this).treegrid("options"); -if(!opts.url){ -return false; -} -$.ajax({type:opts.method,url:opts.url,data:_ff,dataType:"json",success:function(data){ -_100(data); -},error:function(){ -_101.apply(this,arguments); -}}); -},loadFilter:function(data,_102){ -return data; -},finder:{getTr:function(_103,id,type,_104){ -type=type||"body"; -_104=_104||0; -var dc=$.data(_103,"datagrid").dc; -if(_104==0){ -var opts=$.data(_103,"treegrid").options; -var tr1=opts.finder.getTr(_103,id,type,1); -var tr2=opts.finder.getTr(_103,id,type,2); -return tr1.add(tr2); -}else{ -if(type=="body"){ -var tr=$("#"+$.data(_103,"datagrid").rowIdPrefix+"-"+_104+"-"+id); -if(!tr.length){ -tr=(_104==1?dc.body1:dc.body2).find("tr[node-id=\""+id+"\"]"); -} -return tr; -}else{ -if(type=="footer"){ -return (_104==1?dc.footer1:dc.footer2).find("tr[node-id=\""+id+"\"]"); -}else{ -if(type=="selected"){ -return (_104==1?dc.body1:dc.body2).find("tr.datagrid-row-selected"); -}else{ -if(type=="highlight"){ -return (_104==1?dc.body1:dc.body2).find("tr.datagrid-row-over"); -}else{ -if(type=="checked"){ -return (_104==1?dc.body1:dc.body2).find("tr.datagrid-row-checked"); -}else{ -if(type=="last"){ -return (_104==1?dc.body1:dc.body2).find("tr:last[node-id]"); -}else{ -if(type=="allbody"){ -return (_104==1?dc.body1:dc.body2).find("tr[node-id]"); -}else{ -if(type=="allfooter"){ -return (_104==1?dc.footer1:dc.footer2).find("tr[node-id]"); -} -} -} -} -} -} -} -} -} -},getRow:function(_105,p){ -var id=(typeof p=="object")?p.attr("node-id"):p; -return $(_105).treegrid("find",id); -},getRows:function(_106){ -return $(_106).treegrid("getChildren"); -}},onBeforeLoad:function(row,_107){ -},onLoadSuccess:function(row,data){ -},onLoadError:function(){ -},onBeforeCollapse:function(row){ -},onCollapse:function(row){ -},onBeforeExpand:function(row){ -},onExpand:function(row){ -},onClickRow:function(row){ -},onDblClickRow:function(row){ -},onClickCell:function(_108,row){ -},onDblClickCell:function(_109,row){ -},onContextMenu:function(e,row){ -},onBeforeEdit:function(row){ -},onAfterEdit:function(row,_10a){ -},onCancelEdit:function(row){ -}}); -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.validatebox.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.validatebox.js deleted file mode 100644 index f55f6eb..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.validatebox.js +++ /dev/null @@ -1,224 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -function _1(_2){ -$(_2).addClass("validatebox-text"); -}; -function _3(_4){ -var _5=$.data(_4,"validatebox"); -_5.validating=false; -if(_5.timer){ -clearTimeout(_5.timer); -} -$(_4).tooltip("destroy"); -$(_4).unbind(); -$(_4).remove(); -}; -function _6(_7){ -var _8=$(_7); -var _9=$.data(_7,"validatebox"); -_8.unbind(".validatebox"); -if(_9.options.novalidate){ -return; -} -_8.bind("focus.validatebox",function(){ -_9.validating=true; -_9.value=undefined; -(function(){ -if(_9.validating){ -if(_9.value!=_8.val()){ -_9.value=_8.val(); -if(_9.timer){ -clearTimeout(_9.timer); -} -_9.timer=setTimeout(function(){ -$(_7).validatebox("validate"); -},_9.options.delay); -}else{ -_f(_7); -} -setTimeout(arguments.callee,200); -} -})(); -}).bind("blur.validatebox",function(){ -if(_9.timer){ -clearTimeout(_9.timer); -_9.timer=undefined; -} -_9.validating=false; -_a(_7); -}).bind("mouseenter.validatebox",function(){ -if(_8.hasClass("validatebox-invalid")){ -_b(_7); -} -}).bind("mouseleave.validatebox",function(){ -if(!_9.validating){ -_a(_7); -} -}); -}; -function _b(_c){ -var _d=$.data(_c,"validatebox"); -var _e=_d.options; -$(_c).tooltip($.extend({},_e.tipOptions,{content:_d.message,position:_e.tipPosition,deltaX:_e.deltaX})).tooltip("show"); -_d.tip=true; -}; -function _f(_10){ -var _11=$.data(_10,"validatebox"); -if(_11&&_11.tip){ -$(_10).tooltip("reposition"); -} -}; -function _a(_12){ -var _13=$.data(_12,"validatebox"); -_13.tip=false; -$(_12).tooltip("hide"); -}; -function _14(_15){ -var _16=$.data(_15,"validatebox"); -var _17=_16.options; -var box=$(_15); -var _18=box.val(); -function _19(msg){ -_16.message=msg; -}; -function _1a(_1b,_1c){ -var _1d=/([a-zA-Z_]+)(.*)/.exec(_1b); -var _1e=_17.rules[_1d[1]]; -if(_1e&&_18){ -var _1f=_1c||_17.validParams||eval(_1d[2]); -if(!_1e["validator"].call(_15,_18,_1f)){ -box.addClass("validatebox-invalid"); -var _20=_1e["message"]; -if(_1f){ -for(var i=0;i<_1f.length;i++){ -_20=_20.replace(new RegExp("\\{"+i+"\\}","g"),_1f[i]); -} -} -_19(_17.invalidMessage||_20); -if(_16.validating){ -_b(_15); -} -return false; -} -} -return true; -}; -box.removeClass("validatebox-invalid"); -_a(_15); -if(_17.novalidate||box.is(":disabled")){ -return true; -} -if(_17.required){ -if(_18==""){ -box.addClass("validatebox-invalid"); -_19(_17.missingMessage); -if(_16.validating){ -_b(_15); -} -return false; -} -} -if(_17.validType){ -if($.isArray(_17.validType)){ -for(var i=0;i<_17.validType.length;i++){ -if(!_1a(_17.validType[i])){ -return false; -} -} -}else{ -if(typeof _17.validType=="string"){ -if(!_1a(_17.validType)){ -return false; -} -}else{ -for(var _21 in _17.validType){ -var _22=_17.validType[_21]; -if(!_1a(_21,_22)){ -return false; -} -} -} -} -} -return true; -}; -function _23(_24,_25){ -var _26=$.data(_24,"validatebox").options; -if(_25!=undefined){ -_26.novalidate=_25; -} -if(_26.novalidate){ -$(_24).removeClass("validatebox-invalid"); -_a(_24); -} -_6(_24); -}; -$.fn.validatebox=function(_27,_28){ -if(typeof _27=="string"){ -return $.fn.validatebox.methods[_27](this,_28); -} -_27=_27||{}; -return this.each(function(){ -var _29=$.data(this,"validatebox"); -if(_29){ -$.extend(_29.options,_27); -}else{ -_1(this); -$.data(this,"validatebox",{options:$.extend({},$.fn.validatebox.defaults,$.fn.validatebox.parseOptions(this),_27)}); -} -_23(this); -_14(this); -}); -}; -$.fn.validatebox.methods={options:function(jq){ -return $.data(jq[0],"validatebox").options; -},destroy:function(jq){ -return jq.each(function(){ -_3(this); -}); -},validate:function(jq){ -return jq.each(function(){ -_14(this); -}); -},isValid:function(jq){ -return _14(jq[0]); -},enableValidation:function(jq){ -return jq.each(function(){ -_23(this,false); -}); -},disableValidation:function(jq){ -return jq.each(function(){ -_23(this,true); -}); -}}; -$.fn.validatebox.parseOptions=function(_2a){ -var t=$(_2a); -return $.extend({},$.parser.parseOptions(_2a,["validType","missingMessage","invalidMessage","tipPosition",{delay:"number",deltaX:"number"}]),{required:(t.attr("required")?true:undefined),novalidate:(t.attr("novalidate")!=undefined?true:undefined)}); -}; -$.fn.validatebox.defaults={required:false,validType:null,validParams:null,delay:200,missingMessage:"This field is required.",invalidMessage:null,tipPosition:"right",deltaX:0,novalidate:false,tipOptions:{showEvent:"none",hideEvent:"none",showDelay:0,hideDelay:0,zIndex:"",onShow:function(){ -$(this).tooltip("tip").css({color:"#000",borderColor:"#CC9933",backgroundColor:"#FFFFCC"}); -},onHide:function(){ -$(this).tooltip("destroy"); -}},rules:{email:{validator:function(_2b){ -return /^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(_2b); -},message:"Please enter a valid email address."},url:{validator:function(_2c){ -return /^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(_2c); -},message:"Please enter a valid URL."},length:{validator:function(_2d,_2e){ -var len=$.trim(_2d).length; -return len>=_2e[0]&&len<=_2e[1]; -},message:"Please enter a value between {0} and {1}."},remote:{validator:function(_2f,_30){ -var _31={}; -_31[_30[1]]=_2f; -var _32=$.ajax({url:_30[0],dataType:"json",data:_31,async:false,cache:false,type:"post"}).responseText; -return _32=="true"; -},message:"Please fix this field."}}}; -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.window.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.window.js deleted file mode 100644 index 0795c91..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/plugins/jquery.window.js +++ /dev/null @@ -1,276 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -(function($){ -function _1(_2,_3){ -var _4=$.data(_2,"window").options; -if(_3){ -$.extend(_4,_3); -} -$(_2).panel("resize",_4); -}; -function _5(_6,_7){ -var _8=$.data(_6,"window"); -if(_7){ -if(_7.left!=null){ -_8.options.left=_7.left; -} -if(_7.top!=null){ -_8.options.top=_7.top; -} -} -$(_6).panel("move",_8.options); -if(_8.shadow){ -_8.shadow.css({left:_8.options.left,top:_8.options.top}); -} -}; -function _9(_a,_b){ -var _c=$.data(_a,"window"); -var _d=_c.options; -var _e=_d.width; -if(isNaN(_e)){ -_e=_c.window._outerWidth(); -} -if(_d.inline){ -var _f=_c.window.parent(); -_d.left=(_f.width()-_e)/2+_f.scrollLeft(); -}else{ -_d.left=($(window)._outerWidth()-_e)/2+$(document).scrollLeft(); -} -if(_b){ -_5(_a); -} -}; -function _10(_11,_12){ -var _13=$.data(_11,"window"); -var _14=_13.options; -var _15=_14.height; -if(isNaN(_15)){ -_15=_13.window._outerHeight(); -} -if(_14.inline){ -var _16=_13.window.parent(); -_14.top=(_16.height()-_15)/2+_16.scrollTop(); -}else{ -_14.top=($(window)._outerHeight()-_15)/2+$(document).scrollTop(); -} -if(_12){ -_5(_11); -} -}; -function _17(_18){ -var _19=$.data(_18,"window"); -var _1a=_19.options.closed; -var win=$(_18).panel($.extend({},_19.options,{border:false,doSize:true,closed:true,cls:"window",headerCls:"window-header",bodyCls:"window-body "+(_19.options.noheader?"window-body-noheader":""),onBeforeDestroy:function(){ -if(_19.options.onBeforeDestroy.call(_18)==false){ -return false; -} -if(_19.shadow){ -_19.shadow.remove(); -} -if(_19.mask){ -_19.mask.remove(); -} -},onClose:function(){ -if(_19.shadow){ -_19.shadow.hide(); -} -if(_19.mask){ -_19.mask.hide(); -} -_19.options.onClose.call(_18); -},onOpen:function(){ -if(_19.mask){ -_19.mask.css({display:"block",zIndex:$.fn.window.defaults.zIndex++}); -} -if(_19.shadow){ -_19.shadow.css({display:"block",zIndex:$.fn.window.defaults.zIndex++,left:_19.options.left,top:_19.options.top,width:_19.window._outerWidth(),height:_19.window._outerHeight()}); -} -_19.window.css("z-index",$.fn.window.defaults.zIndex++); -_19.options.onOpen.call(_18); -},onResize:function(_1b,_1c){ -var _1d=$(this).panel("options"); -$.extend(_19.options,{width:_1d.width,height:_1d.height,left:_1d.left,top:_1d.top}); -if(_19.shadow){ -_19.shadow.css({left:_19.options.left,top:_19.options.top,width:_19.window._outerWidth(),height:_19.window._outerHeight()}); -} -_19.options.onResize.call(_18,_1b,_1c); -},onMinimize:function(){ -if(_19.shadow){ -_19.shadow.hide(); -} -if(_19.mask){ -_19.mask.hide(); -} -_19.options.onMinimize.call(_18); -},onBeforeCollapse:function(){ -if(_19.options.onBeforeCollapse.call(_18)==false){ -return false; -} -if(_19.shadow){ -_19.shadow.hide(); -} -},onExpand:function(){ -if(_19.shadow){ -_19.shadow.show(); -} -_19.options.onExpand.call(_18); -}})); -_19.window=win.panel("panel"); -if(_19.mask){ -_19.mask.remove(); -} -if(_19.options.modal==true){ -_19.mask=$("
                                              ").insertAfter(_19.window); -_19.mask.css({width:(_19.options.inline?_19.mask.parent().width():_1e().width),height:(_19.options.inline?_19.mask.parent().height():_1e().height),display:"none"}); -} -if(_19.shadow){ -_19.shadow.remove(); -} -if(_19.options.shadow==true){ -_19.shadow=$("
                                              ").insertAfter(_19.window); -_19.shadow.css({display:"none"}); -} -if(_19.options.left==null){ -_9(_18); -} -if(_19.options.top==null){ -_10(_18); -} -_5(_18); -if(!_1a){ -win.window("open"); -} -}; -function _1f(_20){ -var _21=$.data(_20,"window"); -_21.window.draggable({handle:">div.panel-header>div.panel-title",disabled:_21.options.draggable==false,onStartDrag:function(e){ -if(_21.mask){ -_21.mask.css("z-index",$.fn.window.defaults.zIndex++); -} -if(_21.shadow){ -_21.shadow.css("z-index",$.fn.window.defaults.zIndex++); -} -_21.window.css("z-index",$.fn.window.defaults.zIndex++); -if(!_21.proxy){ -_21.proxy=$("
                                              ").insertAfter(_21.window); -} -_21.proxy.css({display:"none",zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top}); -_21.proxy._outerWidth(_21.window._outerWidth()); -_21.proxy._outerHeight(_21.window._outerHeight()); -setTimeout(function(){ -if(_21.proxy){ -_21.proxy.show(); -} -},500); -},onDrag:function(e){ -_21.proxy.css({display:"block",left:e.data.left,top:e.data.top}); -return false; -},onStopDrag:function(e){ -_21.options.left=e.data.left; -_21.options.top=e.data.top; -$(_20).window("move"); -_21.proxy.remove(); -_21.proxy=null; -}}); -_21.window.resizable({disabled:_21.options.resizable==false,onStartResize:function(e){ -_21.pmask=$("
                                              ").insertAfter(_21.window); -_21.pmask.css({zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top,width:_21.window._outerWidth(),height:_21.window._outerHeight()}); -if(!_21.proxy){ -_21.proxy=$("
                                              ").insertAfter(_21.window); -} -_21.proxy.css({zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top}); -_21.proxy._outerWidth(e.data.width); -_21.proxy._outerHeight(e.data.height); -},onResize:function(e){ -_21.proxy.css({left:e.data.left,top:e.data.top}); -_21.proxy._outerWidth(e.data.width); -_21.proxy._outerHeight(e.data.height); -return false; -},onStopResize:function(e){ -$.extend(_21.options,{left:e.data.left,top:e.data.top,width:e.data.width,height:e.data.height}); -_1(_20); -_21.pmask.remove(); -_21.pmask=null; -_21.proxy.remove(); -_21.proxy=null; -}}); -}; -function _1e(){ -if(document.compatMode=="BackCompat"){ -return {width:Math.max(document.body.scrollWidth,document.body.clientWidth),height:Math.max(document.body.scrollHeight,document.body.clientHeight)}; -}else{ -return {width:Math.max(document.documentElement.scrollWidth,document.documentElement.clientWidth),height:Math.max(document.documentElement.scrollHeight,document.documentElement.clientHeight)}; -} -}; -$(window).resize(function(){ -$("body>div.window-mask").css({width:$(window)._outerWidth(),height:$(window)._outerHeight()}); -setTimeout(function(){ -$("body>div.window-mask").css({width:_1e().width,height:_1e().height}); -},50); -}); -$.fn.window=function(_22,_23){ -if(typeof _22=="string"){ -var _24=$.fn.window.methods[_22]; -if(_24){ -return _24(this,_23); -}else{ -return this.panel(_22,_23); -} -} -_22=_22||{}; -return this.each(function(){ -var _25=$.data(this,"window"); -if(_25){ -$.extend(_25.options,_22); -}else{ -_25=$.data(this,"window",{options:$.extend({},$.fn.window.defaults,$.fn.window.parseOptions(this),_22)}); -if(!_25.options.inline){ -document.body.appendChild(this); -} -} -_17(this); -_1f(this); -}); -}; -$.fn.window.methods={options:function(jq){ -var _26=jq.panel("options"); -var _27=$.data(jq[0],"window").options; -return $.extend(_27,{closed:_26.closed,collapsed:_26.collapsed,minimized:_26.minimized,maximized:_26.maximized}); -},window:function(jq){ -return $.data(jq[0],"window").window; -},resize:function(jq,_28){ -return jq.each(function(){ -_1(this,_28); -}); -},move:function(jq,_29){ -return jq.each(function(){ -_5(this,_29); -}); -},hcenter:function(jq){ -return jq.each(function(){ -_9(this,true); -}); -},vcenter:function(jq){ -return jq.each(function(){ -_10(this,true); -}); -},center:function(jq){ -return jq.each(function(){ -_9(this); -_10(this); -_5(this); -}); -}}; -$.fn.window.parseOptions=function(_2a){ -return $.extend({},$.fn.panel.parseOptions(_2a),$.parser.parseOptions(_2a,[{draggable:"boolean",resizable:"boolean",shadow:"boolean",modal:"boolean",inline:"boolean"}])); -}; -$.fn.window.defaults=$.extend({},$.fn.panel.defaults,{zIndex:9000,draggable:true,resizable:true,shadow:true,modal:false,inline:false,title:"New Window",collapsible:true,minimizable:true,maximizable:true,closable:true,closed:false}); -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/readme.txt b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/readme.txt deleted file mode 100644 index de712f3..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/readme.txt +++ /dev/null @@ -1,4 +0,0 @@ -Current Version: 1.3.6 -====================== -This software is allowed to use under GPL or you need to buy commercial license for better support or other purpose. -Please contact us at info@jeasyui.com diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/easyloader.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/easyloader.js deleted file mode 100644 index 2045a33..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/easyloader.js +++ /dev/null @@ -1,407 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -/** - * easyloader - jQuery EasyUI - * - */ -(function(){ - var modules = { - draggable:{ - js:'jquery.draggable.js' - }, - droppable:{ - js:'jquery.droppable.js' - }, - resizable:{ - js:'jquery.resizable.js' - }, - linkbutton:{ - js:'jquery.linkbutton.js', - css:'linkbutton.css' - }, - progressbar:{ - js:'jquery.progressbar.js', - css:'progressbar.css' - }, - tooltip:{ - js:'jquery.tooltip.js', - css:'tooltip.css' - }, - pagination:{ - js:'jquery.pagination.js', - css:'pagination.css', - dependencies:['linkbutton'] - }, - datagrid:{ - js:'jquery.datagrid.js', - css:'datagrid.css', - dependencies:['panel','resizable','linkbutton','pagination'] - }, - treegrid:{ - js:'jquery.treegrid.js', - css:'tree.css', - dependencies:['datagrid'] - }, - propertygrid:{ - js:'jquery.propertygrid.js', - css:'propertygrid.css', - dependencies:['datagrid'] - }, - panel: { - js:'jquery.panel.js', - css:'panel.css' - }, - window:{ - js:'jquery.window.js', - css:'window.css', - dependencies:['resizable','draggable','panel'] - }, - dialog:{ - js:'jquery.dialog.js', - css:'dialog.css', - dependencies:['linkbutton','window'] - }, - messager:{ - js:'jquery.messager.js', - css:'messager.css', - dependencies:['linkbutton','window','progressbar'] - }, - layout:{ - js:'jquery.layout.js', - css:'layout.css', - dependencies:['resizable','panel'] - }, - form:{ - js:'jquery.form.js' - }, - menu:{ - js:'jquery.menu.js', - css:'menu.css' - }, - tabs:{ - js:'jquery.tabs.js', - css:'tabs.css', - dependencies:['panel','linkbutton'] - }, - menubutton:{ - js:'jquery.menubutton.js', - css:'menubutton.css', - dependencies:['linkbutton','menu'] - }, - splitbutton:{ - js:'jquery.splitbutton.js', - css:'splitbutton.css', - dependencies:['menubutton'] - }, - accordion:{ - js:'jquery.accordion.js', - css:'accordion.css', - dependencies:['panel'] - }, - calendar:{ - js:'jquery.calendar.js', - css:'calendar.css' - }, - combo:{ - js:'jquery.combo.js', - css:'combo.css', - dependencies:['panel','validatebox'] - }, - combobox:{ - js:'jquery.combobox.js', - css:'combobox.css', - dependencies:['combo'] - }, - combotree:{ - js:'jquery.combotree.js', - dependencies:['combo','tree'] - }, - combogrid:{ - js:'jquery.combogrid.js', - dependencies:['combo','datagrid'] - }, - validatebox:{ - js:'jquery.validatebox.js', - css:'validatebox.css', - dependencies:['tooltip'] - }, - numberbox:{ - js:'jquery.numberbox.js', - dependencies:['validatebox'] - }, - searchbox:{ - js:'jquery.searchbox.js', - css:'searchbox.css', - dependencies:['menubutton'] - }, - spinner:{ - js:'jquery.spinner.js', - css:'spinner.css', - dependencies:['validatebox'] - }, - numberspinner:{ - js:'jquery.numberspinner.js', - dependencies:['spinner','numberbox'] - }, - timespinner:{ - js:'jquery.timespinner.js', - dependencies:['spinner'] - }, - tree:{ - js:'jquery.tree.js', - css:'tree.css', - dependencies:['draggable','droppable'] - }, - datebox:{ - js:'jquery.datebox.js', - css:'datebox.css', - dependencies:['calendar','combo'] - }, - datetimebox:{ - js:'jquery.datetimebox.js', - dependencies:['datebox','timespinner'] - }, - slider:{ - js:'jquery.slider.js', - dependencies:['draggable'] - }, - tooltip:{ - js:'jquery.tooltip.js' - }, - parser:{ - js:'jquery.parser.js' - } - }; - - var locales = { - 'af':'easyui-lang-af.js', - 'ar':'easyui-lang-ar.js', - 'bg':'easyui-lang-bg.js', - 'ca':'easyui-lang-ca.js', - 'cs':'easyui-lang-cs.js', - 'cz':'easyui-lang-cz.js', - 'da':'easyui-lang-da.js', - 'de':'easyui-lang-de.js', - 'el':'easyui-lang-el.js', - 'en':'easyui-lang-en.js', - 'es':'easyui-lang-es.js', - 'fr':'easyui-lang-fr.js', - 'it':'easyui-lang-it.js', - 'jp':'easyui-lang-jp.js', - 'nl':'easyui-lang-nl.js', - 'pl':'easyui-lang-pl.js', - 'pt_BR':'easyui-lang-pt_BR.js', - 'ru':'easyui-lang-ru.js', - 'sv_SE':'easyui-lang-sv_SE.js', - 'tr':'easyui-lang-tr.js', - 'zh_CN':'easyui-lang-zh_CN.js', - 'zh_TW':'easyui-lang-zh_TW.js' - }; - - var queues = {}; - - function loadJs(url, callback){ - var done = false; - var script = document.createElement('script'); - script.type = 'text/javascript'; - script.language = 'javascript'; - script.src = url; - script.onload = script.onreadystatechange = function(){ - if (!done && (!script.readyState || script.readyState == 'loaded' || script.readyState == 'complete')){ - done = true; - script.onload = script.onreadystatechange = null; - if (callback){ - callback.call(script); - } - } - } - document.getElementsByTagName("head")[0].appendChild(script); - } - - function runJs(url, callback){ - loadJs(url, function(){ - document.getElementsByTagName("head")[0].removeChild(this); - if (callback){ - callback(); - } - }); - } - - function loadCss(url, callback){ - var link = document.createElement('link'); - link.rel = 'stylesheet'; - link.type = 'text/css'; - link.media = 'screen'; - link.href = url; - document.getElementsByTagName('head')[0].appendChild(link); - if (callback){ - callback.call(link); - } - } - - function loadSingle(name, callback){ - queues[name] = 'loading'; - - var module = modules[name]; - var jsStatus = 'loading'; - var cssStatus = (easyloader.css && module['css']) ? 'loading' : 'loaded'; - - if (easyloader.css && module['css']){ - if (/^http/i.test(module['css'])){ - var url = module['css']; - } else { - var url = easyloader.base + 'themes/' + easyloader.theme + '/' + module['css']; - } - loadCss(url, function(){ - cssStatus = 'loaded'; - if (jsStatus == 'loaded' && cssStatus == 'loaded'){ - finish(); - } - }); - } - - if (/^http/i.test(module['js'])){ - var url = module['js']; - } else { - var url = easyloader.base + 'plugins/' + module['js']; - } - loadJs(url, function(){ - jsStatus = 'loaded'; - if (jsStatus == 'loaded' && cssStatus == 'loaded'){ - finish(); - } - }); - - function finish(){ - queues[name] = 'loaded'; - easyloader.onProgress(name); - if (callback){ - callback(); - } - } - } - - function loadModule(name, callback){ - var mm = []; - var doLoad = false; - - if (typeof name == 'string'){ - add(name); - } else { - for(var i=0; idiv.panel>div.accordion-header'); - if (headers.length){ - headerHeight = $(headers[0]).css('height', '')._outerHeight(); - } - if (!isNaN(opts.height)){ - cc._outerHeight(opts.height); - bodyHeight = cc.height() - headerHeight*headers.length; - } else { - cc.css('height', ''); - } - - _resize(true, bodyHeight - _resize(false) + 1); - - function _resize(collapsible, height){ - var totalHeight = 0; - for(var i=0; i= panels.length){ - return null; - } else { - return panels[which]; - } - } - return findBy(container, 'title', which); - } - - function setProperties(container){ - var opts = $.data(container, 'accordion').options; - var cc = $(container); - if (opts.border){ - cc.removeClass('accordion-noborder'); - } else { - cc.addClass('accordion-noborder'); - } - } - - function init(container){ - var state = $.data(container, 'accordion'); - var cc = $(container); - cc.addClass('accordion'); - - state.panels = []; - cc.children('div').each(function(){ - var opts = $.extend({}, $.parser.parseOptions(this), { - selected: ($(this).attr('selected') ? true : undefined) - }); - var pp = $(this); - state.panels.push(pp); - createPanel(container, pp, opts); - }); - - cc.bind('_resize', function(e,force){ - var opts = $.data(container, 'accordion').options; - if (opts.fit == true || force){ - setSize(container); - } - return false; - }); - } - - function createPanel(container, pp, options){ - var opts = $.data(container, 'accordion').options; - pp.panel($.extend({}, { - collapsible: true, - minimizable: false, - maximizable: false, - closable: false, - doSize: false, - collapsed: true, - headerCls: 'accordion-header', - bodyCls: 'accordion-body' - }, options, { - onBeforeExpand: function(){ - if (options.onBeforeExpand){ - if (options.onBeforeExpand.call(this) == false){return false} - } - if (!opts.multiple){ - // get all selected panel - var all = $.grep(getSelections(container), function(p){ - return p.panel('options').collapsible; - }); - for(var i=0; i').addClass('accordion-collapse accordion-expand').appendTo(tool); - t.bind('click', function(){ - var index = getPanelIndex(container, pp); - if (pp.panel('options').collapsed){ - select(container, index); - } else { - unselect(container, index); - } - return false; - }); - pp.panel('options').collapsible ? t.show() : t.hide(); - - header.click(function(){ - $(this).find('a.accordion-collapse:visible').triggerHandler('click'); - return false; - }); - } - - /** - * select and set the specified panel active - */ - function select(container, which){ - var p = getPanel(container, which); - if (!p){return} - stopAnimate(container); - var opts = $.data(container, 'accordion').options; - p.panel('expand', opts.animate); - } - - function unselect(container, which){ - var p = getPanel(container, which); - if (!p){return} - stopAnimate(container); - var opts = $.data(container, 'accordion').options; - p.panel('collapse', opts.animate); - } - - function doFirstSelect(container){ - var opts = $.data(container, 'accordion').options; - var p = findBy(container, 'selected', true); - if (p){ - _select(getPanelIndex(container, p)); - } else { - _select(opts.selected); - } - - function _select(index){ - var animate = opts.animate; - opts.animate = false; - select(container, index); - opts.animate = animate; - } - } - - /** - * stop the animation of all panels - */ - function stopAnimate(container){ - var panels = $.data(container, 'accordion').panels; - for(var i=0; i
                                              ').appendTo(container); - panels.push(pp); - createPanel(container, pp, options); - setSize(container); - - opts.onAdd.call(container, options.title, panels.length-1); - - if (options.selected){ - select(container, panels.length-1); - } - } - - function remove(container, which){ - var state = $.data(container, 'accordion'); - var opts = state.options; - var panels = state.panels; - - stopAnimate(container); - - var panel = getPanel(container, which); - var title = panel.panel('options').title; - var index = getPanelIndex(container, panel); - - if (!panel){return} - if (opts.onBeforeRemove.call(container, title, index) == false){return} - - panels.splice(index, 1); - panel.panel('destroy'); - if (panels.length){ - setSize(container); - var curr = getSelected(container); - if (!curr){ - select(container, 0); - } - } - - opts.onRemove.call(container, title, index); - } - - $.fn.accordion = function(options, param){ - if (typeof options == 'string'){ - return $.fn.accordion.methods[options](this, param); - } - - options = options || {}; - - return this.each(function(){ - var state = $.data(this, 'accordion'); - if (state){ - $.extend(state.options, options); - } else { - $.data(this, 'accordion', { - options: $.extend({}, $.fn.accordion.defaults, $.fn.accordion.parseOptions(this), options), - accordion: $(this).addClass('accordion'), - panels: [] - }); - init(this); - } - - setProperties(this); - setSize(this); - doFirstSelect(this); - }); - }; - - $.fn.accordion.methods = { - options: function(jq){ - return $.data(jq[0], 'accordion').options; - }, - panels: function(jq){ - return $.data(jq[0], 'accordion').panels; - }, - resize: function(jq){ - return jq.each(function(){ - setSize(this); - }); - }, - getSelections: function(jq){ - return getSelections(jq[0]); - }, - getSelected: function(jq){ - return getSelected(jq[0]); - }, - getPanel: function(jq, which){ - return getPanel(jq[0], which); - }, - getPanelIndex: function(jq, panel){ - return getPanelIndex(jq[0], panel); - }, - select: function(jq, which){ - return jq.each(function(){ - select(this, which); - }); - }, - unselect: function(jq, which){ - return jq.each(function(){ - unselect(this, which); - }); - }, - add: function(jq, options){ - return jq.each(function(){ - add(this, options); - }); - }, - remove: function(jq, which){ - return jq.each(function(){ - remove(this, which); - }); - } - }; - - $.fn.accordion.parseOptions = function(target){ - var t = $(target); - return $.extend({}, $.parser.parseOptions(target, [ - 'width','height', - {fit:'boolean',border:'boolean',animate:'boolean',multiple:'boolean',selected:'number'} - ])); - }; - - $.fn.accordion.defaults = { - width: 'auto', - height: 'auto', - fit: false, - border: true, - animate: true, - multiple: false, - selected: 0, - - onSelect: function(title, index){}, - onUnselect: function(title, index){}, - onAdd: function(title, index){}, - onBeforeRemove: function(title, index){}, - onRemove: function(title, index){} - }; -})(jQuery); diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.calendar.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.calendar.js deleted file mode 100644 index a1be550..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.calendar.js +++ /dev/null @@ -1,450 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -/** - * calendar - jQuery EasyUI - * - */ -(function($){ - - function setSize(target){ - var opts = $.data(target, 'calendar').options; - var t = $(target); -// if (opts.fit == true){ -// var p = t.parent(); -// opts.width = p.width(); -// opts.height = p.height(); -// } - opts.fit ? $.extend(opts, t._fit()) : t._fit(false); - var header = t.find('.calendar-header'); - t._outerWidth(opts.width); - t._outerHeight(opts.height); - t.find('.calendar-body')._outerHeight(t.height() - header._outerHeight()); - } - - function init(target){ - $(target).addClass('calendar').html( - '
                                              ' + - '
                                              ' + - '
                                              ' + - '
                                              ' + - '
                                              ' + - '
                                              ' + - 'Aprial 2010' + - '
                                              ' + - '
                                              ' + - '
                                              ' + - '
                                              ' + - '
                                              ' + - '' + - '' + - '' + - '
                                              ' + - '
                                              ' + - '
                                              ' + - '
                                              ' + - '
                                              ' - ); - - $(target).find('.calendar-title span').hover( - function(){$(this).addClass('calendar-menu-hover');}, - function(){$(this).removeClass('calendar-menu-hover');} - ).click(function(){ - var menu = $(target).find('.calendar-menu'); - if (menu.is(':visible')){ - menu.hide(); - } else { - showSelectMenus(target); - } - }); - - $('.calendar-prevmonth,.calendar-nextmonth,.calendar-prevyear,.calendar-nextyear', target).hover( - function(){$(this).addClass('calendar-nav-hover');}, - function(){$(this).removeClass('calendar-nav-hover');} - ); - $(target).find('.calendar-nextmonth').click(function(){ - showMonth(target, 1); - }); - $(target).find('.calendar-prevmonth').click(function(){ - showMonth(target, -1); - }); - $(target).find('.calendar-nextyear').click(function(){ - showYear(target, 1); - }); - $(target).find('.calendar-prevyear').click(function(){ - showYear(target, -1); - }); - - $(target).bind('_resize', function(){ - var opts = $.data(target, 'calendar').options; - if (opts.fit == true){ - setSize(target); - } - return false; - }); - } - - /** - * show the calendar corresponding to the current month. - */ - function showMonth(target, delta){ - var opts = $.data(target, 'calendar').options; - opts.month += delta; - if (opts.month > 12){ - opts.year++; - opts.month = 1; - } else if (opts.month < 1){ - opts.year--; - opts.month = 12; - } - show(target); - - var menu = $(target).find('.calendar-menu-month-inner'); - menu.find('td.calendar-selected').removeClass('calendar-selected'); - menu.find('td:eq(' + (opts.month-1) + ')').addClass('calendar-selected'); - } - - /** - * show the calendar corresponding to the current year. - */ - function showYear(target, delta){ - var opts = $.data(target, 'calendar').options; - opts.year += delta; - show(target); - - var menu = $(target).find('.calendar-menu-year'); - menu.val(opts.year); - } - - /** - * show the select menu that can change year or month, if the menu is not be created then create it. - */ - function showSelectMenus(target){ - var opts = $.data(target, 'calendar').options; - $(target).find('.calendar-menu').show(); - - if ($(target).find('.calendar-menu-month-inner').is(':empty')){ - $(target).find('.calendar-menu-month-inner').empty(); - var t = $('
                                              ').appendTo($(target).find('.calendar-menu-month-inner')); - var idx = 0; - for(var i=0; i<3; i++){ - var tr = $('').appendTo(t); - for(var j=0; j<4; j++){ - $('').html(opts.months[idx++]).attr('abbr',idx).appendTo(tr); - } - } - - $(target).find('.calendar-menu-prev,.calendar-menu-next').hover( - function(){$(this).addClass('calendar-menu-hover');}, - function(){$(this).removeClass('calendar-menu-hover');} - ); - $(target).find('.calendar-menu-next').click(function(){ - var y = $(target).find('.calendar-menu-year'); - if (!isNaN(y.val())){ - y.val(parseInt(y.val()) + 1); - setDate(); - } - }); - $(target).find('.calendar-menu-prev').click(function(){ - var y = $(target).find('.calendar-menu-year'); - if (!isNaN(y.val())){ - y.val(parseInt(y.val() - 1)); - setDate(); - } - }); - - $(target).find('.calendar-menu-year').keypress(function(e){ - if (e.keyCode == 13){ - setDate(true); - } - }); - - $(target).find('.calendar-menu-month').hover( - function(){$(this).addClass('calendar-menu-hover');}, - function(){$(this).removeClass('calendar-menu-hover');} - ).click(function(){ - var menu = $(target).find('.calendar-menu'); - menu.find('.calendar-selected').removeClass('calendar-selected'); - $(this).addClass('calendar-selected'); - setDate(true); - }); - } - - function setDate(hideMenu){ - var menu = $(target).find('.calendar-menu'); - var year = menu.find('.calendar-menu-year').val(); - var month = menu.find('.calendar-selected').attr('abbr'); - if (!isNaN(year)){ - opts.year = parseInt(year); - opts.month = parseInt(month); - show(target); - } - if (hideMenu){menu.hide()} - } - - var body = $(target).find('.calendar-body'); - var sele = $(target).find('.calendar-menu'); - var seleYear = sele.find('.calendar-menu-year-inner'); - var seleMonth = sele.find('.calendar-menu-month-inner'); - - seleYear.find('input').val(opts.year).focus(); - seleMonth.find('td.calendar-selected').removeClass('calendar-selected'); - seleMonth.find('td:eq('+(opts.month-1)+')').addClass('calendar-selected'); - - sele._outerWidth(body._outerWidth()); - sele._outerHeight(body._outerHeight()); - seleMonth._outerHeight(sele.height() - seleYear._outerHeight()); - } - - /** - * get weeks data. - */ - function getWeeks(target, year, month){ - var opts = $.data(target, 'calendar').options; - var dates = []; - var lastDay = new Date(year, month, 0).getDate(); - for(var i=1; i<=lastDay; i++) dates.push([year,month,i]); - - // group date by week - var weeks = [], week = []; -// var memoDay = 0; - var memoDay = -1; - while(dates.length > 0){ - var date = dates.shift(); - week.push(date); - var day = new Date(date[0],date[1]-1,date[2]).getDay(); - if (memoDay == day){ - day = 0; - } else if (day == (opts.firstDay==0 ? 7 : opts.firstDay) - 1){ - weeks.push(week); - week = []; - } - memoDay = day; - } - if (week.length){ - weeks.push(week); - } - - var firstWeek = weeks[0]; - if (firstWeek.length < 7){ - while(firstWeek.length < 7){ - var firstDate = firstWeek[0]; - var date = new Date(firstDate[0],firstDate[1]-1,firstDate[2]-1) - firstWeek.unshift([date.getFullYear(), date.getMonth()+1, date.getDate()]); - } - } else { - var firstDate = firstWeek[0]; - var week = []; - for(var i=1; i<=7; i++){ - var date = new Date(firstDate[0], firstDate[1]-1, firstDate[2]-i); - week.unshift([date.getFullYear(), date.getMonth()+1, date.getDate()]); - } - weeks.unshift(week); - } - - var lastWeek = weeks[weeks.length-1]; - while(lastWeek.length < 7){ - var lastDate = lastWeek[lastWeek.length-1]; - var date = new Date(lastDate[0], lastDate[1]-1, lastDate[2]+1); - lastWeek.push([date.getFullYear(), date.getMonth()+1, date.getDate()]); - } - if (weeks.length < 6){ - var lastDate = lastWeek[lastWeek.length-1]; - var week = []; - for(var i=1; i<=7; i++){ - var date = new Date(lastDate[0], lastDate[1]-1, lastDate[2]+i); - week.push([date.getFullYear(), date.getMonth()+1, date.getDate()]); - } - weeks.push(week); - } - - return weeks; - } - - /** - * show the calendar day. - */ - function show(target){ - var opts = $.data(target, 'calendar').options; - if (opts.current && !opts.validator.call(target, opts.current)){ - opts.current = null; - } - - var now = new Date(); - var todayInfo = now.getFullYear()+','+(now.getMonth()+1)+','+now.getDate(); - var currentInfo = opts.current ? (opts.current.getFullYear()+','+(opts.current.getMonth()+1)+','+opts.current.getDate()) : ''; - // calulate the saturday and sunday index - var saIndex = 6 - opts.firstDay; - var suIndex = saIndex + 1; - if (saIndex >= 7) saIndex -= 7; - if (suIndex >= 7) suIndex -= 7; - - $(target).find('.calendar-title span').html(opts.months[opts.month-1] + ' ' + opts.year); - - var body = $(target).find('div.calendar-body'); - body.children('table').remove(); - - var data = ['']; - data.push(''); - for(var i=opts.firstDay; i'+opts.weeks[i]+''); - } - for(var i=0; i'+opts.weeks[i]+''); - } - data.push(''); - - data.push(''); - var weeks = getWeeks(target, opts.year, opts.month); - for(var i=0; i'); - for(var j=0; j' + d + ''); - } - data.push(''); - } - data.push(''); - data.push('
                                              '); - - body.append(data.join('')); - - var t = body.children('table.calendar-dtable').prependTo(body); - - t.find('td.calendar-day:not(.calendar-disabled)').hover( - function(){$(this).addClass('calendar-hover');}, - function(){$(this).removeClass('calendar-hover');} - ).click(function(){ - var oldValue = opts.current; - t.find('.calendar-selected').removeClass('calendar-selected'); - $(this).addClass('calendar-selected'); - var parts = $(this).attr('abbr').split(','); - opts.current = new Date(parts[0], parseInt(parts[1])-1, parts[2]); - opts.onSelect.call(target, opts.current); - if (!oldValue || oldValue.getTime() != opts.current.getTime()){ - opts.onChange.call(target, opts.current, oldValue); - } - }); - } - - $.fn.calendar = function(options, param){ - if (typeof options == 'string'){ - return $.fn.calendar.methods[options](this, param); - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'calendar'); - if (state){ - $.extend(state.options, options); - } else { - state = $.data(this, 'calendar', { - options:$.extend({}, $.fn.calendar.defaults, $.fn.calendar.parseOptions(this), options) - }); - init(this); - } - if (state.options.border == false){ - $(this).addClass('calendar-noborder'); - } - setSize(this); - show(this); - $(this).find('div.calendar-menu').hide(); // hide the calendar menu - }); - }; - - $.fn.calendar.methods = { - options: function(jq){ - return $.data(jq[0], 'calendar').options; - }, - resize: function(jq){ - return jq.each(function(){ - setSize(this); - }); - }, - moveTo: function(jq, date){ - return jq.each(function(){ - var opts = $(this).calendar('options'); - if (opts.validator.call(this, date)){ - var oldValue = opts.current; - $(this).calendar({ - year: date.getFullYear(), - month: date.getMonth()+1, - current: date - }); - if (!oldValue || oldValue.getTime() != date.getTime()){ - opts.onChange.call(this, opts.current, oldValue); - } - } - }); - } - }; - - $.fn.calendar.parseOptions = function(target){ - var t = $(target); - return $.extend({}, $.parser.parseOptions(target, [ - 'width','height',{firstDay:'number',fit:'boolean',border:'boolean'} - ])); - }; - - $.fn.calendar.defaults = { - width:180, - height:180, - fit:false, - border:true, - firstDay:0, - weeks:['S','M','T','W','T','F','S'], - months:['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - year:new Date().getFullYear(), - month:new Date().getMonth()+1, - current:(function(){ - var d = new Date(); - return new Date(d.getFullYear(), d.getMonth(), d.getDate()); - })(), - - formatter:function(date){return date.getDate()}, - styler:function(date){return ''}, - validator:function(date){return true}, - - onSelect: function(date){}, - onChange: function(newDate, oldDate){} - }; -})(jQuery); diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.combobox.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.combobox.js deleted file mode 100644 index 53e07a0..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.combobox.js +++ /dev/null @@ -1,553 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -/** - * combobox - jQuery EasyUI - * - * Dependencies: - * combo - * - */ -(function($){ - var COMBOBOX_SERNO = 0; - - function getRowIndex(target, value){ - var state = $.data(target, 'combobox'); - var opts = state.options; - var data = state.data; - for(var i=0; i panel.height()){ - var h = panel.scrollTop() + item.position().top + item.outerHeight() - panel.height(); - panel.scrollTop(h); - } - } - } - - function nav(target, dir){ - var opts = $.data(target, 'combobox').options; - var panel = $(target).combobox('panel'); - var item = panel.children('div.combobox-item-hover'); - if (!item.length){ - item = panel.children('div.combobox-item-selected'); - } - item.removeClass('combobox-item-hover'); - var firstSelector = 'div.combobox-item:visible:not(.combobox-item-disabled):first'; - var lastSelector = 'div.combobox-item:visible:not(.combobox-item-disabled):last'; - if (!item.length){ - item = panel.children(dir=='next' ? firstSelector : lastSelector); -// item = panel.children('div.combobox-item:visible:' + (dir=='next'?'first':'last')); - } else { - if (dir == 'next'){ - item = item.nextAll(firstSelector); -// item = item.nextAll('div.combobox-item:visible:first'); - if (!item.length){ - item = panel.children(firstSelector); -// item = panel.children('div.combobox-item:visible:first'); - } - } else { - item = item.prevAll(firstSelector); -// item = item.prevAll('div.combobox-item:visible:first'); - if (!item.length){ - item = panel.children(lastSelector); -// item = panel.children('div.combobox-item:visible:last'); - } - } - } - if (item.length){ - item.addClass('combobox-item-hover'); - var row = opts.finder.getRow(target, item); - if (row){ - scrollTo(target, row[opts.valueField]); - if (opts.selectOnNavigation){ - select(target, row[opts.valueField]); - } - } - } - } - - /** - * select the specified value - */ - function select(target, value){ - var opts = $.data(target, 'combobox').options; - var values = $(target).combo('getValues'); - if ($.inArray(value+'', values) == -1){ - if (opts.multiple){ - values.push(value); - } else { - values = [value]; - } - setValues(target, values); - opts.onSelect.call(target, opts.finder.getRow(target, value)); - } - } - - /** - * unselect the specified value - */ - function unselect(target, value){ - var opts = $.data(target, 'combobox').options; - var values = $(target).combo('getValues'); - var index = $.inArray(value+'', values); - if (index >= 0){ - values.splice(index, 1); - setValues(target, values); - opts.onUnselect.call(target, opts.finder.getRow(target, value)); - } - } - - /** - * set values - */ - function setValues(target, values, remainText){ - var opts = $.data(target, 'combobox').options; - var panel = $(target).combo('panel'); - - panel.find('div.combobox-item-selected').removeClass('combobox-item-selected'); - var vv = [], ss = []; - for(var i=0; i'); - dd.push(opts.groupFormatter ? opts.groupFormatter.call(target, g) : g); - dd.push('
                                              '); - } - } else { - group = undefined; - } - - var cls = 'combobox-item' + (row.disabled ? ' combobox-item-disabled' : '') + (g ? ' combobox-gitem' : ''); - dd.push('
                                              '); - dd.push(opts.formatter ? opts.formatter.call(target, row) : s); - dd.push('
                                              '); - -// if (item['selected']){ -// (function(){ -// for(var i=0; i= 0){ - vv.push(v); - } - }); - t.combobox('setValues', vv); - if (!opts.multiple){ - t.combobox('hidePanel'); - } - } - - /** - * create the component - */ - function create(target){ - var state = $.data(target, 'combobox'); - var opts = state.options; - - COMBOBOX_SERNO++; - state.itemIdPrefix = '_easyui_combobox_i' + COMBOBOX_SERNO; - state.groupIdPrefix = '_easyui_combobox_g' + COMBOBOX_SERNO; - - $(target).addClass('combobox-f'); - $(target).combo($.extend({}, opts, { - onShowPanel: function(){ - $(target).combo('panel').find('div.combobox-item,div.combobox-group').show(); - scrollTo(target, $(target).combobox('getValue')); - opts.onShowPanel.call(target); - } - })); - - $(target).combo('panel').unbind().bind('mouseover', function(e){ - $(this).children('div.combobox-item-hover').removeClass('combobox-item-hover'); - var item = $(e.target).closest('div.combobox-item'); - if (!item.hasClass('combobox-item-disabled')){ - item.addClass('combobox-item-hover'); - } - e.stopPropagation(); - }).bind('mouseout', function(e){ - $(e.target).closest('div.combobox-item').removeClass('combobox-item-hover'); - e.stopPropagation(); - }).bind('click', function(e){ - var item = $(e.target).closest('div.combobox-item'); - if (!item.length || item.hasClass('combobox-item-disabled')){return} - var row = opts.finder.getRow(target, item); - if (!row){return} - var value = row[opts.valueField]; - if (opts.multiple){ - if (item.hasClass('combobox-item-selected')){ - unselect(target, value); - } else { - select(target, value); - } - } else { - select(target, value); - $(target).combo('hidePanel'); - } - e.stopPropagation(); - }); - } - - $.fn.combobox = function(options, param){ - if (typeof options == 'string'){ - var method = $.fn.combobox.methods[options]; - if (method){ - return method(this, param); - } else { - return this.combo(options, param); - } - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'combobox'); - if (state){ - $.extend(state.options, options); - create(this); - } else { - state = $.data(this, 'combobox', { - options: $.extend({}, $.fn.combobox.defaults, $.fn.combobox.parseOptions(this), options), - data: [] - }); - create(this); - var data = $.fn.combobox.parseData(this); - if (data.length){ - loadData(this, data); - } - } - if (state.options.data){ - loadData(this, state.options.data); - } - request(this); - }); - }; - - - $.fn.combobox.methods = { - options: function(jq){ - var copts = jq.combo('options'); - return $.extend($.data(jq[0], 'combobox').options, { - originalValue: copts.originalValue, - disabled: copts.disabled, - readonly: copts.readonly - }); - }, - getData: function(jq){ - return $.data(jq[0], 'combobox').data; - }, - setValues: function(jq, values){ - return jq.each(function(){ - setValues(this, values); - }); - }, - setValue: function(jq, value){ - return jq.each(function(){ - setValues(this, [value]); - }); - }, - clear: function(jq){ - return jq.each(function(){ - $(this).combo('clear'); - var panel = $(this).combo('panel'); - panel.find('div.combobox-item-selected').removeClass('combobox-item-selected'); - }); - }, - reset: function(jq){ - return jq.each(function(){ - var opts = $(this).combobox('options'); - if (opts.multiple){ - $(this).combobox('setValues', opts.originalValue); - } else { - $(this).combobox('setValue', opts.originalValue); - } - }); - }, - loadData: function(jq, data){ - return jq.each(function(){ - loadData(this, data); - }); - }, - reload: function(jq, url){ - return jq.each(function(){ - request(this, url); - }); - }, - select: function(jq, value){ - return jq.each(function(){ - select(this, value); - }); - }, - unselect: function(jq, value){ - return jq.each(function(){ - unselect(this, value); - }); - } - }; - - $.fn.combobox.parseOptions = function(target){ - var t = $(target); - return $.extend({}, $.fn.combo.parseOptions(target), $.parser.parseOptions(target,[ - 'valueField','textField','groupField','mode','method','url' - ])); - }; - - $.fn.combobox.parseData = function(target){ - var data = []; - var opts = $(target).combobox('options'); - $(target).children().each(function(){ - if (this.tagName.toLowerCase() == 'optgroup'){ - var group = $(this).attr('label'); - $(this).children().each(function(){ - _parseItem(this, group); - }); - } else { - _parseItem(this); - } - }); - return data; - - function _parseItem(el, group){ - var t = $(el); - var row = {}; - row[opts.valueField] = t.attr('value')!=undefined ? t.attr('value') : t.text(); - row[opts.textField] = t.text(); - row['selected'] = t.is(':selected'); - row['disabled'] = t.is(':disabled'); - if (group){ - opts.groupField = opts.groupField || 'group'; - row[opts.groupField] = group; - } - data.push(row); - } - }; - - $.fn.combobox.defaults = $.extend({}, $.fn.combo.defaults, { - valueField: 'value', - textField: 'text', - groupField: null, - groupFormatter: function(group){return group;}, - mode: 'local', // or 'remote' - method: 'post', - url: null, - data: null, - - keyHandler: { - up: function(e){nav(this,'prev');e.preventDefault()}, - down: function(e){nav(this,'next');e.preventDefault()}, - left: function(e){}, - right: function(e){}, - enter: function(e){doEnter(this)}, - query: function(q,e){doQuery(this, q)} - }, - filter: function(q, row){ - var opts = $(this).combobox('options'); - return row[opts.textField].toLowerCase().indexOf(q.toLowerCase()) == 0; - }, - formatter: function(row){ - var opts = $(this).combobox('options'); - return row[opts.textField]; - }, - loader: function(param, success, error){ - var opts = $(this).combobox('options'); - if (!opts.url) return false; - $.ajax({ - type: opts.method, - url: opts.url, - data: param, - dataType: 'json', - success: function(data){ - success(data); - }, - error: function(){ - error.apply(this, arguments); - } - }); - }, - loadFilter: function(data){ - return data; - }, - finder:{ - getEl:function(target, value){ - var index = getRowIndex(target, value); - var id = $.data(target, 'combobox').itemIdPrefix + '_' + index; - return $('#'+id); - }, - getRow:function(target, p){ - var state = $.data(target, 'combobox'); - var index = (p instanceof jQuery) ? p.attr('id').substr(state.itemIdPrefix.length+1) : getRowIndex(target, p); - return state.data[parseInt(index)]; - } - }, - - onBeforeLoad: function(param){}, - onLoadSuccess: function(){}, - onLoadError: function(){}, - onSelect: function(record){}, - onUnselect: function(record){} - }); -})(jQuery); diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.datebox.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.datebox.js deleted file mode 100644 index 4429088..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.datebox.js +++ /dev/null @@ -1,253 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -/** - * datebox - jQuery EasyUI - * - * Dependencies: - * calendar - * combo - * - */ -(function($){ - /** - * create date box - */ - function createBox(target){ - var state = $.data(target, 'datebox'); - var opts = state.options; - - $(target).addClass('datebox-f').combo($.extend({}, opts, { - onShowPanel:function(){ - setCalendar(); - setValue(target, $(target).datebox('getText'), true); -// setValue(target, $(target).datebox('getText')); - opts.onShowPanel.call(target); - } - })); - $(target).combo('textbox').parent().addClass('datebox'); - - /** - * if the calendar isn't created, create it. - */ - if (!state.calendar){ - createCalendar(); - } - setValue(target, opts.value); - - function createCalendar(){ - var panel = $(target).combo('panel').css('overflow','hidden'); - panel.panel('options').onBeforeDestroy = function(){ - var sc = $(this).find('.calendar-shared'); - if (sc.length){ - sc.insertBefore(sc[0].pholder); - } - }; - var cc = $('
                                              ').appendTo(panel); - if (opts.sharedCalendar){ - var sc = $(opts.sharedCalendar); - if (!sc[0].pholder){ - sc[0].pholder = $('').insertAfter(sc); - } - sc.addClass('calendar-shared').appendTo(cc); - if (!sc.hasClass('calendar')){ - sc.calendar(); - } - state.calendar = sc; -// state.calendar = $(opts.sharedCalendar).appendTo(cc); -// if (!state.calendar.hasClass('calendar')){ -// state.calendar.calendar(); -// } - } else { - state.calendar = $('
                                              ').appendTo(cc).calendar(); - } - $.extend(state.calendar.calendar('options'), { - fit:true, - border:false, - onSelect:function(date){ - var opts = $(this.target).datebox('options'); - setValue(this.target, opts.formatter.call(this.target, date)); - $(this.target).combo('hidePanel'); - opts.onSelect.call(target, date); - } - }); -// setValue(target, opts.value); - - var button = $('
                                              ').appendTo(panel); - var tr = button.find('tr'); - for(var i=0; i').appendTo(tr); - var btn = opts.buttons[i]; - var t = $('').html($.isFunction(btn.text) ? btn.text(target) : btn.text).appendTo(td); - t.bind('click', {target: target, handler: btn.handler}, function(e){ - e.data.handler.call(this, e.data.target); - }); - } - tr.find('td').css('width', (100/opts.buttons.length)+'%'); - } - - function setCalendar(){ - var panel = $(target).combo('panel'); - var cc = panel.children('div.datebox-calendar-inner'); - panel.children()._outerWidth(panel.width()); - state.calendar.appendTo(cc); - state.calendar[0].target = target; - if (opts.panelHeight != 'auto'){ - var height = panel.height(); - panel.children().not(cc).each(function(){ - height -= $(this).outerHeight(); - }); - cc._outerHeight(height); - } - state.calendar.calendar('resize'); - } - } - - /** - * called when user inputs some value in text box - */ - function doQuery(target, q){ - setValue(target, q, true); - } - - /** - * called when user press enter key - */ - function doEnter(target){ - var state = $.data(target, 'datebox'); - var opts = state.options; - var current = state.calendar.calendar('options').current; - if (current){ - setValue(target, opts.formatter.call(target, current)); - $(target).combo('hidePanel'); - } - } - - function setValue(target, value, remainText){ - var state = $.data(target, 'datebox'); - var opts = state.options; - var calendar = state.calendar; - $(target).combo('setValue', value); - calendar.calendar('moveTo', opts.parser.call(target, value)); - if (!remainText){ - if (value){ - value = opts.formatter.call(target, calendar.calendar('options').current); - $(target).combo('setValue', value).combo('setText', value); - } else { - $(target).combo('setText', value); - } - } - } - - $.fn.datebox = function(options, param){ - if (typeof options == 'string'){ - var method = $.fn.datebox.methods[options]; - if (method){ - return method(this, param); - } else { - return this.combo(options, param); - } - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'datebox'); - if (state){ - $.extend(state.options, options); - } else { - $.data(this, 'datebox', { - options: $.extend({}, $.fn.datebox.defaults, $.fn.datebox.parseOptions(this), options) - }); - } - createBox(this); - }); - }; - - $.fn.datebox.methods = { - options: function(jq){ - var copts = jq.combo('options'); - return $.extend($.data(jq[0], 'datebox').options, { - originalValue: copts.originalValue, - disabled: copts.disabled, - readonly: copts.readonly - }); - }, - calendar: function(jq){ // get the calendar object - return $.data(jq[0], 'datebox').calendar; - }, - setValue: function(jq, value){ - return jq.each(function(){ - setValue(this, value); - }); - }, - reset: function(jq){ - return jq.each(function(){ - var opts = $(this).datebox('options'); - $(this).datebox('setValue', opts.originalValue); - }); - } - }; - - $.fn.datebox.parseOptions = function(target){ - return $.extend({}, $.fn.combo.parseOptions(target), $.parser.parseOptions(target, ['sharedCalendar'])); - }; - - $.fn.datebox.defaults = $.extend({}, $.fn.combo.defaults, { - panelWidth:180, - panelHeight:'auto', - sharedCalendar:null, - - keyHandler: { - up:function(e){}, - down:function(e){}, - left: function(e){}, - right: function(e){}, - enter:function(e){doEnter(this)}, - query:function(q,e){doQuery(this, q)} - }, - - currentText:'Today', - closeText:'Close', - okText:'Ok', - - buttons:[{ - text: function(target){return $(target).datebox('options').currentText;}, - handler: function(target){ - $(target).datebox('calendar').calendar({ - year:new Date().getFullYear(), - month:new Date().getMonth()+1, - current:new Date() - }); - doEnter(target); - } - },{ - text: function(target){return $(target).datebox('options').closeText;}, - handler: function(target){ - $(this).closest('div.combo-panel').panel('close'); - } - }], - - formatter:function(date){ - var y = date.getFullYear(); - var m = date.getMonth()+1; - var d = date.getDate(); - return m+'/'+d+'/'+y; - }, - parser:function(s){ - var t = Date.parse(s); - if (!isNaN(t)){ - return new Date(t); - } else { - return new Date(); - } - }, - - onSelect:function(date){} - }); -})(jQuery); diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.draggable.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.draggable.js deleted file mode 100644 index 5ae45cc..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.draggable.js +++ /dev/null @@ -1,420 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -/** - * draggable - jQuery EasyUI - * - */ -(function($){ -// var isDragging = false; - function drag(e){ - var state = $.data(e.data.target, 'draggable'); - var opts = state.options; - var proxy = state.proxy; - - var dragData = e.data; - var left = dragData.startLeft + e.pageX - dragData.startX; - var top = dragData.startTop + e.pageY - dragData.startY; - - if (proxy){ - if (proxy.parent()[0] == document.body){ - if (opts.deltaX != null && opts.deltaX != undefined){ - left = e.pageX + opts.deltaX; - } else { - left = e.pageX - e.data.offsetWidth; - } - if (opts.deltaY != null && opts.deltaY != undefined){ - top = e.pageY + opts.deltaY; - } else { - top = e.pageY - e.data.offsetHeight; - } - } else { - if (opts.deltaX != null && opts.deltaX != undefined){ - left += e.data.offsetWidth + opts.deltaX; - } - if (opts.deltaY != null && opts.deltaY != undefined){ - top += e.data.offsetHeight + opts.deltaY; - } - } - } - -// if (opts.deltaX != null && opts.deltaX != undefined){ -// left = e.pageX + opts.deltaX; -// } -// if (opts.deltaY != null && opts.deltaY != undefined){ -// top = e.pageY + opts.deltaY; -// } - - if (e.data.parent != document.body) { - left += $(e.data.parent).scrollLeft(); - top += $(e.data.parent).scrollTop(); - } - - if (opts.axis == 'h') { - dragData.left = left; - } else if (opts.axis == 'v') { - dragData.top = top; - } else { - dragData.left = left; - dragData.top = top; - } - } - - function applyDrag(e){ - var state = $.data(e.data.target, 'draggable'); - var opts = state.options; - var proxy = state.proxy; - if (!proxy){ - proxy = $(e.data.target); - } -// if (proxy){ -// proxy.css('cursor', opts.cursor); -// } else { -// proxy = $(e.data.target); -// $.data(e.data.target, 'draggable').handle.css('cursor', opts.cursor); -// } - proxy.css({ - left:e.data.left, - top:e.data.top - }); - $('body').css('cursor', opts.cursor); - } - - function doDown(e){ -// isDragging = true; - $.fn.draggable.isDragging = true; - var state = $.data(e.data.target, 'draggable'); - var opts = state.options; - - var droppables = $('.droppable').filter(function(){ - return e.data.target != this; - }).filter(function(){ - var accept = $.data(this, 'droppable').options.accept; - if (accept){ - return $(accept).filter(function(){ - return this == e.data.target; - }).length > 0; - } else { - return true; - } - }); - state.droppables = droppables; - - var proxy = state.proxy; - if (!proxy){ - if (opts.proxy){ - if (opts.proxy == 'clone'){ - proxy = $(e.data.target).clone().insertAfter(e.data.target); - } else { - proxy = opts.proxy.call(e.data.target, e.data.target); - } - state.proxy = proxy; - } else { - proxy = $(e.data.target); - } - } - - proxy.css('position', 'absolute'); - drag(e); - applyDrag(e); - - opts.onStartDrag.call(e.data.target, e); - return false; - } - - function doMove(e){ - var state = $.data(e.data.target, 'draggable'); - drag(e); - if (state.options.onDrag.call(e.data.target, e) != false){ - applyDrag(e); - } - - var source = e.data.target; - state.droppables.each(function(){ - var dropObj = $(this); - if (dropObj.droppable('options').disabled){return;} - - var p2 = dropObj.offset(); - if (e.pageX > p2.left && e.pageX < p2.left + dropObj.outerWidth() - && e.pageY > p2.top && e.pageY < p2.top + dropObj.outerHeight()){ - if (!this.entered){ - $(this).trigger('_dragenter', [source]); - this.entered = true; - } - $(this).trigger('_dragover', [source]); - } else { - if (this.entered){ - $(this).trigger('_dragleave', [source]); - this.entered = false; - } - } - }); - - return false; - } - - function doUp(e){ -// isDragging = false; - $.fn.draggable.isDragging = false; -// drag(e); - doMove(e); - - var state = $.data(e.data.target, 'draggable'); - var proxy = state.proxy; - var opts = state.options; - if (opts.revert){ - if (checkDrop() == true){ - $(e.data.target).css({ - position:e.data.startPosition, - left:e.data.startLeft, - top:e.data.startTop - }); - } else { - if (proxy){ - var left, top; - if (proxy.parent()[0] == document.body){ - left = e.data.startX - e.data.offsetWidth; - top = e.data.startY - e.data.offsetHeight; - } else { - left = e.data.startLeft; - top = e.data.startTop; - } - proxy.animate({ - left: left, - top: top - }, function(){ - removeProxy(); - }); - } else { - $(e.data.target).animate({ - left:e.data.startLeft, - top:e.data.startTop - }, function(){ - $(e.data.target).css('position', e.data.startPosition); - }); - } - } - } else { - $(e.data.target).css({ - position:'absolute', - left:e.data.left, - top:e.data.top - }); - checkDrop(); - } - - opts.onStopDrag.call(e.data.target, e); - - $(document).unbind('.draggable'); - setTimeout(function(){ - $('body').css('cursor',''); - },100); - - function removeProxy(){ - if (proxy){ - proxy.remove(); - } - state.proxy = null; - } - - function checkDrop(){ - var dropped = false; - state.droppables.each(function(){ - var dropObj = $(this); - if (dropObj.droppable('options').disabled){return;} - - var p2 = dropObj.offset(); - if (e.pageX > p2.left && e.pageX < p2.left + dropObj.outerWidth() - && e.pageY > p2.top && e.pageY < p2.top + dropObj.outerHeight()){ - if (opts.revert){ - $(e.data.target).css({ - position:e.data.startPosition, - left:e.data.startLeft, - top:e.data.startTop - }); - } - $(this).trigger('_drop', [e.data.target]); - removeProxy(); - dropped = true; - this.entered = false; - return false; - } - }); - if (!dropped && !opts.revert){ - removeProxy(); - } - return dropped; - } - - return false; - } - - $.fn.draggable = function(options, param){ - if (typeof options == 'string'){ - return $.fn.draggable.methods[options](this, param); - } - - return this.each(function(){ - var opts; - var state = $.data(this, 'draggable'); - if (state) { - state.handle.unbind('.draggable'); - opts = $.extend(state.options, options); - } else { - opts = $.extend({}, $.fn.draggable.defaults, $.fn.draggable.parseOptions(this), options || {}); - } - var handle = opts.handle ? (typeof opts.handle=='string' ? $(opts.handle, this) : opts.handle) : $(this); - - $.data(this, 'draggable', { - options: opts, - handle: handle - }); - - if (opts.disabled) { - $(this).css('cursor', ''); - return; - } - - handle.unbind('.draggable').bind('mousemove.draggable', {target:this}, function(e){ -// if (isDragging) return; - if ($.fn.draggable.isDragging){return} - var opts = $.data(e.data.target, 'draggable').options; - if (checkArea(e)){ - $(this).css('cursor', opts.cursor); - } else { - $(this).css('cursor', ''); - } - }).bind('mouseleave.draggable', {target:this}, function(e){ - $(this).css('cursor', ''); - }).bind('mousedown.draggable', {target:this}, function(e){ - if (checkArea(e) == false) return; - $(this).css('cursor', ''); - - var position = $(e.data.target).position(); - var offset = $(e.data.target).offset(); - var data = { - startPosition: $(e.data.target).css('position'), - startLeft: position.left, - startTop: position.top, - left: position.left, - top: position.top, - startX: e.pageX, - startY: e.pageY, - offsetWidth: (e.pageX - offset.left), - offsetHeight: (e.pageY - offset.top), - target: e.data.target, - parent: $(e.data.target).parent()[0] - }; - - $.extend(e.data, data); - var opts = $.data(e.data.target, 'draggable').options; - if (opts.onBeforeDrag.call(e.data.target, e) == false) return; - - $(document).bind('mousedown.draggable', e.data, doDown); - $(document).bind('mousemove.draggable', e.data, doMove); - $(document).bind('mouseup.draggable', e.data, doUp); -// $('body').css('cursor', opts.cursor); - }); - - // check if the handle can be dragged - function checkArea(e) { - var state = $.data(e.data.target, 'draggable'); - var handle = state.handle; - var offset = $(handle).offset(); - var width = $(handle).outerWidth(); - var height = $(handle).outerHeight(); - var t = e.pageY - offset.top; - var r = offset.left + width - e.pageX; - var b = offset.top + height - e.pageY; - var l = e.pageX - offset.left; - - return Math.min(t,r,b,l) > state.options.edge; - } - - }); - }; - - $.fn.draggable.methods = { - options: function(jq){ - return $.data(jq[0], 'draggable').options; - }, - proxy: function(jq){ - return $.data(jq[0], 'draggable').proxy; - }, - enable: function(jq){ - return jq.each(function(){ - $(this).draggable({disabled:false}); - }); - }, - disable: function(jq){ - return jq.each(function(){ - $(this).draggable({disabled:true}); - }); - } - }; - - $.fn.draggable.parseOptions = function(target){ - var t = $(target); - return $.extend({}, - $.parser.parseOptions(target, ['cursor','handle','axis', - {'revert':'boolean','deltaX':'number','deltaY':'number','edge':'number'}]), { - disabled: (t.attr('disabled') ? true : undefined) - }); - }; - - $.fn.draggable.defaults = { - proxy:null, // 'clone' or a function that will create the proxy object, - // the function has the source parameter that indicate the source object dragged. - revert:false, - cursor:'move', - deltaX:null, - deltaY:null, - handle: null, - disabled: false, - edge:0, - axis:null, // v or h - - onBeforeDrag: function(e){}, - onStartDrag: function(e){}, - onDrag: function(e){}, - onStopDrag: function(e){} - }; - - $.fn.draggable.isDragging = false; - -// $(function(){ -// function touchHandler(e) { -// var touches = e.changedTouches, first = touches[0], type = ""; -// -// switch(e.type) { -// case "touchstart": type = "mousedown"; break; -// case "touchmove": type = "mousemove"; break; -// case "touchend": type = "mouseup"; break; -// default: return; -// } -// var simulatedEvent = document.createEvent("MouseEvent"); -// simulatedEvent.initMouseEvent(type, true, true, window, 1, -// first.screenX, first.screenY, -// first.clientX, first.clientY, false, -// false, false, false, 0/*left*/, null); -// -// first.target.dispatchEvent(simulatedEvent); -// if (isDragging){ -// e.preventDefault(); -// } -// } -// -// if (document.addEventListener){ -// document.addEventListener("touchstart", touchHandler, true); -// document.addEventListener("touchmove", touchHandler, true); -// document.addEventListener("touchend", touchHandler, true); -// document.addEventListener("touchcancel", touchHandler, true); -// } -// }); -})(jQuery); diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.droppable.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.droppable.js deleted file mode 100644 index f989ce1..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.droppable.js +++ /dev/null @@ -1,81 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -/** - * droppable - jQuery EasyUI - * - */ -(function($){ - function init(target){ - $(target).addClass('droppable'); - $(target).bind('_dragenter', function(e, source){ - $.data(target, 'droppable').options.onDragEnter.apply(target, [e, source]); - }); - $(target).bind('_dragleave', function(e, source){ - $.data(target, 'droppable').options.onDragLeave.apply(target, [e, source]); - }); - $(target).bind('_dragover', function(e, source){ - $.data(target, 'droppable').options.onDragOver.apply(target, [e, source]); - }); - $(target).bind('_drop', function(e, source){ - $.data(target, 'droppable').options.onDrop.apply(target, [e, source]); - }); - } - - $.fn.droppable = function(options, param){ - if (typeof options == 'string'){ - return $.fn.droppable.methods[options](this, param); - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'droppable'); - if (state){ - $.extend(state.options, options); - } else { - init(this); - $.data(this, 'droppable', { - options: $.extend({}, $.fn.droppable.defaults, $.fn.droppable.parseOptions(this), options) - }); - } - }); - }; - - $.fn.droppable.methods = { - options: function(jq){ - return $.data(jq[0], 'droppable').options; - }, - enable: function(jq){ - return jq.each(function(){ - $(this).droppable({disabled:false}); - }); - }, - disable: function(jq){ - return jq.each(function(){ - $(this).droppable({disabled:true}); - }); - } - }; - - $.fn.droppable.parseOptions = function(target){ - var t = $(target); - return $.extend({}, $.parser.parseOptions(target, ['accept']), { - disabled: (t.attr('disabled') ? true : undefined) - }); - }; - - $.fn.droppable.defaults = { - accept:null, - disabled:false, - onDragEnter:function(e, source){}, - onDragOver:function(e, source){}, - onDragLeave:function(e, source){}, - onDrop:function(e, source){} - }; -})(jQuery); diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.form.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.form.js deleted file mode 100644 index 938d2a8..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.form.js +++ /dev/null @@ -1,392 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -/** - * form - jQuery EasyUI - * - */ -(function($){ - /** - * submit the form - */ - function ajaxSubmit(target, options){ - options = options || {}; - - var param = {}; - if (options.onSubmit){ - if (options.onSubmit.call(target, param) == false) { - return; - } - } - - var form = $(target); - if (options.url){ - form.attr('action', options.url); - } - var frameId = 'easyui_frame_' + (new Date().getTime()); - var frame = $('') - .attr('src', window.ActiveXObject ? 'javascript:false' : 'about:blank') - .css({ - position:'absolute', - top:-1000, - left:-1000 - }); - var t = form.attr('target'), a = form.attr('action'); - form.attr('target', frameId); - - var paramFields = $(); - try { - frame.appendTo('body'); - frame.bind('load', cb); - for(var n in param){ - var f = $('').val(param[n]).appendTo(form); - paramFields = paramFields.add(f); - } - checkState(); - form[0].submit(); - } finally { - form.attr('action', a); - t ? form.attr('target', t) : form.removeAttr('target'); - paramFields.remove(); - } - - function checkState(){ - var f = $('#'+frameId); - if (!f.length){return} - try{ - var s = f.contents()[0].readyState; - if (s && s.toLowerCase() == 'uninitialized'){ - setTimeout(checkState, 100); - } - } catch(e){ - cb(); - } - } - - var checkCount = 10; - function cb(){ - var frame = $('#'+frameId); - if (!frame.length){return} - frame.unbind(); - var data = ''; - try{ - var body = frame.contents().find('body'); - data = body.html(); - if (data == ''){ - if (--checkCount){ - setTimeout(cb, 100); - return; - } -// return; - } - var ta = body.find('>textarea'); - if (ta.length){ - data = ta.val(); - } else { - var pre = body.find('>pre'); - if (pre.length){ - data = pre.html(); - } - } - } catch(e){ - - } - if (options.success){ - options.success(data); - } - setTimeout(function(){ - frame.unbind(); - frame.remove(); - }, 100); - } - } - - /** - * load form data - * if data is a URL string type load from remote site, - * otherwise load from local data object. - */ - function load(target, data){ - if (!$.data(target, 'form')){ - $.data(target, 'form', { - options: $.extend({}, $.fn.form.defaults) - }); - } - var opts = $.data(target, 'form').options; - - if (typeof data == 'string'){ - var param = {}; - if (opts.onBeforeLoad.call(target, param) == false) return; - - $.ajax({ - url: data, - data: param, - dataType: 'json', - success: function(data){ - _load(data); - }, - error: function(){ - opts.onLoadError.apply(target, arguments); - } - }); - } else { - _load(data); - } - - function _load(data){ - var form = $(target); - for(var name in data){ - var val = data[name]; - var rr = _checkField(name, val); - if (!rr.length){ -// var f = form.find('input[numberboxName="'+name+'"]'); -// if (f.length){ -// f.numberbox('setValue', val); // set numberbox value -// } else { -// $('input[name="'+name+'"]', form).val(val); -// $('textarea[name="'+name+'"]', form).val(val); -// $('select[name="'+name+'"]', form).val(val); -// } - var count = _loadOther(name, val); - if (!count){ - $('input[name="'+name+'"]', form).val(val); - $('textarea[name="'+name+'"]', form).val(val); - $('select[name="'+name+'"]', form).val(val); - } - } - _loadCombo(name, val); - } - opts.onLoadSuccess.call(target, data); - validate(target); - } - - /** - * check the checkbox and radio fields - */ - function _checkField(name, val){ - var rr = $(target).find('input[name="'+name+'"][type=radio], input[name="'+name+'"][type=checkbox]'); - rr._propAttr('checked', false); - rr.each(function(){ - var f = $(this); - if (f.val() == String(val) || $.inArray(f.val(), $.isArray(val)?val:[val]) >= 0){ - f._propAttr('checked', true); - } - }); - return rr; - } - - function _loadOther(name, val){ - var count = 0; - var pp = ['numberbox','slider']; - for(var i=0; i').appendTo(t); - if (opts.text){ - $('').html(opts.text).appendTo(inner); - } else { - $(' ').appendTo(inner); - } - if (opts.iconCls){ - $(' ').addClass(opts.iconCls).appendTo(inner); - inner.addClass('l-btn-icon-'+opts.iconAlign); - } - - t.unbind('.linkbutton').bind('focus.linkbutton',function(){ - if (!opts.disabled){ - $(this).addClass('l-btn-focus'); - } - }).bind('blur.linkbutton',function(){ - $(this).removeClass('l-btn-focus'); - }).bind('click.linkbutton',function(){ - if (!opts.disabled){ - if (opts.toggle){ - if (opts.selected){ - $(this).linkbutton('unselect'); - } else { - $(this).linkbutton('select'); - } - } - opts.onClick.call(this); - } - return false; - }); -// if (opts.toggle && !opts.disabled){ -// t.bind('click.linkbutton', function(){ -// if (opts.selected){ -// $(this).linkbutton('unselect'); -// } else { -// $(this).linkbutton('select'); -// } -// }); -// } - - setSelected(target, opts.selected) - setDisabled(target, opts.disabled); - } - - function setSelected(target, selected){ - var opts = $.data(target, 'linkbutton').options; - if (selected){ - if (opts.group){ - $('a.l-btn[group="'+opts.group+'"]').each(function(){ - var o = $(this).linkbutton('options'); - if (o.toggle){ - $(this).removeClass('l-btn-selected l-btn-plain-selected'); - o.selected = false; - } - }); - } - $(target).addClass(opts.plain ? 'l-btn-selected l-btn-plain-selected' : 'l-btn-selected'); - opts.selected = true; - } else { - if (!opts.group){ - $(target).removeClass('l-btn-selected l-btn-plain-selected'); - opts.selected = false; - } - } - } - - function setDisabled(target, disabled){ - var state = $.data(target, 'linkbutton'); - var opts = state.options; - $(target).removeClass('l-btn-disabled l-btn-plain-disabled'); - if (disabled){ - opts.disabled = true; - var href = $(target).attr('href'); - if (href){ - state.href = href; - $(target).attr('href', 'javascript:void(0)'); - } - if (target.onclick){ - state.onclick = target.onclick; - target.onclick = null; - } - opts.plain ? $(target).addClass('l-btn-disabled l-btn-plain-disabled') : $(target).addClass('l-btn-disabled'); - } else { - opts.disabled = false; - if (state.href) { - $(target).attr('href', state.href); - } - if (state.onclick) { - target.onclick = state.onclick; - } - } - } - - $.fn.linkbutton = function(options, param){ - if (typeof options == 'string'){ - return $.fn.linkbutton.methods[options](this, param); - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'linkbutton'); - if (state){ - $.extend(state.options, options); - } else { - $.data(this, 'linkbutton', { - options: $.extend({}, $.fn.linkbutton.defaults, $.fn.linkbutton.parseOptions(this), options) - }); - $(this).removeAttr('disabled'); - } - - createButton(this); - }); - }; - - $.fn.linkbutton.methods = { - options: function(jq){ - return $.data(jq[0], 'linkbutton').options; - }, - enable: function(jq){ - return jq.each(function(){ - setDisabled(this, false); - }); - }, - disable: function(jq){ - return jq.each(function(){ - setDisabled(this, true); - }); - }, - select: function(jq){ - return jq.each(function(){ - setSelected(this, true); - }); - }, - unselect: function(jq){ - return jq.each(function(){ - setSelected(this, false); - }); - } - }; - - $.fn.linkbutton.parseOptions = function(target){ - var t = $(target); - return $.extend({}, $.parser.parseOptions(target, - ['id','iconCls','iconAlign','group','size',{plain:'boolean',toggle:'boolean',selected:'boolean'}] - ), { - disabled: (t.attr('disabled') ? true : undefined), - text: $.trim(t.html()), - iconCls: (t.attr('icon') || t.attr('iconCls')) - }); - }; - - $.fn.linkbutton.defaults = { - id: null, - disabled: false, - toggle: false, - selected: false, - group: null, - plain: false, - text: '', - iconCls: null, - iconAlign: 'left', - size: 'small', // small,large - onClick: function(){} - }; - -})(jQuery); diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.menu.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.menu.js deleted file mode 100644 index 18a8889..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.menu.js +++ /dev/null @@ -1,559 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -/** - * menu - jQuery EasyUI - * - */ -(function($){ - - /** - * initialize the target menu, the function can be invoked only once - */ - function init(target){ - $(target).appendTo('body'); - $(target).addClass('menu-top'); // the top menu - - $(document).unbind('.menu').bind('mousedown.menu', function(e){ -// var allMenu = $('body>div.menu:visible'); -// var m = $(e.target).closest('div.menu', allMenu); - var m = $(e.target).closest('div.menu,div.combo-p'); - if (m.length){return} - $('body>div.menu-top:visible').menu('hide'); - }); - - var menus = splitMenu($(target)); - for(var i=0; i
                                              ').html(text)); - if (itemOpts.iconCls){ - $('').addClass(itemOpts.iconCls).appendTo(item); - } - if (itemOpts.disabled){ - setDisabled(target, item[0], true); - } - if (item[0].submenu){ - $('').appendTo(item); // has sub menu - } - - bindMenuItemEvent(target, item); - } - }); - $('').prependTo(menu); - } - setMenuWidth(target, menu); - menu.hide(); - - bindMenuEvent(target, menu); - } - } - - function setMenuWidth(target, menu){ - var opts = $.data(target, 'menu').options; - var style = menu.attr('style') || ''; - menu.css({ - display: 'block', - left:-10000, - height: 'auto', - overflow: 'hidden' - }); - - var el = menu[0]; - var width = el.originalWidth || 0; - if (!width){ - width = 0; - menu.find('div.menu-text').each(function(){ - if (width < $(this)._outerWidth()){ - width = $(this)._outerWidth(); - } - $(this).closest('div.menu-item')._outerHeight($(this)._outerHeight()+2); - }); - width += 40; - } - - width = Math.max(width, opts.minWidth); - var height = el.originalHeight || menu.outerHeight(); - var lineHeight = Math.max(el.originalHeight, menu.outerHeight()) - 2; - menu._outerWidth(width)._outerHeight(height); - menu.children('div.menu-line')._outerHeight(lineHeight); - -// menu._outerWidth(Math.max((menu[0].originalWidth || 0), width, opts.minWidth)); -// -// menu.children('div.menu-line')._outerHeight(menu.outerHeight()); - - style += ';width:' + el.style.width + ';height:' + el.style.height; - - menu.attr('style', style); - } - - /** - * bind menu event - */ - function bindMenuEvent(target, menu){ - var state = $.data(target, 'menu'); - menu.unbind('.menu').bind('mouseenter.menu', function(){ - if (state.timer){ - clearTimeout(state.timer); - state.timer = null; - } - }).bind('mouseleave.menu', function(){ - if (state.options.hideOnUnhover){ - state.timer = setTimeout(function(){ - hideAll(target); - }, 100); - } - }); - } - - /** - * bind menu item event - */ - function bindMenuItemEvent(target, item){ - if (!item.hasClass('menu-item')){return} - item.unbind('.menu'); - item.bind('click.menu', function(){ - if ($(this).hasClass('menu-item-disabled')){ - return; - } - // only the sub menu clicked can hide all menus - if (!this.submenu){ - hideAll(target); - var href = $(this).attr('href'); - if (href){ - location.href = href; - } - } - var item = $(target).menu('getItem', this); - $.data(target, 'menu').options.onClick.call(target, item); - }).bind('mouseenter.menu', function(e){ - // hide other menu - item.siblings().each(function(){ - if (this.submenu){ - hideMenu(this.submenu); - } - $(this).removeClass('menu-active'); - }); - // show this menu - item.addClass('menu-active'); - - if ($(this).hasClass('menu-item-disabled')){ - item.addClass('menu-active-disabled'); - return; - } - - var submenu = item[0].submenu; - if (submenu){ - $(target).menu('show', { - menu: submenu, - parent: item - }); - } - }).bind('mouseleave.menu', function(e){ - item.removeClass('menu-active menu-active-disabled'); - var submenu = item[0].submenu; - if (submenu){ - if (e.pageX>=parseInt(submenu.css('left'))){ - item.addClass('menu-active'); - } else { - hideMenu(submenu); - } - - } else { - item.removeClass('menu-active'); - } - }); - } - - /** - * hide top menu and it's all sub menus - */ - function hideAll(target){ - var state = $.data(target, 'menu'); - if (state){ - if ($(target).is(':visible')){ - hideMenu($(target)); - state.options.onHide.call(target); - } - } - return false; - } - - /** - * show the menu, the 'param' object has one or more properties: - * left: the left position to display - * top: the top position to display - * menu: the menu to display, if not defined, the 'target menu' is used - * parent: the parent menu item to align to - * alignTo: the element object to align to - */ - function showMenu(target, param){ - var left,top; - param = param || {}; - var menu = $(param.menu || target); - if (menu.hasClass('menu-top')){ - var opts = $.data(target, 'menu').options; - $.extend(opts, param); - left = opts.left; - top = opts.top; - if (opts.alignTo){ - var at = $(opts.alignTo); - left = at.offset().left; - top = at.offset().top + at._outerHeight(); - if (opts.align == 'right'){ - left += at.outerWidth() - menu.outerWidth(); - } - } - if (left + menu.outerWidth() > $(window)._outerWidth() + $(document)._scrollLeft()){ - left = $(window)._outerWidth() + $(document).scrollLeft() - menu.outerWidth() - 5; - } - if (left < 0){left = 0;} - if (top + menu.outerHeight() > $(window)._outerHeight() + $(document).scrollTop()){ - top = $(window)._outerHeight() + $(document).scrollTop() - menu.outerHeight() - 5; - } - } else { - var parent = param.parent; // the parent menu item - left = parent.offset().left + parent.outerWidth() - 2; - if (left + menu.outerWidth() + 5 > $(window)._outerWidth() + $(document).scrollLeft()){ - left = parent.offset().left - menu.outerWidth() + 2; - } - var top = parent.offset().top - 3; - if (top + menu.outerHeight() > $(window)._outerHeight() + $(document).scrollTop()){ - top = $(window)._outerHeight() + $(document).scrollTop() - menu.outerHeight() - 5; - } - } - menu.css({left:left,top:top}); - menu.show(0, function(){ - if (!menu[0].shadow){ - menu[0].shadow = $('').insertAfter(menu); - } - menu[0].shadow.css({ - display:'block', - zIndex:$.fn.menu.defaults.zIndex++, - left:menu.css('left'), - top:menu.css('top'), - width:menu.outerWidth(), - height:menu.outerHeight() - }); - menu.css('z-index', $.fn.menu.defaults.zIndex++); - if (menu.hasClass('menu-top')){ - $.data(menu[0], 'menu').options.onShow.call(menu[0]); - } - }); - } - - function hideMenu(menu){ - if (!menu) return; - - hideit(menu); - menu.find('div.menu-item').each(function(){ - if (this.submenu){ - hideMenu(this.submenu); - } - $(this).removeClass('menu-active'); - }); - - function hideit(m){ - m.stop(true,true); - if (m[0].shadow){ - m[0].shadow.hide(); - } - m.hide(); - } - } - - function findItem(target, text){ - var result = null; - var tmp = $('
                                              '); - function find(menu){ - menu.children('div.menu-item').each(function(){ - var item = $(target).menu('getItem', this); - var s = tmp.empty().html(item.text).text(); - if (text == $.trim(s)) { - result = item; - } else if (this.submenu && !result){ - find(this.submenu); - } - }); - } - find($(target)); - tmp.remove(); - return result; - } - - function setDisabled(target, itemEl, disabled){ - var t = $(itemEl); - if (!t.hasClass('menu-item')){return} - - if (disabled){ - t.addClass('menu-item-disabled'); - if (itemEl.onclick){ - itemEl.onclick1 = itemEl.onclick; - itemEl.onclick = null; - } - } else { - t.removeClass('menu-item-disabled'); - if (itemEl.onclick1){ - itemEl.onclick = itemEl.onclick1; - itemEl.onclick1 = null; - } - } - } - - function appendItem(target, param){ - var menu = $(target); - if (param.parent){ - if (!param.parent.submenu){ - var submenu = $('').appendTo('body'); - submenu.hide(); - param.parent.submenu = submenu; - $('').appendTo(param.parent); - } - menu = param.parent.submenu; - } - if (param.separator){ - var item = $('').appendTo(menu); - } else { - var item = $('').appendTo(menu); - $('').html(param.text).appendTo(item); - } - if (param.iconCls) $('').addClass(param.iconCls).appendTo(item); - if (param.id) item.attr('id', param.id); - if (param.name){item[0].itemName = param.name} - if (param.href){item[0].itemHref = param.href} - if (param.onclick){ - if (typeof param.onclick == 'string'){ - item.attr('onclick', param.onclick); - } else { - item[0].onclick = eval(param.onclick); - } - } - if (param.handler){item[0].onclick = eval(param.handler)} - if (param.disabled){setDisabled(target, item[0], true)} - - bindMenuItemEvent(target, item); - bindMenuEvent(target, menu); - setMenuWidth(target, menu); - } - - function removeItem(target, itemEl){ - function removeit(el){ - if (el.submenu){ - el.submenu.children('div.menu-item').each(function(){ - removeit(this); - }); - var shadow = el.submenu[0].shadow; - if (shadow) shadow.remove(); - el.submenu.remove(); - } - $(el).remove(); - } - removeit(itemEl); - } - - function destroyMenu(target){ - $(target).children('div.menu-item').each(function(){ - removeItem(target, this); - }); - if (target.shadow) target.shadow.remove(); - $(target).remove(); - } - - $.fn.menu = function(options, param){ - if (typeof options == 'string'){ - return $.fn.menu.methods[options](this, param); - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'menu'); - if (state){ - $.extend(state.options, options); - } else { - state = $.data(this, 'menu', { - options: $.extend({}, $.fn.menu.defaults, $.fn.menu.parseOptions(this), options) - }); - init(this); - } - $(this).css({ - left: state.options.left, - top: state.options.top - }); - }); - }; - - $.fn.menu.methods = { - options: function(jq){ - return $.data(jq[0], 'menu').options; - }, - show: function(jq, pos){ - return jq.each(function(){ - showMenu(this, pos); - }); - }, - hide: function(jq){ - return jq.each(function(){ - hideAll(this); - }); - }, - destroy: function(jq){ - return jq.each(function(){ - destroyMenu(this); - }); - }, - /** - * set the menu item text - * param: { - * target: DOM object, indicate the menu item - * text: string, the new text - * } - */ - setText: function(jq, param){ - return jq.each(function(){ - $(param.target).children('div.menu-text').html(param.text); - }); - }, - /** - * set the menu icon class - * param: { - * target: DOM object, indicate the menu item - * iconCls: the menu item icon class - * } - */ - setIcon: function(jq, param){ - return jq.each(function(){ - $(param.target).children('div.menu-icon').remove(); - if (param.iconCls){ - $('').addClass(param.iconCls).appendTo(param.target); - } - }); - }, - /** - * get the menu item data that contains the following property: - * { - * target: DOM object, the menu item - * id: the menu id - * text: the menu item text - * iconCls: the icon class - * href: a remote address to redirect to - * onclick: a function to be called when the item is clicked - * } - */ - getItem: function(jq, itemEl){ - var t = $(itemEl); - var item = { - target: itemEl, - id: t.attr('id'), - text: $.trim(t.children('div.menu-text').html()), - disabled: t.hasClass('menu-item-disabled'), -// href: t.attr('href'), -// name: t.attr('name'), - name: itemEl.itemName, - href: itemEl.itemHref, - onclick: itemEl.onclick - } - var icon = t.children('div.menu-icon'); - if (icon.length){ - var cc = []; - var aa = icon.attr('class').split(' '); - for(var i=0; i').appendTo('body'); - d.width(100); - $._boxModel = parseInt(d.width()) == 100; - d.remove(); - - if (!window.easyloader && $.parser.auto){ - $.parser.parse(); - } - }); - - /** - * extend plugin to set box model width - */ - $.fn._outerWidth = function(width){ - if (width == undefined){ - if (this[0] == window){ - return this.width() || document.body.clientWidth; - } - return this.outerWidth()||0; - } - return this.each(function(){ - if ($._boxModel){ - $(this).width(width - ($(this).outerWidth() - $(this).width())); - } else { - $(this).width(width); - } - }); - }; - - /** - * extend plugin to set box model height - */ - $.fn._outerHeight = function(height){ - if (height == undefined){ - if (this[0] == window){ - return this.height() || document.body.clientHeight; - } - return this.outerHeight()||0; - } - return this.each(function(){ - if ($._boxModel){ - $(this).height(height - ($(this).outerHeight() - $(this).height())); - } else { - $(this).height(height); - } - }); - }; - - $.fn._scrollLeft = function(left){ - if (left == undefined){ - return this.scrollLeft(); - } else { - return this.each(function(){$(this).scrollLeft(left)}); - } - } - - $.fn._propAttr = $.fn.prop || $.fn.attr; - - /** - * set or unset the fit property of parent container, return the width and height of parent container - */ - $.fn._fit = function(fit){ - fit = fit == undefined ? true : fit; - var t = this[0]; - var p = (t.tagName == 'BODY' ? t : this.parent()[0]); - var fcount = p.fcount || 0; - if (fit){ - if (!t.fitted){ - t.fitted = true; - p.fcount = fcount + 1; - $(p).addClass('panel-noscroll'); - if (p.tagName == 'BODY'){ - $('html').addClass('panel-fit'); - } - } - } else { - if (t.fitted){ - t.fitted = false; - p.fcount = fcount - 1; - if (p.fcount == 0){ - $(p).removeClass('panel-noscroll'); - if (p.tagName == 'BODY'){ - $('html').removeClass('panel-fit'); - } - } - } - } - return { - width: $(p).width(), - height: $(p).height() - } - } - -})(jQuery); - -/** - * support for mobile devices - */ -(function($){ - var longTouchTimer = null; - var dblTouchTimer = null; - var isDblClick = false; - - function onTouchStart(e){ - if (e.touches.length != 1){return} - if (!isDblClick){ - isDblClick = true; - dblClickTimer = setTimeout(function(){ - isDblClick = false; - }, 500); - } else { - clearTimeout(dblClickTimer); - isDblClick = false; - fire(e, 'dblclick'); -// e.preventDefault(); - } - longTouchTimer = setTimeout(function(){ - fire(e, 'contextmenu', 3); - }, 1000); - fire(e, 'mousedown'); - if ($.fn.draggable.isDragging || $.fn.resizable.isResizing){ - e.preventDefault(); - } - } - function onTouchMove(e){ - if (e.touches.length != 1){return} - if (longTouchTimer){ - clearTimeout(longTouchTimer); - } - fire(e, 'mousemove'); - if ($.fn.draggable.isDragging || $.fn.resizable.isResizing){ - e.preventDefault(); - } - } - function onTouchEnd(e){ -// if (e.touches.length > 0){return} - if (longTouchTimer){ - clearTimeout(longTouchTimer); - } - fire(e, 'mouseup'); - if ($.fn.draggable.isDragging || $.fn.resizable.isResizing){ - e.preventDefault(); - } - } - - function fire(e, name, which){ - var event = new $.Event(name); - event.pageX = e.changedTouches[0].pageX; - event.pageY = e.changedTouches[0].pageY; - event.which = which || 1; - $(e.target).trigger(event); - } - - if (document.addEventListener){ - document.addEventListener("touchstart", onTouchStart, true); - document.addEventListener("touchmove", onTouchMove, true); - document.addEventListener("touchend", onTouchEnd, true); - } -})(jQuery); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.progressbar.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.progressbar.js deleted file mode 100644 index 778eba2..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.progressbar.js +++ /dev/null @@ -1,101 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -/** - * progressbar - jQuery EasyUI - * - * Dependencies: - * none - * - */ -(function($){ - function init(target){ - $(target).addClass('progressbar'); - $(target).html('
                                              '); - return $(target); - } - - function setSize(target,width){ - var opts = $.data(target, 'progressbar').options; - var bar = $.data(target, 'progressbar').bar; - if (width) opts.width = width; - bar._outerWidth(opts.width)._outerHeight(opts.height); - - bar.find('div.progressbar-text').width(bar.width()); - bar.find('div.progressbar-text,div.progressbar-value').css({ - height: bar.height()+'px', - lineHeight: bar.height()+'px' - }); - } - - $.fn.progressbar = function(options, param){ - if (typeof options == 'string'){ - var method = $.fn.progressbar.methods[options]; - if (method){ - return method(this, param); - } - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'progressbar'); - if (state){ - $.extend(state.options, options); - } else { - state = $.data(this, 'progressbar', { - options: $.extend({}, $.fn.progressbar.defaults, $.fn.progressbar.parseOptions(this), options), - bar: init(this) - }); - } - $(this).progressbar('setValue', state.options.value); - setSize(this); - }); - }; - - $.fn.progressbar.methods = { - options: function(jq){ - return $.data(jq[0], 'progressbar').options; - }, - resize: function(jq, width){ - return jq.each(function(){ - setSize(this, width); - }); - }, - getValue: function(jq){ - return $.data(jq[0], 'progressbar').options.value; - }, - setValue: function(jq, value){ - if (value < 0) value = 0; - if (value > 100) value = 100; - return jq.each(function(){ - var opts = $.data(this, 'progressbar').options; - var text = opts.text.replace(/{value}/, value); - var oldValue = opts.value; - opts.value = value; - $(this).find('div.progressbar-value').width(value+'%'); - $(this).find('div.progressbar-text').html(text); - if (oldValue != value){ - opts.onChange.call(this, value, oldValue); - } - }); - } - }; - - $.fn.progressbar.parseOptions = function(target){ - return $.extend({}, $.parser.parseOptions(target, ['width','height','text',{value:'number'}])); - }; - - $.fn.progressbar.defaults = { - width: 'auto', - height: 22, - value: 0, // percentage value - text: '{value}%', - onChange:function(newValue,oldValue){} - }; -})(jQuery); diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.propertygrid.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.propertygrid.js deleted file mode 100644 index c1b4a71..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.propertygrid.js +++ /dev/null @@ -1,317 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -/** - * propertygrid - jQuery EasyUI - * - * Dependencies: - * datagrid - * - */ -(function($){ - var currTarget; - - function buildGrid(target){ - var state = $.data(target, 'propertygrid'); - var opts = $.data(target, 'propertygrid').options; - $(target).datagrid($.extend({}, opts, { - cls:'propertygrid', - view:(opts.showGroup ? opts.groupView : opts.view), - onClickRow:function(index, row){ - if (currTarget != this){ -// leaveCurrRow(); - stopEditing(currTarget); - currTarget = this; - } - if (opts.editIndex != index && row.editor){ - var col = $(this).datagrid('getColumnOption', "value"); - col.editor = row.editor; -// leaveCurrRow(); - stopEditing(currTarget); - $(this).datagrid('beginEdit', index); - $(this).datagrid('getEditors', index)[0].target.focus(); - opts.editIndex = index; - } - opts.onClickRow.call(target, index, row); - }, - loadFilter:function(data){ - stopEditing(this); - return opts.loadFilter.call(this, data); - } - })); - $(document).unbind('.propertygrid').bind('mousedown.propertygrid', function(e){ - var p = $(e.target).closest('div.datagrid-view,div.combo-panel'); -// var p = $(e.target).closest('div.propertygrid,div.combo-panel'); - if (p.length){return;} - stopEditing(currTarget); - currTarget = undefined; - }); - -// function leaveCurrRow(){ -// var t = $(currTarget); -// if (!t.length){return;} -// var opts = $.data(currTarget, 'propertygrid').options; -// var index = opts.editIndex; -// if (index == undefined){return;} -// var ed = t.datagrid('getEditors', index)[0]; -// if (ed){ -// ed.target.blur(); -// if (t.datagrid('validateRow', index)){ -// t.datagrid('endEdit', index); -// } else { -// t.datagrid('cancelEdit', index); -// } -// } -// opts.editIndex = undefined; -// } - } - - function stopEditing(target){ - var t = $(target); - if (!t.length){return} - var opts = $.data(target, 'propertygrid').options; - var index = opts.editIndex; - if (index == undefined){return;} - var ed = t.datagrid('getEditors', index)[0]; - if (ed){ - ed.target.blur(); - if (t.datagrid('validateRow', index)){ - t.datagrid('endEdit', index); - } else { - t.datagrid('cancelEdit', index); - } - } - opts.editIndex = undefined; - } - - $.fn.propertygrid = function(options, param){ - if (typeof options == 'string'){ - var method = $.fn.propertygrid.methods[options]; - if (method){ - return method(this, param); - } else { - return this.datagrid(options, param); - } - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'propertygrid'); - if (state){ - $.extend(state.options, options); - } else { - var opts = $.extend({}, $.fn.propertygrid.defaults, $.fn.propertygrid.parseOptions(this), options); - opts.frozenColumns = $.extend(true, [], opts.frozenColumns); - opts.columns = $.extend(true, [], opts.columns); - $.data(this, 'propertygrid', { - options: opts - }); - } - buildGrid(this); - }); - } - - $.fn.propertygrid.methods = { - options: function(jq){ - return $.data(jq[0], 'propertygrid').options; - } - }; - - $.fn.propertygrid.parseOptions = function(target){ - return $.extend({}, $.fn.datagrid.parseOptions(target), $.parser.parseOptions(target,[{showGroup:'boolean'}])); - }; - - // the group view definition - var groupview = $.extend({}, $.fn.datagrid.defaults.view, { - render: function(target, container, frozen){ - var table = []; - var groups = this.groups; - for(var i=0; i'); - table.push(''); - table.push(''); - if ((frozen && (opts.rownumbers || opts.frozenColumns.length)) || - (!frozen && !(opts.rownumbers || opts.frozenColumns.length))){ - table.push(''); - } - table.push(''); - table.push(''); - table.push('
                                               '); - if (!frozen){ - table.push(''); - table.push(opts.groupFormatter.call(target, group.value, group.rows)); - table.push(''); - } - table.push('
                                              '); - table.push(''); - - table.push(''); - var index = group.startIndex; - for(var j=0; j'); - table.push(this.renderRow.call(this, target, fields, frozen, index, group.rows[j])); - table.push(''); - index++; - } - table.push('
                                              '); - return table.join(''); - }, - - bindEvents: function(target){ - var state = $.data(target, 'datagrid'); - var dc = state.dc; - var body = dc.body1.add(dc.body2); - var clickHandler = ($.data(body[0],'events')||$._data(body[0],'events')).click[0].handler; - body.unbind('click').bind('click', function(e){ - var tt = $(e.target); - var expander = tt.closest('span.datagrid-row-expander'); - if (expander.length){ - var gindex = expander.closest('div.datagrid-group').attr('group-index'); - if (expander.hasClass('datagrid-row-collapse')){ - $(target).datagrid('collapseGroup', gindex); - } else { - $(target).datagrid('expandGroup', gindex); - } - } else { - clickHandler(e); - } - e.stopPropagation(); - }); - }, - - onBeforeRender: function(target, rows){ - var state = $.data(target, 'datagrid'); - var opts = state.options; - - initCss(); - - var groups = []; - for(var i=0; i' + - '.datagrid-group{height:25px;overflow:hidden;font-weight:bold;border-bottom:1px solid #ccc;}' + - '' - ); - } - } - } - }); - - $.extend($.fn.datagrid.methods, { - expandGroup:function(jq, groupIndex){ - return jq.each(function(){ - var view = $.data(this, 'datagrid').dc.view; - var group = view.find(groupIndex!=undefined ? 'div.datagrid-group[group-index="'+groupIndex+'"]' : 'div.datagrid-group'); - var expander = group.find('span.datagrid-row-expander'); - if (expander.hasClass('datagrid-row-expand')){ - expander.removeClass('datagrid-row-expand').addClass('datagrid-row-collapse'); - group.next('table').show(); - } - $(this).datagrid('fixRowHeight'); - }); - }, - collapseGroup:function(jq, groupIndex){ - return jq.each(function(){ - var view = $.data(this, 'datagrid').dc.view; - var group = view.find(groupIndex!=undefined ? 'div.datagrid-group[group-index="'+groupIndex+'"]' : 'div.datagrid-group'); - var expander = group.find('span.datagrid-row-expander'); - if (expander.hasClass('datagrid-row-collapse')){ - expander.removeClass('datagrid-row-collapse').addClass('datagrid-row-expand'); - group.next('table').hide(); - } - $(this).datagrid('fixRowHeight'); - }); - } - }); - // end of group view definition - - $.fn.propertygrid.defaults = $.extend({}, $.fn.datagrid.defaults, { - singleSelect:true, - remoteSort:false, - fitColumns:true, - loadMsg:'', - frozenColumns:[[ - {field:'f',width:16,resizable:false} - ]], - columns:[[ - {field:'name',title:'Name',width:100,sortable:true}, - {field:'value',title:'Value',width:100,resizable:false} - ]], - - showGroup:false, - groupView:groupview, - groupField:'group', - groupFormatter:function(fvalue,rows){return fvalue} - }); -})(jQuery); diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.resizable.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.resizable.js deleted file mode 100644 index 588a378..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.resizable.js +++ /dev/null @@ -1,247 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -/** - * resizable - jQuery EasyUI - * - */ -(function($){ -// var isResizing = false; - $.fn.resizable = function(options, param){ - if (typeof options == 'string'){ - return $.fn.resizable.methods[options](this, param); - } - - function resize(e){ - var resizeData = e.data; - var options = $.data(resizeData.target, 'resizable').options; - if (resizeData.dir.indexOf('e') != -1) { - var width = resizeData.startWidth + e.pageX - resizeData.startX; - width = Math.min( - Math.max(width, options.minWidth), - options.maxWidth - ); - resizeData.width = width; - } - if (resizeData.dir.indexOf('s') != -1) { - var height = resizeData.startHeight + e.pageY - resizeData.startY; - height = Math.min( - Math.max(height, options.minHeight), - options.maxHeight - ); - resizeData.height = height; - } - if (resizeData.dir.indexOf('w') != -1) { - var width = resizeData.startWidth - e.pageX + resizeData.startX; - width = Math.min( - Math.max(width, options.minWidth), - options.maxWidth - ); - resizeData.width = width; - resizeData.left = resizeData.startLeft + resizeData.startWidth - resizeData.width; - -// resizeData.width = resizeData.startWidth - e.pageX + resizeData.startX; -// if (resizeData.width >= options.minWidth && resizeData.width <= options.maxWidth) { -// resizeData.left = resizeData.startLeft + e.pageX - resizeData.startX; -// } - } - if (resizeData.dir.indexOf('n') != -1) { - var height = resizeData.startHeight - e.pageY + resizeData.startY; - height = Math.min( - Math.max(height, options.minHeight), - options.maxHeight - ); - resizeData.height = height; - resizeData.top = resizeData.startTop + resizeData.startHeight - resizeData.height; - -// resizeData.height = resizeData.startHeight - e.pageY + resizeData.startY; -// if (resizeData.height >= options.minHeight && resizeData.height <= options.maxHeight) { -// resizeData.top = resizeData.startTop + e.pageY - resizeData.startY; -// } - } - } - - function applySize(e){ - var resizeData = e.data; - var t = $(resizeData.target); - t.css({ - left: resizeData.left, - top: resizeData.top - }); - if (t.outerWidth() != resizeData.width){t._outerWidth(resizeData.width)} - if (t.outerHeight() != resizeData.height){t._outerHeight(resizeData.height)} -// t._outerWidth(resizeData.width)._outerHeight(resizeData.height); - } - - function doDown(e){ -// isResizing = true; - $.fn.resizable.isResizing = true; - $.data(e.data.target, 'resizable').options.onStartResize.call(e.data.target, e); - return false; - } - - function doMove(e){ - resize(e); - if ($.data(e.data.target, 'resizable').options.onResize.call(e.data.target, e) != false){ - applySize(e) - } - return false; - } - - function doUp(e){ -// isResizing = false; - $.fn.resizable.isResizing = false; - resize(e, true); - applySize(e); - $.data(e.data.target, 'resizable').options.onStopResize.call(e.data.target, e); - $(document).unbind('.resizable'); - $('body').css('cursor',''); -// $('body').css('cursor','auto'); - return false; - } - - return this.each(function(){ - var opts = null; - var state = $.data(this, 'resizable'); - if (state) { - $(this).unbind('.resizable'); - opts = $.extend(state.options, options || {}); - } else { - opts = $.extend({}, $.fn.resizable.defaults, $.fn.resizable.parseOptions(this), options || {}); - $.data(this, 'resizable', { - options:opts - }); - } - - if (opts.disabled == true) { - return; - } - - // bind mouse event using namespace resizable - $(this).bind('mousemove.resizable', {target:this}, function(e){ -// if (isResizing) return; - if ($.fn.resizable.isResizing){return} - var dir = getDirection(e); - if (dir == '') { - $(e.data.target).css('cursor', ''); - } else { - $(e.data.target).css('cursor', dir + '-resize'); - } - }).bind('mouseleave.resizable', {target:this}, function(e){ - $(e.data.target).css('cursor', ''); - }).bind('mousedown.resizable', {target:this}, function(e){ - var dir = getDirection(e); - if (dir == '') return; - - function getCssValue(css) { - var val = parseInt($(e.data.target).css(css)); - if (isNaN(val)) { - return 0; - } else { - return val; - } - } - - var data = { - target: e.data.target, - dir: dir, - startLeft: getCssValue('left'), - startTop: getCssValue('top'), - left: getCssValue('left'), - top: getCssValue('top'), - startX: e.pageX, - startY: e.pageY, - startWidth: $(e.data.target).outerWidth(), - startHeight: $(e.data.target).outerHeight(), - width: $(e.data.target).outerWidth(), - height: $(e.data.target).outerHeight(), - deltaWidth: $(e.data.target).outerWidth() - $(e.data.target).width(), - deltaHeight: $(e.data.target).outerHeight() - $(e.data.target).height() - }; - $(document).bind('mousedown.resizable', data, doDown); - $(document).bind('mousemove.resizable', data, doMove); - $(document).bind('mouseup.resizable', data, doUp); - $('body').css('cursor', dir+'-resize'); - }); - - // get the resize direction - function getDirection(e) { - var tt = $(e.data.target); - var dir = ''; - var offset = tt.offset(); - var width = tt.outerWidth(); - var height = tt.outerHeight(); - var edge = opts.edge; - if (e.pageY > offset.top && e.pageY < offset.top + edge) { - dir += 'n'; - } else if (e.pageY < offset.top + height && e.pageY > offset.top + height - edge) { - dir += 's'; - } - if (e.pageX > offset.left && e.pageX < offset.left + edge) { - dir += 'w'; - } else if (e.pageX < offset.left + width && e.pageX > offset.left + width - edge) { - dir += 'e'; - } - - var handles = opts.handles.split(','); - for(var i=0; i' + - '
                                              ' + - '' + - '' + - '
                                              ' + - '
                                              ' + - '
                                              ' + - '
                                              ' + - '' + - '').insertAfter(target); - var t = $(target); - t.addClass('slider-f').hide(); - var name = t.attr('name'); - if (name){ - slider.find('input.slider-value').attr('name', name); - t.removeAttr('name').attr('sliderName', name); - } - return slider; - } - - /** - * set the slider size, for vertical slider, the height property is required - */ - function setSize(target, param){ - var state = $.data(target, 'slider'); - var opts = state.options; - var slider = state.slider; - - if (param){ - if (param.width) opts.width = param.width; - if (param.height) opts.height = param.height; - } - if (opts.mode == 'h'){ - slider.css('height', ''); - slider.children('div').css('height', ''); - if (!isNaN(opts.width)){ - slider.width(opts.width); - } - } else { - slider.css('width', ''); - slider.children('div').css('width', ''); - if (!isNaN(opts.height)){ - slider.height(opts.height); - slider.find('div.slider-rule').height(opts.height); - slider.find('div.slider-rulelabel').height(opts.height); - slider.find('div.slider-inner')._outerHeight(opts.height); - } - } - initValue(target); - } - - /** - * show slider rule if needed - */ - function showRule(target){ - var state = $.data(target, 'slider'); - var opts = state.options; - var slider = state.slider; - - var aa = opts.mode == 'h' ? opts.rule : opts.rule.slice(0).reverse(); - if (opts.reversed){ - aa = aa.slice(0).reverse(); - } - _build(aa); - - function _build(aa){ - var rule = slider.find('div.slider-rule'); - var label = slider.find('div.slider-rulelabel'); - rule.empty(); - label.empty(); - for(var i=0; i').appendTo(rule); - span.css((opts.mode=='h'?'left':'top'), distance); - - // show the labels - if (aa[i] != '|'){ - span = $('').appendTo(label); - span.html(aa[i]); - if (opts.mode == 'h'){ - span.css({ - left: distance, - marginLeft: -Math.round(span.outerWidth()/2) - }); - } else { - span.css({ - top: distance, - marginTop: -Math.round(span.outerHeight()/2) - }); - } - } - } - } - } - - /** - * build the slider and set some properties - */ - function buildSlider(target){ - var state = $.data(target, 'slider'); - var opts = state.options; - var slider = state.slider; - - slider.removeClass('slider-h slider-v slider-disabled'); - slider.addClass(opts.mode == 'h' ? 'slider-h' : 'slider-v'); - slider.addClass(opts.disabled ? 'slider-disabled' : ''); - - slider.find('a.slider-handle').draggable({ - axis:opts.mode, - cursor:'pointer', - disabled: opts.disabled, - onDrag:function(e){ - var left = e.data.left; - var width = slider.width(); - if (opts.mode!='h'){ - left = e.data.top; - width = slider.height(); - } - if (left < 0 || left > width) { - return false; - } else { - var value = pos2value(target, left); - adjustValue(value); - return false; - } - }, - onBeforeDrag:function(){ - state.isDragging = true; - }, - onStartDrag:function(){ - opts.onSlideStart.call(target, opts.value); - }, - onStopDrag:function(e){ - var value = pos2value(target, (opts.mode=='h'?e.data.left:e.data.top)); - adjustValue(value); - opts.onSlideEnd.call(target, opts.value); - opts.onComplete.call(target, opts.value); - state.isDragging = false; - } - }); - slider.find('div.slider-inner').unbind('.slider').bind('mousedown.slider', function(e){ - if (state.isDragging){return} - var pos = $(this).offset(); - var value = pos2value(target, (opts.mode=='h'?(e.pageX-pos.left):(e.pageY-pos.top))); - adjustValue(value); - opts.onComplete.call(target, opts.value); - }); - - function adjustValue(value){ - var s = Math.abs(value % opts.step); - if (s < opts.step/2){ - value -= s; - } else { - value = value - s + opts.step; - } - setValue(target, value); - } - } - - /** - * set a specified value to slider - */ - function setValue(target, value){ - var state = $.data(target, 'slider'); - var opts = state.options; - var slider = state.slider; - var oldValue = opts.value; - if (value < opts.min) value = opts.min; - if (value > opts.max) value = opts.max; - - opts.value = value; - $(target).val(value); - slider.find('input.slider-value').val(value); - - var pos = value2pos(target, value); - var tip = slider.find('.slider-tip'); - if (opts.showTip){ - tip.show(); - tip.html(opts.tipFormatter.call(target, opts.value)); - } else { - tip.hide(); - } - - if (opts.mode == 'h'){ - var style = 'left:'+pos+'px;'; - slider.find('.slider-handle').attr('style', style); - tip.attr('style', style + 'margin-left:' + (-Math.round(tip.outerWidth()/2)) + 'px'); - } else { - var style = 'top:' + pos + 'px;'; - slider.find('.slider-handle').attr('style', style); - tip.attr('style', style + 'margin-left:' + (-Math.round(tip.outerWidth())) + 'px'); - } - - if (oldValue != value){ - opts.onChange.call(target, value, oldValue); - } - } - - function initValue(target){ - var opts = $.data(target, 'slider').options; - var fn = opts.onChange; - opts.onChange = function(){}; - setValue(target, opts.value); - opts.onChange = fn; - } - - /** - * translate value to slider position - */ -// function value2pos(target, value){ -// var state = $.data(target, 'slider'); -// var opts = state.options; -// var slider = state.slider; -// if (opts.mode == 'h'){ -// var pos = (value-opts.min)/(opts.max-opts.min)*slider.width(); -// if (opts.reversed){ -// pos = slider.width() - pos; -// } -// } else { -// var pos = slider.height() - (value-opts.min)/(opts.max-opts.min)*slider.height(); -// if (opts.reversed){ -// pos = slider.height() - pos; -// } -// } -// return pos.toFixed(0); -// } - function value2pos(target, value){ - var state = $.data(target, 'slider'); - var opts = state.options; - var slider = state.slider; - var size = opts.mode == 'h' ? slider.width() : slider.height(); - var pos = opts.converter.toPosition.call(target, value, size); - if (opts.mode == 'v'){ - pos = slider.height() - pos; - } - if (opts.reversed){ - pos = size - pos; - } - return pos.toFixed(0); - } - - /** - * translate slider position to value - */ -// function pos2value(target, pos){ -// var state = $.data(target, 'slider'); -// var opts = state.options; -// var slider = state.slider; -// if (opts.mode == 'h'){ -// var value = opts.min + (opts.max-opts.min)*(pos/slider.width()); -// } else { -// var value = opts.min + (opts.max-opts.min)*((slider.height()-pos)/slider.height()); -// } -// return opts.reversed ? opts.max - value.toFixed(0) : value.toFixed(0); -// } - function pos2value(target, pos){ - var state = $.data(target, 'slider'); - var opts = state.options; - var slider = state.slider; - var size = opts.mode == 'h' ? slider.width() : slider.height(); - var value = opts.converter.toValue.call(target, opts.mode=='h'?(opts.reversed?(size-pos):pos):(size-pos), size); - return value.toFixed(0); -// var value = opts.converter.toValue.call(target, opts.mode=='h'?pos:(size-pos), size); -// return opts.reversed ? opts.max - value.toFixed(0) : value.toFixed(0); - } - - $.fn.slider = function(options, param){ - if (typeof options == 'string'){ - return $.fn.slider.methods[options](this, param); - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'slider'); - if (state){ - $.extend(state.options, options); - } else { - state = $.data(this, 'slider', { - options: $.extend({}, $.fn.slider.defaults, $.fn.slider.parseOptions(this), options), - slider: init(this) - }); - $(this).removeAttr('disabled'); - } - - var opts = state.options; - opts.min = parseFloat(opts.min); - opts.max = parseFloat(opts.max); - opts.value = parseFloat(opts.value); - opts.step = parseFloat(opts.step); - opts.originalValue = opts.value; - - buildSlider(this); - showRule(this); - setSize(this); - }); - }; - - $.fn.slider.methods = { - options: function(jq){ - return $.data(jq[0], 'slider').options; - }, - destroy: function(jq){ - return jq.each(function(){ - $.data(this, 'slider').slider.remove(); - $(this).remove(); - }); - }, - resize: function(jq, param){ - return jq.each(function(){ - setSize(this, param); - }); - }, - getValue: function(jq){ - return jq.slider('options').value; - }, - setValue: function(jq, value){ - return jq.each(function(){ - setValue(this, value); - }); - }, - clear: function(jq){ - return jq.each(function(){ - var opts = $(this).slider('options'); - setValue(this, opts.min); - }); - }, - reset: function(jq){ - return jq.each(function(){ - var opts = $(this).slider('options'); - setValue(this, opts.originalValue); - }); - }, - enable: function(jq){ - return jq.each(function(){ - $.data(this, 'slider').options.disabled = false; - buildSlider(this); - }); - }, - disable: function(jq){ - return jq.each(function(){ - $.data(this, 'slider').options.disabled = true; - buildSlider(this); - }); - } - }; - - $.fn.slider.parseOptions = function(target){ - var t = $(target); - return $.extend({}, $.parser.parseOptions(target, [ - 'width','height','mode',{reversed:'boolean',showTip:'boolean',min:'number',max:'number',step:'number'} - ]), { - value: (t.val() || undefined), - disabled: (t.attr('disabled') ? true : undefined), - rule: (t.attr('rule') ? eval(t.attr('rule')) : undefined) - }); - }; - - $.fn.slider.defaults = { - width: 'auto', - height: 'auto', - mode: 'h', // 'h'(horizontal) or 'v'(vertical) - reversed: false, - showTip: false, - disabled: false, - value: 0, - min: 0, - max: 100, - step: 1, - rule: [], // [0,'|',100] - tipFormatter: function(value){return value}, - converter:{ - toPosition:function(value, size){ - var opts = $(this).slider('options'); - return (value-opts.min)/(opts.max-opts.min)*size; - }, - toValue:function(pos, size){ - var opts = $(this).slider('options'); - return opts.min + (opts.max-opts.min)*(pos/size); - } - }, - onChange: function(value, oldValue){}, - onSlideStart: function(value){}, - onSlideEnd: function(value){}, - onComplete: function(value){} - }; -})(jQuery); diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.tabs.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.tabs.js deleted file mode 100644 index 4d03661..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.tabs.js +++ /dev/null @@ -1,792 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -/** - * tabs - jQuery EasyUI - * - * Dependencies: - * panel - * linkbutton - * - */ -(function($){ - - /** - * set the tabs scrollers to show or not, - * dependent on the tabs count and width - */ - function setScrollers(container) { - var opts = $.data(container, 'tabs').options; - if (opts.tabPosition == 'left' || opts.tabPosition == 'right' || !opts.showHeader){return} - - var header = $(container).children('div.tabs-header'); - var tool = header.children('div.tabs-tool'); - var sLeft = header.children('div.tabs-scroller-left'); - var sRight = header.children('div.tabs-scroller-right'); - var wrap = header.children('div.tabs-wrap'); - - // set the tool height - var tHeight = header.outerHeight(); - if (opts.plain){ - tHeight -= tHeight - header.height(); - } - tool._outerHeight(tHeight); - - var tabsWidth = 0; - $('ul.tabs li', header).each(function(){ - tabsWidth += $(this).outerWidth(true); - }); - var cWidth = header.width() - tool._outerWidth(); - - if (tabsWidth > cWidth) { - sLeft.add(sRight).show()._outerHeight(tHeight); - if (opts.toolPosition == 'left'){ - tool.css({ - left: sLeft.outerWidth(), - right: '' - }); - wrap.css({ - marginLeft: sLeft.outerWidth() + tool._outerWidth(), - marginRight: sRight._outerWidth(), - width: cWidth - sLeft.outerWidth() - sRight.outerWidth() - }); - } else { - tool.css({ - left: '', - right: sRight.outerWidth() - }); - wrap.css({ - marginLeft: sLeft.outerWidth(), - marginRight: sRight.outerWidth() + tool._outerWidth(), - width: cWidth - sLeft.outerWidth() - sRight.outerWidth() - }); - } - } else { - sLeft.add(sRight).hide(); - if (opts.toolPosition == 'left'){ - tool.css({ - left: 0, - right: '' - }); - wrap.css({ - marginLeft: tool._outerWidth(), - marginRight: 0, - width: cWidth - }); - } else { - tool.css({ - left: '', - right: 0 - }); - wrap.css({ - marginLeft: 0, - marginRight: tool._outerWidth(), - width: cWidth - }); - } - } - } - - function addTools(container){ - var opts = $.data(container, 'tabs').options; - var header = $(container).children('div.tabs-header'); - if (opts.tools) { - if (typeof opts.tools == 'string'){ - $(opts.tools).addClass('tabs-tool').appendTo(header); - $(opts.tools).show(); - } else { - header.children('div.tabs-tool').remove(); - var tools = $('
                                              ').appendTo(header); - var tr = tools.find('tr'); - for(var i=0; i').appendTo(tr); - var tool = $('').appendTo(td); - tool[0].onclick = eval(opts.tools[i].handler || function(){}); - tool.linkbutton($.extend({}, opts.tools[i], { - plain: true - })); - } - } - } else { - header.children('div.tabs-tool').remove(); - } - } - - function setSize(container) { - var state = $.data(container, 'tabs'); - var opts = state.options; - var cc = $(container); - - opts.fit ? $.extend(opts, cc._fit()) : cc._fit(false); - cc.width(opts.width).height(opts.height); - - var header = $(container).children('div.tabs-header'); - var panels = $(container).children('div.tabs-panels'); - var wrap = header.find('div.tabs-wrap'); - var ul = wrap.find('.tabs'); - - for(var i=0; i').insertBefore(cc); - cc.children('div').each(function(){ - pp[0].appendChild(this); - }); - cc[0].appendChild(pp[0]); -// cc.wrapInner('
                                              '); - $('
                                              ' - + '
                                              ' - + '
                                              ' - + '
                                              ' - + '
                                                ' - + '
                                                ' - + '
                                                ').prependTo(container); - - cc.children('div.tabs-panels').children('div').each(function(i){ - var opts = $.extend({}, $.parser.parseOptions(this), { - selected: ($(this).attr('selected') ? true : undefined) - }); - var pp = $(this); - tabs.push(pp); - createTab(container, pp, opts); - }); - - cc.children('div.tabs-header').find('.tabs-scroller-left, .tabs-scroller-right').hover( - function(){$(this).addClass('tabs-scroller-over');}, - function(){$(this).removeClass('tabs-scroller-over');} - ); - cc.bind('_resize', function(e,force){ - var opts = $.data(container, 'tabs').options; - if (opts.fit == true || force){ - setSize(container); - setSelectedSize(container); - } - return false; - }); - } - - function bindEvents(container){ - var state = $.data(container, 'tabs') - var opts = state.options; - $(container).children('div.tabs-header').unbind().bind('click', function(e){ - if ($(e.target).hasClass('tabs-scroller-left')){ - $(container).tabs('scrollBy', -opts.scrollIncrement); - } else if ($(e.target).hasClass('tabs-scroller-right')){ - $(container).tabs('scrollBy', opts.scrollIncrement); - } else { - var li = $(e.target).closest('li'); - if (li.hasClass('tabs-disabled')){return;} - var a = $(e.target).closest('a.tabs-close'); - if (a.length){ - closeTab(container, getLiIndex(li)); - } else if (li.length){ -// selectTab(container, getLiIndex(li)); - var index = getLiIndex(li); - var popts = state.tabs[index].panel('options'); - if (popts.collapsible){ - popts.closed ? selectTab(container, index) : unselectTab(container, index); - } else { - selectTab(container, index); - } - } - } - }).bind('contextmenu', function(e){ - var li = $(e.target).closest('li'); - if (li.hasClass('tabs-disabled')){return;} - if (li.length){ - opts.onContextMenu.call(container, e, li.find('span.tabs-title').html(), getLiIndex(li)); - } - }); - - function getLiIndex(li){ - var index = 0; - li.parent().children('li').each(function(i){ - if (li[0] == this){ - index = i; - return false; - } - }); - return index; - } - } - - function setProperties(container){ - var opts = $.data(container, 'tabs').options; - var header = $(container).children('div.tabs-header'); - var panels = $(container).children('div.tabs-panels'); - - header.removeClass('tabs-header-top tabs-header-bottom tabs-header-left tabs-header-right'); - panels.removeClass('tabs-panels-top tabs-panels-bottom tabs-panels-left tabs-panels-right'); - if (opts.tabPosition == 'top'){ - header.insertBefore(panels); - } else if (opts.tabPosition == 'bottom'){ - header.insertAfter(panels); - header.addClass('tabs-header-bottom'); - panels.addClass('tabs-panels-top'); - } else if (opts.tabPosition == 'left'){ - header.addClass('tabs-header-left'); - panels.addClass('tabs-panels-right'); - } else if (opts.tabPosition == 'right'){ - header.addClass('tabs-header-right'); - panels.addClass('tabs-panels-left'); - } - - if (opts.plain == true) { - header.addClass('tabs-header-plain'); - } else { - header.removeClass('tabs-header-plain'); - } - if (opts.border == true){ - header.removeClass('tabs-header-noborder'); - panels.removeClass('tabs-panels-noborder'); - } else { - header.addClass('tabs-header-noborder'); - panels.addClass('tabs-panels-noborder'); - } - } - - function createTab(container, pp, options) { - var state = $.data(container, 'tabs'); - options = options || {}; - - // create panel - pp.panel($.extend({}, options, { - border: false, - noheader: true, - closed: true, - doSize: false, - iconCls: (options.icon ? options.icon : undefined), - onLoad: function(){ - if (options.onLoad){ - options.onLoad.call(this, arguments); - } - state.options.onLoad.call(container, $(this)); - } - })); - - var opts = pp.panel('options'); - - var tabs = $(container).children('div.tabs-header').find('ul.tabs'); - - opts.tab = $('
                                              • ').appendTo(tabs); // set the tab object in panel options - opts.tab.append( - '' + - '' + - '' + - '' - ); - - $(container).tabs('update', { - tab: pp, - options: opts - }); - } - - function addTab(container, options) { - var opts = $.data(container, 'tabs').options; - var tabs = $.data(container, 'tabs').tabs; - if (options.selected == undefined) options.selected = true; - - var pp = $('
                                                ').appendTo($(container).children('div.tabs-panels')); - tabs.push(pp); - createTab(container, pp, options); - - opts.onAdd.call(container, options.title, tabs.length-1); - -// setScrollers(container); - setSize(container); - if (options.selected){ - selectTab(container, tabs.length-1); // select the added tab panel - } - } - - /** - * update tab panel, param has following properties: - * tab: the tab panel to be updated - * options: the tab panel options - */ - function updateTab(container, param){ - var selectHis = $.data(container, 'tabs').selectHis; - var pp = param.tab; // the tab panel - var oldTitle = pp.panel('options').title; - pp.panel($.extend({}, param.options, { - iconCls: (param.options.icon ? param.options.icon : undefined) - })); - - var opts = pp.panel('options'); // get the tab panel options - var tab = opts.tab; - - var s_title = tab.find('span.tabs-title'); - var s_icon = tab.find('span.tabs-icon'); - s_title.html(opts.title); - s_icon.attr('class', 'tabs-icon'); - - tab.find('a.tabs-close').remove(); - if (opts.closable){ - s_title.addClass('tabs-closable'); - $('').appendTo(tab); - } else{ - s_title.removeClass('tabs-closable'); - } - if (opts.iconCls){ - s_title.addClass('tabs-with-icon'); - s_icon.addClass(opts.iconCls); - } else { - s_title.removeClass('tabs-with-icon'); - } - - if (oldTitle != opts.title){ - for(var i=0; i').insertAfter(tab.find('a.tabs-inner')); - if ($.isArray(opts.tools)){ - for(var i=0; i').appendTo(p_tool); - t.addClass(opts.tools[i].iconCls); - if (opts.tools[i].handler){ - t.bind('click', {handler:opts.tools[i].handler}, function(e){ - if ($(this).parents('li').hasClass('tabs-disabled')){return;} - e.data.handler.call(this); - }); - } - } - } else { - $(opts.tools).children().appendTo(p_tool); - } - var pr = p_tool.children().length * 12; - if (opts.closable) { - pr += 8; - } else { - pr -= 3; - p_tool.css('right','5px'); - } - s_title.css('padding-right', pr+'px'); - } - -// setProperties(container); -// setScrollers(container); - setSize(container); - - $.data(container, 'tabs').options.onUpdate.call(container, opts.title, getTabIndex(container, pp)); - } - - /** - * close a tab with specified index or title - */ - function closeTab(container, which) { - var opts = $.data(container, 'tabs').options; - var tabs = $.data(container, 'tabs').tabs; - var selectHis = $.data(container, 'tabs').selectHis; - - if (!exists(container, which)) return; - - var tab = getTab(container, which); - var title = tab.panel('options').title; - var index = getTabIndex(container, tab); - - if (opts.onBeforeClose.call(container, title, index) == false) return; - - var tab = getTab(container, which, true); - tab.panel('options').tab.remove(); - tab.panel('destroy'); - - opts.onClose.call(container, title, index); - -// setScrollers(container); - setSize(container); - - // remove the select history item - for(var i=0; i= tabs.length){ - return null; - } else { - var tab = tabs[which]; - if (removeit) { - tabs.splice(which, 1); - } - return tab; - } - } - for(var i=0; idiv.tabs-header>div.tabs-wrap'); - var left = tab.position().left; - var right = left + tab.outerWidth(); - if (left < 0 || right > wrap.width()){ - var deltaX = left - (wrap.width()-tab.width()) / 2; - $(container).tabs('scrollBy', deltaX); - } else { - $(container).tabs('scrollBy', 0); - } - - setSelectedSize(container); - - opts.onSelect.call(container, title, getTabIndex(container, panel)); - } - - function unselectTab(container, which){ - var state = $.data(container, 'tabs'); - var p = getTab(container, which); - if (p){ - var opts = p.panel('options'); - if (!opts.closed){ - p.panel('close'); - if (opts.closed){ - opts.tab.removeClass('tabs-selected'); - state.options.onUnselect.call(container, opts.title, getTabIndex(container, p)); - } - } - } - } - - function exists(container, which){ - return getTab(container, which) != null; - } - - function showHeader(container, visible){ - var opts = $.data(container, 'tabs').options; - opts.showHeader = visible; - $(container).tabs('resize'); - } - - - $.fn.tabs = function(options, param){ - if (typeof options == 'string') { - return $.fn.tabs.methods[options](this, param); - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'tabs'); - var opts; - if (state) { - opts = $.extend(state.options, options); - state.options = opts; - } else { - $.data(this, 'tabs', { - options: $.extend({},$.fn.tabs.defaults, $.fn.tabs.parseOptions(this), options), - tabs: [], - selectHis: [] - }); - wrapTabs(this); - } - - addTools(this); - setProperties(this); - setSize(this); - bindEvents(this); - - doFirstSelect(this); - }); - }; - - $.fn.tabs.methods = { - options: function(jq){ - var cc = jq[0]; - var opts = $.data(cc, 'tabs').options; - var s = getSelectedTab(cc); - opts.selected = s ? getTabIndex(cc, s) : -1; - return opts; - }, - tabs: function(jq){ - return $.data(jq[0], 'tabs').tabs; - }, - resize: function(jq){ - return jq.each(function(){ - setSize(this); - setSelectedSize(this); - }); - }, - add: function(jq, options){ - return jq.each(function(){ - addTab(this, options); - }); - }, - close: function(jq, which){ - return jq.each(function(){ - closeTab(this, which); - }); - }, - getTab: function(jq, which){ - return getTab(jq[0], which); - }, - getTabIndex: function(jq, tab){ - return getTabIndex(jq[0], tab); - }, - getSelected: function(jq){ - return getSelectedTab(jq[0]); - }, - select: function(jq, which){ - return jq.each(function(){ - selectTab(this, which); - }); - }, - unselect: function(jq, which){ - return jq.each(function(){ - unselectTab(this, which); - }); - }, - exists: function(jq, which){ - return exists(jq[0], which); - }, - update: function(jq, options){ - return jq.each(function(){ - updateTab(this, options); - }); - }, - enableTab: function(jq, which){ - return jq.each(function(){ - $(this).tabs('getTab', which).panel('options').tab.removeClass('tabs-disabled'); - }); - }, - disableTab: function(jq, which){ - return jq.each(function(){ - $(this).tabs('getTab', which).panel('options').tab.addClass('tabs-disabled'); - }); - }, - showHeader: function(jq){ - return jq.each(function(){ - showHeader(this, true); - }); - }, - hideHeader: function(jq){ - return jq.each(function(){ - showHeader(this, false); - }); - }, - scrollBy: function(jq, deltaX){ // scroll the tab header by the specified amount of pixels - return jq.each(function(){ - var opts = $(this).tabs('options'); - var wrap = $(this).find('>div.tabs-header>div.tabs-wrap'); - var pos = Math.min(wrap._scrollLeft() + deltaX, getMaxScrollWidth()); - wrap.animate({scrollLeft: pos}, opts.scrollDuration); - - function getMaxScrollWidth(){ - var w = 0; - var ul = wrap.children('ul'); - ul.children('li').each(function(){ - w += $(this).outerWidth(true); - }); - return w - wrap.width() + (ul.outerWidth() - ul.width()); - } - }); - } - }; - - $.fn.tabs.parseOptions = function(target){ - return $.extend({}, $.parser.parseOptions(target, [ - 'width','height','tools','toolPosition','tabPosition', - {fit:'boolean',border:'boolean',plain:'boolean',headerWidth:'number',tabWidth:'number',tabHeight:'number',selected:'number',showHeader:'boolean'} - ])); - }; - - $.fn.tabs.defaults = { - width: 'auto', - height: 'auto', - headerWidth: 150, // the tab header width, it is valid only when tabPosition set to 'left' or 'right' - tabWidth: 'auto', // the tab width - tabHeight: 27, // the tab height - selected: 0, // the initialized selected tab index - showHeader: true, - plain: false, - fit: false, - border: true, - tools: null, - toolPosition: 'right', // left,right - tabPosition: 'top', // possible values: top,bottom - scrollIncrement: 100, - scrollDuration: 400, - onLoad: function(panel){}, - onSelect: function(title, index){}, - onUnselect: function(title, index){}, - onBeforeClose: function(title, index){}, - onClose: function(title, index){}, - onAdd: function(title, index){}, - onUpdate: function(title, index){}, - onContextMenu: function(e, title, index){} - }; -})(jQuery); diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.window.js b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.window.js deleted file mode 100644 index 70d84bd..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/src/jquery.window.js +++ /dev/null @@ -1,412 +0,0 @@ -/** - * jQuery EasyUI 1.3.6 - * - * Copyright (c) 2009-2014 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL license: http://www.gnu.org/licenses/gpl.txt - * To use it on other terms please contact us at info@jeasyui.com - * - */ -/** - * window - jQuery EasyUI - * - * Dependencies: - * panel - * draggable - * resizable - * - */ -(function($){ - function setSize(target, param){ - var opts = $.data(target, 'window').options; - if (param){ - $.extend(opts, param); -// if (param.width) opts.width = param.width; -// if (param.height) opts.height = param.height; -// if (param.left != null) opts.left = param.left; -// if (param.top != null) opts.top = param.top; - } - $(target).panel('resize', opts); - } - - function moveWindow(target, param){ - var state = $.data(target, 'window'); - if (param){ - if (param.left != null) state.options.left = param.left; - if (param.top != null) state.options.top = param.top; - } - $(target).panel('move', state.options); - if (state.shadow){ - state.shadow.css({ - left: state.options.left, - top: state.options.top - }); - } - } - - /** - * center the window only horizontally - */ - function hcenter(target, tomove){ - var state = $.data(target, 'window'); - var opts = state.options; - var width = opts.width; - if (isNaN(width)){ - width = state.window._outerWidth(); - } - if (opts.inline){ - var parent = state.window.parent(); - opts.left = (parent.width() - width) / 2 + parent.scrollLeft(); - } else { - opts.left = ($(window)._outerWidth() - width) / 2 + $(document).scrollLeft(); - } - if (tomove){moveWindow(target);} - } - - /** - * center the window only vertically - */ - function vcenter(target, tomove){ - var state = $.data(target, 'window'); - var opts = state.options; - var height = opts.height; - if (isNaN(height)){ - height = state.window._outerHeight(); - } - if (opts.inline){ - var parent = state.window.parent(); - opts.top = (parent.height() - height) / 2 + parent.scrollTop(); - } else { - opts.top = ($(window)._outerHeight() - height) / 2 + $(document).scrollTop(); - } - if (tomove){moveWindow(target);} - } - - function create(target){ - var state = $.data(target, 'window'); - var winClosed = state.options.closed; - var win = $(target).panel($.extend({}, state.options, { - border: false, - doSize: true, // size the panel, the property undefined in window component - closed: true, // close the panel - cls: 'window', - headerCls: 'window-header', - bodyCls: 'window-body ' + (state.options.noheader ? 'window-body-noheader' : ''), - - onBeforeDestroy: function(){ - if (state.options.onBeforeDestroy.call(target) == false) return false; - if (state.shadow) state.shadow.remove(); - if (state.mask) state.mask.remove(); - }, - onClose: function(){ - if (state.shadow) state.shadow.hide(); - if (state.mask) state.mask.hide(); - - state.options.onClose.call(target); - }, - onOpen: function(){ - if (state.mask){ - state.mask.css({ - display:'block', - zIndex: $.fn.window.defaults.zIndex++ - }); - } - if (state.shadow){ - state.shadow.css({ - display:'block', - zIndex: $.fn.window.defaults.zIndex++, - left: state.options.left, - top: state.options.top, - width: state.window._outerWidth(), - height: state.window._outerHeight() - }); - } - state.window.css('z-index', $.fn.window.defaults.zIndex++); - - state.options.onOpen.call(target); - }, - onResize: function(width, height){ - var opts = $(this).panel('options'); - $.extend(state.options, { - width: opts.width, - height: opts.height, - left: opts.left, - top: opts.top - }); - if (state.shadow){ - state.shadow.css({ - left: state.options.left, - top: state.options.top, - width: state.window._outerWidth(), - height: state.window._outerHeight() - }); - } - - state.options.onResize.call(target, width, height); - }, - onMinimize: function(){ - if (state.shadow) state.shadow.hide(); - if (state.mask) state.mask.hide(); - - state.options.onMinimize.call(target); - }, - onBeforeCollapse: function(){ - if (state.options.onBeforeCollapse.call(target) == false) return false; - if (state.shadow) state.shadow.hide(); - }, - onExpand: function(){ - if (state.shadow) state.shadow.show(); - state.options.onExpand.call(target); - } - })); - - state.window = win.panel('panel'); - - // create mask - if (state.mask) state.mask.remove(); - if (state.options.modal == true){ - state.mask = $('
                                                ').insertAfter(state.window); - state.mask.css({ - width: (state.options.inline ? state.mask.parent().width() : getPageArea().width), - height: (state.options.inline ? state.mask.parent().height() : getPageArea().height), - display: 'none' - }); - } - - // create shadow - if (state.shadow) state.shadow.remove(); - if (state.options.shadow == true){ - state.shadow = $('
                                                ').insertAfter(state.window); - state.shadow.css({ - display: 'none' - }); - } - - // if require center the window - if (state.options.left == null){hcenter(target);} - if (state.options.top == null){vcenter(target);} - moveWindow(target); - - if (!winClosed){ - win.window('open'); // open the window - } - } - - - /** - * set window drag and resize property - */ - function setProperties(target){ - var state = $.data(target, 'window'); - - state.window.draggable({ - handle: '>div.panel-header>div.panel-title', - disabled: state.options.draggable == false, - onStartDrag: function(e){ - if (state.mask) state.mask.css('z-index', $.fn.window.defaults.zIndex++); - if (state.shadow) state.shadow.css('z-index', $.fn.window.defaults.zIndex++); - state.window.css('z-index', $.fn.window.defaults.zIndex++); - - if (!state.proxy){ - state.proxy = $('
                                                ').insertAfter(state.window); - } - state.proxy.css({ - display:'none', - zIndex: $.fn.window.defaults.zIndex++, - left: e.data.left, - top: e.data.top - }); - state.proxy._outerWidth(state.window._outerWidth()); - state.proxy._outerHeight(state.window._outerHeight()); - setTimeout(function(){ - if (state.proxy) state.proxy.show(); - }, 500); - }, - onDrag: function(e){ - state.proxy.css({ - display:'block', - left: e.data.left, - top: e.data.top - }); - return false; - }, - onStopDrag: function(e){ - state.options.left = e.data.left; - state.options.top = e.data.top; - $(target).window('move'); - state.proxy.remove(); - state.proxy = null; - } - }); - - state.window.resizable({ - disabled: state.options.resizable == false, - onStartResize:function(e){ - state.pmask = $('
                                                ').insertAfter(state.window); - state.pmask.css({ - zIndex: $.fn.window.defaults.zIndex++, - left: e.data.left, - top: e.data.top, - width: state.window._outerWidth(), - height: state.window._outerHeight() - }); - if (!state.proxy){ - state.proxy = $('
                                                ').insertAfter(state.window); - } - state.proxy.css({ - zIndex: $.fn.window.defaults.zIndex++, - left: e.data.left, - top: e.data.top - }); - state.proxy._outerWidth(e.data.width); - state.proxy._outerHeight(e.data.height); - }, - onResize: function(e){ - state.proxy.css({ - left: e.data.left, - top: e.data.top - }); - state.proxy._outerWidth(e.data.width); - state.proxy._outerHeight(e.data.height); - return false; - }, - onStopResize: function(e){ - $.extend(state.options, { - left: e.data.left, - top: e.data.top, - width: e.data.width, - height: e.data.height - }); - setSize(target); - state.pmask.remove(); - state.pmask = null; - state.proxy.remove(); - state.proxy = null; - } - }); - } - - function getPageArea() { - if (document.compatMode == 'BackCompat') { - return { - width: Math.max(document.body.scrollWidth, document.body.clientWidth), - height: Math.max(document.body.scrollHeight, document.body.clientHeight) - } - } else { - return { - width: Math.max(document.documentElement.scrollWidth, document.documentElement.clientWidth), - height: Math.max(document.documentElement.scrollHeight, document.documentElement.clientHeight) - } - } - } - - // when window resize, reset the width and height of the window's mask - $(window).resize(function(){ - $('body>div.window-mask').css({ - width: $(window)._outerWidth(), - height: $(window)._outerHeight() - }); - setTimeout(function(){ - $('body>div.window-mask').css({ - width: getPageArea().width, - height: getPageArea().height - }); - }, 50); - }); - - $.fn.window = function(options, param){ - if (typeof options == 'string'){ - var method = $.fn.window.methods[options]; - if (method){ - return method(this, param); - } else { - return this.panel(options, param); - } - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'window'); - if (state){ - $.extend(state.options, options); - } else { - state = $.data(this, 'window', { - options: $.extend({}, $.fn.window.defaults, $.fn.window.parseOptions(this), options) - }); - if (!state.options.inline){ -// $(this).appendTo('body'); - document.body.appendChild(this); - } - } - create(this); - setProperties(this); - }); - }; - - $.fn.window.methods = { - options: function(jq){ - var popts = jq.panel('options'); - var wopts = $.data(jq[0], 'window').options; - return $.extend(wopts, { - closed: popts.closed, - collapsed: popts.collapsed, - minimized: popts.minimized, - maximized: popts.maximized - }); - }, - window: function(jq){ - return $.data(jq[0], 'window').window; - }, - resize: function(jq, param){ - return jq.each(function(){ - setSize(this, param); - }); - }, - move: function(jq, param){ - return jq.each(function(){ - moveWindow(this, param); - }); - }, - hcenter: function(jq){ - return jq.each(function(){ - hcenter(this, true); - }); - }, - vcenter: function(jq){ - return jq.each(function(){ - vcenter(this, true); - }); - }, - center: function(jq){ - return jq.each(function(){ - hcenter(this); - vcenter(this); - moveWindow(this); - }); - } - }; - - $.fn.window.parseOptions = function(target){ - return $.extend({}, $.fn.panel.parseOptions(target), $.parser.parseOptions(target, [ - {draggable:'boolean',resizable:'boolean',shadow:'boolean',modal:'boolean',inline:'boolean'} - ])); - }; - - // Inherited from $.fn.panel.defaults - $.fn.window.defaults = $.extend({}, $.fn.panel.defaults, { - zIndex: 9000, - draggable: true, - resizable: true, - shadow: true, - modal: false, - inline: false, // true to stay inside its parent, false to go on top of all elements - - // window's property which difference from panel - title: 'New Window', - collapsible: true, - minimizable: true, - maximizable: true, - closable: true, - closed: false - }); -})(jQuery); diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/accordion.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/accordion.css deleted file mode 100644 index a0f6ddc..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/accordion.css +++ /dev/null @@ -1,41 +0,0 @@ -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; -} -.accordion { - background: #666; - border-color: #000; -} -.accordion .accordion-header { - background: #3d3d3d; - filter: none; -} -.accordion .accordion-header-selected { - background: #0052A3; -} -.accordion .accordion-header-selected .panel-title { - color: #fff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/calendar.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/calendar.css deleted file mode 100644 index e862e22..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/calendar.css +++ /dev/null @@ -1,197 +0,0 @@ -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - table-layout: fixed; - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-disabled { - opacity: 0.6; - filter: alpha(opacity=60); - cursor: default; -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-body th, -.calendar-menu-month { - color: #ffffff; -} -.calendar-day { - color: #fff; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #000; -} -.calendar { - border-color: #000; -} -.calendar-header { - background: #3d3d3d; -} -.calendar-body, -.calendar-menu { - background: #666; -} -.calendar-body th { - background: #555; - padding: 2px 0; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #777; - color: #fff; -} -.calendar-hover { - border: 1px solid #555; - padding: 0; -} -.calendar-selected { - background-color: #0052A3; - color: #fff; - border: 1px solid #00458a; - padding: 0; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/combo.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/combo.css deleted file mode 100644 index d0af3b7..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/combo.css +++ /dev/null @@ -1,58 +0,0 @@ -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #666; -} -.combo { - border-color: #000; - background-color: #666; -} -.combo-arrow { - background-color: #3d3d3d; -} -.combo-arrow-hover { - background-color: #777; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/combobox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/combobox.css deleted file mode 100644 index 284332e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/combobox.css +++ /dev/null @@ -1,24 +0,0 @@ -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #777; - color: #fff; -} -.combobox-item-selected { - background-color: #0052A3; - color: #fff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/datagrid.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/datagrid.css deleted file mode 100644 index 392f446..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/datagrid.css +++ /dev/null @@ -1,260 +0,0 @@ -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 10px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #444; - border-right: 1px solid #777; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 12px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #666 url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #444; - background: -webkit-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); - background: -moz-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); - background: -o-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); - background: linear-gradient(to bottom,#4c4c4c 0,#3f3f3f 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4c4c4c,endColorstr=#3f3f3f,GradientType=0); -} -.datagrid-cell-rownumber { - color: #fff; -} -.datagrid-resize-proxy { - background: #cccccc; -} -.datagrid-mask { - background: #000; -} -.datagrid-mask-msg { - border-color: #000; -} -.datagrid-toolbar, -.datagrid-pager { - background: #555; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #222; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #222; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #fff; - border-collapse: separate; -} -.datagrid-row-alt { - background: #555; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #777; - color: #fff; - cursor: default; -} -.datagrid-row-selected { - background: #0052A3; - color: #fff; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/datebox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/datebox.css deleted file mode 100644 index e368f64..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/datebox.css +++ /dev/null @@ -1,36 +0,0 @@ -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #555; -} -.datebox-button a { - color: #fff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/dialog.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/dialog.css deleted file mode 100644 index 4ee224a..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/dialog.css +++ /dev/null @@ -1,30 +0,0 @@ -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #444; - border-right: 1px solid #777; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #555; -} -.dialog-toolbar { - border-bottom: 1px solid #222; -} -.dialog-button { - border-top: 1px solid #222; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/easyui.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/easyui.css deleted file mode 100644 index ac56156..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/easyui.css +++ /dev/null @@ -1,2403 +0,0 @@ -.panel { - overflow: hidden; - text-align: left; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; -} -.panel-title { - background: url('images/blank.gif') no-repeat; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 5px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #777; - -moz-border-radius: 3px 3px 3px 3px; - -webkit-border-radius: 3px 3px 3px 3px; - border-radius: 3px 3px 3px 3px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #000; -} -.panel-header { - background-color: #3d3d3d; - background: -webkit-linear-gradient(top,#454545 0,#383838 100%); - background: -moz-linear-gradient(top,#454545 0,#383838 100%); - background: -o-linear-gradient(top,#454545 0,#383838 100%); - background: linear-gradient(to bottom,#454545 0,#383838 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); -} -.panel-body { - background-color: #666; - color: #fff; - font-size: 12px; -} -.panel-title { - font-size: 12px; - font-weight: bold; - color: #fff; - height: 16px; - line-height: 16px; -} -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; -} -.accordion { - background: #666; - border-color: #000; -} -.accordion .accordion-header { - background: #3d3d3d; - filter: none; -} -.accordion .accordion-header-selected { - background: #0052A3; -} -.accordion .accordion-header-selected .panel-title { - color: #fff; -} -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header .panel-icon { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.window-shadow { - background: #777; - -moz-box-shadow: 2px 2px 3px #787878; - -webkit-box-shadow: 2px 2px 3px #787878; - box-shadow: 2px 2px 3px #787878; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #000; -} -.window { - background-color: #3d3d3d; - background: -webkit-linear-gradient(top,#454545 0,#383838 20%); - background: -moz-linear-gradient(top,#454545 0,#383838 20%); - background: -o-linear-gradient(top,#454545 0,#383838 20%); - background: linear-gradient(to bottom,#454545 0,#383838 20%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); -} -.window-proxy { - border: 1px dashed #000; -} -.window-proxy-mask, -.window-mask { - background: #000; -} -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #444; - border-right: 1px solid #777; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #555; -} -.dialog-toolbar { - border-bottom: 1px solid #222; -} -.dialog-button { - border-top: 1px solid #222; -} -.textbox { - border: 1px solid #000; - vertical-align: middle; -} -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #666; -} -.combo { - border-color: #000; - background-color: #666; -} -.combo-arrow { - background-color: #3d3d3d; -} -.combo-arrow-hover { - background-color: #777; -} -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #777; - color: #fff; -} -.combobox-item-selected { - background-color: #0052A3; - color: #fff; -} -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #cccccc; -} -.layout-split-north { - border-bottom: 5px solid #444; -} -.layout-split-south { - border-top: 5px solid #444; -} -.layout-split-east { - border-left: 5px solid #444; -} -.layout-split-west { - border-right: 5px solid #444; -} -.layout-expand { - background-color: #3d3d3d; -} -.layout-expand-over { - background-color: #3d3d3d; -} -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 5px 5px; - -webkit-border-radius: 0 0 5px 5px; - border-radius: 0 0 5px 5px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 5px 5px 0; - -webkit-border-radius: 0 5px 5px 0; - border-radius: 0 5px 5px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #3d3d3d url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #3d3d3d url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #777; - color: #fff; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #666; - color: #fff; - background: -webkit-linear-gradient(top,#454545 0,#666 100%); - background: -moz-linear-gradient(top,#454545 0,#666 100%); - background: -o-linear-gradient(top,#454545 0,#666 100%); - background: linear-gradient(to bottom,#454545 0,#666 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#666,GradientType=0); -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(top,#666 0,#454545 100%); - background: -moz-linear-gradient(top,#666 0,#454545 100%); - background: -o-linear-gradient(top,#666 0,#454545 100%); - background: linear-gradient(to bottom,#666 0,#454545 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#666,endColorstr=#454545,GradientType=0); -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#454545 0,#666 100%); - background: -moz-linear-gradient(left,#454545 0,#666 100%); - background: -o-linear-gradient(left,#454545 0,#666 100%); - background: linear-gradient(to right,#454545 0,#666 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#666,GradientType=1); -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#666 0,#454545 100%); - background: -moz-linear-gradient(left,#666 0,#454545 100%); - background: -o-linear-gradient(left,#666 0,#454545 100%); - background: linear-gradient(to right,#666 0,#454545 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#666,endColorstr=#454545,GradientType=1); -} -.tabs li a.tabs-inner { - color: #fff; - background-color: #3d3d3d; - background: -webkit-linear-gradient(top,#454545 0,#383838 100%); - background: -moz-linear-gradient(top,#454545 0,#383838 100%); - background: -o-linear-gradient(top,#454545 0,#383838 100%); - background: linear-gradient(to bottom,#454545 0,#383838 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); -} -.tabs-header, -.tabs-tool { - background-color: #3d3d3d; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #000; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #777; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #666; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #666; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #666; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #666; -} -.l-btn { - text-decoration: none; - display: inline-block; - margin: 0; - padding: 0; - cursor: pointer; - outline: none; - text-align: center; - vertical-align: middle; -} -.l-btn-plain { - border: 0; - padding: 1px; -} -.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.l-btn-left { - display: inline-block; - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - vertical-align: top; -} -.l-btn-text { - display: inline-block; - vertical-align: top; - width: auto; - line-height: 24px; - font-size: 12px; - padding: 0; - margin: 0 4px; -} -.l-btn-icon { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - position: absolute; - top: 50%; - margin-top: -8px; - font-size: 1px; -} -.l-btn span span .l-btn-empty { - display: inline-block; - margin: 0; - width: 16px; - height: 24px; - font-size: 1px; - vertical-align: top; -} -.l-btn span .l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -.l-btn span .l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -.l-btn-icon-left .l-btn-text { - margin: 0 4px 0 24px; -} -.l-btn-icon-left .l-btn-icon { - left: 4px; -} -.l-btn-icon-right .l-btn-text { - margin: 0 24px 0 4px; -} -.l-btn-icon-right .l-btn-icon { - right: 4px; -} -.l-btn-icon-top .l-btn-text { - margin: 20px 4px 0 4px; -} -.l-btn-icon-top .l-btn-icon { - top: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-icon-bottom .l-btn-text { - margin: 0 4px 20px 4px; -} -.l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-left .l-btn-empty { - margin: 0 4px; - width: 16px; -} -.l-btn-plain:hover { - padding: 0; -} -.l-btn-focus { - outline: #0000FF dotted thin; -} -.l-btn-large .l-btn-text { - line-height: 40px; -} -.l-btn-large .l-btn-icon { - width: 32px; - height: 32px; - line-height: 32px; - margin-top: -16px; -} -.l-btn-large .l-btn-icon-left .l-btn-text { - margin-left: 40px; -} -.l-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.l-btn-large .l-btn-icon-top .l-btn-text { - margin-top: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-top .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-left .l-btn-empty { - margin: 0 4px; - width: 32px; -} -.l-btn { - color: #fff; - background: #777; - background-repeat: repeat-x; - border: 1px solid #555; - background: -webkit-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: -moz-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: -o-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: linear-gradient(to bottom,#919191 0,#6a6a6a 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0); - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.l-btn:hover { - background: #777; - color: #fff; - border: 1px solid #555; - filter: none; -} -.l-btn-plain { - background: transparent; - border: 0; - filter: none; -} -.l-btn-plain:hover { - background: #777; - color: #fff; - border: 1px solid #555; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.l-btn-disabled, -.l-btn-disabled:hover { - background: #777; - color: #fff; - background: -webkit-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: -moz-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: -o-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: linear-gradient(to bottom,#919191 0,#6a6a6a 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0); - filter: alpha(opacity=50) progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0); -} -.l-btn-plain-disabled, -.l-btn-plain-disabled:hover { - background: transparent; - filter: alpha(opacity=50); -} -.l-btn-selected, -.l-btn-selected:hover { - background: #000; - filter: none; -} -.l-btn-plain-selected, -.l-btn-plain-selected:hover { - background: #000; -} -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 10px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #444; - border-right: 1px solid #777; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 12px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #666 url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #444; - background: -webkit-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); - background: -moz-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); - background: -o-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); - background: linear-gradient(to bottom,#4c4c4c 0,#3f3f3f 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4c4c4c,endColorstr=#3f3f3f,GradientType=0); -} -.datagrid-cell-rownumber { - color: #fff; -} -.datagrid-resize-proxy { - background: #cccccc; -} -.datagrid-mask { - background: #000; -} -.datagrid-mask-msg { - border-color: #000; -} -.datagrid-toolbar, -.datagrid-pager { - background: #555; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #222; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #222; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #fff; - border-collapse: separate; -} -.datagrid-row-alt { - background: #555; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #777; - color: #fff; - cursor: default; -} -.datagrid-row-selected { - background: #0052A3; - color: #fff; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #000; -} -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #222; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #3d3d3d; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #222; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #3d3d3d; -} -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #444; - border-right: 1px solid #777; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -.pagination-link .l-btn-text { - width: 24px; - text-align: center; - margin: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #000; -} -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - table-layout: fixed; - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-disabled { - opacity: 0.6; - filter: alpha(opacity=60); - cursor: default; -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-body th, -.calendar-menu-month { - color: #ffffff; -} -.calendar-day { - color: #fff; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #000; -} -.calendar { - border-color: #000; -} -.calendar-header { - background: #3d3d3d; -} -.calendar-body, -.calendar-menu { - background: #666; -} -.calendar-body th { - background: #555; - padding: 2px 0; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #777; - color: #fff; -} -.calendar-hover { - border: 1px solid #555; - padding: 0; -} -.calendar-selected { - background-color: #0052A3; - color: #fff; - border: 1px solid #00458a; - padding: 0; -} -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #555; -} -.datebox-button a { - color: #fff; -} -.numberbox { - border: 1px solid #000; - margin: 0; - padding: 0 2px; - vertical-align: middle; -} -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #000; -} -.spinner-arrow { - background-color: #3d3d3d; -} -.spinner-arrow-hover { - background-color: #777; -} -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.progressbar { - border-color: #000; -} -.progressbar-text { - color: #fff; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #0052A3; - color: #fff; -} -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - vertical-align: top; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox .l-btn-plain { - border: 0; - padding: 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox .l-btn-plain:hover { - border: 0; - padding: 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #000; - background-color: #fff; -} -.searchbox .l-btn-plain { - background: #3d3d3d; -} -.searchbox .l-btn-plain-disabled, -.searchbox .l-btn-plain-disabled:hover { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 5px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #000; - background: #3d3d3d; -} -.slider-rule span { - border-color: #000; -} -.slider-rulelabel span { - color: #fff; -} -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - background: #777; - -moz-box-shadow: 2px 2px 3px #787878; - -webkit-box-shadow: 2px 2px 3px #787878; - box-shadow: 2px 2px 3px #787878; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #444; - border-right: 1px solid #777; -} -.menu-sep { - border-top: 1px solid #444; - border-bottom: 1px solid #777; -} -.menu { - background-color: #666; - border-color: #444; - color: #fff; -} -.menu-content { - background: #666; -} -.menu-item { - border-color: transparent; - _border-color: #666; -} -.menu-active { - border-color: #555; - color: #fff; - background: #777; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #fff; -} -.m-btn-downarrow, -.s-btn-downarrow { - display: inline-block; - position: absolute; - width: 16px; - height: 16px; - font-size: 1px; - right: 0; - top: 50%; - margin-top: -8px; -} -.m-btn-active, -.s-btn-active { - background: #777; - color: #fff; - border: 1px solid #555; - filter: none; -} -.m-btn-plain-active, -.s-btn-plain-active { - background: transparent; - padding: 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.m-btn .l-btn-left .l-btn-text { - margin-right: 20px; -} -.m-btn .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.m-btn .l-btn-icon-right .l-btn-icon { - right: 20px; -} -.m-btn .l-btn-icon-top .l-btn-text { - margin-right: 4px; - margin-bottom: 14px; -} -.m-btn .l-btn-icon-bottom .l-btn-text { - margin-right: 4px; - margin-bottom: 34px; -} -.m-btn .l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 20px; -} -.m-btn .l-btn-icon-top .m-btn-downarrow, -.m-btn .l-btn-icon-bottom .m-btn-downarrow { - top: auto; - bottom: 0px; - left: 50%; - margin-left: -8px; -} -.m-btn-line { - display: inline-block; - position: absolute; - font-size: 1px; - display: none; -} -.m-btn .l-btn-left .m-btn-line { - right: 0; - width: 16px; - height: 500px; - border-style: solid; - border-color: #cccccc; - border-width: 0 0 0 1px; -} -.m-btn .l-btn-icon-top .m-btn-line, -.m-btn .l-btn-icon-bottom .m-btn-line { - left: 0; - bottom: 0; - width: 500px; - height: 16px; - border-width: 1px 0 0 0; -} -.m-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 56px; -} -.m-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 50px; -} -.m-btn-downarrow, -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 0 center; -} -.m-btn-plain-active, -.s-btn-plain-active { - border-color: #555; - background-color: #777; - color: #fff; -} -.s-btn:hover .m-btn-line, -.s-btn-active .m-btn-line, -.s-btn-plain-active .m-btn-line { - display: inline-block; -} -.l-btn:hover .s-btn-downarrow, -.s-btn-active .s-btn-downarrow, -.s-btn-plain-active .s-btn-downarrow { - border-style: solid; - border-color: #cccccc; - border-width: 0 0 0 1px; -} -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-button .l-btn { - width: 70px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #000; -} -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/tree_icons.png') no-repeat -240px 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 12px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #666; - color: #fff; - border-color: #000; -} -.tree-node-hover { - background: #777; - color: #fff; -} -.tree-node-selected { - background: #0052A3; - color: #fff; -} -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #666; - border-color: #000; - color: #fff; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #000; -} -.tooltip-right .tooltip-arrow { - border-right-color: #666; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #000; -} -.tooltip-left .tooltip-arrow { - border-left-color: #666; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #000; -} -.tooltip-top .tooltip-arrow { - border-top-color: #666; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #000; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #666; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/accordion_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/accordion_arrows.png deleted file mode 100644 index 45fd44a..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/accordion_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/blank.gif b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/blank.gif deleted file mode 100644 index 1d11fa9..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/blank.gif and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/calendar_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/calendar_arrows.png deleted file mode 100644 index 430c4ad..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/calendar_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/combo_arrow.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/combo_arrow.png deleted file mode 100644 index ac58921..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/combo_arrow.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/datagrid_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/datagrid_icons.png deleted file mode 100644 index bdf87e3..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/datagrid_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/datebox_arrow.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/datebox_arrow.png deleted file mode 100644 index 783c833..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/datebox_arrow.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/layout_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/layout_arrows.png deleted file mode 100644 index 19c611f..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/layout_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/linkbutton_bg.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/linkbutton_bg.png deleted file mode 100644 index fc66bd2..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/linkbutton_bg.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/loading.gif b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/loading.gif deleted file mode 100644 index 68f01d0..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/loading.gif and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/menu_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/menu_arrows.png deleted file mode 100644 index 2a98494..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/menu_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/messager_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/messager_icons.png deleted file mode 100644 index 62c18c1..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/messager_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/pagination_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/pagination_icons.png deleted file mode 100644 index b3315fa..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/pagination_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/panel_tools.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/panel_tools.png deleted file mode 100644 index f97761e..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/panel_tools.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/searchbox_button.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/searchbox_button.png deleted file mode 100644 index 6dd1931..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/searchbox_button.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/slider_handle.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/slider_handle.png deleted file mode 100644 index b9802ba..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/slider_handle.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/spinner_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/spinner_arrows.png deleted file mode 100644 index 25ee848..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/spinner_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/tabs_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/tabs_icons.png deleted file mode 100644 index 732b123..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/tabs_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/tree_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/tree_icons.png deleted file mode 100644 index 2b4fd20..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/tree_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/validatebox_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/validatebox_arrows.png deleted file mode 100644 index 5fe78f7..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/validatebox_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/validatebox_warning.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/validatebox_warning.png deleted file mode 100644 index 2b3d4f0..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/images/validatebox_warning.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/layout.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/layout.css deleted file mode 100644 index 31190da..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/layout.css +++ /dev/null @@ -1,91 +0,0 @@ -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #cccccc; -} -.layout-split-north { - border-bottom: 5px solid #444; -} -.layout-split-south { - border-top: 5px solid #444; -} -.layout-split-east { - border-left: 5px solid #444; -} -.layout-split-west { - border-right: 5px solid #444; -} -.layout-expand { - background-color: #3d3d3d; -} -.layout-expand-over { - background-color: #3d3d3d; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/linkbutton.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/linkbutton.css deleted file mode 100644 index 00e0c9b..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/linkbutton.css +++ /dev/null @@ -1,197 +0,0 @@ -.l-btn { - text-decoration: none; - display: inline-block; - margin: 0; - padding: 0; - cursor: pointer; - outline: none; - text-align: center; - vertical-align: middle; -} -.l-btn-plain { - border: 0; - padding: 1px; -} -.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.l-btn-left { - display: inline-block; - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - vertical-align: top; -} -.l-btn-text { - display: inline-block; - vertical-align: top; - width: auto; - line-height: 24px; - font-size: 12px; - padding: 0; - margin: 0 4px; -} -.l-btn-icon { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - position: absolute; - top: 50%; - margin-top: -8px; - font-size: 1px; -} -.l-btn span span .l-btn-empty { - display: inline-block; - margin: 0; - width: 16px; - height: 24px; - font-size: 1px; - vertical-align: top; -} -.l-btn span .l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -.l-btn span .l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -.l-btn-icon-left .l-btn-text { - margin: 0 4px 0 24px; -} -.l-btn-icon-left .l-btn-icon { - left: 4px; -} -.l-btn-icon-right .l-btn-text { - margin: 0 24px 0 4px; -} -.l-btn-icon-right .l-btn-icon { - right: 4px; -} -.l-btn-icon-top .l-btn-text { - margin: 20px 4px 0 4px; -} -.l-btn-icon-top .l-btn-icon { - top: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-icon-bottom .l-btn-text { - margin: 0 4px 20px 4px; -} -.l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-left .l-btn-empty { - margin: 0 4px; - width: 16px; -} -.l-btn-plain:hover { - padding: 0; -} -.l-btn-focus { - outline: #0000FF dotted thin; -} -.l-btn-large .l-btn-text { - line-height: 40px; -} -.l-btn-large .l-btn-icon { - width: 32px; - height: 32px; - line-height: 32px; - margin-top: -16px; -} -.l-btn-large .l-btn-icon-left .l-btn-text { - margin-left: 40px; -} -.l-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.l-btn-large .l-btn-icon-top .l-btn-text { - margin-top: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-top .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-left .l-btn-empty { - margin: 0 4px; - width: 32px; -} -.l-btn { - color: #fff; - background: #777; - background-repeat: repeat-x; - border: 1px solid #555; - background: -webkit-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: -moz-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: -o-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: linear-gradient(to bottom,#919191 0,#6a6a6a 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0); - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.l-btn:hover { - background: #777; - color: #fff; - border: 1px solid #555; - filter: none; -} -.l-btn-plain { - background: transparent; - border: 0; - filter: none; -} -.l-btn-plain:hover { - background: #777; - color: #fff; - border: 1px solid #555; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.l-btn-disabled, -.l-btn-disabled:hover { - background: #777; - color: #fff; - background: -webkit-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: -moz-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: -o-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: linear-gradient(to bottom,#919191 0,#6a6a6a 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0); - filter: alpha(opacity=50) progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0); -} -.l-btn-plain-disabled, -.l-btn-plain-disabled:hover { - background: transparent; - filter: alpha(opacity=50); -} -.l-btn-selected, -.l-btn-selected:hover { - background: #000; - filter: none; -} -.l-btn-plain-selected, -.l-btn-plain-selected:hover { - background: #000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/menu.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/menu.css deleted file mode 100644 index 9e89ea5..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/menu.css +++ /dev/null @@ -1,109 +0,0 @@ -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - background: #777; - -moz-box-shadow: 2px 2px 3px #787878; - -webkit-box-shadow: 2px 2px 3px #787878; - box-shadow: 2px 2px 3px #787878; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #444; - border-right: 1px solid #777; -} -.menu-sep { - border-top: 1px solid #444; - border-bottom: 1px solid #777; -} -.menu { - background-color: #666; - border-color: #444; - color: #fff; -} -.menu-content { - background: #666; -} -.menu-item { - border-color: transparent; - _border-color: #666; -} -.menu-active { - border-color: #555; - color: #fff; - background: #777; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #fff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/menubutton.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/menubutton.css deleted file mode 100644 index 55a2b5e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/menubutton.css +++ /dev/null @@ -1,94 +0,0 @@ -.m-btn-downarrow, -.s-btn-downarrow { - display: inline-block; - position: absolute; - width: 16px; - height: 16px; - font-size: 1px; - right: 0; - top: 50%; - margin-top: -8px; -} -.m-btn-active, -.s-btn-active { - background: #777; - color: #fff; - border: 1px solid #555; - filter: none; -} -.m-btn-plain-active, -.s-btn-plain-active { - background: transparent; - padding: 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.m-btn .l-btn-left .l-btn-text { - margin-right: 20px; -} -.m-btn .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.m-btn .l-btn-icon-right .l-btn-icon { - right: 20px; -} -.m-btn .l-btn-icon-top .l-btn-text { - margin-right: 4px; - margin-bottom: 14px; -} -.m-btn .l-btn-icon-bottom .l-btn-text { - margin-right: 4px; - margin-bottom: 34px; -} -.m-btn .l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 20px; -} -.m-btn .l-btn-icon-top .m-btn-downarrow, -.m-btn .l-btn-icon-bottom .m-btn-downarrow { - top: auto; - bottom: 0px; - left: 50%; - margin-left: -8px; -} -.m-btn-line { - display: inline-block; - position: absolute; - font-size: 1px; - display: none; -} -.m-btn .l-btn-left .m-btn-line { - right: 0; - width: 16px; - height: 500px; - border-style: solid; - border-color: #cccccc; - border-width: 0 0 0 1px; -} -.m-btn .l-btn-icon-top .m-btn-line, -.m-btn .l-btn-icon-bottom .m-btn-line { - left: 0; - bottom: 0; - width: 500px; - height: 16px; - border-width: 1px 0 0 0; -} -.m-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 56px; -} -.m-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 50px; -} -.m-btn-downarrow, -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 0 center; -} -.m-btn-plain-active, -.s-btn-plain-active { - border-color: #555; - background-color: #777; - color: #fff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/messager.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/messager.css deleted file mode 100644 index 8fc275f..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/messager.css +++ /dev/null @@ -1,40 +0,0 @@ -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-button .l-btn { - width: 70px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/numberbox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/numberbox.css deleted file mode 100644 index c77e26e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/numberbox.css +++ /dev/null @@ -1,6 +0,0 @@ -.numberbox { - border: 1px solid #000; - margin: 0; - padding: 0 2px; - vertical-align: middle; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/pagination.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/pagination.css deleted file mode 100644 index 0431a22..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/pagination.css +++ /dev/null @@ -1,71 +0,0 @@ -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #444; - border-right: 1px solid #777; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -.pagination-link .l-btn-text { - width: 24px; - text-align: center; - margin: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/panel.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/panel.css deleted file mode 100644 index b1d5e8c..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/panel.css +++ /dev/null @@ -1,131 +0,0 @@ -.panel { - overflow: hidden; - text-align: left; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; -} -.panel-title { - background: url('images/blank.gif') no-repeat; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 5px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #777; - -moz-border-radius: 3px 3px 3px 3px; - -webkit-border-radius: 3px 3px 3px 3px; - border-radius: 3px 3px 3px 3px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #000; -} -.panel-header { - background-color: #3d3d3d; - background: -webkit-linear-gradient(top,#454545 0,#383838 100%); - background: -moz-linear-gradient(top,#454545 0,#383838 100%); - background: -o-linear-gradient(top,#454545 0,#383838 100%); - background: linear-gradient(to bottom,#454545 0,#383838 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); -} -.panel-body { - background-color: #666; - color: #fff; - font-size: 12px; -} -.panel-title { - font-size: 12px; - font-weight: bold; - color: #fff; - height: 16px; - line-height: 16px; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/progressbar.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/progressbar.css deleted file mode 100644 index 79fcf62..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/progressbar.css +++ /dev/null @@ -1,32 +0,0 @@ -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.progressbar { - border-color: #000; -} -.progressbar-text { - color: #fff; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #0052A3; - color: #fff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/propertygrid.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/propertygrid.css deleted file mode 100644 index d71ce7c..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/propertygrid.css +++ /dev/null @@ -1,28 +0,0 @@ -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #222; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #3d3d3d; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #222; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #3d3d3d; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/searchbox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/searchbox.css deleted file mode 100644 index 20df07e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/searchbox.css +++ /dev/null @@ -1,75 +0,0 @@ -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - vertical-align: top; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox .l-btn-plain { - border: 0; - padding: 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox .l-btn-plain:hover { - border: 0; - padding: 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #000; - background-color: #fff; -} -.searchbox .l-btn-plain { - background: #3d3d3d; -} -.searchbox .l-btn-plain-disabled, -.searchbox .l-btn-plain-disabled:hover { - opacity: 0.5; - filter: alpha(opacity=50); -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/slider.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/slider.css deleted file mode 100644 index da31fd6..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/slider.css +++ /dev/null @@ -1,100 +0,0 @@ -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 5px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #000; - background: #3d3d3d; -} -.slider-rule span { - border-color: #000; -} -.slider-rulelabel span { - color: #fff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/spinner.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/spinner.css deleted file mode 100644 index 18ea2a9..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/spinner.css +++ /dev/null @@ -1,59 +0,0 @@ -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #000; -} -.spinner-arrow { - background-color: #3d3d3d; -} -.spinner-arrow-hover { - background-color: #777; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/splitbutton.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/splitbutton.css deleted file mode 100644 index b42e396..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/splitbutton.css +++ /dev/null @@ -1,12 +0,0 @@ -.s-btn:hover .m-btn-line, -.s-btn-active .m-btn-line, -.s-btn-plain-active .m-btn-line { - display: inline-block; -} -.l-btn:hover .s-btn-downarrow, -.s-btn-active .s-btn-downarrow, -.s-btn-plain-active .s-btn-downarrow { - border-style: solid; - border-color: #cccccc; - border-width: 0 0 0 1px; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/tabs.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/tabs.css deleted file mode 100644 index 40ba8f1..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/tabs.css +++ /dev/null @@ -1,356 +0,0 @@ -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 5px 5px; - -webkit-border-radius: 0 0 5px 5px; - border-radius: 0 0 5px 5px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 5px 5px 0; - -webkit-border-radius: 0 5px 5px 0; - border-radius: 0 5px 5px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #3d3d3d url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #3d3d3d url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #777; - color: #fff; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #666; - color: #fff; - background: -webkit-linear-gradient(top,#454545 0,#666 100%); - background: -moz-linear-gradient(top,#454545 0,#666 100%); - background: -o-linear-gradient(top,#454545 0,#666 100%); - background: linear-gradient(to bottom,#454545 0,#666 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#666,GradientType=0); -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(top,#666 0,#454545 100%); - background: -moz-linear-gradient(top,#666 0,#454545 100%); - background: -o-linear-gradient(top,#666 0,#454545 100%); - background: linear-gradient(to bottom,#666 0,#454545 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#666,endColorstr=#454545,GradientType=0); -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#454545 0,#666 100%); - background: -moz-linear-gradient(left,#454545 0,#666 100%); - background: -o-linear-gradient(left,#454545 0,#666 100%); - background: linear-gradient(to right,#454545 0,#666 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#666,GradientType=1); -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#666 0,#454545 100%); - background: -moz-linear-gradient(left,#666 0,#454545 100%); - background: -o-linear-gradient(left,#666 0,#454545 100%); - background: linear-gradient(to right,#666 0,#454545 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#666,endColorstr=#454545,GradientType=1); -} -.tabs li a.tabs-inner { - color: #fff; - background-color: #3d3d3d; - background: -webkit-linear-gradient(top,#454545 0,#383838 100%); - background: -moz-linear-gradient(top,#454545 0,#383838 100%); - background: -o-linear-gradient(top,#454545 0,#383838 100%); - background: linear-gradient(to bottom,#454545 0,#383838 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); -} -.tabs-header, -.tabs-tool { - background-color: #3d3d3d; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #000; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #777; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #666; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #666; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #666; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #666; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/textbox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/textbox.css deleted file mode 100644 index e5b6ffb..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/textbox.css +++ /dev/null @@ -1,4 +0,0 @@ -.textbox { - border: 1px solid #000; - vertical-align: middle; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/tooltip.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/tooltip.css deleted file mode 100644 index 8dfbfed..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/tooltip.css +++ /dev/null @@ -1,100 +0,0 @@ -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #666; - border-color: #000; - color: #fff; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #000; -} -.tooltip-right .tooltip-arrow { - border-right-color: #666; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #000; -} -.tooltip-left .tooltip-arrow { - border-left-color: #666; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #000; -} -.tooltip-top .tooltip-arrow { - border-top-color: #666; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #000; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #666; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/tree.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/tree.css deleted file mode 100644 index ea955cb..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/tree.css +++ /dev/null @@ -1,157 +0,0 @@ -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/tree_icons.png') no-repeat -240px 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 12px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #666; - color: #fff; - border-color: #000; -} -.tree-node-hover { - background: #777; - color: #fff; -} -.tree-node-selected { - background: #0052A3; - color: #fff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/validatebox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/validatebox.css deleted file mode 100644 index 154da75..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/validatebox.css +++ /dev/null @@ -1,8 +0,0 @@ -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/window.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/window.css deleted file mode 100644 index 1277273..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/black/window.css +++ /dev/null @@ -1,87 +0,0 @@ -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header .panel-icon { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.window-shadow { - background: #777; - -moz-box-shadow: 2px 2px 3px #787878; - -webkit-box-shadow: 2px 2px 3px #787878; - box-shadow: 2px 2px 3px #787878; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #000; -} -.window { - background-color: #3d3d3d; - background: -webkit-linear-gradient(top,#454545 0,#383838 20%); - background: -moz-linear-gradient(top,#454545 0,#383838 20%); - background: -o-linear-gradient(top,#454545 0,#383838 20%); - background: linear-gradient(to bottom,#454545 0,#383838 20%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); -} -.window-proxy { - border: 1px dashed #000; -} -.window-proxy-mask, -.window-mask { - background: #000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/accordion.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/accordion.css deleted file mode 100644 index 26db0fa..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/accordion.css +++ /dev/null @@ -1,41 +0,0 @@ -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; -} -.accordion { - background: #ffffff; - border-color: #D4D4D4; -} -.accordion .accordion-header { - background: #F2F2F2; - filter: none; -} -.accordion .accordion-header-selected { - background: #0081c2; -} -.accordion .accordion-header-selected .panel-title { - color: #fff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/calendar.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/calendar.css deleted file mode 100644 index 5eb1eff..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/calendar.css +++ /dev/null @@ -1,197 +0,0 @@ -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - table-layout: fixed; - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-disabled { - opacity: 0.6; - filter: alpha(opacity=60); - cursor: default; -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-body th, -.calendar-menu-month { - color: #808080; -} -.calendar-day { - color: #333; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #D4D4D4; -} -.calendar { - border-color: #D4D4D4; -} -.calendar-header { - background: #F2F2F2; -} -.calendar-body, -.calendar-menu { - background: #ffffff; -} -.calendar-body th { - background: #F5F5F5; - padding: 2px 0; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #e6e6e6; - color: #00438a; -} -.calendar-hover { - border: 1px solid #ddd; - padding: 0; -} -.calendar-selected { - background-color: #0081c2; - color: #fff; - border: 1px solid #0070a9; - padding: 0; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/combo.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/combo.css deleted file mode 100644 index 9ad6756..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/combo.css +++ /dev/null @@ -1,58 +0,0 @@ -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #ffffff; -} -.combo { - border-color: #D4D4D4; - background-color: #ffffff; -} -.combo-arrow { - background-color: #F2F2F2; -} -.combo-arrow-hover { - background-color: #e6e6e6; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/combobox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/combobox.css deleted file mode 100644 index 82abe63..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/combobox.css +++ /dev/null @@ -1,24 +0,0 @@ -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #e6e6e6; - color: #00438a; -} -.combobox-item-selected { - background-color: #0081c2; - color: #fff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/datagrid.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/datagrid.css deleted file mode 100644 index 76253af..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/datagrid.css +++ /dev/null @@ -1,260 +0,0 @@ -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 10px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 12px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #ffffff url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #F2F2F2; - background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); -} -.datagrid-cell-rownumber { - color: #333; -} -.datagrid-resize-proxy { - background: #bbb; -} -.datagrid-mask { - background: #ccc; -} -.datagrid-mask-msg { - border-color: #D4D4D4; -} -.datagrid-toolbar, -.datagrid-pager { - background: #F5F5F5; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #e6e6e6; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #ccc; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #333; - border-collapse: separate; -} -.datagrid-row-alt { - background: #F5F5F5; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #e6e6e6; - color: #00438a; - cursor: default; -} -.datagrid-row-selected { - background: #0081c2; - color: #fff; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #D4D4D4; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/datebox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/datebox.css deleted file mode 100644 index b9d2bcb..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/datebox.css +++ /dev/null @@ -1,36 +0,0 @@ -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #F5F5F5; -} -.datebox-button a { - color: #444; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/dialog.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/dialog.css deleted file mode 100644 index 304044e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/dialog.css +++ /dev/null @@ -1,30 +0,0 @@ -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #F5F5F5; -} -.dialog-toolbar { - border-bottom: 1px solid #e6e6e6; -} -.dialog-button { - border-top: 1px solid #e6e6e6; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/easyui.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/easyui.css deleted file mode 100644 index 79a6f6d..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/easyui.css +++ /dev/null @@ -1,2422 +0,0 @@ -.panel { - overflow: hidden; - text-align: left; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; -} -.panel-title { - background: url('images/blank.gif') no-repeat; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 5px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #e6e6e6; - -moz-border-radius: 3px 3px 3px 3px; - -webkit-border-radius: 3px 3px 3px 3px; - border-radius: 3px 3px 3px 3px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #D4D4D4; -} -.panel-header { - background-color: #F2F2F2; - background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); -} -.panel-body { - background-color: #ffffff; - color: #333; - font-size: 12px; -} -.panel-title { - font-size: 12px; - font-weight: bold; - color: #777; - height: 16px; - line-height: 16px; -} -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; -} -.accordion { - background: #ffffff; - border-color: #D4D4D4; -} -.accordion .accordion-header { - background: #F2F2F2; - filter: none; -} -.accordion .accordion-header-selected { - background: #0081c2; -} -.accordion .accordion-header-selected .panel-title { - color: #fff; -} -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header .panel-icon { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.window-shadow { - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #D4D4D4; -} -.window { - background-color: #F2F2F2; - background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 20%); - background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 20%); - background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 20%); - background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 20%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); -} -.window-proxy { - border: 1px dashed #D4D4D4; -} -.window-proxy-mask, -.window-mask { - background: #ccc; -} -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #F5F5F5; -} -.dialog-toolbar { - border-bottom: 1px solid #e6e6e6; -} -.dialog-button { - border-top: 1px solid #e6e6e6; -} -.textbox { - border: 1px solid #D4D4D4; - vertical-align: middle; -} -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #ffffff; -} -.combo { - border-color: #D4D4D4; - background-color: #ffffff; -} -.combo-arrow { - background-color: #F2F2F2; -} -.combo-arrow-hover { - background-color: #e6e6e6; -} -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #e6e6e6; - color: #00438a; -} -.combobox-item-selected { - background-color: #0081c2; - color: #fff; -} -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #bbb; -} -.layout-split-north { - border-bottom: 5px solid #eee; -} -.layout-split-south { - border-top: 5px solid #eee; -} -.layout-split-east { - border-left: 5px solid #eee; -} -.layout-split-west { - border-right: 5px solid #eee; -} -.layout-expand { - background-color: #F2F2F2; -} -.layout-expand-over { - background-color: #F2F2F2; -} -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 5px 5px; - -webkit-border-radius: 0 0 5px 5px; - border-radius: 0 0 5px 5px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 5px 5px 0; - -webkit-border-radius: 0 5px 5px 0; - border-radius: 0 5px 5px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #F2F2F2 url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #F2F2F2 url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #e6e6e6; - color: #00438a; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #ffffff; - color: #777; - background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: linear-gradient(to right,#ffffff 0,#ffffff 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=1); -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: linear-gradient(to right,#ffffff 0,#ffffff 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=1); -} -.tabs li a.tabs-inner { - color: #777; - background-color: #F2F2F2; - background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); -} -.tabs-header, -.tabs-tool { - background-color: #F2F2F2; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #D4D4D4; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #e6e6e6; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #ffffff; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #ffffff; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #ffffff; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #ffffff; -} -.l-btn { - text-decoration: none; - display: inline-block; - margin: 0; - padding: 0; - cursor: pointer; - outline: none; - text-align: center; - vertical-align: middle; -} -.l-btn-plain { - border: 0; - padding: 1px; -} -.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.l-btn-left { - display: inline-block; - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - vertical-align: top; -} -.l-btn-text { - display: inline-block; - vertical-align: top; - width: auto; - line-height: 24px; - font-size: 12px; - padding: 0; - margin: 0 4px; -} -.l-btn-icon { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - position: absolute; - top: 50%; - margin-top: -8px; - font-size: 1px; -} -.l-btn span span .l-btn-empty { - display: inline-block; - margin: 0; - width: 16px; - height: 24px; - font-size: 1px; - vertical-align: top; -} -.l-btn span .l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -.l-btn span .l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -.l-btn-icon-left .l-btn-text { - margin: 0 4px 0 24px; -} -.l-btn-icon-left .l-btn-icon { - left: 4px; -} -.l-btn-icon-right .l-btn-text { - margin: 0 24px 0 4px; -} -.l-btn-icon-right .l-btn-icon { - right: 4px; -} -.l-btn-icon-top .l-btn-text { - margin: 20px 4px 0 4px; -} -.l-btn-icon-top .l-btn-icon { - top: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-icon-bottom .l-btn-text { - margin: 0 4px 20px 4px; -} -.l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-left .l-btn-empty { - margin: 0 4px; - width: 16px; -} -.l-btn-plain:hover { - padding: 0; -} -.l-btn-focus { - outline: #0000FF dotted thin; -} -.l-btn-large .l-btn-text { - line-height: 40px; -} -.l-btn-large .l-btn-icon { - width: 32px; - height: 32px; - line-height: 32px; - margin-top: -16px; -} -.l-btn-large .l-btn-icon-left .l-btn-text { - margin-left: 40px; -} -.l-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.l-btn-large .l-btn-icon-top .l-btn-text { - margin-top: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-top .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-left .l-btn-empty { - margin: 0 4px; - width: 32px; -} -.l-btn { - color: #444; - background: #f5f5f5; - background-repeat: repeat-x; - border: 1px solid #bbb; - background: -webkit-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: -moz-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: -o-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: linear-gradient(to bottom,#ffffff 0,#e6e6e6 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#e6e6e6,GradientType=0); - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.l-btn:hover { - background: #e6e6e6; - color: #00438a; - border: 1px solid #ddd; - filter: none; -} -.l-btn-plain { - background: transparent; - border: 0; - filter: none; -} -.l-btn-plain:hover { - background: #e6e6e6; - color: #00438a; - border: 1px solid #ddd; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.l-btn-disabled, -.l-btn-disabled:hover { - background: #f5f5f5; - color: #444; - background: -webkit-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: -moz-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: -o-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: linear-gradient(to bottom,#ffffff 0,#e6e6e6 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#e6e6e6,GradientType=0); - filter: alpha(opacity=50) progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#e6e6e6,GradientType=0); -} -.l-btn-plain-disabled, -.l-btn-plain-disabled:hover { - background: transparent; - filter: alpha(opacity=50); -} -.l-btn-selected, -.l-btn-selected:hover { - background: #ddd; - filter: none; -} -.l-btn-plain-selected, -.l-btn-plain-selected:hover { - background: #ddd; -} -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 10px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 12px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #ffffff url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #F2F2F2; - background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); -} -.datagrid-cell-rownumber { - color: #333; -} -.datagrid-resize-proxy { - background: #bbb; -} -.datagrid-mask { - background: #ccc; -} -.datagrid-mask-msg { - border-color: #D4D4D4; -} -.datagrid-toolbar, -.datagrid-pager { - background: #F5F5F5; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #e6e6e6; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #ccc; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #333; - border-collapse: separate; -} -.datagrid-row-alt { - background: #F5F5F5; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #e6e6e6; - color: #00438a; - cursor: default; -} -.datagrid-row-selected { - background: #0081c2; - color: #fff; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #D4D4D4; -} -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #e6e6e6; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #F2F2F2; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #e6e6e6; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #F2F2F2; -} -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -.pagination-link .l-btn-text { - width: 24px; - text-align: center; - margin: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #D4D4D4; -} -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - table-layout: fixed; - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-disabled { - opacity: 0.6; - filter: alpha(opacity=60); - cursor: default; -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-body th, -.calendar-menu-month { - color: #808080; -} -.calendar-day { - color: #333; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #D4D4D4; -} -.calendar { - border-color: #D4D4D4; -} -.calendar-header { - background: #F2F2F2; -} -.calendar-body, -.calendar-menu { - background: #ffffff; -} -.calendar-body th { - background: #F5F5F5; - padding: 2px 0; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #e6e6e6; - color: #00438a; -} -.calendar-hover { - border: 1px solid #ddd; - padding: 0; -} -.calendar-selected { - background-color: #0081c2; - color: #fff; - border: 1px solid #0070a9; - padding: 0; -} -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #F5F5F5; -} -.datebox-button a { - color: #444; -} -.numberbox { - border: 1px solid #D4D4D4; - margin: 0; - padding: 0 2px; - vertical-align: middle; -} -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #D4D4D4; -} -.spinner-arrow { - background-color: #F2F2F2; -} -.spinner-arrow-hover { - background-color: #e6e6e6; -} -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.progressbar { - border-color: #D4D4D4; -} -.progressbar-text { - color: #333; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #0081c2; - color: #fff; -} -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - vertical-align: top; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox .l-btn-plain { - border: 0; - padding: 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox .l-btn-plain:hover { - border: 0; - padding: 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #D4D4D4; - background-color: #fff; -} -.searchbox .l-btn-plain { - background: #F2F2F2; -} -.searchbox .l-btn-plain-disabled, -.searchbox .l-btn-plain-disabled:hover { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 5px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #D4D4D4; - background: #F2F2F2; -} -.slider-rule span { - border-color: #D4D4D4; -} -.slider-rulelabel span { - color: #333; -} -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #ccc; - border-right: 1px solid #fff; -} -.menu-sep { - border-top: 1px solid #ccc; - border-bottom: 1px solid #fff; -} -.menu { - background-color: #fff; - border-color: #e6e6e6; - color: #333; -} -.menu-content { - background: #ffffff; -} -.menu-item { - border-color: transparent; - _border-color: #fff; -} -.menu-active { - border-color: #ddd; - color: #00438a; - background: #e6e6e6; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #333; -} -.m-btn-downarrow, -.s-btn-downarrow { - display: inline-block; - position: absolute; - width: 16px; - height: 16px; - font-size: 1px; - right: 0; - top: 50%; - margin-top: -8px; -} -.m-btn-active, -.s-btn-active { - background: #e6e6e6; - color: #00438a; - border: 1px solid #ddd; - filter: none; -} -.m-btn-plain-active, -.s-btn-plain-active { - background: transparent; - padding: 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.m-btn .l-btn-left .l-btn-text { - margin-right: 20px; -} -.m-btn .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.m-btn .l-btn-icon-right .l-btn-icon { - right: 20px; -} -.m-btn .l-btn-icon-top .l-btn-text { - margin-right: 4px; - margin-bottom: 14px; -} -.m-btn .l-btn-icon-bottom .l-btn-text { - margin-right: 4px; - margin-bottom: 34px; -} -.m-btn .l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 20px; -} -.m-btn .l-btn-icon-top .m-btn-downarrow, -.m-btn .l-btn-icon-bottom .m-btn-downarrow { - top: auto; - bottom: 0px; - left: 50%; - margin-left: -8px; -} -.m-btn-line { - display: inline-block; - position: absolute; - font-size: 1px; - display: none; -} -.m-btn .l-btn-left .m-btn-line { - right: 0; - width: 16px; - height: 500px; - border-style: solid; - border-color: #bbb; - border-width: 0 0 0 1px; -} -.m-btn .l-btn-icon-top .m-btn-line, -.m-btn .l-btn-icon-bottom .m-btn-line { - left: 0; - bottom: 0; - width: 500px; - height: 16px; - border-width: 1px 0 0 0; -} -.m-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 56px; -} -.m-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 50px; -} -.m-btn-downarrow, -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 0 center; -} -.m-btn-plain-active, -.s-btn-plain-active { - border-color: #ddd; - background-color: #e6e6e6; - color: #00438a; -} -.s-btn:hover .m-btn-line, -.s-btn-active .m-btn-line, -.s-btn-plain-active .m-btn-line { - display: inline-block; -} -.l-btn:hover .s-btn-downarrow, -.s-btn-active .s-btn-downarrow, -.s-btn-plain-active .s-btn-downarrow { - border-style: solid; - border-color: #bbb; - border-width: 0 0 0 1px; -} -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-button .l-btn { - width: 70px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #D4D4D4; -} -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/tree_icons.png') no-repeat -240px 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 12px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #ffffff; - color: #333; - border-color: #D4D4D4; -} -.tree-node-hover { - background: #e6e6e6; - color: #00438a; -} -.tree-node-selected { - background: #0081c2; - color: #fff; -} -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #ffffff; - border-color: #D4D4D4; - color: #333; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #D4D4D4; -} -.tooltip-right .tooltip-arrow { - border-right-color: #ffffff; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #D4D4D4; -} -.tooltip-left .tooltip-arrow { - border-left-color: #ffffff; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #D4D4D4; -} -.tooltip-top .tooltip-arrow { - border-top-color: #ffffff; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #D4D4D4; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #ffffff; -} -.tabs-panels { - border-color: transparent; -} -.tabs li a.tabs-inner { - border-color: transparent; - background: transparent; - filter: none; - color: #0088CC; -} -.menu-active { - background-color: #0081C2; - border-color: #0081C2; - color: #fff; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #333; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/accordion_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/accordion_arrows.png deleted file mode 100644 index ddfa8ec..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/accordion_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/blank.gif b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/blank.gif deleted file mode 100644 index 1d11fa9..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/blank.gif and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/calendar_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/calendar_arrows.png deleted file mode 100644 index 430c4ad..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/calendar_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/combo_arrow.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/combo_arrow.png deleted file mode 100644 index 2e59fb9..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/combo_arrow.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/datagrid_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/datagrid_icons.png deleted file mode 100644 index 747ac4d..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/datagrid_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/datebox_arrow.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/datebox_arrow.png deleted file mode 100644 index 783c833..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/datebox_arrow.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/layout_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/layout_arrows.png deleted file mode 100644 index 6f41654..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/layout_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/linkbutton_bg.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/linkbutton_bg.png deleted file mode 100644 index fc66bd2..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/linkbutton_bg.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/loading.gif b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/loading.gif deleted file mode 100644 index 68f01d0..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/loading.gif and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/menu_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/menu_arrows.png deleted file mode 100644 index b986842..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/menu_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/messager_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/messager_icons.png deleted file mode 100644 index 62c18c1..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/messager_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/pagination_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/pagination_icons.png deleted file mode 100644 index 616f0bd..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/pagination_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/panel_tools.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/panel_tools.png deleted file mode 100644 index fe682ef..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/panel_tools.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/searchbox_button.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/searchbox_button.png deleted file mode 100644 index 6dd1931..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/searchbox_button.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/slider_handle.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/slider_handle.png deleted file mode 100644 index b9802ba..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/slider_handle.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/spinner_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/spinner_arrows.png deleted file mode 100644 index b68592d..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/spinner_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/tabs_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/tabs_icons.png deleted file mode 100644 index 4d29966..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/tabs_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/tree_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/tree_icons.png deleted file mode 100644 index e9be4f3..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/tree_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/validatebox_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/validatebox_arrows.png deleted file mode 100644 index 5fe78f7..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/validatebox_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/validatebox_warning.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/validatebox_warning.png deleted file mode 100644 index 2b3d4f0..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/images/validatebox_warning.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/layout.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/layout.css deleted file mode 100644 index 33e172d..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/layout.css +++ /dev/null @@ -1,91 +0,0 @@ -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #bbb; -} -.layout-split-north { - border-bottom: 5px solid #eee; -} -.layout-split-south { - border-top: 5px solid #eee; -} -.layout-split-east { - border-left: 5px solid #eee; -} -.layout-split-west { - border-right: 5px solid #eee; -} -.layout-expand { - background-color: #F2F2F2; -} -.layout-expand-over { - background-color: #F2F2F2; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/linkbutton.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/linkbutton.css deleted file mode 100644 index 7fa4e22..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/linkbutton.css +++ /dev/null @@ -1,197 +0,0 @@ -.l-btn { - text-decoration: none; - display: inline-block; - margin: 0; - padding: 0; - cursor: pointer; - outline: none; - text-align: center; - vertical-align: middle; -} -.l-btn-plain { - border: 0; - padding: 1px; -} -.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.l-btn-left { - display: inline-block; - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - vertical-align: top; -} -.l-btn-text { - display: inline-block; - vertical-align: top; - width: auto; - line-height: 24px; - font-size: 12px; - padding: 0; - margin: 0 4px; -} -.l-btn-icon { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - position: absolute; - top: 50%; - margin-top: -8px; - font-size: 1px; -} -.l-btn span span .l-btn-empty { - display: inline-block; - margin: 0; - width: 16px; - height: 24px; - font-size: 1px; - vertical-align: top; -} -.l-btn span .l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -.l-btn span .l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -.l-btn-icon-left .l-btn-text { - margin: 0 4px 0 24px; -} -.l-btn-icon-left .l-btn-icon { - left: 4px; -} -.l-btn-icon-right .l-btn-text { - margin: 0 24px 0 4px; -} -.l-btn-icon-right .l-btn-icon { - right: 4px; -} -.l-btn-icon-top .l-btn-text { - margin: 20px 4px 0 4px; -} -.l-btn-icon-top .l-btn-icon { - top: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-icon-bottom .l-btn-text { - margin: 0 4px 20px 4px; -} -.l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-left .l-btn-empty { - margin: 0 4px; - width: 16px; -} -.l-btn-plain:hover { - padding: 0; -} -.l-btn-focus { - outline: #0000FF dotted thin; -} -.l-btn-large .l-btn-text { - line-height: 40px; -} -.l-btn-large .l-btn-icon { - width: 32px; - height: 32px; - line-height: 32px; - margin-top: -16px; -} -.l-btn-large .l-btn-icon-left .l-btn-text { - margin-left: 40px; -} -.l-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.l-btn-large .l-btn-icon-top .l-btn-text { - margin-top: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-top .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-left .l-btn-empty { - margin: 0 4px; - width: 32px; -} -.l-btn { - color: #444; - background: #f5f5f5; - background-repeat: repeat-x; - border: 1px solid #bbb; - background: -webkit-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: -moz-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: -o-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: linear-gradient(to bottom,#ffffff 0,#e6e6e6 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#e6e6e6,GradientType=0); - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.l-btn:hover { - background: #e6e6e6; - color: #00438a; - border: 1px solid #ddd; - filter: none; -} -.l-btn-plain { - background: transparent; - border: 0; - filter: none; -} -.l-btn-plain:hover { - background: #e6e6e6; - color: #00438a; - border: 1px solid #ddd; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.l-btn-disabled, -.l-btn-disabled:hover { - background: #f5f5f5; - color: #444; - background: -webkit-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: -moz-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: -o-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: linear-gradient(to bottom,#ffffff 0,#e6e6e6 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#e6e6e6,GradientType=0); - filter: alpha(opacity=50) progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#e6e6e6,GradientType=0); -} -.l-btn-plain-disabled, -.l-btn-plain-disabled:hover { - background: transparent; - filter: alpha(opacity=50); -} -.l-btn-selected, -.l-btn-selected:hover { - background: #ddd; - filter: none; -} -.l-btn-plain-selected, -.l-btn-plain-selected:hover { - background: #ddd; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/menu.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/menu.css deleted file mode 100644 index 5595968..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/menu.css +++ /dev/null @@ -1,109 +0,0 @@ -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #ccc; - border-right: 1px solid #fff; -} -.menu-sep { - border-top: 1px solid #ccc; - border-bottom: 1px solid #fff; -} -.menu { - background-color: #fff; - border-color: #e6e6e6; - color: #333; -} -.menu-content { - background: #ffffff; -} -.menu-item { - border-color: transparent; - _border-color: #fff; -} -.menu-active { - border-color: #ddd; - color: #00438a; - background: #e6e6e6; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #333; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/menubutton.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/menubutton.css deleted file mode 100644 index 89ac235..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/menubutton.css +++ /dev/null @@ -1,94 +0,0 @@ -.m-btn-downarrow, -.s-btn-downarrow { - display: inline-block; - position: absolute; - width: 16px; - height: 16px; - font-size: 1px; - right: 0; - top: 50%; - margin-top: -8px; -} -.m-btn-active, -.s-btn-active { - background: #e6e6e6; - color: #00438a; - border: 1px solid #ddd; - filter: none; -} -.m-btn-plain-active, -.s-btn-plain-active { - background: transparent; - padding: 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.m-btn .l-btn-left .l-btn-text { - margin-right: 20px; -} -.m-btn .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.m-btn .l-btn-icon-right .l-btn-icon { - right: 20px; -} -.m-btn .l-btn-icon-top .l-btn-text { - margin-right: 4px; - margin-bottom: 14px; -} -.m-btn .l-btn-icon-bottom .l-btn-text { - margin-right: 4px; - margin-bottom: 34px; -} -.m-btn .l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 20px; -} -.m-btn .l-btn-icon-top .m-btn-downarrow, -.m-btn .l-btn-icon-bottom .m-btn-downarrow { - top: auto; - bottom: 0px; - left: 50%; - margin-left: -8px; -} -.m-btn-line { - display: inline-block; - position: absolute; - font-size: 1px; - display: none; -} -.m-btn .l-btn-left .m-btn-line { - right: 0; - width: 16px; - height: 500px; - border-style: solid; - border-color: #bbb; - border-width: 0 0 0 1px; -} -.m-btn .l-btn-icon-top .m-btn-line, -.m-btn .l-btn-icon-bottom .m-btn-line { - left: 0; - bottom: 0; - width: 500px; - height: 16px; - border-width: 1px 0 0 0; -} -.m-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 56px; -} -.m-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 50px; -} -.m-btn-downarrow, -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 0 center; -} -.m-btn-plain-active, -.s-btn-plain-active { - border-color: #ddd; - background-color: #e6e6e6; - color: #00438a; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/messager.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/messager.css deleted file mode 100644 index ea1c911..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/messager.css +++ /dev/null @@ -1,40 +0,0 @@ -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-button .l-btn { - width: 70px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #D4D4D4; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/numberbox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/numberbox.css deleted file mode 100644 index 548076e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/numberbox.css +++ /dev/null @@ -1,6 +0,0 @@ -.numberbox { - border: 1px solid #D4D4D4; - margin: 0; - padding: 0 2px; - vertical-align: middle; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/pagination.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/pagination.css deleted file mode 100644 index 02c2d7e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/pagination.css +++ /dev/null @@ -1,71 +0,0 @@ -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -.pagination-link .l-btn-text { - width: 24px; - text-align: center; - margin: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #D4D4D4; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/panel.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/panel.css deleted file mode 100644 index 07a6e30..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/panel.css +++ /dev/null @@ -1,131 +0,0 @@ -.panel { - overflow: hidden; - text-align: left; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; -} -.panel-title { - background: url('images/blank.gif') no-repeat; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 5px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #e6e6e6; - -moz-border-radius: 3px 3px 3px 3px; - -webkit-border-radius: 3px 3px 3px 3px; - border-radius: 3px 3px 3px 3px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #D4D4D4; -} -.panel-header { - background-color: #F2F2F2; - background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); -} -.panel-body { - background-color: #ffffff; - color: #333; - font-size: 12px; -} -.panel-title { - font-size: 12px; - font-weight: bold; - color: #777; - height: 16px; - line-height: 16px; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/progressbar.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/progressbar.css deleted file mode 100644 index c660f0e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/progressbar.css +++ /dev/null @@ -1,32 +0,0 @@ -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.progressbar { - border-color: #D4D4D4; -} -.progressbar-text { - color: #333; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #0081c2; - color: #fff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/propertygrid.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/propertygrid.css deleted file mode 100644 index abf87d6..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/propertygrid.css +++ /dev/null @@ -1,28 +0,0 @@ -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #e6e6e6; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #F2F2F2; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #e6e6e6; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #F2F2F2; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/searchbox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/searchbox.css deleted file mode 100644 index 7f75afb..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/searchbox.css +++ /dev/null @@ -1,75 +0,0 @@ -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - vertical-align: top; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox .l-btn-plain { - border: 0; - padding: 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox .l-btn-plain:hover { - border: 0; - padding: 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #D4D4D4; - background-color: #fff; -} -.searchbox .l-btn-plain { - background: #F2F2F2; -} -.searchbox .l-btn-plain-disabled, -.searchbox .l-btn-plain-disabled:hover { - opacity: 0.5; - filter: alpha(opacity=50); -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/slider.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/slider.css deleted file mode 100644 index 6470990..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/slider.css +++ /dev/null @@ -1,100 +0,0 @@ -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 5px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #D4D4D4; - background: #F2F2F2; -} -.slider-rule span { - border-color: #D4D4D4; -} -.slider-rulelabel span { - color: #333; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/spinner.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/spinner.css deleted file mode 100644 index 97369b0..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/spinner.css +++ /dev/null @@ -1,59 +0,0 @@ -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #D4D4D4; -} -.spinner-arrow { - background-color: #F2F2F2; -} -.spinner-arrow-hover { - background-color: #e6e6e6; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/splitbutton.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/splitbutton.css deleted file mode 100644 index bf86453..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/splitbutton.css +++ /dev/null @@ -1,12 +0,0 @@ -.s-btn:hover .m-btn-line, -.s-btn-active .m-btn-line, -.s-btn-plain-active .m-btn-line { - display: inline-block; -} -.l-btn:hover .s-btn-downarrow, -.s-btn-active .s-btn-downarrow, -.s-btn-plain-active .s-btn-downarrow { - border-style: solid; - border-color: #bbb; - border-width: 0 0 0 1px; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/tabs.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/tabs.css deleted file mode 100644 index 8c051a1..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/tabs.css +++ /dev/null @@ -1,356 +0,0 @@ -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 5px 5px; - -webkit-border-radius: 0 0 5px 5px; - border-radius: 0 0 5px 5px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 5px 5px 0; - -webkit-border-radius: 0 5px 5px 0; - border-radius: 0 5px 5px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #F2F2F2 url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #F2F2F2 url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #e6e6e6; - color: #00438a; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #ffffff; - color: #777; - background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: linear-gradient(to right,#ffffff 0,#ffffff 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=1); -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: linear-gradient(to right,#ffffff 0,#ffffff 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=1); -} -.tabs li a.tabs-inner { - color: #777; - background-color: #F2F2F2; - background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); -} -.tabs-header, -.tabs-tool { - background-color: #F2F2F2; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #D4D4D4; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #e6e6e6; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #ffffff; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #ffffff; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #ffffff; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #ffffff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/textbox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/textbox.css deleted file mode 100644 index d16b171..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/textbox.css +++ /dev/null @@ -1,4 +0,0 @@ -.textbox { - border: 1px solid #D4D4D4; - vertical-align: middle; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/tooltip.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/tooltip.css deleted file mode 100644 index fa06fc3..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/tooltip.css +++ /dev/null @@ -1,100 +0,0 @@ -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #ffffff; - border-color: #D4D4D4; - color: #333; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #D4D4D4; -} -.tooltip-right .tooltip-arrow { - border-right-color: #ffffff; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #D4D4D4; -} -.tooltip-left .tooltip-arrow { - border-left-color: #ffffff; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #D4D4D4; -} -.tooltip-top .tooltip-arrow { - border-top-color: #ffffff; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #D4D4D4; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #ffffff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/tree.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/tree.css deleted file mode 100644 index 017832b..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/tree.css +++ /dev/null @@ -1,157 +0,0 @@ -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/tree_icons.png') no-repeat -240px 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 12px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #ffffff; - color: #333; - border-color: #D4D4D4; -} -.tree-node-hover { - background: #e6e6e6; - color: #00438a; -} -.tree-node-selected { - background: #0081c2; - color: #fff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/validatebox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/validatebox.css deleted file mode 100644 index 154da75..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/validatebox.css +++ /dev/null @@ -1,8 +0,0 @@ -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/window.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/window.css deleted file mode 100644 index ad58087..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/bootstrap/window.css +++ /dev/null @@ -1,87 +0,0 @@ -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header .panel-icon { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.window-shadow { - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #D4D4D4; -} -.window { - background-color: #F2F2F2; - background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 20%); - background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 20%); - background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 20%); - background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 20%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); -} -.window-proxy { - border: 1px dashed #D4D4D4; -} -.window-proxy-mask, -.window-mask { - background: #ccc; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/accordion.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/accordion.css deleted file mode 100644 index c0a32f8..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/accordion.css +++ /dev/null @@ -1,41 +0,0 @@ -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; -} -.accordion { - background: #ffffff; - border-color: #95B8E7; -} -.accordion .accordion-header { - background: #E0ECFF; - filter: none; -} -.accordion .accordion-header-selected { - background: #e7f0ff; -} -.accordion .accordion-header-selected .panel-title { - color: #000000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/calendar.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/calendar.css deleted file mode 100644 index 6334627..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/calendar.css +++ /dev/null @@ -1,197 +0,0 @@ -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - table-layout: fixed; - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-disabled { - opacity: 0.6; - filter: alpha(opacity=60); - cursor: default; -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-body th, -.calendar-menu-month { - color: #4d4d4d; -} -.calendar-day { - color: #000000; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #95B8E7; -} -.calendar { - border-color: #95B8E7; -} -.calendar-header { - background: #E0ECFF; -} -.calendar-body, -.calendar-menu { - background: #ffffff; -} -.calendar-body th { - background: #F4F4F4; - padding: 2px 0; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #eaf2ff; - color: #000000; -} -.calendar-hover { - border: 1px solid #b7d2ff; - padding: 0; -} -.calendar-selected { - background-color: #ffe48d; - color: #000000; - border: 1px solid #ffab3f; - padding: 0; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/combo.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/combo.css deleted file mode 100644 index 42b913a..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/combo.css +++ /dev/null @@ -1,58 +0,0 @@ -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #ffffff; -} -.combo { - border-color: #95B8E7; - background-color: #ffffff; -} -.combo-arrow { - background-color: #E0ECFF; -} -.combo-arrow-hover { - background-color: #eaf2ff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/combobox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/combobox.css deleted file mode 100644 index 72eb423..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/combobox.css +++ /dev/null @@ -1,24 +0,0 @@ -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #eaf2ff; - color: #000000; -} -.combobox-item-selected { - background-color: #ffe48d; - color: #000000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/datagrid.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/datagrid.css deleted file mode 100644 index 51da59f..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/datagrid.css +++ /dev/null @@ -1,260 +0,0 @@ -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 10px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 12px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #ffffff url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #efefef; - background: -webkit-linear-gradient(top,#F9F9F9 0,#efefef 100%); - background: -moz-linear-gradient(top,#F9F9F9 0,#efefef 100%); - background: -o-linear-gradient(top,#F9F9F9 0,#efefef 100%); - background: linear-gradient(to bottom,#F9F9F9 0,#efefef 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F9F9F9,endColorstr=#efefef,GradientType=0); -} -.datagrid-cell-rownumber { - color: #000000; -} -.datagrid-resize-proxy { - background: #aac5e7; -} -.datagrid-mask { - background: #ccc; -} -.datagrid-mask-msg { - border-color: #95B8E7; -} -.datagrid-toolbar, -.datagrid-pager { - background: #F4F4F4; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #dddddd; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #ccc; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #000000; - border-collapse: separate; -} -.datagrid-row-alt { - background: #fafafa; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #eaf2ff; - color: #000000; - cursor: default; -} -.datagrid-row-selected { - background: #e7f0ff; - color: #000000; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #95B8E7; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/datebox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/datebox.css deleted file mode 100644 index 6225a0d..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/datebox.css +++ /dev/null @@ -1,36 +0,0 @@ -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #F4F4F4; -} -.datebox-button a { - color: #444; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/dialog.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/dialog.css deleted file mode 100644 index 77552bb..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/dialog.css +++ /dev/null @@ -1,30 +0,0 @@ -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #F4F4F4; -} -.dialog-toolbar { - border-bottom: 1px solid #dddddd; -} -.dialog-button { - border-top: 1px solid #dddddd; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/easyui.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/easyui.css deleted file mode 100644 index 056045d..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/easyui.css +++ /dev/null @@ -1,2412 +0,0 @@ -.panel { - overflow: hidden; - text-align: left; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; - color:white; -} -.panel-title { - background: url('images/blank.gif') no-repeat; - color:white; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 50px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #eaf2ff; - -moz-border-radius: 3px 3px 3px 3px; - -webkit-border-radius: 3px 3px 3px 3px; - border-radius: 3px 3px 3px 3px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #55873A; -} -.panel-header { - background-color: #80C05F; - background: -webkit-linear-gradient(top,#EFF5FF 0,#80C05F 100%); - background: -moz-linear-gradient(top,#EFF5FF 0,#80C05F 100%); - background: -o-linear-gradient(top,#EFF5FF 0,#80C05F 100%); - background: linear-gradient(to bottom,#EFF5FF 0,#80C05F 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#80C05F,GradientType=0); -} -.panel-body { - background-color: #ffffff; - color: #000000; - font-size: 12px; -} -.panel-title { - font-size: 16px; - font-weight: bold; - color: #FFFFFF; - height: 16px; - line-height: 16px; - text-align:center; -} -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; - color:white; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; - color:white; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; - color:white; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; - color:white; -} -.accordion { - background: #ffffff; - border-color: #55873A; - color:white; -} -.accordion .accordion-header { - background: #80C05F; - filter: none; - color:white; -} -.accordion .accordion-header-selected { - background: #A8D37A; -} -.accordion .accordion-header-selected .panel-title { - color: #000000; -} -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.window-shadow { - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #55873A; -} -.window { - background-color: #80C05F; - background: -webkit-linear-gradient(top,#EFF5FF 0,#80C05F 20%); - background: -moz-linear-gradient(top,#EFF5FF 0,#80C05F 20%); - background: -o-linear-gradient(top,#EFF5FF 0,#80C05F 20%); - background: linear-gradient(to bottom,#EFF5FF 0,#80C05F 20%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#80C05F,GradientType=0); -} -.window-proxy { - border: 1px dashed #55873A; -} -.window-proxy-mask, -.window-mask { - background: #ccc; -} -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #F4F4F4; -} -.dialog-toolbar { - border-bottom: 1px solid #dddddd; -} -.dialog-button { - border-top: 1px solid #dddddd; -} -.textbox { - border: 1px solid #55873A; - vertical-align: middle; -} -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #ffffff; -} -.combo { - border-color: #55873A; - background-color: #ffffff; -} -.combo-arrow { - background-color: #80C05F; -} -.combo-arrow-hover { - background-color: #eaf2ff; -} -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #eaf2ff; - color: #000000; -} -.combobox-item-selected { - background-color: #A8D37A; - color: #000000; -} -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #aac5e7; -} -.layout-split-north { - border-bottom: 5px solid #E6EEF8; -} -.layout-split-south { - border-top: 5px solid #E6EEF8; -} -.layout-split-east { - border-left: 5px solid #E6EEF8; -} -.layout-split-west { - border-right: 5px solid #E6EEF8; -} -.layout-expand { - background-color: #80C05F; -} -.layout-expand-over { - background-color: #80C05F; -} -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 5px 5px; - -webkit-border-radius: 0 0 5px 5px; - border-radius: 0 0 5px 5px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 5px 5px 0; - -webkit-border-radius: 0 5px 5px 0; - border-radius: 0 5px 5px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #80C05F url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #80C05F url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #eaf2ff; - color: #000000; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #ffffff; - color: #0E2D5F; - background: -webkit-linear-gradient(top,#EFF5FF 0,#ffffff 100%); - background: -moz-linear-gradient(top,#EFF5FF 0,#ffffff 100%); - background: -o-linear-gradient(top,#EFF5FF 0,#ffffff 100%); - background: linear-gradient(to bottom,#EFF5FF 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#ffffff,GradientType=0); -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(top,#ffffff 0,#EFF5FF 100%); - background: -moz-linear-gradient(top,#ffffff 0,#EFF5FF 100%); - background: -o-linear-gradient(top,#ffffff 0,#EFF5FF 100%); - background: linear-gradient(to bottom,#ffffff 0,#EFF5FF 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#EFF5FF,GradientType=0); -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#EFF5FF 0,#ffffff 100%); - background: -moz-linear-gradient(left,#EFF5FF 0,#ffffff 100%); - background: -o-linear-gradient(left,#EFF5FF 0,#ffffff 100%); - background: linear-gradient(to right,#EFF5FF 0,#ffffff 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#ffffff,GradientType=1); -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#ffffff 0,#EFF5FF 100%); - background: -moz-linear-gradient(left,#ffffff 0,#EFF5FF 100%); - background: -o-linear-gradient(left,#ffffff 0,#EFF5FF 100%); - background: linear-gradient(to right,#ffffff 0,#EFF5FF 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#EFF5FF,GradientType=1); -} -.tabs li a.tabs-inner { - color: #0E2D5F; - background-color: #80C05F; - background: -webkit-linear-gradient(top,#EFF5FF 0,#80C05F 100%); - background: -moz-linear-gradient(top,#EFF5FF 0,#80C05F 100%); - background: -o-linear-gradient(top,#EFF5FF 0,#80C05F 100%); - background: linear-gradient(to bottom,#EFF5FF 0,#80C05F 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#80C05F,GradientType=0); -} -.tabs-header, -.tabs-tool { - background-color: #80C05F; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #55873A; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #eaf2ff; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #ffffff; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #ffffff; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #ffffff; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #ffffff; -} -.l-btn { - text-decoration: none; - display: inline-block; - margin: 0; - padding: 0; - cursor: pointer; - outline: none; - text-align: center; - vertical-align: middle; -} -.l-btn-plain { - border: 0; - padding: 1px; -} -.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.l-btn-left { - display: inline-block; - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - vertical-align: top; -} -.l-btn-text { - display: inline-block; - vertical-align: top; - width: auto; - line-height: 24px; - font-size: 12px; - padding: 0; - margin: 0 4px; -} -.l-btn-icon { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - position: absolute; - top: 50%; - margin-top: -8px; - font-size: 1px; -} -.l-btn span span .l-btn-empty { - display: inline-block; - margin: 0; - width: 16px; - height: 24px; - font-size: 1px; - vertical-align: top; -} -.l-btn span .l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -.l-btn span .l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -.l-btn-icon-left .l-btn-text { - margin: 0 4px 0 24px; -} -.l-btn-icon-left .l-btn-icon { - left: 4px; -} -.l-btn-icon-right .l-btn-text { - margin: 0 24px 0 4px; -} -.l-btn-icon-right .l-btn-icon { - right: 4px; -} -.l-btn-icon-top .l-btn-text { - margin: 20px 4px 0 4px; -} -.l-btn-icon-top .l-btn-icon { - top: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-icon-bottom .l-btn-text { - margin: 0 4px 20px 4px; -} -.l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-left .l-btn-empty { - margin: 0 4px; - width: 16px; -} -.l-btn-plain:hover { - padding: 0; -} -.l-btn-focus { - outline: #0000FF dotted thin; -} -.l-btn-large .l-btn-text { - line-height: 40px; -} -.l-btn-large .l-btn-icon { - width: 32px; - height: 32px; - line-height: 32px; - margin-top: -16px; -} -.l-btn-large .l-btn-icon-left .l-btn-text { - margin-left: 40px; -} -.l-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.l-btn-large .l-btn-icon-top .l-btn-text { - margin-top: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-top .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-left .l-btn-empty { - margin: 0 4px; - width: 32px; -} -.l-btn { - color: #444; - background: #fafafa; - background-repeat: repeat-x; - border: 1px solid #bbb; - background: -webkit-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: -moz-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: -o-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.l-btn:hover { - background: #eaf2ff; - color: #000000; - border: 1px solid #b7d2ff; - filter: none; -} -.l-btn-plain { - background: transparent; - border: 0; - filter: none; -} -.l-btn-plain:hover { - background: #eaf2ff; - color: #000000; - border: 1px solid #b7d2ff; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.l-btn-disabled, -.l-btn-disabled:hover { - background: #fafafa; - color: #444; - background: -webkit-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: -moz-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: -o-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); - filter: alpha(opacity=50) progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); -} -.l-btn-plain-disabled, -.l-btn-plain-disabled:hover { - background: transparent; - filter: alpha(opacity=50); -} -.l-btn-selected, -.l-btn-selected:hover { - background: #ddd; - filter: none; -} -.l-btn-plain-selected, -.l-btn-plain-selected:hover { - background: #ddd; -} -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 10px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 14px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #ffffff url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #efefef; - background: -webkit-linear-gradient(top,#F9F9F9 0,#efefef 100%); - background: -moz-linear-gradient(top,#F9F9F9 0,#efefef 100%); - background: -o-linear-gradient(top,#F9F9F9 0,#efefef 100%); - background: linear-gradient(to bottom,#F9F9F9 0,#efefef 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F9F9F9,endColorstr=#efefef,GradientType=0); -} -.datagrid-cell-rownumber { - color: #000000; -} -.datagrid-resize-proxy { - background: #aac5e7; -} -.datagrid-mask { - background: #ccc; -} -.datagrid-mask-msg { - border-color: #55873A; -} -.datagrid-toolbar, -.datagrid-pager { - background: #F4F4F4; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #dddddd; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #ccc; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #000000; - border-collapse: separate; -} -.datagrid-row-alt { - background: #fafafa; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #eaf2ff; - color: #000000; - cursor: default; -} -.datagrid-row-selected { - background: #e7f0ff; - color: #000000; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #55873A; -} -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #dddddd; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #80C05F; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #dddddd; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #80C05F; -} -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -.pagination-link .l-btn-text { - width: 24px; - text-align: center; - margin: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #55873A; -} -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - table-layout: fixed; - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-disabled { - opacity: 0.6; - filter: alpha(opacity=60); - cursor: default; -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-body th, -.calendar-menu-month { - color: #4d4d4d; -} -.calendar-day { - color: #000000; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #55873A; -} -.calendar { - border-color: #55873A; -} -.calendar-header { - background: #80C05F; -} -.calendar-body, -.calendar-menu { - background: #ffffff; -} -.calendar-body th { - background: #F4F4F4; - padding: 2px 0; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #eaf2ff; - color: #000000; -} -.calendar-hover { - border: 1px solid #b7d2ff; - padding: 0; -} -.calendar-selected { - background-color: #A8D37A; - color: #000000; - border: 1px solid #ffab3f; - padding: 0; -} -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #F4F4F4; -} -.datebox-button a { - color: #444; -} -.numberbox { - border: 1px solid #55873A; - margin: 0; - padding: 0 2px; - vertical-align: middle; -} -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #55873A; -} -.spinner-arrow { - background-color: #80C05F; -} -.spinner-arrow-hover { - background-color: #eaf2ff; -} -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.progressbar { - border-color: #55873A; -} -.progressbar-text { - color: #000000; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #A8D37A; - color: #000000; -} -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - vertical-align: top; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox .l-btn-plain { - border: 0; - padding: 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox .l-btn-plain:hover { - border: 0; - padding: 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #55873A; - background-color: #fff; -} -.searchbox .l-btn-plain { - background: #80C05F; -} -.searchbox .l-btn-plain-disabled, -.searchbox .l-btn-plain-disabled:hover { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 5px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #55873A; - background: #80C05F; -} -.slider-rule span { - border-color: #55873A; -} -.slider-rulelabel span { - color: #000000; -} -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #ccc; - border-right: 1px solid #fff; -} -.menu-sep { - border-top: 1px solid #ccc; - border-bottom: 1px solid #fff; -} -.menu { - background-color: #fafafa; - border-color: #ddd; - color: #444; -} -.menu-content { - background: #ffffff; -} -.menu-item { - border-color: transparent; - _border-color: #fafafa; -} -.menu-active { - border-color: #b7d2ff; - color: #000000; - background: #eaf2ff; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #444; -} -.m-btn-downarrow, -.s-btn-downarrow { - display: inline-block; - position: absolute; - width: 16px; - height: 16px; - font-size: 1px; - right: 0; - top: 50%; - margin-top: -8px; -} -.m-btn-active, -.s-btn-active { - background: #eaf2ff; - color: #000000; - border: 1px solid #b7d2ff; - filter: none; -} -.m-btn-plain-active, -.s-btn-plain-active { - background: transparent; - padding: 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.m-btn .l-btn-left .l-btn-text { - margin-right: 20px; -} -.m-btn .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.m-btn .l-btn-icon-right .l-btn-icon { - right: 20px; -} -.m-btn .l-btn-icon-top .l-btn-text { - margin-right: 4px; - margin-bottom: 14px; -} -.m-btn .l-btn-icon-bottom .l-btn-text { - margin-right: 4px; - margin-bottom: 34px; -} -.m-btn .l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 20px; -} -.m-btn .l-btn-icon-top .m-btn-downarrow, -.m-btn .l-btn-icon-bottom .m-btn-downarrow { - top: auto; - bottom: 0px; - left: 50%; - margin-left: -8px; -} -.m-btn-line { - display: inline-block; - position: absolute; - font-size: 1px; - display: none; -} -.m-btn .l-btn-left .m-btn-line { - right: 0; - width: 16px; - height: 500px; - border-style: solid; - border-color: #aac5e7; - border-width: 0 0 0 1px; -} -.m-btn .l-btn-icon-top .m-btn-line, -.m-btn .l-btn-icon-bottom .m-btn-line { - left: 0; - bottom: 0; - width: 500px; - height: 16px; - border-width: 1px 0 0 0; -} -.m-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 56px; -} -.m-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 50px; -} -.m-btn-downarrow, -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 0 center; -} -.m-btn-plain-active, -.s-btn-plain-active { - border-color: #b7d2ff; - background-color: #eaf2ff; - color: #000000; -} -.s-btn:hover .m-btn-line, -.s-btn-active .m-btn-line, -.s-btn-plain-active .m-btn-line { - display: inline-block; -} -.l-btn:hover .s-btn-downarrow, -.s-btn-active .s-btn-downarrow, -.s-btn-plain-active .s-btn-downarrow { - border-style: solid; - border-color: #aac5e7; - border-width: 0 0 0 1px; -} -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-button .l-btn { - width: 70px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #55873A; -} -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/doct.png') no-repeat 0 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 13px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #ffffff; - color: #000000; - border-color: #55873A; -} -.tree-node-hover { - background: #eaf2ff; - color: #000000; -} -.tree-node-selected { - background: #A8D37A; - color: #000000; -} -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #ffffff; - border-color: #55873A; - color: #000000; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #55873A; -} -.tooltip-right .tooltip-arrow { - border-right-color: #ffffff; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #55873A; -} -.tooltip-left .tooltip-arrow { - border-left-color: #ffffff; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #55873A; -} -.tooltip-top .tooltip-arrow { - border-top-color: #ffffff; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #55873A; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #ffffff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/accordion_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/accordion_arrows.png deleted file mode 100644 index 69ed2a5..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/accordion_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/blank.gif b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/blank.gif deleted file mode 100644 index 1d11fa9..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/blank.gif and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/calendar_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/calendar_arrows.png deleted file mode 100644 index 430c4ad..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/calendar_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/combo_arrow.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/combo_arrow.png deleted file mode 100644 index 2e59fb9..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/combo_arrow.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/datagrid_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/datagrid_icons.png deleted file mode 100644 index 747ac4d..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/datagrid_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/datebox_arrow.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/datebox_arrow.png deleted file mode 100644 index 783c833..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/datebox_arrow.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/doct.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/doct.png deleted file mode 100644 index bd451d7..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/doct.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/layout_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/layout_arrows.png deleted file mode 100644 index 45aa36e..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/layout_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/linkbutton_bg.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/linkbutton_bg.png deleted file mode 100644 index fc66bd2..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/linkbutton_bg.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/loading.gif b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/loading.gif deleted file mode 100644 index 68f01d0..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/loading.gif and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/menu_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/menu_arrows.png deleted file mode 100644 index b986842..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/menu_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/messager_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/messager_icons.png deleted file mode 100644 index 62c18c1..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/messager_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/org.gif b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/org.gif deleted file mode 100644 index 324e59a..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/org.gif and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/pagination_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/pagination_icons.png deleted file mode 100644 index 616f0bd..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/pagination_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/panel_tools.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/panel_tools.png deleted file mode 100644 index 19ecc94..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/panel_tools.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/searchbox_button.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/searchbox_button.png deleted file mode 100644 index 6dd1931..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/searchbox_button.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/slider_handle.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/slider_handle.png deleted file mode 100644 index b9802ba..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/slider_handle.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/spinner_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/spinner_arrows.png deleted file mode 100644 index b68592d..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/spinner_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/tabs_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/tabs_icons.png deleted file mode 100644 index 3ffe6e2..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/tabs_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/tree_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/tree_icons.png deleted file mode 100644 index e9be4f3..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/tree_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/validatebox_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/validatebox_arrows.png deleted file mode 100644 index 5fe78f7..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/validatebox_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/validatebox_warning.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/validatebox_warning.png deleted file mode 100644 index 2b3d4f0..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/images/validatebox_warning.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/layout.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/layout.css deleted file mode 100644 index 0292cf5..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/layout.css +++ /dev/null @@ -1,91 +0,0 @@ -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #aac5e7; -} -.layout-split-north { - border-bottom: 5px solid #E6EEF8; -} -.layout-split-south { - border-top: 5px solid #E6EEF8; -} -.layout-split-east { - border-left: 5px solid #E6EEF8; -} -.layout-split-west { - border-right: 5px solid #E6EEF8; -} -.layout-expand { - background-color: #E0ECFF; -} -.layout-expand-over { - background-color: #E0ECFF; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/linkbutton.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/linkbutton.css deleted file mode 100644 index f2e413b..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/linkbutton.css +++ /dev/null @@ -1,197 +0,0 @@ -.l-btn { - text-decoration: none; - display: inline-block; - margin: 0; - padding: 0; - cursor: pointer; - outline: none; - text-align: center; - vertical-align: middle; -} -.l-btn-plain { - border: 0; - padding: 1px; -} -.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.l-btn-left { - display: inline-block; - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - vertical-align: top; -} -.l-btn-text { - display: inline-block; - vertical-align: top; - width: auto; - line-height: 24px; - font-size: 12px; - padding: 0; - margin: 0 4px; -} -.l-btn-icon { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - position: absolute; - top: 50%; - margin-top: -8px; - font-size: 1px; -} -.l-btn span span .l-btn-empty { - display: inline-block; - margin: 0; - width: 16px; - height: 24px; - font-size: 1px; - vertical-align: top; -} -.l-btn span .l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -.l-btn span .l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -.l-btn-icon-left .l-btn-text { - margin: 0 4px 0 24px; -} -.l-btn-icon-left .l-btn-icon { - left: 4px; -} -.l-btn-icon-right .l-btn-text { - margin: 0 24px 0 4px; -} -.l-btn-icon-right .l-btn-icon { - right: 4px; -} -.l-btn-icon-top .l-btn-text { - margin: 20px 4px 0 4px; -} -.l-btn-icon-top .l-btn-icon { - top: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-icon-bottom .l-btn-text { - margin: 0 4px 20px 4px; -} -.l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-left .l-btn-empty { - margin: 0 4px; - width: 16px; -} -.l-btn-plain:hover { - padding: 0; -} -.l-btn-focus { - outline: #0000FF dotted thin; -} -.l-btn-large .l-btn-text { - line-height: 40px; -} -.l-btn-large .l-btn-icon { - width: 32px; - height: 32px; - line-height: 32px; - margin-top: -16px; -} -.l-btn-large .l-btn-icon-left .l-btn-text { - margin-left: 40px; -} -.l-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.l-btn-large .l-btn-icon-top .l-btn-text { - margin-top: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-top .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-left .l-btn-empty { - margin: 0 4px; - width: 32px; -} -.l-btn { - color: #444; - background: #fafafa; - background-repeat: repeat-x; - border: 1px solid #bbb; - background: -webkit-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: -moz-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: -o-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.l-btn:hover { - background: #eaf2ff; - color: #000000; - border: 1px solid #b7d2ff; - filter: none; -} -.l-btn-plain { - background: transparent; - border: 0; - filter: none; -} -.l-btn-plain:hover { - background: #eaf2ff; - color: #000000; - border: 1px solid #b7d2ff; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.l-btn-disabled, -.l-btn-disabled:hover { - background: #fafafa; - color: #444; - background: -webkit-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: -moz-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: -o-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); - filter: alpha(opacity=50) progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); -} -.l-btn-plain-disabled, -.l-btn-plain-disabled:hover { - background: transparent; - filter: alpha(opacity=50); -} -.l-btn-selected, -.l-btn-selected:hover { - background: #ddd; - filter: none; -} -.l-btn-plain-selected, -.l-btn-plain-selected:hover { - background: #ddd; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/menu.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/menu.css deleted file mode 100644 index c6089d5..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/menu.css +++ /dev/null @@ -1,109 +0,0 @@ -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #ccc; - border-right: 1px solid #fff; -} -.menu-sep { - border-top: 1px solid #ccc; - border-bottom: 1px solid #fff; -} -.menu { - background-color: #fafafa; - border-color: #ddd; - color: #444; -} -.menu-content { - background: #ffffff; -} -.menu-item { - border-color: transparent; - _border-color: #fafafa; -} -.menu-active { - border-color: #b7d2ff; - color: #000000; - background: #eaf2ff; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #444; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/menubutton.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/menubutton.css deleted file mode 100644 index 3445bd5..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/menubutton.css +++ /dev/null @@ -1,94 +0,0 @@ -.m-btn-downarrow, -.s-btn-downarrow { - display: inline-block; - position: absolute; - width: 16px; - height: 16px; - font-size: 1px; - right: 0; - top: 50%; - margin-top: -8px; -} -.m-btn-active, -.s-btn-active { - background: #eaf2ff; - color: #000000; - border: 1px solid #b7d2ff; - filter: none; -} -.m-btn-plain-active, -.s-btn-plain-active { - background: transparent; - padding: 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.m-btn .l-btn-left .l-btn-text { - margin-right: 20px; -} -.m-btn .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.m-btn .l-btn-icon-right .l-btn-icon { - right: 20px; -} -.m-btn .l-btn-icon-top .l-btn-text { - margin-right: 4px; - margin-bottom: 14px; -} -.m-btn .l-btn-icon-bottom .l-btn-text { - margin-right: 4px; - margin-bottom: 34px; -} -.m-btn .l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 20px; -} -.m-btn .l-btn-icon-top .m-btn-downarrow, -.m-btn .l-btn-icon-bottom .m-btn-downarrow { - top: auto; - bottom: 0px; - left: 50%; - margin-left: -8px; -} -.m-btn-line { - display: inline-block; - position: absolute; - font-size: 1px; - display: none; -} -.m-btn .l-btn-left .m-btn-line { - right: 0; - width: 16px; - height: 500px; - border-style: solid; - border-color: #aac5e7; - border-width: 0 0 0 1px; -} -.m-btn .l-btn-icon-top .m-btn-line, -.m-btn .l-btn-icon-bottom .m-btn-line { - left: 0; - bottom: 0; - width: 500px; - height: 16px; - border-width: 1px 0 0 0; -} -.m-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 56px; -} -.m-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 50px; -} -.m-btn-downarrow, -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 0 center; -} -.m-btn-plain-active, -.s-btn-plain-active { - border-color: #b7d2ff; - background-color: #eaf2ff; - color: #000000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/messager.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/messager.css deleted file mode 100644 index f719581..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/messager.css +++ /dev/null @@ -1,40 +0,0 @@ -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-button .l-btn { - width: 70px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #95B8E7; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/numberbox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/numberbox.css deleted file mode 100644 index 453c6a2..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/numberbox.css +++ /dev/null @@ -1,6 +0,0 @@ -.numberbox { - border: 1px solid #95B8E7; - margin: 0; - padding: 0 2px; - vertical-align: middle; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/pagination.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/pagination.css deleted file mode 100644 index 1f8783c..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/pagination.css +++ /dev/null @@ -1,71 +0,0 @@ -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -.pagination-link .l-btn-text { - width: 24px; - text-align: center; - margin: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #95B8E7; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/panel.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/panel.css deleted file mode 100644 index 83fd2e4..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/panel.css +++ /dev/null @@ -1,131 +0,0 @@ -.panel { - overflow: hidden; - text-align: left; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; -} -.panel-title { - background: url('images/blank.gif') no-repeat; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 5px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #eaf2ff; - -moz-border-radius: 3px 3px 3px 3px; - -webkit-border-radius: 3px 3px 3px 3px; - border-radius: 3px 3px 3px 3px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #95B8E7; -} -.panel-header { - background-color: #E0ECFF; - background: -webkit-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); - background: -moz-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); - background: -o-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); - background: linear-gradient(to bottom,#EFF5FF 0,#E0ECFF 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#E0ECFF,GradientType=0); -} -.panel-body { - background-color: #ffffff; - color: #000000; - font-size: 12px; -} -.panel-title { - font-size: 12px; - font-weight: bold; - color: #0E2D5F; - height: 16px; - line-height: 16px; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/progressbar.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/progressbar.css deleted file mode 100644 index e4d3003..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/progressbar.css +++ /dev/null @@ -1,32 +0,0 @@ -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.progressbar { - border-color: #95B8E7; -} -.progressbar-text { - color: #000000; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #ffe48d; - color: #000000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/propertygrid.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/propertygrid.css deleted file mode 100644 index 5f5fbb3..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/propertygrid.css +++ /dev/null @@ -1,28 +0,0 @@ -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #dddddd; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #E0ECFF; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #dddddd; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #E0ECFF; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/searchbox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/searchbox.css deleted file mode 100644 index 7c4e7c6..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/searchbox.css +++ /dev/null @@ -1,75 +0,0 @@ -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - vertical-align: top; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox .l-btn-plain { - border: 0; - padding: 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox .l-btn-plain:hover { - border: 0; - padding: 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #95B8E7; - background-color: #fff; -} -.searchbox .l-btn-plain { - background: #E0ECFF; -} -.searchbox .l-btn-plain-disabled, -.searchbox .l-btn-plain-disabled:hover { - opacity: 0.5; - filter: alpha(opacity=50); -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/slider.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/slider.css deleted file mode 100644 index a4db046..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/slider.css +++ /dev/null @@ -1,100 +0,0 @@ -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 5px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #95B8E7; - background: #E0ECFF; -} -.slider-rule span { - border-color: #95B8E7; -} -.slider-rulelabel span { - color: #000000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/spinner.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/spinner.css deleted file mode 100644 index 1a28f8a..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/spinner.css +++ /dev/null @@ -1,59 +0,0 @@ -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #95B8E7; -} -.spinner-arrow { - background-color: #E0ECFF; -} -.spinner-arrow-hover { - background-color: #eaf2ff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/splitbutton.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/splitbutton.css deleted file mode 100644 index 86d6da5..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/splitbutton.css +++ /dev/null @@ -1,12 +0,0 @@ -.s-btn:hover .m-btn-line, -.s-btn-active .m-btn-line, -.s-btn-plain-active .m-btn-line { - display: inline-block; -} -.l-btn:hover .s-btn-downarrow, -.s-btn-active .s-btn-downarrow, -.s-btn-plain-active .s-btn-downarrow { - border-style: solid; - border-color: #aac5e7; - border-width: 0 0 0 1px; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/tabs.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/tabs.css deleted file mode 100644 index 2978394..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/tabs.css +++ /dev/null @@ -1,356 +0,0 @@ -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 5px 5px; - -webkit-border-radius: 0 0 5px 5px; - border-radius: 0 0 5px 5px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 5px 5px 0; - -webkit-border-radius: 0 5px 5px 0; - border-radius: 0 5px 5px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #E0ECFF url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #E0ECFF url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #eaf2ff; - color: #000000; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #ffffff; - color: #0E2D5F; - background: -webkit-linear-gradient(top,#EFF5FF 0,#ffffff 100%); - background: -moz-linear-gradient(top,#EFF5FF 0,#ffffff 100%); - background: -o-linear-gradient(top,#EFF5FF 0,#ffffff 100%); - background: linear-gradient(to bottom,#EFF5FF 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#ffffff,GradientType=0); -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(top,#ffffff 0,#EFF5FF 100%); - background: -moz-linear-gradient(top,#ffffff 0,#EFF5FF 100%); - background: -o-linear-gradient(top,#ffffff 0,#EFF5FF 100%); - background: linear-gradient(to bottom,#ffffff 0,#EFF5FF 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#EFF5FF,GradientType=0); -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#EFF5FF 0,#ffffff 100%); - background: -moz-linear-gradient(left,#EFF5FF 0,#ffffff 100%); - background: -o-linear-gradient(left,#EFF5FF 0,#ffffff 100%); - background: linear-gradient(to right,#EFF5FF 0,#ffffff 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#ffffff,GradientType=1); -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#ffffff 0,#EFF5FF 100%); - background: -moz-linear-gradient(left,#ffffff 0,#EFF5FF 100%); - background: -o-linear-gradient(left,#ffffff 0,#EFF5FF 100%); - background: linear-gradient(to right,#ffffff 0,#EFF5FF 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#EFF5FF,GradientType=1); -} -.tabs li a.tabs-inner { - color: #0E2D5F; - background-color: #E0ECFF; - background: -webkit-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); - background: -moz-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); - background: -o-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); - background: linear-gradient(to bottom,#EFF5FF 0,#E0ECFF 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#E0ECFF,GradientType=0); -} -.tabs-header, -.tabs-tool { - background-color: #E0ECFF; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #95B8E7; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #eaf2ff; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #ffffff; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #ffffff; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #ffffff; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #ffffff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/textbox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/textbox.css deleted file mode 100644 index be0a0e3..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/textbox.css +++ /dev/null @@ -1,4 +0,0 @@ -.textbox { - border: 1px solid #95B8E7; - vertical-align: middle; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/tooltip.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/tooltip.css deleted file mode 100644 index 2881b70..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/tooltip.css +++ /dev/null @@ -1,100 +0,0 @@ -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #ffffff; - border-color: #95B8E7; - color: #000000; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #95B8E7; -} -.tooltip-right .tooltip-arrow { - border-right-color: #ffffff; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #95B8E7; -} -.tooltip-left .tooltip-arrow { - border-left-color: #ffffff; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #95B8E7; -} -.tooltip-top .tooltip-arrow { - border-top-color: #ffffff; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #95B8E7; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #ffffff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/tree.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/tree.css deleted file mode 100644 index bdbcd01..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/tree.css +++ /dev/null @@ -1,157 +0,0 @@ -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/tree_icons.png') no-repeat -240px 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 12px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #ffffff; - color: #000000; - border-color: #95B8E7; -} -.tree-node-hover { - background: #eaf2ff; - color: #000000; -} -.tree-node-selected { - background: #ffe48d; - color: #000000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/validatebox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/validatebox.css deleted file mode 100644 index 154da75..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/validatebox.css +++ /dev/null @@ -1,8 +0,0 @@ -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/window.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/window.css deleted file mode 100644 index b22024a..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/default/window.css +++ /dev/null @@ -1,87 +0,0 @@ -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header .panel-icon { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.window-shadow { - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #95B8E7; -} -.window { - background-color: #E0ECFF; - background: -webkit-linear-gradient(top,#EFF5FF 0,#E0ECFF 20%); - background: -moz-linear-gradient(top,#EFF5FF 0,#E0ECFF 20%); - background: -o-linear-gradient(top,#EFF5FF 0,#E0ECFF 20%); - background: linear-gradient(to bottom,#EFF5FF 0,#E0ECFF 20%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#E0ECFF,GradientType=0); -} -.window-proxy { - border: 1px dashed #95B8E7; -} -.window-proxy-mask, -.window-mask { - background: #ccc; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/accordion.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/accordion.css deleted file mode 100644 index 3cb451b..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/accordion.css +++ /dev/null @@ -1,41 +0,0 @@ -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; -} -.accordion { - background: #ffffff; - border-color: #D3D3D3; -} -.accordion .accordion-header { - background: #f3f3f3; - filter: none; -} -.accordion .accordion-header-selected { - background: #0092DC; -} -.accordion .accordion-header-selected .panel-title { - color: #fff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/calendar.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/calendar.css deleted file mode 100644 index 335310d..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/calendar.css +++ /dev/null @@ -1,197 +0,0 @@ -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - table-layout: fixed; - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-disabled { - opacity: 0.6; - filter: alpha(opacity=60); - cursor: default; -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-body th, -.calendar-menu-month { - color: #4d4d4d; -} -.calendar-day { - color: #000000; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #D3D3D3; -} -.calendar { - border-color: #D3D3D3; -} -.calendar-header { - background: #f3f3f3; -} -.calendar-body, -.calendar-menu { - background: #ffffff; -} -.calendar-body th { - background: #fafafa; - padding: 2px 0; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #e2e2e2; - color: #000000; -} -.calendar-hover { - border: 1px solid #ccc; - padding: 0; -} -.calendar-selected { - background-color: #0092DC; - color: #fff; - border: 1px solid #0070a9; - padding: 0; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/combo.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/combo.css deleted file mode 100644 index 1fdf982..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/combo.css +++ /dev/null @@ -1,58 +0,0 @@ -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #ffffff; -} -.combo { - border-color: #D3D3D3; - background-color: #ffffff; -} -.combo-arrow { - background-color: #f3f3f3; -} -.combo-arrow-hover { - background-color: #e2e2e2; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/combobox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/combobox.css deleted file mode 100644 index 68b6262..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/combobox.css +++ /dev/null @@ -1,24 +0,0 @@ -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #e2e2e2; - color: #000000; -} -.combobox-item-selected { - background-color: #0092DC; - color: #fff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/datagrid.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/datagrid.css deleted file mode 100644 index b30311a..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/datagrid.css +++ /dev/null @@ -1,260 +0,0 @@ -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 10px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 12px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #ffffff url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #fafafa; - background: -webkit-linear-gradient(top,#fdfdfd 0,#f5f5f5 100%); - background: -moz-linear-gradient(top,#fdfdfd 0,#f5f5f5 100%); - background: -o-linear-gradient(top,#fdfdfd 0,#f5f5f5 100%); - background: linear-gradient(to bottom,#fdfdfd 0,#f5f5f5 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#fdfdfd,endColorstr=#f5f5f5,GradientType=0); -} -.datagrid-cell-rownumber { - color: #000000; -} -.datagrid-resize-proxy { - background: #bfbfbf; -} -.datagrid-mask { - background: #ccc; -} -.datagrid-mask-msg { - border-color: #D3D3D3; -} -.datagrid-toolbar, -.datagrid-pager { - background: #fafafa; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #ddd; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #ccc; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #000000; - border-collapse: separate; -} -.datagrid-row-alt { - background: #fafafa; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #e2e2e2; - color: #000000; - cursor: default; -} -.datagrid-row-selected { - background: #0092DC; - color: #fff; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #D3D3D3; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/datebox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/datebox.css deleted file mode 100644 index 8c41350..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/datebox.css +++ /dev/null @@ -1,36 +0,0 @@ -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #fafafa; -} -.datebox-button a { - color: #444; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/dialog.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/dialog.css deleted file mode 100644 index fcd00ad..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/dialog.css +++ /dev/null @@ -1,30 +0,0 @@ -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #fafafa; -} -.dialog-toolbar { - border-bottom: 1px solid #ddd; -} -.dialog-button { - border-top: 1px solid #ddd; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/easyui.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/easyui.css deleted file mode 100644 index d3b6e5d..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/easyui.css +++ /dev/null @@ -1,2403 +0,0 @@ -.panel { - overflow: hidden; - text-align: left; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; -} -.panel-title { - background: url('images/blank.gif') no-repeat; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 5px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #e2e2e2; - -moz-border-radius: 3px 3px 3px 3px; - -webkit-border-radius: 3px 3px 3px 3px; - border-radius: 3px 3px 3px 3px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #D3D3D3; -} -.panel-header { - background-color: #f3f3f3; - background: -webkit-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: -moz-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: -o-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: linear-gradient(to bottom,#F8F8F8 0,#eeeeee 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#eeeeee,GradientType=0); -} -.panel-body { - background-color: #ffffff; - color: #000000; - font-size: 12px; -} -.panel-title { - font-size: 12px; - font-weight: bold; - color: #575765; - height: 16px; - line-height: 16px; -} -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; -} -.accordion { - background: #ffffff; - border-color: #D3D3D3; -} -.accordion .accordion-header { - background: #f3f3f3; - filter: none; -} -.accordion .accordion-header-selected { - background: #0092DC; -} -.accordion .accordion-header-selected .panel-title { - color: #fff; -} -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header .panel-icon { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.window-shadow { - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #D3D3D3; -} -.window { - background-color: #f3f3f3; - background: -webkit-linear-gradient(top,#F8F8F8 0,#eeeeee 20%); - background: -moz-linear-gradient(top,#F8F8F8 0,#eeeeee 20%); - background: -o-linear-gradient(top,#F8F8F8 0,#eeeeee 20%); - background: linear-gradient(to bottom,#F8F8F8 0,#eeeeee 20%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#eeeeee,GradientType=0); -} -.window-proxy { - border: 1px dashed #D3D3D3; -} -.window-proxy-mask, -.window-mask { - background: #ccc; -} -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #fafafa; -} -.dialog-toolbar { - border-bottom: 1px solid #ddd; -} -.dialog-button { - border-top: 1px solid #ddd; -} -.textbox { - border: 1px solid #D3D3D3; - vertical-align: middle; -} -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #ffffff; -} -.combo { - border-color: #D3D3D3; - background-color: #ffffff; -} -.combo-arrow { - background-color: #f3f3f3; -} -.combo-arrow-hover { - background-color: #e2e2e2; -} -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #e2e2e2; - color: #000000; -} -.combobox-item-selected { - background-color: #0092DC; - color: #fff; -} -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #bfbfbf; -} -.layout-split-north { - border-bottom: 5px solid #efefef; -} -.layout-split-south { - border-top: 5px solid #efefef; -} -.layout-split-east { - border-left: 5px solid #efefef; -} -.layout-split-west { - border-right: 5px solid #efefef; -} -.layout-expand { - background-color: #f3f3f3; -} -.layout-expand-over { - background-color: #f3f3f3; -} -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 5px 5px; - -webkit-border-radius: 0 0 5px 5px; - border-radius: 0 0 5px 5px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 5px 5px 0; - -webkit-border-radius: 0 5px 5px 0; - border-radius: 0 5px 5px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #f3f3f3 url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #f3f3f3 url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #e2e2e2; - color: #000000; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #ffffff; - color: #575765; - background: -webkit-linear-gradient(top,#F8F8F8 0,#ffffff 100%); - background: -moz-linear-gradient(top,#F8F8F8 0,#ffffff 100%); - background: -o-linear-gradient(top,#F8F8F8 0,#ffffff 100%); - background: linear-gradient(to bottom,#F8F8F8 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#ffffff,GradientType=0); -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(top,#ffffff 0,#F8F8F8 100%); - background: -moz-linear-gradient(top,#ffffff 0,#F8F8F8 100%); - background: -o-linear-gradient(top,#ffffff 0,#F8F8F8 100%); - background: linear-gradient(to bottom,#ffffff 0,#F8F8F8 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F8F8F8,GradientType=0); -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#F8F8F8 0,#ffffff 100%); - background: -moz-linear-gradient(left,#F8F8F8 0,#ffffff 100%); - background: -o-linear-gradient(left,#F8F8F8 0,#ffffff 100%); - background: linear-gradient(to right,#F8F8F8 0,#ffffff 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#ffffff,GradientType=1); -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#ffffff 0,#F8F8F8 100%); - background: -moz-linear-gradient(left,#ffffff 0,#F8F8F8 100%); - background: -o-linear-gradient(left,#ffffff 0,#F8F8F8 100%); - background: linear-gradient(to right,#ffffff 0,#F8F8F8 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F8F8F8,GradientType=1); -} -.tabs li a.tabs-inner { - color: #575765; - background-color: #f3f3f3; - background: -webkit-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: -moz-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: -o-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: linear-gradient(to bottom,#F8F8F8 0,#eeeeee 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#eeeeee,GradientType=0); -} -.tabs-header, -.tabs-tool { - background-color: #f3f3f3; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #D3D3D3; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #e2e2e2; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #ffffff; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #ffffff; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #ffffff; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #ffffff; -} -.l-btn { - text-decoration: none; - display: inline-block; - margin: 0; - padding: 0; - cursor: pointer; - outline: none; - text-align: center; - vertical-align: middle; -} -.l-btn-plain { - border: 0; - padding: 1px; -} -.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.l-btn-left { - display: inline-block; - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - vertical-align: top; -} -.l-btn-text { - display: inline-block; - vertical-align: top; - width: auto; - line-height: 24px; - font-size: 12px; - padding: 0; - margin: 0 4px; -} -.l-btn-icon { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - position: absolute; - top: 50%; - margin-top: -8px; - font-size: 1px; -} -.l-btn span span .l-btn-empty { - display: inline-block; - margin: 0; - width: 16px; - height: 24px; - font-size: 1px; - vertical-align: top; -} -.l-btn span .l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -.l-btn span .l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -.l-btn-icon-left .l-btn-text { - margin: 0 4px 0 24px; -} -.l-btn-icon-left .l-btn-icon { - left: 4px; -} -.l-btn-icon-right .l-btn-text { - margin: 0 24px 0 4px; -} -.l-btn-icon-right .l-btn-icon { - right: 4px; -} -.l-btn-icon-top .l-btn-text { - margin: 20px 4px 0 4px; -} -.l-btn-icon-top .l-btn-icon { - top: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-icon-bottom .l-btn-text { - margin: 0 4px 20px 4px; -} -.l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-left .l-btn-empty { - margin: 0 4px; - width: 16px; -} -.l-btn-plain:hover { - padding: 0; -} -.l-btn-focus { - outline: #0000FF dotted thin; -} -.l-btn-large .l-btn-text { - line-height: 40px; -} -.l-btn-large .l-btn-icon { - width: 32px; - height: 32px; - line-height: 32px; - margin-top: -16px; -} -.l-btn-large .l-btn-icon-left .l-btn-text { - margin-left: 40px; -} -.l-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.l-btn-large .l-btn-icon-top .l-btn-text { - margin-top: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-top .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-left .l-btn-empty { - margin: 0 4px; - width: 32px; -} -.l-btn { - color: #444; - background: #fafafa; - background-repeat: repeat-x; - border: 1px solid #bbb; - background: -webkit-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: -moz-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: -o-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.l-btn:hover { - background: #e2e2e2; - color: #000000; - border: 1px solid #ccc; - filter: none; -} -.l-btn-plain { - background: transparent; - border: 0; - filter: none; -} -.l-btn-plain:hover { - background: #e2e2e2; - color: #000000; - border: 1px solid #ccc; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.l-btn-disabled, -.l-btn-disabled:hover { - background: #fafafa; - color: #444; - background: -webkit-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: -moz-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: -o-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); - filter: alpha(opacity=50) progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); -} -.l-btn-plain-disabled, -.l-btn-plain-disabled:hover { - background: transparent; - filter: alpha(opacity=50); -} -.l-btn-selected, -.l-btn-selected:hover { - background: #ddd; - filter: none; -} -.l-btn-plain-selected, -.l-btn-plain-selected:hover { - background: #ddd; -} -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 10px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 12px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #ffffff url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #fafafa; - background: -webkit-linear-gradient(top,#fdfdfd 0,#f5f5f5 100%); - background: -moz-linear-gradient(top,#fdfdfd 0,#f5f5f5 100%); - background: -o-linear-gradient(top,#fdfdfd 0,#f5f5f5 100%); - background: linear-gradient(to bottom,#fdfdfd 0,#f5f5f5 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#fdfdfd,endColorstr=#f5f5f5,GradientType=0); -} -.datagrid-cell-rownumber { - color: #000000; -} -.datagrid-resize-proxy { - background: #bfbfbf; -} -.datagrid-mask { - background: #ccc; -} -.datagrid-mask-msg { - border-color: #D3D3D3; -} -.datagrid-toolbar, -.datagrid-pager { - background: #fafafa; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #ddd; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #ccc; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #000000; - border-collapse: separate; -} -.datagrid-row-alt { - background: #fafafa; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #e2e2e2; - color: #000000; - cursor: default; -} -.datagrid-row-selected { - background: #0092DC; - color: #fff; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #D3D3D3; -} -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #ddd; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #f3f3f3; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #ddd; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #f3f3f3; -} -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -.pagination-link .l-btn-text { - width: 24px; - text-align: center; - margin: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #D3D3D3; -} -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - table-layout: fixed; - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-disabled { - opacity: 0.6; - filter: alpha(opacity=60); - cursor: default; -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-body th, -.calendar-menu-month { - color: #4d4d4d; -} -.calendar-day { - color: #000000; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #D3D3D3; -} -.calendar { - border-color: #D3D3D3; -} -.calendar-header { - background: #f3f3f3; -} -.calendar-body, -.calendar-menu { - background: #ffffff; -} -.calendar-body th { - background: #fafafa; - padding: 2px 0; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #e2e2e2; - color: #000000; -} -.calendar-hover { - border: 1px solid #ccc; - padding: 0; -} -.calendar-selected { - background-color: #0092DC; - color: #fff; - border: 1px solid #0070a9; - padding: 0; -} -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #fafafa; -} -.datebox-button a { - color: #444; -} -.numberbox { - border: 1px solid #D3D3D3; - margin: 0; - padding: 0 2px; - vertical-align: middle; -} -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #D3D3D3; -} -.spinner-arrow { - background-color: #f3f3f3; -} -.spinner-arrow-hover { - background-color: #e2e2e2; -} -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.progressbar { - border-color: #D3D3D3; -} -.progressbar-text { - color: #000000; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #0092DC; - color: #fff; -} -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - vertical-align: top; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox .l-btn-plain { - border: 0; - padding: 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox .l-btn-plain:hover { - border: 0; - padding: 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #D3D3D3; - background-color: #fff; -} -.searchbox .l-btn-plain { - background: #f3f3f3; -} -.searchbox .l-btn-plain-disabled, -.searchbox .l-btn-plain-disabled:hover { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 5px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #D3D3D3; - background: #f3f3f3; -} -.slider-rule span { - border-color: #D3D3D3; -} -.slider-rulelabel span { - color: #000000; -} -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #ccc; - border-right: 1px solid #fff; -} -.menu-sep { - border-top: 1px solid #ccc; - border-bottom: 1px solid #fff; -} -.menu { - background-color: #f3f3f3; - border-color: #D3D3D3; - color: #444; -} -.menu-content { - background: #ffffff; -} -.menu-item { - border-color: transparent; - _border-color: #f3f3f3; -} -.menu-active { - border-color: #ccc; - color: #000000; - background: #e2e2e2; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #444; -} -.m-btn-downarrow, -.s-btn-downarrow { - display: inline-block; - position: absolute; - width: 16px; - height: 16px; - font-size: 1px; - right: 0; - top: 50%; - margin-top: -8px; -} -.m-btn-active, -.s-btn-active { - background: #e2e2e2; - color: #000000; - border: 1px solid #ccc; - filter: none; -} -.m-btn-plain-active, -.s-btn-plain-active { - background: transparent; - padding: 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.m-btn .l-btn-left .l-btn-text { - margin-right: 20px; -} -.m-btn .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.m-btn .l-btn-icon-right .l-btn-icon { - right: 20px; -} -.m-btn .l-btn-icon-top .l-btn-text { - margin-right: 4px; - margin-bottom: 14px; -} -.m-btn .l-btn-icon-bottom .l-btn-text { - margin-right: 4px; - margin-bottom: 34px; -} -.m-btn .l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 20px; -} -.m-btn .l-btn-icon-top .m-btn-downarrow, -.m-btn .l-btn-icon-bottom .m-btn-downarrow { - top: auto; - bottom: 0px; - left: 50%; - margin-left: -8px; -} -.m-btn-line { - display: inline-block; - position: absolute; - font-size: 1px; - display: none; -} -.m-btn .l-btn-left .m-btn-line { - right: 0; - width: 16px; - height: 500px; - border-style: solid; - border-color: #bfbfbf; - border-width: 0 0 0 1px; -} -.m-btn .l-btn-icon-top .m-btn-line, -.m-btn .l-btn-icon-bottom .m-btn-line { - left: 0; - bottom: 0; - width: 500px; - height: 16px; - border-width: 1px 0 0 0; -} -.m-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 56px; -} -.m-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 50px; -} -.m-btn-downarrow, -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 0 center; -} -.m-btn-plain-active, -.s-btn-plain-active { - border-color: #ccc; - background-color: #e2e2e2; - color: #000000; -} -.s-btn:hover .m-btn-line, -.s-btn-active .m-btn-line, -.s-btn-plain-active .m-btn-line { - display: inline-block; -} -.l-btn:hover .s-btn-downarrow, -.s-btn-active .s-btn-downarrow, -.s-btn-plain-active .s-btn-downarrow { - border-style: solid; - border-color: #bfbfbf; - border-width: 0 0 0 1px; -} -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-button .l-btn { - width: 70px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #D3D3D3; -} -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/tree_icons.png') no-repeat -240px 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 12px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #ffffff; - color: #000000; - border-color: #D3D3D3; -} -.tree-node-hover { - background: #e2e2e2; - color: #000000; -} -.tree-node-selected { - background: #0092DC; - color: #fff; -} -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #ffffff; - border-color: #D3D3D3; - color: #000000; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #D3D3D3; -} -.tooltip-right .tooltip-arrow { - border-right-color: #ffffff; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #D3D3D3; -} -.tooltip-left .tooltip-arrow { - border-left-color: #ffffff; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #D3D3D3; -} -.tooltip-top .tooltip-arrow { - border-top-color: #ffffff; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #D3D3D3; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #ffffff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/accordion_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/accordion_arrows.png deleted file mode 100644 index a0b8769..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/accordion_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/blank.gif b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/blank.gif deleted file mode 100644 index 1d11fa9..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/blank.gif and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/calendar_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/calendar_arrows.png deleted file mode 100644 index 430c4ad..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/calendar_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/combo_arrow.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/combo_arrow.png deleted file mode 100644 index 04f4ba0..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/combo_arrow.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/datagrid_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/datagrid_icons.png deleted file mode 100644 index 73c4e88..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/datagrid_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/datebox_arrow.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/datebox_arrow.png deleted file mode 100644 index 783c833..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/datebox_arrow.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/layout_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/layout_arrows.png deleted file mode 100644 index bf7929f..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/layout_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/linkbutton_bg.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/linkbutton_bg.png deleted file mode 100644 index fc66bd2..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/linkbutton_bg.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/loading.gif b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/loading.gif deleted file mode 100644 index 68f01d0..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/loading.gif and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/menu_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/menu_arrows.png deleted file mode 100644 index b986842..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/menu_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/messager_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/messager_icons.png deleted file mode 100644 index 62c18c1..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/messager_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/pagination_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/pagination_icons.png deleted file mode 100644 index e0f1b07..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/pagination_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/panel_tools.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/panel_tools.png deleted file mode 100644 index f33f8c9..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/panel_tools.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/searchbox_button.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/searchbox_button.png deleted file mode 100644 index 6dd1931..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/searchbox_button.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/slider_handle.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/slider_handle.png deleted file mode 100644 index b9802ba..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/slider_handle.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/spinner_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/spinner_arrows.png deleted file mode 100644 index dba62bb..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/spinner_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/tabs_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/tabs_icons.png deleted file mode 100644 index dfa10f7..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/tabs_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/tree_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/tree_icons.png deleted file mode 100644 index e9be4f3..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/tree_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/validatebox_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/validatebox_arrows.png deleted file mode 100644 index 5fe78f7..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/validatebox_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/validatebox_warning.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/validatebox_warning.png deleted file mode 100644 index 2b3d4f0..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/images/validatebox_warning.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/layout.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/layout.css deleted file mode 100644 index d26772e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/layout.css +++ /dev/null @@ -1,91 +0,0 @@ -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #bfbfbf; -} -.layout-split-north { - border-bottom: 5px solid #efefef; -} -.layout-split-south { - border-top: 5px solid #efefef; -} -.layout-split-east { - border-left: 5px solid #efefef; -} -.layout-split-west { - border-right: 5px solid #efefef; -} -.layout-expand { - background-color: #f3f3f3; -} -.layout-expand-over { - background-color: #f3f3f3; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/linkbutton.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/linkbutton.css deleted file mode 100644 index 2e4cafc..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/linkbutton.css +++ /dev/null @@ -1,197 +0,0 @@ -.l-btn { - text-decoration: none; - display: inline-block; - margin: 0; - padding: 0; - cursor: pointer; - outline: none; - text-align: center; - vertical-align: middle; -} -.l-btn-plain { - border: 0; - padding: 1px; -} -.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.l-btn-left { - display: inline-block; - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - vertical-align: top; -} -.l-btn-text { - display: inline-block; - vertical-align: top; - width: auto; - line-height: 24px; - font-size: 12px; - padding: 0; - margin: 0 4px; -} -.l-btn-icon { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - position: absolute; - top: 50%; - margin-top: -8px; - font-size: 1px; -} -.l-btn span span .l-btn-empty { - display: inline-block; - margin: 0; - width: 16px; - height: 24px; - font-size: 1px; - vertical-align: top; -} -.l-btn span .l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -.l-btn span .l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -.l-btn-icon-left .l-btn-text { - margin: 0 4px 0 24px; -} -.l-btn-icon-left .l-btn-icon { - left: 4px; -} -.l-btn-icon-right .l-btn-text { - margin: 0 24px 0 4px; -} -.l-btn-icon-right .l-btn-icon { - right: 4px; -} -.l-btn-icon-top .l-btn-text { - margin: 20px 4px 0 4px; -} -.l-btn-icon-top .l-btn-icon { - top: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-icon-bottom .l-btn-text { - margin: 0 4px 20px 4px; -} -.l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-left .l-btn-empty { - margin: 0 4px; - width: 16px; -} -.l-btn-plain:hover { - padding: 0; -} -.l-btn-focus { - outline: #0000FF dotted thin; -} -.l-btn-large .l-btn-text { - line-height: 40px; -} -.l-btn-large .l-btn-icon { - width: 32px; - height: 32px; - line-height: 32px; - margin-top: -16px; -} -.l-btn-large .l-btn-icon-left .l-btn-text { - margin-left: 40px; -} -.l-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.l-btn-large .l-btn-icon-top .l-btn-text { - margin-top: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-top .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-left .l-btn-empty { - margin: 0 4px; - width: 32px; -} -.l-btn { - color: #444; - background: #fafafa; - background-repeat: repeat-x; - border: 1px solid #bbb; - background: -webkit-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: -moz-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: -o-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.l-btn:hover { - background: #e2e2e2; - color: #000000; - border: 1px solid #ccc; - filter: none; -} -.l-btn-plain { - background: transparent; - border: 0; - filter: none; -} -.l-btn-plain:hover { - background: #e2e2e2; - color: #000000; - border: 1px solid #ccc; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.l-btn-disabled, -.l-btn-disabled:hover { - background: #fafafa; - color: #444; - background: -webkit-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: -moz-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: -o-linear-gradient(top,#ffffff 0,#eeeeee 100%); - background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); - filter: alpha(opacity=50) progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0); -} -.l-btn-plain-disabled, -.l-btn-plain-disabled:hover { - background: transparent; - filter: alpha(opacity=50); -} -.l-btn-selected, -.l-btn-selected:hover { - background: #ddd; - filter: none; -} -.l-btn-plain-selected, -.l-btn-plain-selected:hover { - background: #ddd; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/menu.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/menu.css deleted file mode 100644 index 51c2cff..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/menu.css +++ /dev/null @@ -1,109 +0,0 @@ -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #ccc; - border-right: 1px solid #fff; -} -.menu-sep { - border-top: 1px solid #ccc; - border-bottom: 1px solid #fff; -} -.menu { - background-color: #f3f3f3; - border-color: #D3D3D3; - color: #444; -} -.menu-content { - background: #ffffff; -} -.menu-item { - border-color: transparent; - _border-color: #f3f3f3; -} -.menu-active { - border-color: #ccc; - color: #000000; - background: #e2e2e2; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #444; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/menubutton.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/menubutton.css deleted file mode 100644 index f5732d5..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/menubutton.css +++ /dev/null @@ -1,94 +0,0 @@ -.m-btn-downarrow, -.s-btn-downarrow { - display: inline-block; - position: absolute; - width: 16px; - height: 16px; - font-size: 1px; - right: 0; - top: 50%; - margin-top: -8px; -} -.m-btn-active, -.s-btn-active { - background: #e2e2e2; - color: #000000; - border: 1px solid #ccc; - filter: none; -} -.m-btn-plain-active, -.s-btn-plain-active { - background: transparent; - padding: 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.m-btn .l-btn-left .l-btn-text { - margin-right: 20px; -} -.m-btn .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.m-btn .l-btn-icon-right .l-btn-icon { - right: 20px; -} -.m-btn .l-btn-icon-top .l-btn-text { - margin-right: 4px; - margin-bottom: 14px; -} -.m-btn .l-btn-icon-bottom .l-btn-text { - margin-right: 4px; - margin-bottom: 34px; -} -.m-btn .l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 20px; -} -.m-btn .l-btn-icon-top .m-btn-downarrow, -.m-btn .l-btn-icon-bottom .m-btn-downarrow { - top: auto; - bottom: 0px; - left: 50%; - margin-left: -8px; -} -.m-btn-line { - display: inline-block; - position: absolute; - font-size: 1px; - display: none; -} -.m-btn .l-btn-left .m-btn-line { - right: 0; - width: 16px; - height: 500px; - border-style: solid; - border-color: #bfbfbf; - border-width: 0 0 0 1px; -} -.m-btn .l-btn-icon-top .m-btn-line, -.m-btn .l-btn-icon-bottom .m-btn-line { - left: 0; - bottom: 0; - width: 500px; - height: 16px; - border-width: 1px 0 0 0; -} -.m-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 56px; -} -.m-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 50px; -} -.m-btn-downarrow, -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 0 center; -} -.m-btn-plain-active, -.s-btn-plain-active { - border-color: #ccc; - background-color: #e2e2e2; - color: #000000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/messager.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/messager.css deleted file mode 100644 index 1e5df2a..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/messager.css +++ /dev/null @@ -1,40 +0,0 @@ -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-button .l-btn { - width: 70px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #D3D3D3; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/numberbox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/numberbox.css deleted file mode 100644 index ae1e934..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/numberbox.css +++ /dev/null @@ -1,6 +0,0 @@ -.numberbox { - border: 1px solid #D3D3D3; - margin: 0; - padding: 0 2px; - vertical-align: middle; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/pagination.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/pagination.css deleted file mode 100644 index ac691ed..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/pagination.css +++ /dev/null @@ -1,71 +0,0 @@ -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -.pagination-link .l-btn-text { - width: 24px; - text-align: center; - margin: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #D3D3D3; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/panel.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/panel.css deleted file mode 100644 index 3b1912a..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/panel.css +++ /dev/null @@ -1,131 +0,0 @@ -.panel { - overflow: hidden; - text-align: left; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; -} -.panel-title { - background: url('images/blank.gif') no-repeat; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 5px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #e2e2e2; - -moz-border-radius: 3px 3px 3px 3px; - -webkit-border-radius: 3px 3px 3px 3px; - border-radius: 3px 3px 3px 3px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #D3D3D3; -} -.panel-header { - background-color: #f3f3f3; - background: -webkit-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: -moz-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: -o-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: linear-gradient(to bottom,#F8F8F8 0,#eeeeee 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#eeeeee,GradientType=0); -} -.panel-body { - background-color: #ffffff; - color: #000000; - font-size: 12px; -} -.panel-title { - font-size: 12px; - font-weight: bold; - color: #575765; - height: 16px; - line-height: 16px; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/progressbar.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/progressbar.css deleted file mode 100644 index 93818e3..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/progressbar.css +++ /dev/null @@ -1,32 +0,0 @@ -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.progressbar { - border-color: #D3D3D3; -} -.progressbar-text { - color: #000000; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #0092DC; - color: #fff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/propertygrid.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/propertygrid.css deleted file mode 100644 index 90e4520..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/propertygrid.css +++ /dev/null @@ -1,28 +0,0 @@ -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #ddd; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #f3f3f3; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #ddd; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #f3f3f3; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/searchbox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/searchbox.css deleted file mode 100644 index 9a6141a..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/searchbox.css +++ /dev/null @@ -1,75 +0,0 @@ -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - vertical-align: top; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox .l-btn-plain { - border: 0; - padding: 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox .l-btn-plain:hover { - border: 0; - padding: 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #D3D3D3; - background-color: #fff; -} -.searchbox .l-btn-plain { - background: #f3f3f3; -} -.searchbox .l-btn-plain-disabled, -.searchbox .l-btn-plain-disabled:hover { - opacity: 0.5; - filter: alpha(opacity=50); -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/slider.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/slider.css deleted file mode 100644 index 38e4e5b..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/slider.css +++ /dev/null @@ -1,100 +0,0 @@ -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 5px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #D3D3D3; - background: #f3f3f3; -} -.slider-rule span { - border-color: #D3D3D3; -} -.slider-rulelabel span { - color: #000000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/spinner.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/spinner.css deleted file mode 100644 index 0d9f2b0..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/spinner.css +++ /dev/null @@ -1,59 +0,0 @@ -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #D3D3D3; -} -.spinner-arrow { - background-color: #f3f3f3; -} -.spinner-arrow-hover { - background-color: #e2e2e2; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/splitbutton.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/splitbutton.css deleted file mode 100644 index bb2b6da..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/splitbutton.css +++ /dev/null @@ -1,12 +0,0 @@ -.s-btn:hover .m-btn-line, -.s-btn-active .m-btn-line, -.s-btn-plain-active .m-btn-line { - display: inline-block; -} -.l-btn:hover .s-btn-downarrow, -.s-btn-active .s-btn-downarrow, -.s-btn-plain-active .s-btn-downarrow { - border-style: solid; - border-color: #bfbfbf; - border-width: 0 0 0 1px; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/tabs.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/tabs.css deleted file mode 100644 index 7a48b33..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/tabs.css +++ /dev/null @@ -1,356 +0,0 @@ -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 5px 5px; - -webkit-border-radius: 0 0 5px 5px; - border-radius: 0 0 5px 5px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 5px 5px 0; - -webkit-border-radius: 0 5px 5px 0; - border-radius: 0 5px 5px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #f3f3f3 url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #f3f3f3 url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #e2e2e2; - color: #000000; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #ffffff; - color: #575765; - background: -webkit-linear-gradient(top,#F8F8F8 0,#ffffff 100%); - background: -moz-linear-gradient(top,#F8F8F8 0,#ffffff 100%); - background: -o-linear-gradient(top,#F8F8F8 0,#ffffff 100%); - background: linear-gradient(to bottom,#F8F8F8 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#ffffff,GradientType=0); -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(top,#ffffff 0,#F8F8F8 100%); - background: -moz-linear-gradient(top,#ffffff 0,#F8F8F8 100%); - background: -o-linear-gradient(top,#ffffff 0,#F8F8F8 100%); - background: linear-gradient(to bottom,#ffffff 0,#F8F8F8 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F8F8F8,GradientType=0); -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#F8F8F8 0,#ffffff 100%); - background: -moz-linear-gradient(left,#F8F8F8 0,#ffffff 100%); - background: -o-linear-gradient(left,#F8F8F8 0,#ffffff 100%); - background: linear-gradient(to right,#F8F8F8 0,#ffffff 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#ffffff,GradientType=1); -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#ffffff 0,#F8F8F8 100%); - background: -moz-linear-gradient(left,#ffffff 0,#F8F8F8 100%); - background: -o-linear-gradient(left,#ffffff 0,#F8F8F8 100%); - background: linear-gradient(to right,#ffffff 0,#F8F8F8 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F8F8F8,GradientType=1); -} -.tabs li a.tabs-inner { - color: #575765; - background-color: #f3f3f3; - background: -webkit-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: -moz-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: -o-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: linear-gradient(to bottom,#F8F8F8 0,#eeeeee 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#eeeeee,GradientType=0); -} -.tabs-header, -.tabs-tool { - background-color: #f3f3f3; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #D3D3D3; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #e2e2e2; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #ffffff; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #ffffff; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #ffffff; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #ffffff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/textbox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/textbox.css deleted file mode 100644 index 9ae07f9..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/textbox.css +++ /dev/null @@ -1,4 +0,0 @@ -.textbox { - border: 1px solid #D3D3D3; - vertical-align: middle; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/tooltip.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/tooltip.css deleted file mode 100644 index 51c5b83..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/tooltip.css +++ /dev/null @@ -1,100 +0,0 @@ -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #ffffff; - border-color: #D3D3D3; - color: #000000; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #D3D3D3; -} -.tooltip-right .tooltip-arrow { - border-right-color: #ffffff; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #D3D3D3; -} -.tooltip-left .tooltip-arrow { - border-left-color: #ffffff; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #D3D3D3; -} -.tooltip-top .tooltip-arrow { - border-top-color: #ffffff; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #D3D3D3; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #ffffff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/tree.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/tree.css deleted file mode 100644 index c705f39..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/tree.css +++ /dev/null @@ -1,157 +0,0 @@ -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/tree_icons.png') no-repeat -240px 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 12px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #ffffff; - color: #000000; - border-color: #D3D3D3; -} -.tree-node-hover { - background: #e2e2e2; - color: #000000; -} -.tree-node-selected { - background: #0092DC; - color: #fff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/validatebox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/validatebox.css deleted file mode 100644 index 154da75..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/validatebox.css +++ /dev/null @@ -1,8 +0,0 @@ -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/window.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/window.css deleted file mode 100644 index b06cfc0..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/gray/window.css +++ /dev/null @@ -1,87 +0,0 @@ -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header .panel-icon { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.window-shadow { - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #D3D3D3; -} -.window { - background-color: #f3f3f3; - background: -webkit-linear-gradient(top,#F8F8F8 0,#eeeeee 20%); - background: -moz-linear-gradient(top,#F8F8F8 0,#eeeeee 20%); - background: -o-linear-gradient(top,#F8F8F8 0,#eeeeee 20%); - background: linear-gradient(to bottom,#F8F8F8 0,#eeeeee 20%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#eeeeee,GradientType=0); -} -.window-proxy { - border: 1px dashed #D3D3D3; -} -.window-proxy-mask, -.window-mask { - background: #ccc; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icon.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icon.css deleted file mode 100644 index 433a43e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icon.css +++ /dev/null @@ -1,87 +0,0 @@ -.icon-blank{ - background:url('icons/blank.gif') no-repeat center center; -} -.icon-add{ - background:url('icons/edit_add.png') no-repeat center center; -} -.icon-edit{ - background:url('icons/pencil.png') no-repeat center center; -} -.icon-remove{ - background:url('icons/edit_remove.png') no-repeat center center; -} -.icon-save{ - background:url('icons/filesave.png') no-repeat center center; -} -.icon-cut{ - background:url('icons/cut.png') no-repeat center center; -} -.icon-ok{ - background:url('icons/ok.png') no-repeat center center; -} -.icon-no{ - background:url('icons/no.png') no-repeat center center; -} -.icon-cancel{ - background:url('icons/cancel.png') no-repeat center center; -} -.icon-reload{ - background:url('icons/reload.png') no-repeat center center; -} -.icon-search{ - background:url('icons/search.png') no-repeat center center; -} -.icon-print{ - background:url('icons/print.png') no-repeat center center; -} -.icon-help{ - background:url('icons/help.png') no-repeat center center; -} -.icon-undo{ - background:url('icons/undo.png') no-repeat center center; -} -.icon-redo{ - background:url('icons/redo.png') no-repeat center center; -} -.icon-back{ - background:url('icons/back.png') no-repeat center center; -} -.icon-sum{ - background:url('icons/sum.png') no-repeat center center; -} -.icon-tip{ - background:url('icons/tip.png') no-repeat center center; -} -.icon-filter{ - background:url('icons/filter.png') no-repeat center center; -} - - -.icon-mini-add{ - background:url('icons/mini_add.png') no-repeat center center; -} -.icon-mini-edit{ - background:url('icons/mini_edit.png') no-repeat center center; -} -.icon-mini-refresh{ - background:url('icons/mini_refresh.png') no-repeat center center; -} - -.icon-large-picture{ - background:url('icons/large_picture.png') no-repeat center center; -} -.icon-large-clipart{ - background:url('icons/large_clipart.png') no-repeat center center; -} -.icon-large-shapes{ - background:url('icons/large_shapes.png') no-repeat center center; -} -.icon-large-smartart{ - background:url('icons/large_smartart.png') no-repeat center center; -} -.icon-large-chart{ - background:url('icons/large_chart.png') no-repeat center center; -} -.icon-mysearch{ - background:url('icons/mysearch.png') no-repeat center center; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/back.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/back.png deleted file mode 100644 index 3fe8b17..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/back.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/blank.gif b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/blank.gif deleted file mode 100644 index 1d11fa9..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/blank.gif and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/cancel.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/cancel.png deleted file mode 100644 index a432b49..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/cancel.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/cut.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/cut.png deleted file mode 100644 index 21fdb4d..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/cut.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/edit_add.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/edit_add.png deleted file mode 100644 index e948508..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/edit_add.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/edit_remove.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/edit_remove.png deleted file mode 100644 index d555d92..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/edit_remove.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/filesave.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/filesave.png deleted file mode 100644 index fd0048d..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/filesave.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/filter.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/filter.png deleted file mode 100644 index 1fedf7a..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/filter.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/help.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/help.png deleted file mode 100644 index 28a0f9e..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/help.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/large_chart.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/large_chart.png deleted file mode 100644 index 527608e..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/large_chart.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/large_clipart.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/large_clipart.png deleted file mode 100644 index 9c9c440..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/large_clipart.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/large_picture.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/large_picture.png deleted file mode 100644 index a005b0c..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/large_picture.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/large_shapes.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/large_shapes.png deleted file mode 100644 index 90a0dca..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/large_shapes.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/large_smartart.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/large_smartart.png deleted file mode 100644 index b47da08..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/large_smartart.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/mini_add.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/mini_add.png deleted file mode 100644 index fd82b92..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/mini_add.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/mini_edit.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/mini_edit.png deleted file mode 100644 index db9221a..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/mini_edit.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/mini_refresh.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/mini_refresh.png deleted file mode 100644 index 6cdd016..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/mini_refresh.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/mysearch-2.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/mysearch-2.png deleted file mode 100644 index 879e03c..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/mysearch-2.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/mysearch-3.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/mysearch-3.png deleted file mode 100644 index 418dbfb..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/mysearch-3.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/mysearch.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/mysearch.png deleted file mode 100644 index ae207bc..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/mysearch.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/no.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/no.png deleted file mode 100644 index 37a7c74..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/no.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/ok.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/ok.png deleted file mode 100644 index 5b0f6a6..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/ok.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/pencil.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/pencil.png deleted file mode 100644 index 5b8cc89..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/pencil.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/print.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/print.png deleted file mode 100644 index fdf67a1..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/print.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/redo.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/redo.png deleted file mode 100644 index f1e45cf..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/redo.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/reload.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/reload.png deleted file mode 100644 index f51cab8..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/reload.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/search-2.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/search-2.png deleted file mode 100644 index 6dd1931..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/search-2.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/search.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/search.png deleted file mode 100644 index 6dd1931..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/search.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/sum.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/sum.png deleted file mode 100644 index fd7b32e..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/sum.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/tip.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/tip.png deleted file mode 100644 index 845e110..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/tip.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/undo.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/undo.png deleted file mode 100644 index 6129fa0..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/icons/undo.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/accordion.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/accordion.css deleted file mode 100644 index 31d6079..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/accordion.css +++ /dev/null @@ -1,41 +0,0 @@ -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; -} -.accordion { - background: #fff; - border-color: #ddd; -} -.accordion .accordion-header { - background: #ffffff; - filter: none; -} -.accordion .accordion-header-selected { - background: #CCE6FF; -} -.accordion .accordion-header-selected .panel-title { - color: #000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/calendar.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/calendar.css deleted file mode 100644 index 6af24ac..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/calendar.css +++ /dev/null @@ -1,197 +0,0 @@ -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - table-layout: fixed; - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-disabled { - opacity: 0.6; - filter: alpha(opacity=60); - cursor: default; -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-body th, -.calendar-menu-month { - color: #919191; -} -.calendar-day { - color: #444; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #ddd; -} -.calendar { - border-color: #ddd; -} -.calendar-header { - background: #ffffff; -} -.calendar-body, -.calendar-menu { - background: #fff; -} -.calendar-body th { - background: #fff; - padding: 2px 0; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #E6E6E6; - color: #444; -} -.calendar-hover { - border: 1px solid #ddd; - padding: 0; -} -.calendar-selected { - background-color: #CCE6FF; - color: #000; - border: 1px solid #99cdff; - padding: 0; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/combo.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/combo.css deleted file mode 100644 index 8922f8e..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/combo.css +++ /dev/null @@ -1,58 +0,0 @@ -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #fff; -} -.combo { - border-color: #ddd; - background-color: #fff; -} -.combo-arrow { - background-color: #ffffff; -} -.combo-arrow-hover { - background-color: #E6E6E6; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/combobox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/combobox.css deleted file mode 100644 index 0e058b1..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/combobox.css +++ /dev/null @@ -1,24 +0,0 @@ -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #E6E6E6; - color: #444; -} -.combobox-item-selected { - background-color: #CCE6FF; - color: #000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/datagrid.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/datagrid.css deleted file mode 100644 index dbd65ae..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/datagrid.css +++ /dev/null @@ -1,254 +0,0 @@ -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 10px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ddd; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 12px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #fff url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #ffffff; -} -.datagrid-cell-rownumber { - color: #444; -} -.datagrid-resize-proxy { - background: #b3b3b3; -} -.datagrid-mask { - background: #eee; -} -.datagrid-mask-msg { - border-color: #ddd; -} -.datagrid-toolbar, -.datagrid-pager { - background: #fff; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #ddd; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #ddd; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #444; - border-collapse: separate; -} -.datagrid-row-alt { - background: #f5f5f5; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #E6E6E6; - color: #444; - cursor: default; -} -.datagrid-row-selected { - background: #CCE6FF; - color: #000; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #ddd; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/datebox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/datebox.css deleted file mode 100644 index b0f71e2..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/datebox.css +++ /dev/null @@ -1,36 +0,0 @@ -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #fff; -} -.datebox-button a { - color: #777; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/dialog.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/dialog.css deleted file mode 100644 index 316cdc4..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/dialog.css +++ /dev/null @@ -1,30 +0,0 @@ -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #ddd; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #fff; -} -.dialog-toolbar { - border-bottom: 1px solid #ddd; -} -.dialog-button { - border-top: 1px solid #ddd; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/easyui.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/easyui.css deleted file mode 100644 index f7e82f1..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/easyui.css +++ /dev/null @@ -1,2349 +0,0 @@ -.panel { - overflow: hidden; - text-align: left; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; -} -.panel-title { - background: url('images/blank.gif') no-repeat; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 5px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #E6E6E6; - -moz-border-radius: -2px -2px -2px -2px; - -webkit-border-radius: -2px -2px -2px -2px; - border-radius: -2px -2px -2px -2px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #ddd; -} -.panel-header { - background-color: #ffffff; -} -.panel-body { - background-color: #fff; - color: #444; - font-size: 12px; -} -.panel-title { - font-size: 12px; - font-weight: bold; - color: #777; - height: 16px; - line-height: 16px; -} -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; -} -.accordion { - background: #fff; - border-color: #ddd; -} -.accordion .accordion-header { - background: #ffffff; - filter: none; -} -.accordion .accordion-header-selected { - background: #CCE6FF; -} -.accordion .accordion-header-selected .panel-title { - color: #000; -} -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header .panel-icon { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.window-shadow { - background: #eee; - -moz-box-shadow: 2px 2px 3px #ededed; - -webkit-box-shadow: 2px 2px 3px #ededed; - box-shadow: 2px 2px 3px #ededed; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #ddd; -} -.window { - background-color: #ffffff; -} -.window-proxy { - border: 1px dashed #ddd; -} -.window-proxy-mask, -.window-mask { - background: #eee; -} -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #ddd; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #fff; -} -.dialog-toolbar { - border-bottom: 1px solid #ddd; -} -.dialog-button { - border-top: 1px solid #ddd; -} -.textbox { - border: 1px solid #ddd; - vertical-align: middle; -} -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #fff; -} -.combo { - border-color: #ddd; - background-color: #fff; -} -.combo-arrow { - background-color: #ffffff; -} -.combo-arrow-hover { - background-color: #E6E6E6; -} -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #E6E6E6; - color: #444; -} -.combobox-item-selected { - background-color: #CCE6FF; - color: #000; -} -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #b3b3b3; -} -.layout-split-north { - border-bottom: 5px solid #fff; -} -.layout-split-south { - border-top: 5px solid #fff; -} -.layout-split-east { - border-left: 5px solid #fff; -} -.layout-split-west { - border-right: 5px solid #fff; -} -.layout-expand { - background-color: #ffffff; -} -.layout-expand-over { - background-color: #ffffff; -} -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 0px 0px 0 0; - -webkit-border-radius: 0px 0px 0 0; - border-radius: 0px 0px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 0px 0px; - -webkit-border-radius: 0 0 0px 0px; - border-radius: 0 0 0px 0px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0px 0 0 0px; - -webkit-border-radius: 0px 0 0 0px; - border-radius: 0px 0 0 0px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 0px 0px 0; - -webkit-border-radius: 0 0px 0px 0; - border-radius: 0 0px 0px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #ffffff url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #ffffff url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #E6E6E6; - color: #444; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #fff; - color: #777; -} -.tabs li a.tabs-inner { - color: #777; - background-color: #ffffff; -} -.tabs-header, -.tabs-tool { - background-color: #ffffff; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #ddd; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #E6E6E6; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #fff; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #fff; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #fff; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #fff; -} -.l-btn { - text-decoration: none; - display: inline-block; - margin: 0; - padding: 0; - cursor: pointer; - outline: none; - text-align: center; - vertical-align: middle; -} -.l-btn-plain { - border: 0; - padding: 1px; -} -.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.l-btn-left { - display: inline-block; - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - vertical-align: top; -} -.l-btn-text { - display: inline-block; - vertical-align: top; - width: auto; - line-height: 24px; - font-size: 12px; - padding: 0; - margin: 0 4px; -} -.l-btn-icon { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - position: absolute; - top: 50%; - margin-top: -8px; - font-size: 1px; -} -.l-btn span span .l-btn-empty { - display: inline-block; - margin: 0; - width: 16px; - height: 24px; - font-size: 1px; - vertical-align: top; -} -.l-btn span .l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -.l-btn span .l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -.l-btn-icon-left .l-btn-text { - margin: 0 4px 0 24px; -} -.l-btn-icon-left .l-btn-icon { - left: 4px; -} -.l-btn-icon-right .l-btn-text { - margin: 0 24px 0 4px; -} -.l-btn-icon-right .l-btn-icon { - right: 4px; -} -.l-btn-icon-top .l-btn-text { - margin: 20px 4px 0 4px; -} -.l-btn-icon-top .l-btn-icon { - top: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-icon-bottom .l-btn-text { - margin: 0 4px 20px 4px; -} -.l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-left .l-btn-empty { - margin: 0 4px; - width: 16px; -} -.l-btn-plain:hover { - padding: 0; -} -.l-btn-focus { - outline: #0000FF dotted thin; -} -.l-btn-large .l-btn-text { - line-height: 40px; -} -.l-btn-large .l-btn-icon { - width: 32px; - height: 32px; - line-height: 32px; - margin-top: -16px; -} -.l-btn-large .l-btn-icon-left .l-btn-text { - margin-left: 40px; -} -.l-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.l-btn-large .l-btn-icon-top .l-btn-text { - margin-top: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-top .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-left .l-btn-empty { - margin: 0 4px; - width: 32px; -} -.l-btn { - color: #777; - background: #ffffff; - background-repeat: repeat-x; - border: 1px solid #dddddd; - background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.l-btn:hover { - background: #E6E6E6; - color: #444; - border: 1px solid #ddd; - filter: none; -} -.l-btn-plain { - background: transparent; - border: 0; - filter: none; -} -.l-btn-plain:hover { - background: #E6E6E6; - color: #444; - border: 1px solid #ddd; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.l-btn-disabled, -.l-btn-disabled:hover { - background: #ffffff; - color: #777; - background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); - filter: alpha(opacity=50) progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); -} -.l-btn-plain-disabled, -.l-btn-plain-disabled:hover { - background: transparent; - filter: alpha(opacity=50); -} -.l-btn-selected, -.l-btn-selected:hover { - background: #ddd; - filter: none; -} -.l-btn-plain-selected, -.l-btn-plain-selected:hover { - background: #ddd; -} -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 10px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ddd; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 12px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #fff url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #ffffff; -} -.datagrid-cell-rownumber { - color: #444; -} -.datagrid-resize-proxy { - background: #b3b3b3; -} -.datagrid-mask { - background: #eee; -} -.datagrid-mask-msg { - border-color: #ddd; -} -.datagrid-toolbar, -.datagrid-pager { - background: #fff; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #ddd; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #ddd; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #444; - border-collapse: separate; -} -.datagrid-row-alt { - background: #f5f5f5; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #E6E6E6; - color: #444; - cursor: default; -} -.datagrid-row-selected { - background: #CCE6FF; - color: #000; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #ddd; -} -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #ddd; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #ffffff; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #ddd; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #ffffff; -} -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ddd; - border-right: 1px solid #fff; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -.pagination-link .l-btn-text { - width: 24px; - text-align: center; - margin: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #ddd; -} -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - table-layout: fixed; - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-disabled { - opacity: 0.6; - filter: alpha(opacity=60); - cursor: default; -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-body th, -.calendar-menu-month { - color: #919191; -} -.calendar-day { - color: #444; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #ddd; -} -.calendar { - border-color: #ddd; -} -.calendar-header { - background: #ffffff; -} -.calendar-body, -.calendar-menu { - background: #fff; -} -.calendar-body th { - background: #fff; - padding: 2px 0; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #E6E6E6; - color: #444; -} -.calendar-hover { - border: 1px solid #ddd; - padding: 0; -} -.calendar-selected { - background-color: #CCE6FF; - color: #000; - border: 1px solid #99cdff; - padding: 0; -} -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #fff; -} -.datebox-button a { - color: #777; -} -.numberbox { - border: 1px solid #ddd; - margin: 0; - padding: 0 2px; - vertical-align: middle; -} -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #ddd; -} -.spinner-arrow { - background-color: #ffffff; -} -.spinner-arrow-hover { - background-color: #E6E6E6; -} -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 0px 0 0 0px; - -webkit-border-radius: 0px 0 0 0px; - border-radius: 0px 0 0 0px; -} -.progressbar { - border-color: #ddd; -} -.progressbar-text { - color: #444; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #CCE6FF; - color: #000; -} -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - vertical-align: top; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox .l-btn-plain { - border: 0; - padding: 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox .l-btn-plain:hover { - border: 0; - padding: 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #ddd; - background-color: #fff; -} -.searchbox .l-btn-plain { - background: #ffffff; -} -.searchbox .l-btn-plain-disabled, -.searchbox .l-btn-plain-disabled:hover { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 0px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #ddd; - background: #ffffff; -} -.slider-rule span { - border-color: #ddd; -} -.slider-rulelabel span { - color: #444; -} -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; - background: #eee; - -moz-box-shadow: 2px 2px 3px #ededed; - -webkit-box-shadow: 2px 2px 3px #ededed; - box-shadow: 2px 2px 3px #ededed; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #ddd; - border-right: 1px solid #fff; -} -.menu-sep { - border-top: 1px solid #ddd; - border-bottom: 1px solid #fff; -} -.menu { - background-color: #ffffff; - border-color: #ddd; - color: #444; -} -.menu-content { - background: #fff; -} -.menu-item { - border-color: transparent; - _border-color: #ffffff; -} -.menu-active { - border-color: #ddd; - color: #444; - background: #E6E6E6; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #444; -} -.m-btn-downarrow, -.s-btn-downarrow { - display: inline-block; - position: absolute; - width: 16px; - height: 16px; - font-size: 1px; - right: 0; - top: 50%; - margin-top: -8px; -} -.m-btn-active, -.s-btn-active { - background: #E6E6E6; - color: #444; - border: 1px solid #ddd; - filter: none; -} -.m-btn-plain-active, -.s-btn-plain-active { - background: transparent; - padding: 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.m-btn .l-btn-left .l-btn-text { - margin-right: 20px; -} -.m-btn .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.m-btn .l-btn-icon-right .l-btn-icon { - right: 20px; -} -.m-btn .l-btn-icon-top .l-btn-text { - margin-right: 4px; - margin-bottom: 14px; -} -.m-btn .l-btn-icon-bottom .l-btn-text { - margin-right: 4px; - margin-bottom: 34px; -} -.m-btn .l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 20px; -} -.m-btn .l-btn-icon-top .m-btn-downarrow, -.m-btn .l-btn-icon-bottom .m-btn-downarrow { - top: auto; - bottom: 0px; - left: 50%; - margin-left: -8px; -} -.m-btn-line { - display: inline-block; - position: absolute; - font-size: 1px; - display: none; -} -.m-btn .l-btn-left .m-btn-line { - right: 0; - width: 16px; - height: 500px; - border-style: solid; - border-color: #b3b3b3; - border-width: 0 0 0 1px; -} -.m-btn .l-btn-icon-top .m-btn-line, -.m-btn .l-btn-icon-bottom .m-btn-line { - left: 0; - bottom: 0; - width: 500px; - height: 16px; - border-width: 1px 0 0 0; -} -.m-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 56px; -} -.m-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 50px; -} -.m-btn-downarrow, -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 0 center; -} -.m-btn-plain-active, -.s-btn-plain-active { - border-color: #ddd; - background-color: #E6E6E6; - color: #444; -} -.s-btn:hover .m-btn-line, -.s-btn-active .m-btn-line, -.s-btn-plain-active .m-btn-line { - display: inline-block; -} -.l-btn:hover .s-btn-downarrow, -.s-btn-active .s-btn-downarrow, -.s-btn-plain-active .s-btn-downarrow { - border-style: solid; - border-color: #b3b3b3; - border-width: 0 0 0 1px; -} -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-button .l-btn { - width: 70px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #ddd; -} -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/tree_icons.png') no-repeat -240px 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 12px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #fff; - color: #444; - border-color: #ddd; -} -.tree-node-hover { - background: #E6E6E6; - color: #444; -} -.tree-node-selected { - background: #CCE6FF; - color: #000; -} -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #fff; - border-color: #ddd; - color: #444; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #ddd; -} -.tooltip-right .tooltip-arrow { - border-right-color: #fff; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #ddd; -} -.tooltip-left .tooltip-arrow { - border-left-color: #fff; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #ddd; -} -.tooltip-top .tooltip-arrow { - border-top-color: #fff; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #ddd; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #fff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/accordion_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/accordion_arrows.png deleted file mode 100644 index ddfa8ec..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/accordion_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/blank.gif b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/blank.gif deleted file mode 100644 index 1d11fa9..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/blank.gif and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/calendar_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/calendar_arrows.png deleted file mode 100644 index 430c4ad..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/calendar_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/combo_arrow.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/combo_arrow.png deleted file mode 100644 index 2e59fb9..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/combo_arrow.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/datagrid_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/datagrid_icons.png deleted file mode 100644 index 747ac4d..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/datagrid_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/datebox_arrow.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/datebox_arrow.png deleted file mode 100644 index 783c833..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/datebox_arrow.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/layout_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/layout_arrows.png deleted file mode 100644 index 6f41654..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/layout_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/linkbutton_bg.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/linkbutton_bg.png deleted file mode 100644 index fc66bd2..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/linkbutton_bg.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/loading.gif b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/loading.gif deleted file mode 100644 index 68f01d0..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/loading.gif and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/menu_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/menu_arrows.png deleted file mode 100644 index b986842..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/menu_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/messager_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/messager_icons.png deleted file mode 100644 index 62c18c1..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/messager_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/pagination_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/pagination_icons.png deleted file mode 100644 index 616f0bd..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/pagination_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/panel_tools.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/panel_tools.png deleted file mode 100644 index fe682ef..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/panel_tools.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/searchbox_button.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/searchbox_button.png deleted file mode 100644 index 6dd1931..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/searchbox_button.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/slider_handle.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/slider_handle.png deleted file mode 100644 index b9802ba..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/slider_handle.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/spinner_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/spinner_arrows.png deleted file mode 100644 index b68592d..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/spinner_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/tabs_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/tabs_icons.png deleted file mode 100644 index 4d29966..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/tabs_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/tree_icons.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/tree_icons.png deleted file mode 100644 index e9be4f3..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/tree_icons.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/validatebox_arrows.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/validatebox_arrows.png deleted file mode 100644 index 5fe78f7..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/validatebox_arrows.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/validatebox_warning.png b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/validatebox_warning.png deleted file mode 100644 index 2b3d4f0..0000000 Binary files a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/images/validatebox_warning.png and /dev/null differ diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/layout.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/layout.css deleted file mode 100644 index 7057fb2..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/layout.css +++ /dev/null @@ -1,91 +0,0 @@ -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #b3b3b3; -} -.layout-split-north { - border-bottom: 5px solid #fff; -} -.layout-split-south { - border-top: 5px solid #fff; -} -.layout-split-east { - border-left: 5px solid #fff; -} -.layout-split-west { - border-right: 5px solid #fff; -} -.layout-expand { - background-color: #ffffff; -} -.layout-expand-over { - background-color: #ffffff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/linkbutton.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/linkbutton.css deleted file mode 100644 index acc81d1..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/linkbutton.css +++ /dev/null @@ -1,197 +0,0 @@ -.l-btn { - text-decoration: none; - display: inline-block; - margin: 0; - padding: 0; - cursor: pointer; - outline: none; - text-align: center; - vertical-align: middle; -} -.l-btn-plain { - border: 0; - padding: 1px; -} -.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.l-btn-left { - display: inline-block; - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - vertical-align: top; -} -.l-btn-text { - display: inline-block; - vertical-align: top; - width: auto; - line-height: 24px; - font-size: 12px; - padding: 0; - margin: 0 4px; -} -.l-btn-icon { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - position: absolute; - top: 50%; - margin-top: -8px; - font-size: 1px; -} -.l-btn span span .l-btn-empty { - display: inline-block; - margin: 0; - width: 16px; - height: 24px; - font-size: 1px; - vertical-align: top; -} -.l-btn span .l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -.l-btn span .l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -.l-btn-icon-left .l-btn-text { - margin: 0 4px 0 24px; -} -.l-btn-icon-left .l-btn-icon { - left: 4px; -} -.l-btn-icon-right .l-btn-text { - margin: 0 24px 0 4px; -} -.l-btn-icon-right .l-btn-icon { - right: 4px; -} -.l-btn-icon-top .l-btn-text { - margin: 20px 4px 0 4px; -} -.l-btn-icon-top .l-btn-icon { - top: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-icon-bottom .l-btn-text { - margin: 0 4px 20px 4px; -} -.l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 4px; - left: 50%; - margin: 0 0 0 -8px; -} -.l-btn-left .l-btn-empty { - margin: 0 4px; - width: 16px; -} -.l-btn-plain:hover { - padding: 0; -} -.l-btn-focus { - outline: #0000FF dotted thin; -} -.l-btn-large .l-btn-text { - line-height: 40px; -} -.l-btn-large .l-btn-icon { - width: 32px; - height: 32px; - line-height: 32px; - margin-top: -16px; -} -.l-btn-large .l-btn-icon-left .l-btn-text { - margin-left: 40px; -} -.l-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.l-btn-large .l-btn-icon-top .l-btn-text { - margin-top: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-top .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 36px; - line-height: 24px; - min-width: 32px; -} -.l-btn-large .l-btn-icon-bottom .l-btn-icon { - margin: 0 0 0 -16px; -} -.l-btn-large .l-btn-left .l-btn-empty { - margin: 0 4px; - width: 32px; -} -.l-btn { - color: #777; - background: #ffffff; - background-repeat: repeat-x; - border: 1px solid #dddddd; - background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.l-btn:hover { - background: #E6E6E6; - color: #444; - border: 1px solid #ddd; - filter: none; -} -.l-btn-plain { - background: transparent; - border: 0; - filter: none; -} -.l-btn-plain:hover { - background: #E6E6E6; - color: #444; - border: 1px solid #ddd; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.l-btn-disabled, -.l-btn-disabled:hover { - background: #ffffff; - color: #777; - background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); - filter: alpha(opacity=50) progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); -} -.l-btn-plain-disabled, -.l-btn-plain-disabled:hover { - background: transparent; - filter: alpha(opacity=50); -} -.l-btn-selected, -.l-btn-selected:hover { - background: #ddd; - filter: none; -} -.l-btn-plain-selected, -.l-btn-plain-selected:hover { - background: #ddd; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/menu.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/menu.css deleted file mode 100644 index 5012a50..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/menu.css +++ /dev/null @@ -1,109 +0,0 @@ -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; - background: #eee; - -moz-box-shadow: 2px 2px 3px #ededed; - -webkit-box-shadow: 2px 2px 3px #ededed; - box-shadow: 2px 2px 3px #ededed; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #ddd; - border-right: 1px solid #fff; -} -.menu-sep { - border-top: 1px solid #ddd; - border-bottom: 1px solid #fff; -} -.menu { - background-color: #ffffff; - border-color: #ddd; - color: #444; -} -.menu-content { - background: #fff; -} -.menu-item { - border-color: transparent; - _border-color: #ffffff; -} -.menu-active { - border-color: #ddd; - color: #444; - background: #E6E6E6; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #444; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/menubutton.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/menubutton.css deleted file mode 100644 index 8ed294a..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/menubutton.css +++ /dev/null @@ -1,94 +0,0 @@ -.m-btn-downarrow, -.s-btn-downarrow { - display: inline-block; - position: absolute; - width: 16px; - height: 16px; - font-size: 1px; - right: 0; - top: 50%; - margin-top: -8px; -} -.m-btn-active, -.s-btn-active { - background: #E6E6E6; - color: #444; - border: 1px solid #ddd; - filter: none; -} -.m-btn-plain-active, -.s-btn-plain-active { - background: transparent; - padding: 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.m-btn .l-btn-left .l-btn-text { - margin-right: 20px; -} -.m-btn .l-btn-icon-right .l-btn-text { - margin-right: 40px; -} -.m-btn .l-btn-icon-right .l-btn-icon { - right: 20px; -} -.m-btn .l-btn-icon-top .l-btn-text { - margin-right: 4px; - margin-bottom: 14px; -} -.m-btn .l-btn-icon-bottom .l-btn-text { - margin-right: 4px; - margin-bottom: 34px; -} -.m-btn .l-btn-icon-bottom .l-btn-icon { - top: auto; - bottom: 20px; -} -.m-btn .l-btn-icon-top .m-btn-downarrow, -.m-btn .l-btn-icon-bottom .m-btn-downarrow { - top: auto; - bottom: 0px; - left: 50%; - margin-left: -8px; -} -.m-btn-line { - display: inline-block; - position: absolute; - font-size: 1px; - display: none; -} -.m-btn .l-btn-left .m-btn-line { - right: 0; - width: 16px; - height: 500px; - border-style: solid; - border-color: #b3b3b3; - border-width: 0 0 0 1px; -} -.m-btn .l-btn-icon-top .m-btn-line, -.m-btn .l-btn-icon-bottom .m-btn-line { - left: 0; - bottom: 0; - width: 500px; - height: 16px; - border-width: 1px 0 0 0; -} -.m-btn-large .l-btn-icon-right .l-btn-text { - margin-right: 56px; -} -.m-btn-large .l-btn-icon-bottom .l-btn-text { - margin-bottom: 50px; -} -.m-btn-downarrow, -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 0 center; -} -.m-btn-plain-active, -.s-btn-plain-active { - border-color: #ddd; - background-color: #E6E6E6; - color: #444; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/messager.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/messager.css deleted file mode 100644 index 1efbe7c..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/messager.css +++ /dev/null @@ -1,40 +0,0 @@ -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-button .l-btn { - width: 70px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #ddd; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/numberbox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/numberbox.css deleted file mode 100644 index 3fdac4c..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/numberbox.css +++ /dev/null @@ -1,6 +0,0 @@ -.numberbox { - border: 1px solid #ddd; - margin: 0; - padding: 0 2px; - vertical-align: middle; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/pagination.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/pagination.css deleted file mode 100644 index e311067..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/pagination.css +++ /dev/null @@ -1,71 +0,0 @@ -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ddd; - border-right: 1px solid #fff; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -.pagination-link .l-btn-text { - width: 24px; - text-align: center; - margin: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #ddd; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/panel.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/panel.css deleted file mode 100644 index d96a480..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/panel.css +++ /dev/null @@ -1,125 +0,0 @@ -.panel { - overflow: hidden; - text-align: left; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; -} -.panel-title { - background: url('images/blank.gif') no-repeat; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 5px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #E6E6E6; - -moz-border-radius: -2px -2px -2px -2px; - -webkit-border-radius: -2px -2px -2px -2px; - border-radius: -2px -2px -2px -2px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #ddd; -} -.panel-header { - background-color: #ffffff; -} -.panel-body { - background-color: #fff; - color: #444; - font-size: 12px; -} -.panel-title { - font-size: 12px; - font-weight: bold; - color: #777; - height: 16px; - line-height: 16px; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/progressbar.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/progressbar.css deleted file mode 100644 index 7721f1b..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/progressbar.css +++ /dev/null @@ -1,32 +0,0 @@ -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 0px 0 0 0px; - -webkit-border-radius: 0px 0 0 0px; - border-radius: 0px 0 0 0px; -} -.progressbar { - border-color: #ddd; -} -.progressbar-text { - color: #444; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #CCE6FF; - color: #000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/propertygrid.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/propertygrid.css deleted file mode 100644 index f5ae0c4..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/propertygrid.css +++ /dev/null @@ -1,28 +0,0 @@ -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #ddd; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #ffffff; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #ddd; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #ffffff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/searchbox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/searchbox.css deleted file mode 100644 index 01b2e1f..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/searchbox.css +++ /dev/null @@ -1,75 +0,0 @@ -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - vertical-align: top; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox .l-btn-plain { - border: 0; - padding: 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox .l-btn-plain:hover { - border: 0; - padding: 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #ddd; - background-color: #fff; -} -.searchbox .l-btn-plain { - background: #ffffff; -} -.searchbox .l-btn-plain-disabled, -.searchbox .l-btn-plain-disabled:hover { - opacity: 0.5; - filter: alpha(opacity=50); -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/slider.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/slider.css deleted file mode 100644 index a0907f3..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/slider.css +++ /dev/null @@ -1,100 +0,0 @@ -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 0px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #ddd; - background: #ffffff; -} -.slider-rule span { - border-color: #ddd; -} -.slider-rulelabel span { - color: #444; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/spinner.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/spinner.css deleted file mode 100644 index 8676724..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/spinner.css +++ /dev/null @@ -1,59 +0,0 @@ -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #ddd; -} -.spinner-arrow { - background-color: #ffffff; -} -.spinner-arrow-hover { - background-color: #E6E6E6; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/splitbutton.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/splitbutton.css deleted file mode 100644 index 3451138..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/splitbutton.css +++ /dev/null @@ -1,12 +0,0 @@ -.s-btn:hover .m-btn-line, -.s-btn-active .m-btn-line, -.s-btn-plain-active .m-btn-line { - display: inline-block; -} -.l-btn:hover .s-btn-downarrow, -.s-btn-active .s-btn-downarrow, -.s-btn-plain-active .s-btn-downarrow { - border-style: solid; - border-color: #b3b3b3; - border-width: 0 0 0 1px; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/tabs.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/tabs.css deleted file mode 100644 index 7c95798..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/tabs.css +++ /dev/null @@ -1,320 +0,0 @@ -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 0px 0px 0 0; - -webkit-border-radius: 0px 0px 0 0; - border-radius: 0px 0px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 0px 0px; - -webkit-border-radius: 0 0 0px 0px; - border-radius: 0 0 0px 0px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0px 0 0 0px; - -webkit-border-radius: 0px 0 0 0px; - border-radius: 0px 0 0 0px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 0px 0px 0; - -webkit-border-radius: 0 0px 0px 0; - border-radius: 0 0px 0px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #ffffff url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #ffffff url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #E6E6E6; - color: #444; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #fff; - color: #777; -} -.tabs li a.tabs-inner { - color: #777; - background-color: #ffffff; -} -.tabs-header, -.tabs-tool { - background-color: #ffffff; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #ddd; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #E6E6E6; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #fff; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #fff; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #fff; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #fff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/textbox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/textbox.css deleted file mode 100644 index 093603c..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/textbox.css +++ /dev/null @@ -1,4 +0,0 @@ -.textbox { - border: 1px solid #ddd; - vertical-align: middle; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/tooltip.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/tooltip.css deleted file mode 100644 index 8382539..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/tooltip.css +++ /dev/null @@ -1,100 +0,0 @@ -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #fff; - border-color: #ddd; - color: #444; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #ddd; -} -.tooltip-right .tooltip-arrow { - border-right-color: #fff; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #ddd; -} -.tooltip-left .tooltip-arrow { - border-left-color: #fff; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #ddd; -} -.tooltip-top .tooltip-arrow { - border-top-color: #fff; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #ddd; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #fff; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/tree.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/tree.css deleted file mode 100644 index a2ec693..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/tree.css +++ /dev/null @@ -1,157 +0,0 @@ -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/tree_icons.png') no-repeat -240px 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 12px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #fff; - color: #444; - border-color: #ddd; -} -.tree-node-hover { - background: #E6E6E6; - color: #444; -} -.tree-node-selected { - background: #CCE6FF; - color: #000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/validatebox.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/validatebox.css deleted file mode 100644 index 154da75..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/validatebox.css +++ /dev/null @@ -1,8 +0,0 @@ -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/window.css b/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/window.css deleted file mode 100644 index 6d2f911..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/EasyUI/themes/metro/window.css +++ /dev/null @@ -1,81 +0,0 @@ -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header .panel-icon { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.window-shadow { - background: #eee; - -moz-box-shadow: 2px 2px 3px #ededed; - -webkit-box-shadow: 2px 2px 3px #ededed; - box-shadow: 2px 2px 3px #ededed; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #ddd; -} -.window { - background-color: #ffffff; -} -.window-proxy { - border: 1px dashed #ddd; -} -.window-proxy-mask, -.window-mask { - background: #eee; -} diff --git a/喷涂上线/Code/PaintingScreen/Scripts/MyJs.js b/喷涂上线/Code/PaintingScreen/Scripts/MyJs.js deleted file mode 100644 index 5e0f941..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/MyJs.js +++ /dev/null @@ -1,13 +0,0 @@ -function getTime(/** timestamp=0 **/) { - var ts = arguments[0] || 0; - var t, y, m, d, h, i, s; - t = ts ? new Date(ts * 1000) : new Date(); - y = t.getFullYear(); - m = t.getMonth() + 1; - d = t.getDate(); - h = t.getHours(); - i = t.getMinutes(); - s = t.getSeconds(); - // 可根据需要在这里定义时间格式 - return y + '-' + (m < 10 ? '0' + m : m) + '-' + (d < 10 ? '0' + d : d) + ' ' + (h < 10 ? '0' + h : h) + ':' + (i < 10 ? '0' + i : i) + ':' + (s < 10 ? '0' + s : s); -} \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/cart.json b/喷涂上线/Code/PaintingScreen/Scripts/cart.json deleted file mode 100644 index 2f7d981..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/cart.json +++ /dev/null @@ -1,49 +0,0 @@ -[{ - "atr": "1月", - "atb": "25", - "atc": "5%" -},{ - "atr": "2月", - "atb": "36", - "atc": "12%" -},{ - "atr": "3月", - "atb": "95", - "atc": "16.5%" -},{ - "atr": "4月", - "atb": "67", - "atc": "26%" -},{ - "atr": "5月", - "atb": "168", - "atc": "32%" -},{ - "atr": "6月", - "atb": "125", - "atc": "38%" -},{ - "atr": "7月", - "atb": "180", - "atc": "42%" -},{ - "atr": "8月", - "atb": "79", - "atc": "56%" -},{ - "atr": "9月", - "atb": "150", - "atc": "64%" -},{ - "atr": "10月", - "atb": "180", - "atc": "88%" -},{ - "atr": "11月", - "atb": "142", - "atc": "92%" -},{ - "atr": "12月", - "atb": "165", - "atc": "99%" -}] \ No newline at end of file diff --git a/喷涂上线/Code/PaintingScreen/Scripts/exporting.js b/喷涂上线/Code/PaintingScreen/Scripts/exporting.js deleted file mode 100644 index a4ed651..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/exporting.js +++ /dev/null @@ -1,27 +0,0 @@ -/* - Highcharts JS v5.0.14 (2017-07-28) - Exporting module - - (c) 2010-2017 Torstein Honsi - - License: www.highcharts.com/license -*/ -(function(k){"object"===typeof module&&module.exports?module.exports=k:k(Highcharts)})(function(k){(function(f){var k=f.defaultOptions,p=f.doc,B=f.Chart,x=f.addEvent,I=f.removeEvent,F=f.fireEvent,r=f.createElement,C=f.discardElement,v=f.css,n=f.merge,D=f.pick,h=f.each,G=f.objectEach,t=f.extend,J=f.isTouchDevice,E=f.win,H=E.navigator.userAgent,K=f.Renderer.prototype.symbols;/Edge\/|Trident\/|MSIE /.test(H);/firefox/i.test(H);t(k.lang,{printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image", -downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"});k.navigation={buttonOptions:{theme:{},symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24}};n(!0,k.navigation,{menuStyle:{border:"1px solid #999999",background:"#ffffff",padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",background:"none",color:"#333333",fontSize:J?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#335cad", -color:"#ffffff"},buttonOptions:{symbolFill:"#666666",symbolStroke:"#666666",symbolStrokeWidth:3,theme:{fill:"#ffffff",stroke:"none",padding:5}}});k.exporting={type:"image/png",url:"https://export.highcharts.com/",printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",_titleKey:"contextButtonTitle",menuItems:"printChart separator downloadPNG downloadJPEG downloadPDF downloadSVG".split(" ")}},menuItemDefinitions:{printChart:{textKey:"printChart", -onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}}};f.post=function(a,b,e){var c=r("form",n({method:"post",action:a,enctype:"multipart/form-data"}, -e),{display:"none"},p.body);G(b,function(a,b){r("input",{type:"hidden",name:b,value:a},null,c)});c.submit();C(c)};t(B.prototype,{sanitizeSVG:function(a,b){if(b&&b.exporting&&b.exporting.allowHTML){var e=a.match(/<\/svg>(.*?$)/);e&&e[1]&&(e='\x3cforeignObject x\x3d"0" y\x3d"0" width\x3d"'+b.chart.width+'" height\x3d"'+b.chart.height+'"\x3e\x3cbody xmlns\x3d"http://www.w3.org/1999/xhtml"\x3e'+e[1]+"\x3c/body\x3e\x3c/foreignObject\x3e",a=a.replace("\x3c/svg\x3e",e+"\x3c/svg\x3e"))}a=a.replace(/zIndex="[^"]+"/g, -"").replace(/isShadow="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|")(\S+)("|")\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/.*?$/,"\x3c/svg\x3e").replace(/(fill|stroke)="rgba\(([ 0-9]+,[ 0-9]+,[ 0-9]+),([ 0-9\.]+)\)"/g,'$1\x3d"rgb($2)" $1-opacity\x3d"$3"').replace(/ /g, -"\u00a0").replace(/­/g,"\u00ad");return a=a.replace(//g,"\x3c$1title\x3e").replace(/height=([^" ]+)/g,'height\x3d"$1"').replace(/width=([^" ]+)/g,'width\x3d"$1"').replace(/hc-svg-href="([^"]+)">/g,'xlink:href\x3d"$1"/\x3e').replace(/ id=([^" >]+)/g,' id\x3d"$1"').replace(/class=([^" >]+)/g,'class\x3d"$1"').replace(/ transform /g," ").replace(/:(path|rect)/g,"$1").replace(/style="([^"]+)"/g,function(a){return a.toLowerCase()})},getChartHTML:function(){return this.container.innerHTML}, -getSVG:function(a){var b,e,c,w,m,g=n(this.options,a);p.createElementNS||(p.createElementNS=function(a,b){return p.createElement(b)});e=r("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},p.body);c=this.renderTo.style.width;m=this.renderTo.style.height;c=g.exporting.sourceWidth||g.chart.width||/px$/.test(c)&&parseInt(c,10)||600;m=g.exporting.sourceHeight||g.chart.height||/px$/.test(m)&&parseInt(m,10)||400;t(g.chart,{animation:!1,renderTo:e,forExport:!0, -renderer:"SVGRenderer",width:c,height:m});g.exporting.enabled=!1;delete g.data;g.series=[];h(this.series,function(a){w=n(a.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:a.visible});w.isInternal||g.series.push(w)});h(this.axes,function(a){a.userOptions.internalKey||(a.userOptions.internalKey=f.uniqueKey())});b=new f.Chart(g,this.callback);a&&h(["xAxis","yAxis","series"],function(c){var d={};a[c]&&(d[c]=a[c],b.update(d))});h(this.axes,function(a){var c=f.find(b.axes,function(b){return b.options.internalKey=== -a.userOptions.internalKey}),d=a.getExtremes(),e=d.userMin,d=d.userMax;!c||void 0===e&&void 0===d||c.setExtremes(e,d,!0,!1)});c=b.getChartHTML();c=this.sanitizeSVG(c,g);g=null;b.destroy();C(e);return c},getSVGForExport:function(a,b){var e=this.options.exporting;return this.getSVG(n({chart:{borderRadius:0}},e.chartOptions,b,{exporting:{sourceWidth:a&&a.sourceWidth||e.sourceWidth,sourceHeight:a&&a.sourceHeight||e.sourceHeight}}))},exportChart:function(a,b){b=this.getSVGForExport(a,b);a=n(this.options.exporting, -a);f.post(a.url,{filename:a.filename||"chart",type:a.type,width:a.width||0,scale:a.scale,svg:b},a.formAttributes)},print:function(){var a=this,b=a.container,e=[],c=b.parentNode,f=p.body,m=f.childNodes,g=a.options.exporting.printMaxWidth,d,u;if(!a.isPrinting){a.isPrinting=!0;a.pointer.reset(null,0);F(a,"beforePrint");if(u=g&&a.chartWidth>g)d=[a.options.chart.width,void 0,!1],a.setSize(g,void 0,!1);h(m,function(a,b){1===a.nodeType&&(e[b]=a.style.display,a.style.display="none")});f.appendChild(b);E.focus(); -E.print();setTimeout(function(){c.appendChild(b);h(m,function(a,b){1===a.nodeType&&(a.style.display=e[b])});a.isPrinting=!1;u&&a.setSize.apply(a,d);F(a,"afterPrint")},1E3)}},contextMenu:function(a,b,e,c,w,m,g){var d=this,u=d.options.navigation,k=d.chartWidth,q=d.chartHeight,n="cache-"+a,l=d[n],y=Math.max(w,m),z,A;l||(d[n]=l=r("div",{className:a},{position:"absolute",zIndex:1E3,padding:y+"px"},d.container),z=r("div",{className:"highcharts-menu"},null,l),v(z,t({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888", -boxShadow:"3px 3px 10px #888"},u.menuStyle)),A=function(){v(l,{display:"none"});g&&g.setState(0);d.openMenu=!1},d.exportEvents.push(x(l,"mouseleave",function(){l.hideTimer=setTimeout(A,500)}),x(l,"mouseenter",function(){clearTimeout(l.hideTimer)}),x(p,"mouseup",function(b){d.pointer.inClass(b.target,a)||A()})),h(b,function(a){"string"===typeof a&&(a=d.options.exporting.menuItemDefinitions[a]);if(f.isObject(a,!0)){var b;a.separator?b=r("hr",null,null,z):(b=r("div",{className:"highcharts-menu-item", -onclick:function(b){b&&b.stopPropagation();A();a.onclick&&a.onclick.apply(d,arguments)},innerHTML:a.text||d.options.lang[a.textKey]},null,z),b.onmouseover=function(){v(this,u.menuItemHoverStyle)},b.onmouseout=function(){v(this,u.menuItemStyle)},v(b,t({cursor:"pointer"},u.menuItemStyle)));d.exportDivElements.push(b)}}),d.exportDivElements.push(z,l),d.exportMenuWidth=l.offsetWidth,d.exportMenuHeight=l.offsetHeight);b={display:"block"};e+d.exportMenuWidth>k?b.right=k-e-w-y+"px":b.left=e-y+"px";c+m+d.exportMenuHeight> -q&&"top"!==g.alignOptions.verticalAlign?b.bottom=q-c-y+"px":b.top=c+m-y+"px";v(l,b);d.openMenu=!0},addButton:function(a){var b=this,e=b.renderer,c=n(b.options.navigation.buttonOptions,a),f=c.onclick,m=c.menuItems,g,d,k=c.symbolSize||12;b.btnCount||(b.btnCount=0);b.exportDivElements||(b.exportDivElements=[],b.exportSVGElements=[]);if(!1!==c.enabled){var h=c.theme,q=h.states,p=q&&q.hover,q=q&&q.select,l;delete h.states;f?l=function(a){a.stopPropagation();f.call(b,a)}:m&&(l=function(){b.contextMenu(d.menuClassName, -m,d.translateX,d.translateY,d.width,d.height,d);d.setState(2)});c.text&&c.symbol?h.paddingLeft=D(h.paddingLeft,25):c.text||t(h,{width:c.width,height:c.height,padding:0});d=e.button(c.text,0,0,l,h,p,q).addClass(a.className).attr({"stroke-linecap":"round",title:b.options.lang[c._titleKey],zIndex:3});d.menuClassName=a.menuClassName||"highcharts-menu-"+b.btnCount++;c.symbol&&(g=e.symbol(c.symbol,c.symbolX-k/2,c.symbolY-k/2,k,k).addClass("highcharts-button-symbol").attr({zIndex:1}).add(d),g.attr({stroke:c.symbolStroke, -fill:c.symbolFill,"stroke-width":c.symbolStrokeWidth||1}));d.add().align(t(c,{width:d.width,x:D(c.x,b.buttonOffset)}),!0,"spacingBox");b.buttonOffset+=(d.width+c.buttonSpacing)*("right"===c.align?-1:1);b.exportSVGElements.push(d,g)}},destroyExport:function(a){var b=a?a.target:this;a=b.exportSVGElements;var e=b.exportDivElements,c=b.exportEvents,f;a&&(h(a,function(a,c){a&&(a.onclick=a.ontouchstart=null,f="cache-"+a.menuClassName,b[f]&&delete b[f],b.exportSVGElements[c]=a.destroy())}),a.length=0);e&& -(h(e,function(a,c){clearTimeout(a.hideTimer);I(a,"mouseleave");b.exportDivElements[c]=a.onmouseout=a.onmouseover=a.ontouchstart=a.onclick=null;C(a)}),e.length=0);c&&(h(c,function(a){a()}),c.length=0)}});K.menu=function(a,b,e,c){return["M",a,b+2.5,"L",a+e,b+2.5,"M",a,b+c/2+.5,"L",a+e,b+c/2+.5,"M",a,b+c-1.5,"L",a+e,b+c-1.5]};B.prototype.renderExporting=function(){var a=this,b=a.options.exporting,e=b.buttons,c=a.isDirtyExporting||!a.exportSVGElements;a.buttonOffset=0;a.isDirtyExporting&&a.destroyExport(); -c&&!1!==b.enabled&&(a.exportEvents=[],G(e,function(b){a.addButton(b)}),a.isDirtyExporting=!1);x(a,"destroy",a.destroyExport)};B.prototype.callbacks.push(function(a){a.renderExporting();x(a,"redraw",a.renderExporting);h(["exporting","navigation"],function(b){a[b]={update:function(e,c){a.isDirtyExporting=!0;n(!0,a.options[b],e);D(c,!0)&&a.redraw()}}})})})(k)}); diff --git a/喷涂上线/Code/PaintingScreen/Scripts/highcharts.js b/喷涂上线/Code/PaintingScreen/Scripts/highcharts.js deleted file mode 100644 index bc6d743..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/highcharts.js +++ /dev/null @@ -1,402 +0,0 @@ -/* - Highcharts JS v5.0.14 (2017-07-28) - - (c) 2009-2016 Torstein Honsi - - License: www.highcharts.com/license -*/ -(function(M,S){"object"===typeof module&&module.exports?module.exports=M.document?S(M):S:M.Highcharts=S(M)})("undefined"!==typeof window?window:this,function(M){M=function(){var a=window,C=a.document,A=a.navigator&&a.navigator.userAgent||"",F=C&&C.createElementNS&&!!C.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,E=/(edge|msie|trident)/i.test(A)&&!window.opera,m=!F,f=/Firefox/.test(A),l=f&&4>parseInt(A.split("Firefox/")[1],10);return a.Highcharts?a.Highcharts.error(16,!0):{product:"Highcharts", -version:"5.0.14",deg2rad:2*Math.PI/360,doc:C,hasBidiBug:l,hasTouch:C&&void 0!==C.documentElement.ontouchstart,isMS:E,isWebKit:/AppleWebKit/.test(A),isFirefox:f,isTouchDevice:/(Mobile|Android|Windows Phone)/.test(A),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},symbolSizes:{},svg:F,vml:m,win:a,marginNames:["plotTop","marginRight","marginBottom","plotLeft"],noop:function(){},charts:[]}}();(function(a){var C=[],A=a.charts,F=a.doc,E=a.win;a.error=function(m,f){m=a.isNumber(m)?"Highcharts error #"+ -m+": www.highcharts.com/errors/"+m:m;if(f)throw Error(m);E.console&&console.log(m)};a.Fx=function(a,f,l){this.options=f;this.elem=a;this.prop=l};a.Fx.prototype={dSetter:function(){var a=this.paths[0],f=this.paths[1],l=[],r=this.now,u=a.length,t;if(1===r)l=this.toD;else if(u===f.length&&1>r)for(;u--;)t=parseFloat(a[u]),l[u]=isNaN(t)?a[u]:r*parseFloat(f[u]-t)+t;else l=f;this.elem.attr("d",l,null,!0)},update:function(){var a=this.elem,f=this.prop,l=this.now,r=this.options.step;if(this[f+"Setter"])this[f+ -"Setter"]();else a.attr?a.element&&a.attr(f,l,null,!0):a.style[f]=l+this.unit;r&&r.call(a,l,this)},run:function(a,f,l){var r=this,m=function(a){return m.stopped?!1:r.step(a)},t;this.startTime=+new Date;this.start=a;this.end=f;this.unit=l;this.now=this.start;this.pos=0;m.elem=this.elem;m.prop=this.prop;m()&&1===C.push(m)&&(m.timerId=setInterval(function(){for(t=0;t=g+this.startTime?(this.now=this.end,this.pos=1,this.update(),l=d[this.prop]=!0,a.objectEach(d,function(a){!0!==a&&(l=!1)}),l&&t&&t.call(u),m=!1):(this.pos=r.easing((f-this.startTime)/g),this.now=this.start+(this.end-this.start)*this.pos,this.update(),m=!0);return m},initPath:function(m,f,l){function r(a){var c,e;for(n=a.length;n--;)c="M"===a[n]||"L"===a[n],e=/[a-zA-Z]/.test(a[n+3]),c&&e&&a.splice(n+1,0,a[n+1],a[n+2],a[n+1],a[n+2])} -function u(a,c){for(;a.lengtht?"AM":"PM",P:12>t?"am":"pm",S:n(u.getSeconds()),L:n(Math.round(f%1E3),3)},a.dateFormats);a.objectEach(r,function(a,e){for(;-1!==m.indexOf("%"+e);)m=m.replace("%"+e,"function"===typeof a?a(f):a)});return l?m.substr(0, -1).toUpperCase()+m.substr(1):m};a.formatSingle=function(m,f){var l=/\.([0-9])/,r=a.defaultOptions.lang;/f$/.test(m)?(l=(l=m.match(l))?l[1]:-1,null!==f&&(f=a.numberFormat(f,l,r.decimalPoint,-1=l&&(f=[1/l])));for(r=0;r=m||!u&&t<=(f[r]+(f[r+1]||f[r]))/2);r++);return g=a.correctFloat(g*l,-Math.round(Math.log(.001)/Math.LN10))};a.stableSort= -function(a,f){var l=a.length,r,m;for(m=0;ml&&(l=a[f]);return l};a.destroyObjectProperties=function(m,f){a.objectEach(m,function(a,r){a&&a!==f&&a.destroy&&a.destroy();delete m[r]})};a.discardElement=function(m){var f=a.garbageBin;f||(f=a.createElement("div")); -m&&f.appendChild(m);f.innerHTML=""};a.correctFloat=function(a,f){return parseFloat(a.toPrecision(f||14))};a.setAnimation=function(m,f){f.renderer.globalAnimation=a.pick(m,f.options.chart.animation,!0)};a.animObject=function(m){return a.isObject(m)?a.merge(m):{duration:m?500:0}};a.timeUnits={millisecond:1,second:1E3,minute:6E4,hour:36E5,day:864E5,week:6048E5,month:24192E5,year:314496E5};a.numberFormat=function(m,f,l,r){m=+m||0;f=+f;var u=a.defaultOptions.lang,t=(m.toString().split(".")[1]||"").split("e")[0].length, -g,d,k=m.toString().split("e");-1===f?f=Math.min(t,20):a.isNumber(f)||(f=2);d=(Math.abs(k[1]?k[0]:m)+Math.pow(10,-Math.max(f,t)-1)).toFixed(f);t=String(a.pInt(d));g=3m?"-":"")+(g?t.substr(0,g)+r:"");m+=t.substr(g).replace(/(\d{3})(?=\d)/g,"$1"+r);f&&(m+=l+d.slice(-f));k[1]&&(m+="e"+k[1]);return m};Math.easeInOutSine=function(a){return-.5*(Math.cos(Math.PI*a)-1)};a.getStyle=function(m,f,l){if("width"===f)return Math.min(m.offsetWidth, -m.scrollWidth)-a.getStyle(m,"padding-left")-a.getStyle(m,"padding-right");if("height"===f)return Math.min(m.offsetHeight,m.scrollHeight)-a.getStyle(m,"padding-top")-a.getStyle(m,"padding-bottom");if(m=E.getComputedStyle(m,void 0))m=m.getPropertyValue(f),a.pick(l,!0)&&(m=a.pInt(m));return m};a.inArray=function(a,f){return f.indexOf?f.indexOf(a):[].indexOf.call(f,a)};a.grep=function(a,f){return[].filter.call(a,f)};a.find=function(a,f){return[].find.call(a,f)};a.map=function(a,f){for(var l=[],r=0,m= -a.length;r>16,(f&65280)>> -8,f&255,1]:4===l&&(r=[(f&3840)>>4|(f&3840)>>8,(f&240)>>4|f&240,(f&15)<<4|f&15,1])),!r)for(m=this.parsers.length;m--&&!r;)t=this.parsers[m],(l=t.regex.exec(f))&&(r=t.parse(l));this.rgba=r||[]},get:function(a){var f=this.input,r=this.rgba,m;this.stops?(m=E(f),m.stops=[].concat(m.stops),C(this.stops,function(f,g){m.stops[g]=[m.stops[g][0],f.get(a)]})):m=r&&A(r[0])?"rgb"===a||!a&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===a?r[3]:"rgba("+r.join(",")+")":f;return m},brighten:function(a){var f,r=this.rgba; -if(this.stops)C(this.stops,function(f){f.brighten(a)});else if(A(a)&&0!==a)for(f=0;3>f;f++)r[f]+=m(255*a),0>r[f]&&(r[f]=0),255x.width)x={width:0,height:0}}else x=this.htmlGetBBox();c.isSVG&&(a=x.width,c=x.height,q&&"11px"===q.fontSize&& -17===Math.round(c)&&(x.height=c=14),h&&(x.width=Math.abs(c*Math.sin(w))+Math.abs(a*Math.cos(w)),x.height=Math.abs(c*Math.cos(w))+Math.abs(a*Math.sin(w))));if(G&&0]*>/g,"")))},textSetter:function(a){a!==this.textStr&&(delete this.bBox,this.textStr=a,this.added&&this.renderer.buildText(this))},fillSetter:function(a, -h,c){"string"===typeof a?c.setAttribute(h,a):a&&this.colorGradient(a,h,c)},visibilitySetter:function(a,h,c){"inherit"===a?c.removeAttribute(h):this[h]!==a&&c.setAttribute(h,a);this[h]=a},zIndexSetter:function(a,c){var x=this.renderer,w=this.parentGroup,p=(w||x).element||x.box,q,e=this.element,b;q=this.added;var d;t(a)&&(e.zIndex=a,a=+a,this[c]===a&&(q=!1),this[c]=a);if(q){(a=this.zIndex)&&w&&(w.handleZ=!0);c=p.childNodes;for(d=0;da||!t(a)&&t(q)||0> -a&&!t(q)&&p!==x.box)&&(p.insertBefore(e,w),b=!0);b||p.appendChild(e)}return b},_defaultSetter:function(a,h,c){c.setAttribute(h,a)}});C.prototype.yGetter=C.prototype.xGetter;C.prototype.translateXSetter=C.prototype.translateYSetter=C.prototype.rotationSetter=C.prototype.verticalAlignSetter=C.prototype.scaleXSetter=C.prototype.scaleYSetter=function(a,h){this[h]=a;this.doTransform=!0};C.prototype["stroke-widthSetter"]=C.prototype.strokeSetter=function(a,h,c){this[h]=a;this.stroke&&this["stroke-width"]? -(C.prototype.fillSetter.call(this,this.stroke,"stroke",c),c.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===h&&0===a&&this.hasStroke&&(c.removeAttribute("stroke"),this.hasStroke=!1)};A=a.SVGRenderer=function(){this.init.apply(this,arguments)};e(A.prototype,{Element:C,SVG_NS:O,init:function(a,h,w,p,q,e){var x;p=this.createElement("svg").attr({version:"1.1","class":"highcharts-root"}).css(this.getStyle(p));x=p.element;a.appendChild(x);-1===a.innerHTML.indexOf("xmlns")&& -m(x,"xmlns",this.SVG_NS);this.isSVG=!0;this.box=x;this.boxWrapper=p;this.alignedObjects=[];this.url=(c||K)&&k.getElementsByTagName("base").length?R.location.href.replace(/#.*?$/,"").replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"";this.createElement("desc").add().element.appendChild(k.createTextNode("Created with Highcharts 5.0.14"));this.defs=this.createElement("defs").add();this.allowHTML=e;this.forExport=q;this.gradients={};this.cache={};this.cacheKeys=[];this.imgCount= -0;this.setSize(h,w,!1);var b;c&&a.getBoundingClientRect&&(h=function(){r(a,{left:0,top:0});b=a.getBoundingClientRect();r(a,{left:Math.ceil(b.left)-b.left+"px",top:Math.ceil(b.top)-b.top+"px"})},h(),this.unSubPixelFix=F(R,"resize",h))},getStyle:function(a){return this.style=e({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},a)},setStyle:function(a){this.boxWrapper.css(this.getStyle(a))},isHidden:function(){return!this.boxWrapper.getBBox().width},destroy:function(){var a= -this.defs;this.box=null;this.boxWrapper=this.boxWrapper.destroy();d(this.gradients||{});this.gradients=null;a&&(this.defs=a.destroy());this.unSubPixelFix&&this.unSubPixelFix();return this.alignedObjects=null},createElement:function(a){var h=new this.Element;h.init(this,a);return h},draw:z,getRadialAttr:function(a,h){return{cx:a[0]-a[2]/2+h.cx*a[2],cy:a[1]-a[2]/2+h.cy*a[2],r:h.r*a[2]}},getSpanWidth:function(a,h){var c=a.getBBox(!0).width;!H&&this.forExport&&(c=this.measureSpanWidth(h.firstChild.data, -a.styles));return c},applyEllipsis:function(a,h,c,w){var x=a.rotation,p=c,q,e=0,b=c.length,d=function(a){h.removeChild(h.firstChild);a&&h.appendChild(k.createTextNode(a))},n;a.rotation=0;p=this.getSpanWidth(a,h);if(n=p>w){for(;e<=b;)q=Math.ceil((e+b)/2),p=c.substring(0,q)+"\u2026",d(p),p=this.getSpanWidth(a,h),e===b?e=b+1:p>w?b=q-1:e=q;0===b&&d("")}a.rotation=x;return n},buildText:function(a){var c=a.element,w=this,x=w.forExport,p=L(a.textStr,"").toString(),q=-1!==p.indexOf("\x3c"),e=c.childNodes, -d,n,g,G,v=m(c,"x"),z=a.styles,f=a.textWidth,I=z&&z.lineHeight,B=z&&z.textOutline,D=z&&"ellipsis"===z.textOverflow,l=z&&"nowrap"===z.whiteSpace,P=z&&z.fontSize,t,J,u=e.length,z=f&&!a.added&&this.box,K=function(a){var x;x=/(px|em)$/.test(a&&a.style.fontSize)?a.style.fontSize:P||w.style.fontSize||12;return I?h(I):w.fontMetrics(x,a.getAttribute("style")?a:c).h};t=[p,D,l,I,B,P,f].join();if(t!==a.textCache){for(a.textCache=t;u--;)c.removeChild(e[u]);q||B||D||f||-1!==p.indexOf(" ")?(d=/<.*class="([^"]+)".*>/, -n=/<.*style="([^"]+)".*>/,g=/<.*href="([^"]+)".*>/,z&&z.appendChild(c),p=q?p.replace(/<(b|strong)>/g,'\x3cspan style\x3d"font-weight:bold"\x3e').replace(/<(i|em)>/g,'\x3cspan style\x3d"font-style:italic"\x3e').replace(//g,"\x3c/span\x3e").split(//g):[p],p=y(p,function(a){return""!==a}),b(p,function(h,p){var q,e=0;h=h.replace(/^\s+|\s+$/g,"").replace(//g,"\x3c/span\x3e|||");q=h.split("|||");b(q,function(h){if(""!== -h||1===q.length){var b={},z=k.createElementNS(w.SVG_NS,"tspan"),y,I;d.test(h)&&(y=h.match(d)[1],m(z,"class",y));n.test(h)&&(I=h.match(n)[1].replace(/(;| |^)color([ :])/,"$1fill$2"),m(z,"style",I));g.test(h)&&!x&&(m(z,"onclick",'location.href\x3d"'+h.match(g)[1]+'"'),r(z,{cursor:"pointer"}));h=(h.replace(/<(.|\n)*?>/g,"")||" ").replace(/</g,"\x3c").replace(/>/g,"\x3e");if(" "!==h){z.appendChild(k.createTextNode(h));e?b.dx=0:p&&null!==v&&(b.x=v);m(z,b);c.appendChild(z);!e&&J&&(!H&&x&&r(z,{display:"block"}), -m(z,"dy",K(z)));if(f){b=h.replace(/([^\^])-/g,"$1- ").split(" ");y=1f,void 0===G&&(G=h),h&&1!==b.length?(z.removeChild(z.firstChild),B.unshift(b.pop())):(b=B,B=[],b.length&&!l&&(z=k.createElementNS(O,"tspan"),m(z,{dy:P,x:v}),I&&m(z,"style",I),c.appendChild(z)),N>f&&(f=N)),b.length&&z.appendChild(k.createTextNode(b.join(" ").replace(/- /g, -"-")));a.rotation=t}e++}}});J=J||c.childNodes.length}),G&&a.attr("title",a.textStr),z&&z.removeChild(c),B&&a.applyTextOutline&&a.applyTextOutline(B)):c.appendChild(k.createTextNode(p.replace(/</g,"\x3c").replace(/>/g,"\x3e")))}},getContrast:function(a){a=l(a).rgba;return 510Math.abs(p.end-p.start-2*Math.PI));var d=Math.cos(q),n=Math.sin(q),g=Math.cos(e),e=Math.sin(e);p=.001>p.end-q-Math.PI?0:1;b=["M",a+b*d,h+x*n,"A",b,x,0,p,1,a+b*g,h+x*e];t(c)&&b.push(w?"M":"L",a+c* -g,h+c*e,"A",c,c,0,p,0,a+c*d,h+c*n);b.push(w?"":"Z");return b},callout:function(a,h,c,w,p){var q=Math.min(p&&p.r||0,c,w),b=q+6,e=p&&p.anchorX;p=p&&p.anchorY;var d;d=["M",a+q,h,"L",a+c-q,h,"C",a+c,h,a+c,h,a+c,h+q,"L",a+c,h+w-q,"C",a+c,h+w,a+c,h+w,a+c-q,h+w,"L",a+q,h+w,"C",a,h+w,a,h+w,a,h+w-q,"L",a,h+q,"C",a,h,a,h,a+q,h];e&&e>c?p>h+b&&pe?p>h+b&&pw&&e>a+b&&ep&&e>a+b&&ea?a+3:Math.round(1.2*a);return{h:c,b:Math.round(.8*c),f:a}},rotCorr:function(a,h,c){var w=a;h&&c&&(w=Math.max(w*Math.cos(h*g),4));return{x:-a/3*Math.sin(h*g),y:w}},label:function(h,c,q,d,n,g,k,z,G){var x=this,H=x.g("button"!==G&&"label"),v=H.text=x.text("",0,0,k).attr({zIndex:1}),f,y,I=0,B=3,D=0,r,l,P,m,J,O={},L,u,N=/^url\((.*?)\)$/.test(d),K=N,U,T,Q,R;G&&H.addClass("highcharts-"+G);K=N;U=function(){return(L||0)%2/2};T=function(){var a=v.element.style,h={};y=(void 0===r||void 0===l||J)&&t(v.textStr)&& -v.getBBox();H.width=(r||y.width||0)+2*B+D;H.height=(l||y.height||0)+2*B;u=B+x.fontMetrics(a&&a.fontSize,v).b;K&&(f||(H.box=f=x.symbols[d]||N?x.symbol(d):x.rect(),f.addClass(("button"===G?"":"highcharts-label-box")+(G?" highcharts-"+G+"-box":"")),f.add(H),a=U(),h.x=a,h.y=(z?-u:0)+a),h.width=Math.round(H.width),h.height=Math.round(H.height),f.attr(e(h,O)),O={})};Q=function(){var a=D+B,h;h=z?0:u;t(r)&&y&&("center"===J||"right"===J)&&(a+={center:.5,right:1}[J]*(r-y.width));if(a!==v.x||h!==v.y)v.attr("x", -a),void 0!==h&&v.attr("y",h);v.x=a;v.y=h};R=function(a,h){f?f.attr(a,h):O[a]=h};H.onAdd=function(){v.add(H);H.attr({text:h||0===h?h:"",x:c,y:q});f&&t(n)&&H.attr({anchorX:n,anchorY:g})};H.widthSetter=function(h){r=a.isNumber(h)?h:null};H.heightSetter=function(a){l=a};H["text-alignSetter"]=function(a){J=a};H.paddingSetter=function(a){t(a)&&a!==B&&(B=H.padding=a,Q())};H.paddingLeftSetter=function(a){t(a)&&a!==D&&(D=a,Q())};H.alignSetter=function(a){a={left:0,center:.5,right:1}[a];a!==I&&(I=a,y&&H.attr({x:P}))}; -H.textSetter=function(a){void 0!==a&&v.textSetter(a);T();Q()};H["stroke-widthSetter"]=function(a,h){a&&(K=!0);L=this["stroke-width"]=a;R(h,a)};H.strokeSetter=H.fillSetter=H.rSetter=function(a,h){"r"!==h&&("fill"===h&&a&&(K=!0),H[h]=a);R(h,a)};H.anchorXSetter=function(a,h){n=H.anchorX=a;R(h,Math.round(a)-U()-P)};H.anchorYSetter=function(a,h){g=H.anchorY=a;R(h,a-m)};H.xSetter=function(a){H.x=a;I&&(a-=I*((r||y.width)+2*B));P=Math.round(a);H.attr("translateX",P)};H.ySetter=function(a){m=H.y=Math.round(a); -H.attr("translateY",m)};var V=H.css;return e(H,{css:function(a){if(a){var h={};a=p(a);b(H.textProps,function(c){void 0!==a[c]&&(h[c]=a[c],delete a[c])});v.css(h)}return V.call(H,a)},getBBox:function(){return{width:y.width+2*B,height:y.height+2*B,x:y.x-B,y:y.y-B}},shadow:function(a){a&&(T(),f&&f.shadow(a));return H},destroy:function(){w(H.element,"mouseenter");w(H.element,"mouseleave");v&&(v=v.destroy());f&&(f=f.destroy());C.prototype.destroy.call(H);H=x=T=Q=R=null}})}});a.Renderer=A})(M);(function(a){var C= -a.attr,A=a.createElement,F=a.css,E=a.defined,m=a.each,f=a.extend,l=a.isFirefox,r=a.isMS,u=a.isWebKit,t=a.pInt,g=a.SVGRenderer,d=a.win,k=a.wrap;f(a.SVGElement.prototype,{htmlCss:function(a){var b=this.element;if(b=a&&"SPAN"===b.tagName&&a.width)delete a.width,this.textWidth=b,this.updateTransform();a&&"ellipsis"===a.textOverflow&&(a.whiteSpace="nowrap",a.overflow="hidden");this.styles=f(this.styles,a);F(this.element,a);return this},htmlGetBBox:function(){var a=this.element;"text"===a.nodeName&&(a.style.position= -"absolute");return{x:a.offsetLeft,y:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var a=this.renderer,e=this.element,d=this.translateX||0,g=this.translateY||0,n=this.x||0,k=this.y||0,f=this.textAlign||"left",c={left:0,center:.5,right:1}[f],G=this.styles;F(e,{marginLeft:d,marginTop:g});this.shadows&&m(this.shadows,function(a){F(a,{marginLeft:d+1,marginTop:g+1})});this.inverted&&m(e.childNodes,function(c){a.invertChild(c,e)});if("SPAN"===e.tagName){var q= -this.rotation,B=t(this.textWidth),r=G&&G.whiteSpace,p=[q,f,e.innerHTML,this.textWidth,this.textAlign].join();p!==this.cTT&&(G=a.fontMetrics(e.style.fontSize).b,E(q)&&this.setSpanRotation(q,c,G),F(e,{width:"",whiteSpace:r||"nowrap"}),e.offsetWidth>B&&/[ \-]/.test(e.textContent||e.innerText)&&F(e,{width:B+"px",display:"block",whiteSpace:r||"normal"}),this.getSpanCorrection(e.offsetWidth,G,c,q,f));F(e,{left:n+(this.xCorr||0)+"px",top:k+(this.yCorr||0)+"px"});u&&(G=e.offsetHeight);this.cTT=p}}else this.alignOnAdd= -!0},setSpanRotation:function(a,e,g){var b={},n=r?"-ms-transform":u?"-webkit-transform":l?"MozTransform":d.opera?"-o-transform":"";b[n]=b.transform="rotate("+a+"deg)";b[n+(l?"Origin":"-origin")]=b.transformOrigin=100*e+"% "+g+"px";F(this.element,b)},getSpanCorrection:function(a,e,d){this.xCorr=-a*d;this.yCorr=-e}});f(g.prototype,{html:function(a,e,d){var b=this.createElement("span"),n=b.element,g=b.renderer,v=g.isSVG,c=function(a,c){m(["opacity","visibility"],function(q){k(a,q+"Setter",function(a, -p,q,b){a.call(this,p,q,b);c[q]=p})})};b.textSetter=function(a){a!==n.innerHTML&&delete this.bBox;n.innerHTML=this.textStr=a;b.htmlUpdateTransform()};v&&c(b,b.element.style);b.xSetter=b.ySetter=b.alignSetter=b.rotationSetter=function(a,c){"align"===c&&(c="textAlign");b[c]=a;b.htmlUpdateTransform()};b.attr({text:a,x:Math.round(e),y:Math.round(d)}).css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize,position:"absolute"});n.style.whiteSpace="nowrap";b.css=b.htmlCss;v&&(b.add=function(a){var q, -e=g.box.parentNode,d=[];if(this.parentGroup=a){if(q=a.div,!q){for(;a;)d.push(a),a=a.parentGroup;m(d.reverse(),function(a){var p,n=C(a.element,"class");n&&(n={className:n});q=a.div=a.div||A("div",n,{position:"absolute",left:(a.translateX||0)+"px",top:(a.translateY||0)+"px",display:a.display,opacity:a.opacity,pointerEvents:a.styles&&a.styles.pointerEvents},q||e);p=q.style;f(a,{classSetter:function(a){this.element.setAttribute("class",a);q.className=a},on:function(){d[0].div&&b.on.apply({element:d[0].div}, -arguments);return a},translateXSetter:function(c,h){p.left=c+"px";a[h]=c;a.doTransform=!0},translateYSetter:function(c,h){p.top=c+"px";a[h]=c;a.doTransform=!0}});c(a,p)})}}else q=e;q.appendChild(n);b.added=!0;b.alignOnAdd&&b.htmlUpdateTransform();return b});return b}})})(M);(function(a){var C,A,F=a.createElement,E=a.css,m=a.defined,f=a.deg2rad,l=a.discardElement,r=a.doc,u=a.each,t=a.erase,g=a.extend;C=a.extendClass;var d=a.isArray,k=a.isNumber,b=a.isObject,e=a.merge;A=a.noop;var v=a.pick,y=a.pInt, -n=a.SVGElement,D=a.SVGRenderer,J=a.win;a.svg||(A={docMode8:r&&8===r.documentMode,init:function(a,b){var c=["\x3c",b,' filled\x3d"f" stroked\x3d"f"'],e=["position: ","absolute",";"],d="div"===b;("shape"===b||d)&&e.push("left:0;top:0;width:1px;height:1px;");e.push("visibility: ",d?"hidden":"visible");c.push(' style\x3d"',e.join(""),'"/\x3e');b&&(c=d||"span"===b||"img"===b?c.join(""):a.prepVML(c),this.element=F(c));this.renderer=a},add:function(a){var c=this.renderer,b=this.element,e=c.box,d=a&&a.inverted, -e=a?a.element||a:e;a&&(this.parentGroup=a);d&&c.invertChild(b,e);e.appendChild(b);this.added=!0;this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform();if(this.onAdd)this.onAdd();this.className&&this.attr("class",this.className);return this},updateTransform:n.prototype.htmlUpdateTransform,setSpanRotation:function(){var a=this.rotation,b=Math.cos(a*f),q=Math.sin(a*f);E(this.element,{filter:a?["progid:DXImageTransform.Microsoft.Matrix(M11\x3d",b,", M12\x3d",-q,", M21\x3d",q,", M22\x3d", -b,", sizingMethod\x3d'auto expand')"].join(""):"none"})},getSpanCorrection:function(a,b,q,e,d){var c=e?Math.cos(e*f):1,n=e?Math.sin(e*f):0,g=v(this.elemHeight,this.element.offsetHeight),k;this.xCorr=0>c&&-a;this.yCorr=0>n&&-g;k=0>c*n;this.xCorr+=n*b*(k?1-q:q);this.yCorr-=c*b*(e?k?q:1-q:1);d&&"left"!==d&&(this.xCorr-=a*q*(0>c?-1:1),e&&(this.yCorr-=g*q*(0>n?-1:1)),E(this.element,{textAlign:d}))},pathToVML:function(a){for(var c=a.length,b=[];c--;)k(a[c])?b[c]=Math.round(10*a[c])-5:"Z"===a[c]?b[c]="x": -(b[c]=a[c],!a.isArc||"wa"!==a[c]&&"at"!==a[c]||(b[c+5]===b[c+7]&&(b[c+7]+=a[c+7]>a[c+5]?1:-1),b[c+6]===b[c+8]&&(b[c+8]+=a[c+8]>a[c+6]?1:-1)));return b.join(" ")||"x"},clip:function(a){var c=this,b;a?(b=a.members,t(b,c),b.push(c),c.destroyClip=function(){t(b,c)},a=a.getCSS(c)):(c.destroyClip&&c.destroyClip(),a={clip:c.docMode8?"inherit":"rect(auto)"});return c.css(a)},css:n.prototype.htmlCss,safeRemoveChild:function(a){a.parentNode&&l(a)},destroy:function(){this.destroyClip&&this.destroyClip();return n.prototype.destroy.apply(this)}, -on:function(a,b){this.element["on"+a]=function(){var a=J.event;a.target=a.srcElement;b(a)};return this},cutOffPath:function(a,b){var c;a=a.split(/[ ,]/);c=a.length;if(9===c||11===c)a[c-4]=a[c-2]=y(a[c-2])-10*b;return a.join(" ")},shadow:function(a,b,e){var c=[],q,p=this.element,d=this.renderer,n,g=p.style,h,w=p.path,k,H,f,D;w&&"string"!==typeof w.value&&(w="x");H=w;if(a){f=v(a.width,3);D=(a.opacity||.15)/f;for(q=1;3>=q;q++)k=2*f+1-2*q,e&&(H=this.cutOffPath(w.value,k+.5)),h=['\x3cshape isShadow\x3d"true" strokeweight\x3d"', -k,'" filled\x3d"false" path\x3d"',H,'" coordsize\x3d"10 10" style\x3d"',p.style.cssText,'" /\x3e'],n=F(d.prepVML(h),null,{left:y(g.left)+v(a.offsetX,1),top:y(g.top)+v(a.offsetY,1)}),e&&(n.cutOff=k+1),h=['\x3cstroke color\x3d"',a.color||"#000000",'" opacity\x3d"',D*q,'"/\x3e'],F(d.prepVML(h),null,null,n),b?b.element.appendChild(n):p.parentNode.insertBefore(n,p),c.push(n);this.shadows=c}return this},updateShadows:A,setAttr:function(a,b){this.docMode8?this.element[a]=b:this.element.setAttribute(a,b)}, -classSetter:function(a){(this.added?this.element:this).className=a},dashstyleSetter:function(a,b,e){(e.getElementsByTagName("stroke")[0]||F(this.renderer.prepVML(["\x3cstroke/\x3e"]),null,null,e))[b]=a||"solid";this[b]=a},dSetter:function(a,b,e){var c=this.shadows;a=a||[];this.d=a.join&&a.join(" ");e.path=a=this.pathToVML(a);if(c)for(e=c.length;e--;)c[e].path=c[e].cutOff?this.cutOffPath(a,c[e].cutOff):a;this.setAttr(b,a)},fillSetter:function(a,b,e){var c=e.nodeName;"SPAN"===c?e.style.color=a:"IMG"!== -c&&(e.filled="none"!==a,this.setAttr("fillcolor",this.renderer.color(a,e,b,this)))},"fill-opacitySetter":function(a,b,e){F(this.renderer.prepVML(["\x3c",b.split("-")[0],' opacity\x3d"',a,'"/\x3e']),null,null,e)},opacitySetter:A,rotationSetter:function(a,b,e){e=e.style;this[b]=e[b]=a;e.left=-Math.round(Math.sin(a*f)+1)+"px";e.top=Math.round(Math.cos(a*f))+"px"},strokeSetter:function(a,b,e){this.setAttr("strokecolor",this.renderer.color(a,e,b,this))},"stroke-widthSetter":function(a,b,e){e.stroked=!!a; -this[b]=a;k(a)&&(a+="px");this.setAttr("strokeweight",a)},titleSetter:function(a,b){this.setAttr(b,a)},visibilitySetter:function(a,b,e){"inherit"===a&&(a="visible");this.shadows&&u(this.shadows,function(c){c.style[b]=a});"DIV"===e.nodeName&&(a="hidden"===a?"-999em":0,this.docMode8||(e.style[b]=a?"visible":"hidden"),b="top");e.style[b]=a},xSetter:function(a,b,e){this[b]=a;"x"===b?b="left":"y"===b&&(b="top");this.updateClipping?(this[b]=a,this.updateClipping()):e.style[b]=a},zIndexSetter:function(a, -b,e){e.style[b]=a}},A["stroke-opacitySetter"]=A["fill-opacitySetter"],a.VMLElement=A=C(n,A),A.prototype.ySetter=A.prototype.widthSetter=A.prototype.heightSetter=A.prototype.xSetter,A={Element:A,isIE8:-1l[0]&&c.push([1,l[1]]);u(c,function(h,c){n.test(h[1])?(p=a.color(h[1]), -w=p.get("rgb"),v=p.get("a")):(w=h[1],v=1);G.push(100*h[0]+"% "+w);c?(y=v,x=w):(D=v,r=w)});if("fill"===e)if("gradient"===k)e=H.x1||H[0]||0,c=H.y1||H[1]||0,f=H.x2||H[2]||0,H=H.y2||H[3]||0,B='angle\x3d"'+(90-180*Math.atan((H-c)/(f-e))/Math.PI)+'"',m();else{var h=H.r,t=2*h,J=2*h,A=H.cx,C=H.cy,E=b.radialReference,M,h=function(){E&&(M=d.getBBox(),A+=(E[0]-M.x)/M.width-.5,C+=(E[1]-M.y)/M.height-.5,t*=E[2]/M.width,J*=E[2]/M.height);B='src\x3d"'+a.getOptions().global.VMLRadialGradientURL+'" size\x3d"'+t+","+ -J+'" origin\x3d"0.5,0.5" position\x3d"'+A+","+C+'" color2\x3d"'+r+'" ';m()};d.added?h():d.onAdd=h;h=x}else h=w}else n.test(c)&&"IMG"!==b.tagName?(p=a.color(c),d[e+"-opacitySetter"](p.get("a"),e,b),h=p.get("rgb")):(h=b.getElementsByTagName(e),h.length&&(h[0].opacity=1,h[0].type="solid"),h=c);return h},prepVML:function(a){var c=this.isIE8;a=a.join("");c?(a=a.replace("/\x3e",' xmlns\x3d"urn:schemas-microsoft-com:vml" /\x3e'),a=-1===a.indexOf('style\x3d"')?a.replace("/\x3e",' style\x3d"display:inline-block;behavior:url(#default#VML);" /\x3e'): -a.replace('style\x3d"','style\x3d"display:inline-block;behavior:url(#default#VML);')):a=a.replace("\x3c","\x3chcv:");return a},text:D.prototype.html,path:function(a){var c={coordsize:"10 10"};d(a)?c.d=a:b(a)&&g(c,a);return this.createElement("shape").attr(c)},circle:function(a,e,d){var c=this.symbol("circle");b(a)&&(d=a.r,e=a.y,a=a.x);c.isCircle=!0;c.r=d;return c.attr({x:a,y:e})},g:function(a){var c;a&&(c={className:"highcharts-"+a,"class":"highcharts-"+a});return this.createElement("div").attr(c)}, -image:function(a,b,e,d,n){var c=this.createElement("img").attr({src:a});1e&&m-v*yd&&(c=Math.round((g-m)/Math.cos(e*l)));else if(g=m+(1-v)*y,m-v*yd&&(D=d-a.x+D*v,J=-1),D=Math.min(n,D),DD||r.autoRotation&&(b.styles||{}).width)c=D;c&&(G.width=c,(r.options.labels.style||{}).textOverflow|| -(G.textOverflow="ellipsis"),b.css(G))},getPosition:function(a,f,l,g){var d=this.axis,k=d.chart,b=g&&k.oldChartHeight||k.chartHeight;return{x:a?d.translate(f+l,null,null,g)+d.transB:d.left+d.offset+(d.opposite?(g&&k.oldChartWidth||k.chartWidth)-d.right-d.left:0),y:a?b-d.bottom+d.offset-(d.opposite?d.height:0):b-d.translate(f+l,null,null,g)-d.transB}},getLabelPosition:function(a,f,m,g,d,k,b,e){var v=this.axis,y=v.transA,n=v.reversed,D=v.staggerLines,r=v.tickRotCorr||{x:0,y:0},c=d.y;A(c)||(c=0===v.side? -m.rotation?-8:-m.getBBox().height:2===v.side?r.y+8:Math.cos(m.rotation*l)*(r.y-m.getBBox(!1,0).height/2));a=a+d.x+r.x-(k&&g?k*y*(n?-1:1):0);f=f+c-(k&&!g?k*y*(n?1:-1):0);D&&(m=b/(e||1)%D,v.opposite&&(m=D-m-1),f+=v.labelOffset/D*m);return{x:a,y:Math.round(f)}},getMarkPath:function(a,f,l,g,d,k){return k.crispLine(["M",a,f,"L",a+(d?0:-l),f+(d?l:0)],g)},renderGridLine:function(a,f,l){var g=this.axis,d=g.options,k=this.gridLine,b={},e=this.pos,v=this.type,y=g.tickmarkOffset,n=g.chart.renderer,D=v?v+"Grid": -"grid",r=d[D+"LineWidth"],c=d[D+"LineColor"],d=d[D+"LineDashStyle"];k||(b.stroke=c,b["stroke-width"]=r,d&&(b.dashstyle=d),v||(b.zIndex=1),a&&(b.opacity=0),this.gridLine=k=n.path().attr(b).addClass("highcharts-"+(v?v+"-":"")+"grid-line").add(g.gridGroup));if(!a&&k&&(a=g.getPlotLinePath(e+y,k.strokeWidth()*l,a,!0)))k[this.isNew?"attr":"animate"]({d:a,opacity:f})},renderMark:function(a,l,m){var g=this.axis,d=g.options,k=g.chart.renderer,b=this.type,e=b?b+"Tick":"tick",v=g.tickSize(e),y=this.mark,n=!y, -D=a.x;a=a.y;var r=f(d[e+"Width"],!b&&g.isXAxis?1:0),d=d[e+"Color"];v&&(g.opposite&&(v[0]=-v[0]),n&&(this.mark=y=k.path().addClass("highcharts-"+(b?b+"-":"")+"tick").add(g.axisGroup),y.attr({stroke:d,"stroke-width":r})),y[n?"attr":"animate"]({d:this.getMarkPath(D,a,v[0],y.strokeWidth()*m,g.horiz,k),opacity:l}))},renderLabel:function(a,l,m,g){var d=this.axis,k=d.horiz,b=d.options,e=this.label,v=b.labels,y=v.step,n=d.tickmarkOffset,D=!0,r=a.x;a=a.y;e&&E(r)&&(e.xy=a=this.getLabelPosition(r,a,e,k,v,n, -g,y),this.isFirst&&!this.isLast&&!f(b.showFirstLabel,1)||this.isLast&&!this.isFirst&&!f(b.showLastLabel,1)?D=!1:!k||d.isRadial||v.step||v.rotation||l||0===m||this.handleOverflow(a),y&&g%y&&(D=!1),D&&E(a.y)?(a.opacity=m,e[this.isNewLabel?"attr":"animate"](a),this.isNewLabel=!1):(e.attr("y",-9999),this.isNewLabel=!0),this.isNew=!1)},render:function(a,l,m){var g=this.axis,d=g.horiz,k=this.getPosition(d,this.pos,g.tickmarkOffset,l),b=k.x,e=k.y,g=d&&b===g.pos+g.len||!d&&e===g.pos?-1:1;m=f(m,1);this.isActive= -!0;this.renderGridLine(l,m,g);this.renderMark(k,m,g);this.renderLabel(k,l,m,a)},destroy:function(){F(this,this.axis)}}})(M);var S=function(a){var C=a.addEvent,A=a.animObject,F=a.arrayMax,E=a.arrayMin,m=a.color,f=a.correctFloat,l=a.defaultOptions,r=a.defined,u=a.deg2rad,t=a.destroyObjectProperties,g=a.each,d=a.extend,k=a.fireEvent,b=a.format,e=a.getMagnitude,v=a.grep,y=a.inArray,n=a.isArray,D=a.isNumber,J=a.isString,c=a.merge,G=a.normalizeTickInterval,q=a.objectEach,B=a.pick,K=a.removeEvent,p=a.splat, -z=a.syncTimeout,I=a.Tick,L=function(){this.init.apply(this,arguments)};a.extend(L.prototype,{defaultOptions:{dateTimeLabelFormats:{millisecond:"%H:%M:%S.%L",second:"%H:%M:%S",minute:"%H:%M",hour:"%H:%M",day:"%e. %b",week:"%e. %b",month:"%b '%y",year:"%Y"},endOnTick:!1,labels:{enabled:!0,style:{color:"#666666",cursor:"default",fontSize:"11px"},x:0},minPadding:.01,maxPadding:.01,minorTickLength:2,minorTickPosition:"outside",startOfWeek:1,startOnTick:!1,tickLength:10,tickmarkPlacement:"between",tickPixelInterval:100, -tickPosition:"outside",title:{align:"middle",style:{color:"#666666"}},type:"linear",minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",tickColor:"#ccd6eb"},defaultYAxisOptions:{endOnTick:!0,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},maxPadding:.05,minPadding:.05,startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{allowOverlap:!1,enabled:!1,formatter:function(){return a.numberFormat(this.total,-1)}, -style:{fontSize:"11px",fontWeight:"bold",color:"#000000",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},defaultLeftAxisOptions:{labels:{x:-15},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:15},title:{rotation:90}},defaultBottomAxisOptions:{labels:{autoRotation:[-45],x:0},title:{rotation:0}},defaultTopAxisOptions:{labels:{autoRotation:[-45],x:0},title:{rotation:0}},init:function(a,c){var h=c.isX,b=this;b.chart=a;b.horiz=a.inverted&&!b.isZAxis?!h:h;b.isXAxis=h;b.coll=b.coll||(h? -"xAxis":"yAxis");b.opposite=c.opposite;b.side=c.side||(b.horiz?b.opposite?0:2:b.opposite?1:3);b.setOptions(c);var w=this.options,e=w.type;b.labelFormatter=w.labels.formatter||b.defaultLabelFormatter;b.userOptions=c;b.minPixelPadding=0;b.reversed=w.reversed;b.visible=!1!==w.visible;b.zoomEnabled=!1!==w.zoomEnabled;b.hasNames="category"===e||!0===w.categories;b.categories=w.categories||b.hasNames;b.names=b.names||[];b.plotLinesAndBandsGroups={};b.isLog="logarithmic"===e;b.isDatetimeAxis="datetime"=== -e;b.positiveValuesOnly=b.isLog&&!b.allowNegativeLog;b.isLinked=r(w.linkedTo);b.ticks={};b.labelEdge=[];b.minorTicks={};b.plotLinesAndBands=[];b.alternateBands={};b.len=0;b.minRange=b.userMinRange=w.minRange||w.maxZoom;b.range=w.range;b.offset=w.offset||0;b.stacks={};b.oldStacks={};b.stacksTouched=0;b.max=null;b.min=null;b.crosshair=B(w.crosshair,p(a.options.tooltip.crosshairs)[h?0:1],!1);c=b.options.events;-1===y(b,a.axes)&&(h?a.axes.splice(a.xAxis.length,0,b):a.axes.push(b),a[b.coll].push(b));b.series= -b.series||[];a.inverted&&!b.isZAxis&&h&&void 0===b.reversed&&(b.reversed=!0);q(c,function(a,h){C(b,h,a)});b.lin2log=w.linearToLogConverter||b.lin2log;b.isLog&&(b.val2lin=b.log2lin,b.lin2val=b.lin2log)},setOptions:function(a){this.options=c(this.defaultOptions,"yAxis"===this.coll&&this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],c(l[this.coll],a))},defaultLabelFormatter:function(){var h=this.axis, -c=this.value,e=h.categories,p=this.dateTimeLabelFormat,d=l.lang,n=d.numericSymbols,d=d.numericSymbolMagnitude||1E3,q=n&&n.length,x,g=h.options.labels.format,h=h.isLog?Math.abs(c):h.tickInterval;if(g)x=b(g,this);else if(e)x=c;else if(p)x=a.dateFormat(p,c);else if(q&&1E3<=h)for(;q--&&void 0===x;)e=Math.pow(d,q+1),h>=e&&0===10*c%e&&null!==n[q]&&0!==c&&(x=a.numberFormat(c/e,-1)+n[q]);void 0===x&&(x=1E4<=Math.abs(c)?a.numberFormat(c,-1):a.numberFormat(c,-1,void 0,""));return x},getSeriesExtremes:function(){var a= -this,b=a.chart;a.hasVisibleSeries=!1;a.dataMin=a.dataMax=a.threshold=null;a.softThreshold=!a.isXAxis;a.buildStacks&&a.buildStacks();g(a.series,function(h){if(h.visible||!b.options.chart.ignoreHiddenSeries){var c=h.options,w=c.threshold,e;a.hasVisibleSeries=!0;a.positiveValuesOnly&&0>=w&&(w=null);if(a.isXAxis)c=h.xData,c.length&&(h=E(c),D(h)||h instanceof Date||(c=v(c,function(a){return D(a)}),h=E(c)),a.dataMin=Math.min(B(a.dataMin,c[0]),h),a.dataMax=Math.max(B(a.dataMax,c[0]),F(c)));else if(h.getExtremes(), -e=h.dataMax,h=h.dataMin,r(h)&&r(e)&&(a.dataMin=Math.min(B(a.dataMin,h),h),a.dataMax=Math.max(B(a.dataMax,e),e)),r(w)&&(a.threshold=w),!c.softThreshold||a.positiveValuesOnly)a.softThreshold=!1}})},translate:function(a,b,c,e,p,d){var h=this.linkedParent||this,w=1,n=0,q=e?h.oldTransA:h.transA;e=e?h.oldMin:h.min;var g=h.minPixelPadding;p=(h.isOrdinal||h.isBroken||h.isLog&&p)&&h.lin2val;q||(q=h.transA);c&&(w*=-1,n=h.len);h.reversed&&(w*=-1,n-=w*(h.sector||h.len));b?(a=(a*w+n-g)/q+e,p&&(a=h.lin2val(a))): -(p&&(a=h.val2lin(a)),a=w*(a-e)*q+n+w*g+(D(d)?q*d:0));return a},toPixels:function(a,b){return this.translate(a,!1,!this.horiz,null,!0)+(b?0:this.pos)},toValue:function(a,b){return this.translate(a-(b?0:this.pos),!0,!this.horiz,null,!0)},getPlotLinePath:function(a,b,c,e,p){var h=this.chart,w=this.left,d=this.top,n,q,g=c&&h.oldChartHeight||h.chartHeight,k=c&&h.oldChartWidth||h.chartWidth,f;n=this.transB;var v=function(a,h,b){if(ab)e?a=Math.min(Math.max(h,a),b):f=!0;return a};p=B(p,this.translate(a, -null,null,c));a=c=Math.round(p+n);n=q=Math.round(g-p-n);D(p)?this.horiz?(n=d,q=g-this.bottom,a=c=v(a,w,w+this.width)):(a=w,c=k-this.right,n=q=v(n,d,d+this.height)):f=!0;return f&&!e?null:h.renderer.crispLine(["M",a,n,"L",c,q],b||1)},getLinearTickPositions:function(a,b,c){var h,w=f(Math.floor(b/a)*a);c=f(Math.ceil(c/a)*a);var e=[];if(this.single)return[b];for(b=w;b<=c;){e.push(b);b=f(b+a);if(b===h)break;h=b}return e},getMinorTickPositions:function(){var a=this,b=a.options,c=a.tickPositions,e=a.minorTickInterval, -p=[],d=a.pointRangePadding||0,n=a.min-d,d=a.max+d,q=d-n;if(q&&q/e=this.minRange,v=this.minRange,e=(v-c+b)/2,e=[b-e,B(a.min,b-e)],p&&(e[2]=this.isLog?this.log2lin(this.dataMin):this.dataMin),b=F(e),c=[b+v,B(a.max,b+v)],p&&(c[2]=this.isLog?this.log2lin(this.dataMax):this.dataMax), -c=E(c),c-b=J?(L=J,y=0):b.dataMax<=J&&(u=J,z=0)),b.min=B(K,L,b.dataMin),b.max=B(A,u,b.dataMax));d&&(b.positiveValuesOnly&&!h&&0>=Math.min(b.min,B(b.dataMin,b.min))&&a.error(10,1),b.min=f(n(b.min),15),b.max=f(n(b.max),15));b.range&&r(b.max)&&(b.userMin=b.min=K=Math.max(b.dataMin,b.minFromRange()),b.userMax=A=b.max,b.range=null);k(b,"foundExtremes");b.beforePadding&&b.beforePadding();b.adjustForMinRange(); -!(m||b.axisPointRange||b.usePercentage||v)&&r(b.min)&&r(b.max)&&(n=b.max-b.min)&&(!r(K)&&y&&(b.min-=n*y),!r(A)&&z&&(b.max+=n*z));D(p.softMin)&&(b.min=Math.min(b.min,p.softMin));D(p.softMax)&&(b.max=Math.max(b.max,p.softMax));D(p.floor)&&(b.min=Math.max(b.min,p.floor));D(p.ceiling)&&(b.max=Math.min(b.max,p.ceiling));t&&r(b.dataMin)&&(J=J||0,!r(K)&&b.min=J?b.min=J:!r(A)&&b.max>J&&b.dataMax<=J&&(b.max=J));b.tickInterval=b.min===b.max||void 0===b.min||void 0===b.max?1:v&&!l&&I===b.linkedParent.options.tickPixelInterval? -l=b.linkedParent.tickInterval:B(l,this.tickAmount?(b.max-b.min)/Math.max(this.tickAmount-1,1):void 0,m?1:(b.max-b.min)*I/Math.max(b.len,I));x&&!h&&g(b.series,function(a){a.processData(b.min!==b.oldMin||b.max!==b.oldMax)});b.setAxisTranslation(!0);b.beforeSetTickPositions&&b.beforeSetTickPositions();b.postProcessTickInterval&&(b.tickInterval=b.postProcessTickInterval(b.tickInterval));b.pointRange&&!l&&(b.tickInterval=Math.max(b.pointRange,b.tickInterval));h=B(p.minTickInterval,b.isDatetimeAxis&&b.closestPointRange); -!l&&b.tickIntervalb.tickInterval&&1E3b.max)),!!this.tickAmount));this.tickAmount||(b.tickInterval=b.unsquish());this.setTickPositions()},setTickPositions:function(){var a=this.options,b,c=a.tickPositions,e=a.tickPositioner,p=a.startOnTick,d=a.endOnTick;this.tickmarkOffset=this.categories&&"between"===a.tickmarkPlacement&&1===this.tickInterval?.5:0;this.minorTickInterval= -"auto"===a.minorTickInterval&&this.tickInterval?this.tickInterval/5:a.minorTickInterval;this.single=this.min===this.max&&r(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==a.allowDecimals);this.tickPositions=b=c&&c.slice();!b&&(b=this.isDatetimeAxis?this.getTimeTicks(this.normalizeTimeTickInterval(this.tickInterval,a.units),this.min,this.max,a.startOfWeek,this.ordinalPositions,this.closestPointRange,!0):this.isLog?this.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval, -this.min,this.max),b.length>this.len&&(b=[b[0],b.pop()]),this.tickPositions=b,e&&(e=e.apply(this,[this.min,this.max])))&&(this.tickPositions=b=e);this.paddedTicks=b.slice(0);this.trimTicks(b,p,d);this.isLinked||(this.single&&2>b.length&&(this.min-=.5,this.max+=.5),c||e||this.adjustTickAmount())},trimTicks:function(a,b,c){var h=a[0],e=a[a.length-1],p=this.minPointOffset||0;if(!this.isLinked){if(b&&-Infinity!==h)this.min=h;else for(;this.min-p>a[0];)a.shift();if(c)this.max=e;else for(;this.max+pb&&(this.finalTickAmt=b,b=5);this.tickAmount=b},adjustTickAmount:function(){var a=this.tickInterval,b=this.tickPositions,c=this.tickAmount,e=this.finalTickAmt,p=b&&b.length;if(pc&&(this.tickInterval*=2,this.setTickPositions());if(r(e)){for(a=c=b.length;a--;)(3===e&&1===a%2||2>=e&&0e&&(a=e)),r(c)&&(be&&(b=e))),this.displayBtn=void 0!==a||void 0!==b,this.setExtremes(a,b,!1,void 0,{trigger:"zoom"});return!0},setAxisSize:function(){var b=this.chart,c=this.options,e=c.offsets||[0,0,0,0],p=this.horiz,d=this.width=Math.round(a.relativeLength(B(c.width,b.plotWidth-e[3]+e[1]),b.plotWidth)),n=this.height=Math.round(a.relativeLength(B(c.height,b.plotHeight-e[0]+e[2]),b.plotHeight)),q=this.top=Math.round(a.relativeLength(B(c.top,b.plotTop+e[0]),b.plotHeight,b.plotTop)), -c=this.left=Math.round(a.relativeLength(B(c.left,b.plotLeft+e[3]),b.plotWidth,b.plotLeft));this.bottom=b.chartHeight-n-q;this.right=b.chartWidth-d-c;this.len=Math.max(p?d:n,0);this.pos=p?c:q},getExtremes:function(){var a=this.isLog,b=this.lin2log;return{min:a?f(b(this.min)):this.min,max:a?f(b(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},getThreshold:function(a){var b=this.isLog,h=this.lin2log,c=b?h(this.min):this.min,b=b?h(this.max):this.max; -null===a?a=c:c>a?a=c:ba?"right":195a?"left":"center"},tickSize:function(a){var b=this.options,h=b[a+"Length"],c=B(b[a+"Width"],"tick"===a&&this.isXAxis?1:0);if(c&&h)return"inside"===b[a+"Position"]&&(h=-h),[h,c]},labelMetrics:function(){var a=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style&&this.options.labels.style.fontSize, -this.ticks[a]&&this.ticks[a].label)},unsquish:function(){var a=this.options.labels,b=this.horiz,c=this.tickInterval,e=c,p=this.len/(((this.categories?1:0)+this.max-this.min)/c),d,n=a.rotation,q=this.labelMetrics(),k,f=Number.MAX_VALUE,v,z=function(a){a/=p||1;a=1=a)k=z(Math.abs(q.h/Math.sin(u*a))),b=k+Math.abs(a/360),b(c.step||0)&&!c.rotation&&(this.staggerLines||1)*this.len/e||!b&&(p&&p-a.spacing[3]||.33*a.chartWidth)},renderUnsquish:function(){var a=this.chart,b=a.renderer,e=this.tickPositions,p=this.ticks,d=this.options.labels,n=this.horiz,q=this.getSlotWidth(),k=Math.max(1, -Math.round(q-2*(d.padding||5))),f={},v=this.labelMetrics(),z=d.style&&d.style.textOverflow,D,y=0,l,I;J(d.rotation)||(f.rotation=d.rotation||0);g(e,function(a){(a=p[a])&&a.labelLength>y&&(y=a.labelLength)});this.maxLabelLength=y;if(this.autoRotation)y>k&&y>v.h?f.rotation=this.labelRotation:this.labelRotation=0;else if(q&&(D={width:k+"px"},!z))for(D.textOverflow="clip",l=e.length;!n&&l--;)if(I=e[l],k=p[I].label)k.styles&&"ellipsis"===k.styles.textOverflow?k.css({textOverflow:"clip"}):p[I].labelLength> -q&&k.css({width:q+"px"}),k.getBBox().height>this.len/e.length-(v.h-v.f)&&(k.specCss={textOverflow:"ellipsis"});f.rotation&&(D={width:(y>.5*a.chartHeight?.33*a.chartHeight:a.chartHeight)+"px"},z||(D.textOverflow="ellipsis"));if(this.labelAlign=d.align||this.autoLabelAlign(this.labelRotation))f.align=this.labelAlign;g(e,function(a){var b=(a=p[a])&&a.label;b&&(b.attr(f),D&&b.css(c(D,b.specCss)),delete b.specCss,a.rotation=f.rotation)});this.tickRotCorr=b.rotCorr(v.b,this.labelRotation||0,0!==this.side)}, -hasData:function(){return this.hasVisibleSeries||r(this.min)&&r(this.max)&&!!this.tickPositions},addTitle:function(a){var b=this.chart.renderer,c=this.horiz,h=this.opposite,e=this.options.title,p;this.axisTitle||((p=e.textAlign)||(p=(c?{low:"left",middle:"center",high:"right"}:{low:h?"right":"left",middle:"center",high:h?"left":"right"})[e.align]),this.axisTitle=b.text(e.text,0,0,e.useHTML).attr({zIndex:7,rotation:e.rotation||0,align:p}).addClass("highcharts-axis-title").css(e.style).add(this.axisGroup), -this.axisTitle.isNew=!0);e.style.width||this.isRadial||this.axisTitle.css({width:this.len});this.axisTitle[a?"show":"hide"](!0)},generateTick:function(a){var b=this.ticks;b[a]?b[a].addLabel():b[a]=new I(this,a)},getOffset:function(){var a=this,b=a.chart,c=b.renderer,e=a.options,p=a.tickPositions,d=a.ticks,n=a.horiz,k=a.side,f=b.inverted&&!a.isZAxis?[1,0,3,2][k]:k,v,z,D=0,y,l=0,I=e.title,m=e.labels,G=0,J=b.axisOffset,b=b.clipOffset,t=[-1,1,1,-1][k],L=e.className,u=a.axisParent,K=this.tickSize("tick"); -v=a.hasData();a.showAxis=z=v||B(e.showEmpty,!0);a.staggerLines=a.horiz&&m.staggerLines;a.axisGroup||(a.gridGroup=c.g("grid").attr({zIndex:e.gridZIndex||1}).addClass("highcharts-"+this.coll.toLowerCase()+"-grid "+(L||"")).add(u),a.axisGroup=c.g("axis").attr({zIndex:e.zIndex||2}).addClass("highcharts-"+this.coll.toLowerCase()+" "+(L||"")).add(u),a.labelGroup=c.g("axis-labels").attr({zIndex:m.zIndex||7}).addClass("highcharts-"+a.coll.toLowerCase()+"-labels "+(L||"")).add(u));v||a.isLinked?(g(p,function(b, -c){a.generateTick(b,c)}),a.renderUnsquish(),!1===m.reserveSpace||0!==k&&2!==k&&{1:"left",3:"right"}[k]!==a.labelAlign&&"center"!==a.labelAlign||g(p,function(a){G=Math.max(d[a].getLabelSize(),G)}),a.staggerLines&&(G*=a.staggerLines,a.labelOffset=G*(a.opposite?-1:1))):q(d,function(a,b){a.destroy();delete d[b]});I&&I.text&&!1!==I.enabled&&(a.addTitle(z),z&&!1!==I.reserveSpace&&(a.titleOffset=D=a.axisTitle.getBBox()[n?"height":"width"],y=I.offset,l=r(y)?0:B(I.margin,n?5:10)));a.renderLine();a.offset= -t*B(e.offset,J[k]);a.tickRotCorr=a.tickRotCorr||{x:0,y:0};c=0===k?-a.labelMetrics().h:2===k?a.tickRotCorr.y:0;l=Math.abs(G)+l;G&&(l=l-c+t*(n?B(m.y,a.tickRotCorr.y+8*t):m.x));a.axisTitleMargin=B(y,l);J[k]=Math.max(J[k],a.axisTitleMargin+D+t*a.offset,l,v&&p.length&&K?K[0]+t*a.offset:0);p=2*Math.floor(a.axisLine.strokeWidth()/2);0=this.min&&a<=this.max)e[a]||(e[a]=new I(this,a)),h&&e[a].isNew&&e[a].render(b,!0,.1),e[a].render(b)},render:function(){var b=this,c=b.chart,e=b.options,p=b.isLog,d=b.lin2log,n=b.isLinked,k=b.tickPositions,f=b.axisTitle,v=b.ticks,y=b.minorTicks,l=b.alternateBands,m=e.stackLabels,r=e.alternateGridColor,B=b.tickmarkOffset, -G=b.axisLine,J=b.showAxis,t=A(c.renderer.globalAnimation),L,u;b.labelEdge.length=0;b.overlap=!1;g([v,y,l],function(a){q(a,function(a){a.isActive=!1})});if(b.hasData()||n)b.minorTickInterval&&!b.categories&&g(b.getMinorTickPositions(),function(a){b.renderMinorTick(a)}),k.length&&(g(k,function(a,c){b.renderTick(a,c)}),B&&(0===b.min||b.single)&&(v[-1]||(v[-1]=new I(b,-1,null,!0)),v[-1].render(-1))),r&&g(k,function(e,h){u=void 0!==k[h+1]?k[h+1]+B:b.max-B;0===h%2&&e=d.second?0:B*Math.floor(c.getMilliseconds()/B));if(q>=d.second)c[A.hcSetSeconds](q>=d.minute?0:B*Math.floor(c.getSeconds()/B));if(q>=d.minute)c[A.hcSetMinutes](q>=d.hour?0:B*Math.floor(c[A.hcGetMinutes]()/B));if(q>=d.hour)c[A.hcSetHours](q>=d.day?0:B*Math.floor(c[A.hcGetHours]()/B));if(q>=d.day)c[A.hcSetDate](q>= -d.month?1:B*Math.floor(c[A.hcGetDate]()/B));q>=d.month&&(c[A.hcSetMonth](q>=d.year?0:B*Math.floor(c[A.hcGetMonth]()/B)),r=c[A.hcGetFullYear]());if(q>=d.year)c[A.hcSetFullYear](r-r%B);if(q===d.week)c[A.hcSetDate](c[A.hcGetDate]()-c[A.hcGetDay]()+g(v,1));r=c[A.hcGetFullYear]();v=c[A.hcGetMonth]();var z=c[A.hcGetDate](),I=c[A.hcGetHours]();if(A.hcTimezoneOffset||A.hcGetTimezoneOffset)p=(!D||!!A.hcGetTimezoneOffset)&&(e-b>4*d.month||u(b)!==u(e)),c=c.getTime(),t=u(c),c=new A(c+t);D=c.getTime();for(b=1;D< -e;)k.push(D),D=q===d.year?G(r+b*B,0):q===d.month?G(r,v+b*B):!p||q!==d.day&&q!==d.week?p&&q===d.hour?G(r,v,z,I+b*B,0,0,t)-t:D+q*B:G(r,v,z+b*B*(q===d.day?1:7)),b++;k.push(D);q<=d.hour&&1E4>k.length&&f(k,function(a){0===a%18E5&&"000000000"===F("%H%M%S%L",a)&&(n[a]="day")})}k.info=l(a,{higherRanks:n,totalRange:q*B});return k};C.prototype.normalizeTimeTickInterval=function(a,b){var e=b||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1, -2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];b=e[e.length-1];var k=d[b[0]],g=b[1],n;for(n=0;nl&&(!u||n<=r)&&void 0!==n&&b.push(n),n>r&&(D=!0),n=y;else l=d(l),r=d(r),a=f[u?"minorTickInterval":"tickInterval"],a=m("auto"===a?null:a,this._minorAutoInterval,f.tickPixelInterval/(u?5:1)*(r-l)/((u?g/this.tickPositions.length: -g)||1)),a=E(a,null,A(a)),b=F(this.getLinearTickPositions(a,l,r),k),u||(this._minorAutoInterval=a/5);u||(this.tickInterval=a);return b};C.prototype.log2lin=function(a){return Math.log(a)/Math.LN10};C.prototype.lin2log=function(a){return Math.pow(10,a)}})(M);(function(a,C){var A=a.arrayMax,F=a.arrayMin,E=a.defined,m=a.destroyObjectProperties,f=a.each,l=a.erase,r=a.merge,u=a.pick;a.PlotLineOrBand=function(a,g){this.axis=a;g&&(this.options=g,this.id=g.id)};a.PlotLineOrBand.prototype={render:function(){var f= -this,g=f.axis,d=g.horiz,k=f.options,b=k.label,e=f.label,v=k.to,l=k.from,n=k.value,D=E(l)&&E(v),m=E(n),c=f.svgElem,G=!c,q=[],B=k.color,K=u(k.zIndex,0),p=k.events,q={"class":"highcharts-plot-"+(D?"band ":"line ")+(k.className||"")},z={},I=g.chart.renderer,L=D?"bands":"lines",h=g.log2lin;g.isLog&&(l=h(l),v=h(v),n=h(n));m?(q={stroke:B,"stroke-width":k.width},k.dashStyle&&(q.dashstyle=k.dashStyle)):D&&(B&&(q.fill=B),k.borderWidth&&(q.stroke=k.borderColor,q["stroke-width"]=k.borderWidth));z.zIndex=K;L+= -"-"+K;(B=g.plotLinesAndBandsGroups[L])||(g.plotLinesAndBandsGroups[L]=B=I.g("plot-"+L).attr(z).add());G&&(f.svgElem=c=I.path().attr(q).add(B));if(m)q=g.getPlotLinePath(n,c.strokeWidth());else if(D)q=g.getPlotBandPath(l,v,k);else return;G&&q&&q.length?(c.attr({d:q}),p&&a.objectEach(p,function(a,b){c.on(b,function(a){p[b].apply(f,[a])})})):c&&(q?(c.show(),c.animate({d:q})):(c.hide(),e&&(f.label=e=e.destroy())));b&&E(b.text)&&q&&q.length&&0this.max&&g>this.max;k&&d?(a&&(k.flat=k.toString()===d.toString(),e=0),k.push(b&&d[4]===k[4]?d[4]+e:d[4],b||d[5]!==k[5]?d[5]:d[5]+e,b&&d[1]===k[1]?d[1]+e:d[1],b||d[2]!==k[2]?d[2]:d[2]+e)):k=null;return k}, -addPlotBand:function(a){return this.addPlotBandOrLine(a,"plotBands")},addPlotLine:function(a){return this.addPlotBandOrLine(a,"plotLines")},addPlotBandOrLine:function(f,g){var d=(new a.PlotLineOrBand(this,f)).render(),k=this.userOptions;d&&(g&&(k[g]=k[g]||[],k[g].push(f)),this.plotLinesAndBands.push(d));return d},removePlotBandOrLine:function(a){for(var g=this.plotLinesAndBands,d=this.options,k=this.userOptions,b=g.length;b--;)g[b].id===a&&g[b].destroy();f([d.plotLines||[],k.plotLines||[],d.plotBands|| -[],k.plotBands||[]],function(e){for(b=e.length;b--;)e[b].id===a&&l(e,e[b])})},removePlotBand:function(a){this.removePlotBandOrLine(a)},removePlotLine:function(a){this.removePlotBandOrLine(a)}})})(M,S);(function(a){var C=a.dateFormat,A=a.each,F=a.extend,E=a.format,m=a.isNumber,f=a.map,l=a.merge,r=a.pick,u=a.splat,t=a.syncTimeout,g=a.timeUnits;a.Tooltip=function(){this.init.apply(this,arguments)};a.Tooltip.prototype={init:function(a,k){this.chart=a;this.options=k;this.crosshairs=[];this.now={x:0,y:0}; -this.isHidden=!0;this.split=k.split&&!a.inverted;this.shared=k.shared||this.split},cleanSplit:function(a){A(this.chart.series,function(d){var b=d&&d.tt;b&&(!b.isActive||a?d.tt=b.destroy():b.isActive=!1)})},getLabel:function(){var a=this.chart.renderer,k=this.options;this.label||(this.split?this.label=a.g("tooltip"):(this.label=a.label("",0,0,k.shape||"callout",null,null,k.useHTML,null,"tooltip").attr({padding:k.padding,r:k.borderRadius}),this.label.attr({fill:k.backgroundColor,"stroke-width":k.borderWidth}).css(k.style).shadow(k.shadow)), -this.label.attr({zIndex:8}).add());return this.label},update:function(a){this.destroy();l(!0,this.chart.options.tooltip.userOptions,a);this.init(this.chart,l(!0,this.options,a))},destroy:function(){this.label&&(this.label=this.label.destroy());this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy());clearTimeout(this.hideTimer);clearTimeout(this.tooltipTimeout)},move:function(a,k,b,e){var d=this,g=d.now,n=!1!==d.options.animation&&!d.isHidden&&(1f-n?f:f-n);else if(g)k[a]=Math.max(p,e+n+c>b?e:e+n);else return!1},B=function(a,b,c,e){var h;eb-d?h=!1:k[a]=eb-c/2? -b-c-2:e-c/2;return h},t=function(a){var b=l;l=c;c=b;f=a},p=function(){!1!==q.apply(0,l)?!1!==B.apply(0,c)||f||(t(!0),p()):f?k.x=k.y=0:(t(!0),p())};(e.inverted||1p&&(n=!1);a=(d.series&&d.series.yAxis&&d.series.yAxis.pos)+(d.plotY||0);a-=g.plotTop;e.push({target:d.isHeader?g.plotHeight+m:a,rank:d.isHeader?1:0,size:q.tt.getBBox().height+1,point:d,x:p,tt:v})}});this.cleanSplit();a.distribute(e,g.plotHeight+m);A(e,function(a){var b=a.point,c=b.series;a.tt.attr({visibility:void 0===a.pos?"hidden":"inherit",x:n||b.isHeader?a.x:b.plotX+ -g.plotLeft+r(l.distance,16),y:a.pos+g.plotTop,anchorX:b.isHeader?b.plotX+g.plotLeft:b.plotX+c.xAxis.pos,anchorY:b.isHeader?a.pos+g.plotTop-15:b.plotY+c.yAxis.pos})})},updatePosition:function(a){var d=this.chart,b=this.getLabel(),b=(this.options.positioner||this.getPosition).call(this,b.width,b.height,a);this.move(Math.round(b.x),Math.round(b.y||0),a.plotX+d.plotLeft,a.plotY+d.plotTop)},getDateFormat:function(a,k,b,e){var d=C("%m-%d %H:%M:%S.%L",k),f,n,l={millisecond:15,second:12,minute:9,hour:6,day:3}, -m="millisecond";for(n in g){if(a===g.week&&+C("%w",k)===b&&"00:00:00.000"===d.substr(6)){n="week";break}if(g[n]>a){n=m;break}if(l[n]&&d.substr(l[n])!=="01-01 00:00:00.000".substr(l[n]))break;"week"!==n&&(m=n)}n&&(f=e[n]);return f},getXDateFormat:function(a,g,b){g=g.dateTimeLabelFormats;var e=b&&b.closestPointRange;return(e?this.getDateFormat(e,a.x,b.options.startOfWeek,g):g.day)||g.year},tooltipFooterHeaderFormatter:function(a,g){var b=g?"footer":"header";g=a.series;var e=g.tooltipOptions,d=e.xDateFormat, -k=g.xAxis,n=k&&"datetime"===k.options.type&&m(a.key),b=e[b+"Format"];n&&!d&&(d=this.getXDateFormat(a,e,k));n&&d&&(b=b.replace("{point.key}","{point.key:"+d+"}"));return E(b,{point:a,series:g})},bodyFormatter:function(a){return f(a,function(a){var b=a.series.tooltipOptions;return(b.pointFormatter||a.point.tooltipFormatter).call(a.point,b.pointFormat)})}}})(M);(function(a){var C=a.addEvent,A=a.attr,F=a.charts,E=a.color,m=a.css,f=a.defined,l=a.each,r=a.extend,u=a.find,t=a.fireEvent,g=a.isObject,d=a.offset, -k=a.pick,b=a.removeEvent,e=a.splat,v=a.Tooltip,y=a.win;a.Pointer=function(a,b){this.init(a,b)};a.Pointer.prototype={init:function(a,b){this.options=b;this.chart=a;this.runChartClick=b.chart.events&&!!b.chart.events.click;this.pinchDown=[];this.lastValidTouch={};v&&(a.tooltip=new v(a,b.tooltip),this.followTouchMove=k(b.tooltip.followTouchMove,!0));this.setDOMEvents()},zoomOption:function(a){var b=this.chart,e=b.options.chart,c=e.zoomType||"",b=b.inverted;/touch/.test(a.type)&&(c=k(e.pinchType,c)); -this.zoomX=a=/x/.test(c);this.zoomY=c=/y/.test(c);this.zoomHor=a&&!b||c&&b;this.zoomVert=c&&!b||a&&b;this.hasZoom=a||c},normalize:function(a,b){var e,c;a=a||y.event;a.target||(a.target=a.srcElement);c=a.touches?a.touches.length?a.touches.item(0):a.changedTouches[0]:a;b||(this.chartPosition=b=d(this.chart.container));void 0===c.pageX?(e=Math.max(a.x,a.clientX-b.left),b=a.y):(e=c.pageX-b.left,b=c.pageY-b.top);return r(a,{chartX:Math.round(e),chartY:Math.round(b)})},getCoordinates:function(a){var b= -{xAxis:[],yAxis:[]};l(this.chart.axes,function(e){b[e.isXAxis?"xAxis":"yAxis"].push({axis:e,value:e.toValue(a[e.horiz?"chartX":"chartY"])})});return b},findNearestKDPoint:function(a,b,e){var c;l(a,function(a){var d=!(a.noSharedTooltip&&b)&&0>a.options.findNearestPointBy.indexOf("y");a=a.searchPoint(e,d);if((d=g(a,!0))&&!(d=!g(c,!0)))var d=c.distX-a.distX,n=c.dist-a.dist,k=(a.series.group&&a.series.group.zIndex)-(c.series.group&&c.series.group.zIndex),d=0<(0!==d&&b?d:0!==n?n:0!==k?k:c.series.index> -a.series.index?-1:1);d&&(c=a)});return c},getPointFromEvent:function(a){a=a.target;for(var b;a&&!b;)b=a.point,a=a.parentNode;return b},getChartCoordinatesFromPoint:function(a,b){var e=a.series,c=e.xAxis,e=e.yAxis;if(c&&e)return b?{chartX:c.len+c.pos-a.clientX,chartY:e.len+e.pos-a.plotY}:{chartX:a.clientX+c.pos,chartY:a.plotY+e.pos}},getHoverData:function(b,e,d,c,f,q){var n,v=[];c=!(!c||!b);var p=e&&!e.stickyTracking?[e]:a.grep(d,function(a){return a.visible&&!(!f&&a.directTouch)&&k(a.options.enableMouseTracking, -!0)&&a.stickyTracking});e=(n=c?b:this.findNearestKDPoint(p,f,q))&&n.series;n&&(f&&!e.noSharedTooltip?(p=a.grep(d,function(a){return a.visible&&!(!f&&a.directTouch)&&k(a.options.enableMouseTracking,!0)&&!a.noSharedTooltip}),l(p,function(a){a=u(a.points,function(a){return a.x===n.x});g(a)&&!a.isNull&&v.push(a)})):v.push(n));return{hoverPoint:n,hoverSeries:e,hoverPoints:v}},runPointActions:function(b,e){var d=this.chart,c=d.tooltip,g=c?c.shared:!1,n=e||d.hoverPoint,f=n&&n.series||d.hoverSeries,f=this.getHoverData(n, -f,d.series,!!e||f&&f.directTouch&&this.isDirectTouch,g,b),v,n=f.hoverPoint;v=f.hoverPoints;e=(f=f.hoverSeries)&&f.tooltipOptions.followPointer;g=g&&f&&!f.noSharedTooltip;if(n&&(n!==d.hoverPoint||c&&c.isHidden)){l(d.hoverPoints||[],function(b){-1===a.inArray(b,v)&&b.setState()});l(v||[],function(a){a.setState("hover")});if(d.hoverSeries!==f)f.onMouseOver();d.hoverPoint&&d.hoverPoint.firePointEvent("mouseOut");n.firePointEvent("mouseOver");d.hoverPoints=v;d.hoverPoint=n;c&&c.refresh(g?v:n,b)}else e&& -c&&!c.isHidden&&(n=c.getAnchor([{}],b),c.updatePosition({plotX:n[0],plotY:n[1]}));this.unDocMouseMove||(this.unDocMouseMove=C(d.container.ownerDocument,"mousemove",function(b){var c=F[a.hoverChartIndex];if(c)c.pointer.onDocumentMouseMove(b)}));l(d.axes,function(c){var e=k(c.crosshair.snap,!0),p=e?a.find(v,function(a){return a.series[c.coll]===c}):void 0;p||!e?c.drawCrosshair(b,p):c.hideCrosshair()})},reset:function(a,b){var d=this.chart,c=d.hoverSeries,g=d.hoverPoint,n=d.hoverPoints,f=d.tooltip,k= -f&&f.shared?n:g;a&&k&&l(e(k),function(b){b.series.isCartesian&&void 0===b.plotX&&(a=!1)});if(a)f&&k&&(f.refresh(k),g&&(g.setState(g.state,!0),l(d.axes,function(a){a.crosshair&&a.drawCrosshair(null,g)})));else{if(g)g.onMouseOut();n&&l(n,function(a){a.setState()});if(c)c.onMouseOut();f&&f.hide(b);this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove());l(d.axes,function(a){a.hideCrosshair()});this.hoverX=d.hoverPoints=d.hoverPoint=null}},scaleGroups:function(a,b){var e=this.chart,c;l(e.series, -function(d){c=a||d.getPlotBox();d.xAxis&&d.xAxis.zoomEnabled&&d.group&&(d.group.attr(c),d.markerGroup&&(d.markerGroup.attr(c),d.markerGroup.clip(b?e.clipRect:null)),d.dataLabelsGroup&&d.dataLabelsGroup.attr(c))});e.clipRect.attr(b||e.clipBox)},dragStart:function(a){var b=this.chart;b.mouseIsDown=a.type;b.cancelClick=!1;b.mouseDownX=this.mouseDownX=a.chartX;b.mouseDownY=this.mouseDownY=a.chartY},drag:function(a){var b=this.chart,e=b.options.chart,c=a.chartX,d=a.chartY,g=this.zoomHor,n=this.zoomVert, -f=b.plotLeft,p=b.plotTop,k=b.plotWidth,v=b.plotHeight,l,h=this.selectionMarker,w=this.mouseDownX,m=this.mouseDownY,r=e.panKey&&a[e.panKey+"Key"];h&&h.touch||(cf+k&&(c=f+k),dp+v&&(d=p+v),this.hasDragged=Math.sqrt(Math.pow(w-c,2)+Math.pow(m-d,2)),10K.max&&(f=K.max-c,w=!0);w?(I-=.8*(I-k[v][0]),p||(h-=.8*(h-k[v][1])),m()):k[v]=[I,h];B||(d[v]=G-u,d[r]=c);d=B?1/q:q;g[r]=c;g[v]=f;t[B?a?"scaleY":"scaleX":"scale"+l]=q;t["translate"+l]=d*u+(I-d*z)},pinch:function(a){var l=this,u=l.chart,t=l.pinchDown,g=a.touches,d=g.length,k=l.lastValidTouch,b=l.hasZoom,e=l.selectionMarker, -v={},y=1===d&&(l.inClass(a.target,"highcharts-tracker")&&u.runTrackerClick||l.runChartClick),n={};1d-6&&c(p||b.spacingBox.width-2*q-g.x)&&(this.itemX=q,this.itemY+=I+this.lastLineHeight+z,this.lastLineHeight=0);this.maxItemWidth=Math.max(this.maxItemWidth,c);this.lastItemY=I+this.itemY+z;this.lastLineHeight=Math.max(d,this.lastLineHeight);a._legendItemPos=[this.itemX,this.itemY];f?this.itemX+=c:(this.itemY+=I+d+z,this.lastLineHeight=d);this.offsetWidth=p||Math.max((f?this.itemX-q-(a.checkbox?0:B):c)+q,this.offsetWidth)},getAllItems:function(){var a=[];m(this.chart.series, -function(b){var e=b&&b.options;b&&u(e.showInLegend,E(e.linkedTo)?!1:void 0,!0)&&(a=a.concat(b.legendItems||("point"===e.legendType?b.data:b)))});return a},adjustMargins:function(a,e){var b=this.chart,d=this.options,g=d.align.charAt(0)+d.verticalAlign.charAt(0)+d.layout.charAt(0);d.floating||m([/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/],function(f,k){f.test(g)&&!E(a[k])&&(b[l[k]]=Math.max(b[l[k]],b.legend[(k+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][k]*d[k%2?"x":"y"]+u(d.margin, -12)+e[k]))})},render:function(){var a=this,e=a.chart,d=e.renderer,f=a.group,k,l,t,c,u=a.box,q=a.options,B=a.padding;a.itemX=B;a.itemY=a.initialItemY;a.offsetWidth=0;a.lastItemY=0;f||(a.group=f=d.g("legend").attr({zIndex:7}).add(),a.contentGroup=d.g().attr({zIndex:1}).add(f),a.scrollGroup=d.g().add(a.contentGroup));a.renderTitle();k=a.getAllItems();g(k,function(a,b){return(a.options&&a.options.legendIndex||0)-(b.options&&b.options.legendIndex||0)});q.reversed&&k.reverse();a.allItems=k;a.display=l= -!!k.length;a.lastLineHeight=0;m(k,function(b){a.renderItem(b)});t=(q.width||a.offsetWidth)+B;c=a.lastItemY+a.lastLineHeight+a.titleHeight;c=a.handleOverflow(c);c+=B;u||(a.box=u=d.rect().addClass("highcharts-legend-box").attr({r:q.borderRadius}).add(f),u.isNew=!0);u.attr({stroke:q.borderColor,"stroke-width":q.borderWidth||0,fill:q.backgroundColor||"none"}).shadow(q.shadow);0d&&!1!==q.enabled?(this.clipHeight=c=Math.max(d-20-this.titleHeight-l,0),this.currentPage=u(this.currentPage,1),this.fullHeight=a,m(L,function(a,b){var e=a._legendItemPos[1];a=Math.round(a.legendItem.getBBox().height);var d=z.length;if(!d||e-z[d-1]>c&&(I||e)!==z[d-1])z.push(I|| -e),d++;b===L.length-1&&e+a-z[d-1]>c&&z.push(e);e!==I&&(I=e)}),r||(r=b.clipRect=g.clipRect(0,l,9999,0),b.contentGroup.clip(r)),h(c),p||(this.nav=p=g.g().attr({zIndex:1}).add(this.group),this.up=g.symbol("triangle",0,0,t,t).on("click",function(){b.scroll(-1,B)}).add(p),this.pager=g.text("",15,10).addClass("highcharts-legend-navigation").css(q.style).add(p),this.down=g.symbol("triangle-down",0,0,t,t).on("click",function(){b.scroll(1,B)}).add(p)),b.scroll(0),a=d):p&&(h(),this.nav=p.destroy(),this.scrollGroup.attr({translateY:1}), -this.clipHeight=0);return a},scroll:function(a,e){var b=this.pages,d=b.length;a=this.currentPage+a;var g=this.clipHeight,f=this.options.navigation,k=this.pager,c=this.padding;a>d&&(a=d);0f&&(g=typeof a[0],"string"===g?d.name=a[0]:"number"=== -g&&(d.x=a[0]),m++);n=b.value;)b=d[++f];b&&b.color&&!this.options.color&&(this.color=b.color);return b},destroy:function(){var a=this.series.chart,d=a.hoverPoints,f;a.pointCount--;d&&(this.setState(),E(d,this),d.length||(a.hoverPoints=null));if(this===a.hoverPoint)this.onMouseOut();if(this.graphic||this.dataLabel)t(this),this.destroyElements();this.legendItem&&a.legend.destroyItem(this); -for(f in this)this[f]=null},destroyElements:function(){for(var a=["graphic","dataLabel","dataLabelUpper","connector","shadowGroup"],d,f=6;f--;)d=a[f],this[d]&&(this[d]=this[d].destroy())},getLabelConfig:function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},tooltipFormatter:function(a){var d=this.series,g=d.tooltipOptions,b=u(g.valueDecimals,""), -e=g.valuePrefix||"",l=g.valueSuffix||"";A(d.pointArrayMap||["y"],function(d){d="{point."+d;if(e||l)a=a.replace(d+"}",e+d+"}"+l);a=a.replace(d+"}",d+":,."+b+"f}")});return f(a,{point:this,series:this.series})},firePointEvent:function(a,d,f){var b=this,e=this.series.options;(e.point.events[a]||b.options&&b.options.events&&b.options.events[a])&&this.importEvents();"click"===a&&e.allowPointSelect&&(f=function(a){b.select&&b.select(null,a.ctrlKey||a.metaKey||a.shiftKey)});m(this,a,d,f)},visible:!0}})(M); -(function(a){var C=a.addEvent,A=a.animObject,F=a.arrayMax,E=a.arrayMin,m=a.correctFloat,f=a.Date,l=a.defaultOptions,r=a.defaultPlotOptions,u=a.defined,t=a.each,g=a.erase,d=a.extend,k=a.fireEvent,b=a.grep,e=a.isArray,v=a.isNumber,y=a.isString,n=a.merge,D=a.objectEach,J=a.pick,c=a.removeEvent,G=a.splat,q=a.SVGElement,B=a.syncTimeout,K=a.win;a.Series=a.seriesType("line",null,{lineWidth:2,allowPointSelect:!1,showCheckbox:!1,animation:{duration:1E3},events:{},marker:{lineWidth:0,lineColor:"#ffffff",radius:4, -states:{hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{align:"center",formatter:function(){return null===this.y?"":a.numberFormat(this.y,-1)},style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0,padding:5},cropThreshold:300,pointRange:0,softThreshold:!0,states:{hover:{animation:{duration:50},lineWidthPlus:1,marker:{}, -halo:{size:10,opacity:.25}},select:{marker:{}}},stickyTracking:!0,turboThreshold:1E3,findNearestPointBy:"x"},{isCartesian:!0,pointClass:a.Point,sorted:!0,requireSorting:!0,directTouch:!1,axisTypes:["xAxis","yAxis"],colorCounter:0,parallelArrays:["x","y"],coll:"series",init:function(a,b){var c=this,e,h=a.series,p;c.chart=a;c.options=b=c.setOptions(b);c.linkedSeries=[];c.bindAxes();d(c,{name:b.name,state:"",visible:!1!==b.visible,selected:!0===b.selected});e=b.events;D(e,function(a,b){C(c,b,a)});if(e&& -e.click||b.point&&b.point.events&&b.point.events.click||b.allowPointSelect)a.runTrackerClick=!0;c.getColor();c.getSymbol();t(c.parallelArrays,function(a){c[a+"Data"]=[]});c.setData(b.data,!1);c.isCartesian&&(a.hasCartesianSeries=!0);h.length&&(p=h[h.length-1]);c._i=J(p&&p._i,-1)+1;a.orderSeries(this.insert(h))},insert:function(a){var b=this.options.index,c;if(v(b)){for(c=a.length;c--;)if(b>=J(a[c].options.index,a[c]._i)){a.splice(c+1,0,this);break}-1===c&&a.unshift(this);c+=1}else a.push(this);return J(c, -a.length-1)},bindAxes:function(){var b=this,c=b.options,e=b.chart,d;t(b.axisTypes||[],function(h){t(e[h],function(a){d=a.options;if(c[h]===d.index||void 0!==c[h]&&c[h]===d.id||void 0===c[h]&&0===d.index)b.insert(a.series),b[h]=a,a.isDirty=!0});b[h]||b.optionalAxis===h||a.error(18,!0)})},updateParallelArrays:function(a,b){var c=a.series,e=arguments,d=v(b)?function(e){var d="y"===e&&c.toYData?c.toYData(a):a[e];c[e+"Data"][b]=d}:function(a){Array.prototype[b].apply(c[a+"Data"],Array.prototype.slice.call(e, -2))};t(c.parallelArrays,d)},autoIncrement:function(){var a=this.options,b=this.xIncrement,c,e=a.pointIntervalUnit,b=J(b,a.pointStart,0);this.pointInterval=c=J(this.pointInterval,a.pointInterval,1);e&&(a=new f(b),"day"===e?a=+a[f.hcSetDate](a[f.hcGetDate]()+c):"month"===e?a=+a[f.hcSetMonth](a[f.hcGetMonth]()+c):"year"===e&&(a=+a[f.hcSetFullYear](a[f.hcGetFullYear]()+c)),c=a-b);this.xIncrement=b+c;return b},setOptions:function(a){var b=this.chart,c=b.options,e=c.plotOptions,d=(b.userOptions||{}).plotOptions|| -{},p=e[this.type];this.userOptions=a;b=n(p,e.series,a);this.tooltipOptions=n(l.tooltip,l.plotOptions.series&&l.plotOptions.series.tooltip,l.plotOptions[this.type].tooltip,c.tooltip.userOptions,e.series&&e.series.tooltip,e[this.type].tooltip,a.tooltip);this.stickyTracking=J(a.stickyTracking,d[this.type]&&d[this.type].stickyTracking,d.series&&d.series.stickyTracking,this.tooltipOptions.shared&&!this.noSharedTooltip?!0:b.stickyTracking);null===p.marker&&delete b.marker;this.zoneAxis=b.zoneAxis;a=this.zones= -(b.zones||[]).slice();!b.negativeColor&&!b.negativeFillColor||b.zones||a.push({value:b[this.zoneAxis+"Threshold"]||b.threshold||0,className:"highcharts-negative",color:b.negativeColor,fillColor:b.negativeFillColor});a.length&&u(a[a.length-1].value)&&a.push({color:this.color,fillColor:this.fillColor});return b},getCyclic:function(a,b,c){var e,d=this.chart,p=this.userOptions,f=a+"Index",g=a+"Counter",k=c?c.length:J(d.options.chart[a+"Count"],d[a+"Count"]);b||(e=J(p[f],p["_"+f]),u(e)||(d.series.length|| -(d[g]=0),p["_"+f]=e=d[g]%k,d[g]+=1),c&&(b=c[e]));void 0!==e&&(this[f]=e);this[a]=b},getColor:function(){this.options.colorByPoint?this.options.color=null:this.getCyclic("color",this.options.color||r[this.type].color,this.chart.options.colors)},getSymbol:function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},drawLegendSymbol:a.LegendSymbolMixin.drawLineMarker,setData:function(b,c,d,f){var h=this,p=h.points,g=p&&p.length||0,k,q=h.options,l=h.chart,n=null,m=h.xAxis, -z=q.turboThreshold,r=this.xData,B=this.yData,I=(k=h.pointArrayMap)&&k.length;b=b||[];k=b.length;c=J(c,!0);if(!1!==f&&k&&g===k&&!h.cropped&&!h.hasGroupedData&&h.visible)t(b,function(a,b){p[b].update&&a!==q.data[b]&&p[b].update(a,!1,null,!1)});else{h.xIncrement=null;h.colorCounter=0;t(this.parallelArrays,function(a){h[a+"Data"].length=0});if(z&&k>z){for(d=0;null===n&&dk||this.forceCrop))if(c[d-1]r)c=[],e=[];else if(c[0]r)h=this.cropData(this.xData,this.yData,v,r),c=h.xData,e=h.yData,h=h.start,p=!0;for(k=c.length|| -1;--k;)d=m?q(c[k])-q(c[k-1]):c[k]-c[k-1],0d&&this.requireSorting&&a.error(15);this.cropped=p;this.cropStart=h;this.processedXData=c;this.processedYData=e;this.closestPointRange=f},cropData:function(a,b,c,e){var d=a.length,p=0,g=d,f=J(this.cropShoulder,1),k;for(k=0;k=c){p=Math.max(0,k-f);break}for(c=k;ce){g=c+f;break}return{xData:a.slice(p,g),yData:b.slice(p,g),start:p,end:g}},generatePoints:function(){var a=this.options,b=a.data,c=this.data, -e,d=this.processedXData,g=this.processedYData,f=this.pointClass,k=d.length,q=this.cropStart||0,n,l=this.hasGroupedData,a=a.keys,m,v=[],r;c||l||(c=[],c.length=b.length,c=this.data=c);a&&l&&(this.options.keys=!1);for(r=0;r=g&&(c[l]||q)<=f,k&&q)if(k=n.length)for(;k--;)null!==n[k]&&(h[p++]=n[k]);else h[p++]=n;this.dataMin= -E(h);this.dataMax=F(h)},translate:function(){this.processedXData||this.processData();this.generatePoints();var a=this.options,b=a.stacking,c=this.xAxis,e=c.categories,d=this.yAxis,g=this.points,f=g.length,k=!!this.modifyValue,q=a.pointPlacement,n="between"===q||v(q),l=a.threshold,r=a.startFromThreshold?l:0,B,y,t,G,D=Number.MAX_VALUE;"between"===q&&(q=.5);v(q)&&(q*=J(a.pointRange||c.pointRange));for(a=0;a=C&&(K.isNull=!0);K.plotX=B=m(Math.min(Math.max(-1E5,c.translate(A,0,0,0,1,q,"flags"===this.type)),1E5));b&&this.visible&&!K.isNull&&E&&E[A]&&(G=this.getStackIndicator(G,A,this.index),F=E[A],C=F.points[G.key],y=C[0],C=C[1],y===r&&G.key===E[A].base&&(y=J(l,d.min)),d.positiveValuesOnly&&0>=y&&(y=null),K.total=K.stackTotal=F.total,K.percentage=F.total&&K.y/F.total*100,K.stackY=C,F.setOffset(this.pointXOffset||0,this.barW||0));K.yBottom=u(y)?d.translate(y,0,1,0,1): -null;k&&(C=this.modifyValue(C,K));K.plotY=y="number"===typeof C&&Infinity!==C?Math.min(Math.max(-1E5,d.translate(C,0,1,0,1)),1E5):void 0;K.isInside=void 0!==y&&0<=y&&y<=d.len&&0<=B&&B<=c.len;K.clientX=n?m(c.translate(A,0,0,0,1,q)):B;K.negative=K.y<(l||0);K.category=e&&void 0!==e[K.x]?e[K.x]:K.x;K.isNull||(void 0!==t&&(D=Math.min(D,Math.abs(B-t))),t=B);K.zone=this.zones.length&&K.getZone()}this.closestPointRangePx=D},getValidPoints:function(a,c){var e=this.chart;return b(a||this.points||[],function(a){return c&& -!e.isInsidePlot(a.plotX,a.plotY,e.inverted)?!1:!a.isNull})},setClip:function(a){var b=this.chart,c=this.options,e=b.renderer,d=b.inverted,p=this.clipBox,g=p||b.clipBox,f=this.sharedClipKey||["_sharedClip",a&&a.duration,a&&a.easing,g.height,c.xAxis,c.yAxis].join(),k=b[f],q=b[f+"m"];k||(a&&(g.width=0,b[f+"m"]=q=e.clipRect(-99,d?-b.plotLeft:-b.plotTop,99,d?b.chartWidth:b.chartHeight)),b[f]=k=e.clipRect(g),k.count={length:0});a&&!k.count[this.index]&&(k.count[this.index]=!0,k.count.length+=1);!1!==c.clip&& -(this.group.clip(a||p?k:b.clipRect),this.markerGroup.clip(q),this.sharedClipKey=f);a||(k.count[this.index]&&(delete k.count[this.index],--k.count.length),0===k.count.length&&f&&b[f]&&(p||(b[f]=b[f].destroy()),b[f+"m"]&&(b[f+"m"]=b[f+"m"].destroy())))},animate:function(a){var b=this.chart,c=A(this.options.animation),e;a?this.setClip(c):(e=this.sharedClipKey,(a=b[e])&&a.animate({width:b.plotSizeX},c),b[e+"m"]&&b[e+"m"].animate({width:b.plotSizeX+99},c),this.animate=null)},afterAnimate:function(){this.setClip(); -k(this,"afterAnimate");this.finishedAnimating=!0},drawPoints:function(){var a=this.points,b=this.chart,c,e,d,f,g=this.options.marker,k,q,n,l,m=this[this.specialGroup]||this.markerGroup,r=J(g.enabled,this.xAxis.isRadial?!0:null,this.closestPointRangePx>=2*g.radius);if(!1!==g.enabled||this._hasPointMarkers)for(e=0;ed&&b.shadow));f&&(f.startX=c.xMap,f.isArea=c.isArea)})},applyZones:function(){var a= -this,b=this.chart,c=b.renderer,e=this.zones,d,f,g=this.clips||[],k,q=this.graph,n=this.area,l=Math.max(b.chartWidth,b.chartHeight),m=this[(this.zoneAxis||"y")+"Axis"],r,v,B=b.inverted,y,u,G,D,K=!1;e.length&&(q||n)&&m&&void 0!==m.min&&(v=m.reversed,y=m.horiz,q&&q.hide(),n&&n.hide(),r=m.getExtremes(),t(e,function(e,h){d=v?y?b.plotWidth:0:y?0:m.toPixels(r.min);d=Math.min(Math.max(J(f,d),0),l);f=Math.min(Math.max(Math.round(m.toPixels(J(e.value,r.max),!0)),0),l);K&&(d=f=m.toPixels(r.max));u=Math.abs(d- -f);G=Math.min(d,f);D=Math.max(d,f);m.isXAxis?(k={x:B?D:G,y:0,width:u,height:l},y||(k.x=b.plotHeight-k.x)):(k={x:0,y:B?D:G,width:l,height:u},y&&(k.y=b.plotWidth-k.y));B&&c.isVML&&(k=m.isXAxis?{x:0,y:v?G:D,height:k.width,width:b.chartWidth}:{x:k.y-b.plotLeft-b.spacingBox.x,y:0,width:k.height,height:b.chartHeight});g[h]?g[h].animate(k):(g[h]=c.clipRect(k),q&&a["zone-graph-"+h].clip(g[h]),n&&a["zone-area-"+h].clip(g[h]));K=e.value>r.max}),this.clips=g)},invertGroups:function(a){function b(){t(["group", -"markerGroup"],function(b){c[b]&&(e.renderer.isVML&&c[b].attr({width:c.yAxis.len,height:c.xAxis.len}),c[b].width=c.yAxis.len,c[b].height=c.xAxis.len,c[b].invert(a))})}var c=this,e=c.chart,d;c.xAxis&&(d=C(e,"resize",b),C(c,"destroy",d),b(a),c.invertGroups=b)},plotGroup:function(a,b,c,e,d){var h=this[a],f=!h;f&&(this[a]=h=this.chart.renderer.g().attr({zIndex:e||.1}).add(d));h.addClass("highcharts-"+b+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series highcharts-color-"+this.colorIndex+ -" "+(this.options.className||""),!0);h.attr({visibility:c})[f?"attr":"animate"](this.getPlotBox());return h},getPlotBox:function(){var a=this.chart,b=this.xAxis,c=this.yAxis;a.inverted&&(b=c,c=this.xAxis);return{translateX:b?b.left:a.plotLeft,translateY:c?c.top:a.plotTop,scaleX:1,scaleY:1}},render:function(){var a=this,b=a.chart,c,e=a.options,d=!!a.animate&&b.renderer.isSVG&&A(e.animation).duration,f=a.visible?"inherit":"hidden",g=e.zIndex,k=a.hasRendered,q=b.seriesGroup,n=b.inverted;c=a.plotGroup("group", -"series",f,g,q);a.markerGroup=a.plotGroup("markerGroup","markers",f,g,q);d&&a.animate(!0);c.inverted=a.isCartesian?n:!1;a.drawGraph&&(a.drawGraph(),a.applyZones());a.drawDataLabels&&a.drawDataLabels();a.visible&&a.drawPoints();a.drawTracker&&!1!==a.options.enableMouseTracking&&a.drawTracker();a.invertGroups(n);!1===e.clip||a.sharedClipKey||k||c.clip(b.clipRect);d&&a.animate();k||(a.animationTimeout=B(function(){a.afterAnimate()},d));a.isDirty=!1;a.hasRendered=!0},redraw:function(){var a=this.chart, -b=this.isDirty||this.isDirtyData,c=this.group,e=this.xAxis,d=this.yAxis;c&&(a.inverted&&c.attr({width:a.plotWidth,height:a.plotHeight}),c.animate({translateX:J(e&&e.left,a.plotLeft),translateY:J(d&&d.top,a.plotTop)}));this.translate();this.render();b&&delete this.kdTree},kdAxisArray:["clientX","plotY"],searchPoint:function(a,b){var c=this.xAxis,e=this.yAxis,d=this.chart.inverted;return this.searchKDTree({clientX:d?c.len-a.chartY+c.pos:a.chartX-c.pos,plotY:d?e.len-a.chartX+e.pos:a.chartY-e.pos},b)}, -buildKDTree:function(){function a(c,e,d){var h,f;if(f=c&&c.length)return h=b.kdAxisArray[e%d],c.sort(function(a,b){return a[h]-b[h]}),f=Math.floor(f/2),{point:c[f],left:a(c.slice(0,f),e+1,d),right:a(c.slice(f+1),e+1,d)}}this.buildingKdTree=!0;var b=this,c=-1q?"left":"right";l=0>q?"right":"left";b[n]&&(n=c(a,b[n],h+1,k),m=n[g]m;)n--; -this.updateParallelArrays(p,"splice",n,0,0);this.updateParallelArrays(p,n);h&&p.name&&(h[m]=p.name);k.splice(n,0,a);l&&(this.data.splice(n,0,null),this.processData());"point"===d.legendType&&this.generatePoints();c&&(f[0]&&f[0].remove?f[0].remove(!1):(f.shift(),this.updateParallelArrays(p,"shift"),k.shift()));this.isDirtyData=this.isDirty=!0;b&&g.redraw(e)},removePoint:function(a,b,e){var d=this,f=d.data,g=f[a],k=d.points,h=d.chart,l=function(){k&&k.length===f.length&&k.splice(a,1);f.splice(a,1); -d.options.data.splice(a,1);d.updateParallelArrays(g||{series:d},"splice",a,1);g&&g.destroy();d.isDirty=!0;d.isDirtyData=!0;b&&h.redraw()};c(e,h);b=y(b,!0);g?g.firePointEvent("remove",null,l):l()},remove:function(a,b,c){function e(){d.destroy();f.isDirtyLegend=f.isDirtyBox=!0;f.linkSeries();y(a,!0)&&f.redraw(b)}var d=this,f=d.chart;!1!==c?t(d,"remove",null,e):e()},update:function(a,b){var c=this,d=c.chart,f=c.userOptions,g=c.oldType||c.type,k=a.type||f.type||d.options.chart.type,h=J[g].prototype,n, -q=["group","markerGroup","dataLabelsGroup","navigatorSeries","baseSeries"],m=c.finishedAnimating&&{animation:!1};if(Object.keys&&"data"===Object.keys(a).toString())return this.setData(a.data,b);if(k&&k!==g||void 0!==a.zIndex)q.length=0;l(q,function(a){q[a]=c[a];delete c[a]});a=e(f,m,{index:c.index,pointStart:c.xData[0]},{data:c.options.data},a);c.remove(!1,null,!1);for(n in h)c[n]=void 0;u(c,J[k||g].prototype);l(q,function(a){c[a]=q[a]});c.init(d,a);c.oldType=g;d.linkSeries();y(b,!0)&&d.redraw(!1)}}); -u(F.prototype,{update:function(a,b){var c=this.chart;a=c.options[this.coll][this.options.index]=e(this.userOptions,a);this.destroy(!0);this.init(c,u(a,{events:void 0}));c.isDirtyBox=!0;y(b,!0)&&c.redraw()},remove:function(a){for(var c=this.chart,e=this.coll,d=this.series,f=d.length;f--;)d[f]&&d[f].remove(!1);r(c.axes,this);r(c[e],this);b(c.options[e])?c.options[e].splice(this.options.index,1):delete c.options[e];l(c[e],function(a,b){a.options.index=b});this.destroy();c.isDirtyBox=!0;y(a,!0)&&c.redraw()}, -setTitle:function(a,b){this.update({title:a},b)},setCategories:function(a,b){this.update({categories:a},b)}})})(M);(function(a){var C=a.color,A=a.each,F=a.map,E=a.pick,m=a.Series,f=a.seriesType;f("area","line",{softThreshold:!1,threshold:0},{singleStacks:!1,getStackPoints:function(f){var l=[],m=[],t=this.xAxis,g=this.yAxis,d=g.stacks[this.stackKey],k={},b=this.index,e=g.series,v=e.length,y,n=E(g.options.reversedStacks,!0)?1:-1,D;f=f||this.points;if(this.options.stacking){for(D=0;Da&&u>f?(u=Math.max(a,f),g=2*f-u):uE&&g>f?(g=Math.max(E,f),u=2*f-g):g=Math.abs(d)&&.5a.closestPointRange*a.xAxis.transA,b=a.borderWidth=l(f.borderWidth,b?0:1),e=a.yAxis, -m=a.translatedThreshold=e.getThreshold(f.threshold),t=l(f.minPointLength,5),n=a.getColumnMetrics(),u=n.width,A=a.barW=Math.max(u,1+2*b),c=a.pointXOffset=n.offset;d.inverted&&(m-=.5);f.pointPadding&&(A=Math.ceil(A));r.prototype.translate.apply(a);F(a.points,function(b){var f=l(b.yBottom,m),g=999+Math.abs(f),g=Math.min(Math.max(-g,b.plotY),e.len+g),k=b.plotX+c,n=A,r=Math.min(g,f),v,y=Math.max(g,f)-r;Math.abs(y)t?f-t:m-(v? -t:0));b.barX=k;b.pointWidth=u;b.tooltipPos=d.inverted?[e.len+e.pos-d.plotLeft-g,a.xAxis.len-k-n/2,y]:[k+n/2,g+e.pos-d.plotTop,y];b.shapeType="rect";b.shapeArgs=a.crispCol.apply(a,b.isNull?[k,m,n,0]:[k,r,n,y])})},getSymbol:a.noop,drawLegendSymbol:a.LegendSymbolMixin.drawRectangle,drawGraph:function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},pointAttribs:function(a,d){var g=this.options,b,e=this.pointAttrToOptions||{};b=e.stroke||"borderColor";var l=e["stroke-width"]|| -"borderWidth",m=a&&a.color||this.color,n=a[b]||g[b]||this.color||m,r=a[l]||g[l]||this[l]||0,e=g.dashStyle;a&&this.zones.length&&(m=a.getZone(),m=a.options.color||m&&m.color||this.color);d&&(a=f(g.states[d],a.options.states&&a.options.states[d]||{}),d=a.brightness,m=a.color||void 0!==d&&A(m).brighten(a.brightness).get()||m,n=a[b]||n,r=a[l]||r,e=a.dashStyle||e);b={fill:m,stroke:n,"stroke-width":r};e&&(b.dashstyle=e);return b},drawPoints:function(){var a=this,d=this.chart,k=a.options,b=d.renderer,e= -k.animationLimit||250,l;F(a.points,function(g){var n=g.graphic;if(m(g.plotY)&&null!==g.y){l=g.shapeArgs;if(n)n[d.pointCountu;++u)t=l[u],a=2>u||2===u&&/%$/.test(t),l[u]=A(t,[f,E,r,l[2]][u])+(a?m:0);l[3]>l[2]&&(l[3]=l[2]);return l}}})(M); -(function(a){var C=a.addEvent,A=a.defined,F=a.each,E=a.extend,m=a.inArray,f=a.noop,l=a.pick,r=a.Point,u=a.Series,t=a.seriesType,g=a.setAnimation;t("pie","line",{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},x:0},ignoreHiddenPoint:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,states:{hover:{brightness:.1, -shadow:!1}}},{isCartesian:!1,requireSorting:!1,directTouch:!0,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],axisTypes:[],pointAttribs:a.seriesTypes.column.prototype.pointAttribs,animate:function(a){var d=this,b=d.points,e=d.startAngleRad;a||(F(b,function(a){var b=a.graphic,f=a.shapeArgs;b&&(b.attr({r:a.startR||d.center[3]/2,start:e,end:e}),b.animate({r:f.r,start:f.start,end:f.end},d.options.animation))}),d.animate=null)},updateTotals:function(){var a,f=0,b=this.points,e=b.length,g, -l=this.options.ignoreHiddenPoint;for(a=0;a1.5*Math.PI?m-=2*Math.PI:m<-Math.PI/2&&(m+=2*Math.PI);z.slicedTranslation={translateX:Math.round(Math.cos(m)*e),translateY:Math.round(Math.sin(m)*e)};n=Math.cos(m)*a[2]/2;q=Math.sin(m)*a[2]/2;z.tooltipPos=[a[0]+.7*n,a[1]+.7*q];z.half=m<-Math.PI/2||m>Math.PI/2?1:0;z.angle=m;g=Math.min(f,z.labelDistance/5);z.labelPos=[a[0]+n+Math.cos(m)*z.labelDistance,a[1]+q+Math.sin(m)*z.labelDistance,a[0]+n+Math.cos(m)* -g,a[1]+q+Math.sin(m)*g,a[0]+n,a[1]+q,0>z.labelDistance?"center":z.half?"right":"left",m]}},drawGraph:null,drawPoints:function(){var a=this,f=a.chart.renderer,b,e,g,l,n=a.options.shadow;n&&!a.shadowGroup&&(a.shadowGroup=f.g("shadow").add(a.group));F(a.points,function(d){if(!d.isNull){e=d.graphic;l=d.shapeArgs;b=d.getTranslate();var k=d.shadowGroup;n&&!k&&(k=d.shadowGroup=f.g("shadow").add(a.shadowGroup));k&&k.attr(b);g=a.pointAttribs(d,d.selected&&"select");e?e.setRadialReference(a.center).attr(g).animate(E(l, -b)):(d.graphic=e=f[d.shapeType](l).setRadialReference(a.center).attr(b).add(a.group),d.visible||e.attr({visibility:"hidden"}),e.attr(g).attr({"stroke-linejoin":"round"}).shadow(n,k));e.addClass(d.getClassName())}})},searchPoint:f,sortByAngle:function(a,f){a.sort(function(a,e){return void 0!==a.angle&&(e.angle-a.angle)*f})},drawLegendSymbol:a.LegendSymbolMixin.drawRectangle,getCenter:a.CenteredSeriesMixin.getCenter,getSymbol:f},{init:function(){r.prototype.init.apply(this,arguments);var a=this,f;a.name= -l(a.name,"Slice");f=function(b){a.slice("select"===b.type)};C(a,"select",f);C(a,"unselect",f);return a},isValid:function(){return a.isNumber(this.y,!0)&&0<=this.y},setVisible:function(a,f){var b=this,e=b.series,d=e.chart,g=e.options.ignoreHiddenPoint;f=l(f,g);a!==b.visible&&(b.visible=b.options.visible=a=void 0===a?!b.visible:a,e.options.data[m(b,e.data)]=b.options,F(["graphic","dataLabel","connector","shadowGroup"],function(e){if(b[e])b[e][a?"show":"hide"](!0)}),b.legendItem&&d.legend.colorizeItem(b, -a),a||"hover"!==b.state||b.setState(""),g&&(e.isDirty=!0),f&&d.redraw())},slice:function(a,f,b){var e=this.series;g(b,e.chart);l(f,!0);this.sliced=this.options.sliced=A(a)?a:!this.sliced;e.options.data[m(this,e.data)]=this.options;this.graphic.animate(this.getTranslate());this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},getTranslate:function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},haloPath:function(a){var d=this.shapeArgs;return this.sliced||!this.visible? -[]:this.series.chart.renderer.symbols.arc(d.x,d.y,d.r+a,d.r+a,{innerR:this.shapeArgs.r,start:d.start,end:d.end})}})})(M);(function(a){var C=a.addEvent,A=a.arrayMax,F=a.defined,E=a.each,m=a.extend,f=a.format,l=a.map,r=a.merge,u=a.noop,t=a.pick,g=a.relativeLength,d=a.Series,k=a.seriesTypes,b=a.stableSort;a.distribute=function(a,d){function e(a,b){return a.target-b.target}var f,g=!0,k=a,c=[],m;m=0;for(f=a.length;f--;)m+=a[f].size;if(m>d){b(a,function(a,b){return(b.rank||0)-(a.rank||0)});for(m=f=0;m<= -d;)m+=a[f].size,f++;c=a.splice(f-1,a.length)}b(a,e);for(a=l(a,function(a){return{size:a.size,targets:[a.target]}});g;){for(f=a.length;f--;)g=a[f],m=(Math.min.apply(0,g.targets)+Math.max.apply(0,g.targets))/2,g.pos=Math.min(Math.max(0,m-g.size/2),d-g.size);f=a.length;for(g=!1;f--;)0a[f].pos&&(a[f-1].size+=a[f].size,a[f-1].targets=a[f-1].targets.concat(a[f].targets),a[f-1].pos+a[f-1].size>d&&(a[f-1].pos=d-a[f-1].size),a.splice(f,1),g=!0)}f=0;E(a,function(a){var b=0;E(a.targets, -function(){k[f].pos=a.pos+b;b+=k[f].size;f++})});k.push.apply(k,c);b(k,e)};d.prototype.drawDataLabels=function(){var b=this,d=b.options,g=d.dataLabels,k=b.points,l,m,c=b.hasRendered||0,u,q,B=t(g.defer,!!d.animation),A=b.chart.renderer;if(g.enabled||b._hasPointLabels)b.dlProcessOptions&&b.dlProcessOptions(g),q=b.plotGroup("dataLabelsGroup","data-labels",B&&!c?"hidden":"visible",g.zIndex||6),B&&(q.attr({opacity:+c}),c||C(b,"afterAnimate",function(){b.visible&&q.show(!0);q[d.animation?"animate":"attr"]({opacity:1}, -{duration:200})})),m=g,E(k,function(c){var e,k=c.dataLabel,n,h,p=c.connector,v=!k,B;l=c.dlOptions||c.options&&c.options.dataLabels;if(e=t(l&&l.enabled,m.enabled)&&null!==c.y)g=r(m,l),n=c.getLabelConfig(),u=g.format?f(g.format,n):g.formatter.call(n,g),B=g.style,n=g.rotation,B.color=t(g.color,B.color,b.color,"#000000"),"contrast"===B.color&&(c.contrastColor=A.getContrast(c.color||b.color),B.color=g.inside||0>t(c.labelDistance,g.distance)||d.stacking?c.contrastColor:"#000000"),d.cursor&&(B.cursor=d.cursor), -h={fill:g.backgroundColor,stroke:g.borderColor,"stroke-width":g.borderWidth,r:g.borderRadius||0,rotation:n,padding:g.padding,zIndex:1},a.objectEach(h,function(a,b){void 0===a&&delete h[b]});!k||e&&F(u)?e&&F(u)&&(k?h.text=u:(k=c.dataLabel=A[n?"text":"label"](u,0,-9999,g.shape,null,null,g.useHTML,null,"data-label"),k.addClass("highcharts-data-label-color-"+c.colorIndex+" "+(g.className||"")+(g.useHTML?"highcharts-tracker":""))),k.attr(h),k.css(B).shadow(g.shadow),k.added||k.add(q),b.alignDataLabel(c, -k,g,null,v)):(c.dataLabel=k=k.destroy(),p&&(c.connector=p.destroy()))})};d.prototype.alignDataLabel=function(a,b,d,f,g){var e=this.chart,c=e.inverted,k=t(a.plotX,-9999),l=t(a.plotY,-9999),n=b.getBBox(),r,p=d.rotation,v=d.align,u=this.visible&&(a.series.forceDL||e.isInsidePlot(k,Math.round(l),c)||f&&e.isInsidePlot(k,c?f.x+1:f.y+f.height-1,c)),y="justify"===t(d.overflow,"justify");if(u&&(r=d.style.fontSize,r=e.renderer.fontMetrics(r,b).b,f=m({x:c?this.yAxis.len-l:k,y:Math.round(c?this.xAxis.len-k:l), -width:0,height:0},f),m(d,{width:n.width,height:n.height}),p?(y=!1,k=e.renderer.rotCorr(r,p),k={x:f.x+d.x+f.width/2+k.x,y:f.y+d.y+{top:0,middle:.5,bottom:1}[d.verticalAlign]*f.height},b[g?"attr":"animate"](k).attr({align:v}),l=(p+720)%360,l=180l,"left"===v?k.y-=l?n.height:0:"center"===v?(k.x-=n.width/2,k.y-=n.height/2):"right"===v&&(k.x-=n.width,k.y-=l?0:n.height)):(b.align(d,null,f),k=b.alignAttr),y?a.isLabelJustified=this.justifyDataLabel(b,d,k,n,f,g):t(d.crop,!0)&&(u=e.isInsidePlot(k.x, -k.y)&&e.isInsidePlot(k.x+n.width,k.y+n.height)),d.shape&&!p))b[g?"attr":"animate"]({anchorX:c?e.plotWidth-a.plotY:a.plotX,anchorY:c?e.plotHeight-a.plotX:a.plotY});u||(b.attr({y:-9999}),b.placed=!1)};d.prototype.justifyDataLabel=function(a,b,d,f,g,k){var c=this.chart,e=b.align,l=b.verticalAlign,m,n,p=a.box?0:a.padding||0;m=d.x+p;0>m&&("right"===e?b.align="left":b.x=-m,n=!0);m=d.x+f.width-p;m>c.plotWidth&&("left"===e?b.align="right":b.x=c.plotWidth-m,n=!0);m=d.y+p;0>m&&("bottom"===l?b.verticalAlign= -"top":b.y=-m,n=!0);m=d.y+f.height-p;m>c.plotHeight&&("top"===l?b.verticalAlign="bottom":b.y=c.plotHeight-m,n=!0);n&&(a.placed=!k,a.align(b,null,g));return n};k.pie&&(k.pie.prototype.drawDataLabels=function(){var b=this,f=b.data,g,k=b.chart,l=b.options.dataLabels,m=t(l.connectorPadding,10),c=t(l.connectorWidth,1),r=k.plotWidth,q=k.plotHeight,u,C=b.center,p=C[2]/2,z=C[1],I,L,h,w,M=[[],[]],H,O,Q,R,x=[0,0,0,0];b.visible&&(l.enabled||b._hasPointLabels)&&(E(f,function(a){a.dataLabel&&a.visible&&a.dataLabel.shortened&& -(a.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),a.dataLabel.shortened=!1)}),d.prototype.drawDataLabels.apply(b),E(f,function(a){a.dataLabel&&a.visible&&(M[a.half].push(a),a.dataLabel._pos=null)}),E(M,function(c,d){var e,f,n=c.length,v=[],u;if(n)for(b.sortByAngle(c,d-.5),0g.bottom-2?e:O,d,g),I._attr={visibility:Q,align:h[6]}, -I._pos={x:H+l.x+({left:m,right:-m}[h[6]]||0),y:O+l.y-10},h.x=H,h.y=O,t(l.crop,!0)&&(L=I.getBBox().width,e=null,H-Lr-m&&(e=Math.round(H+L-r+m),x[1]=Math.max(e,x[1])),0>O-w/2?x[0]=Math.max(Math.round(-O+w/2),x[0]):O+w/2>q&&(x[2]=Math.max(Math.round(O+w/2-q),x[2])),I.sideOverflow=e)}),0===A(x)||this.verifyDataLabelOverflow(x))&&(this.placeDataLabels(),c&&E(this.points,function(a){var e;u=a.connector;if((I=a.dataLabel)&&I._pos&&a.visible&&0t(this.translatedThreshold,c.yAxis.len)),n=t(f.inside,!!this.options.stacking);l&&(g=r(l),0>g.y&&(g.height+=g.y,g.y=0),l=g.y+g.height-c.yAxis.len,0a+d||e+gb+c||f+kthis.pointCount))},pan:function(a,b){var c=this,d=c.hoverPoints,e;d&&l(d,function(a){a.setState()});l("xy"===b?[1,0]:[1],function(b){b=c[b?"xAxis":"yAxis"][0];var d=b.horiz,f=a[d?"chartX":"chartY"],d=d?"mouseDownX":"mouseDownY",g=c[d],h=(b.pointRange||0)/2,k=b.getExtremes(),l=b.toValue(g-f,!0)+h,h=b.toValue(g+ -b.len-f,!0)-h,m=h=f(m.minWidth,0)&&this.chartHeight>=f(m.minHeight,0)}).call(this)&& -l.push(a._id)};C.prototype.currentOptions=function(f){function r(f,d,k,b){var e;a.objectEach(f,function(a,g){if(!b&&-1 - /// Perform an asynchronous HTTP (Ajax) request. - /// A string containing the URL to which the request is sent. - /// A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup(). See jQuery.ajax( settings ) below for a complete list of all settings. - /// - /// - /// - /// Perform an asynchronous HTTP (Ajax) request. - /// A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup(). - /// - /// - }, - 'ajaxPrefilter': function() { - /// - /// Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax(). - /// An optional string containing one or more space-separated dataTypes - /// A handler to set default values for future Ajax requests. - /// - }, - 'ajaxSetup': function() { - /// - /// Set default values for future Ajax requests. - /// A set of key/value pairs that configure the default Ajax request. All options are optional. - /// - }, - 'boxModel': function() { - /// Deprecated in jQuery 1.3 (see jQuery.support). States if the current page, in the user's browser, is being rendered using the W3C CSS Box Model. - /// - }, - 'browser': function() { - /// Contains flags for the useragent, read from navigator.userAgent. We recommend against using this property; please try to use feature detection instead (see jQuery.support). jQuery.browser may be moved to a plugin in a future release of jQuery. - /// - }, - 'browser.version': function() { - /// The version number of the rendering engine for the user's browser. - /// - }, - 'Callbacks': function() { - /// - /// A multi-purpose callbacks list object that provides a powerful way to manage callback lists. - /// An optional list of space-separated flags that change how the callback list behaves. - /// - }, - 'contains': function() { - /// - /// Check to see if a DOM element is within another DOM element. - /// The DOM element that may contain the other element. - /// The DOM element that may be contained by the other element. - /// - /// - }, - 'cssHooks': function() { - /// Hook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties. - /// - }, - 'data': function() { - /// - /// Returns value at named data store for the element, as set by jQuery.data(element, name, value), or the full data store for the element. - /// The DOM element to query for the data. - /// Name of the data stored. - /// - /// - /// - /// Returns value at named data store for the element, as set by jQuery.data(element, name, value), or the full data store for the element. - /// The DOM element to query for the data. - /// - /// - }, - 'dequeue': function() { - /// - /// Execute the next function on the queue for the matched element. - /// A DOM element from which to remove and execute a queued function. - /// A string containing the name of the queue. Defaults to fx, the standard effects queue. - /// - /// - }, - 'each': function() { - /// - /// A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function's arguments object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties. - /// The object or array to iterate over. - /// The function that will be executed on every object. - /// - /// - }, - 'error': function() { - /// - /// Takes a string and throws an exception containing it. - /// The message to send out. - /// - }, - 'extend': function() { - /// - /// Merge the contents of two or more objects together into the first object. - /// An object that will receive the new properties if additional objects are passed in or that will extend the jQuery namespace if it is the sole argument. - /// An object containing additional properties to merge in. - /// Additional objects containing properties to merge in. - /// - /// - /// - /// Merge the contents of two or more objects together into the first object. - /// If true, the merge becomes recursive (aka. deep copy). - /// The object to extend. It will receive the new properties. - /// An object containing additional properties to merge in. - /// Additional objects containing properties to merge in. - /// - /// - }, - 'get': function() { - /// - /// Load data from the server using a HTTP GET request. - /// A string containing the URL to which the request is sent. - /// A map or string that is sent to the server with the request. - /// A callback function that is executed if the request succeeds. - /// The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). - /// - /// - }, - 'getJSON': function() { - /// - /// Load JSON-encoded data from the server using a GET HTTP request. - /// A string containing the URL to which the request is sent. - /// A map or string that is sent to the server with the request. - /// A callback function that is executed if the request succeeds. - /// - /// - }, - 'getScript': function() { - /// - /// Load a JavaScript file from the server using a GET HTTP request, then execute it. - /// A string containing the URL to which the request is sent. - /// A callback function that is executed if the request succeeds. - /// - /// - }, - 'globalEval': function() { - /// - /// Execute some JavaScript code globally. - /// The JavaScript code to execute. - /// - }, - 'grep': function() { - /// - /// Finds the elements of an array which satisfy a filter function. The original array is not affected. - /// The array to search through. - /// The function to process each item against. The first argument to the function is the item, and the second argument is the index. The function should return a Boolean value. this will be the global window object. - /// If "invert" is false, or not provided, then the function returns an array consisting of all elements for which "callback" returns true. If "invert" is true, then the function returns an array consisting of all elements for which "callback" returns false. - /// - /// - }, - 'hasData': function() { - /// - /// Determine whether an element has any jQuery data associated with it. - /// A DOM element to be checked for data. - /// - /// - }, - 'holdReady': function() { - /// - /// Holds or releases the execution of jQuery's ready event. - /// Indicates whether the ready hold is being requested or released - /// - }, - 'inArray': function() { - /// - /// Search for a specified value within an array and return its index (or -1 if not found). - /// The value to search for. - /// An array through which to search. - /// The index of the array at which to begin the search. The default is 0, which will search the whole array. - /// - /// - }, - 'isArray': function() { - /// - /// Determine whether the argument is an array. - /// Object to test whether or not it is an array. - /// - /// - }, - 'isEmptyObject': function() { - /// - /// Check to see if an object is empty (contains no properties). - /// The object that will be checked to see if it's empty. - /// - /// - }, - 'isFunction': function() { - /// - /// Determine if the argument passed is a Javascript function object. - /// Object to test whether or not it is a function. - /// - /// - }, - 'isNumeric': function() { - /// - /// Determines whether its argument is a number. - /// The value to be tested. - /// - /// - }, - 'isPlainObject': function() { - /// - /// Check to see if an object is a plain object (created using "{}" or "new Object"). - /// The object that will be checked to see if it's a plain object. - /// - /// - }, - 'isWindow': function() { - /// - /// Determine whether the argument is a window. - /// Object to test whether or not it is a window. - /// - /// - }, - 'isXMLDoc': function() { - /// - /// Check to see if a DOM node is within an XML document (or is an XML document). - /// The DOM node that will be checked to see if it's in an XML document. - /// - /// - }, - 'makeArray': function() { - /// - /// Convert an array-like object into a true JavaScript array. - /// Any object to turn into a native Array. - /// - /// - }, - 'map': function() { - /// - /// Translate all items in an array or object to new array of items. - /// The Array to translate. - /// The function to process each item against. The first argument to the function is the array item, the second argument is the index in array The function can return any value. Within the function, this refers to the global (window) object. - /// - /// - /// - /// Translate all items in an array or object to new array of items. - /// The Array or Object to translate. - /// The function to process each item against. The first argument to the function is the value; the second argument is the index or key of the array or object property. The function can return any value to add to the array. A returned array will be flattened into the resulting array. Within the function, this refers to the global (window) object. - /// - /// - }, - 'merge': function() { - /// - /// Merge the contents of two arrays together into the first array. - /// The first array to merge, the elements of second added. - /// The second array to merge into the first, unaltered. - /// - /// - }, - 'noConflict': function() { - /// - /// Relinquish jQuery's control of the $ variable. - /// A Boolean indicating whether to remove all jQuery variables from the global scope (including jQuery itself). - /// - /// - }, - 'noop': function() { - /// An empty function. - /// - }, - 'now': function() { - /// Return a number representing the current time. - /// - }, - 'param': function() { - /// - /// Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request. - /// An array or object to serialize. - /// - /// - /// - /// Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request. - /// An array or object to serialize. - /// A Boolean indicating whether to perform a traditional "shallow" serialization. - /// - /// - }, - 'parseJSON': function() { - /// - /// Takes a well-formed JSON string and returns the resulting JavaScript object. - /// The JSON string to parse. - /// - /// - }, - 'parseXML': function() { - /// - /// Parses a string into an XML document. - /// a well-formed XML string to be parsed - /// - /// - }, - 'post': function() { - /// - /// Load data from the server using a HTTP POST request. - /// A string containing the URL to which the request is sent. - /// A map or string that is sent to the server with the request. - /// A callback function that is executed if the request succeeds. - /// The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). - /// - /// - }, - 'proxy': function() { - /// - /// Takes a function and returns a new one that will always have a particular context. - /// The function whose context will be changed. - /// The object to which the context (this) of the function should be set. - /// - /// - /// - /// Takes a function and returns a new one that will always have a particular context. - /// The object to which the context of the function should be set. - /// The name of the function whose context will be changed (should be a property of the context object). - /// - /// - }, - 'queue': function() { - /// - /// Manipulate the queue of functions to be executed on the matched element. - /// A DOM element where the array of queued functions is attached. - /// A string containing the name of the queue. Defaults to fx, the standard effects queue. - /// An array of functions to replace the current queue contents. - /// - /// - /// - /// Manipulate the queue of functions to be executed on the matched element. - /// A DOM element on which to add a queued function. - /// A string containing the name of the queue. Defaults to fx, the standard effects queue. - /// The new function to add to the queue. - /// - /// - }, - 'removeData': function() { - /// - /// Remove a previously-stored piece of data. - /// A DOM element from which to remove data. - /// A string naming the piece of data to remove. - /// - /// - }, - 'sub': function() { - /// Creates a new copy of jQuery whose properties and methods can be modified without affecting the original jQuery object. - /// - }, - 'support': function() { - /// A collection of properties that represent the presence of different browser features or bugs. Primarily intended for jQuery's internal use; specific properties may be removed when they are no longer needed internally to improve page startup performance. - /// - }, - 'trim': function() { - /// - /// Remove the whitespace from the beginning and end of a string. - /// The string to trim. - /// - /// - }, - 'type': function() { - /// - /// Determine the internal JavaScript [[Class]] of an object. - /// Object to get the internal JavaScript [[Class]] of. - /// - /// - }, - 'unique': function() { - /// - /// Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on arrays of DOM elements, not strings or numbers. - /// The Array of DOM elements. - /// - /// - }, - 'when': function() { - /// - /// Provides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events. - /// One or more Deferred objects, or plain JavaScript objects. - /// - /// - }, -}); - -var _1228819969 = jQuery.Callbacks; -jQuery.Callbacks = function(flags) { -var _object = _1228819969(flags); -intellisense.annotate(_object, { - 'add': function() { - /// - /// Add a callback or a collection of callbacks to a callback list. - /// A function, or array of functions, that are to be added to the callback list. - /// - }, - 'disable': function() { - /// Disable a callback list from doing anything more. - }, - 'empty': function() { - /// Remove all of the callbacks from a list. - }, - 'fire': function() { - /// - /// Call all of the callbacks with the given arguments - /// The argument or list of arguments to pass back to the callback list. - /// - }, - 'fired': function() { - /// Determine if the callbacks have already been called at least once. - /// - }, - 'fireWith': function() { - /// - /// Call all callbacks in a list with the given context and arguments. - /// A reference to the context in which the callbacks in the list should be fired. - /// An argument, or array of arguments, to pass to the callbacks in the list. - /// - }, - 'has': function() { - /// - /// Determine whether a supplied callback is in a list - /// The callback to search for. - /// - /// - }, - 'lock': function() { - /// Lock a callback list in its current state. - }, - 'locked': function() { - /// Determine if the callbacks list has been locked. - /// - }, - 'remove': function() { - /// - /// Remove a callback or a collection of callbacks from a callback list. - /// A function, or array of functions, that are to be removed from the callback list. - /// - }, -}); - -return _object; -}; - -var _731531622 = jQuery.Deferred; -jQuery.Deferred = function(func) { -var _object = _731531622(func); -intellisense.annotate(_object, { - 'always': function() { - /// - /// Add handlers to be called when the Deferred object is either resolved or rejected. - /// A function, or array of functions, that is called when the Deferred is resolved or rejected. - /// Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - /// - /// - }, - 'done': function() { - /// - /// Add handlers to be called when the Deferred object is resolved. - /// A function, or array of functions, that are called when the Deferred is resolved. - /// Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - /// - /// - }, - 'fail': function() { - /// - /// Add handlers to be called when the Deferred object is rejected. - /// A function, or array of functions, that are called when the Deferred is rejected. - /// Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - /// - /// - }, - 'isRejected': function() { - /// Determine whether a Deferred object has been rejected. - /// - }, - 'isResolved': function() { - /// Determine whether a Deferred object has been resolved. - /// - }, - 'notify': function() { - /// - /// Call the progressCallbacks on a Deferred object with the given args. - /// Optional arguments that are passed to the progressCallbacks. - /// - /// - }, - 'notifyWith': function() { - /// - /// Call the progressCallbacks on a Deferred object with the given context and args. - /// Context passed to the progressCallbacks as the this object. - /// Optional arguments that are passed to the progressCallbacks. - /// - /// - }, - 'pipe': function() { - /// - /// Utility method to filter and/or chain Deferreds. - /// An optional function that is called when the Deferred is resolved. - /// An optional function that is called when the Deferred is rejected. - /// - /// - /// - /// Utility method to filter and/or chain Deferreds. - /// An optional function that is called when the Deferred is resolved. - /// An optional function that is called when the Deferred is rejected. - /// An optional function that is called when progress notifications are sent to the Deferred. - /// - /// - }, - 'progress': function() { - /// - /// Add handlers to be called when the Deferred object generates progress notifications. - /// A function, or array of functions, that is called when the Deferred generates progress notifications. - /// - /// - }, - 'promise': function() { - /// - /// Return a Deferred's Promise object. - /// Object onto which the promise methods have to be attached - /// - /// - }, - 'reject': function() { - /// - /// Reject a Deferred object and call any failCallbacks with the given args. - /// Optional arguments that are passed to the failCallbacks. - /// - /// - }, - 'rejectWith': function() { - /// - /// Reject a Deferred object and call any failCallbacks with the given context and args. - /// Context passed to the failCallbacks as the this object. - /// An optional array of arguments that are passed to the failCallbacks. - /// - /// - }, - 'resolve': function() { - /// - /// Resolve a Deferred object and call any doneCallbacks with the given args. - /// Optional arguments that are passed to the doneCallbacks. - /// - /// - }, - 'resolveWith': function() { - /// - /// Resolve a Deferred object and call any doneCallbacks with the given context and args. - /// Context passed to the doneCallbacks as the this object. - /// An optional array of arguments that are passed to the doneCallbacks. - /// - /// - }, - 'state': function() { - /// Determine the current state of a Deferred object. - /// - }, - 'then': function() { - /// - /// Add handlers to be called when the Deferred object is resolved or rejected. - /// A function, or array of functions, called when the Deferred is resolved. - /// A function, or array of functions, called when the Deferred is rejected. - /// - /// - /// - /// Add handlers to be called when the Deferred object is resolved or rejected. - /// A function, or array of functions, called when the Deferred is resolved. - /// A function, or array of functions, called when the Deferred is rejected. - /// A function, or array of functions, called when the Deferred notifies progress. - /// - /// - }, -}); - -return _object; -}; - -intellisense.annotate(jQuery.Event.prototype, { - 'currentTarget': function() { - /// The current DOM element within the event bubbling phase. - /// - }, - 'data': function() { - /// An optional data map passed to an event method when the current executing handler is bound. - }, - 'delegateTarget': function() { - /// The element where the currently-called jQuery event handler was attached. - /// - }, - 'isDefaultPrevented': function() { - /// Returns whether event.preventDefault() was ever called on this event object. - /// - }, - 'isImmediatePropagationStopped': function() { - /// Returns whether event.stopImmediatePropagation() was ever called on this event object. - /// - }, - 'isPropagationStopped': function() { - /// Returns whether event.stopPropagation() was ever called on this event object. - /// - }, - 'namespace': function() { - /// The namespace specified when the event was triggered. - /// - }, - 'pageX': function() { - /// The mouse position relative to the left edge of the document. - /// - }, - 'pageY': function() { - /// The mouse position relative to the top edge of the document. - /// - }, - 'preventDefault': function() { - /// If this method is called, the default action of the event will not be triggered. - }, - 'relatedTarget': function() { - /// The other DOM element involved in the event, if any. - /// - }, - 'result': function() { - /// The last value returned by an event handler that was triggered by this event, unless the value was undefined. - /// - }, - 'stopImmediatePropagation': function() { - /// Keeps the rest of the handlers from being executed and prevents the event from bubbling up the DOM tree. - }, - 'stopPropagation': function() { - /// Prevents the event from bubbling up the DOM tree, preventing any parent handlers from being notified of the event. - }, - 'target': function() { - /// The DOM element that initiated the event. - /// - }, - 'timeStamp': function() { - /// The difference in milliseconds between the time the browser created the event and January 1, 1970. - /// - }, - 'type': function() { - /// Describes the nature of the event. - /// - }, - 'which': function() { - /// For key or mouse events, this property indicates the specific key or button that was pressed. - /// - }, -}); - -intellisense.annotate(jQuery.fn, { - 'add': function() { - /// - /// Add elements to the set of matched elements. - /// A string representing a selector expression to find additional elements to add to the set of matched elements. - /// - /// - /// - /// Add elements to the set of matched elements. - /// One or more elements to add to the set of matched elements. - /// - /// - /// - /// Add elements to the set of matched elements. - /// An HTML fragment to add to the set of matched elements. - /// - /// - /// - /// Add elements to the set of matched elements. - /// An existing jQuery object to add to the set of matched elements. - /// - /// - /// - /// Add elements to the set of matched elements. - /// A string representing a selector expression to find additional elements to add to the set of matched elements. - /// The point in the document at which the selector should begin matching; similar to the context argument of the $(selector, context) method. - /// - /// - }, - 'addClass': function() { - /// - /// Adds the specified class(es) to each of the set of matched elements. - /// One or more class names to be added to the class attribute of each matched element. - /// - /// - /// - /// Adds the specified class(es) to each of the set of matched elements. - /// A function returning one or more space-separated class names to be added to the existing class name(s). Receives the index position of the element in the set and the existing class name(s) as arguments. Within the function, this refers to the current element in the set. - /// - /// - }, - 'after': function() { - /// - /// Insert content, specified by the parameter, after each element in the set of matched elements. - /// HTML string, DOM element, or jQuery object to insert after each element in the set of matched elements. - /// One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements. - /// - /// - /// - /// Insert content, specified by the parameter, after each element in the set of matched elements. - /// A function that returns an HTML string, DOM element(s), or jQuery object to insert after each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set. - /// - /// - }, - 'ajaxComplete': function() { - /// - /// Register a handler to be called when Ajax requests complete. This is an Ajax Event. - /// The function to be invoked. - /// - /// - }, - 'ajaxError': function() { - /// - /// Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event. - /// The function to be invoked. - /// - /// - }, - 'ajaxSend': function() { - /// - /// Attach a function to be executed before an Ajax request is sent. This is an Ajax Event. - /// The function to be invoked. - /// - /// - }, - 'ajaxStart': function() { - /// - /// Register a handler to be called when the first Ajax request begins. This is an Ajax Event. - /// The function to be invoked. - /// - /// - }, - 'ajaxStop': function() { - /// - /// Register a handler to be called when all Ajax requests have completed. This is an Ajax Event. - /// The function to be invoked. - /// - /// - }, - 'ajaxSuccess': function() { - /// - /// Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event. - /// The function to be invoked. - /// - /// - }, - 'all': function() { - /// Selects all elements. - }, - 'andSelf': function() { - /// Add the previous set of elements on the stack to the current set. - /// - }, - 'animate': function() { - /// - /// Perform a custom animation of a set of CSS properties. - /// A map of CSS properties that the animation will move toward. - /// A string or number determining how long the animation will run. - /// A string indicating which easing function to use for the transition. - /// A function to call once the animation is complete. - /// - /// - /// - /// Perform a custom animation of a set of CSS properties. - /// A map of CSS properties that the animation will move toward. - /// A map of additional options to pass to the method. Supported keys: duration: A string or number determining how long the animation will run.easing: A string indicating which easing function to use for the transition.complete: A function to call once the animation is complete.step: A function to be called after each step of the animation.queue: A Boolean indicating whether to place the animation in the effects queue. If false, the animation will begin immediately. As of jQuery 1.7, the queue option can also accept a string, in which case the animation is added to the queue represented by that string.specialEasing: A map of one or more of the CSS properties defined by the properties argument and their corresponding easing functions (added 1.4). - /// - /// - }, - 'animated': function() { - /// Select all elements that are in the progress of an animation at the time the selector is run. - }, - 'append': function() { - /// - /// Insert content, specified by the parameter, to the end of each element in the set of matched elements. - /// DOM element, HTML string, or jQuery object to insert at the end of each element in the set of matched elements. - /// One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements. - /// - /// - /// - /// Insert content, specified by the parameter, to the end of each element in the set of matched elements. - /// A function that returns an HTML string, DOM element(s), or jQuery object to insert at the end of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set. - /// - /// - }, - 'appendTo': function() { - /// - /// Insert every element in the set of matched elements to the end of the target. - /// A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter. - /// - /// - }, - 'attr': function() { - /// - /// Set one or more attributes for the set of matched elements. - /// The name of the attribute to set. - /// A value to set for the attribute. - /// - /// - /// - /// Set one or more attributes for the set of matched elements. - /// A map of attribute-value pairs to set. - /// - /// - /// - /// Set one or more attributes for the set of matched elements. - /// The name of the attribute to set. - /// A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old attribute value as arguments. - /// - /// - }, - 'attributeContains': function() { - /// - /// Selects elements that have the specified attribute with a value containing the a given substring. - /// An attribute name. - /// An attribute value. Can be either an unquoted single word or a quoted string. - /// - }, - 'attributeContainsPrefix': function() { - /// - /// Selects elements that have the specified attribute with a value either equal to a given string or starting with that string followed by a hyphen (-). - /// An attribute name. - /// An attribute value. Can be either an unquoted single word or a quoted string. - /// - }, - 'attributeContainsWord': function() { - /// - /// Selects elements that have the specified attribute with a value containing a given word, delimited by spaces. - /// An attribute name. - /// An attribute value. Can be either an unquoted single word or a quoted string. - /// - }, - 'attributeEndsWith': function() { - /// - /// Selects elements that have the specified attribute with a value ending exactly with a given string. The comparison is case sensitive. - /// An attribute name. - /// An attribute value. Can be either an unquoted single word or a quoted string. - /// - }, - 'attributeEquals': function() { - /// - /// Selects elements that have the specified attribute with a value exactly equal to a certain value. - /// An attribute name. - /// An attribute value. Can be either an unquoted single word or a quoted string. - /// - }, - 'attributeHas': function() { - /// - /// Selects elements that have the specified attribute, with any value. - /// An attribute name. - /// - }, - 'attributeMultiple': function() { - /// - /// Matches elements that match all of the specified attribute filters. - /// An attribute filter. - /// Another attribute filter, reducing the selection even more - /// As many more attribute filters as necessary - /// - }, - 'attributeNotEqual': function() { - /// - /// Select elements that either don't have the specified attribute, or do have the specified attribute but not with a certain value. - /// An attribute name. - /// An attribute value. Can be either an unquoted single word or a quoted string. - /// - }, - 'attributeStartsWith': function() { - /// - /// Selects elements that have the specified attribute with a value beginning exactly with a given string. - /// An attribute name. - /// An attribute value. Can be either an unquoted single word or a quoted string. - /// - }, - 'before': function() { - /// - /// Insert content, specified by the parameter, before each element in the set of matched elements. - /// HTML string, DOM element, or jQuery object to insert before each element in the set of matched elements. - /// One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert before each element in the set of matched elements. - /// - /// - /// - /// Insert content, specified by the parameter, before each element in the set of matched elements. - /// A function that returns an HTML string, DOM element(s), or jQuery object to insert before each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set. - /// - /// - }, - 'bind': function() { - /// - /// Attach a handler to an event for the elements. - /// A string containing one or more DOM event types, such as "click" or "submit," or custom event names. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Attach a handler to an event for the elements. - /// A string containing one or more DOM event types, such as "click" or "submit," or custom event names. - /// A map of data that will be passed to the event handler. - /// Setting the third argument to false will attach a function that prevents the default action from occurring and stops the event from bubbling. The default is true. - /// - /// - /// - /// Attach a handler to an event for the elements. - /// A map of one or more DOM event types and functions to execute for them. - /// - /// - }, - 'blur': function() { - /// - /// Bind an event handler to the "blur" JavaScript event, or trigger that event on an element. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to the "blur" JavaScript event, or trigger that event on an element. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'button': function() { - /// Selects all button elements and elements of type button. - }, - 'change': function() { - /// - /// Bind an event handler to the "change" JavaScript event, or trigger that event on an element. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to the "change" JavaScript event, or trigger that event on an element. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'checkbox': function() { - /// Selects all elements of type checkbox. - }, - 'checked': function() { - /// Matches all elements that are checked. - }, - 'child': function() { - /// - /// Selects all direct child elements specified by "child" of elements specified by "parent". - /// Any valid selector. - /// A selector to filter the child elements. - /// - }, - 'children': function() { - /// - /// Get the children of each element in the set of matched elements, optionally filtered by a selector. - /// A string containing a selector expression to match elements against. - /// - /// - }, - 'class': function() { - /// - /// Selects all elements with the given class. - /// A class to search for. An element can have multiple classes; only one of them must match. - /// - }, - 'clearQueue': function() { - /// - /// Remove from the queue all items that have not yet been run. - /// A string containing the name of the queue. Defaults to fx, the standard effects queue. - /// - /// - }, - 'click': function() { - /// - /// Bind an event handler to the "click" JavaScript event, or trigger that event on an element. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to the "click" JavaScript event, or trigger that event on an element. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'clone': function() { - /// - /// Create a deep copy of the set of matched elements. - /// A Boolean indicating whether event handlers should be copied along with the elements. As of jQuery 1.4, element data will be copied as well. - /// - /// - /// - /// Create a deep copy of the set of matched elements. - /// A Boolean indicating whether event handlers and data should be copied along with the elements. The default value is false. *In jQuery 1.5.0 the default value was incorrectly true; it was changed back to false in 1.5.1 and up. - /// A Boolean indicating whether event handlers and data for all children of the cloned element should be copied. By default its value matches the first argument's value (which defaults to false). - /// - /// - }, - 'closest': function() { - /// - /// Get the first element that matches the selector, beginning at the current element and progressing up through the DOM tree. - /// A string containing a selector expression to match elements against. - /// - /// - /// - /// Get the first element that matches the selector, beginning at the current element and progressing up through the DOM tree. - /// A string containing a selector expression to match elements against. - /// A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead. - /// - /// - /// - /// Get the first element that matches the selector, beginning at the current element and progressing up through the DOM tree. - /// A jQuery object to match elements against. - /// - /// - /// - /// Get the first element that matches the selector, beginning at the current element and progressing up through the DOM tree. - /// An element to match elements against. - /// - /// - }, - 'contains': function() { - /// - /// Select all elements that contain the specified text. - /// A string of text to look for. It's case sensitive. - /// - }, - 'contents': function() { - /// Get the children of each element in the set of matched elements, including text and comment nodes. - /// - }, - 'context': function() { - /// The DOM node context originally passed to jQuery(); if none was passed then context will likely be the document. - /// - }, - 'css': function() { - /// - /// Set one or more CSS properties for the set of matched elements. - /// A CSS property name. - /// A value to set for the property. - /// - /// - /// - /// Set one or more CSS properties for the set of matched elements. - /// A CSS property name. - /// A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments. - /// - /// - /// - /// Set one or more CSS properties for the set of matched elements. - /// A map of property-value pairs to set. - /// - /// - }, - 'data': function() { - /// - /// Store arbitrary data associated with the matched elements. - /// A string naming the piece of data to set. - /// The new data value; it can be any Javascript type including Array or Object. - /// - /// - /// - /// Store arbitrary data associated with the matched elements. - /// An object of key-value pairs of data to update. - /// - /// - }, - 'dblclick': function() { - /// - /// Bind an event handler to the "dblclick" JavaScript event, or trigger that event on an element. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to the "dblclick" JavaScript event, or trigger that event on an element. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'delay': function() { - /// - /// Set a timer to delay execution of subsequent items in the queue. - /// An integer indicating the number of milliseconds to delay execution of the next item in the queue. - /// A string containing the name of the queue. Defaults to fx, the standard effects queue. - /// - /// - }, - 'delegate': function() { - /// - /// Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements. - /// A selector to filter the elements that trigger the event. - /// A string containing one or more space-separated JavaScript event types, such as "click" or "keydown," or custom event names. - /// A function to execute at the time the event is triggered. - /// - /// - /// - /// Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements. - /// A selector to filter the elements that trigger the event. - /// A string containing one or more space-separated JavaScript event types, such as "click" or "keydown," or custom event names. - /// A map of data that will be passed to the event handler. - /// A function to execute at the time the event is triggered. - /// - /// - /// - /// Attach a handler to one or more events for all elements that match the selector, now or in the future, based on a specific set of root elements. - /// A selector to filter the elements that trigger the event. - /// A map of one or more event types and functions to execute for them. - /// - /// - }, - 'dequeue': function() { - /// - /// Execute the next function on the queue for the matched elements. - /// A string containing the name of the queue. Defaults to fx, the standard effects queue. - /// - /// - }, - 'descendant': function() { - /// - /// Selects all elements that are descendants of a given ancestor. - /// Any valid selector. - /// A selector to filter the descendant elements. - /// - }, - 'detach': function() { - /// - /// Remove the set of matched elements from the DOM. - /// A selector expression that filters the set of matched elements to be removed. - /// - /// - }, - 'die': function() { - /// - /// Remove an event handler previously attached using .live() from the elements. - /// A string containing a JavaScript event type, such as click or keydown. - /// The function that is no longer to be executed. - /// - /// - /// - /// Remove an event handler previously attached using .live() from the elements. - /// A map of one or more event types, such as click or keydown and their corresponding functions that are no longer to be executed. - /// - /// - }, - 'disabled': function() { - /// Selects all elements that are disabled. - }, - 'each': function() { - /// - /// Iterate over a jQuery object, executing a function for each matched element. - /// A function to execute for each matched element. - /// - /// - }, - 'element': function() { - /// - /// Selects all elements with the given tag name. - /// An element to search for. Refers to the tagName of DOM nodes. - /// - }, - 'empty': function() { - /// Select all elements that have no children (including text nodes). - }, - 'enabled': function() { - /// Selects all elements that are enabled. - }, - 'end': function() { - /// End the most recent filtering operation in the current chain and return the set of matched elements to its previous state. - /// - }, - 'eq': function() { - /// - /// Reduce the set of matched elements to the one at the specified index. - /// An integer indicating the 0-based position of the element. - /// - /// - /// - /// Reduce the set of matched elements to the one at the specified index. - /// An integer indicating the position of the element, counting backwards from the last element in the set. - /// - /// - }, - 'error': function() { - /// - /// Bind an event handler to the "error" JavaScript event. - /// A function to execute when the event is triggered. - /// - /// - /// - /// Bind an event handler to the "error" JavaScript event. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'even': function() { - /// Selects even elements, zero-indexed. See also odd. - }, - 'fadeIn': function() { - /// - /// Display the matched elements by fading them to opaque. - /// A string or number determining how long the animation will run. - /// A function to call once the animation is complete. - /// - /// - /// - /// Display the matched elements by fading them to opaque. - /// A string or number determining how long the animation will run. - /// A string indicating which easing function to use for the transition. - /// A function to call once the animation is complete. - /// - /// - }, - 'fadeOut': function() { - /// - /// Hide the matched elements by fading them to transparent. - /// A string or number determining how long the animation will run. - /// A function to call once the animation is complete. - /// - /// - /// - /// Hide the matched elements by fading them to transparent. - /// A string or number determining how long the animation will run. - /// A string indicating which easing function to use for the transition. - /// A function to call once the animation is complete. - /// - /// - }, - 'fadeTo': function() { - /// - /// Adjust the opacity of the matched elements. - /// A string or number determining how long the animation will run. - /// A number between 0 and 1 denoting the target opacity. - /// A function to call once the animation is complete. - /// - /// - /// - /// Adjust the opacity of the matched elements. - /// A string or number determining how long the animation will run. - /// A number between 0 and 1 denoting the target opacity. - /// A string indicating which easing function to use for the transition. - /// A function to call once the animation is complete. - /// - /// - }, - 'fadeToggle': function() { - /// - /// Display or hide the matched elements by animating their opacity. - /// A string or number determining how long the animation will run. - /// A string indicating which easing function to use for the transition. - /// A function to call once the animation is complete. - /// - /// - }, - 'file': function() { - /// Selects all elements of type file. - }, - 'filter': function() { - /// - /// Reduce the set of matched elements to those that match the selector or pass the function's test. - /// A string containing a selector expression to match the current set of elements against. - /// - /// - /// - /// Reduce the set of matched elements to those that match the selector or pass the function's test. - /// A function used as a test for each element in the set. this is the current DOM element. - /// - /// - /// - /// Reduce the set of matched elements to those that match the selector or pass the function's test. - /// An element to match the current set of elements against. - /// - /// - /// - /// Reduce the set of matched elements to those that match the selector or pass the function's test. - /// An existing jQuery object to match the current set of elements against. - /// - /// - }, - 'find': function() { - /// - /// Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element. - /// A string containing a selector expression to match elements against. - /// - /// - /// - /// Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element. - /// A jQuery object to match elements against. - /// - /// - /// - /// Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element. - /// An element to match elements against. - /// - /// - }, - 'first': function() { - /// Selects the first matched element. - }, - 'first-child': function() { - /// Selects all elements that are the first child of their parent. - }, - 'focus': function() { - /// - /// Bind an event handler to the "focus" JavaScript event, or trigger that event on an element. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to the "focus" JavaScript event, or trigger that event on an element. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'focusin': function() { - /// - /// Bind an event handler to the "focusin" event. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to the "focusin" event. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'focusout': function() { - /// - /// Bind an event handler to the "focusout" JavaScript event. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to the "focusout" JavaScript event. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'get': function() { - /// - /// Retrieve the DOM elements matched by the jQuery object. - /// A zero-based integer indicating which element to retrieve. - /// - /// - }, - 'gt': function() { - /// - /// Select all elements at an index greater than index within the matched set. - /// Zero-based index. - /// - }, - 'has': function() { - /// - /// Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element. - /// A string containing a selector expression to match elements against. - /// - /// - /// - /// Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element. - /// A DOM element to match elements against. - /// - /// - }, - 'hasClass': function() { - /// - /// Determine whether any of the matched elements are assigned the given class. - /// The class name to search for. - /// - /// - }, - 'header': function() { - /// Selects all elements that are headers, like h1, h2, h3 and so on. - }, - 'height': function() { - /// - /// Set the CSS height of every matched element. - /// An integer representing the number of pixels, or an integer with an optional unit of measure appended (as a string). - /// - /// - /// - /// Set the CSS height of every matched element. - /// A function returning the height to set. Receives the index position of the element in the set and the old height as arguments. Within the function, this refers to the current element in the set. - /// - /// - }, - 'hidden': function() { - /// Selects all elements that are hidden. - }, - 'hide': function() { - /// - /// Hide the matched elements. - /// A string or number determining how long the animation will run. - /// A function to call once the animation is complete. - /// - /// - /// - /// Hide the matched elements. - /// A string or number determining how long the animation will run. - /// A string indicating which easing function to use for the transition. - /// A function to call once the animation is complete. - /// - /// - }, - 'hover': function() { - /// - /// Bind two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements. - /// A function to execute when the mouse pointer enters the element. - /// A function to execute when the mouse pointer leaves the element. - /// - /// - }, - 'html': function() { - /// - /// Set the HTML contents of each element in the set of matched elements. - /// A string of HTML to set as the content of each matched element. - /// - /// - /// - /// Set the HTML contents of each element in the set of matched elements. - /// A function returning the HTML content to set. Receives the index position of the element in the set and the old HTML value as arguments. jQuery empties the element before calling the function; use the oldhtml argument to reference the previous content. Within the function, this refers to the current element in the set. - /// - /// - }, - 'id': function() { - /// - /// Selects a single element with the given id attribute. - /// An ID to search for, specified via the id attribute of an element. - /// - }, - 'image': function() { - /// Selects all elements of type image. - }, - 'index': function() { - /// - /// Search for a given element from among the matched elements. - /// A selector representing a jQuery collection in which to look for an element. - /// - /// - /// - /// Search for a given element from among the matched elements. - /// The DOM element or first element within the jQuery object to look for. - /// - /// - }, - 'init': function() { - /// - /// Accepts a string containing a CSS selector which is then used to match a set of elements. - /// A string containing a selector expression - /// A DOM Element, Document, or jQuery to use as context - /// - /// - /// - /// Accepts a string containing a CSS selector which is then used to match a set of elements. - /// A DOM element to wrap in a jQuery object. - /// - /// - /// - /// Accepts a string containing a CSS selector which is then used to match a set of elements. - /// A plain object to wrap in a jQuery object. - /// - /// - /// - /// Accepts a string containing a CSS selector which is then used to match a set of elements. - /// An array containing a set of DOM elements to wrap in a jQuery object. - /// - /// - /// - /// Accepts a string containing a CSS selector which is then used to match a set of elements. - /// An existing jQuery object to clone. - /// - /// - }, - 'innerHeight': function() { - /// Get the current computed height for the first element in the set of matched elements, including padding but not border. - /// - }, - 'innerWidth': function() { - /// Get the current computed width for the first element in the set of matched elements, including padding but not border. - /// - }, - 'input': function() { - /// Selects all input, textarea, select and button elements. - }, - 'insertAfter': function() { - /// - /// Insert every element in the set of matched elements after the target. - /// A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted after the element(s) specified by this parameter. - /// - /// - }, - 'insertBefore': function() { - /// - /// Insert every element in the set of matched elements before the target. - /// A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted before the element(s) specified by this parameter. - /// - /// - }, - 'is': function() { - /// - /// Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments. - /// A string containing a selector expression to match elements against. - /// - /// - /// - /// Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments. - /// A function used as a test for the set of elements. It accepts one argument, index, which is the element's index in the jQuery collection.Within the function, this refers to the current DOM element. - /// - /// - /// - /// Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments. - /// An existing jQuery object to match the current set of elements against. - /// - /// - /// - /// Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments. - /// An element to match the current set of elements against. - /// - /// - }, - 'jquery': function() { - /// A string containing the jQuery version number. - /// - }, - 'keydown': function() { - /// - /// Bind an event handler to the "keydown" JavaScript event, or trigger that event on an element. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to the "keydown" JavaScript event, or trigger that event on an element. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'keypress': function() { - /// - /// Bind an event handler to the "keypress" JavaScript event, or trigger that event on an element. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to the "keypress" JavaScript event, or trigger that event on an element. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'keyup': function() { - /// - /// Bind an event handler to the "keyup" JavaScript event, or trigger that event on an element. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to the "keyup" JavaScript event, or trigger that event on an element. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'last': function() { - /// Selects the last matched element. - }, - 'last-child': function() { - /// Selects all elements that are the last child of their parent. - }, - 'length': function() { - /// The number of elements in the jQuery object. - /// - }, - 'live': function() { - /// - /// Attach an event handler for all elements which match the current selector, now and in the future. - /// A string containing a JavaScript event type, such as "click" or "keydown." As of jQuery 1.4 the string can contain multiple, space-separated event types or custom event names. - /// A function to execute at the time the event is triggered. - /// - /// - /// - /// Attach an event handler for all elements which match the current selector, now and in the future. - /// A string containing a JavaScript event type, such as "click" or "keydown." As of jQuery 1.4 the string can contain multiple, space-separated event types or custom event names. - /// A map of data that will be passed to the event handler. - /// A function to execute at the time the event is triggered. - /// - /// - /// - /// Attach an event handler for all elements which match the current selector, now and in the future. - /// A map of one or more JavaScript event types and functions to execute for them. - /// - /// - }, - 'load': function() { - /// - /// Bind an event handler to the "load" JavaScript event. - /// A function to execute when the event is triggered. - /// - /// - /// - /// Bind an event handler to the "load" JavaScript event. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'lt': function() { - /// - /// Select all elements at an index less than index within the matched set. - /// Zero-based index. - /// - }, - 'map': function() { - /// - /// Pass each element in the current matched set through a function, producing a new jQuery object containing the return values. - /// A function object that will be invoked for each element in the current set. - /// - /// - }, - 'mousedown': function() { - /// - /// Bind an event handler to the "mousedown" JavaScript event, or trigger that event on an element. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to the "mousedown" JavaScript event, or trigger that event on an element. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'mouseenter': function() { - /// - /// Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to be fired when the mouse enters an element, or trigger that handler on an element. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'mouseleave': function() { - /// - /// Bind an event handler to be fired when the mouse leaves an element, or trigger that handler on an element. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to be fired when the mouse leaves an element, or trigger that handler on an element. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'mousemove': function() { - /// - /// Bind an event handler to the "mousemove" JavaScript event, or trigger that event on an element. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to the "mousemove" JavaScript event, or trigger that event on an element. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'mouseout': function() { - /// - /// Bind an event handler to the "mouseout" JavaScript event, or trigger that event on an element. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to the "mouseout" JavaScript event, or trigger that event on an element. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'mouseover': function() { - /// - /// Bind an event handler to the "mouseover" JavaScript event, or trigger that event on an element. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to the "mouseover" JavaScript event, or trigger that event on an element. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'mouseup': function() { - /// - /// Bind an event handler to the "mouseup" JavaScript event, or trigger that event on an element. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to the "mouseup" JavaScript event, or trigger that event on an element. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'multiple': function() { - /// - /// Selects the combined results of all the specified selectors. - /// Any valid selector. - /// Another valid selector. - /// As many more valid selectors as you like. - /// - }, - 'next': function() { - /// - /// Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector. - /// A string containing a selector expression to match elements against. - /// - /// - }, - 'next adjacent': function() { - /// - /// Selects all next elements matching "next" that are immediately preceded by a sibling "prev". - /// Any valid selector. - /// A selector to match the element that is next to the first selector. - /// - }, - 'next siblings': function() { - /// - /// Selects all sibling elements that follow after the "prev" element, have the same parent, and match the filtering "siblings" selector. - /// Any valid selector. - /// A selector to filter elements that are the following siblings of the first selector. - /// - }, - 'nextAll': function() { - /// - /// Get all following siblings of each element in the set of matched elements, optionally filtered by a selector. - /// A string containing a selector expression to match elements against. - /// - /// - }, - 'nextUntil': function() { - /// - /// Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed. - /// A string containing a selector expression to indicate where to stop matching following sibling elements. - /// A string containing a selector expression to match elements against. - /// - /// - /// - /// Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed. - /// A DOM node or jQuery object indicating where to stop matching following sibling elements. - /// A string containing a selector expression to match elements against. - /// - /// - }, - 'not': function() { - /// - /// Remove elements from the set of matched elements. - /// A string containing a selector expression to match elements against. - /// - /// - /// - /// Remove elements from the set of matched elements. - /// One or more DOM elements to remove from the matched set. - /// - /// - /// - /// Remove elements from the set of matched elements. - /// A function used as a test for each element in the set. this is the current DOM element. - /// - /// - /// - /// Remove elements from the set of matched elements. - /// An existing jQuery object to match the current set of elements against. - /// - /// - }, - 'nth-child': function() { - /// - /// Selects all elements that are the nth-child of their parent. - /// The index of each child to match, starting with 1, the string even or odd, or an equation ( eg. :nth-child(even), :nth-child(4n) ) - /// - }, - 'odd': function() { - /// Selects odd elements, zero-indexed. See also even. - }, - 'off': function() { - /// - /// Remove an event handler. - /// One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin". - /// A selector which should match the one originally passed to .on() when attaching event handlers. - /// A handler function previously attached for the event(s), or the special value false. - /// - /// - /// - /// Remove an event handler. - /// A map where the string keys represent one or more space-separated event types and optional namespaces, and the values represent handler functions previously attached for the event(s). - /// A selector which should match the one originally passed to .on() when attaching event handlers. - /// - /// - }, - 'offset': function() { - /// - /// Set the current coordinates of every element in the set of matched elements, relative to the document. - /// An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements. - /// - /// - /// - /// Set the current coordinates of every element in the set of matched elements, relative to the document. - /// A function to return the coordinates to set. Receives the index of the element in the collection as the first argument and the current coordinates as the second argument. The function should return an object with the new top and left properties. - /// - /// - }, - 'offsetParent': function() { - /// Get the closest ancestor element that is positioned. - /// - }, - 'on': function() { - /// - /// Attach an event handler function for one or more events to the selected elements. - /// One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin". - /// A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element. - /// Data to be passed to the handler in event.data when an event is triggered. - /// A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false. - /// - /// - /// - /// Attach an event handler function for one or more events to the selected elements. - /// A map in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s). - /// A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element. - /// Data to be passed to the handler in event.data when an event occurs. - /// - /// - }, - 'one': function() { - /// - /// Attach a handler to an event for the elements. The handler is executed at most once per element. - /// A string containing one or more JavaScript event types, such as "click" or "submit," or custom event names. - /// A map of data that will be passed to the event handler. - /// A function to execute at the time the event is triggered. - /// - /// - /// - /// Attach a handler to an event for the elements. The handler is executed at most once per element. - /// One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin". - /// A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element. - /// Data to be passed to the handler in event.data when an event is triggered. - /// A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false. - /// - /// - /// - /// Attach a handler to an event for the elements. The handler is executed at most once per element. - /// A map in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s). - /// A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element. - /// Data to be passed to the handler in event.data when an event occurs. - /// - /// - }, - 'only-child': function() { - /// Selects all elements that are the only child of their parent. - }, - 'outerHeight': function() { - /// - /// Get the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin. Returns an integer (without "px") representation of the value or null if called on an empty set of elements. - /// A Boolean indicating whether to include the element's margin in the calculation. - /// - /// - }, - 'outerWidth': function() { - /// - /// Get the current computed width for the first element in the set of matched elements, including padding and border. - /// A Boolean indicating whether to include the element's margin in the calculation. - /// - /// - }, - 'parent': function() { - /// - /// Get the parent of each element in the current set of matched elements, optionally filtered by a selector. - /// A string containing a selector expression to match elements against. - /// - /// - }, - 'parents': function() { - /// - /// Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector. - /// A string containing a selector expression to match elements against. - /// - /// - }, - 'parentsUntil': function() { - /// - /// Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object. - /// A string containing a selector expression to indicate where to stop matching ancestor elements. - /// A string containing a selector expression to match elements against. - /// - /// - /// - /// Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object. - /// A DOM node or jQuery object indicating where to stop matching ancestor elements. - /// A string containing a selector expression to match elements against. - /// - /// - }, - 'password': function() { - /// Selects all elements of type password. - }, - 'position': function() { - /// Get the current coordinates of the first element in the set of matched elements, relative to the offset parent. - /// - }, - 'prepend': function() { - /// - /// Insert content, specified by the parameter, to the beginning of each element in the set of matched elements. - /// DOM element, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements. - /// One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements. - /// - /// - /// - /// Insert content, specified by the parameter, to the beginning of each element in the set of matched elements. - /// A function that returns an HTML string, DOM element(s), or jQuery object to insert at the beginning of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set. - /// - /// - }, - 'prependTo': function() { - /// - /// Insert every element in the set of matched elements to the beginning of the target. - /// A selector, element, HTML string, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter. - /// - /// - }, - 'prev': function() { - /// - /// Get the immediately preceding sibling of each element in the set of matched elements, optionally filtered by a selector. - /// A string containing a selector expression to match elements against. - /// - /// - }, - 'prevAll': function() { - /// - /// Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector. - /// A string containing a selector expression to match elements against. - /// - /// - }, - 'prevUntil': function() { - /// - /// Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object. - /// A string containing a selector expression to indicate where to stop matching preceding sibling elements. - /// A string containing a selector expression to match elements against. - /// - /// - /// - /// Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object. - /// A DOM node or jQuery object indicating where to stop matching preceding sibling elements. - /// A string containing a selector expression to match elements against. - /// - /// - }, - 'promise': function() { - /// - /// Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished. - /// The type of queue that needs to be observed. - /// Object onto which the promise methods have to be attached - /// - /// - }, - 'prop': function() { - /// - /// Set one or more properties for the set of matched elements. - /// The name of the property to set. - /// A value to set for the property. - /// - /// - /// - /// Set one or more properties for the set of matched elements. - /// A map of property-value pairs to set. - /// - /// - /// - /// Set one or more properties for the set of matched elements. - /// The name of the property to set. - /// A function returning the value to set. Receives the index position of the element in the set and the old property value as arguments. Within the function, the keyword this refers to the current element. - /// - /// - }, - 'pushStack': function() { - /// - /// Add a collection of DOM elements onto the jQuery stack. - /// An array of elements to push onto the stack and make into a new jQuery object. - /// - /// - /// - /// Add a collection of DOM elements onto the jQuery stack. - /// An array of elements to push onto the stack and make into a new jQuery object. - /// The name of a jQuery method that generated the array of elements. - /// The arguments that were passed in to the jQuery method (for serialization). - /// - /// - }, - 'queue': function() { - /// - /// Manipulate the queue of functions to be executed on the matched elements. - /// A string containing the name of the queue. Defaults to fx, the standard effects queue. - /// An array of functions to replace the current queue contents. - /// - /// - /// - /// Manipulate the queue of functions to be executed on the matched elements. - /// A string containing the name of the queue. Defaults to fx, the standard effects queue. - /// The new function to add to the queue, with a function to call that will dequeue the next item. - /// - /// - }, - 'radio': function() { - /// Selects all elements of type radio. - }, - 'ready': function() { - /// - /// Specify a function to execute when the DOM is fully loaded. - /// A function to execute after the DOM is ready. - /// - /// - }, - 'remove': function() { - /// - /// Remove the set of matched elements from the DOM. - /// A selector expression that filters the set of matched elements to be removed. - /// - /// - }, - 'removeAttr': function() { - /// - /// Remove an attribute from each element in the set of matched elements. - /// An attribute to remove; as of version 1.7, it can be a space-separated list of attributes. - /// - /// - }, - 'removeClass': function() { - /// - /// Remove a single class, multiple classes, or all classes from each element in the set of matched elements. - /// One or more space-separated classes to be removed from the class attribute of each matched element. - /// - /// - /// - /// Remove a single class, multiple classes, or all classes from each element in the set of matched elements. - /// A function returning one or more space-separated class names to be removed. Receives the index position of the element in the set and the old class value as arguments. - /// - /// - }, - 'removeData': function() { - /// - /// Remove a previously-stored piece of data. - /// A string naming the piece of data to delete. - /// - /// - /// - /// Remove a previously-stored piece of data. - /// An array or space-separated string naming the pieces of data to delete. - /// - /// - }, - 'removeProp': function() { - /// - /// Remove a property for the set of matched elements. - /// The name of the property to set. - /// - /// - }, - 'replaceAll': function() { - /// - /// Replace each target element with the set of matched elements. - /// A selector expression indicating which element(s) to replace. - /// - /// - }, - 'replaceWith': function() { - /// - /// Replace each element in the set of matched elements with the provided new content. - /// The content to insert. May be an HTML string, DOM element, or jQuery object. - /// - /// - /// - /// Replace each element in the set of matched elements with the provided new content. - /// A function that returns content with which to replace the set of matched elements. - /// - /// - }, - 'reset': function() { - /// Selects all elements of type reset. - }, - 'resize': function() { - /// - /// Bind an event handler to the "resize" JavaScript event, or trigger that event on an element. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to the "resize" JavaScript event, or trigger that event on an element. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'scroll': function() { - /// - /// Bind an event handler to the "scroll" JavaScript event, or trigger that event on an element. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to the "scroll" JavaScript event, or trigger that event on an element. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'scrollLeft': function() { - /// - /// Set the current horizontal position of the scroll bar for each of the set of matched elements. - /// An integer indicating the new position to set the scroll bar to. - /// - /// - }, - 'scrollTop': function() { - /// - /// Set the current vertical position of the scroll bar for each of the set of matched elements. - /// An integer indicating the new position to set the scroll bar to. - /// - /// - }, - 'select': function() { - /// - /// Bind an event handler to the "select" JavaScript event, or trigger that event on an element. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to the "select" JavaScript event, or trigger that event on an element. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'selected': function() { - /// Selects all elements that are selected. - }, - 'serialize': function() { - /// Encode a set of form elements as a string for submission. - /// - }, - 'serializeArray': function() { - /// Encode a set of form elements as an array of names and values. - /// - }, - 'show': function() { - /// - /// Display the matched elements. - /// A string or number determining how long the animation will run. - /// A function to call once the animation is complete. - /// - /// - /// - /// Display the matched elements. - /// A string or number determining how long the animation will run. - /// A string indicating which easing function to use for the transition. - /// A function to call once the animation is complete. - /// - /// - }, - 'siblings': function() { - /// - /// Get the siblings of each element in the set of matched elements, optionally filtered by a selector. - /// A string containing a selector expression to match elements against. - /// - /// - }, - 'size': function() { - /// Return the number of elements in the jQuery object. - /// - }, - 'slice': function() { - /// - /// Reduce the set of matched elements to a subset specified by a range of indices. - /// An integer indicating the 0-based position at which the elements begin to be selected. If negative, it indicates an offset from the end of the set. - /// An integer indicating the 0-based position at which the elements stop being selected. If negative, it indicates an offset from the end of the set. If omitted, the range continues until the end of the set. - /// - /// - }, - 'slideDown': function() { - /// - /// Display the matched elements with a sliding motion. - /// A string or number determining how long the animation will run. - /// A function to call once the animation is complete. - /// - /// - /// - /// Display the matched elements with a sliding motion. - /// A string or number determining how long the animation will run. - /// A string indicating which easing function to use for the transition. - /// A function to call once the animation is complete. - /// - /// - }, - 'slideToggle': function() { - /// - /// Display or hide the matched elements with a sliding motion. - /// A string or number determining how long the animation will run. - /// A function to call once the animation is complete. - /// - /// - /// - /// Display or hide the matched elements with a sliding motion. - /// A string or number determining how long the animation will run. - /// A string indicating which easing function to use for the transition. - /// A function to call once the animation is complete. - /// - /// - }, - 'slideUp': function() { - /// - /// Hide the matched elements with a sliding motion. - /// A string or number determining how long the animation will run. - /// A function to call once the animation is complete. - /// - /// - /// - /// Hide the matched elements with a sliding motion. - /// A string or number determining how long the animation will run. - /// A string indicating which easing function to use for the transition. - /// A function to call once the animation is complete. - /// - /// - }, - 'stop': function() { - /// - /// Stop the currently-running animation on the matched elements. - /// A Boolean indicating whether to remove queued animation as well. Defaults to false. - /// A Boolean indicating whether to complete the current animation immediately. Defaults to false. - /// - /// - /// - /// Stop the currently-running animation on the matched elements. - /// The name of the queue in which to stop animations. - /// A Boolean indicating whether to remove queued animation as well. Defaults to false. - /// A Boolean indicating whether to complete the current animation immediately. Defaults to false. - /// - /// - }, - 'submit': function() { - /// - /// Bind an event handler to the "submit" JavaScript event, or trigger that event on an element. - /// A function to execute each time the event is triggered. - /// - /// - /// - /// Bind an event handler to the "submit" JavaScript event, or trigger that event on an element. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'text': function() { - /// - /// Set the content of each element in the set of matched elements to the specified text. - /// A string of text to set as the content of each matched element. - /// - /// - /// - /// Set the content of each element in the set of matched elements to the specified text. - /// A function returning the text content to set. Receives the index position of the element in the set and the old text value as arguments. - /// - /// - }, - 'toArray': function() { - /// Retrieve all the DOM elements contained in the jQuery set, as an array. - /// - }, - 'toggle': function() { - /// - /// Display or hide the matched elements. - /// A string or number determining how long the animation will run. - /// A function to call once the animation is complete. - /// - /// - /// - /// Display or hide the matched elements. - /// A string or number determining how long the animation will run. - /// A string indicating which easing function to use for the transition. - /// A function to call once the animation is complete. - /// - /// - /// - /// Display or hide the matched elements. - /// A Boolean indicating whether to show or hide the elements. - /// - /// - }, - 'toggleClass': function() { - /// - /// Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument. - /// One or more class names (separated by spaces) to be toggled for each element in the matched set. - /// - /// - /// - /// Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument. - /// One or more class names (separated by spaces) to be toggled for each element in the matched set. - /// A Boolean (not just truthy/falsy) value to determine whether the class should be added or removed. - /// - /// - /// - /// Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument. - /// A boolean value to determine whether the class should be added or removed. - /// - /// - /// - /// Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument. - /// A function that returns class names to be toggled in the class attribute of each element in the matched set. Receives the index position of the element in the set, the old class value, and the switch as arguments. - /// A boolean value to determine whether the class should be added or removed. - /// - /// - }, - 'trigger': function() { - /// - /// Execute all handlers and behaviors attached to the matched elements for the given event type. - /// A string containing a JavaScript event type, such as click or submit. - /// Additional parameters to pass along to the event handler. - /// - /// - /// - /// Execute all handlers and behaviors attached to the matched elements for the given event type. - /// A jQuery.Event object. - /// - /// - }, - 'triggerHandler': function() { - /// - /// Execute all handlers attached to an element for an event. - /// A string containing a JavaScript event type, such as click or submit. - /// An array of additional parameters to pass along to the event handler. - /// - /// - }, - 'unbind': function() { - /// - /// Remove a previously-attached event handler from the elements. - /// A string containing a JavaScript event type, such as click or submit. - /// The function that is to be no longer executed. - /// - /// - /// - /// Remove a previously-attached event handler from the elements. - /// A string containing a JavaScript event type, such as click or submit. - /// Unbinds the corresponding 'return false' function that was bound using .bind( eventType, false ). - /// - /// - /// - /// Remove a previously-attached event handler from the elements. - /// A JavaScript event object as passed to an event handler. - /// - /// - }, - 'undelegate': function() { - /// - /// Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements. - /// A selector which will be used to filter the event results. - /// A string containing a JavaScript event type, such as "click" or "keydown" - /// - /// - /// - /// Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements. - /// A selector which will be used to filter the event results. - /// A string containing a JavaScript event type, such as "click" or "keydown" - /// A function to execute at the time the event is triggered. - /// - /// - /// - /// Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements. - /// A selector which will be used to filter the event results. - /// A map of one or more event types and previously bound functions to unbind from them. - /// - /// - /// - /// Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements. - /// A string containing a namespace to unbind all events from. - /// - /// - }, - 'unload': function() { - /// - /// Bind an event handler to the "unload" JavaScript event. - /// A function to execute when the event is triggered. - /// - /// - /// - /// Bind an event handler to the "unload" JavaScript event. - /// A map of data that will be passed to the event handler. - /// A function to execute each time the event is triggered. - /// - /// - }, - 'unwrap': function() { - /// Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place. - /// - }, - 'val': function() { - /// - /// Set the value of each element in the set of matched elements. - /// A string of text or an array of strings corresponding to the value of each matched element to set as selected/checked. - /// - /// - /// - /// Set the value of each element in the set of matched elements. - /// A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments. - /// - /// - }, - 'visible': function() { - /// Selects all elements that are visible. - }, - 'width': function() { - /// - /// Set the CSS width of each element in the set of matched elements. - /// An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string). - /// - /// - /// - /// Set the CSS width of each element in the set of matched elements. - /// A function returning the width to set. Receives the index position of the element in the set and the old width as arguments. Within the function, this refers to the current element in the set. - /// - /// - }, - 'wrap': function() { - /// - /// Wrap an HTML structure around each element in the set of matched elements. - /// An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the matched elements. - /// - /// - /// - /// Wrap an HTML structure around each element in the set of matched elements. - /// A callback function returning the HTML content or jQuery object to wrap around the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set. - /// - /// - }, - 'wrapAll': function() { - /// - /// Wrap an HTML structure around all elements in the set of matched elements. - /// An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the matched elements. - /// - /// - }, - 'wrapInner': function() { - /// - /// Wrap an HTML structure around the content of each element in the set of matched elements. - /// An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the content of the matched elements. - /// - /// - /// - /// Wrap an HTML structure around the content of each element in the set of matched elements. - /// A callback function which generates a structure to wrap around the content of the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set. - /// - /// - }, -}); - -intellisense.annotate(window, { - '$': function() { - /// - /// Accepts a string containing a CSS selector which is then used to match a set of elements. - /// A string containing a selector expression - /// A DOM Element, Document, or jQuery to use as context - /// - /// - /// - /// Accepts a string containing a CSS selector which is then used to match a set of elements. - /// A DOM element to wrap in a jQuery object. - /// - /// - /// - /// Accepts a string containing a CSS selector which is then used to match a set of elements. - /// A plain object to wrap in a jQuery object. - /// - /// - /// - /// Accepts a string containing a CSS selector which is then used to match a set of elements. - /// An array containing a set of DOM elements to wrap in a jQuery object. - /// - /// - /// - /// Accepts a string containing a CSS selector which is then used to match a set of elements. - /// An existing jQuery object to clone. - /// - /// - }, -}); - diff --git a/喷涂上线/Code/PaintingScreen/Scripts/jquery-1.7.1.js b/喷涂上线/Code/PaintingScreen/Scripts/jquery-1.7.1.js deleted file mode 100644 index b4ec7f8..0000000 --- a/喷涂上线/Code/PaintingScreen/Scripts/jquery-1.7.1.js +++ /dev/null @@ -1,9266 +0,0 @@ -/*! - * jQuery JavaScript Library v1.7.1 - * http://jquery.com/ - * - * Copyright 2011, John Resig - * Released under the the MIT License. - * http://jquery.org/license - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * Copyright 2011, The Dojo Foundation - * Released under the MIT and BSD Licenses. - * - * Date: Mon Nov 21 21:11:03 2011 -0500 - */ -(function( window, undefined ) { - -// Use the correct document accordingly with window argument (sandbox) -var document = window.document, - navigator = window.navigator, - location = window.location; -var jQuery = (function() { - -// Define a local copy of jQuery -var jQuery = function( selector, context ) { - // The jQuery object is actually just the init constructor 'enhanced' - return new jQuery.fn.init( selector, context, rootjQuery ); - }, - - // Map over jQuery in case of overwrite - _jQuery = window.jQuery, - - // Map over the $ in case of overwrite - _$ = window.$, - - // A central reference to the root jQuery(document) - rootjQuery, - - // A simple way to check for HTML strings or ID strings - // Prioritize #id over to avoid XSS via location.hash (#9521) - quickExpr = /^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/, - - // Check if a string has a non-whitespace character in it - rnotwhite = /\S/, - - // Used for trimming whitespace - trimLeft = /^\s+/, - trimRight = /\s+$/, - - // Match a standalone tag - rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>)?$/, - - // JSON RegExp - rvalidchars = /^[\],:{}\s]*$/, - rvalidescape = /\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, - rvalidtokens = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, - rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, - - // Useragent RegExp - rwebkit = /(webkit)[ \/]([\w.]+)/, - ropera = /(opera)(?:.*version)?[ \/]([\w.]+)/, - rmsie = /(msie) ([\w.]+)/, - rmozilla = /(mozilla)(?:.*? rv:([\w.]+))?/, - - // Matches dashed string for camelizing - rdashAlpha = /-([a-z]|[0-9])/ig, - rmsPrefix = /^-ms-/, - - // Used by jQuery.camelCase as callback to replace() - fcamelCase = function( all, letter ) { - return ( letter + "" ).toUpperCase(); - }, - - // Keep a UserAgent string for use with jQuery.browser - userAgent = navigator.userAgent, - - // For matching the engine and version of the browser - browserMatch, - - // The deferred used on DOM ready - readyList, - - // The ready event handler - DOMContentLoaded, - - // Save a reference to some core methods - toString = Object.prototype.toString, - hasOwn = Object.prototype.hasOwnProperty, - push = Array.prototype.push, - slice = Array.prototype.slice, - trim = String.prototype.trim, - indexOf = Array.prototype.indexOf, - - // [[Class]] -> type pairs - class2type = {}; - -jQuery.fn = jQuery.prototype = { - constructor: jQuery, - init: function( selector, context, rootjQuery ) { - var match, elem, ret, doc; - - // Handle $(""), $(null), or $(undefined) - if ( !selector ) { - return this; - } - - // Handle $(DOMElement) - if ( selector.nodeType ) { - this.context = this[0] = selector; - this.length = 1; - return this; - } - - // The body element only exists once, optimize finding it - if ( selector === "body" && !context && document.body ) { - this.context = document; - this[0] = document.body; - this.selector = selector; - this.length = 1; - return this; - } - - // Handle HTML strings - if ( typeof selector === "string" ) { - // Are we dealing with HTML string or an ID? - if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { - // Assume that strings that start and end with <> are HTML and skip the regex check - match = [ null, selector, null ]; - - } else { - match = quickExpr.exec( selector ); - } - - // Verify a match, and that no context was specified for #id - if ( match && (match[1] || !context) ) { - - // HANDLE: $(html) -> $(array) - if ( match[1] ) { - context = context instanceof jQuery ? context[0] : context; - doc = ( context ? context.ownerDocument || context : document ); - - // If a single string is passed in and it's a single tag - // just do a createElement and skip the rest - ret = rsingleTag.exec( selector ); - - if ( ret ) { - if ( jQuery.isPlainObject( context ) ) { - selector = [ document.createElement( ret[1] ) ]; - jQuery.fn.attr.call( selector, context, true ); - - } else { - selector = [ doc.createElement( ret[1] ) ]; - } - - } else { - ret = jQuery.buildFragment( [ match[1] ], [ doc ] ); - selector = ( ret.cacheable ? jQuery.clone(ret.fragment) : ret.fragment ).childNodes; - } - - return jQuery.merge( this, selector ); - - // HANDLE: $("#id") - } else { - elem = document.getElementById( match[2] ); - - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - if ( elem && elem.parentNode ) { - // Handle the case where IE and Opera return items - // by name instead of ID - if ( elem.id !== match[2] ) { - return rootjQuery.find( selector ); - } - - // Otherwise, we inject the element directly into the jQuery object - this.length = 1; - this[0] = elem; - } - - this.context = document; - this.selector = selector; - return this; - } - - // HANDLE: $(expr, $(...)) - } else if ( !context || context.jquery ) { - return ( context || rootjQuery ).find( selector ); - - // HANDLE: $(expr, context) - // (which is just equivalent to: $(context).find(expr) - } else { - return this.constructor( context ).find( selector ); - } - - // HANDLE: $(function) - // Shortcut for document ready - } else if ( jQuery.isFunction( selector ) ) { - return rootjQuery.ready( selector ); - } - - if ( selector.selector !== undefined ) { - this.selector = selector.selector; - this.context = selector.context; - } - - return jQuery.makeArray( selector, this ); - }, - - // Start with an empty selector - selector: "", - - // The current version of jQuery being used - jquery: "1.7.1", - - // The default length of a jQuery object is 0 - length: 0, - - // The number of elements contained in the matched element set - size: function() { - return this.length; - }, - - toArray: function() { - return slice.call( this, 0 ); - }, - - // Get the Nth element in the matched element set OR - // Get the whole matched element set as a clean array - get: function( num ) { - return num == null ? - - // Return a 'clean' array - this.toArray() : - - // Return just the object - ( num < 0 ? this[ this.length + num ] : this[ num ] ); - }, - - // Take an array of elements and push it onto the stack - // (returning the new matched element set) - pushStack: function( elems, name, selector ) { - // Build a new jQuery matched element set - var ret = this.constructor(); - - if ( jQuery.isArray( elems ) ) { - push.apply( ret, elems ); - - } else { - jQuery.merge( ret, elems ); - } - - // Add the old object onto the stack (as a reference) - ret.prevObject = this; - - ret.context = this.context; - - if ( name === "find" ) { - ret.selector = this.selector + ( this.selector ? " " : "" ) + selector; - } else if ( name ) { - ret.selector = this.selector + "." + name + "(" + selector + ")"; - } - - // Return the newly-formed element set - return ret; - }, - - // Execute a callback for every element in the matched set. - // (You can seed the arguments with an array of args, but this is - // only used internally.) - each: function( callback, args ) { - return jQuery.each( this, callback, args ); - }, - - ready: function( fn ) { - // Attach the listeners - jQuery.bindReady(); - - // Add the callback - readyList.add( fn ); - - return this; - }, - - eq: function( i ) { - i = +i; - return i === -1 ? - this.slice( i ) : - this.slice( i, i + 1 ); - }, - - first: function() { - return this.eq( 0 ); - }, - - last: function() { - return this.eq( -1 ); - }, - - slice: function() { - return this.pushStack( slice.apply( this, arguments ), - "slice", slice.call(arguments).join(",") ); - }, - - map: function( callback ) { - return this.pushStack( jQuery.map(this, function( elem, i ) { - return callback.call( elem, i, elem ); - })); - }, - - end: function() { - return this.prevObject || this.constructor(null); - }, - - // For internal use only. - // Behaves like an Array's method, not like a jQuery method. - push: push, - sort: [].sort, - splice: [].splice -}; - -// Give the init function the jQuery prototype for later instantiation -jQuery.fn.init.prototype = jQuery.fn; - -jQuery.extend = jQuery.fn.extend = function() { - var options, name, src, copy, copyIsArray, clone, - target = arguments[0] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if ( typeof target === "boolean" ) { - deep = target; - target = arguments[1] || {}; - // skip the boolean and the target - i = 2; - } - - // Handle case when target is a string or something (possible in deep copy) - if ( typeof target !== "object" && !jQuery.isFunction(target) ) { - target = {}; - } - - // extend jQuery itself if only one argument is passed - if ( length === i ) { - target = this; - --i; - } - - for ( ; i < length; i++ ) { - // Only deal with non-null/undefined values - if ( (options = arguments[ i ]) != null ) { - // Extend the base object - for ( name in options ) { - src = target[ name ]; - copy = options[ name ]; - - // Prevent never-ending loop - if ( target === copy ) { - continue; - } - - // Recurse if we're merging plain objects or arrays - if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { - if ( copyIsArray ) { - copyIsArray = false; - clone = src && jQuery.isArray(src) ? src : []; - - } else { - clone = src && jQuery.isPlainObject(src) ? src : {}; - } - - // Never move original objects, clone them - target[ name ] = jQuery.extend( deep, clone, copy ); - - // Don't bring in undefined values - } else if ( copy !== undefined ) { - target[ name ] = copy; - } - } - } - } - - // Return the modified object - return target; -}; - -jQuery.extend({ - noConflict: function( deep ) { - if ( window.$ === jQuery ) { - window.$ = _$; - } - - if ( deep && window.jQuery === jQuery ) { - window.jQuery = _jQuery; - } - - return jQuery; - }, - - // Is the DOM ready to be used? Set to true once it occurs. - isReady: false, - - // A counter to track how many items to wait for before - // the ready event fires. See #6781 - readyWait: 1, - - // Hold (or release) the ready event - holdReady: function( hold ) { - if ( hold ) { - jQuery.readyWait++; - } else { - jQuery.ready( true ); - } - }, - - // Handle when the DOM is ready - ready: function( wait ) { - // Either a released hold or an DOMready/load event and not yet ready - if ( (wait === true && !--jQuery.readyWait) || (wait !== true && !jQuery.isReady) ) { - // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). - if ( !document.body ) { - return setTimeout( jQuery.ready, 1 ); - } - - // Remember that the DOM is ready - jQuery.isReady = true; - - // If a normal DOM Ready event fired, decrement, and wait if need be - if ( wait !== true && --jQuery.readyWait > 0 ) { - return; - } - - // If there are functions bound, to execute - readyList.fireWith( document, [ jQuery ] ); - - // Trigger any bound ready events - if ( jQuery.fn.trigger ) { - jQuery( document ).trigger( "ready" ).off( "ready" ); - } - } - }, - - bindReady: function() { - if ( readyList ) { - return; - } - - readyList = jQuery.Callbacks( "once memory" ); - - // Catch cases where $(document).ready() is called after the - // browser event has already occurred. - if ( document.readyState === "complete" ) { - // Handle it asynchronously to allow scripts the opportunity to delay ready - return setTimeout( jQuery.ready, 1 ); - } - - // Mozilla, Opera and webkit nightlies currently support this event - if ( document.addEventListener ) { - // Use the handy event callback - document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false ); - - // A fallback to window.onload, that will always work - window.addEventListener( "load", jQuery.ready, false ); - - // If IE event model is used - } else if ( document.attachEvent ) { - // ensure firing before onload, - // maybe late but safe also for iframes - document.attachEvent( "onreadystatechange", DOMContentLoaded ); - - // A fallback to window.onload, that will always work - window.attachEvent( "onload", jQuery.ready ); - - // If IE and not a frame - // continually check to see if the document is ready - var toplevel = false; - - try { - toplevel = window.frameElement == null; - } catch(e) {} - - if ( document.documentElement.doScroll && toplevel ) { - doScrollCheck(); - } - } - }, - - // See test/unit/core.js for details concerning isFunction. - // Since version 1.3, DOM methods and functions like alert - // aren't supported. They return false on IE (#2968). - isFunction: function( obj ) { - return jQuery.type(obj) === "function"; - }, - - isArray: Array.isArray || function( obj ) { - return jQuery.type(obj) === "array"; - }, - - // A crude way of determining if an object is a window - isWindow: function( obj ) { - return obj && typeof obj === "object" && "setInterval" in obj; - }, - - isNumeric: function( obj ) { - return !isNaN( parseFloat(obj) ) && isFinite( obj ); - }, - - type: function( obj ) { - return obj == null ? - String( obj ) : - class2type[ toString.call(obj) ] || "object"; - }, - - isPlainObject: function( obj ) { - // Must be an Object. - // Because of IE, we also have to check the presence of the constructor property. - // Make sure that DOM nodes and window objects don't pass through, as well - if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { - return false; - } - - try { - // Not own constructor property must be Object - if ( obj.constructor && - !hasOwn.call(obj, "constructor") && - !hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { - return false; - } - } catch ( e ) { - // IE8,9 Will throw exceptions on certain host objects #9897 - return false; - } - - // Own properties are enumerated firstly, so to speed up, - // if last one is own, then all properties are own. - - var key; - for ( key in obj ) {} - - return key === undefined || hasOwn.call( obj, key ); - }, - - isEmptyObject: function( obj ) { - for ( var name in obj ) { - return false; - } - return true; - }, - - error: function( msg ) { - throw new Error( msg ); - }, - - parseJSON: function( data ) { - if ( typeof data !== "string" || !data ) { - return null; - } - - // Make sure leading/trailing whitespace is removed (IE can't handle it) - data = jQuery.trim( data ); - - // Attempt to parse using the native JSON parser first - if ( window.JSON && window.JSON.parse ) { - return window.JSON.parse( data ); - } - - // Make sure the incoming data is actual JSON - // Logic borrowed from http://json.org/json2.js - if ( rvalidchars.test( data.replace( rvalidescape, "@" ) - .replace( rvalidtokens, "]" ) - .replace( rvalidbraces, "")) ) { - - return ( new Function( "return " + data ) )(); - - } - jQuery.error( "Invalid JSON: " + data ); - }, - - // Cross-browser xml parsing - parseXML: function( data ) { - var xml, tmp; - try { - if ( window.DOMParser ) { // Standard - tmp = new DOMParser(); - xml = tmp.parseFromString( data , "text/xml" ); - } else { // IE - xml = new ActiveXObject( "Microsoft.XMLDOM" ); - xml.async = "false"; - xml.loadXML( data ); - } - } catch( e ) { - xml = undefined; - } - if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) { - jQuery.error( "Invalid XML: " + data ); - } - return xml; - }, - - noop: function() {}, - - // Evaluates a script in a global context - // Workarounds based on findings by Jim Driscoll - // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context - globalEval: function( data ) { - if ( data && rnotwhite.test( data ) ) { - // We use execScript on Internet Explorer - // We use an anonymous function so that context is window - // rather than jQuery in Firefox - ( window.execScript || function( data ) { - window[ "eval" ].call( window, data ); - } )( data ); - } - }, - - // Convert dashed to camelCase; used by the css and data modules - // Microsoft forgot to hump their vendor prefix (#9572) - camelCase: function( string ) { - return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); - }, - - nodeName: function( elem, name ) { - return elem.nodeName && elem.nodeName.toUpperCase() === name.toUpperCase(); - }, - - // args is for internal usage only - each: function( object, callback, args ) { - var name, i = 0, - length = object.length, - isObj = length === undefined || jQuery.isFunction( object ); - - if ( args ) { - if ( isObj ) { - for ( name in object ) { - if ( callback.apply( object[ name ], args ) === false ) { - break; - } - } - } else { - for ( ; i < length; ) { - if ( callback.apply( object[ i++ ], args ) === false ) { - break; - } - } - } - - // A special, fast, case for the most common use of each - } else { - if ( isObj ) { - for ( name in object ) { - if ( callback.call( object[ name ], name, object[ name ] ) === false ) { - break; - } - } - } else { - for ( ; i < length; ) { - if ( callback.call( object[ i ], i, object[ i++ ] ) === false ) { - break; - } - } - } - } - - return object; - }, - - // Use native String.trim function wherever possible - trim: trim ? - function( text ) { - return text == null ? - "" : - trim.call( text ); - } : - - // Otherwise use our own trimming functionality - function( text ) { - return text == null ? - "" : - text.toString().replace( trimLeft, "" ).replace( trimRight, "" ); - }, - - // results is for internal usage only - makeArray: function( array, results ) { - var ret = results || []; - - if ( array != null ) { - // The window, strings (and functions) also have 'length' - // Tweaked logic slightly to handle Blackberry 4.7 RegExp issues #6930 - var type = jQuery.type( array ); - - if ( array.length == null || type === "string" || type === "function" || type === "regexp" || jQuery.isWindow( array ) ) { - push.call( ret, array ); - } else { - jQuery.merge( ret, array ); - } - } - - return ret; - }, - - inArray: function( elem, array, i ) { - var len; - - if ( array ) { - if ( indexOf ) { - return indexOf.call( array, elem, i ); - } - - len = array.length; - i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; - - for ( ; i < len; i++ ) { - // Skip accessing in sparse arrays - if ( i in array && array[ i ] === elem ) { - return i; - } - } - } - - return -1; - }, - - merge: function( first, second ) { - var i = first.length, - j = 0; - - if ( typeof second.length === "number" ) { - for ( var l = second.length; j < l; j++ ) { - first[ i++ ] = second[ j ]; - } - - } else { - while ( second[j] !== undefined ) { - first[ i++ ] = second[ j++ ]; - } - } - - first.length = i; - - return first; - }, - - grep: function( elems, callback, inv ) { - var ret = [], retVal; - inv = !!inv; - - // Go through the array, only saving the items - // that pass the validator function - for ( var i = 0, length = elems.length; i < length; i++ ) { - retVal = !!callback( elems[ i ], i ); - if ( inv !== retVal ) { - ret.push( elems[ i ] ); - } - } - - return ret; - }, - - // arg is for internal usage only - map: function( elems, callback, arg ) { - var value, key, ret = [], - i = 0, - length = elems.length, - // jquery objects are treated as arrays - isArray = elems instanceof jQuery || length !== undefined && typeof length === "number" && ( ( length > 0 && elems[ 0 ] && elems[ length -1 ] ) || length === 0 || jQuery.isArray( elems ) ) ; - - // Go through the array, translating each of the items to their - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret[ ret.length ] = value; - } - } - - // Go through every key on the object, - } else { - for ( key in elems ) { - value = callback( elems[ key ], key, arg ); - - if ( value != null ) { - ret[ ret.length ] = value; - } - } - } - - // Flatten any nested arrays - return ret.concat.apply( [], ret ); - }, - - // A global GUID counter for objects - guid: 1, - - // Bind a function to a context, optionally partially applying any - // arguments. - proxy: function( fn, context ) { - if ( typeof context === "string" ) { - var tmp = fn[ context ]; - context = fn; - fn = tmp; - } - - // Quick check to determine if target is callable, in the spec - // this throws a TypeError, but we will just return undefined. - if ( !jQuery.isFunction( fn ) ) { - return undefined; - } - - // Simulated bind - var args = slice.call( arguments, 2 ), - proxy = function() { - return fn.apply( context, args.concat( slice.call( arguments ) ) ); - }; - - // Set the guid of unique handler to the same of original handler, so it can be removed - proxy.guid = fn.guid = fn.guid || proxy.guid || jQuery.guid++; - - return proxy; - }, - - // Mutifunctional method to get and set values to a collection - // The value/s can optionally be executed if it's a function - access: function( elems, key, value, exec, fn, pass ) { - var length = elems.length; - - // Setting many attributes - if ( typeof key === "object" ) { - for ( var k in key ) { - jQuery.access( elems, k, key[k], exec, fn, value ); - } - return elems; - } - - // Setting one attribute - if ( value !== undefined ) { - // Optionally, function values get executed if exec is true - exec = !pass && exec && jQuery.isFunction(value); - - for ( var i = 0; i < length; i++ ) { - fn( elems[i], key, exec ? value.call( elems[i], i, fn( elems[i], key ) ) : value, pass ); - } - - return elems; - } - - // Getting an attribute - return length ? fn( elems[0], key ) : undefined; - }, - - now: function() { - return ( new Date() ).getTime(); - }, - - // Use of jQuery.browser is frowned upon. - // More details: http://docs.jquery.com/Utilities/jQuery.browser - uaMatch: function( ua ) { - ua = ua.toLowerCase(); - - var match = rwebkit.exec( ua ) || - ropera.exec( ua ) || - rmsie.exec( ua ) || - ua.indexOf("compatible") < 0 && rmozilla.exec( ua ) || - []; - - return { browser: match[1] || "", version: match[2] || "0" }; - }, - - sub: function() { - function jQuerySub( selector, context ) { - return new jQuerySub.fn.init( selector, context ); - } - jQuery.extend( true, jQuerySub, this ); - jQuerySub.superclass = this; - jQuerySub.fn = jQuerySub.prototype = this(); - jQuerySub.fn.constructor = jQuerySub; - jQuerySub.sub = this.sub; - jQuerySub.fn.init = function init( selector, context ) { - if ( context && context instanceof jQuery && !(context instanceof jQuerySub) ) { - context = jQuerySub( context ); - } - - return jQuery.fn.init.call( this, selector, context, rootjQuerySub ); - }; - jQuerySub.fn.init.prototype = jQuerySub.fn; - var rootjQuerySub = jQuerySub(document); - return jQuerySub; - }, - - browser: {} -}); - -// Populate the class2type map -jQuery.each("Boolean Number String Function Array Date RegExp Object".split(" "), function(i, name) { - class2type[ "[object " + name + "]" ] = name.toLowerCase(); -}); - -browserMatch = jQuery.uaMatch( userAgent ); -if ( browserMatch.browser ) { - jQuery.browser[ browserMatch.browser ] = true; - jQuery.browser.version = browserMatch.version; -} - -// Deprecated, use jQuery.browser.webkit instead -if ( jQuery.browser.webkit ) { - jQuery.browser.safari = true; -} - -// IE doesn't match non-breaking spaces with \s -if ( rnotwhite.test( "\xA0" ) ) { - trimLeft = /^[\s\xA0]+/; - trimRight = /[\s\xA0]+$/; -} - -// All jQuery objects should point back to these -rootjQuery = jQuery(document); - -// Cleanup functions for the document ready method -if ( document.addEventListener ) { - DOMContentLoaded = function() { - document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false ); - jQuery.ready(); - }; - -} else if ( document.attachEvent ) { - DOMContentLoaded = function() { - // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). - if ( document.readyState === "complete" ) { - document.detachEvent( "onreadystatechange", DOMContentLoaded ); - jQuery.ready(); - } - }; -} - -// The DOM ready check for Internet Explorer -function doScrollCheck() { - if ( jQuery.isReady ) { - return; - } - - try { - // If IE is used, use the trick by Diego Perini - // http://javascript.nwbox.com/IEContentLoaded/ - document.documentElement.doScroll("left"); - } catch(e) { - setTimeout( doScrollCheck, 1 ); - return; - } - - // and execute any waiting functions - jQuery.ready(); -} - -return jQuery; - -})(); - - -// String to Object flags format cache -var flagsCache = {}; - -// Convert String-formatted flags into Object-formatted ones and store in cache -function createFlags( flags ) { - var object = flagsCache[ flags ] = {}, - i, length; - flags = flags.split( /\s+/ ); - for ( i = 0, length = flags.length; i < length; i++ ) { - object[ flags[i] ] = true; - } - return object; -} - -/* - * Create a callback list using the following parameters: - * - * flags: an optional list of space-separated flags that will change how - * the callback list behaves - * - * By default a callback list will act like an event callback list and can be - * "fired" multiple times. - * - * Possible flags: - * - * once: will ensure the callback list can only be fired once (like a Deferred) - * - * memory: will keep track of previous values and will call any callback added - * after the list has been fired right away with the latest "memorized" - * values (like a Deferred) - * - * unique: will ensure a callback can only be added once (no duplicate in the list) - * - * stopOnFalse: interrupt callings when a callback returns false - * - */ -jQuery.Callbacks = function( flags ) { - - // Convert flags from String-formatted to Object-formatted - // (we check in cache first) - flags = flags ? ( flagsCache[ flags ] || createFlags( flags ) ) : {}; - - var // Actual callback list - list = [], - // Stack of fire calls for repeatable lists - stack = [], - // Last fire value (for non-forgettable lists) - memory, - // Flag to know if list is currently firing - firing, - // First callback to fire (used internally by add and fireWith) - firingStart, - // End of the loop when firing - firingLength, - // Index of currently firing callback (modified by remove if needed) - firingIndex, - // Add one or several callbacks to the list - add = function( args ) { - var i, - length, - elem, - type, - actual; - for ( i = 0, length = args.length; i < length; i++ ) { - elem = args[ i ]; - type = jQuery.type( elem ); - if ( type === "array" ) { - // Inspect recursively - add( elem ); - } else if ( type === "function" ) { - // Add if not in unique mode and callback is not in - if ( !flags.unique || !self.has( elem ) ) { - list.push( elem ); - } - } - } - }, - // Fire callbacks - fire = function( context, args ) { - args = args || []; - memory = !flags.memory || [ context, args ]; - firing = true; - firingIndex = firingStart || 0; - firingStart = 0; - firingLength = list.length; - for ( ; list && firingIndex < firingLength; firingIndex++ ) { - if ( list[ firingIndex ].apply( context, args ) === false && flags.stopOnFalse ) { - memory = true; // Mark as halted - break; - } - } - firing = false; - if ( list ) { - if ( !flags.once ) { - if ( stack && stack.length ) { - memory = stack.shift(); - self.fireWith( memory[ 0 ], memory[ 1 ] ); - } - } else if ( memory === true ) { - self.disable(); - } else { - list = []; - } - } - }, - // Actual Callbacks object - self = { - // Add a callback or a collection of callbacks to the list - add: function() { - if ( list ) { - var length = list.length; - add( arguments ); - // Do we need to add the callbacks to the - // current firing batch? - if ( firing ) { - firingLength = list.length; - // With memory, if we're not firing then - // we should call right away, unless previous - // firing was halted (stopOnFalse) - } else if ( memory && memory !== true ) { - firingStart = length; - fire( memory[ 0 ], memory[ 1 ] ); - } - } - return this; - }, - // Remove a callback from the list - remove: function() { - if ( list ) { - var args = arguments, - argIndex = 0, - argLength = args.length; - for ( ; argIndex < argLength ; argIndex++ ) { - for ( var i = 0; i < list.length; i++ ) { - if ( args[ argIndex ] === list[ i ] ) { - // Handle firingIndex and firingLength - if ( firing ) { - if ( i <= firingLength ) { - firingLength--; - if ( i <= firingIndex ) { - firingIndex--; - } - } - } - // Remove the element - list.splice( i--, 1 ); - // If we have some unicity property then - // we only need to do this once - if ( flags.unique ) { - break; - } - } - } - } - } - return this; - }, - // Control if a given callback is in the list - has: function( fn ) { - if ( list ) { - var i = 0, - length = list.length; - for ( ; i < length; i++ ) { - if ( fn === list[ i ] ) { - return true; - } - } - } - return false; - }, - // Remove all callbacks from the list - empty: function() { - list = []; - return this; - }, - // Have the list do nothing anymore - disable: function() { - list = stack = memory = undefined; - return this; - }, - // Is it disabled? - disabled: function() { - return !list; - }, - // Lock the list in its current state - lock: function() { - stack = undefined; - if ( !memory || memory === true ) { - self.disable(); - } - return this; - }, - // Is it locked? - locked: function() { - return !stack; - }, - // Call all callbacks with the given context and arguments - fireWith: function( context, args ) { - if ( stack ) { - if ( firing ) { - if ( !flags.once ) { - stack.push( [ context, args ] ); - } - } else if ( !( flags.once && memory ) ) { - fire( context, args ); - } - } - return this; - }, - // Call all the callbacks with the given arguments - fire: function() { - self.fireWith( this, arguments ); - return this; - }, - // To know if the callbacks have already been called at least once - fired: function() { - return !!memory; - } - }; - - return self; -}; - - - - -var // Static reference to slice - sliceDeferred = [].slice; - -jQuery.extend({ - - Deferred: function( func ) { - var doneList = jQuery.Callbacks( "once memory" ), - failList = jQuery.Callbacks( "once memory" ), - progressList = jQuery.Callbacks( "memory" ), - state = "pending", - lists = { - resolve: doneList, - reject: failList, - notify: progressList - }, - promise = { - done: doneList.add, - fail: failList.add, - progress: progressList.add, - - state: function() { - return state; - }, - - // Deprecated - isResolved: doneList.fired, - isRejected: failList.fired, - - then: function( doneCallbacks, failCallbacks, progressCallbacks ) { - deferred.done( doneCallbacks ).fail( failCallbacks ).progress( progressCallbacks ); - return this; - }, - always: function() { - deferred.done.apply( deferred, arguments ).fail.apply( deferred, arguments ); - return this; - }, - pipe: function( fnDone, fnFail, fnProgress ) { - return jQuery.Deferred(function( newDefer ) { - jQuery.each( { - done: [ fnDone, "resolve" ], - fail: [ fnFail, "reject" ], - progress: [ fnProgress, "notify" ] - }, function( handler, data ) { - var fn = data[ 0 ], - action = data[ 1 ], - returned; - if ( jQuery.isFunction( fn ) ) { - deferred[ handler ](function() { - returned = fn.apply( this, arguments ); - if ( returned && jQuery.isFunction( returned.promise ) ) { - returned.promise().then( newDefer.resolve, newDefer.reject, newDefer.notify ); - } else { - newDefer[ action + "With" ]( this === deferred ? newDefer : this, [ returned ] ); - } - }); - } else { - deferred[ handler ]( newDefer[ action ] ); - } - }); - }).promise(); - }, - // Get a promise for this deferred - // If obj is provided, the promise aspect is added to the object - promise: function( obj ) { - if ( obj == null ) { - obj = promise; - } else { - for ( var key in promise ) { - obj[ key ] = promise[ key ]; - } - } - return obj; - } - }, - deferred = promise.promise({}), - key; - - for ( key in lists ) { - deferred[ key ] = lists[ key ].fire; - deferred[ key + "With" ] = lists[ key ].fireWith; - } - - // Handle state - deferred.done( function() { - state = "resolved"; - }, failList.disable, progressList.lock ).fail( function() { - state = "rejected"; - }, doneList.disable, progressList.lock ); - - // Call given func if any - if ( func ) { - func.call( deferred, deferred ); - } - - // All done! - return deferred; - }, - - // Deferred helper - when: function( firstParam ) { - var args = sliceDeferred.call( arguments, 0 ), - i = 0, - length = args.length, - pValues = new Array( length ), - count = length, - pCount = length, - deferred = length <= 1 && firstParam && jQuery.isFunction( firstParam.promise ) ? - firstParam : - jQuery.Deferred(), - promise = deferred.promise(); - function resolveFunc( i ) { - return function( value ) { - args[ i ] = arguments.length > 1 ? sliceDeferred.call( arguments, 0 ) : value; - if ( !( --count ) ) { - deferred.resolveWith( deferred, args ); - } - }; - } - function progressFunc( i ) { - return function( value ) { - pValues[ i ] = arguments.length > 1 ? sliceDeferred.call( arguments, 0 ) : value; - deferred.notifyWith( promise, pValues ); - }; - } - if ( length > 1 ) { - for ( ; i < length; i++ ) { - if ( args[ i ] && args[ i ].promise && jQuery.isFunction( args[ i ].promise ) ) { - args[ i ].promise().then( resolveFunc(i), deferred.reject, progressFunc(i) ); - } else { - --count; - } - } - if ( !count ) { - deferred.resolveWith( deferred, args ); - } - } else if ( deferred !== firstParam ) { - deferred.resolveWith( deferred, length ? [ firstParam ] : [] ); - } - return promise; - } -}); - - - - -jQuery.support = (function() { - - var support, - all, - a, - select, - opt, - input, - marginDiv, - fragment, - tds, - events, - eventName, - i, - isSupported, - div = document.createElement( "div" ), - documentElement = document.documentElement; - - // Preliminary tests - div.setAttribute("className", "t"); - div.innerHTML = "
                                                a"; - - all = div.getElementsByTagName( "*" ); - a = div.getElementsByTagName( "a" )[ 0 ]; - - // Can't get basic test support - if ( !all || !all.length || !a ) { - return {}; - } - - // First batch of supports tests - select = document.createElement( "select" ); - opt = select.appendChild( document.createElement("option") ); - input = div.getElementsByTagName( "input" )[ 0 ]; - - support = { - // IE strips leading whitespace when .innerHTML is used - leadingWhitespace: ( div.firstChild.nodeType === 3 ), - - // Make sure that tbody elements aren't automatically inserted - // IE will insert them into empty tables - tbody: !div.getElementsByTagName("tbody").length, - - // Make sure that link elements get serialized correctly by innerHTML - // This requires a wrapper element in IE - htmlSerialize: !!div.getElementsByTagName("link").length, - - // Get the style information from getAttribute - // (IE uses .cssText instead) - style: /top/.test( a.getAttribute("style") ), - - // Make sure that URLs aren't manipulated - // (IE normalizes it by default) - hrefNormalized: ( a.getAttribute("href") === "/a" ), - - // Make sure that element opacity exists - // (IE uses filter instead) - // Use a regex to work around a WebKit issue. See #5145 - opacity: /^0.55/.test( a.style.opacity ), - - // Verify style float existence - // (IE uses styleFloat instead of cssFloat) - cssFloat: !!a.style.cssFloat, - - // Make sure that if no value is specified for a checkbox - // that it defaults to "on". - // (WebKit defaults to "" instead) - checkOn: ( input.value === "on" ), - - // Make sure that a selected-by-default option has a working selected property. - // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) - optSelected: opt.selected, - - // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7) - getSetAttribute: div.className !== "t", - - // Tests for enctype support on a form(#6743) - enctype: !!document.createElement("form").enctype, - - // Makes sure cloning an html5 element does not cause problems - // Where outerHTML is undefined, this still works - html5Clone: document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav>", - - // Will be defined later - submitBubbles: true, - changeBubbles: true, - focusinBubbles: false, - deleteExpando: true, - noCloneEvent: true, - inlineBlockNeedsLayout: false, - shrinkWrapBlocks: false, - reliableMarginRight: true - }; - - // Make sure checked status is properly cloned - input.checked = true; - support.noCloneChecked = input.cloneNode( true ).checked; - - // Make sure that the options inside disabled selects aren't marked as disabled - // (WebKit marks them as disabled) - select.disabled = true; - support.optDisabled = !opt.disabled; - - // Test to see if it's possible to delete an expando from an element - // Fails in Internet Explorer - try { - delete div.test; - } catch( e ) { - support.deleteExpando = false; - } - - if ( !div.addEventListener && div.attachEvent && div.fireEvent ) { - div.attachEvent( "onclick", function() { - // Cloning a node shouldn't copy over any - // bound event handlers (IE does this) - support.noCloneEvent = false; - }); - div.cloneNode( true ).fireEvent( "onclick" ); - } - - // Check if a radio maintains its value - // after being appended to the DOM - input = document.createElement("input"); - input.value = "t"; - input.setAttribute("type", "radio"); - support.radioValue = input.value === "t"; - - input.setAttribute("checked", "checked"); - div.appendChild( input ); - fragment = document.createDocumentFragment(); - fragment.appendChild( div.lastChild ); - - // WebKit doesn't clone checked state correctly in fragments - support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked; - - // Check if a disconnected checkbox will retain its checked - // value of true after appended to the DOM (IE6/7) - support.appendChecked = input.checked; - - fragment.removeChild( input ); - fragment.appendChild( div ); - - div.innerHTML = ""; - - // Check if div with explicit width and no margin-right incorrectly - // gets computed margin-right based on width of container. For more - // info see bug #3333 - // Fails in WebKit before Feb 2011 nightlies - // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right - if ( window.getComputedStyle ) { - marginDiv = document.createElement( "div" ); - marginDiv.style.width = "0"; - marginDiv.style.marginRight = "0"; - div.style.width = "2px"; - div.appendChild( marginDiv ); - support.reliableMarginRight = - ( parseInt( ( window.getComputedStyle( marginDiv, null ) || { marginRight: 0 } ).marginRight, 10 ) || 0 ) === 0; - } - - // Technique from Juriy Zaytsev - // http://perfectionkills.com/detecting-event-support-without-browser-sniffing/ - // We only care about the case where non-standard event systems - // are used, namely in IE. Short-circuiting here helps us to - // avoid an eval call (in setAttribute) which can cause CSP - // to go haywire. See: https://developer.mozilla.org/en/Security/CSP - if ( div.attachEvent ) { - for( i in { - submit: 1, - change: 1, - focusin: 1 - }) { - eventName = "on" + i; - isSupported = ( eventName in div ); - if ( !isSupported ) { - div.setAttribute( eventName, "return;" ); - isSupported = ( typeof div[ eventName ] === "function" ); - } - support[ i + "Bubbles" ] = isSupported; - } - } - - fragment.removeChild( div ); - - // Null elements to avoid leaks in IE - fragment = select = opt = marginDiv = div = input = null; - - // Run tests that need a body at doc ready - jQuery(function() { - var container, outer, inner, table, td, offsetSupport, - conMarginTop, ptlm, vb, style, html, - body = document.getElementsByTagName("body")[0]; - - if ( !body ) { - // Return for frameset docs that don't have a body - return; - } - - conMarginTop = 1; - ptlm = "position:absolute;top:0;left:0;width:1px;height:1px;margin:0;"; - vb = "visibility:hidden;border:0;"; - style = "style='" + ptlm + "border:5px solid #000;padding:0;'"; - html = "
                                                " + - "" + - "
                                                "; - - container = document.createElement("div"); - container.style.cssText = vb + "width:0;height:0;position:static;top:0;margin-top:" + conMarginTop + "px"; - body.insertBefore( container, body.firstChild ); - - // Construct the test element - div = document.createElement("div"); - container.appendChild( div ); - - // Check if table cells still have offsetWidth/Height when they are set - // to display:none and there are still other visible table cells in a - // table row; if so, offsetWidth/Height are not reliable for use when - // determining if an element has been hidden directly using - // display:none (it is still safe to use offsets if a parent element is - // hidden; don safety goggles and see bug #4512 for more information). - // (only IE 8 fails this test) - div.innerHTML = "
                                                t
                                                "; - tds = div.getElementsByTagName( "td" ); - isSupported = ( tds[ 0 ].offsetHeight === 0 ); - - tds[ 0 ].style.display = ""; - tds[ 1 ].style.display = "none"; - - // Check if empty table cells still have offsetWidth/Height - // (IE <= 8 fail this test) - support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 ); - - // Figure out if the W3C box model works as expected - div.innerHTML = ""; - div.style.width = div.style.paddingLeft = "1px"; - jQuery.boxModel = support.boxModel = div.offsetWidth === 2; - - if ( typeof div.style.zoom !== "undefined" ) { - // Check if natively block-level elements act like inline-block - // elements when setting their display to 'inline' and giving - // them layout - // (IE < 8 does this) - div.style.display = "inline"; - div.style.zoom = 1; - support.inlineBlockNeedsLayout = ( div.offsetWidth === 2 ); - - // Check if elements with layout shrink-wrap their children - // (IE 6 does this) - div.style.display = ""; - div.innerHTML = "
                                                "; - support.shrinkWrapBlocks = ( div.offsetWidth !== 2 ); - } - - div.style.cssText = ptlm + vb; - div.innerHTML = html; - - outer = div.firstChild; - inner = outer.firstChild; - td = outer.nextSibling.firstChild.firstChild; - - offsetSupport = { - doesNotAddBorder: ( inner.offsetTop !== 5 ), - doesAddBorderForTableAndCells: ( td.offsetTop === 5 ) - }; - - inner.style.position = "fixed"; - inner.style.top = "20px"; - - // safari subtracts parent border width here which is 5px - offsetSupport.fixedPosition = ( inner.offsetTop === 20 || inner.offsetTop === 15 ); - inner.style.position = inner.style.top = ""; - - outer.style.overflow = "hidden"; - outer.style.position = "relative"; - - offsetSupport.subtractsBorderForOverflowNotVisible = ( inner.offsetTop === -5 ); - offsetSupport.doesNotIncludeMarginInBodyOffset = ( body.offsetTop !== conMarginTop ); - - body.removeChild( container ); - div = container = null; - - jQuery.extend( support, offsetSupport ); - }); - - return support; -})(); - - - - -var rbrace = /^(?:\{.*\}|\[.*\])$/, - rmultiDash = /([A-Z])/g; - -jQuery.extend({ - cache: {}, - - // Please use with caution - uuid: 0, - - // Unique for each copy of jQuery on the page - // Non-digits removed to match rinlinejQuery - expando: "jQuery" + ( jQuery.fn.jquery + Math.random() ).replace( /\D/g, "" ), - - // The following elements throw uncatchable exceptions if you - // attempt to add expando properties to them. - noData: { - "embed": true, - // Ban all objects except for Flash (which handle expandos) - "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", - "applet": true - }, - - hasData: function( elem ) { - elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; - return !!elem && !isEmptyDataObject( elem ); - }, - - data: function( elem, name, data, pvt /* Internal Use Only */ ) { - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var privateCache, thisCache, ret, - internalKey = jQuery.expando, - getByName = typeof name === "string", - - // We have to handle DOM nodes and JS objects differently because IE6-7 - // can't GC object references properly across the DOM-JS boundary - isNode = elem.nodeType, - - // Only DOM nodes need the global jQuery cache; JS object data is - // attached directly to the object so GC can occur automatically - cache = isNode ? jQuery.cache : elem, - - // Only defining an ID for JS objects if its cache already exists allows - // the code to shortcut on the same path as a DOM node with no cache - id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey, - isEvents = name === "events"; - - // Avoid doing any more work than we need to when trying to get data on an - // object that has no data at all - if ( (!id || !cache[id] || (!isEvents && !pvt && !cache[id].data)) && getByName && data === undefined ) { - return; - } - - if ( !id ) { - // Only DOM nodes need a new unique ID for each element since their data - // ends up in the global cache - if ( isNode ) { - elem[ internalKey ] = id = ++jQuery.uuid; - } else { - id = internalKey; - } - } - - if ( !cache[ id ] ) { - cache[ id ] = {}; - - // Avoids exposing jQuery metadata on plain JS objects when the object - // is serialized using JSON.stringify - if ( !isNode ) { - cache[ id ].toJSON = jQuery.noop; - } - } - - // An object can be passed to jQuery.data instead of a key/value pair; this gets - // shallow copied over onto the existing cache - if ( typeof name === "object" || typeof name === "function" ) { - if ( pvt ) { - cache[ id ] = jQuery.extend( cache[ id ], name ); - } else { - cache[ id ].data = jQuery.extend( cache[ id ].data, name ); - } - } - - privateCache = thisCache = cache[ id ]; - - // jQuery data() is stored in a separate object inside the object's internal data - // cache in order to avoid key collisions between internal data and user-defined - // data. - if ( !pvt ) { - if ( !thisCache.data ) { - thisCache.data = {}; - } - - thisCache = thisCache.data; - } - - if ( data !== undefined ) { - thisCache[ jQuery.camelCase( name ) ] = data; - } - - // Users should not attempt to inspect the internal events object using jQuery.data, - // it is undocumented and subject to change. But does anyone listen? No. - if ( isEvents && !thisCache[ name ] ) { - return privateCache.events; - } - - // Check for both converted-to-camel and non-converted data property names - // If a data property was specified - if ( getByName ) { - - // First Try to find as-is property data - ret = thisCache[ name ]; - - // Test for null|undefined property data - if ( ret == null ) { - - // Try to find the camelCased property - ret = thisCache[ jQuery.camelCase( name ) ]; - } - } else { - ret = thisCache; - } - - return ret; - }, - - removeData: function( elem, name, pvt /* Internal Use Only */ ) { - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var thisCache, i, l, - - // Reference to internal data cache key - internalKey = jQuery.expando, - - isNode = elem.nodeType, - - // See jQuery.data for more information - cache = isNode ? jQuery.cache : elem, - - // See jQuery.data for more information - id = isNode ? elem[ internalKey ] : internalKey; - - // If there is already no cache entry for this object, there is no - // purpose in continuing - if ( !cache[ id ] ) { - return; - } - - if ( name ) { - - thisCache = pvt ? cache[ id ] : cache[ id ].data; - - if ( thisCache ) { - - // Support array or space separated string names for data keys - if ( !jQuery.isArray( name ) ) { - - // try the string as a key before any manipulation - if ( name in thisCache ) { - name = [ name ]; - } else { - - // split the camel cased version by spaces unless a key with the spaces exists - name = jQuery.camelCase( name ); - if ( name in thisCache ) { - name = [ name ]; - } else { - name = name.split( " " ); - } - } - } - - for ( i = 0, l = name.length; i < l; i++ ) { - delete thisCache[ name[i] ]; - } - - // If there is no data left in the cache, we want to continue - // and let the cache object itself get destroyed - if ( !( pvt ? isEmptyDataObject : jQuery.isEmptyObject )( thisCache ) ) { - return; - } - } - } - - // See jQuery.data for more information - if ( !pvt ) { - delete cache[ id ].data; - - // Don't destroy the parent cache unless the internal data object - // had been the only thing left in it - if ( !isEmptyDataObject(cache[ id ]) ) { - return; - } - } - - // Browsers that fail expando deletion also refuse to delete expandos on - // the window, but it will allow it on all other JS objects; other browsers - // don't care - // Ensure that `cache` is not a window object #10080 - if ( jQuery.support.deleteExpando || !cache.setInterval ) { - delete cache[ id ]; - } else { - cache[ id ] = null; - } - - // We destroyed the cache and need to eliminate the expando on the node to avoid - // false lookups in the cache for entries that no longer exist - if ( isNode ) { - // IE does not allow us to delete expando properties from nodes, - // nor does it have a removeAttribute function on Document nodes; - // we must handle all of these cases - if ( jQuery.support.deleteExpando ) { - delete elem[ internalKey ]; - } else if ( elem.removeAttribute ) { - elem.removeAttribute( internalKey ); - } else { - elem[ internalKey ] = null; - } - } - }, - - // For internal use only. - _data: function( elem, name, data ) { - return jQuery.data( elem, name, data, true ); - }, - - // A method for determining if a DOM node can handle the data expando - acceptData: function( elem ) { - if ( elem.nodeName ) { - var match = jQuery.noData[ elem.nodeName.toLowerCase() ]; - - if ( match ) { - return !(match === true || elem.getAttribute("classid") !== match); - } - } - - return true; - } -}); - -jQuery.fn.extend({ - data: function( key, value ) { - var parts, attr, name, - data = null; - - if ( typeof key === "undefined" ) { - if ( this.length ) { - data = jQuery.data( this[0] ); - - if ( this[0].nodeType === 1 && !jQuery._data( this[0], "parsedAttrs" ) ) { - attr = this[0].attributes; - for ( var i = 0, l = attr.length; i < l; i++ ) { - name = attr[i].name; - - if ( name.indexOf( "data-" ) === 0 ) { - name = jQuery.camelCase( name.substring(5) ); - - dataAttr( this[0], name, data[ name ] ); - } - } - jQuery._data( this[0], "parsedAttrs", true ); - } - } - - return data; - - } else if ( typeof key === "object" ) { - return this.each(function() { - jQuery.data( this, key ); - }); - } - - parts = key.split("."); - parts[1] = parts[1] ? "." + parts[1] : ""; - - if ( value === undefined ) { - data = this.triggerHandler("getData" + parts[1] + "!", [parts[0]]); - - // Try to fetch any internally stored data first - if ( data === undefined && this.length ) { - data = jQuery.data( this[0], key ); - data = dataAttr( this[0], key, data ); - } - - return data === undefined && parts[1] ? - this.data( parts[0] ) : - data; - - } else { - return this.each(function() { - var self = jQuery( this ), - args = [ parts[0], value ]; - - self.triggerHandler( "setData" + parts[1] + "!", args ); - jQuery.data( this, key, value ); - self.triggerHandler( "changeData" + parts[1] + "!", args ); - }); - } - }, - - removeData: function( key ) { - return this.each(function() { - jQuery.removeData( this, key ); - }); - } -}); - -function dataAttr( elem, key, data ) { - // If nothing was found internally, try to fetch any - // data from the HTML5 data-* attribute - if ( data === undefined && elem.nodeType === 1 ) { - - var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); - - data = elem.getAttribute( name ); - - if ( typeof data === "string" ) { - try { - data = data === "true" ? true : - data === "false" ? false : - data === "null" ? null : - jQuery.isNumeric( data ) ? parseFloat( data ) : - rbrace.test( data ) ? jQuery.parseJSON( data ) : - data; - } catch( e ) {} - - // Make sure we set the data so it isn't changed later - jQuery.data( elem, key, data ); - - } else { - data = undefined; - } - } - - return data; -} - -// checks a cache object for emptiness -function isEmptyDataObject( obj ) { - for ( var name in obj ) { - - // if the public data object is empty, the private is still empty - if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { - continue; - } - if ( name !== "toJSON" ) { - return false; - } - } - - return true; -} - - - - -function handleQueueMarkDefer( elem, type, src ) { - var deferDataKey = type + "defer", - queueDataKey = type + "queue", - markDataKey = type + "mark", - defer = jQuery._data( elem, deferDataKey ); - if ( defer && - ( src === "queue" || !jQuery._data(elem, queueDataKey) ) && - ( src === "mark" || !jQuery._data(elem, markDataKey) ) ) { - // Give room for hard-coded callbacks to fire first - // and eventually mark/queue something else on the element - setTimeout( function() { - if ( !jQuery._data( elem, queueDataKey ) && - !jQuery._data( elem, markDataKey ) ) { - jQuery.removeData( elem, deferDataKey, true ); - defer.fire(); - } - }, 0 ); - } -} - -jQuery.extend({ - - _mark: function( elem, type ) { - if ( elem ) { - type = ( type || "fx" ) + "mark"; - jQuery._data( elem, type, (jQuery._data( elem, type ) || 0) + 1 ); - } - }, - - _unmark: function( force, elem, type ) { - if ( force !== true ) { - type = elem; - elem = force; - force = false; - } - if ( elem ) { - type = type || "fx"; - var key = type + "mark", - count = force ? 0 : ( (jQuery._data( elem, key ) || 1) - 1 ); - if ( count ) { - jQuery._data( elem, key, count ); - } else { - jQuery.removeData( elem, key, true ); - handleQueueMarkDefer( elem, type, "mark" ); - } - } - }, - - queue: function( elem, type, data ) { - var q; - if ( elem ) { - type = ( type || "fx" ) + "queue"; - q = jQuery._data( elem, type ); - - // Speed up dequeue by getting out quickly if this is just a lookup - if ( data ) { - if ( !q || jQuery.isArray(data) ) { - q = jQuery._data( elem, type, jQuery.makeArray(data) ); - } else { - q.push( data ); - } - } - return q || []; - } - }, - - dequeue: function( elem, type ) { - type = type || "fx"; - - var queue = jQuery.queue( elem, type ), - fn = queue.shift(), - hooks = {}; - - // If the fx queue is dequeued, always remove the progress sentinel - if ( fn === "inprogress" ) { - fn = queue.shift(); - } - - if ( fn ) { - // Add a progress sentinel to prevent the fx queue from being - // automatically dequeued - if ( type === "fx" ) { - queue.unshift( "inprogress" ); - } - - jQuery._data( elem, type + ".run", hooks ); - fn.call( elem, function() { - jQuery.dequeue( elem, type ); - }, hooks ); - } - - if ( !queue.length ) { - jQuery.removeData( elem, type + "queue " + type + ".run", true ); - handleQueueMarkDefer( elem, type, "queue" ); - } - } -}); - -jQuery.fn.extend({ - queue: function( type, data ) { - if ( typeof type !== "string" ) { - data = type; - type = "fx"; - } - - if ( data === undefined ) { - return jQuery.queue( this[0], type ); - } - return this.each(function() { - var queue = jQuery.queue( this, type, data ); - - if ( type === "fx" && queue[0] !== "inprogress" ) { - jQuery.dequeue( this, type ); - } - }); - }, - dequeue: function( type ) { - return this.each(function() { - jQuery.dequeue( this, type ); - }); - }, - // Based off of the plugin by Clint Helfers, with permission. - // http://blindsignals.com/index.php/2009/07/jquery-delay/ - delay: function( time, type ) { - time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; - type = type || "fx"; - - return this.queue( type, function( next, hooks ) { - var timeout = setTimeout( next, time ); - hooks.stop = function() { - clearTimeout( timeout ); - }; - }); - }, - clearQueue: function( type ) { - return this.queue( type || "fx", [] ); - }, - // Get a promise resolved when queues of a certain type - // are emptied (fx is the type by default) - promise: function( type, object ) { - if ( typeof type !== "string" ) { - object = type; - type = undefined; - } - type = type || "fx"; - var defer = jQuery.Deferred(), - elements = this, - i = elements.length, - count = 1, - deferDataKey = type + "defer", - queueDataKey = type + "queue", - markDataKey = type + "mark", - tmp; - function resolve() { - if ( !( --count ) ) { - defer.resolveWith( elements, [ elements ] ); - } - } - while( i-- ) { - if (( tmp = jQuery.data( elements[ i ], deferDataKey, undefined, true ) || - ( jQuery.data( elements[ i ], queueDataKey, undefined, true ) || - jQuery.data( elements[ i ], markDataKey, undefined, true ) ) && - jQuery.data( elements[ i ], deferDataKey, jQuery.Callbacks( "once memory" ), true ) )) { - count++; - tmp.add( resolve ); - } - } - resolve(); - return defer.promise(); - } -}); - - - - -var rclass = /[\n\t\r]/g, - rspace = /\s+/, - rreturn = /\r/g, - rtype = /^(?:button|input)$/i, - rfocusable = /^(?:button|input|object|select|textarea)$/i, - rclickable = /^a(?:rea)?$/i, - rboolean = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i, - getSetAttribute = jQuery.support.getSetAttribute, - nodeHook, boolHook, fixSpecified; - -jQuery.fn.extend({ - attr: function( name, value ) { - return jQuery.access( this, name, value, true, jQuery.attr ); - }, - - removeAttr: function( name ) { - return this.each(function() { - jQuery.removeAttr( this, name ); - }); - }, - - prop: function( name, value ) { - return jQuery.access( this, name, value, true, jQuery.prop ); - }, - - removeProp: function( name ) { - name = jQuery.propFix[ name ] || name; - return this.each(function() { - // try/catch handles cases where IE balks (such as removing a property on window) - try { - this[ name ] = undefined; - delete this[ name ]; - } catch( e ) {} - }); - }, - - addClass: function( value ) { - var classNames, i, l, elem, - setClass, c, cl; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( j ) { - jQuery( this ).addClass( value.call(this, j, this.className) ); - }); - } - - if ( value && typeof value === "string" ) { - classNames = value.split( rspace ); - - for ( i = 0, l = this.length; i < l; i++ ) { - elem = this[ i ]; - - if ( elem.nodeType === 1 ) { - if ( !elem.className && classNames.length === 1 ) { - elem.className = value; - - } else { - setClass = " " + elem.className + " "; - - for ( c = 0, cl = classNames.length; c < cl; c++ ) { - if ( !~setClass.indexOf( " " + classNames[ c ] + " " ) ) { - setClass += classNames[ c ] + " "; - } - } - elem.className = jQuery.trim( setClass ); - } - } - } - } - - return this; - }, - - removeClass: function( value ) { - var classNames, i, l, elem, className, c, cl; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( j ) { - jQuery( this ).removeClass( value.call(this, j, this.className) ); - }); - } - - if ( (value && typeof value === "string") || value === undefined ) { - classNames = ( value || "" ).split( rspace ); - - for ( i = 0, l = this.length; i < l; i++ ) { - elem = this[ i ]; - - if ( elem.nodeType === 1 && elem.className ) { - if ( value ) { - className = (" " + elem.className + " ").replace( rclass, " " ); - for ( c = 0, cl = classNames.length; c < cl; c++ ) { - className = className.replace(" " + classNames[ c ] + " ", " "); - } - elem.className = jQuery.trim( className ); - - } else { - elem.className = ""; - } - } - } - } - - return this; - }, - - toggleClass: function( value, stateVal ) { - var type = typeof value, - isBool = typeof stateVal === "boolean"; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( i ) { - jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal ); - }); - } - - return this.each(function() { - if ( type === "string" ) { - // toggle individual class names - var className, - i = 0, - self = jQuery( this ), - state = stateVal, - classNames = value.split( rspace ); - - while ( (className = classNames[ i++ ]) ) { - // check each className given, space seperated list - state = isBool ? state : !self.hasClass( className ); - self[ state ? "addClass" : "removeClass" ]( className ); - } - - } else if ( type === "undefined" || type === "boolean" ) { - if ( this.className ) { - // store className if set - jQuery._data( this, "__className__", this.className ); - } - - // toggle whole className - this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || ""; - } - }); - }, - - hasClass: function( selector ) { - var className = " " + selector + " ", - i = 0, - l = this.length; - for ( ; i < l; i++ ) { - if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) > -1 ) { - return true; - } - } - - return false; - }, - - val: function( value ) { - var hooks, ret, isFunction, - elem = this[0]; - - if ( !arguments.length ) { - if ( elem ) { - hooks = jQuery.valHooks[ elem.nodeName.toLowerCase() ] || jQuery.valHooks[ elem.type ]; - - if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) { - return ret; - } - - ret = elem.value; - - return typeof ret === "string" ? - // handle most common string cases - ret.replace(rreturn, "") : - // handle cases where value is null/undef or number - ret == null ? "" : ret; - } - - return; - } - - isFunction = jQuery.isFunction( value ); - - return this.each(function( i ) { - var self = jQuery(this), val; - - if ( this.nodeType !== 1 ) { - return; - } - - if ( isFunction ) { - val = value.call( this, i, self.val() ); - } else { - val = value; - } - - // Treat null/undefined as ""; convert numbers to string - if ( val == null ) { - val = ""; - } else if ( typeof val === "number" ) { - val += ""; - } else if ( jQuery.isArray( val ) ) { - val = jQuery.map(val, function ( value ) { - return value == null ? "" : value + ""; - }); - } - - hooks = jQuery.valHooks[ this.nodeName.toLowerCase() ] || jQuery.valHooks[ this.type ]; - - // If set returns undefined, fall back to normal setting - if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) { - this.value = val; - } - }); - } -}); - -jQuery.extend({ - valHooks: { - option: { - get: function( elem ) { - // attributes.value is undefined in Blackberry 4.7 but - // uses .value. See #6932 - var val = elem.attributes.value; - return !val || val.specified ? elem.value : elem.text; - } - }, - select: { - get: function( elem ) { - var value, i, max, option, - index = elem.selectedIndex, - values = [], - options = elem.options, - one = elem.type === "select-one"; - - // Nothing was selected - if ( index < 0 ) { - return null; - } - - // Loop through all the selected options - i = one ? index : 0; - max = one ? index + 1 : options.length; - for ( ; i < max; i++ ) { - option = options[ i ]; - - // Don't return options that are disabled or in a disabled optgroup - if ( option.selected && (jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null) && - (!option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" )) ) { - - // Get the specific value for the option - value = jQuery( option ).val(); - - // We don't need an array for one selects - if ( one ) { - return value; - } - - // Multi-Selects return an array - values.push( value ); - } - } - - // Fixes Bug #2551 -- select.val() broken in IE after form.reset() - if ( one && !values.length && options.length ) { - return jQuery( options[ index ] ).val(); - } - - return values; - }, - - set: function( elem, value ) { - var values = jQuery.makeArray( value ); - - jQuery(elem).find("option").each(function() { - this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0; - }); - - if ( !values.length ) { - elem.selectedIndex = -1; - } - return values; - } - } - }, - - attrFn: { - val: true, - css: true, - html: true, - text: true, - data: true, - width: true, - height: true, - offset: true - }, - - attr: function( elem, name, value, pass ) { - var ret, hooks, notxml, - nType = elem.nodeType; - - // don't get/set attributes on text, comment and attribute nodes - if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - if ( pass && name in jQuery.attrFn ) { - return jQuery( elem )[ name ]( value ); - } - - // Fallback to prop when attributes are not supported - if ( typeof elem.getAttribute === "undefined" ) { - return jQuery.prop( elem, name, value ); - } - - notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); - - // All attributes are lowercase - // Grab necessary hook if one is defined - if ( notxml ) { - name = name.toLowerCase(); - hooks = jQuery.attrHooks[ name ] || ( rboolean.test( name ) ? boolHook : nodeHook ); - } - - if ( value !== undefined ) { - - if ( value === null ) { - jQuery.removeAttr( elem, name ); - return; - - } else if ( hooks && "set" in hooks && notxml && (ret = hooks.set( elem, value, name )) !== undefined ) { - return ret; - - } else { - elem.setAttribute( name, "" + value ); - return value; - } - - } else if ( hooks && "get" in hooks && notxml && (ret = hooks.get( elem, name )) !== null ) { - return ret; - - } else { - - ret = elem.getAttribute( name ); - - // Non-existent attributes return null, we normalize to undefined - return ret === null ? - undefined : - ret; - } - }, - - removeAttr: function( elem, value ) { - var propName, attrNames, name, l, - i = 0; - - if ( value && elem.nodeType === 1 ) { - attrNames = value.toLowerCase().split( rspace ); - l = attrNames.length; - - for ( ; i < l; i++ ) { - name = attrNames[ i ]; - - if ( name ) { - propName = jQuery.propFix[ name ] || name; - - // See #9699 for explanation of this approach (setting first, then removal) - jQuery.attr( elem, name, "" ); - elem.removeAttribute( getSetAttribute ? name : propName ); - - // Set corresponding property to false for boolean attributes - if ( rboolean.test( name ) && propName in elem ) { - elem[ propName ] = false; - } - } - } - } - }, - - attrHooks: { - type: { - set: function( elem, value ) { - // We can't allow the type property to be changed (since it causes problems in IE) - if ( rtype.test( elem.nodeName ) && elem.parentNode ) { - jQuery.error( "type property can't be changed" ); - } else if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) { - // Setting the type on a radio button after the value resets the value in IE6-9 - // Reset value to it's default in case type is set after value - // This is for element creation - var val = elem.value; - elem.setAttribute( "type", value ); - if ( val ) { - elem.value = val; - } - return value; - } - } - }, - // Use the value property for back compat - // Use the nodeHook for button elements in IE6/7 (#1954) - value: { - get: function( elem, name ) { - if ( nodeHook && jQuery.nodeName( elem, "button" ) ) { - return nodeHook.get( elem, name ); - } - return name in elem ? - elem.value : - null; - }, - set: function( elem, value, name ) { - if ( nodeHook && jQuery.nodeName( elem, "button" ) ) { - return nodeHook.set( elem, value, name ); - } - // Does not return so that setAttribute is also used - elem.value = value; - } - } - }, - - propFix: { - tabindex: "tabIndex", - readonly: "readOnly", - "for": "htmlFor", - "class": "className", - maxlength: "maxLength", - cellspacing: "cellSpacing", - cellpadding: "cellPadding", - rowspan: "rowSpan", - colspan: "colSpan", - usemap: "useMap", - frameborder: "frameBorder", - contenteditable: "contentEditable" - }, - - prop: function( elem, name, value ) { - var ret, hooks, notxml, - nType = elem.nodeType; - - // don't get/set properties on text, comment and attribute nodes - if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); - - if ( notxml ) { - // Fix name and attach hooks - name = jQuery.propFix[ name ] || name; - hooks = jQuery.propHooks[ name ]; - } - - if ( value !== undefined ) { - if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { - return ret; - - } else { - return ( elem[ name ] = value ); - } - - } else { - if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { - return ret; - - } else { - return elem[ name ]; - } - } - }, - - propHooks: { - tabIndex: { - get: function( elem ) { - // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set - // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ - var attributeNode = elem.getAttributeNode("tabindex"); - - return attributeNode && attributeNode.specified ? - parseInt( attributeNode.value, 10 ) : - rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? - 0 : - undefined; - } - } - } -}); - -// Add the tabIndex propHook to attrHooks for back-compat (different case is intentional) -jQuery.attrHooks.tabindex = jQuery.propHooks.tabIndex; - -// Hook for boolean attributes -boolHook = { - get: function( elem, name ) { - // Align boolean attributes with corresponding properties - // Fall back to attribute presence where some booleans are not supported - var attrNode, - property = jQuery.prop( elem, name ); - return property === true || typeof property !== "boolean" && ( attrNode = elem.getAttributeNode(name) ) && attrNode.nodeValue !== false ? - name.toLowerCase() : - undefined; - }, - set: function( elem, value, name ) { - var propName; - if ( value === false ) { - // Remove boolean attributes when set to false - jQuery.removeAttr( elem, name ); - } else { - // value is true since we know at this point it's type boolean and not false - // Set boolean attributes to the same name and set the DOM property - propName = jQuery.propFix[ name ] || name; - if ( propName in elem ) { - // Only set the IDL specifically if it already exists on the element - elem[ propName ] = true; - } - - elem.setAttribute( name, name.toLowerCase() ); - } - return name; - } -}; - -// IE6/7 do not support getting/setting some attributes with get/setAttribute -if ( !getSetAttribute ) { - - fixSpecified = { - name: true, - id: true - }; - - // Use this for any attribute in IE6/7 - // This fixes almost every IE6/7 issue - nodeHook = jQuery.valHooks.button = { - get: function( elem, name ) { - var ret; - ret = elem.getAttributeNode( name ); - return ret && ( fixSpecified[ name ] ? ret.nodeValue !== "" : ret.specified ) ? - ret.nodeValue : - undefined; - }, - set: function( elem, value, name ) { - // Set the existing or create a new attribute node - var ret = elem.getAttributeNode( name ); - if ( !ret ) { - ret = document.createAttribute( name ); - elem.setAttributeNode( ret ); - } - return ( ret.nodeValue = value + "" ); - } - }; - - // Apply the nodeHook to tabindex - jQuery.attrHooks.tabindex.set = nodeHook.set; - - // Set width and height to auto instead of 0 on empty string( Bug #8150 ) - // This is for removals - jQuery.each([ "width", "height" ], function( i, name ) { - jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { - set: function( elem, value ) { - if ( value === "" ) { - elem.setAttribute( name, "auto" ); - return value; - } - } - }); - }); - - // Set contenteditable to false on removals(#10429) - // Setting to empty string throws an error as an invalid value - jQuery.attrHooks.contenteditable = { - get: nodeHook.get, - set: function( elem, value, name ) { - if ( value === "" ) { - value = "false"; - } - nodeHook.set( elem, value, name ); - } - }; -} - - -// Some attributes require a special call on IE -if ( !jQuery.support.hrefNormalized ) { - jQuery.each([ "href", "src", "width", "height" ], function( i, name ) { - jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { - get: function( elem ) { - var ret = elem.getAttribute( name, 2 ); - return ret === null ? undefined : ret; - } - }); - }); -} - -if ( !jQuery.support.style ) { - jQuery.attrHooks.style = { - get: function( elem ) { - // Return undefined in the case of empty string - // Normalize to lowercase since IE uppercases css property names - return elem.style.cssText.toLowerCase() || undefined; - }, - set: function( elem, value ) { - return ( elem.style.cssText = "" + value ); - } - }; -} - -// Safari mis-reports the default selected property of an option -// Accessing the parent's selectedIndex property fixes it -if ( !jQuery.support.optSelected ) { - jQuery.propHooks.selected = jQuery.extend( jQuery.propHooks.selected, { - get: function( elem ) { - var parent = elem.parentNode; - - if ( parent ) { - parent.selectedIndex; - - // Make sure that it also works with optgroups, see #5701 - if ( parent.parentNode ) { - parent.parentNode.selectedIndex; - } - } - return null; - } - }); -} - -// IE6/7 call enctype encoding -if ( !jQuery.support.enctype ) { - jQuery.propFix.enctype = "encoding"; -} - -// Radios and checkboxes getter/setter -if ( !jQuery.support.checkOn ) { - jQuery.each([ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = { - get: function( elem ) { - // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified - return elem.getAttribute("value") === null ? "on" : elem.value; - } - }; - }); -} -jQuery.each([ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = jQuery.extend( jQuery.valHooks[ this ], { - set: function( elem, value ) { - if ( jQuery.isArray( value ) ) { - return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 ); - } - } - }); -}); - - - - -var rformElems = /^(?:textarea|input|select)$/i, - rtypenamespace = /^([^\.]*)?(?:\.(.+))?$/, - rhoverHack = /\bhover(\.\S+)?\b/, - rkeyEvent = /^key/, - rmouseEvent = /^(?:mouse|contextmenu)|click/, - rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, - rquickIs = /^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/, - quickParse = function( selector ) { - var quick = rquickIs.exec( selector ); - if ( quick ) { - // 0 1 2 3 - // [ _, tag, id, class ] - quick[1] = ( quick[1] || "" ).toLowerCase(); - quick[3] = quick[3] && new RegExp( "(?:^|\\s)" + quick[3] + "(?:\\s|$)" ); - } - return quick; - }, - quickIs = function( elem, m ) { - var attrs = elem.attributes || {}; - return ( - (!m[1] || elem.nodeName.toLowerCase() === m[1]) && - (!m[2] || (attrs.id || {}).value === m[2]) && - (!m[3] || m[3].test( (attrs[ "class" ] || {}).value )) - ); - }, - hoverHack = function( events ) { - return jQuery.event.special.hover ? events : events.replace( rhoverHack, "mouseenter$1 mouseleave$1" ); - }; - -/* - * Helper functions for managing events -- not part of the public interface. - * Props to Dean Edwards' addEvent library for many of the ideas. - */ -jQuery.event = { - - add: function( elem, types, handler, data, selector ) { - - var elemData, eventHandle, events, - t, tns, type, namespaces, handleObj, - handleObjIn, quick, handlers, special; - - // Don't attach events to noData or text/comment nodes (allow plain objects tho) - if ( elem.nodeType === 3 || elem.nodeType === 8 || !types || !handler || !(elemData = jQuery._data( elem )) ) { - return; - } - - // Caller can pass in an object of custom data in lieu of the handler - if ( handler.handler ) { - handleObjIn = handler; - handler = handleObjIn.handler; - } - - // Make sure that the handler has a unique ID, used to find/remove it later - if ( !handler.guid ) { - handler.guid = jQuery.guid++; - } - - // Init the element's event structure and main handler, if this is the first - events = elemData.events; - if ( !events ) { - elemData.events = events = {}; - } - eventHandle = elemData.handle; - if ( !eventHandle ) { - elemData.handle = eventHandle = function( e ) { - // Discard the second event of a jQuery.event.trigger() and - // when an event is called after a page has unloaded - return typeof jQuery !== "undefined" && (!e || jQuery.event.triggered !== e.type) ? - jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : - undefined; - }; - // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events - eventHandle.elem = elem; - } - - // Handle multiple events separated by a space - // jQuery(...).bind("mouseover mouseout", fn); - types = jQuery.trim( hoverHack(types) ).split( " " ); - for ( t = 0; t < types.length; t++ ) { - - tns = rtypenamespace.exec( types[t] ) || []; - type = tns[1]; - namespaces = ( tns[2] || "" ).split( "." ).sort(); - - // If event changes its type, use the special event handlers for the changed type - special = jQuery.event.special[ type ] || {}; - - // If selector defined, determine special event api type, otherwise given type - type = ( selector ? special.delegateType : special.bindType ) || type; - - // Update special based on newly reset type - special = jQuery.event.special[ type ] || {}; - - // handleObj is passed to all event handlers - handleObj = jQuery.extend({ - type: type, - origType: tns[1], - data: data, - handler: handler, - guid: handler.guid, - selector: selector, - quick: quickParse( selector ), - namespace: namespaces.join(".") - }, handleObjIn ); - - // Init the event handler queue if we're the first - handlers = events[ type ]; - if ( !handlers ) { - handlers = events[ type ] = []; - handlers.delegateCount = 0; - - // Only use addEventListener/attachEvent if the special events handler returns false - if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { - // Bind the global event handler to the element - if ( elem.addEventListener ) { - elem.addEventListener( type, eventHandle, false ); - - } else if ( elem.attachEvent ) { - elem.attachEvent( "on" + type, eventHandle ); - } - } - } - - if ( special.add ) { - special.add.call( elem, handleObj ); - - if ( !handleObj.handler.guid ) { - handleObj.handler.guid = handler.guid; - } - } - - // Add to the element's handler list, delegates in front - if ( selector ) { - handlers.splice( handlers.delegateCount++, 0, handleObj ); - } else { - handlers.push( handleObj ); - } - - // Keep track of which events have ever been used, for event optimization - jQuery.event.global[ type ] = true; - } - - // Nullify elem to prevent memory leaks in IE - elem = null; - }, - - global: {}, - - // Detach an event or set of events from an element - remove: function( elem, types, handler, selector, mappedTypes ) { - - var elemData = jQuery.hasData( elem ) && jQuery._data( elem ), - t, tns, type, origType, namespaces, origCount, - j, events, special, handle, eventType, handleObj; - - if ( !elemData || !(events = elemData.events) ) { - return; - } - - // Once for each type.namespace in types; type may be omitted - types = jQuery.trim( hoverHack( types || "" ) ).split(" "); - for ( t = 0; t < types.length; t++ ) { - tns = rtypenamespace.exec( types[t] ) || []; - type = origType = tns[1]; - namespaces = tns[2]; - - // Unbind all events (on this namespace, if provided) for the element - if ( !type ) { - for ( type in events ) { - jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); - } - continue; - } - - special = jQuery.event.special[ type ] || {}; - type = ( selector? special.delegateType : special.bindType ) || type; - eventType = events[ type ] || []; - origCount = eventType.length; - namespaces = namespaces ? new RegExp("(^|\\.)" + namespaces.split(".").sort().join("\\.(?:.*\\.)?") + "(\\.|$)") : null; - - // Remove matching events - for ( j = 0; j < eventType.length; j++ ) { - handleObj = eventType[ j ]; - - if ( ( mappedTypes || origType === handleObj.origType ) && - ( !handler || handler.guid === handleObj.guid ) && - ( !namespaces || namespaces.test( handleObj.namespace ) ) && - ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { - eventType.splice( j--, 1 ); - - if ( handleObj.selector ) { - eventType.delegateCount--; - } - if ( special.remove ) { - special.remove.call( elem, handleObj ); - } - } - } - - // Remove generic event handler if we removed something and no more handlers exist - // (avoids potential for endless recursion during removal of special event handlers) - if ( eventType.length === 0 && origCount !== eventType.length ) { - if ( !special.teardown || special.teardown.call( elem, namespaces ) === false ) { - jQuery.removeEvent( elem, type, elemData.handle ); - } - - delete events[ type ]; - } - } - - // Remove the expando if it's no longer used - if ( jQuery.isEmptyObject( events ) ) { - handle = elemData.handle; - if ( handle ) { - handle.elem = null; - } - - // removeData also checks for emptiness and clears the expando if empty - // so use it instead of delete - jQuery.removeData( elem, [ "events", "handle" ], true ); - } - }, - - // Events that are safe to short-circuit if no handlers are attached. - // Native DOM events should not be added, they may have inline handlers. - customEvent: { - "getData": true, - "setData": true, - "changeData": true - }, - - trigger: function( event, data, elem, onlyHandlers ) { - // Don't do events on text and comment nodes - if ( elem && (elem.nodeType === 3 || elem.nodeType === 8) ) { - return; - } - - // Event object or event type - var type = event.type || event, - namespaces = [], - cache, exclusive, i, cur, old, ontype, special, handle, eventPath, bubbleType; - - // focus/blur morphs to focusin/out; ensure we're not firing them right now - if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { - return; - } - - if ( type.indexOf( "!" ) >= 0 ) { - // Exclusive events trigger only for the exact event (no namespaces) - type = type.slice(0, -1); - exclusive = true; - } - - if ( type.indexOf( "." ) >= 0 ) { - // Namespaced trigger; create a regexp to match event type in handle() - namespaces = type.split("."); - type = namespaces.shift(); - namespaces.sort(); - } - - if ( (!elem || jQuery.event.customEvent[ type ]) && !jQuery.event.global[ type ] ) { - // No jQuery handlers for this event type, and it can't have inline handlers - return; - } - - // Caller can pass in an Event, Object, or just an event type string - event = typeof event === "object" ? - // jQuery.Event object - event[ jQuery.expando ] ? event : - // Object literal - new jQuery.Event( type, event ) : - // Just the event type (string) - new jQuery.Event( type ); - - event.type = type; - event.isTrigger = true; - event.exclusive = exclusive; - event.namespace = namespaces.join( "." ); - event.namespace_re = event.namespace? new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.)?") + "(\\.|$)") : null; - ontype = type.indexOf( ":" ) < 0 ? "on" + type : ""; - - // Handle a global trigger - if ( !elem ) { - - // TODO: Stop taunting the data cache; remove global events and always attach to document - cache = jQuery.cache; - for ( i in cache ) { - if ( cache[ i ].events && cache[ i ].events[ type ] ) { - jQuery.event.trigger( event, data, cache[ i ].handle.elem, true ); - } - } - return; - } - - // Clean up the event in case it is being reused - event.result = undefined; - if ( !event.target ) { - event.target = elem; - } - - // Clone any incoming data and prepend the event, creating the handler arg list - data = data != null ? jQuery.makeArray( data ) : []; - data.unshift( event ); - - // Allow special events to draw outside the lines - special = jQuery.event.special[ type ] || {}; - if ( special.trigger && special.trigger.apply( elem, data ) === false ) { - return; - } - - // Determine event propagation path in advance, per W3C events spec (#9951) - // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) - eventPath = [[ elem, special.bindType || type ]]; - if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { - - bubbleType = special.delegateType || type; - cur = rfocusMorph.test( bubbleType + type ) ? elem : elem.parentNode; - old = null; - for ( ; cur; cur = cur.parentNode ) { - eventPath.push([ cur, bubbleType ]); - old = cur; - } - - // Only add window if we got to document (e.g., not plain obj or detached DOM) - if ( old && old === elem.ownerDocument ) { - eventPath.push([ old.defaultView || old.parentWindow || window, bubbleType ]); - } - } - - // Fire handlers on the event path - for ( i = 0; i < eventPath.length && !event.isPropagationStopped(); i++ ) { - - cur = eventPath[i][0]; - event.type = eventPath[i][1]; - - handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); - if ( handle ) { - handle.apply( cur, data ); - } - // Note that this is a bare JS function and not a jQuery handler - handle = ontype && cur[ ontype ]; - if ( handle && jQuery.acceptData( cur ) && handle.apply( cur, data ) === false ) { - event.preventDefault(); - } - } - event.type = type; - - // If nobody prevented the default action, do it now - if ( !onlyHandlers && !event.isDefaultPrevented() ) { - - if ( (!special._default || special._default.apply( elem.ownerDocument, data ) === false) && - !(type === "click" && jQuery.nodeName( elem, "a" )) && jQuery.acceptData( elem ) ) { - - // Call a native DOM method on the target with the same name name as the event. - // Can't use an .isFunction() check here because IE6/7 fails that test. - // Don't do default actions on window, that's where global variables be (#6170) - // IE<9 dies on focus/blur to hidden element (#1486) - if ( ontype && elem[ type ] && ((type !== "focus" && type !== "blur") || event.target.offsetWidth !== 0) && !jQuery.isWindow( elem ) ) { - - // Don't re-trigger an onFOO event when we call its FOO() method - old = elem[ ontype ]; - - if ( old ) { - elem[ ontype ] = null; - } - - // Prevent re-triggering of the same event, since we already bubbled it above - jQuery.event.triggered = type; - elem[ type ](); - jQuery.event.triggered = undefined; - - if ( old ) { - elem[ ontype ] = old; - } - } - } - } - - return event.result; - }, - - dispatch: function( event ) { - - // Make a writable jQuery.Event from the native event object - event = jQuery.event.fix( event || window.event ); - - var handlers = ( (jQuery._data( this, "events" ) || {} )[ event.type ] || []), - delegateCount = handlers.delegateCount, - args = [].slice.call( arguments, 0 ), - run_all = !event.exclusive && !event.namespace, - handlerQueue = [], - i, j, cur, jqcur, ret, selMatch, matched, matches, handleObj, sel, related; - - // Use the fix-ed jQuery.Event rather than the (read-only) native event - args[0] = event; - event.delegateTarget = this; - - // Determine handlers that should run if there are delegated events - // Avoid disabled elements in IE (#6911) and non-left-click bubbling in Firefox (#3861) - if ( delegateCount && !event.target.disabled && !(event.button && event.type === "click") ) { - - // Pregenerate a single jQuery object for reuse with .is() - jqcur = jQuery(this); - jqcur.context = this.ownerDocument || this; - - for ( cur = event.target; cur != this; cur = cur.parentNode || this ) { - selMatch = {}; - matches = []; - jqcur[0] = cur; - for ( i = 0; i < delegateCount; i++ ) { - handleObj = handlers[ i ]; - sel = handleObj.selector; - - if ( selMatch[ sel ] === undefined ) { - selMatch[ sel ] = ( - handleObj.quick ? quickIs( cur, handleObj.quick ) : jqcur.is( sel ) - ); - } - if ( selMatch[ sel ] ) { - matches.push( handleObj ); - } - } - if ( matches.length ) { - handlerQueue.push({ elem: cur, matches: matches }); - } - } - } - - // Add the remaining (directly-bound) handlers - if ( handlers.length > delegateCount ) { - handlerQueue.push({ elem: this, matches: handlers.slice( delegateCount ) }); - } - - // Run delegates first; they may want to stop propagation beneath us - for ( i = 0; i < handlerQueue.length && !event.isPropagationStopped(); i++ ) { - matched = handlerQueue[ i ]; - event.currentTarget = matched.elem; - - for ( j = 0; j < matched.matches.length && !event.isImmediatePropagationStopped(); j++ ) { - handleObj = matched.matches[ j ]; - - // Triggered event must either 1) be non-exclusive and have no namespace, or - // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). - if ( run_all || (!event.namespace && !handleObj.namespace) || event.namespace_re && event.namespace_re.test( handleObj.namespace ) ) { - - event.data = handleObj.data; - event.handleObj = handleObj; - - ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) - .apply( matched.elem, args ); - - if ( ret !== undefined ) { - event.result = ret; - if ( ret === false ) { - event.preventDefault(); - event.stopPropagation(); - } - } - } - } - } - - return event.result; - }, - - // Includes some event props shared by KeyEvent and MouseEvent - // *** attrChange attrName relatedNode srcElement are not normalized, non-W3C, deprecated, will be removed in 1.8 *** - props: "attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), - - fixHooks: {}, - - keyHooks: { - props: "char charCode key keyCode".split(" "), - filter: function( event, original ) { - - // Add which for key events - if ( event.which == null ) { - event.which = original.charCode != null ? original.charCode : original.keyCode; - } - - return event; - } - }, - - mouseHooks: { - props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), - filter: function( event, original ) { - var eventDoc, doc, body, - button = original.button, - fromElement = original.fromElement; - - // Calculate pageX/Y if missing and clientX/Y available - if ( event.pageX == null && original.clientX != null ) { - eventDoc = event.target.ownerDocument || document; - doc = eventDoc.documentElement; - body = eventDoc.body; - - event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); - event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); - } - - // Add relatedTarget, if necessary - if ( !event.relatedTarget && fromElement ) { - event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; - } - - // Add which for click: 1 === left; 2 === middle; 3 === right - // Note: button is not normalized, so don't use it - if ( !event.which && button !== undefined ) { - event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); - } - - return event; - } - }, - - fix: function( event ) { - if ( event[ jQuery.expando ] ) { - return event; - } - - // Create a writable copy of the event object and normalize some properties - var i, prop, - originalEvent = event, - fixHook = jQuery.event.fixHooks[ event.type ] || {}, - copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; - - event = jQuery.Event( originalEvent ); - - for ( i = copy.length; i; ) { - prop = copy[ --i ]; - event[ prop ] = originalEvent[ prop ]; - } - - // Fix target property, if necessary (#1925, IE 6/7/8 & Safari2) - if ( !event.target ) { - event.target = originalEvent.srcElement || document; - } - - // Target should not be a text node (#504, Safari) - if ( event.target.nodeType === 3 ) { - event.target = event.target.parentNode; - } - - // For mouse/key events; add metaKey if it's not there (#3368, IE6/7/8) - if ( event.metaKey === undefined ) { - event.metaKey = event.ctrlKey; - } - - return fixHook.filter? fixHook.filter( event, originalEvent ) : event; - }, - - special: { - ready: { - // Make sure the ready event is setup - setup: jQuery.bindReady - }, - - load: { - // Prevent triggered image.load events from bubbling to window.load - noBubble: true - }, - - focus: { - delegateType: "focusin" - }, - blur: { - delegateType: "focusout" - }, - - beforeunload: { - setup: function( data, namespaces, eventHandle ) { - // We only want to do this special case on windows - if ( jQuery.isWindow( this ) ) { - this.onbeforeunload = eventHandle; - } - }, - - teardown: function( namespaces, eventHandle ) { - if ( this.onbeforeunload === eventHandle ) { - this.onbeforeunload = null; - } - } - } - }, - - simulate: function( type, elem, event, bubble ) { - // Piggyback on a donor event to simulate a different one. - // Fake originalEvent to avoid donor's stopPropagation, but if the - // simulated event prevents default then we do the same on the donor. - var e = jQuery.extend( - new jQuery.Event(), - event, - { type: type, - isSimulated: true, - originalEvent: {} - } - ); - if ( bubble ) { - jQuery.event.trigger( e, null, elem ); - } else { - jQuery.event.dispatch.call( elem, e ); - } - if ( e.isDefaultPrevented() ) { - event.preventDefault(); - } - } -}; - -// Some plugins are using, but it's undocumented/deprecated and will be removed. -// The 1.7 special event interface should provide all the hooks needed now. -jQuery.event.handle = jQuery.event.dispatch; - -jQuery.removeEvent = document.removeEventListener ? - function( elem, type, handle ) { - if ( elem.removeEventListener ) { - elem.removeEventListener( type, handle, false ); - } - } : - function( elem, type, handle ) { - if ( elem.detachEvent ) { - elem.detachEvent( "on" + type, handle ); - } - }; - -jQuery.Event = function( src, props ) { - // Allow instantiation without the 'new' keyword - if ( !(this instanceof jQuery.Event) ) { - return new jQuery.Event( src, props ); - } - - // Event object - if ( src && src.type ) { - this.originalEvent = src; - this.type = src.type; - - // Events bubbling up the document may have been marked as prevented - // by a handler lower down the tree; reflect the correct value. - this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false || - src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse; - - // Event type - } else { - this.type = src; - } - - // Put explicitly provided properties onto the event object - if ( props ) { - jQuery.extend( this, props ); - } - - // Create a timestamp if incoming event doesn't have one - this.timeStamp = src && src.timeStamp || jQuery.now(); - - // Mark it as fixed - this[ jQuery.expando ] = true; -}; - -function returnFalse() { - return false; -} -function returnTrue() { - return true; -} - -// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding -// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html -jQuery.Event.prototype = { - preventDefault: function() { - this.isDefaultPrevented = returnTrue; - - var e = this.originalEvent; - if ( !e ) { - return; - } - - // if preventDefault exists run it on the original event - if ( e.preventDefault ) { - e.preventDefault(); - - // otherwise set the returnValue property of the original event to false (IE) - } else { - e.returnValue = false; - } - }, - stopPropagation: function() { - this.isPropagationStopped = returnTrue; - - var e = this.originalEvent; - if ( !e ) { - return; - } - // if stopPropagation exists run it on the original event - if ( e.stopPropagation ) { - e.stopPropagation(); - } - // otherwise set the cancelBubble property of the original event to true (IE) - e.cancelBubble = true; - }, - stopImmediatePropagation: function() { - this.isImmediatePropagationStopped = returnTrue; - this.stopPropagation(); - }, - isDefaultPrevented: returnFalse, - isPropagationStopped: returnFalse, - isImmediatePropagationStopped: returnFalse -}; - -// Create mouseenter/leave events using mouseover/out and event-time checks -jQuery.each({ - mouseenter: "mouseover", - mouseleave: "mouseout" -}, function( orig, fix ) { - jQuery.event.special[ orig ] = { - delegateType: fix, - bindType: fix, - - handle: function( event ) { - var target = this, - related = event.relatedTarget, - handleObj = event.handleObj, - selector = handleObj.selector, - ret; - - // For mousenter/leave call the handler if related is outside the target. - // NB: No relatedTarget if the mouse left/entered the browser window - if ( !related || (related !== target && !jQuery.contains( target, related )) ) { - event.type = handleObj.origType; - ret = handleObj.handler.apply( this, arguments ); - event.type = fix; - } - return ret; - } - }; -}); - -// IE submit delegation -if ( !jQuery.support.submitBubbles ) { - - jQuery.event.special.submit = { - setup: function() { - // Only need this for delegated form submit events - if ( jQuery.nodeName( this, "form" ) ) { - return false; - } - - // Lazy-add a submit handler when a descendant form may potentially be submitted - jQuery.event.add( this, "click._submit keypress._submit", function( e ) { - // Node name check avoids a VML-related crash in IE (#9807) - var elem = e.target, - form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; - if ( form && !form._submit_attached ) { - jQuery.event.add( form, "submit._submit", function( event ) { - // If form was submitted by the user, bubble the event up the tree - if ( this.parentNode && !event.isTrigger ) { - jQuery.event.simulate( "submit", this.parentNode, event, true ); - } - }); - form._submit_attached = true; - } - }); - // return undefined since we don't need an event listener - }, - - teardown: function() { - // Only need this for delegated form submit events - if ( jQuery.nodeName( this, "form" ) ) { - return false; - } - - // Remove delegated handlers; cleanData eventually reaps submit handlers attached above - jQuery.event.remove( this, "._submit" ); - } - }; -} - -// IE change delegation and checkbox/radio fix -if ( !jQuery.support.changeBubbles ) { - - jQuery.event.special.change = { - - setup: function() { - - if ( rformElems.test( this.nodeName ) ) { - // IE doesn't fire change on a check/radio until blur; trigger it on click - // after a propertychange. Eat the blur-change in special.change.handle. - // This still fires onchange a second time for check/radio after blur. - if ( this.type === "checkbox" || this.type === "radio" ) { - jQuery.event.add( this, "propertychange._change", function( event ) { - if ( event.originalEvent.propertyName === "checked" ) { - this._just_changed = true; - } - }); - jQuery.event.add( this, "click._change", function( event ) { - if ( this._just_changed && !event.isTrigger ) { - this._just_changed = false; - jQuery.event.simulate( "change", this, event, true ); - } - }); - } - return false; - } - // Delegated event; lazy-add a change handler on descendant inputs - jQuery.event.add( this, "beforeactivate._change", function( e ) { - var elem = e.target; - - if ( rformElems.test( elem.nodeName ) && !elem._change_attached ) { - jQuery.event.add( elem, "change._change", function( event ) { - if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { - jQuery.event.simulate( "change", this.parentNode, event, true ); - } - }); - elem._change_attached = true; - } - }); - }, - - handle: function( event ) { - var elem = event.target; - - // Swallow native change events from checkbox/radio, we already triggered them above - if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { - return event.handleObj.handler.apply( this, arguments ); - } - }, - - teardown: function() { - jQuery.event.remove( this, "._change" ); - - return rformElems.test( this.nodeName ); - } - }; -} - -// Create "bubbling" focus and blur events -if ( !jQuery.support.focusinBubbles ) { - jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { - - // Attach a single capturing handler while someone wants focusin/focusout - var attaches = 0, - handler = function( event ) { - jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); - }; - - jQuery.event.special[ fix ] = { - setup: function() { - if ( attaches++ === 0 ) { - document.addEventListener( orig, handler, true ); - } - }, - teardown: function() { - if ( --attaches === 0 ) { - document.removeEventListener( orig, handler, true ); - } - } - }; - }); -} - -jQuery.fn.extend({ - - on: function( types, selector, data, fn, /*INTERNAL*/ one ) { - var origFn, type; - - // Types can be a map of types/handlers - if ( typeof types === "object" ) { - // ( types-Object, selector, data ) - if ( typeof selector !== "string" ) { - // ( types-Object, data ) - data = selector; - selector = undefined; - } - for ( type in types ) { - this.on( type, selector, data, types[ type ], one ); - } - return this; - } - - if ( data == null && fn == null ) { - // ( types, fn ) - fn = selector; - data = selector = undefined; - } else if ( fn == null ) { - if ( typeof selector === "string" ) { - // ( types, selector, fn ) - fn = data; - data = undefined; - } else { - // ( types, data, fn ) - fn = data; - data = selector; - selector = undefined; - } - } - if ( fn === false ) { - fn = returnFalse; - } else if ( !fn ) { - return this; - } - - if ( one === 1 ) { - origFn = fn; - fn = function( event ) { - // Can use an empty set, since event contains the info - jQuery().off( event ); - return origFn.apply( this, arguments ); - }; - // Use same guid so caller can remove using origFn - fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); - } - return this.each( function() { - jQuery.event.add( this, types, fn, data, selector ); - }); - }, - one: function( types, selector, data, fn ) { - return this.on.call( this, types, selector, data, fn, 1 ); - }, - off: function( types, selector, fn ) { - if ( types && types.preventDefault && types.handleObj ) { - // ( event ) dispatched jQuery.Event - var handleObj = types.handleObj; - jQuery( types.delegateTarget ).off( - handleObj.namespace? handleObj.type + "." + handleObj.namespace : handleObj.type, - handleObj.selector, - handleObj.handler - ); - return this; - } - if ( typeof types === "object" ) { - // ( types-object [, selector] ) - for ( var type in types ) { - this.off( type, selector, types[ type ] ); - } - return this; - } - if ( selector === false || typeof selector === "function" ) { - // ( types [, fn] ) - fn = selector; - selector = undefined; - } - if ( fn === false ) { - fn = returnFalse; - } - return this.each(function() { - jQuery.event.remove( this, types, fn, selector ); - }); - }, - - bind: function( types, data, fn ) { - return this.on( types, null, data, fn ); - }, - unbind: function( types, fn ) { - return this.off( types, null, fn ); - }, - - live: function( types, data, fn ) { - jQuery( this.context ).on( types, this.selector, data, fn ); - return this; - }, - die: function( types, fn ) { - jQuery( this.context ).off( types, this.selector || "**", fn ); - return this; - }, - - delegate: function( selector, types, data, fn ) { - return this.on( types, selector, data, fn ); - }, - undelegate: function( selector, types, fn ) { - // ( namespace ) or ( selector, types [, fn] ) - return arguments.length == 1? this.off( selector, "**" ) : this.off( types, selector, fn ); - }, - - trigger: function( type, data ) { - return this.each(function() { - jQuery.event.trigger( type, data, this ); - }); - }, - triggerHandler: function( type, data ) { - if ( this[0] ) { - return jQuery.event.trigger( type, data, this[0], true ); - } - }, - - toggle: function( fn ) { - // Save reference to arguments for access in closure - var args = arguments, - guid = fn.guid || jQuery.guid++, - i = 0, - toggler = function( event ) { - // Figure out which function to execute - var lastToggle = ( jQuery._data( this, "lastToggle" + fn.guid ) || 0 ) % i; - jQuery._data( this, "lastToggle" + fn.guid, lastToggle + 1 ); - - // Make sure that clicks stop - event.preventDefault(); - - // and execute the function - return args[ lastToggle ].apply( this, arguments ) || false; - }; - - // link all the functions, so any of them can unbind this click handler - toggler.guid = guid; - while ( i < args.length ) { - args[ i++ ].guid = guid; - } - - return this.click( toggler ); - }, - - hover: function( fnOver, fnOut ) { - return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver ); - } -}); - -jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblclick " + - "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " + - "change select submit keydown keypress keyup error contextmenu").split(" "), function( i, name ) { - - // Handle event binding - jQuery.fn[ name ] = function( data, fn ) { - if ( fn == null ) { - fn = data; - data = null; - } - - return arguments.length > 0 ? - this.on( name, null, data, fn ) : - this.trigger( name ); - }; - - if ( jQuery.attrFn ) { - jQuery.attrFn[ name ] = true; - } - - if ( rkeyEvent.test( name ) ) { - jQuery.event.fixHooks[ name ] = jQuery.event.keyHooks; - } - - if ( rmouseEvent.test( name ) ) { - jQuery.event.fixHooks[ name ] = jQuery.event.mouseHooks; - } -}); - - - -/*! - * Sizzle CSS Selector Engine - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * More information: http://sizzlejs.com/ - */ -(function(){ - -var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, - expando = "sizcache" + (Math.random() + '').replace('.', ''), - done = 0, - toString = Object.prototype.toString, - hasDuplicate = false, - baseHasDuplicate = true, - rBackslash = /\\/g, - rReturn = /\r\n/g, - rNonWord = /\W/; - -// Here we check if the JavaScript engine is using some sort of -// optimization where it does not always call our comparision -// function. If that is the case, discard the hasDuplicate value. -// Thus far that includes Google Chrome. -[0, 0].sort(function() { - baseHasDuplicate = false; - return 0; -}); - -var Sizzle = function( selector, context, results, seed ) { - results = results || []; - context = context || document; - - var origContext = context; - - if ( context.nodeType !== 1 && context.nodeType !== 9 ) { - return []; - } - - if ( !selector || typeof selector !== "string" ) { - return results; - } - - var m, set, checkSet, extra, ret, cur, pop, i, - prune = true, - contextXML = Sizzle.isXML( context ), - parts = [], - soFar = selector; - - // Reset the position of the chunker regexp (start from head) - do { - chunker.exec( "" ); - m = chunker.exec( soFar ); - - if ( m ) { - soFar = m[3]; - - parts.push( m[1] ); - - if ( m[2] ) { - extra = m[3]; - break; - } - } - } while ( m ); - - if ( parts.length > 1 && origPOS.exec( selector ) ) { - - if ( parts.length === 2 && Expr.relative[ parts[0] ] ) { - set = posProcess( parts[0] + parts[1], context, seed ); - - } else { - set = Expr.relative[ parts[0] ] ? - [ context ] : - Sizzle( parts.shift(), context ); - - while ( parts.length ) { - selector = parts.shift(); - - if ( Expr.relative[ selector ] ) { - selector += parts.shift(); - } - - set = posProcess( selector, set, seed ); - } - } - - } else { - // Take a shortcut and set the context if the root selector is an ID - // (but not if it'll be faster if the inner selector is an ID) - if ( !seed && parts.length > 1 && context.nodeType === 9 && !contextXML && - Expr.match.ID.test(parts[0]) && !Expr.match.ID.test(parts[parts.length - 1]) ) { - - ret = Sizzle.find( parts.shift(), context, contextXML ); - context = ret.expr ? - Sizzle.filter( ret.expr, ret.set )[0] : - ret.set[0]; - } - - if ( context ) { - ret = seed ? - { expr: parts.pop(), set: makeArray(seed) } : - Sizzle.find( parts.pop(), parts.length === 1 && (parts[0] === "~" || parts[0] === "+") && context.parentNode ? context.parentNode : context, contextXML ); - - set = ret.expr ? - Sizzle.filter( ret.expr, ret.set ) : - ret.set; - - if ( parts.length > 0 ) { - checkSet = makeArray( set ); - - } else { - prune = false; - } - - while ( parts.length ) { - cur = parts.pop(); - pop = cur; - - if ( !Expr.relative[ cur ] ) { - cur = ""; - } else { - pop = parts.pop(); - } - - if ( pop == null ) { - pop = context; - } - - Expr.relative[ cur ]( checkSet, pop, contextXML ); - } - - } else { - checkSet = parts = []; - } - } - - if ( !checkSet ) { - checkSet = set; - } - - if ( !checkSet ) { - Sizzle.error( cur || selector ); - } - - if ( toString.call(checkSet) === "[object Array]" ) { - if ( !prune ) { - results.push.apply( results, checkSet ); - - } else if ( context && context.nodeType === 1 ) { - for ( i = 0; checkSet[i] != null; i++ ) { - if ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && Sizzle.contains(context, checkSet[i])) ) { - results.push( set[i] ); - } - } - - } else { - for ( i = 0; checkSet[i] != null; i++ ) { - if ( checkSet[i] && checkSet[i].nodeType === 1 ) { - results.push( set[i] ); - } - } - } - - } else { - makeArray( checkSet, results ); - } - - if ( extra ) { - Sizzle( extra, origContext, results, seed ); - Sizzle.uniqueSort( results ); - } - - return results; -}; - -Sizzle.uniqueSort = function( results ) { - if ( sortOrder ) { - hasDuplicate = baseHasDuplicate; - results.sort( sortOrder ); - - if ( hasDuplicate ) { - for ( var i = 1; i < results.length; i++ ) { - if ( results[i] === results[ i - 1 ] ) { - results.splice( i--, 1 ); - } - } - } - } - - return results; -}; - -Sizzle.matches = function( expr, set ) { - return Sizzle( expr, null, null, set ); -}; - -Sizzle.matchesSelector = function( node, expr ) { - return Sizzle( expr, null, null, [node] ).length > 0; -}; - -Sizzle.find = function( expr, context, isXML ) { - var set, i, len, match, type, left; - - if ( !expr ) { - return []; - } - - for ( i = 0, len = Expr.order.length; i < len; i++ ) { - type = Expr.order[i]; - - if ( (match = Expr.leftMatch[ type ].exec( expr )) ) { - left = match[1]; - match.splice( 1, 1 ); - - if ( left.substr( left.length - 1 ) !== "\\" ) { - match[1] = (match[1] || "").replace( rBackslash, "" ); - set = Expr.find[ type ]( match, context, isXML ); - - if ( set != null ) { - expr = expr.replace( Expr.match[ type ], "" ); - break; - } - } - } - } - - if ( !set ) { - set = typeof context.getElementsByTagName !== "undefined" ? - context.getElementsByTagName( "*" ) : - []; - } - - return { set: set, expr: expr }; -}; - -Sizzle.filter = function( expr, set, inplace, not ) { - var match, anyFound, - type, found, item, filter, left, - i, pass, - old = expr, - result = [], - curLoop = set, - isXMLFilter = set && set[0] && Sizzle.isXML( set[0] ); - - while ( expr && set.length ) { - for ( type in Expr.filter ) { - if ( (match = Expr.leftMatch[ type ].exec( expr )) != null && match[2] ) { - filter = Expr.filter[ type ]; - left = match[1]; - - anyFound = false; - - match.splice(1,1); - - if ( left.substr( left.length - 1 ) === "\\" ) { - continue; - } - - if ( curLoop === result ) { - result = []; - } - - if ( Expr.preFilter[ type ] ) { - match = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter ); - - if ( !match ) { - anyFound = found = true; - - } else if ( match === true ) { - continue; - } - } - - if ( match ) { - for ( i = 0; (item = curLoop[i]) != null; i++ ) { - if ( item ) { - found = filter( item, match, i, curLoop ); - pass = not ^ found; - - if ( inplace && found != null ) { - if ( pass ) { - anyFound = true; - - } else { - curLoop[i] = false; - } - - } else if ( pass ) { - result.push( item ); - anyFound = true; - } - } - } - } - - if ( found !== undefined ) { - if ( !inplace ) { - curLoop = result; - } - - expr = expr.replace( Expr.match[ type ], "" ); - - if ( !anyFound ) { - return []; - } - - break; - } - } - } - - // Improper expression - if ( expr === old ) { - if ( anyFound == null ) { - Sizzle.error( expr ); - - } else { - break; - } - } - - old = expr; - } - - return curLoop; -}; - -Sizzle.error = function( msg ) { - throw new Error( "Syntax error, unrecognized expression: " + msg ); -}; - -/** - * Utility function for retreiving the text value of an array of DOM nodes - * @param {Array|Element} elem - */ -var getText = Sizzle.getText = function( elem ) { - var i, node, - nodeType = elem.nodeType, - ret = ""; - - if ( nodeType ) { - if ( nodeType === 1 || nodeType === 9 ) { - // Use textContent || innerText for elements - if ( typeof elem.textContent === 'string' ) { - return elem.textContent; - } else if ( typeof elem.innerText === 'string' ) { - // Replace IE's carriage returns - return elem.innerText.replace( rReturn, '' ); - } else { - // Traverse it's children - for ( elem = elem.firstChild; elem; elem = elem.nextSibling) { - ret += getText( elem ); - } - } - } else if ( nodeType === 3 || nodeType === 4 ) { - return elem.nodeValue; - } - } else { - - // If no nodeType, this is expected to be an array - for ( i = 0; (node = elem[i]); i++ ) { - // Do not traverse comment nodes - if ( node.nodeType !== 8 ) { - ret += getText( node ); - } - } - } - return ret; -}; - -var Expr = Sizzle.selectors = { - order: [ "ID", "NAME", "TAG" ], - - match: { - ID: /#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/, - CLASS: /\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/, - NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/, - ATTR: /\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/, - TAG: /^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/, - CHILD: /:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/, - POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/, - PSEUDO: /:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/ - }, - - leftMatch: {}, - - attrMap: { - "class": "className", - "for": "htmlFor" - }, - - attrHandle: { - href: function( elem ) { - return elem.getAttribute( "href" ); - }, - type: function( elem ) { - return elem.getAttribute( "type" ); - } - }, - - relative: { - "+": function(checkSet, part){ - var isPartStr = typeof part === "string", - isTag = isPartStr && !rNonWord.test( part ), - isPartStrNotTag = isPartStr && !isTag; - - if ( isTag ) { - part = part.toLowerCase(); - } - - for ( var i = 0, l = checkSet.length, elem; i < l; i++ ) { - if ( (elem = checkSet[i]) ) { - while ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {} - - checkSet[i] = isPartStrNotTag || elem && elem.nodeName.toLowerCase() === part ? - elem || false : - elem === part; - } - } - - if ( isPartStrNotTag ) { - Sizzle.filter( part, checkSet, true ); - } - }, - - ">": function( checkSet, part ) { - var elem, - isPartStr = typeof part === "string", - i = 0, - l = checkSet.length; - - if ( isPartStr && !rNonWord.test( part ) ) { - part = part.toLowerCase(); - - for ( ; i < l; i++ ) { - elem = checkSet[i]; - - if ( elem ) { - var parent = elem.parentNode; - checkSet[i] = parent.nodeName.toLowerCase() === part ? parent : false; - } - } - - } else { - for ( ; i < l; i++ ) { - elem = checkSet[i]; - - if ( elem ) { - checkSet[i] = isPartStr ? - elem.parentNode : - elem.parentNode === part; - } - } - - if ( isPartStr ) { - Sizzle.filter( part, checkSet, true ); - } - } - }, - - "": function(checkSet, part, isXML){ - var nodeCheck, - doneName = done++, - checkFn = dirCheck; - - if ( typeof part === "string" && !rNonWord.test( part ) ) { - part = part.toLowerCase(); - nodeCheck = part; - checkFn = dirNodeCheck; - } - - checkFn( "parentNode", part, doneName, checkSet, nodeCheck, isXML ); - }, - - "~": function( checkSet, part, isXML ) { - var nodeCheck, - doneName = done++, - checkFn = dirCheck; - - if ( typeof part === "string" && !rNonWord.test( part ) ) { - part = part.toLowerCase(); - nodeCheck = part; - checkFn = dirNodeCheck; - } - - checkFn( "previousSibling", part, doneName, checkSet, nodeCheck, isXML ); - } - }, - - find: { - ID: function( match, context, isXML ) { - if ( typeof context.getElementById !== "undefined" && !isXML ) { - var m = context.getElementById(match[1]); - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - return m && m.parentNode ? [m] : []; - } - }, - - NAME: function( match, context ) { - if ( typeof context.getElementsByName !== "undefined" ) { - var ret = [], - results = context.getElementsByName( match[1] ); - - for ( var i = 0, l = results.length; i < l; i++ ) { - if ( results[i].getAttribute("name") === match[1] ) { - ret.push( results[i] ); - } - } - - return ret.length === 0 ? null : ret; - } - }, - - TAG: function( match, context ) { - if ( typeof context.getElementsByTagName !== "undefined" ) { - return context.getElementsByTagName( match[1] ); - } - } - }, - preFilter: { - CLASS: function( match, curLoop, inplace, result, not, isXML ) { - match = " " + match[1].replace( rBackslash, "" ) + " "; - - if ( isXML ) { - return match; - } - - for ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) { - if ( elem ) { - if ( not ^ (elem.className && (" " + elem.className + " ").replace(/[\t\n\r]/g, " ").indexOf(match) >= 0) ) { - if ( !inplace ) { - result.push( elem ); - } - - } else if ( inplace ) { - curLoop[i] = false; - } - } - } - - return false; - }, - - ID: function( match ) { - return match[1].replace( rBackslash, "" ); - }, - - TAG: function( match, curLoop ) { - return match[1].replace( rBackslash, "" ).toLowerCase(); - }, - - CHILD: function( match ) { - if ( match[1] === "nth" ) { - if ( !match[2] ) { - Sizzle.error( match[0] ); - } - - match[2] = match[2].replace(/^\+|\s*/g, ''); - - // parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6' - var test = /(-?)(\d*)(?:n([+\-]?\d*))?/.exec( - match[2] === "even" && "2n" || match[2] === "odd" && "2n+1" || - !/\D/.test( match[2] ) && "0n+" + match[2] || match[2]); - - // calculate the numbers (first)n+(last) including if they are negative - match[2] = (test[1] + (test[2] || 1)) - 0; - match[3] = test[3] - 0; - } - else if ( match[2] ) { - Sizzle.error( match[0] ); - } - - // TODO: Move to normal caching system - match[0] = done++; - - return match; - }, - - ATTR: function( match, curLoop, inplace, result, not, isXML ) { - var name = match[1] = match[1].replace( rBackslash, "" ); - - if ( !isXML && Expr.attrMap[name] ) { - match[1] = Expr.attrMap[name]; - } - - // Handle if an un-quoted value was used - match[4] = ( match[4] || match[5] || "" ).replace( rBackslash, "" ); - - if ( match[2] === "~=" ) { - match[4] = " " + match[4] + " "; - } - - return match; - }, - - PSEUDO: function( match, curLoop, inplace, result, not ) { - if ( match[1] === "not" ) { - // If we're dealing with a complex expression, or a simple one - if ( ( chunker.exec(match[3]) || "" ).length > 1 || /^\w/.test(match[3]) ) { - match[3] = Sizzle(match[3], null, null, curLoop); - - } else { - var ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not); - - if ( !inplace ) { - result.push.apply( result, ret ); - } - - return false; - } - - } else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) { - return true; - } - - return match; - }, - - POS: function( match ) { - match.unshift( true ); - - return match; - } - }, - - filters: { - enabled: function( elem ) { - return elem.disabled === false && elem.type !== "hidden"; - }, - - disabled: function( elem ) { - return elem.disabled === true; - }, - - checked: function( elem ) { - return elem.checked === true; - }, - - selected: function( elem ) { - // Accessing this property makes selected-by-default - // options in Safari work properly - if ( elem.parentNode ) { - elem.parentNode.selectedIndex; - } - - return elem.selected === true; - }, - - parent: function( elem ) { - return !!elem.firstChild; - }, - - empty: function( elem ) { - return !elem.firstChild; - }, - - has: function( elem, i, match ) { - return !!Sizzle( match[3], elem ).length; - }, - - header: function( elem ) { - return (/h\d/i).test( elem.nodeName ); - }, - - text: function( elem ) { - var attr = elem.getAttribute( "type" ), type = elem.type; - // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc) - // use getAttribute instead to test this case - return elem.nodeName.toLowerCase() === "input" && "text" === type && ( attr === type || attr === null ); - }, - - radio: function( elem ) { - return elem.nodeName.toLowerCase() === "input" && "radio" === elem.type; - }, - - checkbox: function( elem ) { - return elem.nodeName.toLowerCase() === "input" && "checkbox" === elem.type; - }, - - file: function( elem ) { - return elem.nodeName.toLowerCase() === "input" && "file" === elem.type; - }, - - password: function( elem ) { - return elem.nodeName.toLowerCase() === "input" && "password" === elem.type; - }, - - submit: function( elem ) { - var name = elem.nodeName.toLowerCase(); - return (name === "input" || name === "button") && "submit" === elem.type; - }, - - image: function( elem ) { - return elem.nodeName.toLowerCase() === "input" && "image" === elem.type; - }, - - reset: function( elem ) { - var name = elem.nodeName.toLowerCase(); - return (name === "input" || name === "button") && "reset" === elem.type; - }, - - button: function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && "button" === elem.type || name === "button"; - }, - - input: function( elem ) { - return (/input|select|textarea|button/i).test( elem.nodeName ); - }, - - focus: function( elem ) { - return elem === elem.ownerDocument.activeElement; - } - }, - setFilters: { - first: function( elem, i ) { - return i === 0; - }, - - last: function( elem, i, match, array ) { - return i === array.length - 1; - }, - - even: function( elem, i ) { - return i % 2 === 0; - }, - - odd: function( elem, i ) { - return i % 2 === 1; - }, - - lt: function( elem, i, match ) { - return i < match[3] - 0; - }, - - gt: function( elem, i, match ) { - return i > match[3] - 0; - }, - - nth: function( elem, i, match ) { - return match[3] - 0 === i; - }, - - eq: function( elem, i, match ) { - return match[3] - 0 === i; - } - }, - filter: { - PSEUDO: function( elem, match, i, array ) { - var name = match[1], - filter = Expr.filters[ name ]; - - if ( filter ) { - return filter( elem, i, match, array ); - - } else if ( name === "contains" ) { - return (elem.textContent || elem.innerText || getText([ elem ]) || "").indexOf(match[3]) >= 0; - - } else if ( name === "not" ) { - var not = match[3]; - - for ( var j = 0, l = not.length; j < l; j++ ) { - if ( not[j] === elem ) { - return false; - } - } - - return true; - - } else { - Sizzle.error( name ); - } - }, - - CHILD: function( elem, match ) { - var first, last, - doneName, parent, cache, - count, diff, - type = match[1], - node = elem; - - switch ( type ) { - case "only": - case "first": - while ( (node = node.previousSibling) ) { - if ( node.nodeType === 1 ) { - return false; - } - } - - if ( type === "first" ) { - return true; - } - - node = elem; - - case "last": - while ( (node = node.nextSibling) ) { - if ( node.nodeType === 1 ) { - return false; - } - } - - return true; - - case "nth": - first = match[2]; - last = match[3]; - - if ( first === 1 && last === 0 ) { - return true; - } - - doneName = match[0]; - parent = elem.parentNode; - - if ( parent && (parent[ expando ] !== doneName || !elem.nodeIndex) ) { - count = 0; - - for ( node = parent.firstChild; node; node = node.nextSibling ) { - if ( node.nodeType === 1 ) { - node.nodeIndex = ++count; - } - } - - parent[ expando ] = doneName; - } - - diff = elem.nodeIndex - last; - - if ( first === 0 ) { - return diff === 0; - - } else { - return ( diff % first === 0 && diff / first >= 0 ); - } - } - }, - - ID: function( elem, match ) { - return elem.nodeType === 1 && elem.getAttribute("id") === match; - }, - - TAG: function( elem, match ) { - return (match === "*" && elem.nodeType === 1) || !!elem.nodeName && elem.nodeName.toLowerCase() === match; - }, - - CLASS: function( elem, match ) { - return (" " + (elem.className || elem.getAttribute("class")) + " ") - .indexOf( match ) > -1; - }, - - ATTR: function( elem, match ) { - var name = match[1], - result = Sizzle.attr ? - Sizzle.attr( elem, name ) : - Expr.attrHandle[ name ] ? - Expr.attrHandle[ name ]( elem ) : - elem[ name ] != null ? - elem[ name ] : - elem.getAttribute( name ), - value = result + "", - type = match[2], - check = match[4]; - - return result == null ? - type === "!=" : - !type && Sizzle.attr ? - result != null : - type === "=" ? - value === check : - type === "*=" ? - value.indexOf(check) >= 0 : - type === "~=" ? - (" " + value + " ").indexOf(check) >= 0 : - !check ? - value && result !== false : - type === "!=" ? - value !== check : - type === "^=" ? - value.indexOf(check) === 0 : - type === "$=" ? - value.substr(value.length - check.length) === check : - type === "|=" ? - value === check || value.substr(0, check.length + 1) === check + "-" : - false; - }, - - POS: function( elem, match, i, array ) { - var name = match[2], - filter = Expr.setFilters[ name ]; - - if ( filter ) { - return filter( elem, i, match, array ); - } - } - } -}; - -var origPOS = Expr.match.POS, - fescape = function(all, num){ - return "\\" + (num - 0 + 1); - }; - -for ( var type in Expr.match ) { - Expr.match[ type ] = new RegExp( Expr.match[ type ].source + (/(?![^\[]*\])(?![^\(]*\))/.source) ); - Expr.leftMatch[ type ] = new RegExp( /(^(?:.|\r|\n)*?)/.source + Expr.match[ type ].source.replace(/\\(\d+)/g, fescape) ); -} - -var makeArray = function( array, results ) { - array = Array.prototype.slice.call( array, 0 ); - - if ( results ) { - results.push.apply( results, array ); - return results; - } - - return array; -}; - -// Perform a simple check to determine if the browser is capable of -// converting a NodeList to an array using builtin methods. -// Also verifies that the returned array holds DOM nodes -// (which is not the case in the Blackberry browser) -try { - Array.prototype.slice.call( document.documentElement.childNodes, 0 )[0].nodeType; - -// Provide a fallback method if it does not work -} catch( e ) { - makeArray = function( array, results ) { - var i = 0, - ret = results || []; - - if ( toString.call(array) === "[object Array]" ) { - Array.prototype.push.apply( ret, array ); - - } else { - if ( typeof array.length === "number" ) { - for ( var l = array.length; i < l; i++ ) { - ret.push( array[i] ); - } - - } else { - for ( ; array[i]; i++ ) { - ret.push( array[i] ); - } - } - } - - return ret; - }; -} - -var sortOrder, siblingCheck; - -if ( document.documentElement.compareDocumentPosition ) { - sortOrder = function( a, b ) { - if ( a === b ) { - hasDuplicate = true; - return 0; - } - - if ( !a.compareDocumentPosition || !b.compareDocumentPosition ) { - return a.compareDocumentPosition ? -1 : 1; - } - - return a.compareDocumentPosition(b) & 4 ? -1 : 1; - }; - -} else { - sortOrder = function( a, b ) { - // The nodes are identical, we can exit early - if ( a === b ) { - hasDuplicate = true; - return 0; - - // Fallback to using sourceIndex (in IE) if it's available on both nodes - } else if ( a.sourceIndex && b.sourceIndex ) { - return a.sourceIndex - b.sourceIndex; - } - - var al, bl, - ap = [], - bp = [], - aup = a.parentNode, - bup = b.parentNode, - cur = aup; - - // If the nodes are siblings (or identical) we can do a quick check - if ( aup === bup ) { - return siblingCheck( a, b ); - - // If no parents were found then the nodes are disconnected - } else if ( !aup ) { - return -1; - - } else if ( !bup ) { - return 1; - } - - // Otherwise they're somewhere else in the tree so we need - // to build up a full list of the parentNodes for comparison - while ( cur ) { - ap.unshift( cur ); - cur = cur.parentNode; - } - - cur = bup; - - while ( cur ) { - bp.unshift( cur ); - cur = cur.parentNode; - } - - al = ap.length; - bl = bp.length; - - // Start walking down the tree looking for a discrepancy - for ( var i = 0; i < al && i < bl; i++ ) { - if ( ap[i] !== bp[i] ) { - return siblingCheck( ap[i], bp[i] ); - } - } - - // We ended someplace up the tree so do a sibling check - return i === al ? - siblingCheck( a, bp[i], -1 ) : - siblingCheck( ap[i], b, 1 ); - }; - - siblingCheck = function( a, b, ret ) { - if ( a === b ) { - return ret; - } - - var cur = a.nextSibling; - - while ( cur ) { - if ( cur === b ) { - return -1; - } - - cur = cur.nextSibling; - } - - return 1; - }; -} - -// Check to see if the browser returns elements by name when -// querying by getElementById (and provide a workaround) -(function(){ - // We're going to inject a fake input element with a specified name - var form = document.createElement("div"), - id = "script" + (new Date()).getTime(), - root = document.documentElement; - - form.innerHTML = ""; - - // Inject it into the root element, check its status, and remove it quickly - root.insertBefore( form, root.firstChild ); - - // The workaround has to do additional checks after a getElementById - // Which slows things down for other browsers (hence the branching) - if ( document.getElementById( id ) ) { - Expr.find.ID = function( match, context, isXML ) { - if ( typeof context.getElementById !== "undefined" && !isXML ) { - var m = context.getElementById(match[1]); - - return m ? - m.id === match[1] || typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id").nodeValue === match[1] ? - [m] : - undefined : - []; - } - }; - - Expr.filter.ID = function( elem, match ) { - var node = typeof elem.getAttributeNode !== "undefined" && elem.getAttributeNode("id"); - - return elem.nodeType === 1 && node && node.nodeValue === match; - }; - } - - root.removeChild( form ); - - // release memory in IE - root = form = null; -})(); - -(function(){ - // Check to see if the browser returns only elements - // when doing getElementsByTagName("*") - - // Create a fake element - var div = document.createElement("div"); - div.appendChild( document.createComment("") ); - - // Make sure no comments are found - if ( div.getElementsByTagName("*").length > 0 ) { - Expr.find.TAG = function( match, context ) { - var results = context.getElementsByTagName( match[1] ); - - // Filter out possible comments - if ( match[1] === "*" ) { - var tmp = []; - - for ( var i = 0; results[i]; i++ ) { - if ( results[i].nodeType === 1 ) { - tmp.push( results[i] ); - } - } - - results = tmp; - } - - return results; - }; - } - - // Check to see if an attribute returns normalized href attributes - div.innerHTML = ""; - - if ( div.firstChild && typeof div.firstChild.getAttribute !== "undefined" && - div.firstChild.getAttribute("href") !== "#" ) { - - Expr.attrHandle.href = function( elem ) { - return elem.getAttribute( "href", 2 ); - }; - } - - // release memory in IE - div = null; -})(); - -if ( document.querySelectorAll ) { - (function(){ - var oldSizzle = Sizzle, - div = document.createElement("div"), - id = "__sizzle__"; - - div.innerHTML = "

                                                "; - - // Safari can't handle uppercase or unicode characters when - // in quirks mode. - if ( div.querySelectorAll && div.querySelectorAll(".TEST").length === 0 ) { - return; - } - - Sizzle = function( query, context, extra, seed ) { - context = context || document; - - // Only use querySelectorAll on non-XML documents - // (ID selectors don't work in non-HTML documents) - if ( !seed && !Sizzle.isXML(context) ) { - // See if we find a selector to speed up - var match = /^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec( query ); - - if ( match && (context.nodeType === 1 || context.nodeType === 9) ) { - // Speed-up: Sizzle("TAG") - if ( match[1] ) { - return makeArray( context.getElementsByTagName( query ), extra ); - - // Speed-up: Sizzle(".CLASS") - } else if ( match[2] && Expr.find.CLASS && context.getElementsByClassName ) { - return makeArray( context.getElementsByClassName( match[2] ), extra ); - } - } - - if ( context.nodeType === 9 ) { - // Speed-up: Sizzle("body") - // The body element only exists once, optimize finding it - if ( query === "body" && context.body ) { - return makeArray( [ context.body ], extra ); - - // Speed-up: Sizzle("#ID") - } else if ( match && match[3] ) { - var elem = context.getElementById( match[3] ); - - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - if ( elem && elem.parentNode ) { - // Handle the case where IE and Opera return items - // by name instead of ID - if ( elem.id === match[3] ) { - return makeArray( [ elem ], extra ); - } - - } else { - return makeArray( [], extra ); - } - } - - try { - return makeArray( context.querySelectorAll(query), extra ); - } catch(qsaError) {} - - // qSA works strangely on Element-rooted queries - // We can work around this by specifying an extra ID on the root - // and working up from there (Thanks to Andrew Dupont for the technique) - // IE 8 doesn't work on object elements - } else if ( context.nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { - var oldContext = context, - old = context.getAttribute( "id" ), - nid = old || id, - hasParent = context.parentNode, - relativeHierarchySelector = /^\s*[+~]/.test( query ); - - if ( !old ) { - context.setAttribute( "id", nid ); - } else { - nid = nid.replace( /'/g, "\\$&" ); - } - if ( relativeHierarchySelector && hasParent ) { - context = context.parentNode; - } - - try { - if ( !relativeHierarchySelector || hasParent ) { - return makeArray( context.querySelectorAll( "[id='" + nid + "'] " + query ), extra ); - } - - } catch(pseudoError) { - } finally { - if ( !old ) { - oldContext.removeAttribute( "id" ); - } - } - } - } - - return oldSizzle(query, context, extra, seed); - }; - - for ( var prop in oldSizzle ) { - Sizzle[ prop ] = oldSizzle[ prop ]; - } - - // release memory in IE - div = null; - })(); -} - -(function(){ - var html = document.documentElement, - matches = html.matchesSelector || html.mozMatchesSelector || html.webkitMatchesSelector || html.msMatchesSelector; - - if ( matches ) { - // Check to see if it's possible to do matchesSelector - // on a disconnected node (IE 9 fails this) - var disconnectedMatch = !matches.call( document.createElement( "div" ), "div" ), - pseudoWorks = false; - - try { - // This should fail with an exception - // Gecko does not error, returns false instead - matches.call( document.documentElement, "[test!='']:sizzle" ); - - } catch( pseudoError ) { - pseudoWorks = true; - } - - Sizzle.matchesSelector = function( node, expr ) { - // Make sure that attribute selectors are quoted - expr = expr.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']"); - - if ( !Sizzle.isXML( node ) ) { - try { - if ( pseudoWorks || !Expr.match.PSEUDO.test( expr ) && !/!=/.test( expr ) ) { - var ret = matches.call( node, expr ); - - // IE 9's matchesSelector returns false on disconnected nodes - if ( ret || !disconnectedMatch || - // As well, disconnected nodes are said to be in a document - // fragment in IE 9, so check for that - node.document && node.document.nodeType !== 11 ) { - return ret; - } - } - } catch(e) {} - } - - return Sizzle(expr, null, null, [node]).length > 0; - }; - } -})(); - -(function(){ - var div = document.createElement("div"); - - div.innerHTML = "
                                                "; - - // Opera can't find a second classname (in 9.6) - // Also, make sure that getElementsByClassName actually exists - if ( !div.getElementsByClassName || div.getElementsByClassName("e").length === 0 ) { - return; - } - - // Safari caches class attributes, doesn't catch changes (in 3.2) - div.lastChild.className = "e"; - - if ( div.getElementsByClassName("e").length === 1 ) { - return; - } - - Expr.order.splice(1, 0, "CLASS"); - Expr.find.CLASS = function( match, context, isXML ) { - if ( typeof context.getElementsByClassName !== "undefined" && !isXML ) { - return context.getElementsByClassName(match[1]); - } - }; - - // release memory in IE - div = null; -})(); - -function dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { - for ( var i = 0, l = checkSet.length; i < l; i++ ) { - var elem = checkSet[i]; - - if ( elem ) { - var match = false; - - elem = elem[dir]; - - while ( elem ) { - if ( elem[ expando ] === doneName ) { - match = checkSet[elem.sizset]; - break; - } - - if ( elem.nodeType === 1 && !isXML ){ - elem[ expando ] = doneName; - elem.sizset = i; - } - - if ( elem.nodeName.toLowerCase() === cur ) { - match = elem; - break; - } - - elem = elem[dir]; - } - - checkSet[i] = match; - } - } -} - -function dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) { - for ( var i = 0, l = checkSet.length; i < l; i++ ) { - var elem = checkSet[i]; - - if ( elem ) { - var match = false; - - elem = elem[dir]; - - while ( elem ) { - if ( elem[ expando ] === doneName ) { - match = checkSet[elem.sizset]; - break; - } - - if ( elem.nodeType === 1 ) { - if ( !isXML ) { - elem[ expando ] = doneName; - elem.sizset = i; - } - - if ( typeof cur !== "string" ) { - if ( elem === cur ) { - match = true; - break; - } - - } else if ( Sizzle.filter( cur, [elem] ).length > 0 ) { - match = elem; - break; - } - } - - elem = elem[dir]; - } - - checkSet[i] = match; - } - } -} - -if ( document.documentElement.contains ) { - Sizzle.contains = function( a, b ) { - return a !== b && (a.contains ? a.contains(b) : true); - }; - -} else if ( document.documentElement.compareDocumentPosition ) { - Sizzle.contains = function( a, b ) { - return !!(a.compareDocumentPosition(b) & 16); - }; - -} else { - Sizzle.contains = function() { - return false; - }; -} - -Sizzle.isXML = function( elem ) { - // documentElement is verified for cases where it doesn't yet exist - // (such as loading iframes in IE - #4833) - var documentElement = (elem ? elem.ownerDocument || elem : 0).documentElement; - - return documentElement ? documentElement.nodeName !== "HTML" : false; -}; - -var posProcess = function( selector, context, seed ) { - var match, - tmpSet = [], - later = "", - root = context.nodeType ? [context] : context; - - // Position selectors must be done after the filter - // And so must :not(positional) so we move all PSEUDOs to the end - while ( (match = Expr.match.PSEUDO.exec( selector )) ) { - later += match[0]; - selector = selector.replace( Expr.match.PSEUDO, "" ); - } - - selector = Expr.relative[selector] ? selector + "*" : selector; - - for ( var i = 0, l = root.length; i < l; i++ ) { - Sizzle( selector, root[i], tmpSet, seed ); - } - - return Sizzle.filter( later, tmpSet ); -}; - -// EXPOSE -// Override sizzle attribute retrieval -Sizzle.attr = jQuery.attr; -Sizzle.selectors.attrMap = {}; -jQuery.find = Sizzle; -jQuery.expr = Sizzle.selectors; -jQuery.expr[":"] = jQuery.expr.filters; -jQuery.unique = Sizzle.uniqueSort; -jQuery.text = Sizzle.getText; -jQuery.isXMLDoc = Sizzle.isXML; -jQuery.contains = Sizzle.contains; - - -})(); - - -var runtil = /Until$/, - rparentsprev = /^(?:parents|prevUntil|prevAll)/, - // Note: This RegExp should be improved, or likely pulled from Sizzle - rmultiselector = /,/, - isSimple = /^.[^:#\[\.,]*$/, - slice = Array.prototype.slice, - POS = jQuery.expr.match.POS, - // methods guaranteed to produce a unique set when starting from a unique set - guaranteedUnique = { - children: true, - contents: true, - next: true, - prev: true - }; - -jQuery.fn.extend({ - find: function( selector ) { - var self = this, - i, l; - - if ( typeof selector !== "string" ) { - return jQuery( selector ).filter(function() { - for ( i = 0, l = self.length; i < l; i++ ) { - if ( jQuery.contains( self[ i ], this ) ) { - return true; - } - } - }); - } - - var ret = this.pushStack( "", "find", selector ), - length, n, r; - - for ( i = 0, l = this.length; i < l; i++ ) { - length = ret.length; - jQuery.find( selector, this[i], ret ); - - if ( i > 0 ) { - // Make sure that the results are unique - for ( n = length; n < ret.length; n++ ) { - for ( r = 0; r < length; r++ ) { - if ( ret[r] === ret[n] ) { - ret.splice(n--, 1); - break; - } - } - } - } - } - - return ret; - }, - - has: function( target ) { - var targets = jQuery( target ); - return this.filter(function() { - for ( var i = 0, l = targets.length; i < l; i++ ) { - if ( jQuery.contains( this, targets[i] ) ) { - return true; - } - } - }); - }, - - not: function( selector ) { - return this.pushStack( winnow(this, selector, false), "not", selector); - }, - - filter: function( selector ) { - return this.pushStack( winnow(this, selector, true), "filter", selector ); - }, - - is: function( selector ) { - return !!selector && ( - typeof selector === "string" ? - // If this is a positional selector, check membership in the returned set - // so $("p:first").is("p:last") won't return true for a doc with two "p". - POS.test( selector ) ? - jQuery( selector, this.context ).index( this[0] ) >= 0 : - jQuery.filter( selector, this ).length > 0 : - this.filter( selector ).length > 0 ); - }, - - closest: function( selectors, context ) { - var ret = [], i, l, cur = this[0]; - - // Array (deprecated as of jQuery 1.7) - if ( jQuery.isArray( selectors ) ) { - var level = 1; - - while ( cur && cur.ownerDocument && cur !== context ) { - for ( i = 0; i < selectors.length; i++ ) { - - if ( jQuery( cur ).is( selectors[ i ] ) ) { - ret.push({ selector: selectors[ i ], elem: cur, level: level }); - } - } - - cur = cur.parentNode; - level++; - } - - return ret; - } - - // String - var pos = POS.test( selectors ) || typeof selectors !== "string" ? - jQuery( selectors, context || this.context ) : - 0; - - for ( i = 0, l = this.length; i < l; i++ ) { - cur = this[i]; - - while ( cur ) { - if ( pos ? pos.index(cur) > -1 : jQuery.find.matchesSelector(cur, selectors) ) { - ret.push( cur ); - break; - - } else { - cur = cur.parentNode; - if ( !cur || !cur.ownerDocument || cur === context || cur.nodeType === 11 ) { - break; - } - } - } - } - - ret = ret.length > 1 ? jQuery.unique( ret ) : ret; - - return this.pushStack( ret, "closest", selectors ); - }, - - // Determine the position of an element within - // the matched set of elements - index: function( elem ) { - - // No argument, return index in parent - if ( !elem ) { - return ( this[0] && this[0].parentNode ) ? this.prevAll().length : -1; - } - - // index in selector - if ( typeof elem === "string" ) { - return jQuery.inArray( this[0], jQuery( elem ) ); - } - - // Locate the position of the desired element - return jQuery.inArray( - // If it receives a jQuery object, the first element is used - elem.jquery ? elem[0] : elem, this ); - }, - - add: function( selector, context ) { - var set = typeof selector === "string" ? - jQuery( selector, context ) : - jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ), - all = jQuery.merge( this.get(), set ); - - return this.pushStack( isDisconnected( set[0] ) || isDisconnected( all[0] ) ? - all : - jQuery.unique( all ) ); - }, - - andSelf: function() { - return this.add( this.prevObject ); - } -}); - -// A painfully simple check to see if an element is disconnected -// from a document (should be improved, where feasible). -function isDisconnected( node ) { - return !node || !node.parentNode || node.parentNode.nodeType === 11; -} - -jQuery.each({ - parent: function( elem ) { - var parent = elem.parentNode; - return parent && parent.nodeType !== 11 ? parent : null; - }, - parents: function( elem ) { - return jQuery.dir( elem, "parentNode" ); - }, - parentsUntil: function( elem, i, until ) { - return jQuery.dir( elem, "parentNode", until ); - }, - next: function( elem ) { - return jQuery.nth( elem, 2, "nextSibling" ); - }, - prev: function( elem ) { - return jQuery.nth( elem, 2, "previousSibling" ); - }, - nextAll: function( elem ) { - return jQuery.dir( elem, "nextSibling" ); - }, - prevAll: function( elem ) { - return jQuery.dir( elem, "previousSibling" ); - }, - nextUntil: function( elem, i, until ) { - return jQuery.dir( elem, "nextSibling", until ); - }, - prevUntil: function( elem, i, until ) { - return jQuery.dir( elem, "previousSibling", until ); - }, - siblings: function( elem ) { - return jQuery.sibling( elem.parentNode.firstChild, elem ); - }, - children: function( elem ) { - return jQuery.sibling( elem.firstChild ); - }, - contents: function( elem ) { - return jQuery.nodeName( elem, "iframe" ) ? - elem.contentDocument || elem.contentWindow.document : - jQuery.makeArray( elem.childNodes ); - } -}, function( name, fn ) { - jQuery.fn[ name ] = function( until, selector ) { - var ret = jQuery.map( this, fn, until ); - - if ( !runtil.test( name ) ) { - selector = until; - } - - if ( selector && typeof selector === "string" ) { - ret = jQuery.filter( selector, ret ); - } - - ret = this.length > 1 && !guaranteedUnique[ name ] ? jQuery.unique( ret ) : ret; - - if ( (this.length > 1 || rmultiselector.test( selector )) && rparentsprev.test( name ) ) { - ret = ret.reverse(); - } - - return this.pushStack( ret, name, slice.call( arguments ).join(",") ); - }; -}); - -jQuery.extend({ - filter: function( expr, elems, not ) { - if ( not ) { - expr = ":not(" + expr + ")"; - } - - return elems.length === 1 ? - jQuery.find.matchesSelector(elems[0], expr) ? [ elems[0] ] : [] : - jQuery.find.matches(expr, elems); - }, - - dir: function( elem, dir, until ) { - var matched = [], - cur = elem[ dir ]; - - while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { - if ( cur.nodeType === 1 ) { - matched.push( cur ); - } - cur = cur[dir]; - } - return matched; - }, - - nth: function( cur, result, dir, elem ) { - result = result || 1; - var num = 0; - - for ( ; cur; cur = cur[dir] ) { - if ( cur.nodeType === 1 && ++num === result ) { - break; - } - } - - return cur; - }, - - sibling: function( n, elem ) { - var r = []; - - for ( ; n; n = n.nextSibling ) { - if ( n.nodeType === 1 && n !== elem ) { - r.push( n ); - } - } - - return r; - } -}); - -// Implement the identical functionality for filter and not -function winnow( elements, qualifier, keep ) { - - // Can't pass null or undefined to indexOf in Firefox 4 - // Set to 0 to skip string check - qualifier = qualifier || 0; - - if ( jQuery.isFunction( qualifier ) ) { - return jQuery.grep(elements, function( elem, i ) { - var retVal = !!qualifier.call( elem, i, elem ); - return retVal === keep; - }); - - } else if ( qualifier.nodeType ) { - return jQuery.grep(elements, function( elem, i ) { - return ( elem === qualifier ) === keep; - }); - - } else if ( typeof qualifier === "string" ) { - var filtered = jQuery.grep(elements, function( elem ) { - return elem.nodeType === 1; - }); - - if ( isSimple.test( qualifier ) ) { - return jQuery.filter(qualifier, filtered, !keep); - } else { - qualifier = jQuery.filter( qualifier, filtered ); - } - } - - return jQuery.grep(elements, function( elem, i ) { - return ( jQuery.inArray( elem, qualifier ) >= 0 ) === keep; - }); -} - - - - -function createSafeFragment( document ) { - var list = nodeNames.split( "|" ), - safeFrag = document.createDocumentFragment(); - - if ( safeFrag.createElement ) { - while ( list.length ) { - safeFrag.createElement( - list.pop() - ); - } - } - return safeFrag; -} - -var nodeNames = "abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|" + - "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", - rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, - rleadingWhitespace = /^\s+/, - rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig, - rtagName = /<([\w:]+)/, - rtbody = /", "" ], - legend: [ 1, "
                                                ", "
                                                " ], - thead: [ 1, "", "
                                                " ], - tr: [ 2, "", "
                                                " ], - td: [ 3, "", "
                                                " ], - col: [ 2, "", "
                                                " ], - area: [ 1, "", "" ], - _default: [ 0, "", "" ] - }, - safeFragment = createSafeFragment( document ); - -wrapMap.optgroup = wrapMap.option; -wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; -wrapMap.th = wrapMap.td; - -// IE can't serialize and