⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 limitprintinfo.java

📁 打印管理程序,测试完全通过.windows开发环境.
💻 JAVA
字号:
package jp.co.ntl.limitprint;

import java.io.Serializable;

public class LimitPrintInfo implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	// 忋尷枃悢娗棟柍岠
	public static final int	PERIOD_ID_IGNORE		= 0; 	
	
	// 忋尷懳徾擔
	public static final int	PERIOD_MONTH			= 30;
	public static final int	PERIOD_WEEK				= 7;
	public static final int	PERIOD_DAY				= 1;
	
	// 幚峴擔
	public static final int	USE_RESTOCK_WEEK		= 0;
	
	// 幚峴梛擔
	public static final int	WEEK_SUN				= 0;
	public static final int	WEEK_MON				= 1;
	public static final int	WEEK_TUE				= 2;
	public static final int	WEEK_WED				= 3;
	public static final int	WEEK_THU				= 4;
	public static final int	WEEK_FRI				= 5;
	public static final int	WEEK_SAT				= 6;
	
	private int		periodID = PERIOD_ID_IGNORE;
	private int		limitPeriod = PERIOD_ID_IGNORE;
	private int		restockTime = 0;
	private int		restockDate = USE_RESTOCK_WEEK;
	private int		restockWeek = WEEK_SUN;
	private int		lastRestock = 0;
	
	public LimitPrintInfo() {
	}
	
	public int getPeriodID() { return periodID; }
	public void setPeriodID(int periodID) { this.periodID = periodID; }
	
	public int getLimitPeriod() { return limitPeriod; }
	public void setLimitPeriod(int limitPeriod) { this.limitPeriod = limitPeriod; }
	
	public int getRestockTime() { return restockTime; }
	public void setRestockTime(int restockTime) { this.restockTime = restockTime; }
	
	public int getRestockDate() { return restockDate; }
	public void setRestockDate(int restockDate) { this.restockDate = restockDate; }
	
	public int getRestockWeek() { return restockWeek; }
	public void setRestockWeek(int restockWeek) { this.restockWeek = restockWeek; }
	
	public int getLastRestock() { return lastRestock; }
	public void setLastRestock(int lastRestock) { this.lastRestock = lastRestock; }
	
	public void copy(LimitPrintInfo limitPrint) {
		this.periodID = limitPrint.getPeriodID();
		this.limitPeriod = limitPrint.getLimitPeriod();
		this.restockTime = limitPrint.getRestockTime();
		this.restockDate = limitPrint.getRestockDate();
		this.restockWeek = limitPrint.getRestockWeek();
		this.lastRestock = limitPrint.getLastRestock();
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -