Commit 26a758a3 sunke

纬创

0 个父辈
正在显示 1000 个修改的文件 包含 4956 行增加0 行删除

要显示的修改太多。

为保证性能只显示 1000 of 1000+ 个文件。

# Created by .ignore support plugin (hsz.mobi)
### Java template
# Compiled class file
*.class
# Log file
*.log
# BlueJ files
*.ctxt
# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
### JetBrains template
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
/.idea/
/myproject/target/
/myproject/logs/
To get started, please complete the following steps:
1. Download and install a MySQL 5.x database from
http://dev.mysql.com/downloads/mysql/5.0.html#downloads.
2. Install maven 3.x, and configure it.
3. Modify the jdbc property in the pom.xml of myproject, make sure the
jdbc url, username and password is correct.
4. Run "mvn install" to install the parent pom.xml to your local repository.
5. Run "mvn jetty:run" under myproject, and view the application at http://localhost:8080.
It takes long time to download jars at the first time, so be patient.
By the way, there wasn't data in your database, so you need run "mvn dbunit:operation"
to insert the basic data to your DB. Use admin/admin to login the system.
6. If you want to make a war file, just run "mvn package -DskipTests" under myproject,
it will generate a war file under myproject/target.
More information please contact Lu xiaojun.
C:\Windows\system32>mongod --storageEngine=mmapv1 --logappend --directoryperdb --serviceName MongoDB --install
打印机静默打印: Chrome快捷方式增加:--kiosk-printing
--disable-print-preview
安装Mongodb服务
1、创建 D:\MongoDB 及 D:\MongoDB\data 和 D:\MongoDB\logs 目录
2、执行 mongod --storageEngine=mmapv1 --journal --logpath D:\MongoDB\logs\MongoDB.log --logappend --dbpath D:\MongoDB\data --directoryperdb --serviceName MongoDB --install
移除MongoDB:
sc delete MongoDB
mongod --auth -dbpath D:\MongoDB\data --repair
mac mongo 启动:
sudo mongod -config /usr/local/etc/mongod.conf
Tomcat 8 启动时会出现 webresources.Cache.getResource Unable to add the resource at 的错误,需要在Tomcat的在 /conf/context.xml 的 </Context>前添加以下内容:
<Resources cachingAllowed="true" cacheMaxSize="100000" />
//备份
mongodump -h dbhost -d dbname -o dbdirectory
"C:\Program Files\MongoDB\Server\3.2\bin\mongodump" -d storage -o D:\storage
mongodump -h192.168.3.124 -d storage -o D:\MongoDB\
//还原
mongorestore -h <hostname><:port> -d dbname <path>
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
此文件类型无法预览
此文件的差异被折叠, 点击展开。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异被折叠, 点击展开。
PN,RI,QTY,POS,DATE,STATUS
WPL-16302337301,,,,,-1
WPL-16302729700,,,,,-1
WPL-16302473900,,,,,-1
WPL-16302482800,,,,,-1
WPL-16302545100,,,,,-1
WPL-16302373400,,,,,-1
WPL-16302373500,,,,,-1
WPL-16302432900,,,,,-1
WPL-16302729900,,,,,-1
WPL-16300008801,,,,,-1
WPL-16302316601,,,,,-1
WPL-16302323401,,,,,-1
WPL-16302450600,,,,,-1
WPL-16302569900,,,,,-1
WPL-16302505700,,,,,-1
WPL-16302363501,,,,,-1
WPL-16302635500,,,,,-1
WPL-16302728400,,,,,-1
WPL-16302708000,,,,,-1
WPL-16302385500,,,,,-1
WPL-16302659500,,,,,-1
WPL-16300020901,,,,,-1
WPL-16302730000,,,,,-1
WPL-16302432500,,,,,-1
PN,RI,QTY,POS,DATE,STATUS
package StSys.RoyoTech;
import com.myproject.util.DateUtil;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.ws.Endpoint;
import java.util.Date;
/**
* Created by sunke on 2019/10/22.
*/
@WebService(name = "IWSInterface", targetNamespace = "RoyoTech.StSys")
@Service
public class SmdService {
protected final transient Logger log = LogManager.getLogger(getClass());
@Autowired
private ServiceHandle serviceHandle;
@WebMethod(operationName = "WebServiceIsConnected", action = "RoyoTech.StSys/IWSInterface/WebServiceIsConnected")
@WebResult(name = "WebServiceIsConnectedResult", targetNamespace = "RoyoTech.StSys")
//@RequestWrapper(localName = "WebServiceIsConnected", targetNamespace = "RoyoTech.StSys", className = "example.client.WebServiceIsConnected")
//@ResponseWrapper(localName = "WebServiceIsConnectedResponse", targetNamespace = "RoyoTech.StSys", className = "example.client.WebServiceIsConnectedResponse")
public Boolean WebServiceIsConnected() {
//log.info("WebServiceIsConnected");
return true;
}
@WebMethod(operationName = "XmlAction", action = "RoyoTech.StSys/IWSInterface/XmlAction")
@WebResult(name = "XmlActionResult", targetNamespace = "RoyoTech.StSys")
//@RequestWrapper(localName = "XmlAction", targetNamespace = "RoyoTech.StSys", className = "example.client.XmlAction")
//@ResponseWrapper(localName = "XmlActionResponse", targetNamespace = "RoyoTech.StSys", className = "example.client.XmlActionResponse")
//@Action(input = "RoyoTech.StSys/IWSInterface/XmlAction", output = "RoyoTech.StSys/IWSInterface/XmlActionResponse")
public XmlResultWrapper XmlAction(@WebParam(name = "xmlData", targetNamespace = "RoyoTech.StSys")
String xmlData) {
log.info("receive service cmd:" + xmlData);
if(xmlData == null){
xmlData = "";
}
XmlResultWrapper wrapper = new XmlResultWrapper();
if(serviceHandle != null){
wrapper.XmlResult = serviceHandle.handleCommand(xmlData);
}
return wrapper;
}
public static void main(String[] argv) {
SmdService service = new SmdService();
ServiceHandle handle = new ServiceHandle();
service.serviceHandle = handle;
String address = "http://10.42.73.173:8080/services/SmdService";
address = "http://0.0.0.0:8888/services/SmdService";
System.out.println("Publish the webservice, address:" + address);
Endpoint.publish(address, service);
// String posName = "3_2_1";
// String cid = "06001";
// String[] infos = posName.split("_");
// if(infos.length >= 3){
// String last = infos[infos.length-1];
// String middle = infos[infos.length -2];
// String first = infos[infos.length - 3];
// String Depot = "T" + cid + "." + first + middle + last;
// System.out.println(Depot);
// }
}
}
package StSys.RoyoTech;
import StSys.RoyoTech.client.AdapterService;
import StSys.RoyoTech.client.IWSAdapter;
import com.myproject.bean.update.Barcode;
import com.myproject.util.XmlUtil;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import javax.xml.namespace.QName;
import java.util.ArrayList;
import java.util.List;
/**
* Created by sunke on 2019/10/12.
*/
public class WebServiceClient {
protected static final transient Logger log = LogManager.getLogger(WebServiceClient.class);
private static IWSAdapter adapter = null;
public static String NotifyCarrierNew(String barcode, String pn){
log.info("扫到条码["+barcode+"]通知纬创接口");
String commandStr = "<XmlCommand><Command>NotifyCarrierNew</Command><Parameter><FieldList><Field key=\"CARRIER\" value=\""+barcode+"\" /><Field key=\"ARTICLE\" value=\""+pn+"\" /></FieldList></Parameter></XmlCommand>";
//commandStr = "<XmlCommand><Command>NotifyCarrierNew</Command><Parameter><FieldList><Field key=\"CARRIER\" value=\"M680174253219ACBT\" /><Field key=\"ARTICLE\" value=\"68.8R2BN.201\" /></FieldList></Parameter></XmlCommand>";
String resultXml = exeCommand(commandStr);
String errorCode = XmlUtil.getNodeBody("Errorcode",resultXml);
if(!"0".equals(errorCode)){
return XmlUtil.getNodeBody("Message",resultXml);
}
return "";
}
/**
* 3.2.1 RequestLoad
*/
public static String RequestLoad(String barcode){
log.info("验证["+barcode+"]是否可以入库");
String commandStr = "<XmlCommand><Command>RequestLoad</Command><Parameter><FieldList><Field key=\"CARRIER\" value=\""+barcode+"\" /></FieldList></Parameter></XmlCommand>";
String resultXml = exeCommand(commandStr);
String errorCode = XmlUtil.getNodeBody("Errorcode",resultXml);
if(!"0".equals(errorCode)){
return XmlUtil.getNodeBody("Message",resultXml);
}
return "";
}
public static void NotifyCarrierLoad(String barcode, String cid){
log.info("通知["+barcode+"]入库完成");
String commandStr = "<XmlCommand><Command>NotifyCarrierLoad</Command><Parameter><FieldList><Field key=\"CARRIER\" value=\""+barcode+"\" /><Field key=\"TOWER\" value=\""+cid+"\" /></FieldList></Parameter></XmlCommand>";
exeCommand(commandStr);
//String errorCode = XmlUtil.getNodeBody("Errorcode",resultXml);
}
/**
* 3.2.1 RequestUnload
*/
public static String RequestUnload(String barcode){
log.info("验证["+barcode+"]是否可以出库");
String commandStr = "<XmlCommand><Command>RequestUnload</Command><Parameter><FieldList><Field key=\"CARRIER\" value=\""+barcode+"\" /></FieldList></Parameter></XmlCommand>";
String resultXml = exeCommand(commandStr);
String errorCode = XmlUtil.getNodeBody("Errorcode",resultXml);
if(!"0".equals(errorCode)){
return XmlUtil.getNodeBody("Message",resultXml);
}
return "";
}
public static void NotifyCarrierUnload(String barcode, String cid){
log.info("通知["+barcode+"] 出库完成");
String commandStr = "<XmlCommand><Command>NotifyCarrierUnload</Command><Parameter><FieldList><Field key=\"CARRIER\" value=\""+barcode+"\" /><Field key=\"TOWER\" value=\""+cid+"\" /></FieldList></Parameter></XmlCommand>";
exeCommand(commandStr);
}
// public static Barcode RequestCarrierData(String barcode){
// String commandStr = "<XmlCommand><Command>RequestCarrierData</Command><Parameter><FieldList><Field key=\"CARRIER\" value=\""+barcode+"\" /></FieldList></Parameter></XmlCommand>";
// String resultXml = exeCommand(commandStr);
//
// }
public static void reloadAdapter(String wsdlUrl){
AdapterService.init(wsdlUrl);
adapter = new AdapterService().getBasicHttpBindingIWSAdapter();
}
private static String exeCommand(String commandStr){
try {
if(adapter == null){
adapter = new AdapterService().getBasicHttpBindingIWSAdapter();
}
log.info("execute: " + commandStr);
String result = adapter.adapterCommand(commandStr);
log.info("result:" + result);
return result;
}catch (Exception e){
log.error("执行命令出错",e);
}
return "";
}
public static void main(String args[]) throws Exception{
String barcode = "M780174253919WFH9";
String pn = "78.10520.5SL";
String cid = "wczt001";
WebServiceClient.NotifyCarrierNew(barcode,pn);
//WebServiceClient.RequestLoad(barcode);
//WebServiceClient.NotifyCarrierLoad(barcode,cid);
//WebServiceClient.RequestUnload(barcode);
//WebServiceClient.NotifyCarrierUnload(barcode,cid);
}
}
package StSys.RoyoTech;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;
/**
* Created by sunke on 2019/10/30.
*/
@XmlRootElement(name = "XmlResult")
public class XmlResultWrapper {
@XmlElement
public XmlResult XmlResult;
public static class XmlResult {
public String Errorcode;
public String Message;
public XmlResult() {
}
public XmlResult(String errorcode, String message) {
Errorcode = errorcode;
Message = message;
}
@XmlElementWrapper(name = "Data")
@XmlElement(name = "TowerDetialImforation")
public List<TowerDetialImforation> allTowerDetails;
@XmlElementWrapper(name = "Data")
@XmlElement(name = "TowerDetailInformation")
public List<TowerBaseInformation> detailTowers;
@XmlElement(name = "Data")
public TowerObj TowerObj;
@XmlElementWrapper(name = "Data")
@XmlElement(name = "TowerBaseInformation")
public List<TowerBaseInformation> baseTowers;
@XmlElementWrapper(name = "Data")
@XmlElement(name = "JobListInformation")
public List<JobListInformation> jobLists;
@XmlElementWrapper(name = "Data")
@XmlElement(name = "CarrierInformation")
public List<CarrierInformation> carriers;
}
public static class TowerObj{
public TowerObj(List<TowerBaseInformation> towers) {
baseTowers = towers;
}
@XmlElementWrapper(name = "ArrayOfTowerBaseInformation")
@XmlElement(name = "TowerBaseInformation")
public List<TowerBaseInformation> baseTowers;
}
/**
* <TowerDetailInformation> <TowerId>000800</TowerId> <TowerName>000800</TowerName> <OnlineStatus>Online</OnlineStatus> <StatusText>Bereit</StatusText> <StatusCode>26</StatusCode> <Temperature>23.52</Temperature> <Humidity>49.42</Humidity>
<Slots> <Slot>
<Slotname>s78</Slotname> <Slots_used>208</Slots_used> <Slots_free>266</Slots_free>
</Slot> <Slot>
<Slotname>s712</Slotname> <Slots_used>4</Slots_used> <Slots_free>36</Slots_free>
</Slot> .
. </Slots>
</TowerDetailInformation>
*/
public static class TowerBaseInformation {
public TowerBaseInformation() {
}
public TowerBaseInformation(int towerId) {
TowerId = towerId;
}
public int TowerId;
public String TowerName;
public String OnlineStatus;
public String StatusText;
public String StatusCode;
public String Temperature;
public String Humidity;
@XmlElementWrapper(name = "Slots")
@XmlElement(name = "Slot")
public List<Slot> Slots;
}
public static class Slot{
public String Slotname;
public int Slots_used;
public int Slots_free;
}
public static class Pos{
public String Dia; //料卷直径
public String Thinkness; //料卷厚度
public int SlotsFree; //剩余储位数量
public int SlotsUsed; //已用储位数量
}
public static class CarrierInformation{
public int ID;
public String Carrier;
public String CreateDate;
public String CreateUser="";
public int Article = 0;
/**
* 000800.72.03其中000800为TowerId
*/
public String Depot;
public int DepotOld = 0;
public String DepotDate;
public String DepotUser = "";
public String Traybox = "";
public int Stock;
public int StockMin = 0;
public int StockNew = 0;
public int StockUsed = 0;
public int StockTPSys = 0;
public boolean Guessed = false;
public int Cycles = 0;
public int Outtime = 0;
public boolean Unleaded = false;
public int PriceP = 0;
public int Height;
public int HCode = 0;
public int Diameter;
public int Supply = 0;
public String Pin1 = "";
public String Magazine = "";
public String Feeder = "";
public int StepWidth = 0;
public String ZACC = "";
public String YACC = "";
public int Duration = 0;
public int Frequency = 0;
public int Amplitude = 0;
public String Lock = "";
public String MSL = "";
public boolean MSLWatch = false;
public String MSLDate = "2016-09-23T00:00:00";
public String DryDate = "2016-09-23T00:00:00";
public String Expiry = "0001-01-01T00:00:00";
public int Core = 0;
public int TapeHeight = 0;
public String C_Order = "";
/**
* 唯一码后面的几个字符串
*/
public String Manufactur = "";
public String MReference = "";
public String MBarcode = "";
public String Batch;
/**
* 使用条码中的最后一个字段
*/
public String Custom1;
public String Custom2 = "";
public String Custom3 = "";
public String Custom4 = "";
public String Custom5 = "";
public String Custom6 = "";
}
public static class JobListInformation{
public String ID;
public String Name;
public String CreateDate;
public String CreateTime;
@XmlElementWrapper(name = "List")
@XmlElement(name = "JobListItem")
public List<JobListItem> jobListItems;
public void addItem(String barcode, String pn){
if(jobListItems == null){
jobListItems = new ArrayList<>();
}
JobListItem item = new JobListItem();
item.Article = pn;
item.Carrier = barcode;
jobListItems.add(item);
}
}
public static class JobListItem{
public String Article;
public String Carrier;
}
//Tower详细信息
public static class TowerDetialImforation
{
public String TowerID; //机台编号
public boolean DoorIsClosed; //机台门已关上
public boolean LightYellow; //机台三色灯_黄灯
public boolean LightGreen; //机台三色灯_绿灯
public boolean LightRed; //机台三色灯_红灯
public int StatusCode; //机台状态代码(厂商自行定义 Ex:1.Ready、2.未开机、3.卡料、……)
public String StatusDescription; //机台状态描述(对上述状态代码的描述)
public MaterialState Material; //入料口料状态信息(详细内容见MaterialState类)
@XmlElementWrapper(name = "Slots")
@XmlElement(name = "Slot")
public List<Pos> Storages; //机台仓储信息(详细内容见Slot类)
}
//入料口料状态信息
public static class MaterialState
{
public boolean Exist; //入料口有料感应
public String State; //入料口料状态(枚举States:Loading/Unloading/Unloaded/LoadNG)
public String Barcode2D; //入料口料二维码(出料时要有)
public String Message; //LoadNG入料失败原因
}
//入料口料卷状态
public static enum States
{
Loading, //正在入料
Unloading, //正在出料
Unloaded, //出料完成
LoadNG//入料失败
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="armTowerStatusSetRequest" type="{http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models}SCTLTOWERModel.ARMTowerStatusSetRequest" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"armTowerStatusSetRequest"
})
@XmlRootElement(name = "ARMTowerStatusSet", namespace = "http://tempuri.org/")
public class ARMTowerStatusSet {
@XmlElementRef(name = "armTowerStatusSetRequest", namespace = "http://tempuri.org/", type = JAXBElement.class, required = false)
protected JAXBElement<SCTLTOWERModelARMTowerStatusSetRequest> armTowerStatusSetRequest;
/**
* 获取armTowerStatusSetRequest属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelARMTowerStatusSetRequest }{@code >}
*
*/
public JAXBElement<SCTLTOWERModelARMTowerStatusSetRequest> getArmTowerStatusSetRequest() {
return armTowerStatusSetRequest;
}
/**
* 设置armTowerStatusSetRequest属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelARMTowerStatusSetRequest }{@code >}
*
*/
public void setArmTowerStatusSetRequest(JAXBElement<SCTLTOWERModelARMTowerStatusSetRequest> value) {
this.armTowerStatusSetRequest = value;
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="ARMTowerStatusSetResult" type="{http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models}SCTLTOWERModel.ARMTowerStatusSetResponse" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"armTowerStatusSetResult"
})
@XmlRootElement(name = "ARMTowerStatusSetResponse", namespace = "http://tempuri.org/")
public class ARMTowerStatusSetResponse {
@XmlElementRef(name = "ARMTowerStatusSetResult", namespace = "http://tempuri.org/", type = JAXBElement.class, required = false)
protected JAXBElement<SCTLTOWERModelARMTowerStatusSetResponse> armTowerStatusSetResult;
/**
* 获取armTowerStatusSetResult属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelARMTowerStatusSetResponse }{@code >}
*
*/
public JAXBElement<SCTLTOWERModelARMTowerStatusSetResponse> getARMTowerStatusSetResult() {
return armTowerStatusSetResult;
}
/**
* 设置armTowerStatusSetResult属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelARMTowerStatusSetResponse }{@code >}
*
*/
public void setARMTowerStatusSetResult(JAXBElement<SCTLTOWERModelARMTowerStatusSetResponse> value) {
this.armTowerStatusSetResult = value;
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="xmlString" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"xmlString"
})
@XmlRootElement(name = "AdapterCommand", namespace = "http://tempuri.org/")
public class AdapterCommand {
@XmlElementRef(name = "xmlString", namespace = "http://tempuri.org/", type = JAXBElement.class, required = false)
protected JAXBElement<String> xmlString;
/**
* 获取xmlString属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public JAXBElement<String> getXmlString() {
return xmlString;
}
/**
* 设置xmlString属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setXmlString(JAXBElement<String> value) {
this.xmlString = value;
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="AdapterCommandResult" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"adapterCommandResult"
})
@XmlRootElement(name = "AdapterCommandResponse", namespace = "http://tempuri.org/")
public class AdapterCommandResponse {
@XmlElementRef(name = "AdapterCommandResult", namespace = "http://tempuri.org/", type = JAXBElement.class, required = false)
protected JAXBElement<String> adapterCommandResult;
/**
* 获取adapterCommandResult属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public JAXBElement<String> getAdapterCommandResult() {
return adapterCommandResult;
}
/**
* 设置adapterCommandResult属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setAdapterCommandResult(JAXBElement<String> value) {
this.adapterCommandResult = value;
}
}
package StSys.RoyoTech.client;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceException;
import javax.xml.ws.WebServiceFeature;
/**
* This class was generated by the JAX-WS RI.
* JAX-WS RI 2.2.9-b130926.1035
* Generated source version: 2.2
* http://10.42.23.228/WCF_ForSTSys2.0/AdapterService.svc?wsdl
*/
@WebServiceClient(name = "AdapterService", targetNamespace = "http://tempuri.org/", wsdlLocation = "http://10.42.23.228/WCF_ForSTSys2.0/AdapterService.svc?wsdl")
public class AdapterService
extends Service
{
private static String wsdlStr = "http://10.42.23.228/WCF_ForSTSys2.0/AdapterService.svc?wsdl";
private static URL ADAPTERSERVICE_WSDL_LOCATION;
private static WebServiceException ADAPTERSERVICE_EXCEPTION;
private static QName ADAPTERSERVICE_QNAME = new QName("http://tempuri.org/", "AdapterService");
public static void init(String urlStr){
if(urlStr.equalsIgnoreCase(wsdlStr)){
return;
}
wsdlStr = urlStr;
URL url = null;
WebServiceException e = null;
try {
url = new URL(urlStr);
//url = new URL("http://10.42.73.97:8080/services/SmdService?wsdl");
} catch (MalformedURLException ex) {
e = new WebServiceException(ex);
}
ADAPTERSERVICE_WSDL_LOCATION = url;
ADAPTERSERVICE_EXCEPTION = e;
}
static {
//String urlStr = "http://172.30.60.211/WCF_ForSTSys2.0/AdapterService.svc?wsdl";
init(wsdlStr);
}
public AdapterService() {
super(__getWsdlLocation(), ADAPTERSERVICE_QNAME);
}
public AdapterService(WebServiceFeature... features) {
super(__getWsdlLocation(), ADAPTERSERVICE_QNAME, features);
}
public AdapterService(URL wsdlLocation) {
super(wsdlLocation, ADAPTERSERVICE_QNAME);
}
public AdapterService(URL wsdlLocation, WebServiceFeature... features) {
super(wsdlLocation, ADAPTERSERVICE_QNAME, features);
}
public AdapterService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public AdapterService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
super(wsdlLocation, serviceName, features);
}
/**
*
* @return
* returns IWSAdapter
*/
@WebEndpoint(name = "BasicHttpBinding_IWSAdapter")
public IWSAdapter getBasicHttpBindingIWSAdapter() {
return super.getPort(new QName("http://tempuri.org/", "BasicHttpBinding_IWSAdapter"), IWSAdapter.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
* @return
* returns IWSAdapter
*/
@WebEndpoint(name = "BasicHttpBinding_IWSAdapter")
public IWSAdapter getBasicHttpBindingIWSAdapter(WebServiceFeature... features) {
return super.getPort(new QName("http://tempuri.org/", "BasicHttpBinding_IWSAdapter"), IWSAdapter.class, features);
}
/**
*
* @return
* returns IArmService
*/
@WebEndpoint(name = "BasicHttpBinding_IArmService")
public IArmService getBasicHttpBindingIArmService() {
return super.getPort(new QName("http://tempuri.org/", "BasicHttpBinding_IArmService"), IArmService.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
* @return
* returns IArmService
*/
@WebEndpoint(name = "BasicHttpBinding_IArmService")
public IArmService getBasicHttpBindingIArmService(WebServiceFeature... features) {
return super.getPort(new QName("http://tempuri.org/", "BasicHttpBinding_IArmService"), IArmService.class, features);
}
private static URL __getWsdlLocation() {
if (ADAPTERSERVICE_EXCEPTION!= null) {
throw ADAPTERSERVICE_EXCEPTION;
}
return ADAPTERSERVICE_WSDL_LOCATION;
}
}
<?xml version="1.0" encoding="utf-8"?><wsdl:definitions name="AdapterService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns="http://tempuri.org/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"><wsdl:types><xsd:schema targetNamespace="http://tempuri.org/Imports"><xsd:import schemaLocation="http://10.42.23.228/WCF_ForSTSys2.0/AdapterService.svc?xsd=xsd0" namespace="http://tempuri.org/"/><xsd:import schemaLocation="http://10.42.23.228/WCF_ForSTSys2.0/AdapterService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/><xsd:import schemaLocation="http://10.42.23.228/WCF_ForSTSys2.0/AdapterService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models"/><xsd:import schemaLocation="http://10.42.23.228/WCF_ForSTSys2.0/AdapterService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/Module.Common"/></xsd:schema></wsdl:types><wsdl:message name="IWSAdapter_AdapterCommand_InputMessage"><wsdl:part name="parameters" element="tns:AdapterCommand"/></wsdl:message><wsdl:message name="IWSAdapter_AdapterCommand_OutputMessage"><wsdl:part name="parameters" element="tns:AdapterCommandResponse"/></wsdl:message><wsdl:message name="IArmService_ReelInLoaderReq_InputMessage"><wsdl:part name="parameters" element="tns:ReelInLoaderReq"/></wsdl:message><wsdl:message name="IArmService_ReelInLoaderReq_OutputMessage"><wsdl:part name="parameters" element="tns:ReelInLoaderReqResponse"/></wsdl:message><wsdl:message name="IArmService_ReelMoveToWhereReq_InputMessage"><wsdl:part name="parameters" element="tns:ReelMoveToWhereReq"/></wsdl:message><wsdl:message name="IArmService_ReelMoveToWhereReq_OutputMessage"><wsdl:part name="parameters" element="tns:ReelMoveToWhereReqResponse"/></wsdl:message><wsdl:message name="IArmService_ReelMoveToWhereCompleteReq_InputMessage"><wsdl:part name="parameters" element="tns:ReelMoveToWhereCompleteReq"/></wsdl:message><wsdl:message name="IArmService_ReelMoveToWhereCompleteReq_OutputMessage"><wsdl:part name="parameters" element="tns:ReelMoveToWhereCompleteReqResponse"/></wsdl:message><wsdl:message name="IArmService_WakeupWebService_InputMessage"><wsdl:part name="parameters" element="tns:WakeupWebService"/></wsdl:message><wsdl:message name="IArmService_WakeupWebService_OutputMessage"><wsdl:part name="parameters" element="tns:WakeupWebServiceResponse"/></wsdl:message><wsdl:message name="IArmService_ARMTowerStatusSet_InputMessage"><wsdl:part name="parameters" element="tns:ARMTowerStatusSet"/></wsdl:message><wsdl:message name="IArmService_ARMTowerStatusSet_OutputMessage"><wsdl:part name="parameters" element="tns:ARMTowerStatusSetResponse"/></wsdl:message><wsdl:portType name="IWSAdapter"><wsdl:operation name="AdapterCommand"><wsdl:input wsaw:Action="http://tempuri.org/IWSAdapter/AdapterCommand" message="tns:IWSAdapter_AdapterCommand_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IWSAdapter/AdapterCommandResponse" message="tns:IWSAdapter_AdapterCommand_OutputMessage"/></wsdl:operation></wsdl:portType><wsdl:portType name="IArmService"><wsdl:operation name="ReelInLoaderReq"><wsdl:input wsaw:Action="http://tempuri.org/IArmService/ReelInLoaderReq" message="tns:IArmService_ReelInLoaderReq_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IArmService/ReelInLoaderReqResponse" message="tns:IArmService_ReelInLoaderReq_OutputMessage"/></wsdl:operation><wsdl:operation name="ReelMoveToWhereReq"><wsdl:input wsaw:Action="http://tempuri.org/IArmService/ReelMoveToWhereReq" message="tns:IArmService_ReelMoveToWhereReq_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IArmService/ReelMoveToWhereReqResponse" message="tns:IArmService_ReelMoveToWhereReq_OutputMessage"/></wsdl:operation><wsdl:operation name="ReelMoveToWhereCompleteReq"><wsdl:input wsaw:Action="http://tempuri.org/IArmService/ReelMoveToWhereCompleteReq" message="tns:IArmService_ReelMoveToWhereCompleteReq_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IArmService/ReelMoveToWhereCompleteReqResponse" message="tns:IArmService_ReelMoveToWhereCompleteReq_OutputMessage"/></wsdl:operation><wsdl:operation name="WakeupWebService"><wsdl:input wsaw:Action="http://tempuri.org/IArmService/WakeupWebService" message="tns:IArmService_WakeupWebService_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IArmService/WakeupWebServiceResponse" message="tns:IArmService_WakeupWebService_OutputMessage"/></wsdl:operation><wsdl:operation name="ARMTowerStatusSet"><wsdl:input wsaw:Action="http://tempuri.org/IArmService/ARMTowerStatusSet" message="tns:IArmService_ARMTowerStatusSet_InputMessage"/><wsdl:output wsaw:Action="http://tempuri.org/IArmService/ARMTowerStatusSetResponse" message="tns:IArmService_ARMTowerStatusSet_OutputMessage"/></wsdl:operation></wsdl:portType><wsdl:binding name="BasicHttpBinding_IWSAdapter" type="tns:IWSAdapter"><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="AdapterCommand"><soap:operation soapAction="http://tempuri.org/IWSAdapter/AdapterCommand" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:binding name="BasicHttpBinding_IArmService" type="tns:IArmService"><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="ReelInLoaderReq"><soap:operation soapAction="http://tempuri.org/IArmService/ReelInLoaderReq" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="ReelMoveToWhereReq"><soap:operation soapAction="http://tempuri.org/IArmService/ReelMoveToWhereReq" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="ReelMoveToWhereCompleteReq"><soap:operation soapAction="http://tempuri.org/IArmService/ReelMoveToWhereCompleteReq" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="WakeupWebService"><soap:operation soapAction="http://tempuri.org/IArmService/WakeupWebService" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="ARMTowerStatusSet"><soap:operation soapAction="http://tempuri.org/IArmService/ARMTowerStatusSet" style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="AdapterService"><wsdl:port name="BasicHttpBinding_IWSAdapter" binding="tns:BasicHttpBinding_IWSAdapter"><soap:address location="http://10.42.23.228/WCF_ForSTSys2.0/AdapterService.svc"/></wsdl:port><wsdl:port name="BasicHttpBinding_IArmService" binding="tns:BasicHttpBinding_IArmService"><soap:address location="http://10.42.23.228/WCF_ForSTSys2.0/AdapterService.svc"/></wsdl:port></wsdl:service></wsdl:definitions>
\ No newline at end of file \ No newline at end of file
package StSys.RoyoTech.client;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>ArrayOfSCTLTOWERModel.ARMTowerSetData complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="ArrayOfSCTLTOWERModel.ARMTowerSetData">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="SCTLTOWERModel.ARMTowerSetData" type="{http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models}SCTLTOWERModel.ARMTowerSetData" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ArrayOfSCTLTOWERModel.ARMTowerSetData", propOrder = {
"sctltowerModelARMTowerSetData"
})
public class ArrayOfSCTLTOWERModelARMTowerSetData {
@XmlElement(name = "SCTLTOWERModel.ARMTowerSetData", nillable = true)
protected List<SCTLTOWERModelARMTowerSetData> sctltowerModelARMTowerSetData;
/**
* Gets the value of the sctltowerModelARMTowerSetData property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the sctltowerModelARMTowerSetData property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getSCTLTOWERModelARMTowerSetData().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link SCTLTOWERModelARMTowerSetData }
*
*
*/
public List<SCTLTOWERModelARMTowerSetData> getSCTLTOWERModelARMTowerSetData() {
if (sctltowerModelARMTowerSetData == null) {
sctltowerModelARMTowerSetData = new ArrayList<SCTLTOWERModelARMTowerSetData>();
}
return this.sctltowerModelARMTowerSetData;
}
}
package StSys.RoyoTech.client;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
/**
* This class was generated by the JAX-WS RI.
* JAX-WS RI 2.2.9-b130926.1035
* Generated source version: 2.2
*
*/
@WebService(name = "IArmService", targetNamespace = "http://tempuri.org/")
@XmlSeeAlso({
ObjectFactory.class
})
public interface IArmService {
/**
*
* @param reelInLoaderRequest
* @return
* returns StSys.RoyoTech.client.SCTLTOWERModelReelInLoaderResponse
*/
@WebMethod(operationName = "ReelInLoaderReq", action = "http://tempuri.org/IArmService/ReelInLoaderReq")
@WebResult(name = "ReelInLoaderReqResult", targetNamespace = "http://tempuri.org/")
@RequestWrapper(localName = "ReelInLoaderReq", targetNamespace = "http://tempuri.org/", className = "StSys.RoyoTech.client.ReelInLoaderReq")
@ResponseWrapper(localName = "ReelInLoaderReqResponse", targetNamespace = "http://tempuri.org/", className = "StSys.RoyoTech.client.ReelInLoaderReqResponse")
public SCTLTOWERModelReelInLoaderResponse reelInLoaderReq(
@WebParam(name = "reelInLoaderRequest", targetNamespace = "http://tempuri.org/")
SCTLTOWERModelReelInLoaderRequest reelInLoaderRequest);
/**
*
* @param reelMoveToWhereRequest
* @return
* returns StSys.RoyoTech.client.SCTLTOWERModelReelMoveToWhereResponse
*/
@WebMethod(operationName = "ReelMoveToWhereReq", action = "http://tempuri.org/IArmService/ReelMoveToWhereReq")
@WebResult(name = "ReelMoveToWhereReqResult", targetNamespace = "http://tempuri.org/")
@RequestWrapper(localName = "ReelMoveToWhereReq", targetNamespace = "http://tempuri.org/", className = "StSys.RoyoTech.client.ReelMoveToWhereReq")
@ResponseWrapper(localName = "ReelMoveToWhereReqResponse", targetNamespace = "http://tempuri.org/", className = "StSys.RoyoTech.client.ReelMoveToWhereReqResponse")
public SCTLTOWERModelReelMoveToWhereResponse reelMoveToWhereReq(
@WebParam(name = "reelMoveToWhereRequest", targetNamespace = "http://tempuri.org/")
SCTLTOWERModelReelMoveToWhereRequest reelMoveToWhereRequest);
/**
*
* @param reelMoveToWhereCompleteRequest
* @return
* returns StSys.RoyoTech.client.SCTLTOWERModelReelMoveToWhereCompleteResponse
*/
@WebMethod(operationName = "ReelMoveToWhereCompleteReq", action = "http://tempuri.org/IArmService/ReelMoveToWhereCompleteReq")
@WebResult(name = "ReelMoveToWhereCompleteReqResult", targetNamespace = "http://tempuri.org/")
@RequestWrapper(localName = "ReelMoveToWhereCompleteReq", targetNamespace = "http://tempuri.org/", className = "StSys.RoyoTech.client.ReelMoveToWhereCompleteReq")
@ResponseWrapper(localName = "ReelMoveToWhereCompleteReqResponse", targetNamespace = "http://tempuri.org/", className = "StSys.RoyoTech.client.ReelMoveToWhereCompleteReqResponse")
public SCTLTOWERModelReelMoveToWhereCompleteResponse reelMoveToWhereCompleteReq(
@WebParam(name = "reelMoveToWhereCompleteRequest", targetNamespace = "http://tempuri.org/")
SCTLTOWERModelReelMoveToWhereCompleteRequest reelMoveToWhereCompleteRequest);
/**
*
* @param message
* @return
* returns java.lang.String
*/
@WebMethod(operationName = "WakeupWebService", action = "http://tempuri.org/IArmService/WakeupWebService")
@WebResult(name = "WakeupWebServiceResult", targetNamespace = "http://tempuri.org/")
@RequestWrapper(localName = "WakeupWebService", targetNamespace = "http://tempuri.org/", className = "StSys.RoyoTech.client.WakeupWebService")
@ResponseWrapper(localName = "WakeupWebServiceResponse", targetNamespace = "http://tempuri.org/", className = "StSys.RoyoTech.client.WakeupWebServiceResponse")
public String wakeupWebService(
@WebParam(name = "message", targetNamespace = "http://tempuri.org/")
String message);
/**
*
* @param armTowerStatusSetRequest
* @return
* returns StSys.RoyoTech.client.SCTLTOWERModelARMTowerStatusSetResponse
*/
@WebMethod(operationName = "ARMTowerStatusSet", action = "http://tempuri.org/IArmService/ARMTowerStatusSet")
@WebResult(name = "ARMTowerStatusSetResult", targetNamespace = "http://tempuri.org/")
@RequestWrapper(localName = "ARMTowerStatusSet", targetNamespace = "http://tempuri.org/", className = "StSys.RoyoTech.client.ARMTowerStatusSet")
@ResponseWrapper(localName = "ARMTowerStatusSetResponse", targetNamespace = "http://tempuri.org/", className = "StSys.RoyoTech.client.ARMTowerStatusSetResponse")
public SCTLTOWERModelARMTowerStatusSetResponse armTowerStatusSet(
@WebParam(name = "armTowerStatusSetRequest", targetNamespace = "http://tempuri.org/")
SCTLTOWERModelARMTowerStatusSetRequest armTowerStatusSetRequest);
}
package StSys.RoyoTech.client;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
/**
* This class was generated by the JAX-WS RI.
* JAX-WS RI 2.2.9-b130926.1035
* Generated source version: 2.2
*
*/
@WebService(name = "IWSAdapter", targetNamespace = "http://tempuri.org/")
@XmlSeeAlso({
ObjectFactory.class
})
public interface IWSAdapter {
/**
*
* @param xmlString
* @return
* returns java.lang.String
*/
@WebMethod(operationName = "AdapterCommand", action = "http://tempuri.org/IWSAdapter/AdapterCommand")
@WebResult(name = "AdapterCommandResult", targetNamespace = "http://tempuri.org/")
@RequestWrapper(localName = "AdapterCommand", targetNamespace = "http://tempuri.org/", className = "StSys.RoyoTech.client.AdapterCommand")
@ResponseWrapper(localName = "AdapterCommandResponse", targetNamespace = "http://tempuri.org/", className = "StSys.RoyoTech.client.AdapterCommandResponse")
public String adapterCommand(
@WebParam(name = "xmlString", targetNamespace = "http://tempuri.org/")
String xmlString);
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* <p>MduCommon.CommonAPIRequestOfSCTLTOWERModel.Datau_PUI5utU complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="MduCommon.CommonAPIRequestOfSCTLTOWERModel.Datau_PUI5utU">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="Data" type="{http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models}SCTLTOWERModel.Data" minOccurs="0"/>
* &lt;element name="Language" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* &lt;element name="RequestTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* &lt;element name="UserID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MduCommon.CommonAPIRequestOfSCTLTOWERModel.Datau_PUI5utU", namespace = "http://schemas.datacontract.org/2004/07/Module.Common", propOrder = {
"data",
"language",
"requestTime",
"userID"
})
@XmlSeeAlso({
SCTLTOWERModelReelInLoaderRequest.class,
SCTLTOWERModelReelMoveToWhereCompleteRequest.class,
SCTLTOWERModelReelMoveToWhereRequest.class
})
public class MduCommonCommonAPIRequestOfSCTLTOWERModelDatauPUI5UtU {
@XmlElementRef(name = "Data", namespace = "http://schemas.datacontract.org/2004/07/Module.Common", type = JAXBElement.class, required = false)
protected JAXBElement<SCTLTOWERModelData> data;
@XmlElement(name = "Language")
protected Integer language;
@XmlElement(name = "RequestTime")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar requestTime;
@XmlElementRef(name = "UserID", namespace = "http://schemas.datacontract.org/2004/07/Module.Common", type = JAXBElement.class, required = false)
protected JAXBElement<String> userID;
/**
* 获取data属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelData }{@code >}
*
*/
public JAXBElement<SCTLTOWERModelData> getData() {
return data;
}
/**
* 设置data属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelData }{@code >}
*
*/
public void setData(JAXBElement<SCTLTOWERModelData> value) {
this.data = value;
}
/**
* 获取language属性的值。
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getLanguage() {
return language;
}
/**
* 设置language属性的值。
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setLanguage(Integer value) {
this.language = value;
}
/**
* 获取requestTime属性的值。
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getRequestTime() {
return requestTime;
}
/**
* 设置requestTime属性的值。
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setRequestTime(XMLGregorianCalendar value) {
this.requestTime = value;
}
/**
* 获取userID属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public JAXBElement<String> getUserID() {
return userID;
}
/**
* 设置userID属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setUserID(JAXBElement<String> value) {
this.userID = value;
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* <p>MduCommon.CommonAPIRequestOfSCTLTOWERModel.TowerSetListu_PUI5utU complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="MduCommon.CommonAPIRequestOfSCTLTOWERModel.TowerSetListu_PUI5utU">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="Data" type="{http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models}SCTLTOWERModel.TowerSetList" minOccurs="0"/>
* &lt;element name="Language" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* &lt;element name="RequestTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* &lt;element name="UserID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MduCommon.CommonAPIRequestOfSCTLTOWERModel.TowerSetListu_PUI5utU", namespace = "http://schemas.datacontract.org/2004/07/Module.Common", propOrder = {
"data",
"language",
"requestTime",
"userID"
})
@XmlSeeAlso({
SCTLTOWERModelARMTowerStatusSetRequest.class
})
public class MduCommonCommonAPIRequestOfSCTLTOWERModelTowerSetListuPUI5UtU {
@XmlElementRef(name = "Data", namespace = "http://schemas.datacontract.org/2004/07/Module.Common", type = JAXBElement.class, required = false)
protected JAXBElement<SCTLTOWERModelTowerSetList> data;
@XmlElement(name = "Language")
protected Integer language;
@XmlElement(name = "RequestTime")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar requestTime;
@XmlElementRef(name = "UserID", namespace = "http://schemas.datacontract.org/2004/07/Module.Common", type = JAXBElement.class, required = false)
protected JAXBElement<String> userID;
/**
* 获取data属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelTowerSetList }{@code >}
*
*/
public JAXBElement<SCTLTOWERModelTowerSetList> getData() {
return data;
}
/**
* 设置data属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelTowerSetList }{@code >}
*
*/
public void setData(JAXBElement<SCTLTOWERModelTowerSetList> value) {
this.data = value;
}
/**
* 获取language属性的值。
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getLanguage() {
return language;
}
/**
* 设置language属性的值。
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setLanguage(Integer value) {
this.language = value;
}
/**
* 获取requestTime属性的值。
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getRequestTime() {
return requestTime;
}
/**
* 设置requestTime属性的值。
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setRequestTime(XMLGregorianCalendar value) {
this.requestTime = value;
}
/**
* 获取userID属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public JAXBElement<String> getUserID() {
return userID;
}
/**
* 设置userID属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setUserID(JAXBElement<String> value) {
this.userID = value;
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* <p>MduCommon.CommonAPIResponseOfSCTLTOWERModel.Datau_PUI5utU complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="MduCommon.CommonAPIResponseOfSCTLTOWERModel.Datau_PUI5utU">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="Data" type="{http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models}SCTLTOWERModel.Data" minOccurs="0"/>
* &lt;element name="Message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="ResponseTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* &lt;element name="Result" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MduCommon.CommonAPIResponseOfSCTLTOWERModel.Datau_PUI5utU", namespace = "http://schemas.datacontract.org/2004/07/Module.Common", propOrder = {
"data",
"message",
"responseTime",
"result"
})
@XmlSeeAlso({
SCTLTOWERModelReelMoveToWhereResponse.class
})
public class MduCommonCommonAPIResponseOfSCTLTOWERModelDatauPUI5UtU {
@XmlElementRef(name = "Data", namespace = "http://schemas.datacontract.org/2004/07/Module.Common", type = JAXBElement.class, required = false)
protected JAXBElement<SCTLTOWERModelData> data;
@XmlElementRef(name = "Message", namespace = "http://schemas.datacontract.org/2004/07/Module.Common", type = JAXBElement.class, required = false)
protected JAXBElement<String> message;
@XmlElement(name = "ResponseTime")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar responseTime;
@XmlElement(name = "Result")
protected Boolean result;
/**
* 获取data属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelData }{@code >}
*
*/
public JAXBElement<SCTLTOWERModelData> getData() {
return data;
}
/**
* 设置data属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelData }{@code >}
*
*/
public void setData(JAXBElement<SCTLTOWERModelData> value) {
this.data = value;
}
/**
* 获取message属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public JAXBElement<String> getMessage() {
return message;
}
/**
* 设置message属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setMessage(JAXBElement<String> value) {
this.message = value;
}
/**
* 获取responseTime属性的值。
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getResponseTime() {
return responseTime;
}
/**
* 设置responseTime属性的值。
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setResponseTime(XMLGregorianCalendar value) {
this.responseTime = value;
}
/**
* 获取result属性的值。
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isResult() {
return result;
}
/**
* 设置result属性的值。
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setResult(Boolean value) {
this.result = value;
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* <p>MduCommon.CommonAPIResponseOfstringRvdAXEcW complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="MduCommon.CommonAPIResponseOfstringRvdAXEcW">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="Data" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="Message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="ResponseTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* &lt;element name="Result" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MduCommon.CommonAPIResponseOfstringRvdAXEcW", namespace = "http://schemas.datacontract.org/2004/07/Module.Common", propOrder = {
"data",
"message",
"responseTime",
"result"
})
@XmlSeeAlso({
SCTLTOWERModelReelInLoaderResponse.class,
SCTLTOWERModelReelMoveToWhereCompleteResponse.class,
SCTLTOWERModelARMTowerStatusSetResponse.class
})
public class MduCommonCommonAPIResponseOfstringRvdAXEcW {
@XmlElementRef(name = "Data", namespace = "http://schemas.datacontract.org/2004/07/Module.Common", type = JAXBElement.class, required = false)
protected JAXBElement<String> data;
@XmlElementRef(name = "Message", namespace = "http://schemas.datacontract.org/2004/07/Module.Common", type = JAXBElement.class, required = false)
protected JAXBElement<String> message;
@XmlElement(name = "ResponseTime")
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar responseTime;
@XmlElement(name = "Result")
protected Boolean result;
/**
* 获取data属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public JAXBElement<String> getData() {
return data;
}
/**
* 设置data属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setData(JAXBElement<String> value) {
this.data = value;
}
/**
* 获取message属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public JAXBElement<String> getMessage() {
return message;
}
/**
* 设置message属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setMessage(JAXBElement<String> value) {
this.message = value;
}
/**
* 获取responseTime属性的值。
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getResponseTime() {
return responseTime;
}
/**
* 设置responseTime属性的值。
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setResponseTime(XMLGregorianCalendar value) {
this.responseTime = value;
}
/**
* 获取result属性的值。
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isResult() {
return result;
}
/**
* 设置result属性的值。
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setResult(Boolean value) {
this.result = value;
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="reelInLoaderRequest" type="{http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models}SCTLTOWERModel.ReelInLoaderRequest" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"reelInLoaderRequest"
})
@XmlRootElement(name = "ReelInLoaderReq", namespace = "http://tempuri.org/")
public class ReelInLoaderReq {
@XmlElementRef(name = "reelInLoaderRequest", namespace = "http://tempuri.org/", type = JAXBElement.class, required = false)
protected JAXBElement<SCTLTOWERModelReelInLoaderRequest> reelInLoaderRequest;
/**
* 获取reelInLoaderRequest属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelReelInLoaderRequest }{@code >}
*
*/
public JAXBElement<SCTLTOWERModelReelInLoaderRequest> getReelInLoaderRequest() {
return reelInLoaderRequest;
}
/**
* 设置reelInLoaderRequest属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelReelInLoaderRequest }{@code >}
*
*/
public void setReelInLoaderRequest(JAXBElement<SCTLTOWERModelReelInLoaderRequest> value) {
this.reelInLoaderRequest = value;
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="ReelInLoaderReqResult" type="{http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models}SCTLTOWERModel.ReelInLoaderResponse" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"reelInLoaderReqResult"
})
@XmlRootElement(name = "ReelInLoaderReqResponse", namespace = "http://tempuri.org/")
public class ReelInLoaderReqResponse {
@XmlElementRef(name = "ReelInLoaderReqResult", namespace = "http://tempuri.org/", type = JAXBElement.class, required = false)
protected JAXBElement<SCTLTOWERModelReelInLoaderResponse> reelInLoaderReqResult;
/**
* 获取reelInLoaderReqResult属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelReelInLoaderResponse }{@code >}
*
*/
public JAXBElement<SCTLTOWERModelReelInLoaderResponse> getReelInLoaderReqResult() {
return reelInLoaderReqResult;
}
/**
* 设置reelInLoaderReqResult属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelReelInLoaderResponse }{@code >}
*
*/
public void setReelInLoaderReqResult(JAXBElement<SCTLTOWERModelReelInLoaderResponse> value) {
this.reelInLoaderReqResult = value;
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="reelMoveToWhereCompleteRequest" type="{http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models}SCTLTOWERModel.ReelMoveToWhereCompleteRequest" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"reelMoveToWhereCompleteRequest"
})
@XmlRootElement(name = "ReelMoveToWhereCompleteReq", namespace = "http://tempuri.org/")
public class ReelMoveToWhereCompleteReq {
@XmlElementRef(name = "reelMoveToWhereCompleteRequest", namespace = "http://tempuri.org/", type = JAXBElement.class, required = false)
protected JAXBElement<SCTLTOWERModelReelMoveToWhereCompleteRequest> reelMoveToWhereCompleteRequest;
/**
* 获取reelMoveToWhereCompleteRequest属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelReelMoveToWhereCompleteRequest }{@code >}
*
*/
public JAXBElement<SCTLTOWERModelReelMoveToWhereCompleteRequest> getReelMoveToWhereCompleteRequest() {
return reelMoveToWhereCompleteRequest;
}
/**
* 设置reelMoveToWhereCompleteRequest属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelReelMoveToWhereCompleteRequest }{@code >}
*
*/
public void setReelMoveToWhereCompleteRequest(JAXBElement<SCTLTOWERModelReelMoveToWhereCompleteRequest> value) {
this.reelMoveToWhereCompleteRequest = value;
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="ReelMoveToWhereCompleteReqResult" type="{http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models}SCTLTOWERModel.ReelMoveToWhereCompleteResponse" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"reelMoveToWhereCompleteReqResult"
})
@XmlRootElement(name = "ReelMoveToWhereCompleteReqResponse", namespace = "http://tempuri.org/")
public class ReelMoveToWhereCompleteReqResponse {
@XmlElementRef(name = "ReelMoveToWhereCompleteReqResult", namespace = "http://tempuri.org/", type = JAXBElement.class, required = false)
protected JAXBElement<SCTLTOWERModelReelMoveToWhereCompleteResponse> reelMoveToWhereCompleteReqResult;
/**
* 获取reelMoveToWhereCompleteReqResult属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelReelMoveToWhereCompleteResponse }{@code >}
*
*/
public JAXBElement<SCTLTOWERModelReelMoveToWhereCompleteResponse> getReelMoveToWhereCompleteReqResult() {
return reelMoveToWhereCompleteReqResult;
}
/**
* 设置reelMoveToWhereCompleteReqResult属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelReelMoveToWhereCompleteResponse }{@code >}
*
*/
public void setReelMoveToWhereCompleteReqResult(JAXBElement<SCTLTOWERModelReelMoveToWhereCompleteResponse> value) {
this.reelMoveToWhereCompleteReqResult = value;
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="reelMoveToWhereRequest" type="{http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models}SCTLTOWERModel.ReelMoveToWhereRequest" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"reelMoveToWhereRequest"
})
@XmlRootElement(name = "ReelMoveToWhereReq", namespace = "http://tempuri.org/")
public class ReelMoveToWhereReq {
@XmlElementRef(name = "reelMoveToWhereRequest", namespace = "http://tempuri.org/", type = JAXBElement.class, required = false)
protected JAXBElement<SCTLTOWERModelReelMoveToWhereRequest> reelMoveToWhereRequest;
/**
* 获取reelMoveToWhereRequest属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelReelMoveToWhereRequest }{@code >}
*
*/
public JAXBElement<SCTLTOWERModelReelMoveToWhereRequest> getReelMoveToWhereRequest() {
return reelMoveToWhereRequest;
}
/**
* 设置reelMoveToWhereRequest属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelReelMoveToWhereRequest }{@code >}
*
*/
public void setReelMoveToWhereRequest(JAXBElement<SCTLTOWERModelReelMoveToWhereRequest> value) {
this.reelMoveToWhereRequest = value;
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="ReelMoveToWhereReqResult" type="{http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models}SCTLTOWERModel.ReelMoveToWhereResponse" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"reelMoveToWhereReqResult"
})
@XmlRootElement(name = "ReelMoveToWhereReqResponse", namespace = "http://tempuri.org/")
public class ReelMoveToWhereReqResponse {
@XmlElementRef(name = "ReelMoveToWhereReqResult", namespace = "http://tempuri.org/", type = JAXBElement.class, required = false)
protected JAXBElement<SCTLTOWERModelReelMoveToWhereResponse> reelMoveToWhereReqResult;
/**
* 获取reelMoveToWhereReqResult属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelReelMoveToWhereResponse }{@code >}
*
*/
public JAXBElement<SCTLTOWERModelReelMoveToWhereResponse> getReelMoveToWhereReqResult() {
return reelMoveToWhereReqResult;
}
/**
* 设置reelMoveToWhereReqResult属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelReelMoveToWhereResponse }{@code >}
*
*/
public void setReelMoveToWhereReqResult(JAXBElement<SCTLTOWERModelReelMoveToWhereResponse> value) {
this.reelMoveToWhereReqResult = value;
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
/**
* <p>SCTLTOWERModel.ARMTowerSetData complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="SCTLTOWERModel.ARMTowerSetData">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="ArmShieldType" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* &lt;element name="TowerId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SCTLTOWERModel.ARMTowerSetData", propOrder = {
"armShieldType",
"towerId"
})
public class SCTLTOWERModelARMTowerSetData {
@XmlElement(name = "ArmShieldType")
protected Integer armShieldType;
@XmlElementRef(name = "TowerId", namespace = "http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models", type = JAXBElement.class, required = false)
protected JAXBElement<String> towerId;
/**
* 获取armShieldType属性的值。
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getArmShieldType() {
return armShieldType;
}
/**
* 设置armShieldType属性的值。
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setArmShieldType(Integer value) {
this.armShieldType = value;
}
/**
* 获取towerId属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public JAXBElement<String> getTowerId() {
return towerId;
}
/**
* 设置towerId属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setTowerId(JAXBElement<String> value) {
this.towerId = value;
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>SCTLTOWERModel.ARMTowerStatusSetRequest complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="SCTLTOWERModel.ARMTowerStatusSetRequest">
* &lt;complexContent>
* &lt;extension base="{http://schemas.datacontract.org/2004/07/Module.Common}MduCommon.CommonAPIRequestOfSCTLTOWERModel.TowerSetListu_PUI5utU">
* &lt;sequence>
* &lt;/sequence>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SCTLTOWERModel.ARMTowerStatusSetRequest")
public class SCTLTOWERModelARMTowerStatusSetRequest
extends MduCommonCommonAPIRequestOfSCTLTOWERModelTowerSetListuPUI5UtU
{
}
package StSys.RoyoTech.client;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>SCTLTOWERModel.ARMTowerStatusSetResponse complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="SCTLTOWERModel.ARMTowerStatusSetResponse">
* &lt;complexContent>
* &lt;extension base="{http://schemas.datacontract.org/2004/07/Module.Common}MduCommon.CommonAPIResponseOfstringRvdAXEcW">
* &lt;sequence>
* &lt;/sequence>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SCTLTOWERModel.ARMTowerStatusSetResponse")
public class SCTLTOWERModelARMTowerStatusSetResponse
extends MduCommonCommonAPIResponseOfstringRvdAXEcW
{
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
/**
* <p>SCTLTOWERModel.Data complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="SCTLTOWERModel.Data">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="Barcode2D" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="FromWhere" type="{http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models}SCTLTOWERModel.FromWhere" minOccurs="0"/>
* &lt;element name="HardwareGroupId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* &lt;element name="Size" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="Thickness" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="ToWhere" type="{http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models}SCTLTOWERModel.ToWhere" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SCTLTOWERModel.Data", propOrder = {
"barcode2D",
"fromWhere",
"hardwareGroupId",
"size",
"thickness",
"toWhere"
})
public class SCTLTOWERModelData {
@XmlElementRef(name = "Barcode2D", namespace = "http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models", type = JAXBElement.class, required = false)
protected JAXBElement<String> barcode2D;
@XmlElementRef(name = "FromWhere", namespace = "http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models", type = JAXBElement.class, required = false)
protected JAXBElement<SCTLTOWERModelFromWhere> fromWhere;
@XmlElement(name = "HardwareGroupId")
protected Integer hardwareGroupId;
@XmlElementRef(name = "Size", namespace = "http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models", type = JAXBElement.class, required = false)
protected JAXBElement<String> size;
@XmlElementRef(name = "Thickness", namespace = "http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models", type = JAXBElement.class, required = false)
protected JAXBElement<String> thickness;
@XmlElementRef(name = "ToWhere", namespace = "http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models", type = JAXBElement.class, required = false)
protected JAXBElement<SCTLTOWERModelToWhere> toWhere;
/**
* 获取barcode2D属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public JAXBElement<String> getBarcode2D() {
return barcode2D;
}
/**
* 设置barcode2D属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setBarcode2D(JAXBElement<String> value) {
this.barcode2D = value;
}
/**
* 获取fromWhere属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelFromWhere }{@code >}
*
*/
public JAXBElement<SCTLTOWERModelFromWhere> getFromWhere() {
return fromWhere;
}
/**
* 设置fromWhere属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelFromWhere }{@code >}
*
*/
public void setFromWhere(JAXBElement<SCTLTOWERModelFromWhere> value) {
this.fromWhere = value;
}
/**
* 获取hardwareGroupId属性的值。
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getHardwareGroupId() {
return hardwareGroupId;
}
/**
* 设置hardwareGroupId属性的值。
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setHardwareGroupId(Integer value) {
this.hardwareGroupId = value;
}
/**
* 获取size属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public JAXBElement<String> getSize() {
return size;
}
/**
* 设置size属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setSize(JAXBElement<String> value) {
this.size = value;
}
/**
* 获取thickness属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public JAXBElement<String> getThickness() {
return thickness;
}
/**
* 设置thickness属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setThickness(JAXBElement<String> value) {
this.thickness = value;
}
/**
* 获取toWhere属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelToWhere }{@code >}
*
*/
public JAXBElement<SCTLTOWERModelToWhere> getToWhere() {
return toWhere;
}
/**
* 设置toWhere属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link SCTLTOWERModelToWhere }{@code >}
*
*/
public void setToWhere(JAXBElement<SCTLTOWERModelToWhere> value) {
this.toWhere = value;
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
/**
* <p>SCTLTOWERModel.FromWhere complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="SCTLTOWERModel.FromWhere">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="Id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="StartPoint" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SCTLTOWERModel.FromWhere", propOrder = {
"id",
"startPoint"
})
public class SCTLTOWERModelFromWhere {
@XmlElementRef(name = "Id", namespace = "http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models", type = JAXBElement.class, required = false)
protected JAXBElement<String> id;
@XmlElement(name = "StartPoint")
protected Integer startPoint;
/**
* 获取id属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public JAXBElement<String> getId() {
return id;
}
/**
* 设置id属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setId(JAXBElement<String> value) {
this.id = value;
}
/**
* 获取startPoint属性的值。
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getStartPoint() {
return startPoint;
}
/**
* 设置startPoint属性的值。
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setStartPoint(Integer value) {
this.startPoint = value;
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>SCTLTOWERModel.ReelInLoaderRequest complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="SCTLTOWERModel.ReelInLoaderRequest">
* &lt;complexContent>
* &lt;extension base="{http://schemas.datacontract.org/2004/07/Module.Common}MduCommon.CommonAPIRequestOfSCTLTOWERModel.Datau_PUI5utU">
* &lt;sequence>
* &lt;/sequence>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SCTLTOWERModel.ReelInLoaderRequest")
public class SCTLTOWERModelReelInLoaderRequest
extends MduCommonCommonAPIRequestOfSCTLTOWERModelDatauPUI5UtU
{
}
package StSys.RoyoTech.client;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>SCTLTOWERModel.ReelInLoaderResponse complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="SCTLTOWERModel.ReelInLoaderResponse">
* &lt;complexContent>
* &lt;extension base="{http://schemas.datacontract.org/2004/07/Module.Common}MduCommon.CommonAPIResponseOfstringRvdAXEcW">
* &lt;sequence>
* &lt;/sequence>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SCTLTOWERModel.ReelInLoaderResponse")
public class SCTLTOWERModelReelInLoaderResponse
extends MduCommonCommonAPIResponseOfstringRvdAXEcW
{
}
package StSys.RoyoTech.client;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>SCTLTOWERModel.ReelMoveToWhereCompleteRequest complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="SCTLTOWERModel.ReelMoveToWhereCompleteRequest">
* &lt;complexContent>
* &lt;extension base="{http://schemas.datacontract.org/2004/07/Module.Common}MduCommon.CommonAPIRequestOfSCTLTOWERModel.Datau_PUI5utU">
* &lt;sequence>
* &lt;/sequence>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SCTLTOWERModel.ReelMoveToWhereCompleteRequest")
public class SCTLTOWERModelReelMoveToWhereCompleteRequest
extends MduCommonCommonAPIRequestOfSCTLTOWERModelDatauPUI5UtU
{
}
package StSys.RoyoTech.client;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>SCTLTOWERModel.ReelMoveToWhereCompleteResponse complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="SCTLTOWERModel.ReelMoveToWhereCompleteResponse">
* &lt;complexContent>
* &lt;extension base="{http://schemas.datacontract.org/2004/07/Module.Common}MduCommon.CommonAPIResponseOfstringRvdAXEcW">
* &lt;sequence>
* &lt;/sequence>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SCTLTOWERModel.ReelMoveToWhereCompleteResponse")
public class SCTLTOWERModelReelMoveToWhereCompleteResponse
extends MduCommonCommonAPIResponseOfstringRvdAXEcW
{
}
package StSys.RoyoTech.client;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>SCTLTOWERModel.ReelMoveToWhereRequest complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="SCTLTOWERModel.ReelMoveToWhereRequest">
* &lt;complexContent>
* &lt;extension base="{http://schemas.datacontract.org/2004/07/Module.Common}MduCommon.CommonAPIRequestOfSCTLTOWERModel.Datau_PUI5utU">
* &lt;sequence>
* &lt;/sequence>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SCTLTOWERModel.ReelMoveToWhereRequest")
public class SCTLTOWERModelReelMoveToWhereRequest
extends MduCommonCommonAPIRequestOfSCTLTOWERModelDatauPUI5UtU
{
}
package StSys.RoyoTech.client;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>SCTLTOWERModel.ReelMoveToWhereResponse complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="SCTLTOWERModel.ReelMoveToWhereResponse">
* &lt;complexContent>
* &lt;extension base="{http://schemas.datacontract.org/2004/07/Module.Common}MduCommon.CommonAPIResponseOfSCTLTOWERModel.Datau_PUI5utU">
* &lt;sequence>
* &lt;/sequence>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SCTLTOWERModel.ReelMoveToWhereResponse")
public class SCTLTOWERModelReelMoveToWhereResponse
extends MduCommonCommonAPIResponseOfSCTLTOWERModelDatauPUI5UtU
{
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
/**
* <p>SCTLTOWERModel.ToWhere complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="SCTLTOWERModel.ToWhere">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="Destination" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
* &lt;element name="Id" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SCTLTOWERModel.ToWhere", propOrder = {
"destination",
"id"
})
public class SCTLTOWERModelToWhere {
@XmlElement(name = "Destination")
protected Integer destination;
@XmlElementRef(name = "Id", namespace = "http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models", type = JAXBElement.class, required = false)
protected JAXBElement<String> id;
/**
* 获取destination属性的值。
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getDestination() {
return destination;
}
/**
* 设置destination属性的值。
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setDestination(Integer value) {
this.destination = value;
}
/**
* 获取id属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public JAXBElement<String> getId() {
return id;
}
/**
* 设置id属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setId(JAXBElement<String> value) {
this.id = value;
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
/**
* <p>SCTLTOWERModel.TowerSetList complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType name="SCTLTOWERModel.TowerSetList">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="DataList" type="{http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models}ArrayOfSCTLTOWERModel.ARMTowerSetData" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SCTLTOWERModel.TowerSetList", propOrder = {
"dataList"
})
public class SCTLTOWERModelTowerSetList {
@XmlElementRef(name = "DataList", namespace = "http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models", type = JAXBElement.class, required = false)
protected JAXBElement<ArrayOfSCTLTOWERModelARMTowerSetData> dataList;
/**
* 获取dataList属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link ArrayOfSCTLTOWERModelARMTowerSetData }{@code >}
*
*/
public JAXBElement<ArrayOfSCTLTOWERModelARMTowerSetData> getDataList() {
return dataList;
}
/**
* 设置dataList属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link ArrayOfSCTLTOWERModelARMTowerSetData }{@code >}
*
*/
public void setDataList(JAXBElement<ArrayOfSCTLTOWERModelARMTowerSetData> value) {
this.dataList = value;
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"message"
})
@XmlRootElement(name = "WakeupWebService", namespace = "http://tempuri.org/")
public class WakeupWebService {
@XmlElementRef(name = "message", namespace = "http://tempuri.org/", type = JAXBElement.class, required = false)
protected JAXBElement<String> message;
/**
* 获取message属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public JAXBElement<String> getMessage() {
return message;
}
/**
* 设置message属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setMessage(JAXBElement<String> value) {
this.message = value;
}
}
package StSys.RoyoTech.client;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>anonymous complex type的 Java 类。
*
* <p>以下模式片段指定包含在此类中的预期内容。
*
* <pre>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="WakeupWebServiceResult" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"wakeupWebServiceResult"
})
@XmlRootElement(name = "WakeupWebServiceResponse", namespace = "http://tempuri.org/")
public class WakeupWebServiceResponse {
@XmlElementRef(name = "WakeupWebServiceResult", namespace = "http://tempuri.org/", type = JAXBElement.class, required = false)
protected JAXBElement<String> wakeupWebServiceResult;
/**
* 获取wakeupWebServiceResult属性的值。
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public JAXBElement<String> getWakeupWebServiceResult() {
return wakeupWebServiceResult;
}
/**
* 设置wakeupWebServiceResult属性的值。
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setWakeupWebServiceResult(JAXBElement<String> value) {
this.wakeupWebServiceResult = value;
}
}
package StSys.RoyoTech.client;
/**
* Created by sunke on 2019/10/22.
*/
public class WebServiceIsConnectedResponse {
}
@javax.xml.bind.annotation.XmlSchema(namespace = "http://schemas.datacontract.org/2004/07/SCTLTOWER001.Models", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
package StSys.RoyoTech.client;
package com.myproject;
/**
* Constant values used throughout the application.
*
* @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
*/
public final class Constants {
private Constants() {
// hide me
}
//~ Static fields/initializers =============================================
/**
* Assets Version constant
*/
public static final String ASSETS_VERSION = "assetsVersion";
/**
* The name of the ResourceBundle used in this application
*/
public static final String BUNDLE_KEY = "ApplicationResources";
/**
* File separator from System properties
*/
public static final String FILE_SEP = System.getProperty("file.separator");
/**
* User home from System properties
*/
public static final String USER_HOME = System.getProperty("user.home") + FILE_SEP;
/**
* The name of the configuration hashmap stored in application scope.
*/
public static final String CONFIG = "appConfig";
/**
* Session scope attribute that holds the locale set by the user. By setting this key
* to the same one that Struts uses, we get synchronization in Struts w/o having
* to do extra work or have two session-level variables.
*/
public static final String PREFERRED_LOCALE_KEY = "PREFERRED_LOCALE";
/**
* The request scope attribute under which an editable user form is stored
*/
public static final String USER_KEY = "userForm";
/**
* The request scope attribute that holds the user list
*/
public static final String USER_LIST = "userList";
/**
* The request scope attribute for indicating a newly-registered user
*/
public static final String REGISTERED = "registered";
/**
* The name of the Administrator role, as specified in web.xml
*/
// public static final String ADMIN_ROLE = "ROLE_ADMIN";
//
// /**
// * The name of the User role, as specified in web.xml
// */
// public static final String USER_ROLE = "ROLE_USER";
/**
* The name of the user's role list, a request-scoped attribute
* when adding/editing a user.
*/
public static final String USER_ROLES = "userRoles";
/**
* The name of the available roles list, a request-scoped attribute
* when adding/editing a user.
*/
public static final String AVAILABLE_ROLES = "availableRoles";
/**
* The name of the CSS Theme setting.
* @deprecated No longer used to set themes.
*/
public static final String CSS_THEME = "csstheme";
}
package com.myproject.api;
import com.myproject.bean.update.DataLog;
/**
* 任务通知接口
* Created by sunke on 2019/8/20.
*/
public interface ITaskNotify {
/**
* 出库任务完成时调用此接口
* @param dataLog
*/
void onOutTaskFinished(DataLog dataLog);
void onOutTaskFailed(String partNumber);
void allTaskEnd();
String getNotifyName();
}
package com.myproject.api;
import com.google.common.collect.Lists;
import jcifs.Config;
import jcifs.smb.NtlmPasswordAuthentication;
import jcifs.smb.SmbFile;
import jcifs.smb.SmbFileInputStream;
import jcifs.smb.SmbFileOutputStream;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.util.Strings;
import java.io.*;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
/**
* Created by sunke on 2019/8/21.
*/
public class SmbUtil {
protected final static transient Logger log = LogManager.getLogger(SmbUtil.class);
/**
* 列出SMB服务器文件夹中的所有文件名称,如果目录不存在或者访问出错返回null
*/
public static List<String> smbFileNameList(String smbDir){
try {
SmbFile remoteFile = new SmbFile(smbDir);
if (remoteFile.exists() && remoteFile.isDirectory()) {
String[] fileNames = remoteFile.list();
return Lists.newArrayList(fileNames);
} else {
log.info("SMB目录["+smbDir+"]不存在");
}
} catch (Exception e) {
log.error("访问SMB目录["+smbDir+"]出错",e);
}
return null;
}
/**
* @Title smbGet
* @Param shareUrl 共享目录中的文件路径,如smb://132.20.2.33/CIMPublicTest/eg.txt
* @Param localDirectory 本地目录,如tempStore/smb
*/
public static boolean smbGet(String smbFile, String localDirectory){
InputStream in = null;
OutputStream out = null;
try {
Config.registerSmbURLHandler();
SmbFile remoteFile = new SmbFile(smbFile);
if (!remoteFile.exists()) {
log.info("共享文件不存在");
return false;
}
// 有文件的时候再初始化输入输出流
log.info("下载共享目录的文件 "+smbFile+" 到 "+ localDirectory);
String fileName = remoteFile.getName();
File localFile = new File(localDirectory + File.separator + fileName);
File fileParent = localFile.getParentFile();
if (null != fileParent && !fileParent.exists()) {
fileParent.mkdirs();
}
in = new BufferedInputStream(new SmbFileInputStream(remoteFile));
out = new BufferedOutputStream(new FileOutputStream(localFile));
byte[] buffer = new byte[1024];
while (in.read(buffer) != -1) {
out.write(buffer);
buffer = new byte[1024];
}
out.flush(); //刷新缓冲区输出流
return true;
} catch (Exception e) {
log.error("获取 SMB 文件出错",e);
} finally {
close(in,out);
}
return false;
}
private static void close(InputStream in,OutputStream out){
try {
if(in != null){
out.close();
in.close();
}
} catch (IOException e) {
e.printStackTrace();
}
}
/**
*
* @Title smbPut
* @Description 向共享目录上传文件
* @Param shareDirectory 共享目录
* @Param localFilePath 本地目录中的文件路径
* @date 2019-01-10 20:16
*/
public static boolean smbPut(String shareDirectory, String localFilePath) {
InputStream in = null;
OutputStream out = null;
String domain = "";
try {
if(!shareDirectory.toLowerCase().startsWith("smb")){
return false;
}
File localFile = new File(localFilePath);
Config.registerSmbURLHandler();
URI uri = new URI(shareDirectory);
NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(uri.getUserInfo());
String smbFileName = uri.getScheme() + "://" + uri.getHost() + uri.getPath() + localFile.getName();
SmbFile remoteFile = new SmbFile(smbFileName,auth);
log.info("put " + localFilePath + " to " +remoteFile.getPath());
in = new BufferedInputStream(new FileInputStream(localFile));
out = new BufferedOutputStream(remoteFile.getOutputStream());
byte[] buffer = new byte[1024];
while (in.read(buffer) != -1) {
out.write(buffer);
buffer = new byte[1024];
}
out.flush();
return true;
} catch (Exception e) {
log.error("上传 SMB 文件出错",e);
} finally {
close(in,out);
}
return false;
}
}
package com.myproject.bean;
import org.springframework.security.core.GrantedAuthority;
/**
* 基础权限
* Created by sunke on 17/1/3.
*/
public enum Authority implements GrantedAuthority {
/**
* 默认权限,不会展示
*/
ROLE_DEFAULT("",0),
//物料管理
ROLE_MANAGE_COMPONENT("authority.component.manage", 1),
//Bom 管理
//ROLE_MANAGE_BOM("authority.bom.manage", 2),
//工单管理
//ROLE_MANAGE_WORKORDER("authority.workorder.manage", 3),
//料仓管理
//ROLE_MANAGE_STORAGE("authority.storage.manage", 4),
//条码管理
ROLE_MANAGE_BARCODE("authority.barcode.manage", 5),
//用户管理
ROLE_MANAGE_USER("authority.user.manage", 6),
//角色管理
ROLE_MANAGE_ROLE("authority.role.manage", 7),
//出库
ROLE_MANAGE_STACK_OUT("authority.stockOut",8),
//入库
//ROLE_MANAGE_PUT_IN("authority.putIn",9),
//站位列表
ROLE_MANAGE_FEEDER("authority.feeder",10),
//指定批次
ROLE_MANAGE_SPECIFIEDBATCH("authority.specifiedBatch",11),
//虚拟仓管理
ROLE_MANAGE_VIRTUAL("authority.virtual",12),
// 站位列表查看勾选
ROLE_FEEDER_VIEW("authority.feeder.view",13),
// 贵重物料出库
ROLE_VALUABLE_OUT("authority.valuable.out",14),
/**
* 运行数据
*/
ROLE_MANAGE_DATALOG("authority.dataLog",15),
//超额入库
ROLE_MORE_STACK_IN("authority.stockIn.more",16),
;
private String key;
private int index;
private Authority(String key, int index) {
this.key = key;
this.index = index;
}
/**
* 根据 role 表里面存的 index 查找对应的authority
*/
public static Authority fromIndex(String index) {
if (index != null) {
for (Authority authority : Authority.values()) {
if (index.equals(String.valueOf(authority.getIndex()))) {
return authority;
}
}
}
return null;
}
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public int getIndex() {
return index;
}
public void setIndex(int index) {
this.index = index;
}
@Override
public String getAuthority() {
return this.name();
}
}
package com.myproject.bean;
import java.io.Serializable;
/**
* Created by kangmor on 2015/9/24.
*/
public class BaseFormBean implements Serializable {
}
package com.myproject.bean;
import com.myproject.util.DateUtil;
import java.util.Date;
/**
* Created by kangmor on 2015/9/14.
*/
public class BaseMongoBean {
private String id;
private Date createDate = new Date();
private Date updateDate;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public Date getCreateDate() {
return createDate;
}
public void setCreateDate(Date createDate) {
this.createDate = createDate;
}
public Date getUpdateDate() {
if(updateDate == null){
return getCreateDate();
}
return updateDate;
}
public String getUpdateDateStr(){
return DateUtil.toDateTimeString(getUpdateDate());
}
public void setUpdateDate(Date updateDate) {
this.updateDate = updateDate;
}
}
package com.myproject.bean;
import com.myproject.bean.update.Barcode;
import com.myproject.util.StorageConstants;
/**
* 用于解析条码
* Created by sunke on 2017/10/10.
*/
public class CodeBean {
/**
* 码类型
*/
private StorageConstants.CODE_TYPE codeType;
/**
* 摄像头位置信息
*/
private int cameraIndex = 0;
//扫描到的二维码的位置信息
private float locationX = -1.0f;
private float locationY = -1.0f;
/**
* 用于显示的照片信息
*/
private String showImg = "";
/**
* 料盘宽度
*/
private int reelWidth = -1;
/**
* 料盘高度
*/
private int reelHeight = -1;
private String codeStr = "";
/**
* 错误消息,正常时为空
*/
private String error;
private String errorCode;
private String[] params;
private Barcode barcode;
public String getError() {
return error;
}
public void setError(String errorCode, String[] params,String error) {
this.error = error;
this.errorCode = errorCode;
this.params = params;
}
public void setError(String errorCode, String error) {
this.error = error;
this.errorCode = errorCode;
this.params = null;
}
public Barcode getBarcode() {
return barcode;
}
public void setBarcode(Barcode barcode) {
this.barcode = barcode;
}
public boolean isValid(){
return error == null && barcode != null;
}
/**
* 是否是夹具条码
*/
public boolean isFixtureCode(){
if(isValid()){
return StorageConstants.COMPONENT_TYPE.FIXTURE == barcode.getType();
}
return false;
}
public float getLocationX() {
return locationX;
}
public void setLocationX(float locationX) {
this.locationX = locationX;
}
public float getLocationY() {
return locationY;
}
public void setLocationY(float locationY) {
this.locationY = locationY;
}
public StorageConstants.CODE_TYPE getCodeType() {
return codeType;
}
public void setCodeType(StorageConstants.CODE_TYPE codeType) {
this.codeType = codeType;
}
public String getCodeStr() {
return codeStr;
}
public void setCodeStr(String codeStr) {
this.codeStr = codeStr;
}
public int getCameraIndex() {
return cameraIndex;
}
public void setCameraIndex(int cameraIndex) {
this.cameraIndex = cameraIndex;
}
public int getReelWidth() {
return reelWidth;
}
public void setReelWidth(int reelWidth) {
this.reelWidth = reelWidth;
}
public int getReelHeight() {
return reelHeight;
}
public void setReelHeight(int reelHeight) {
this.reelHeight = reelHeight;
}
public boolean hasReelSizeInfo() {
return reelWidth > 0 && reelHeight > 0;
}
public String getShowImg() {
return showImg;
}
public void setShowImg(String showImg) {
this.showImg = showImg;
}
public void setError(String error) {
this.error = error;
}
public String getErrorCode() {
return errorCode;
}
public void setErrorCode(String errorCode) {
this.errorCode = errorCode;
}
public String[] getParams() {
return params;
}
public void setParams(String[] params) {
this.params = params;
}
}
\ No newline at end of file \ No newline at end of file
package com.myproject.bean;
import com.myproject.util.StorageConstants;
/**
* 用于展示到界面
* Created by sunke on 2017/10/13.
*/
public class CodeBox {
//显示的位置
private int location = 0;
private String msg = "";
private boolean valid = false;
private String codeType;
public CodeBox(int location, String msg, boolean valid, String codeType) {
this.location = location;
this.msg = msg;
this.valid = valid;
this.codeType = codeType;
}
public CodeBox(CodeBean codeBean) {
this.valid = codeBean.isValid();
if(valid){
msg = codeBean.getBarcode().getBarcode();
}else{
msg = codeBean.getError();
}
StorageConstants.CODE_TYPE type = codeBean.getCodeType();
if(type == null){
type = StorageConstants.CODE_TYPE.FIXTURE;
}
codeType = type.name();
int cameraIndex = codeBean.getCameraIndex();
float locationX = codeBean.getLocationX();
float locationY = codeBean.getLocationY();
if(locationX != 0 && locationY != 0){
if(cameraIndex == 1){
if(locationX < 1400){
location = 1;
}else {
location = 2;
}
}else {
if(locationX < 1000){
location = 4;
}else {
location = 3;
}
}
}
}
public int getLocation() {
return location;
}
public void setLocation(int location) {
this.location = location;
}
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
public String getCodeType() {
return codeType;
}
public void setCodeType(String codeType) {
this.codeType = codeType;
}
public boolean isValid() {
return valid;
}
public void setValid(boolean valid) {
this.valid = valid;
}
}
package com.myproject.bean;
/**
* 基础权限
* Created by sunke on 17/1/3.
*/
public enum Language {
//英语
ENGLISH("en","English"),
//zh_CN 中文
ZH_CN("zh-CN","中文"),
;
private Language(String value, String label) {
this.label = label;
this.value = value;
}
private String label;
private String value;
public String getLabel() {
return label;
}
public void setLabel(String label) {
this.label = label;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
}
package com.myproject.bean;
/**
* Created by kangmor on 2015/9/14.
*/
public class Sequence extends BaseMongoBean{
private Long seq;
public Long getSeq() {
return seq;
}
public void setSeq(Long seq) {
this.seq = seq;
}
}
package com.myproject.bean.excel;
import java.util.Date;
/**
* Created by kangmor on 2015/11/30.
*/
public class BarcodeExcel {
private String barcode;
private String partNumber;
private int amount;
private int plateSize;
private String provider;
private String batch;
private Date expireDate;
public String getBarcode() {
return barcode;
}
public void setBarcode(String barcode) {
this.barcode = barcode;
}
public String getPartNumber() {
return partNumber;
}
public void setPartNumber(String partNumber) {
this.partNumber = partNumber;
}
public int getAmount() {
return amount;
}
public void setAmount(int amount) {
this.amount = amount;
}
public int getPlateSize() {
return plateSize;
}
public void setPlateSize(int plateSize) {
this.plateSize = plateSize;
}
public String getProvider() {
return provider;
}
public void setProvider(String provider) {
this.provider = provider;
}
public String getBatch() {
return batch;
}
public void setBatch(String batch) {
this.batch = batch;
}
public Date getExpireDate() {
return expireDate;
}
public void setExpireDate(Date expireDate) {
this.expireDate = expireDate;
}
}
package com.myproject.bean.excel;
/**
* Created by kangmor on 2015/11/11.
*/
public class BomExcel {
private String bomName;
private String partNumber;
private String componentName;
private int amount;
public String getBomName() {
return bomName;
}
public void setBomName(String bomName) {
this.bomName = bomName;
}
public String getPartNumber() {
return partNumber;
}
public void setPartNumber(String partNumber) {
this.partNumber = partNumber;
}
public String getComponentName() {
return componentName;
}
public void setComponentName(String componentName) {
this.componentName = componentName;
}
public int getAmount() {
return amount;
}
public void setAmount(int amount) {
this.amount = amount;
}
}
package com.myproject.bean.excel;
import org.displaytag.export.CsvView;
/**
* Created by sunke on 2019/2/26.
*/
public class CNCsvView extends CsvView{
@Override
public String getMimeType() {
return "text/csv";
}
}
package com.myproject.bean.excel;
import java.util.Date;
/**
* Created by kangmor on 2015/11/15.
*/
public class ComponentExcel {
//名称
private String name;
//料号
private String partNumber;
//uid
private String uid;
//物料描述
private String description;
//单耗
private String unitCost;
//"MSL等级"
private String msl;
//"封装"
private String encapsulation;
//"产品类型"
private String productionType;
//"单位"
private String unit;
//"厂商"
private String producer;
//"厂商编号"
private String producerNumber;
private int plateSize;
private int height;
private int amount;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPartNumber() {
return partNumber;
}
public void setPartNumber(String partNumber) {
this.partNumber = partNumber;
}
public String getUid() {
return uid;
}
public void setUid(String uid) {
this.uid = uid;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getUnitCost() {
return unitCost;
}
public void setUnitCost(String unitCost) {
this.unitCost = unitCost;
}
public String getMsl() {
return msl;
}
public void setMsl(String msl) {
this.msl = msl;
}
public String getEncapsulation() {
return encapsulation;
}
public void setEncapsulation(String encapsulation) {
this.encapsulation = encapsulation;
}
public String getProductionType() {
return productionType;
}
public void setProductionType(String productionType) {
this.productionType = productionType;
}
public String getUnit() {
return unit;
}
public void setUnit(String unit) {
this.unit = unit;
}
public String getProducer() {
return producer;
}
public void setProducer(String producer) {
this.producer = producer;
}
public String getProducerNumber() {
return producerNumber;
}
public void setProducerNumber(String producerNumber) {
this.producerNumber = producerNumber;
}
public int getPlateSize() {
return plateSize;
}
public void setPlateSize(int plateSize) {
this.plateSize = plateSize;
}
public int getHeight() {
return height;
}
public void setHeight(int height) {
this.height = height;
}
public int getAmount() {
return amount;
}
public void setAmount(int amount) {
this.amount = amount;
}
}
package com.myproject.bean.excel;
/**
* Created by kangmor on 2015/11/17.
*/
public class StoragePosExcel {
private String posName;
//进料优先级,数字越大优先级越高,例:1-1的优先级为100 仓1-2的优先级200,那么入仓时就会优先进入1-2仓
private double priority = 0f;
//高度
private int h;
//宽度(料盘尺寸)
private int w;
public String getPosName() {
return posName;
}
public void setPosName(String posName) {
this.posName = posName;
}
public int getH() {
return h;
}
public void setH(int h) {
this.h = h;
}
public int getW() {
return w;
}
public void setW(int w) {
this.w = w;
}
public double getPriority() {
return priority;
}
public void setPriority(double priority) {
this.priority = priority;
}
}
package com.myproject.bean.form;
import com.myproject.bean.update.Barcode;
import com.myproject.webapp.controller.storage.BaseUpdateController;
/**
* Created by kangmor on 2016/5/16.
*/
public class BarcodeGenerateForm extends BaseUpdateForm {
private String patternBarcode;
private Barcode barcode;
public BarcodeGenerateForm() {
this.barcode = new Barcode();
this.barcode.setBarcode(System.currentTimeMillis() + "");
}
public String getPatternBarcode() {
return patternBarcode;
}
public void setPatternBarcode(String patternBarcode) {
this.patternBarcode = patternBarcode;
}
public Barcode getBarcode() {
return barcode;
}
public void setBarcode(Barcode barcode) {
this.barcode = barcode;
}
}
package com.myproject.bean.form;
import java.io.Serializable;
/**
* Created by kangmor on 2015/12/6.
*/
public class BaseUpdateForm implements Serializable{
private String operation;
private String opId;
public String getOperation() {
return operation;
}
public void setOperation(String operation) {
this.operation = operation;
}
public String getOpId() {
return opId;
}
public void setOpId(String opId) {
this.opId = opId;
}
}
package com.myproject.bean.form;
import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
import java.io.Serializable;
/**
* Created by kangmor on 2016/6/20.
*/
//@JsonIdentityInfo(generator=ObjectIdGenerators.IntSequenceGenerator.class, property="@id")
public class Message {
private String message;
private String error;
public Message() {
}
public Message(String message, String error) {
this.message = message;
this.error = error;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public String getError() {
return error;
}
public void setError(String error) {
this.error = error;
}
}
package com.myproject.bean.form;
import com.myproject.bean.update.Storage;
import com.myproject.bean.update.StoragePos;
import java.util.List;
/**
* Created by kangmor on 2015/12/6.
*/
public class StorageUpdateForm extends BaseUpdateForm {
private Storage storage;
private List<StoragePos> slots;
public Storage getStorage() {
return storage;
}
public void setStorage(Storage storage) {
this.storage = storage;
}
public List<StoragePos> getSlots() {
return slots;
}
public void setSlots(List<StoragePos> slots) {
this.slots = slots;
}
}
package com.myproject.bean.json;
/**
* Created by sunke on 16/9/27.
*/
public class ChartData {
// private String name;
private String partNumber;
private Integer amount;
private Integer count;
// public String getName() {
// return name;
// }
//
// public void setName(String name) {
// this.name = name;
// }
public Integer getAmount() {
return amount;
}
public void setAmount(Integer amount) {
this.amount = amount;
}
public Integer getCount() {
return count;
}
public void setCount(Integer count) {
this.count = count;
}
public String getPartNumber() {
return partNumber;
}
public void setPartNumber(String partNumber) {
this.partNumber = partNumber;
}
}
package com.myproject.bean.json;
/**
*
* 图表显示时的一个选项数据 Bean
* Created by sunke on 16/12/5.
*/
public class ChartItem {
private String label;
private int value;
private int value2;
private int value3;
private int value4;
public String getLabel() {
return label;
}
public void setLabel(String label) {
this.label = label;
}
public int getValue() {
return value;
}
public void setValue(int value) {
this.value = value;
}
public int getValue2() {
return value2;
}
public void setValue2(int value2) {
this.value2 = value2;
}
public int getValue3() {
return value3;
}
public void setValue3(int value3) {
this.value3 = value3;
}
public int getValue4() {
return value4;
}
public void setValue4(int value4) {
this.value4 = value4;
}
}
package com.myproject.bean.json;
import java.util.Collection;
/**
* Created by sunke on 2017/12/20.
*/
public class ChartOption {
Collection<String> legend;
Collection<String> xAxis;
Collection<SeriesData> series;
public Collection<String> getLegend() {
return legend;
}
public void setLegend(Collection<String> legend) {
this.legend = legend;
}
public Collection<String> getxAxis() {
return xAxis;
}
public void setxAxis(Collection<String> xAxis) {
this.xAxis = xAxis;
}
public Collection<SeriesData> getSeries() {
return series;
}
public void setSeries(Collection<SeriesData> series) {
this.series = series;
}
}
package com.myproject.bean.json;
import java.io.Serializable;
/**
* Created by kangmor on 2015/11/21.
*/
public class ClientDataParams implements Serializable {
//条码
private String code;
private String temperature;
private String humidity;
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getTemperature() {
return temperature;
}
public void setTemperature(String temperature) {
this.temperature = temperature;
}
public String getHumidity() {
return humidity;
}
public void setHumidity(String humidity) {
this.humidity = humidity;
}
}
package com.myproject.bean.json;
import java.util.Collection;
import java.util.List;
/**
* Created by sunke on 17/6/29.
*/
public class HumitureData {
private Collection<String> boxNames;
private Collection<String> times;
private List<SeriesData> humidityData;
private List<SeriesData> temperatureData;
public Collection<String> getBoxNames() {
return boxNames;
}
public void setBoxNames(Collection<String> boxNames) {
this.boxNames = boxNames;
}
public Collection<String> getTimes() {
return times;
}
public void setTimes(Collection<String> times) {
this.times = times;
}
public List<SeriesData> getHumidityData() {
return humidityData;
}
public void setHumidityData(List<SeriesData> humidityData) {
this.humidityData = humidityData;
}
public List<SeriesData> getTemperatureData() {
return temperatureData;
}
public void setTemperatureData(List<SeriesData> temperatureData) {
this.temperatureData = temperatureData;
}
}
package com.myproject.bean.json;
/**
* 库存预警,放入内存中,出入库(上传 Feeder时重新计算)实时更新
* Created by sunke on 17/3/15.
*/
public class InventoryAlarmItem {
/**
* 物编
*/
private String partNumber;
/**
* 剩余所需数量
*/
private int needCount;
/**
* 使用该 partNumber 且未完成的站位数量
*/
private int posNum;
/**
* 所需料盘数,实际上应为:剩余数量/每盘数量(这样算出来的数量通常不是准确的,最多会差 n-1盘,其中 n 为站位的数量)这里从数据库查出来的时候是站位的数量,即n
*/
private int needReel;
/**
* 库存数量
*/
private int stockCount;
/**
* 库存盘数
*/
private int stockReel;
public String getPartNumber() {
return partNumber;
}
public void setPartNumber(String partNumber) {
this.partNumber = partNumber;
}
public int getNeedCount() {
return needCount;
}
public void setNeedCount(int needCount) {
this.needCount = needCount;
}
public int getNeedReel() {
if(needReel < posNum){
return posNum;
}
return needReel;
}
public void setNeedReel(int needReel) {
this.needReel = needReel;
}
public int getStockCount() {
return stockCount;
}
public void setStockCount(int stockCount) {
this.stockCount = stockCount;
}
public int getStockReel() {
return stockReel;
}
public void setStockReel(int stockReel) {
this.stockReel = stockReel;
}
public int getPosNum() {
return posNum;
}
public void setPosNum(int posNum) {
this.posNum = posNum;
}
public void updateNeed(int amount) {
this.needCount = this.needCount + amount;
if(amount > 0){
this.needReel = this.needReel + 1;
}else{
this.needReel = this.needReel - 1;
}
}
/**
* 更新库存信息(数量更新,同时料盘数量根据amount 的正负+1或减1)
*/
public void updateInventory(int amount){
this.stockCount = this.stockCount + amount;
if(amount > 0){
this.stockReel = this.stockReel + 1;
}else {
this.stockReel = this.stockReel - 1;
}
}
}
package com.myproject.bean.json;
/**
* 库存
*/
public class InventoryItem {
/**
* 物编
*/
private String partNumber;
/**
* 库存数量
*/
private int stockCount = 0;
/**
* 锁定的数量
*/
private int lockCount = 0;
/**
* 库存盘数
*/
private int stockReel = 0;
/**
* 锁定的盘数(当加入出库队列时即锁定一盘),出库完成时锁定盘数减一
*/
private int lockReel = 0;
/**
* 过期的盘数
*/
private int expireReel = 0;
/**
* 即将过期的盘数(2个小时内)
*/
private int willExireReel = 0;
public String getPartNumber() {
return partNumber;
}
public void setPartNumber(String partNumber) {
this.partNumber = partNumber;
}
public int getStockCount() {
return stockCount;
}
public void setStockCount(int stockCount) {
this.stockCount = stockCount;
}
public int getStockReel() {
if(stockReel < 0){
stockReel = 0;
}
return stockReel;
}
public void setStockReel(int stockReel) {
this.stockReel = stockReel;
}
/**
* 更新库存信息(数量更新,同时料盘数量根据amount 的正负+1或减1)
*/
public void updateInventory(int amount){
this.stockCount = this.stockCount + amount;
if(amount > 0){
this.stockReel = this.stockReel + 1;
}else {
this.stockReel = this.stockReel - 1;
}
}
public int getLockReel() {
return lockReel;
}
public void setLockReel(int lockReel) {
this.lockReel = lockReel;
}
/**
* 出库完成或取消任务时需要解除库存锁定,返回当前锁定数量
*/
public int unLock(int reelCount){
if(reelCount > 0){
lockReel = lockReel - reelCount;
}
if(lockReel<0){
lockReel = 0;
}
return lockReel;
}
/**
* 加入到出库列表中时需要锁定库存
*/
public boolean lockOne(){
if(stockReel - lockReel > 0){
lockReel++;
return true;
}
return false;
}
public int getExpireReel() {
return expireReel;
}
public void setExpireReel(int expireReel) {
this.expireReel = expireReel;
}
public int getWillExireReel() {
return willExireReel;
}
public void setWillExireReel(int willExireReel) {
this.willExireReel = willExireReel;
}
public int getLockCount() {
return lockCount;
}
public void setLockCount(int lockCount) {
this.lockCount = lockCount;
}
}
package com.myproject.bean.json;
import com.myproject.bean.BaseMongoBean;
import com.myproject.util.StorageConstants;
import org.springframework.data.annotation.Transient;
import java.util.List;
/**
* Created by sunke on 2019/9/23.
*/
public class LiteOrder extends BaseMongoBean {
public LiteOrder() {
}
public LiteOrder(String orderNo, List<LiteOrderItem> orderItems) {
this.orderItems = orderItems;
this.orderNo = orderNo;
}
/**
* 订单号
*/
private String orderNo;
/**
* 当前任务盘数
*/
private int taskReelCount = 0;
/**
* 当前任务已完成盘数
*/
private int finishedReelCount = 0;
/**
* 订单状态
*/
private int status = StorageConstants.LITEORDER_STATUS.NEW;
/**
* 工单来源
*/
private String source = "";
/**
* 任务完成时间(用于关闭页面显示)
*/
@Transient
private long taskFinishedTime = -1;
/**
* 订单的详细信息
*/
@Transient
private List<LiteOrderItem> orderItems;
public List<LiteOrderItem> getOrderItems() {
return orderItems;
}
public void setOrderItems(List<LiteOrderItem> orderItems) {
this.orderItems = orderItems;
}
public String getOrderNo() {
return orderNo;
}
public void setOrderNo(String orderNo) {
this.orderNo = orderNo;
}
public int getStatus() {
return status;
}
public void setStatus(int status) {
this.status = status;
}
/**
* 结束当前的任务
*/
public void finishedTasks(){
if(isOutOne()){
setStatus(StorageConstants.LITEORDER_STATUS.ONE_FINISHED);
}else if(isOutBom()){
setStatus(StorageConstants.LITEORDER_STATUS.BOM_FINISHED);
}else if(isOutTails()){
setStatus(StorageConstants.LITEORDER_STATUS.TAILS_FINISHED);
}
}
/**
* 是否正在出首套料
* @return
*/
public boolean isOutBom(){
return status == StorageConstants.LITEORDER_STATUS.BOM;
}
public boolean isOutOne(){
return status == StorageConstants.LITEORDER_STATUS.ONE;
}
/**
* 补料任务完成
* @return
*/
public boolean isOutOneFinished(){
return status == StorageConstants.LITEORDER_STATUS.ONE_FINISHED;
}
/**
* 是否正在出尾料
*/
public boolean isOutTails(){
return status == StorageConstants.LITEORDER_STATUS.TAILS;
}
/**
* 任务料盘是否已出完
*/
public boolean canExecute(){
return status == StorageConstants.LITEORDER_STATUS.NEW || status == StorageConstants.LITEORDER_STATUS.BOM_FINISHED || status == StorageConstants.LITEORDER_STATUS.TAILS_FINISHED || status == StorageConstants.LITEORDER_STATUS.ONE_FINISHED;
}
public int getFinishedReelCount() {
return finishedReelCount;
}
public void setFinishedReelCount(int finishedReelCount) {
this.finishedReelCount = finishedReelCount;
}
public int getTaskReelCount() {
return taskReelCount;
}
public void setTaskReelCount(int taskReelCount) {
if(taskReelCount < 0) taskReelCount = 0;
this.taskReelCount = taskReelCount;
}
public long getTaskFinishedTime() {
return taskFinishedTime;
}
public void setTaskFinishedTime(long taskFinishedTime) {
this.taskFinishedTime = taskFinishedTime;
}
public String getSource() {
return source;
}
public void setSource(String source) {
this.source = source;
}
/**
* 是否需要展示(已完成的,过20 秒自动清除)
*/
public boolean needToShow(){
if(canExecute()){
if(taskFinishedTime != -1){
long now = System.currentTimeMillis();
return now - taskFinishedTime <= 20 * 1000;
}
}
return true;
}
}
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!