Settings.java 8.9 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430
package com.myproject.bean.update;

import com.google.common.collect.Lists;
import com.myproject.bean.BaseMongoBean;

import java.util.Date;
import java.util.List;

public class Settings extends BaseMongoBean {

    /**
     * 指定软件是为哪个客户单独定制的
     */
    private String productCustom = "";
    /**
     * 出库方式
     */
    private String outType;

    /**
     * 打印条码的纸张宽度(条码为方形,大小是长宽中最小的)
     */
    private int pageWidth = 500;

    /**
     * 打印条码的纸张高度
     */
    private int pageHeight = 160;

    /**
     * 最低温度
     */
    private float minTemperature = 22.0F;

    /**
     *  仪表显示最低温度
     */
    private float minTemperatureShow = 20.0F;

    /**
     * 最高温度
     */
    private float maxTemperature = 38.0F;

    /**
     * 仪表显示最高温度
     */
    private float maxTemperatureShow = 30.0F;

    /**
     * 最低湿度值
     */
    private float minHumidity = 0.0F;

    /**
     * 仪表显示最低湿度值
     */
    private float minHumidityShow = 0.0F;

    /**
     * 湿度值
     */
    private float maxHumidity = 100.0F;

    /**
     * 仪表显示最高湿度值
     */
    private float maxHumidityShow = 15.0F;

    /**
     * 条码规则,可用字段有: PN为物料编号即 PartNumber, RI 为唯一码即ReelId, QTY 为数量,SP 为供应商,SPC供应商代码,BATCH 为批次,xx或空为无对应的字段其中必须含有PN和 RI, QTY为空时使用输入产器时的封装数量
     * 1@2@3@PN@5@6@7@8@9@10@11@12@13@14@15@16@RI@18@19@20@21@22@23@24
     * [)>@06@12S0002@P5292001000@1P1690215@31P1690215@12V527973628@10VCHN-YANTAI@2P@20P@6D20170626@14D20171223@30PY@ZN@K0@16K0@V815@3SB370000000EZZ@Q500GRM000@20T1@1TMT72543954@2T@1Z@@'
     */
    @Deprecated
    private String codeRule = "";

    /**
     * 多条条码规则
     */
    private List<String> codeRuleList = Lists.newArrayList();


    /**
     * 打印条码纸张的页边距
     */
    private int pageSpace = 5;

    /**
     * 打印条码时的字体大小
     */
    private int fontSize = 18;

    /**
     * 条码检查 API
     */
    private String reelCheckApi;

    /**
     * 呆滞物料提醒时间(天)
     */
    private int inactionDay = 0;

    public String getProductCustom() {
        return productCustom;
    }

    public void setProductCustom(String productCustom) {
        this.productCustom = productCustom;
    }

    /**
     *  入库通知api地址
     */
    private String inNotifyApi;

    /**
     * 出库通知api地址
     */
    private String outNotifyApi;

    /**
     * PCB 过期提醒提前天数
     */
    private int pcbExpireDay = 0;

    /**
     * PCB 过期提醒邮件地址
     */
    private String pcbExpireEmail;

    /**
     * 备份路径
     */
    private String backupPath = "";

    /**
     * 备份周期
     */
    private int backupHours = 0;

    /**
     * 维护周期
     */
    private int maintenanceDays = 60;

    /**
     * 维护通知邮件地址
     */
    private String maintenanceEmail;

    /**
     * PCB 过期提醒时间(0-23)
     */
    private int pcbExpireTime = 0;

    /**
     * 过期 PCB 上次检测时间
     */
    private Date lastPcbCheckDate;

    /**
     * 订单文件的路径
     */
    private String orderFileDir;

    /**
     * 准备进行更新,不允许需求单出库
     */
    private boolean stopOut = false;

    /**
     * 停止定时器任务
     */
    private boolean stopJob = false;

    /**
     * 不入库的料仓列表
     */
    private String notIntoCids = "";

    public Date getLastPcbCheckDate() {
        return lastPcbCheckDate;
    }

    public void setLastPcbCheckDate(Date lastPcbCheckDate) {
        this.lastPcbCheckDate = lastPcbCheckDate;
    }

    public int getPcbExpireDay() {
        return pcbExpireDay;
    }

    public void setPcbExpireDay(int pcbExpireDay) {
        this.pcbExpireDay = pcbExpireDay;
    }

    public String getPcbExpireEmail() {
        return pcbExpireEmail;
    }

    public void setPcbExpireEmail(String pcbExpireEmail) {
        this.pcbExpireEmail = pcbExpireEmail;
    }

    public int getPcbExpireTime() {
        return pcbExpireTime;
    }

