代码上传
This commit is contained in:
1 parent
4150cd1c02
commit
c324c71fe9
42 files changed
+3534
No files matched your search
@@ -0,0 +1,19 @@
|
||||
namespace FileProcessClient.domain
|
||||
{
|
||||
internal class ComboboxItem
|
||||
{
|
||||
public string Text { get; set; }
|
||||
public object Value { get; set; }
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return Text;
|
||||
}
|
||||
|
||||
public ComboboxItem(string text, object value)
|
||||
{
|
||||
Text = text;
|
||||
Value = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
namespace FileProcessClient.domain
|
||||
{
|
||||
internal class DeviceInfo
|
||||
{
|
||||
private long _id;
|
||||
private string _name="";
|
||||
private string _duid="";
|
||||
private double _lon;
|
||||
private double _lat;
|
||||
|
||||
public long Id { get { return _id; } set { _id = value; } }
|
||||
public string Name { get { return _name; } set { _name = value; } }
|
||||
public double Lon { get { return _lon; } set { _lon = value; } }
|
||||
public double Lat { get { return _lat; } set { _lat = value; } }
|
||||
public string Duid { get { return _duid; } set { _duid = value; } }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
using Microsoft.VisualBasic;
|
||||
using static System.Runtime.InteropServices.JavaScript.JSType;
|
||||
using System.Xml.Linq;
|
||||
|
||||
namespace FileProcessClient.domain
|
||||
{
|
||||
internal class MediaFileInfo
|
||||
{
|
||||
|
||||
private int _uploadType;
|
||||
|
||||
private string _deviceId;
|
||||
|
||||
private string _deviceName;
|
||||
|
||||
//private long userId;
|
||||
|
||||
private string _version;
|
||||
|
||||
private int _versionId;
|
||||
|
||||
private string _remotePath;
|
||||
|
||||
private List<MediaFileItem> _ileItems;
|
||||
public int uploadType { get { return _uploadType; } set { _uploadType = value; } }
|
||||
|
||||
public string deviceId { get { return _deviceId; } set { _deviceId = value; } }
|
||||
|
||||
//public long UserId { get { return userId; } set { userId = value; } }
|
||||
|
||||
public string version { get { return _version; } set { _version = value; } }
|
||||
|
||||
public int versionId { get { return _versionId; } set { _versionId = value; } }
|
||||
|
||||
public string remotePath { get { return _remotePath; } set { _remotePath = value; } }
|
||||
|
||||
|
||||
public string deviceName { get { return _deviceName; } set { _deviceName = value; } }
|
||||
|
||||
public List<MediaFileItem> fileItems { get { return _ileItems; } set { _ileItems = value; } }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
namespace FileProcessClient.domain
|
||||
{
|
||||
internal class MediaFileItem
|
||||
{
|
||||
private string _fileName;
|
||||
|
||||
//private string _fileType;
|
||||
|
||||
private string _urlPath;
|
||||
|
||||
private string _metaPath;
|
||||
|
||||
private string _time;
|
||||
|
||||
public string fileName { get { return _fileName; } set { _fileName = value; } }
|
||||
|
||||
//public string fileType { get { return _fileType; } set { _fileType = value; } }
|
||||
|
||||
public string urlPath { get { return _urlPath; } set { _urlPath = value; } }
|
||||
|
||||
public string metaPath { get { return _metaPath; } set { _metaPath = value; } }
|
||||
|
||||
public string time { get { return _time; } set { _time = value; } }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
namespace FileProcessClient.domain
|
||||
{
|
||||
internal class User
|
||||
{
|
||||
private int id;
|
||||
private string name = "";
|
||||
private string loginId = "";
|
||||
private string phone = "";
|
||||
private int deptId;
|
||||
|
||||
|
||||
public int Id { get { return id; } set { id = value; } }
|
||||
public string Name { get { return name; } set { name = value; } }
|
||||
public string LoginId { get { return loginId; } set { loginId = value; } }
|
||||
public string Phone { get { return phone; } set { phone = value; } }
|
||||
|
||||
public int DeptId { get { return deptId; } set { deptId = value; } }
|
||||
|
||||
public User(int id, string name, string loginId, string phone, int deptId)
|
||||
{
|
||||
Id = id;
|
||||
Name = name;
|
||||
LoginId = loginId;
|
||||
Phone = phone;
|
||||
DeptId = deptId;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user