123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817 |
- using LYFZ.Helper;
- using LYFZ.Software.MainBusiness.DoorCityProcess;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- namespace LYFZ.Software.MainBusiness.CameraControlBook
- {
- public class PublicClass
- {
- static LYFZ.BLL.BLL_ErpOrder orbll = new BLL.BLL_ErpOrder();
- static LYFZ.BLL.BLL_ErpSystemCategory scbll = new BLL.BLL_ErpSystemCategory();
- public static bool GetMagess(bool IsShowPrompt = true, string StrUserNumber = "")
- {
- if (LYFZ.BLL.BLL_ErpUser.GetRights(LYFZ.BLL.BLL_ErpUser.CurrentUserRights.CameraControlBook, LYFZ.CustomAttributes.OperatingAuthority.CameraControlBook_AnPaiQuantitySet))
- {
- if (IsShowPrompt)
- {
- if (MessageBoxCustom.Show("您确定要保存此操作吗?", "温馨提示", MessageBoxButtons.YesNo) == DialogResult.No)
- { return false; }
- }
- }
- else
- {
- LYFZ.Software.MainBusiness.DoorCityProcess.SuperSmallForm.AuthorizeLoginSuperSmallForm frm = new DoorCityProcess.SuperSmallForm.AuthorizeLoginSuperSmallForm("CameraControlBook", LYFZ.CustomAttributes.OperatingAuthority.CameraControlBook_AnPaiQuantitySet);
- frm.ShowDialog();
- if (!frm.IsSaveed)
- { return false; }
- else
- {
- if (!LYFZ.BLL.BLL_ErpUser.GetRights(frm.CurrentAuthorizeUserRights.CameraControlBook, LYFZ.CustomAttributes.OperatingAuthority.CameraControlBook_AnPaiQuantitySet, frm.User_BelongRoles))
- {
- frm.SetAuthorizationResult(String.Format("授权失败,授权人没有摄控本安排数量设置权限"));
- MessageBoxCustom.Show("对不起!授权帐号:" + frm.StrUserAccount + "没有摄控本安排数量设置。");
-
- return false;
- }
- else {
- frm.SetAuthorizationResult();
- }
- }
- }
- return true;
- }
- /// <summary>
- /// 权限受权
- /// </summary>
- /// <param name="StrWindowText">窗体说明权限</param>
- /// <returns></returns>
- public static bool GetMagess_PermissionsAuthorization(string StrWindowText, LYFZ.CustomAttributes.OperatingAuthority operatingAuthority)
- {
- LYFZ.Software.MainBusiness.DoorCityProcess.SuperSmallForm.AuthorizeLoginSuperSmallForm frm = new DoorCityProcess.SuperSmallForm.AuthorizeLoginSuperSmallForm("CameraControlBook", operatingAuthority);
- frm.StrWindowText = StrWindowText;
- frm.ShowDialog();
- if (!frm.IsSaveed)
- { return false; }
- else if (!LYFZ.BLL.BLL_ErpUser.GetRights(frm.CurrentAuthorizeUserRights.CameraControlBook, operatingAuthority, frm.User_BelongRoles))
- {
- frm.SetAuthorizationResult(String.Format("授权失败,授权人没有{0}权限", StrWindowText));
- MessageBoxCustom.Show("对不起!授权帐号:" + frm.StrUserAccount + "没有" + StrWindowText + "权限。"); return false;
- }
- else {
- frm.SetAuthorizationResult();
- }
- return true;
- }
- /// <summary>
- /// 获取当前版本
- /// </summary>
- /// <returns></returns>
- public static string GetVersion()
- {
- string ColumnType = "";
- if (LYFZ.Software.MainBusiness.EnumPermissions.BusinessType.写真版 == LYFZ.Software.MainBusiness.CommonLogical.SuccessfulLogin.GetBusinessType())
- { ColumnType = "2"; }
- else if (LYFZ.Software.MainBusiness.EnumPermissions.BusinessType.婚纱版 == LYFZ.Software.MainBusiness.CommonLogical.SuccessfulLogin.GetBusinessType())
- { ColumnType = "0"; }
- else if (LYFZ.Software.MainBusiness.EnumPermissions.BusinessType.儿童版 == LYFZ.Software.MainBusiness.CommonLogical.SuccessfulLogin.GetBusinessType())
- { ColumnType = "1"; }
- else if (LYFZ.Software.MainBusiness.EnumPermissions.BusinessType.旗舰版 == LYFZ.Software.MainBusiness.CommonLogical.SuccessfulLogin.GetBusinessType())
- { ColumnType = "-1"; }
- return ColumnType;
- }
- /// <summary>
- /// 设计加载的项
- /// </summary>
- /// <param name="txtName1"></param>
- /// <param name="txtName2"></param>
- /// <param name="lblName1"></param>
- /// <param name="lblName2"></param>
- /// <param name="StrOrderType"></param>
- /// <param name="StrName"></param>
- /// <param name="StrSex"></param>
- /// <param name="LocationX">X坐标偏移量</param>
- public static void SetClientData(LYFZ.ComponentLibrary.TextBoxEx txtName1, LYFZ.ComponentLibrary.TextBoxEx txtName2, LYFZ.ComponentLibrary.LabelEx lblName1, LYFZ.ComponentLibrary.LabelEx lblName2, string StrOrderType, string StrName, string StrSex, int LocationX = 0)
- {
- string[] StrNameArray = StrName.Trim().Split('/');
- string[] StrSexArray = StrSex.Trim().Split('/');
- if (StrOrderType.Trim() == "0")
- {
- if (StrNameArray.Length > 1)
- {
- if (StrSexArray[0].Trim() == "男")
- { lblName1.Text = "男宾姓名:"; }
- else if (StrSexArray[0].Trim() == "女")
- { lblName1.Text = "女宾姓名:"; }
- txtName1.Text = StrNameArray[0].Trim();
- if (StrSexArray.Length > 1)
- {
- if (StrSexArray[1].Trim() == "男")
- { lblName2.Text = "男宾姓名:"; }
- else if (StrSexArray[1].Trim() == "女")
- { lblName2.Text = "女宾姓名:"; }
- txtName2.Text = StrNameArray[1].Trim();
- }
- else
- {
- if (StrSexArray[0].Trim() == "男")
- { lblName2.Text = "女宾姓名:"; }
- else if (StrSexArray[0].Trim() == "女")
- { lblName2.Text = "男宾姓名:"; }
- txtName2.Text = StrNameArray[1].Trim();
- }
- }
- else
- {
- lblName1.Text = "男宾姓名:";
- lblName2.Text = "女宾姓名:";
- if (StrSexArray[0].Trim() == "男")
- { txtName1.Text = StrNameArray[0].Trim(); }
- else if (StrSexArray[0].Trim() == "女")
- { txtName2.Text = StrNameArray[0].Trim(); }
- }
- }
- else if (StrOrderType.Trim() == "1")
- {
- lblName1.Text = "宝贝姓名:";
- lblName2.Text = "家长姓名:";
- txtName1.Text = StrNameArray[0].Trim();
- if (StrNameArray.Length > 1)
- {
- txtName2.Text = StrNameArray[1].Trim();
- }
- else {
- txtName2.Text = StrNameArray[0].Trim();
- }
- }
- else if (StrOrderType.Trim() == "2" || StrOrderType.Trim() == "3")
- {
- lblName1.Text = "客户姓名:";
- lblName2.Text = "客户性别:";
- txtName1.Text = StrNameArray[0].Trim();
- txtName2.Text = StrSexArray[0].Trim();
- }
- lblName1.Location = new Point(txtName1.Location.X - 71, txtName1.Location.Y + 4);
- lblName2.Location = new Point(txtName2.Location.X - 71, txtName2.Location.Y + 4);
- }
- /// <summary>
- /// 设计加载的项
- /// </summary>
- /// <param name="lblName1"></param>
- /// <param name="lblName2"></param>
- /// <param name="LocationX">X坐标偏移量</param>
- public static void SetClientData(LYFZ.ComponentLibrary.LabelEx lblName1, LYFZ.ComponentLibrary.LabelEx lblName2, int LocationX = 0)
- {
- string StrOrderType = GetVersion();
- if (StrOrderType == "2")
- {
- lblName1.Text = "客户姓名:";
- lblName2.Text = "客户性别:";
- lblName1.Location = new Point(30 + LocationX, lblName1.Location.Y);
- lblName2.Location = new Point(lblName1.Location.X, lblName2.Location.Y);
- }
- else if (StrOrderType == "0")
- {
- lblName1.Text = "男宾姓名:";
- lblName2.Text = "女宾姓名:";
- lblName1.Location = new Point(30 + LocationX, lblName1.Location.Y);
- lblName2.Location = new Point(lblName1.Location.X, lblName2.Location.Y);
- }
- else if (StrOrderType == "1")
- {
- lblName1.Text = "家长姓名:";
- lblName2.Text = "宝贝姓名:";
- lblName1.Location = new Point(30 + LocationX, lblName1.Location.Y);
- lblName2.Location = new Point(lblName1.Location.X, lblName2.Location.Y);
- }
- else if (StrOrderType == "-1")
- {
- lblName1.Text = "男/家姓名:";
- lblName2.Text = "女/宝姓名:";
- lblName1.Location = new Point(25 + LocationX, lblName1.Location.Y);
- lblName2.Location = new Point(lblName1.Location.X, lblName2.Location.Y);
- }
- }
- /// <summary>
- /// 输入查询客户
- /// </summary>
- /// <param name="txtTextQuery"></param>
- /// <param name="lstTextQuery"></param>
- public static void InputQueryClient(LYFZ.ComponentLibrary.TextBoxEx txtTextQuery, LYFZ.ComponentLibrary.ListBoxEx lstTextQuery, int lstHeight = 300, Model.CameraType cameraType= Model.CameraType.拍照客人)
- {
- lstTextQuery.Items.Clear();
- string StrText = txtTextQuery.Text.Trim();
- //DataTable tblClientGroup = new DataTable();
- DataRow[] dr = null;
- LYFZ.ComponentLibrary.FrmLoadHandling.LoadDoWorkMethod(delegate(object obj, BackgroundWorker backgroundWorker)
- {
- if (StrText != "")
- {
- /* string StrWhere = "";
- if (LYFZ.Command.Command_Validate.IsNumber(StrText))
- { StrWhere += " and (Cus_Telephone like '%" + StrText + "%' or Ord_SinceOrderNumber like '%" + StrText + "%')"; }
- else if (LYFZ.Command.Command_Validate.IsEnglish(StrText))
- { StrWhere += " and (GP_OrderNumber like '%" + StrText + "%' OR Ord_SinceOrderNumber like '%" + StrText + "%' OR Cus_Name_py like '%" + StrText + "%')"; }
- else if (LYFZ.Command.Command_Validate.IsChinese(StrText))
- { StrWhere += " and (GP_OrderNumber like '%" + StrText + "%' OR Ord_SinceOrderNumber like '%" + StrText + "%' OR Cus_Name like '%" + StrText + "%')"; }
- else
- { StrWhere += " and (GP_OrderNumber like '%" + StrText + "%' OR Ord_SinceOrderNumber like '%" + StrText + "%' OR Cus_Name like '%" + StrText + "%' and Cus_Telephone like '%" + StrText + "%' OR Cus_Name_py like '%" + StrText + "%')"; }
- tblClientGroup = new BLL.BLL_ErpOrder().GetView_Custom("tempTB_AggregationCustomer Left Join tb_ErpOrder on Ord_Number = GP_OrderNumber", StrWhere: "Ord_Number is not null And GP_OrderNumber <> ''" + StrWhere, TopCount: 30, ShowColumnName: "Ord_SinceOrderNumber,GP_OrderNumber,Cus_Name,Cus_Name_py,Cus_Telephone,Ord_OrderAnnotation,dbo.fn_CheckOrderType(GP_CustomerType) AS GP_CustomerType,Mc_CradNumber,Mc_CardType").Tables[0];
- */
- try
- {
- dr = new BLL.BLL_ErpOrder().GetOrderCustomerDataTable(StrText,20, cameraType).Select().OrderBy(r=>r.Field<string>("Cus_Telephone")).ToArray();
- }
- catch(Exception ex)
- {
- MessageBoxCustom.Show(String.Format("查询数据时出错:{0}",ex.Message));
- }
-
- }
- });
- if (dr != null)
- {
- foreach (DataRow row in dr)
- {
- string biaoZhu = "";
- if (!String.IsNullOrWhiteSpace(row["Ord_OrderAnnotation"].ToString().Trim()))
- {
- biaoZhu = String.Format("标注:{0}", row["Ord_OrderAnnotation"].ToString().Trim());
- }
- string ProcessStatus = "";
- if (!String.IsNullOrWhiteSpace(row["流程状态"].ToString().Trim()))
- {
- ProcessStatus = String.Format("【{0}】", row["流程状态"].ToString().Trim());
- }
- string VipString = "";
- string vipType = "";
- if (!String.IsNullOrWhiteSpace(row["Mc_CardType"].ToString().Trim()))
- {
- vipType = String.Format("{0}", row["Mc_CardType"].ToString().Trim() == "无" ? "会员卡号" : row["Mc_CardType"].ToString().Trim());
- }
- if (!String.IsNullOrWhiteSpace(row["Mc_CradNumber"].ToString().Trim()))
- {
- VipString = String.Format("{0}:{1}"
- , vipType
- , row["Mc_CradNumber"].ToString().Trim());
- }
- string textString = String.Format("{0} {1} {2} {3} {4} {5}"
- , row["GP_CustomerType_Text"].ToString().Trim()
- , row["Cus_Name"].ToString().Trim()
- , row["Ord_SinceOrderNumber"].ToString().Trim()
- , biaoZhu
- , ProcessStatus
- , VipString
- );
- lstTextQuery.Items.Add(new ListItem(textString, row["GP_OrderNumber"].ToString().Trim()));
- }
- if (lstTextQuery.Items.Count > 0)
- {
- lstTextQuery.Cursor = System.Windows.Forms.Cursors.Default;
- lstTextQuery.SelectedIndex = 0;
- lstTextQuery.Height = lstHeight;
- }
- else
- {
- lstTextQuery.Height = 150;
- }
- lstTextQuery.Location = new Point(txtTextQuery.Location.X + 1, txtTextQuery.Location.Y + txtTextQuery.Height);
- lstTextQuery.Visible = true;
- lstTextQuery.BringToFront();
- }
- }
- #region 添加计件提成
- /// <summary>
- /// 添加计件提成
- /// </summary>
- /// <param name="wm"></param>
- /// <param name="IndexCount"></param>
- /// <param name="StrTime"></param>
- /// <param name="StrName"></param>
- /// <param name="clist"></param>
- public static LYFZ.Model.Model_ErpPieceCommissionRecords GetPieceCommissionRecordsModel(LYFZ.Model.Model_ErpWeddingService wm, int IndexCount, DateTime StrTime, string StrName)
- {
- LYFZ.Model.Model_ErpPieceCommissionRecords modelRecords = new Model.Model_ErpPieceCommissionRecords();
- modelRecords.Pcr_DividedShop = LYFZ.Software.MainBusiness.CommonLogical.SuccessfulLogin.GetLocalCompanyInfoID();
- modelRecords.Pcr_OrderNumber = wm.Ws_Number;
- if (IndexCount == 1)
- { modelRecords.Pcr_DigitalDivision = wm.Ws_Serviceman1; }
- else
- { modelRecords.Pcr_DigitalDivision = wm.Ws_Serviceman2; }
- modelRecords.Pcr_Date = Convert.ToDateTime(wm.Ws_WeddingDate);
- string StrContentName = GetContentNumber(wm.Ws_ProdName);
- if (string.IsNullOrEmpty(StrContentName))
- { return null; }
- modelRecords.Pcr_CompletionContents = StrContentName;
- modelRecords.Pcr_Quantity = wm.Ws_ProdQuantity;
- modelRecords.Pcr_CreateTime = StrTime;
- modelRecords.Pcr_EntryPeople = StrName;
- modelRecords.Pcr_Type = 1;
- modelRecords.Pcr_MarkKey = wm.Ws_Number + "_" + wm.Ws_ProdName + "_" + wm.Ws_UpdateDateTime.ToString("yyyyMMddHHmmssfff");
- modelRecords.Pcr_OrderSource = "订单";
- return modelRecords;
- }
- /// <summary>
- /// 获取服务内容编号
- /// </summary>
- /// <param name="StrName"></param>
- /// <returns></returns>
- static string GetContentNumber(string StrName)
- {
- DataTable tbl = orbll.GetView_Custom("tb_ErpSystemCategory", StrWhere: "Sc_ClassCode = 'BEBBBABBEBAIHGDCB'", ShowColumnName: "ID").Tables[0];
- if (tbl.Rows.Count > 0)
- {
- DataTable tbl2 = orbll.GetView_Custom("tb_ErpSystemCategory", StrWhere: " Sc_ClassParentID = '" + tbl.Rows[0]["ID"].ToString().Trim() + "'", ShowColumnName: "Sc_ClassCode,Sc_ClassName").Tables[0];
- DataRow[] dtRow = tbl2.Select("Sc_ClassName = '" + StrName + "'");
- if (dtRow.Length > 0)
- { return dtRow[0]["Sc_ClassCode"].ToString().Trim(); }
- else
- {
- LYFZ.Model.Model_ErpSystemCategory model = new Model.Model_ErpSystemCategory();
- model.Sc_ClassCode = scbll.GetNewClassCode(0);
- model.Sc_ClassName = StrName;
- model.Sc_ClassParentID = Convert.ToInt32(tbl.Rows[0]["ID"]);
- model.Sc_ClassRemark = "";
- model.Sc_IsDisable = false;
- model.Sc_IsReadOnly = false;
- model.Sc_IsDelete = false;
- model.Sc_URL = "";
- model.Sc_IsEnabledURL = false;
- if (scbll.Add(model))
- { return GetContentNumber(StrName); }
- }
- }
- return "";
- }
- #endregion
- public static void GetSelectWorkPerson(string StrDateTime, LYFZ.ComponentLibrary.TextBoxEx txtWorkPerson, LYFZ.EnumPublic.EnumWorkPersonType StrWorkPersonType)
- {
- LYFZ.Software.MainBusiness.CameraControlBook.SuperSmallForm.SelectWorkPersonSuperSmallForm frm = new SuperSmallForm.SelectWorkPersonSuperSmallForm();
- frm.StrTime = StrDateTime;
- frm.WorkPersonType = StrWorkPersonType;
- frm.ShowDialog();
- if (frm.IsSaveed)
- {
- txtWorkPerson.Text = frm.StrPersonName;
- txtWorkPerson.Tag = frm.StrPersonNumber;
- }
- }
- /// <summary>
- /// 是否休息
- /// </summary>
- /// <param name="StrDateTime">日期</param>
- /// <param name="StrPersonName">员工编号</param>
- /// <returns>true:休息;false:上班</returns>
- public static bool GetRestPerson(string StrDateTime, string StrPersonName)
- {
- bool IsRest = false;
- if (!string.IsNullOrEmpty(StrDateTime.Trim()) && !string.IsNullOrEmpty(StrPersonName.Trim()))
- {
- DataTable dt = orbll.GetView_Custom("loninbansets", StrWhere: "fixed = '休息' And User_ID = '" + StrPersonName.Trim() + "' " + LYFZ.Software.MainBusiness.DoorCityProcess.PublicCodeClasses.GetDateTime("Time", StrDateTime.Trim(), StrDateTime.Trim()), ShowColumnName: "User_ID").Tables[0];
- if (dt.Rows.Count > 0)
- { IsRest = true; }
- }
- return IsRest;
- }
- /// <summary>
- /// 是否休息
- /// </summary>
- /// <param name="StrDateTime">日期</param>
- /// <returns>true:休息;false:上班</returns>
- public static DataTable GetRestPerson(string StrDateTime)
- {
- DataTable dt = new DataTable();
- if (!string.IsNullOrEmpty(StrDateTime.Trim()))
- {
- dt = orbll.GetView_Custom("loninbansets", StrWhere: "fixed = '休息' " + LYFZ.Software.MainBusiness.DoorCityProcess.PublicCodeClasses.GetDateTime("Time", StrDateTime.Trim(), StrDateTime.Trim()), ShowColumnName: "User_ID").Tables[0];
- }
- return dt;
- }
- /// <summary>
- /// 加载窗体
- /// </summary>
- /// <param name="StrSelectType"></param>
- /// <param name="StrOrdNumber"></param>
- public static bool LoadForm(string StrSelectType, string StrOrdNumber = "")
- {
- bool IsSaveed = false;
- switch (StrSelectType)
- {
- case "0":
- LYFZ.Software.MainBusiness.CameraControlBook.SmallForm.PhotographedReservationSmallForm frm0 = new CameraControlBook.SmallForm.PhotographedReservationSmallForm();
- frm0.OrdNumber = StrOrdNumber;
- frm0.ShowDialog();
- IsSaveed = frm0.IsSave;
- break;
- case "1":
- LYFZ.Software.MainBusiness.CameraControlBook.SmallForm.FilmsSelectionReservationSmallForm frm1 = new CameraControlBook.SmallForm.FilmsSelectionReservationSmallForm();
- frm1.OrdNumber = StrOrdNumber;
- frm1.ShowDialog();
- IsSaveed = frm1.IsSave;
- break;
- case "2":
- LYFZ.Software.MainBusiness.CameraControlBook.SmallForm.LookDesignReservationSmallForm frm2 = new CameraControlBook.SmallForm.LookDesignReservationSmallForm();
- frm2.OrdNumber = StrOrdNumber;
- frm2.ShowDialog();
- IsSaveed = frm2.IsSave;
- break;
- case "3":
- LYFZ.Software.MainBusiness.CameraControlBook.SmallForm.TakePiecesReservationSmallForm frm3 = new CameraControlBook.SmallForm.TakePiecesReservationSmallForm();
- frm3.OrdNumber = StrOrdNumber;
- frm3.ShowDialog();
- IsSaveed = frm3.IsSave;
- break;
- case "4":
- LYFZ.Software.MainBusiness.CameraControlBook.SmallForm.WeddingReservationSmallForm frm4 = new CameraControlBook.SmallForm.WeddingReservationSmallForm();
- frm4.OrdNumber = StrOrdNumber;
- frm4.ShowDialog();
- IsSaveed = frm4.IsSaveed;
- break;
- case "5":
- LYFZ.Software.MainBusiness.CameraControlBook.SmallForm.SelectDressReservationSmallForm frm5 = new CameraControlBook.SmallForm.SelectDressReservationSmallForm();
- frm5.OrdNumber = StrOrdNumber;
- frm5.ShowDialog();
- IsSaveed = frm5.IsSave;
- break;
- }
- return IsSaveed;
- }
- }
- }
- #region 放弃
- //namespace LYFZ
- //{
- // public static class CameraControlBookEnum
- // {
- // /// <summary>
- // /// 摄控安排流程
- // /// </summary>
- // public enum EnumWorkPersonType
- // {
- // 选礼服师,
- // 摄影师,
- // 摄影助理,
- // 化妆师,
- // 化妆助理,
- // 引导师,
- // 选片师,
- // 看设计师,
- // 取件师,
- // 服务师
- // }
- // /// <summary>
- // /// 摄控安排流程
- // /// </summary>
- // public enum EnumUnityArrangeWorkType
- // {
- // 拍照客人,
- // 选片客人,
- // 看版客人,
- // 取件客人,
- // 服务客人,
- // 选礼服客人
- // }
- // }
- // public class CameraControlBookUnityArrangeWorkModel
- // {
- // private bool _IsDateTime;
- // /// <summary>
- // /// 是否启用日期
- // /// </summary>
- // public bool IsDateTime
- // {
- // get { return _IsDateTime; }
- // set { _IsDateTime = value; }
- // }
- // private string _StrDateTime;
- // /// <summary>
- // /// 日期时间
- // /// </summary>
- // public string StrDateTime
- // {
- // get { return _StrDateTime; }
- // set { _StrDateTime = value; }
- // }
- // private bool _IsBootDivisionName;
- // /// <summary>
- // /// 是否启用引导师
- // /// </summary>
- // public bool IsBootDivisionName
- // {
- // get { return _IsBootDivisionName; }
- // set { _IsBootDivisionName = value; }
- // }
- // private string _BootDivisionName;
- // /// <summary>
- // /// 引导师
- // /// </summary>
- // public string BootDivisionName
- // {
- // get { return _BootDivisionName; }
- // set { _BootDivisionName = value; }
- // }
- // private string _BootDivisionTag;
- // /// <summary>
- // /// 引导师编号
- // /// </summary>
- // public string BootDivisionTag
- // {
- // get { return _BootDivisionTag; }
- // set { _BootDivisionTag = value; }
- // }
- // private bool _IsClothingName;
- // /// <summary>
- // /// 是否启用礼服师
- // /// </summary>
- // public bool IsClothingName
- // {
- // get { return _IsClothingName; }
- // set { _IsClothingName = value; }
- // }
- // private string _ClothingName;
- // /// <summary>
- // /// 礼服师
- // /// </summary>
- // public string ClothingName
- // {
- // get { return _ClothingName; }
- // set { _ClothingName = value; }
- // }
- // private string _ClothingTag;
- // /// <summary>
- // /// 礼服师编号
- // /// </summary>
- // public string ClothingTag
- // {
- // get { return _ClothingTag; }
- // set { _ClothingTag = value; }
- // }
- // private bool _IsFilmSelectionName;
- // /// <summary>
- // /// 是否启用选片师
- // /// </summary>
- // public bool IsFilmSelectionName
- // {
- // get { return _IsFilmSelectionName; }
- // set { _IsFilmSelectionName = value; }
- // }
- // private string _FilmSelectionName;
- // /// <summary>
- // /// 选片师
- // /// </summary>
- // public string FilmSelectionName
- // {
- // get { return _FilmSelectionName; }
- // set { _FilmSelectionName = value; }
- // }
- // private string _FilmSelectionTag;
- // /// <summary>
- // /// 选片师编号
- // /// </summary>
- // public string FilmSelectionTag
- // {
- // get { return _FilmSelectionTag; }
- // set { _FilmSelectionTag = value; }
- // }
- // private bool _IsLookDesignName;
- // /// <summary>
- // /// 是否启用看版师
- // /// </summary>
- // public bool IsLookDesignName
- // {
- // get { return _IsLookDesignName; }
- // set { _IsLookDesignName = value; }
- // }
- // private string _LookDesignName;
- // /// <summary>
- // /// 看版师
- // /// </summary>
- // public string LookDesignName
- // {
- // get { return _LookDesignName; }
- // set { _LookDesignName = value; }
- // }
- // private string _LookDesignTag;
- // /// <summary>
- // /// 看版师编号
- // /// </summary>
- // public string LookDesignTag
- // {
- // get { return _LookDesignTag; }
- // set { _LookDesignTag = value; }
- // }
- // private bool _IsMakeupArtistName;
- // /// <summary>
- // /// 是否启用化妆师
- // /// </summary>
- // public bool IsMakeupArtistName
- // {
- // get { return _IsMakeupArtistName; }
- // set { _IsMakeupArtistName = value; }
- // }
- // private string _MakeupArtistName;
- // /// <summary>
- // /// 化妆师
- // /// </summary>
- // public string MakeupArtistName
- // {
- // get { return _MakeupArtistName; }
- // set { _MakeupArtistName = value; }
- // }
- // private string _MakeupArtistTag;
- // /// <summary>
- // /// 化妆师编号
- // /// </summary>
- // public string MakeupArtistTag
- // {
- // get { return _MakeupArtistTag; }
- // set { _MakeupArtistTag = value; }
- // }
- // private bool _IsMakeupAssistantName;
- // /// <summary>
- // /// 是否启用化妆助理
- // /// </summary>
- // public bool IsMakeupAssistantName
- // {
- // get { return _IsMakeupAssistantName; }
- // set { _IsMakeupAssistantName = value; }
- // }
- // private string _MakeupAssistantName;
- // /// <summary>
- // /// 化妆助理
- // /// </summary>
- // public string MakeupAssistantName
- // {
- // get { return _MakeupAssistantName; }
- // set { _MakeupAssistantName = value; }
- // }
- // private string _MakeupAssistantTag;
- // /// <summary>
- // /// 化妆助理编号
- // /// </summary>
- // public string MakeupAssistantTag
- // {
- // get { return _MakeupAssistantTag; }
- // set { _MakeupAssistantTag = value; }
- // }
- // private bool _IsPhotographerName;
- // /// <summary>
- // /// 是否启用摄影师
- // /// </summary>
- // public bool IsPhotographerName
- // {
- // get { return _IsPhotographerName; }
- // set { _IsPhotographerName = value; }
- // }
- // private string _PhotographerName;
- // /// <summary>
- // /// 摄影师
- // /// </summary>
- // public string PhotographerName
- // {
- // get { return _PhotographerName; }
- // set { _PhotographerName = value; }
- // }
- // private string _PhotographerTag;
- // /// <summary>
- // /// 摄影师编号
- // /// </summary>
- // public string PhotographerTag
- // {
- // get { return _PhotographerTag; }
- // set { _PhotographerTag = value; }
- // }
- // private bool _IsPhotographyAssistantName;
- // /// <summary>
- // /// 是否启用摄影助理
- // /// </summary>
- // public bool IsPhotographyAssistantName
- // {
- // get { return _IsPhotographyAssistantName; }
- // set { _IsPhotographyAssistantName = value; }
- // }
- // private string _PhotographyAssistantName;
- // /// <summary>
- // /// 摄影助理
- // /// </summary>
- // public string PhotographyAssistantName
- // {
- // get { return _PhotographyAssistantName; }
- // set { _PhotographyAssistantName = value; }
- // }
- // private string _PhotographyAssistantTag;
- // /// <summary>
- // /// 摄影助理编号
- // /// </summary>
- // public string PhotographyAssistantTag
- // {
- // get { return _PhotographyAssistantTag; }
- // set { _PhotographyAssistantTag = value; }
- // }
- // private bool _IsPickupName;
- // /// <summary>
- // /// 是否启用取件师
- // /// </summary>
- // public bool IsPickupName
- // {
- // get { return _IsPickupName; }
- // set { _IsPickupName = value; }
- // }
- // private string _PickupName;
- // /// <summary>
- // /// 取件师
- // /// </summary>
- // public string PickupName
- // {
- // get { return _PickupName; }
- // set { _PickupName = value; }
- // }
- // private string _PickupTag;
- // /// <summary>
- // /// 取件师编号
- // /// </summary>
- // public string PickupTag
- // {
- // get { return _PickupTag; }
- // set { _PickupTag = value; }
- // }
- // private bool _IsServiceName1;
- // /// <summary>
- // /// 是否启用服务人员1
- // /// </summary>
- // public bool IsServiceName1
- // {
- // get { return _IsServiceName1; }
- // set { _IsServiceName1 = value; }
- // }
- // private string _ServiceName1;
- // /// <summary>
- // /// 服务人员1
- // /// </summary>
- // public string ServiceName1
- // {
- // get { return _ServiceName1; }
- // set { _ServiceName1 = value; }
- // }
- // private string _ServiceTag1;
- // /// <summary>
- // /// 服务人员编号1
- // /// </summary>
- // public string ServiceTag1
- // {
- // get { return _ServiceTag1; }
- // set { _ServiceTag1 = value; }
- // }
- // private bool _IsServiceName2;
- // /// <summary>
- // /// 是否启用服务人员2
- // /// </summary>
- // public bool IsServiceName2
- // {
- // get { return _IsServiceName2; }
- // set { _IsServiceName2 = value; }
- // }
- // private string _ServiceName2;
- // /// <summary>
- // /// 服务人员2
- // /// </summary>
- // public string ServiceName2
- // {
- // get { return _ServiceName2; }
- // set { _ServiceName2 = value; }
- // }
- // private string _ServiceTag2;
- // /// <summary>
- // /// 服务人员编号2
- // /// </summary>
- // public string ServiceTag2
- // {
- // get { return _ServiceTag2; }
- // set { _ServiceTag2 = value; }
- // }
- // }
- //}
- #endregion
|