    public void setPcbExpireTime(int pcbExpireTime) {
        this.pcbExpireTime = pcbExpireTime;
    }

    public String getReelCheckApi() {
        return reelCheckApi;
    }

    public void setReelCheckApi(String reelCheckApi) {
        this.reelCheckApi = reelCheckApi;
    }

    public String getInNotifyApi() {
        return inNotifyApi;
    }

    public void setInNotifyApi(String inNotifyApi) {
        this.inNotifyApi = inNotifyApi;
    }

    public String getOutNotifyApi() {
        return outNotifyApi;
    }

    public void setOutNotifyApi(String outNotifyApi) {
        this.outNotifyApi = outNotifyApi;
    }

    public String getOutType() {
        return outType;
    }

    public void setOutType(String outType) {
        this.outType = outType;
    }

    public int getPageWidth() {
        return pageWidth;
    }

    public void setPageWidth(int pageWidth) {
        this.pageWidth = pageWidth;
    }

    public int getPageHeight() {
        return pageHeight;
    }

    public void setPageHeight(int pageHeight) {
        this.pageHeight = pageHeight;
    }

    public int getFontSize() {
        return fontSize;
    }

    public void setFontSize(int fontSize) {
        this.fontSize = fontSize;
    }

    public int getPageSpace() {
        return pageSpace;
    }

    public void setPageSpace(int pageSpace) {
        this.pageSpace = pageSpace;
    }

    public String getCodeRule() {
        return codeRule;
    }

    public void setCodeRule(String codeRule) {
        this.codeRule = codeRule;
    }

    public float getMinTemperature() {
        return minTemperature;
    }

    public void setMinTemperature(float minTemperature) {
        this.minTemperature = minTemperature;
    }

    public float getMaxTemperature() {
        return maxTemperature;
    }

    public void setMaxTemperature(float maxTemperature) {
        this.maxTemperature = maxTemperature;
    }

    public float getMinHumidity() {
        return minHumidity;
    }

    public void setMinHumidity(float minHumidity) {
        this.minHumidity = minHumidity;
    }

    public float getMaxHumidity() {
        return maxHumidity;
    }

    public void setMaxHumidity(float maxHumidity) {
        this.maxHumidity = maxHumidity;
    }

    public float getMinTemperatureShow() {
        return minTemperatureShow;
    }

    public void setMinTemperatureShow(float minTemperatureShow) {
        this.minTemperatureShow = minTemperatureShow;
    }

    public float getMaxTemperatureShow() {
        return maxTemperatureShow;
    }

    public void setMaxTemperatureShow(float maxTemperatureShow) {
        this.maxTemperatureShow = maxTemperatureShow;
    }

    public float getMinHumidityShow() {
        return minHumidityShow;
    }

    public void setMinHumidityShow(float minHumidityShow) {
        this.minHumidityShow = minHumidityShow;
    }

    public float getMaxHumidityShow() {
        return maxHumidityShow;
    }

    public void setMaxHumidityShow(float maxHumidityShow) {
        this.maxHumidityShow = maxHumidityShow;
    }

    public List<String> getCodeRuleList() {
        return codeRuleList;
    }

    public void setCodeRuleList(List<String> codeRuleList) {
        this.codeRuleList = codeRuleList;
    }

    public String getMaintenanceEmail() {
        return maintenanceEmail;
    }

    public void setMaintenanceEmail(String maintenanceEmail) {
        this.maintenanceEmail = maintenanceEmail;
    }

    public String getBackupPath() {
        return backupPath;
    }

    public void setBackupPath(String backupPath) {
        this.backupPath = backupPath;
    }

    public int getBackupHours() {
        return backupHours;
    }

    public void setBackupHours(int backupHours) {
        this.backupHours = backupHours;
    }

    public int getMaintenanceDays() {
        return maintenanceDays;
    }

    public void setMaintenanceDays(int maintenanceDays) {
        this.maintenanceDays = maintenanceDays;
    }

    public String getOrderFileDir() {
        return orderFileDir;
    }

    public void setOrderFileDir(String orderFileDir) {
        this.orderFileDir = orderFileDir;
    }

    public int getInactionDay() {
        return inactionDay;
    }

    public void setInactionDay(int inactionDay) {
        this.inactionDay = inactionDay;
    }

    public boolean isStopOut() {
        return stopOut;
    }

    public void setStopOut(boolean stopOut) {
        this.stopOut = stopOut;
    }

    public boolean isStopJob() {
        return stopJob;
    }

    public void setStopJob(boolean stopJob) {
        this.stopJob = stopJob;
    }

    public String getNotIntoCids() {
        return notIntoCids;
    }

    public void setNotIntoCids(String notIntoCids) {
        this.notIntoCids = notIntoCids;
    }
}